/* ==========================================================================
   NNB: NÚCLEO DE NEUROLOGIA DA BAHIA
   Paleta Oficial NNB (Dourado Nobre #c5a059, Verde Floresta #1b3323 & Verde Oliva #86895d)
   Design System de Alta Conversão no Padrão One Page
   Motion & Interatividade Padrão XSITE
   Text-Wrap Balance & Centralização de CTAs
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Playfair+Display:ital,wght@0,600;0,700;1,400;1,600&display=swap');

:root {
  /* PALETA OFICIAL NNB (DOURADO NOBRE, VERDE FLORESTA & VERDE OLIVA) */
  --nnb-gold: #c5a059;
  --nnb-gold-light: #dfc182;
  --nnb-gold-dark: #a68239;
  --nnb-gold-deep: #856525;
  --nnb-gold-soft: #faf6ec;
  --nnb-gold-glow: rgba(197, 160, 89, 0.28);
  
  --nnb-forest: #1b3323;
  --nnb-forest-light: #2c4f38;
  --nnb-forest-dark: #122418;
  --nnb-forest-deep: #0e1b12;
  --nnb-forest-glow: rgba(27, 51, 35, 0.25);

  --nnb-olive: #86895d;
  --nnb-olive-light: #9ea273;
  --nnb-olive-dark: #525332;
  --nnb-olive-soft: #f4f7f2;
  --nnb-olive-glow: rgba(134, 137, 93, 0.28);
  
  --nnb-sage-tint: #d8e6cf;
  
  /* FUNDOS & SUPERFÍCIES CLARAS E ELEGANTES */
  --bg-body: #f9fbf8;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f1f5ee;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  
  /* FUNDOS ESCUROS DE DESTAQUE (VERDE FLORESTA PROFUNDO / LUXURY NOCTURNE) */
  --bg-dark-section: #14241a;
  --bg-dark-card: #1c3324;
  --bg-footer: #0c1710;
  
  /* TEXTOS & CONTRASTES */
  --text-main: #1a251e;
  --text-heading: #14281b;
  --text-muted: #57655a;
  --text-light: #f8fafc;
  --text-light-muted: #cbd5cb;
  
  /* BORDAS & SOMBRAS */
  --border-subtle: #e1e7de;
  --border-olive: rgba(134, 137, 93, 0.35);
  --border-gold: rgba(197, 160, 89, 0.35);
  --border-forest: rgba(27, 51, 35, 0.25);
  
  --shadow-sm: 0 2px 8px rgba(18, 36, 24, 0.06);
  --shadow-md: 0 10px 30px rgba(18, 36, 24, 0.08);
  --shadow-lg: 0 20px 45px rgba(18, 36, 24, 0.12);
  --shadow-glow: 0 12px 32px var(--nnb-gold-glow);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* CURVAS E TEMPOS DE MOTION XSITE */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-base: 300ms;
  --dur-slow: 600ms;
  
  --transition-fast: var(--dur-fast) var(--ease-out-quart);
  --transition-normal: var(--dur-base) var(--ease-out-quart);
  --transition-slow: var(--dur-slow) var(--ease-out-expo);
  
  /* SCROLL PERSONALIZADO TOKENIZADO (XSITE) */
  --scroll-track: #edf2eb;
  --scroll-thumb: #86895d;
  --scroll-width: 10px;
  --scroll-radius: 10px;
  
  --container-max: 1240px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   SCROLL PERSONALIZADO MULTI-ENGINE (FIREFOX + WEBKIT/BLINK)
   ========================================================================== */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}

::-webkit-scrollbar {
  width: var(--scroll-width);
}
::-webkit-scrollbar-track {
  background: var(--scroll-track);
}
::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb);
  border-radius: var(--scroll-radius);
  border: 2px solid var(--scroll-track);
  transition: background-color var(--transition-fast);
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--nnb-olive-dark);
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

body.modal-open {
  overflow: hidden;
}

/* ==========================================================================
   TEXT-WRAP BALANCE & PRETTY EM TODO O SITE
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
.hero__title,
.hero__lead,
.eyebrow,
.section__head h2,
.section__head p,
.symptoms-box h2,
.symptoms-box p,
.contact-info h2,
.contact-info p,
.about-info h2,
.about-info p,
.service-card__body h3,
.doctor-card__info h3,
.doctor-card__role,
.article-card__body h3,
.faq-trigger span,
.ctc-info h2,
.ctc-info p,
.ctc-feature-item h3 {
  text-wrap: balance;
}

p, li, span, small {
  text-wrap: pretty;
}

/* ==========================================================================
   LOADER MULTI-ESTÁGIO NNB
   ========================================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: opacity 0.5s var(--ease-out-expo), visibility 0.5s var(--ease-out-expo);
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__mark {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader__mark img {
  width: 72px;
  height: auto;
}

.loader__orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed var(--nnb-olive);
  animation: rotateOrbit 6s linear infinite;
}

@keyframes rotateOrbit {
  100% { transform: rotate(360deg); }
}

.loader__name {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--nnb-forest);
  text-transform: uppercase;
}

.loader__status {
  font-size: 0.9rem;
  color: var(--nnb-gold-dark);
  font-weight: 600;
}

.loader__progress {
  width: 180px;
  height: 4px;
  background: var(--bg-surface-alt);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.loader__progress b {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--nnb-gold), var(--nnb-olive));
  transition: width 0.15s ease-out;
}

/* ==========================================================================
   AMBIENTE VISUAL & PARTICULAS CANVAS
   ========================================================================== */
#particles-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  opacity: 0.45;
}

.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 10% 15%, rgba(197, 160, 89, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(134, 137, 93, 0.06) 0%, transparent 45%);
  transition: transform 0.8s var(--ease-out-quart);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 9999;
  background: transparent;
  pointer-events: none;
}

.scroll-progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--nnb-olive), var(--nnb-gold));
}

/* ==========================================================================
   CURSOR PERSONALIZADO (DESKTOP)
   ========================================================================== */
.cursor-ring, .cursor-dot {
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.15s ease-out;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--nnb-gold);
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(197, 160, 89, 0.45);
  transition: width 0.22s var(--ease-out-quart), height 0.22s var(--ease-out-quart), border-color 0.22s var(--ease-out-quart), background 0.22s var(--ease-out-quart);
}

body.cursor-hover .cursor-ring {
  width: 48px;
  height: 48px;
  border-color: var(--nnb-gold);
  background: rgba(197, 160, 89, 0.08);
}

@media (pointer: coarse), (max-width: 992px) {
  .cursor-ring, .cursor-dot {
    display: none !important;
  }
}

/* ==========================================================================
   ESTRUTURA GERAL & TIPOGRAFIA REFORÇADA
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 2;
}

.section {
  padding-block: 95px;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .section {
    padding-block: 65px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nnb-gold-dark);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2.5px;
  background-color: var(--nnb-gold);
  border-radius: var(--radius-full);
}

.eyebrow--gold {
  color: var(--nnb-gold-dark);
}
.eyebrow--gold::before {
  background-color: var(--nnb-gold);
}

.eyebrow--olive {
  color: var(--nnb-olive-dark);
}
.eyebrow--olive::before {
  background-color: var(--nnb-olive);
}

.eyebrow--white {
  color: var(--nnb-gold-light);
  font-size: 0.92rem;
}
.eyebrow--white::before {
  background-color: var(--nnb-gold-light);
}

h1, h2, h3, h4 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.22;
}

h1, h2 {
  font-family: var(--font-serif);
  letter-spacing: -0.01em;
}

h1 em, h2 em, h3 em {
  font-style: normal;
  color: var(--nnb-gold-dark);
}

.section__head {
  max-width: 820px;
  margin-bottom: 56px;
}

.section__head--center {
  text-align: center;
  margin-inline: auto;
}
.section__head--center .eyebrow {
  justify-content: center;
}
.section__head--center .eyebrow::before {
  display: none;
}

.section__head h2 {
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  margin-bottom: 18px;
}

.section__head p {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   BOTÕES & INTERAÇÕES COM FEEDBACK TÁTIL & ALINHAMENTO CENTRAL
   ========================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-out-quart), box-shadow var(--dur-base) var(--ease-out-quart), background var(--dur-base) var(--ease-out-quart), border-color var(--dur-base) var(--ease-out-quart);
  white-space: nowrap;
  text-align: center;
}

.button svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur-fast) var(--ease-out-quart);
}

.button:hover svg {
  transform: translateX(3px) translateY(-3px);
}

.button:active {
  transform: translateY(1px) scale(0.98);
  transition-duration: 80ms;
}

.button--gold {
  background: var(--nnb-gold);
  color: #122418;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(197, 160, 89, 0.35);
}

.button--gold:hover {
  background: var(--nnb-gold-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(197, 160, 89, 0.5);
}

.button--olive {
  background: var(--nnb-olive);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(134, 137, 93, 0.35);
}

.button--olive:hover {
  background: var(--nnb-olive-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(134, 137, 93, 0.5);
}

.button--outline {
  background: #ffffff;
  color: var(--nnb-gold-dark);
  border-color: var(--nnb-gold);
  font-weight: 700;
}

.button--outline:hover {
  background: var(--nnb-gold);
  color: #122418;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.button--nav {
  padding: 9px 18px;
  font-size: 0.86rem;
  background: var(--nnb-olive);
  color: #ffffff;
}

.button--nav:hover {
  background: var(--nnb-olive-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(134, 137, 93, 0.4);
}

/* Helper para centralizar botões CTA */
.cta-center-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 32px;
}

/* Efeito Ripple */
.ripple {
  position: relative;
}
.ripple-wave {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: rippleEffect 0.65s linear;
  pointer-events: none;
}
@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ==========================================================================
   HEADER & NAVEGAÇÃO
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding-block: 16px;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: padding-block var(--transition-normal), box-shadow var(--transition-normal);
}

.header.scrolled {
  padding-block: 10px;
  box-shadow: 0 6px 24px rgba(27, 56, 76, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo {
  height: 46px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.header.scrolled .header__logo {
  height: 38px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
}

.header__link {
  color: var(--text-heading);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 2px;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--nnb-gold);
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

.header__link:hover {
  color: var(--nnb-gold-dark);
}

.header__link:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  color: var(--text-heading);
  cursor: pointer;
  padding: 8px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.menu-toggle__close {
  display: none;
}

@media (max-width: 1080px) {
  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: #ffffff;
    border-left: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 32px 40px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    z-index: 998;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  }

  .header.menu-open .header__nav {
    transform: translateX(0);
  }

  .header.menu-open .menu-toggle__open {
    display: none;
  }
  .header.menu-open .menu-toggle__close {
    display: block;
  }

  .menu-toggle {
    display: flex;
    z-index: 999;
  }
  
  .header__actions .button--nav {
    display: none;
  }
}

/* ==========================================================================
   HERO SECTION COM CTA CENTRALIZADO & PARALLAX SUAVE
   ========================================================================== */
.hero {
  min-height: 90vh;
  padding-top: 130px;
  padding-bottom: 75px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f8f3 0%, #edf3eb 50%, #f6faf4 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(249, 251, 248, 0.8) 0%, rgba(241, 245, 238, 0.92) 100%), url('assets/sobre-clinica-nnb.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 0;
  transition: transform 0.5s var(--ease-out-quart);
}

.hero__glow-sphere {
  position: absolute;
  top: 15%;
  right: 5%;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.2) 0%, rgba(134, 137, 93, 0.1) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
  animation: floatBreathing 8s ease-in-out infinite alternate;
}

@keyframes floatBreathing {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, 20px) scale(1.08); }
}

.hero__content {
  max-width: 880px;
  position: relative;
  z-index: 3;
  margin-inline: auto;
  text-align: center;
}

.hero__content .eyebrow {
  justify-content: center;
}
.hero__content .eyebrow::before {
  display: none;
}

.hero__title {
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  font-weight: 700;
  line-height: 1.14;
  margin-bottom: 22px;
  color: var(--text-heading);
}

.hero__title .line {
  display: block;
}

.hero__lead {
  font-size: clamp(1.1rem, 1.35vw, 1.25rem);
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 720px;
  margin-inline: auto;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
  width: 100%;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid rgba(197, 160, 89, 0.25);
}

.hero__metric-item {
  transition: transform var(--dur-base) var(--ease-out-quart);
  text-align: center;
}
.hero__metric-item:hover {
  transform: translateY(-3px);
}

.hero__metric-item b {
  display: block;
  font-size: clamp(1.7rem, 2.5vw, 2.25rem);
  font-family: var(--font-serif);
  color: var(--nnb-gold-dark);
  line-height: 1.1;
  margin-bottom: 4px;
}

.hero__metric-item span {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.35;
  display: block;
  font-weight: 600;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 110px;
  }
  .hero__metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ==========================================================================
   MARQUEE TICKER INFINITO
   ========================================================================== */
.marquee {
  background: var(--nnb-forest);
  border-block: 1px solid rgba(197, 160, 89, 0.35);
  padding-block: 16px;
  overflow: hidden;
  position: relative;
  z-index: 4;
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 26px;
  animation: marqueeScroll 32s linear infinite;
}

.marquee__track:hover {
  animation-play-state: paused;
}

.marquee__track span {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
}

.marquee__track i {
  font-style: normal;
  color: var(--nnb-gold-light);
  font-size: 0.8rem;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   SEÇÃO CTC: CENTRO DE TRATAMENTO DE CEFALEIA
   ========================================================================== */
.ctc-section {
  background: linear-gradient(135deg, var(--bg-dark-section) 0%, var(--nnb-forest-deep) 100%);
  color: #ffffff;
  position: relative;
}

.ctc-section h2 {
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  color: #ffffff;
  margin-bottom: 20px;
}

.ctc-section h2 em {
  color: var(--nnb-gold-light);
}

.ctc-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 55px;
  align-items: center;
}

.ctc-visual {
  position: relative;
}

.ctc-visual__card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(134, 137, 93, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transform-style: preserve-3d;
  transition: transform var(--dur-base) var(--ease-out-quart), box-shadow var(--dur-base) var(--ease-out-quart);
}

.ctc-visual__card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-slow) var(--ease-out-expo);
}

.ctc-visual__card:hover img {
  transform: scale(1.05);
}

.ctc-visual__badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(14, 27, 18, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform var(--dur-fast) var(--ease-out-quart);
}

.ctc-visual__card:hover .ctc-visual__badge {
  transform: translateY(-3px);
}

.ctc-visual__badge img {
  height: 42px;
  width: auto;
}

.ctc-visual__badge-text h4 {
  font-size: 1.05rem;
  color: var(--nnb-gold-light);
  margin-bottom: 2px;
}

.ctc-visual__badge-text p {
  font-size: 0.84rem;
  color: var(--text-light-muted);
  margin: 0;
}

.ctc-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 32px;
}

.ctc-feature-item {
  background: var(--bg-dark-card);
  border: 1px solid rgba(197, 160, 89, 0.15);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  gap: 18px;
  transition: transform var(--dur-base) var(--ease-out-quart), border-color var(--dur-base) var(--ease-out-quart), background var(--dur-base) var(--ease-out-quart), box-shadow var(--dur-base) var(--ease-out-quart);
}

.ctc-feature-item:hover {
  transform: translateX(8px);
  border-color: var(--nnb-gold);
  background: rgba(28, 51, 36, 0.98);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.ctc-feature-number {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--nnb-gold);
  line-height: 1;
  transition: transform var(--dur-fast) var(--ease-out-quart);
}

.ctc-feature-item:hover .ctc-feature-number {
  transform: scale(1.15) rotate(-5deg);
}

.ctc-feature-item h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: #ffffff;
}

.ctc-feature-item p {
  font-size: 0.92rem;
  color: var(--text-light-muted);
  line-height: 1.55;
}

@media (max-width: 992px) {
  .ctc-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ctc-visual__card img {
    height: 360px;
  }
}

/* ==========================================================================
   CARDS DE ESPECIALIDADES & PROCEDIMENTOS
   ========================================================================== */
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1100px) {
  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .cards-grid-4 {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out-quart), border-color var(--dur-base) var(--ease-out-quart), box-shadow var(--dur-base) var(--ease-out-quart);
  transform-style: preserve-3d;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--nnb-gold);
  box-shadow: var(--shadow-lg);
}

.service-card__media {
  position: relative;
  height: 210px;
  overflow: hidden;
  background-color: var(--bg-surface-alt);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out-expo);
}

.service-card:hover .service-card__media img {
  transform: scale(1.08);
}

.service-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--nnb-forest);
  color: #ffffff;
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform var(--dur-fast) var(--ease-out-quart), background var(--dur-fast) var(--ease-out-quart);
}

.service-card:hover .service-card__badge {
  transform: scale(1.05);
  background: var(--nnb-gold);
  color: #122418;
}

.service-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  transition: transform var(--dur-base) var(--ease-out-quart);
}

.service-card__body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-heading);
}

.service-card__body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-card__list {
  list-style: none;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.service-card__list li {
  font-size: 0.85rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card__list li::before {
  content: '✓';
  color: var(--nnb-gold-dark);
  font-weight: 700;
}

.service-card__link {
  color: var(--nnb-gold-dark);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-inline: auto;
  transition: gap var(--dur-fast) var(--ease-out-quart), color var(--dur-fast) var(--ease-out-quart);
}

.service-card__link:hover {
  gap: 12px;
  color: var(--nnb-olive-dark);
}

/* ==========================================================================
   SEÇÃO SINTOMAS DE ALERTA & CTA CENTRALIZADO
   ========================================================================== */
.symptoms-section {
  background-color: var(--nnb-olive-soft);
  border-block: 1px solid rgba(134, 137, 93, 0.2);
}

.symptoms-box {
  background: #ffffff;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.symptoms-box h2 {
  font-size: clamp(2.3rem, 3.8vw, 3.2rem);
  margin-bottom: 14px;
}

.symptoms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
  margin-bottom: 34px;
}

@media (max-width: 900px) {
  .symptoms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .symptoms-grid {
    grid-template-columns: 1fr;
  }
  .symptoms-box {
    padding: 24px;
  }
}

.symptom-tag {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform var(--dur-base) var(--ease-out-quart), border-color var(--dur-base) var(--ease-out-quart), background var(--dur-base) var(--ease-out-quart), box-shadow var(--dur-base) var(--ease-out-quart);
  cursor: default;
}

.symptom-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(197, 160, 89, 0.14);
  color: var(--nnb-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-out-quart), background var(--dur-base) var(--ease-out-quart), color var(--dur-base) var(--ease-out-quart);
}

.symptom-icon svg {
  width: 20px;
  height: 20px;
}

.symptom-tag span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.35;
  transition: transform var(--dur-base) var(--ease-out-quart);
}

.symptom-tag:hover {
  background: #ffffff;
  border-color: var(--nnb-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.symptom-tag:hover .symptom-icon {
  transform: rotate(-8deg) scale(1.12);
  background: var(--nnb-gold);
  color: #122418;
}

.symptom-tag:hover span {
  transform: translateX(2px);
}

.symptoms-cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.symptoms-cta-box p {
  color: var(--nnb-olive-dark);
  font-weight: 700;
  font-size: 1.05rem;
  max-width: 680px;
  margin-inline: auto;
}

/* ==========================================================================
   SEÇÃO SOBRE A NNB & ESTRUTURA
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.about-info h2 {
  font-size: clamp(2.3rem, 4vw, 3.3rem);
  margin-bottom: 20px;
}

.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-gallery__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 230px;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
}

.about-gallery__item:nth-child(2) {
  transform: translateY(20px);
}
.about-gallery__item:nth-child(3) {
  transform: translateY(-20px);
}

.about-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out-expo);
}

.about-gallery__item:hover img {
  transform: scale(1.08);
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.pillar-item {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: transform var(--dur-base) var(--ease-out-quart), border-color var(--dur-base) var(--ease-out-quart), background var(--dur-base) var(--ease-out-quart), box-shadow var(--dur-base) var(--ease-out-quart);
}

.pillar-item:hover {
  transform: translateY(-4px);
  background: #ffffff;
  border-color: var(--nnb-gold);
  box-shadow: var(--shadow-sm);
}

.pillar-item h4 {
  color: var(--text-heading);
  font-size: 1rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-item h4 svg {
  color: var(--nnb-gold-dark);
  transition: transform var(--dur-fast) var(--ease-out-quart);
}

.pillar-item:hover h4 svg {
  transform: scale(1.15) rotate(-6deg);
}

.pillar-item p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-gallery__item:nth-child(2),
  .about-gallery__item:nth-child(3) {
    transform: none;
  }
}

/* ==========================================================================
   SEÇÃO EQUIPE MÉDICA (11 PROFISSIONAIS COM CENTRALIZAÇÃO DA ÚLTIMA LINHA)
   ========================================================================== */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.doctor-card {
  flex: 0 1 calc(25% - 18px);
  min-width: 260px;
  max-width: 285px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out-quart), border-color var(--dur-base) var(--ease-out-quart), box-shadow var(--dur-base) var(--ease-out-quart);
  transform-style: preserve-3d;
}

@media (max-width: 1200px) {
  .doctor-card {
    flex: 0 1 calc(33.333% - 16px);
    max-width: 320px;
  }
}
@media (max-width: 860px) {
  .doctor-card {
    flex: 0 1 calc(50% - 12px);
    max-width: 340px;
  }
}
@media (max-width: 560px) {
  .doctor-card {
    flex: 0 1 100%;
    max-width: 100%;
  }
}

.doctor-card:hover {
  transform: translateY(-8px);
  border-color: var(--nnb-gold);
  box-shadow: var(--shadow-lg);
}

.doctor-card__photo {
  height: 330px;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-surface-alt);
}

.doctor-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--dur-slow) var(--ease-out-expo);
}

/* Enquadramento customizado por especialista para preservar o rosto sem cortes */
.doctor-card__photo img[src*="dra-elza-magalhaes"] { object-position: center 8%; }
.doctor-card__photo img[src*="dra-carla-menezes"] { object-position: center 5%; }
.doctor-card__photo img[src*="dr-eduardo-cardoso"] { object-position: center 4%; }
.doctor-card__photo img[src*="dra-maria-clara"] { object-position: center 6%; }
.doctor-card__photo img[src*="dra-fernanda-andrade"] { object-position: center 12%; }
.doctor-card__photo img[src*="dra-priscila-leite"] { object-position: center 10%; }
.doctor-card__photo img[src*="dr-joao-gabriel"] { object-position: center 8%; }
.doctor-card__photo img[src*="dr-vitor-almeida"] { object-position: center 8%; }
.doctor-card__photo img[src*="dra-ticiana-vilar"] { object-position: center 10%; }
.doctor-card__photo img[src*="dra-beatriz-neves"] { object-position: center 10%; }
.doctor-card__photo img[src*="dr-filipe-nolasco"] { object-position: center 8%; }

.doctor-card:hover .doctor-card__photo img {
  transform: scale(1.04);
}

.doctor-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--nnb-forest);
  color: #ffffff;
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  transition: transform var(--dur-fast) var(--ease-out-quart);
}

.doctor-card:hover .doctor-card__badge {
  transform: scale(1.05);
  background: var(--nnb-gold);
  color: #122418;
}

.doctor-card__info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.doctor-card__info h3 {
  font-size: 1.18rem;
  margin-bottom: 3px;
  color: var(--text-heading);
  font-weight: 700;
}

.doctor-card__role {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--nnb-gold-dark);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.doctor-card__summary {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.doctor-card__btn {
  background: transparent;
  border: 1.5px solid var(--nnb-gold);
  color: var(--nnb-gold-dark);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform var(--dur-fast) var(--ease-out-quart), background var(--dur-fast) var(--ease-out-quart), color var(--dur-fast) var(--ease-out-quart), border-color var(--dur-fast) var(--ease-out-quart), box-shadow var(--dur-fast) var(--ease-out-quart);
  width: 100%;
}

.doctor-card__btn svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur-fast) var(--ease-out-quart);
}

.doctor-card__btn:hover {
  background: var(--nnb-gold);
  color: #122418;
  border-color: var(--nnb-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197, 160, 89, 0.4);
}

.doctor-card__btn:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   MODAL DE PERFIL PROFISSIONAL ELEVADO
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(12, 23, 16, 0.84);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-out-quart), visibility var(--dur-base) var(--ease-out-quart);
}

.modal.is-active {
  opacity: 1;
  visibility: visible;
}

.modal__dialog {
  background: #ffffff;
  border: 1.5px solid var(--nnb-gold);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 65px rgba(12, 23, 16, 0.4);
  transform: translateY(20px) scale(0.96);
  transition: transform var(--dur-base) var(--ease-out-expo);
}

.modal.is-active .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  color: var(--text-heading);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out-quart), background var(--dur-fast) var(--ease-out-quart), color var(--dur-fast) var(--ease-out-quart);
  z-index: 10;
}

.modal__close:hover {
  background: var(--nnb-gold);
  color: #122418;
  transform: rotate(90deg) scale(1.06);
}

.modal__content {
  padding: 38px;
}

.modal__header {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1.5px solid var(--border-subtle);
}

.modal__avatar-wrap {
  width: 125px;
  height: 145px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2.5px solid var(--nnb-gold);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.25);
  flex-shrink: 0;
  background-color: var(--bg-surface-alt);
}

.modal__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.modal__avatar[src*="dra-elza-magalhaes"] { object-position: center 8%; }
.modal__avatar[src*="dra-carla-menezes"] { object-position: center 5%; }
.modal__avatar[src*="dr-eduardo-cardoso"] { object-position: center 4%; }
.modal__avatar[src*="dra-maria-clara"] { object-position: center 6%; }
.modal__avatar[src*="dra-fernanda-andrade"] { object-position: center 12%; }
.modal__avatar[src*="dra-priscila-leite"] { object-position: center 10%; }
.modal__avatar[src*="dr-joao-gabriel"] { object-position: center 8%; }
.modal__avatar[src*="dr-vitor-almeida"] { object-position: center 8%; }
.modal__avatar[src*="dra-ticiana-vilar"] { object-position: center 10%; }
.modal__avatar[src*="dra-beatriz-neves"] { object-position: center 10%; }
.modal__avatar[src*="dr-filipe-nolasco"] { object-position: center 8%; }

.modal__header-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.modal__badge {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--nnb-gold-dark);
  background: rgba(197, 160, 89, 0.14);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  width: fit-content;
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.modal__header-info h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.18;
  margin: 0;
  text-wrap: balance;
}

#modal-role {
  color: var(--nnb-gold-dark);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.modal__section-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-heading);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal__section-title::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background-color: var(--nnb-gold);
}

.modal__bio {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.8;
  margin-bottom: 28px;
  white-space: pre-line;
  background: var(--bg-surface-alt);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--nnb-gold);
}

.modal__cta-row {
  display: flex;
  justify-content: center;
  width: 100%;
}

@media (max-width: 640px) {
  .modal__content {
    padding: 26px 20px;
  }
  .modal__header {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 16px;
  }
  .modal__badge {
    margin-inline: auto;
  }
  .modal__header-info {
    align-items: center;
  }
  .modal__avatar-wrap {
    width: 120px;
    height: 135px;
  }
  .modal__bio {
    padding: 18px 20px;
  }
}

/* ==========================================================================
   SEÇÃO ARTIGOS & CONHECIMENTO CLÍNICO
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out-quart), border-color var(--dur-base) var(--ease-out-quart), box-shadow var(--dur-base) var(--ease-out-quart);
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: var(--nnb-gold);
  box-shadow: var(--shadow-md);
}

.article-card__media {
  height: 200px;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-surface-alt);
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out-expo);
}

.article-card:hover .article-card__media img {
  transform: scale(1.08);
}

.article-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-card__tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nnb-gold-dark);
  margin-bottom: 6px;
}

.article-card__body h3 {
  font-size: 1.18rem;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--text-heading);
}

.article-card__body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

/* ==========================================================================
   SEÇÃO FAQ (ACORDEÃO MODERNO)
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-out-quart), box-shadow var(--dur-base) var(--ease-out-quart);
}

.faq-item.is-active {
  border-color: var(--nnb-gold);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-trigger svg {
  width: 18px;
  height: 18px;
  color: var(--nnb-gold-dark);
  transition: transform var(--dur-base) var(--ease-out-quart);
  flex-shrink: 0;
}

.faq-item.is-active .faq-trigger svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-quart), padding 0.4s var(--ease-out-quart);
  padding-inline: 24px;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.is-active .faq-answer {
  max-height: 260px;
  padding-bottom: 20px;
}

/* ==========================================================================
   SEÇÃO CONTATO & ÍCONES VETORIAIS
   ========================================================================== */
.contact-panel {
  background: #ffffff;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  position: relative;
  overflow: hidden;
}

.contact-info h2 {
  font-size: clamp(2.3rem, 3.8vw, 3.2rem);
  margin-bottom: 14px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card-item {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur-base) var(--ease-out-quart), border-color var(--dur-base) var(--ease-out-quart), background var(--dur-base) var(--ease-out-quart), box-shadow var(--dur-base) var(--ease-out-quart);
}

.contact-card-item:hover {
  background: #ffffff;
  border-color: var(--nnb-gold);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}

.contact-icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-out-quart);
}

.contact-card-item:hover .contact-icon-badge {
  transform: rotate(-8deg) scale(1.1);
}

.contact-icon-badge svg {
  width: 22px;
  height: 22px;
}

.contact-icon-badge--whatsapp {
  background: rgba(37, 211, 102, 0.14);
  color: #128c7e;
}
.contact-icon-badge--whatsapp svg {
  fill: currentColor;
}
.contact-icon-badge--phone {
  background: rgba(197, 160, 89, 0.14);
  color: var(--nnb-gold-dark);
}
.contact-icon-badge--location {
  background: rgba(134, 137, 93, 0.16);
  color: var(--nnb-olive-dark);
}

.contact-card-item small {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nnb-gold-dark);
  display: block;
  margin-bottom: 2px;
  font-weight: 700;
}

.contact-card-item b {
  font-size: 1.02rem;
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.4;
}

.contact-form {
  background: #ffffff;
  border: 1.5px solid var(--nnb-gold);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 16px 40px rgba(197, 160, 89, 0.15);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--nnb-gold), var(--nnb-olive));
}

.contact-form__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 160, 89, 0.14);
  color: var(--nnb-gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-bottom: 2px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.button--shimmer {
  position: relative;
  overflow: hidden;
}

.button--shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 80%
  );
  transform: rotate(25deg);
  animation: shimmerMove 3.5s infinite;
}

@keyframes shimmerMove {
  0% { left: -70%; }
  35% { left: 140%; }
  100% { left: 140%; }
}

.contact-form h3 {
  font-size: 1.35rem;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.contact-form p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-heading);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.92rem;
  color: var(--text-main);
  font-family: inherit;
  transition: border-color var(--dur-fast) var(--ease-out-quart), box-shadow var(--dur-fast) var(--ease-out-quart), background var(--dur-fast) var(--ease-out-quart);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--nnb-gold);
  box-shadow: 0 0 0 3px var(--nnb-gold-glow);
}

.contact-form__submit-row {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 8px;
}

.contact-form__security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 6px;
}

.contact-form__security svg {
  color: var(--nnb-gold-dark);
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .contact-panel {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 32px;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--bg-footer);
  color: #ffffff;
  padding-block: 55px 28px;
  position: relative;
  z-index: 2;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand img {
  height: 44px;
  width: auto;
  margin-bottom: 14px;
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  max-width: 360px;
  line-height: 1.6;
}

.footer__column h4 {
  font-size: 1rem;
  color: var(--nnb-gold-light);
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__links a {
  color: var(--text-light-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: #ffffff;
}

.footer-legal {
  background-color: #070e0a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 18px;
  font-size: 0.75rem;
  color: var(--text-light-muted);
  line-height: 1.6;
}

.footer-legal__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-legal__col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-legal__col--left {
  text-align: left;
}

.footer-legal__col--right {
  text-align: right;
}

.footer-legal__credit {
  color: var(--nnb-gold);
  font-weight: 700;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal__credit:hover {
  color: var(--nnb-gold-light);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer {
    padding-bottom: 0;
  }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
  }
  .footer-legal {
    padding-block: 22px;
    text-align: center;
  }
  .footer-legal__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
  .footer-legal__col {
    align-items: center;
    text-align: center;
    gap: 6px;
  }
  .footer-legal__col--left,
  .footer-legal__col--right {
    text-align: center;
  }
}

/* ==========================================================================
   WHATSAPP FLUTUANTE
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform var(--dur-fast) var(--ease-out-quart), box-shadow var(--dur-fast) var(--ease-out-quart);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    padding: 13px;
  }
  .whatsapp-float span {
    display: none;
  }
}

/* ==========================================================================
   REVEALS & STAGGER XSITE
   ========================================================================== */
.reveal {
  opacity: 1;
  transition: opacity var(--dur-slow) var(--ease-out-quart), transform var(--dur-slow) var(--ease-out-quart);
}

.js-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
}

.js-reveal-ready .reveal[data-reveal="fade-left"] {
  transform: translateX(-30px);
}

.js-reveal-ready .reveal[data-reveal="fade-right"] {
  transform: translateX(30px);
}

.js-reveal-ready .reveal.is-in {
  opacity: 1;
  transform: none !important;
}

.stagger > * {
  opacity: 1;
}
.js-reveal-ready .stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease-out-quart), transform var(--dur-slow) var(--ease-out-quart);
}
.js-reveal-ready .stagger.is-in > * {
  opacity: 1;
  transform: none;
}
.js-reveal-ready .stagger > *:nth-child(1) { transition-delay: 40ms; }
.js-reveal-ready .stagger > *:nth-child(2) { transition-delay: 100ms; }
.js-reveal-ready .stagger > *:nth-child(3) { transition-delay: 160ms; }
.js-reveal-ready .stagger > *:nth-child(4) { transition-delay: 220ms; }
.js-reveal-ready .stagger > *:nth-child(5) { transition-delay: 280ms; }
.js-reveal-ready .stagger > *:nth-child(6) { transition-delay: 340ms; }
.js-reveal-ready .stagger > *:nth-child(7) { transition-delay: 400ms; }
.js-reveal-ready .stagger > *:nth-child(8) { transition-delay: 460ms; }
.js-reveal-ready .stagger > *:nth-child(9) { transition-delay: 520ms; }
.js-reveal-ready .stagger > *:nth-child(10) { transition-delay: 580ms; }
.js-reveal-ready .stagger > *:nth-child(11) { transition-delay: 640ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js-reveal-ready .reveal,
  .js-reveal-ready .stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
