/* =========================================================
   Jeff Souza Odontologia — design system
   Tokens derivados da logo: azul-marinho + dourado fosco.
   ========================================================= */

:root {
  --navy-900: #0C1D2E;
  --navy-800: #122A40;
  --navy-700: #1B3A5C;
  --navy-600: #27517C;

  --gold-600: #9C7743;
  --gold-500: #B8925A;
  --gold-300: #D9BE90;

  --bone-50:  #FAF8F4;
  --bone-100: #F2EFE8;
  --bone-200: #E6E1D6;

  --ink-900: #14181D;
  --ink-700: #3A4148;
  --ink-500: #626A73;

  --white: #FFFFFF;

  --on-dark-strong: #F5F3EE;
  --on-dark-soft:   #A9B7C6;

  --line-light: #E4DED1;
  --line-dark:  rgba(216, 226, 238, 0.14);

  --sp-1: 4px;  --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px;  --sp-8: 32px;  --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-28: 112px;

  --r-card: 16px;
  --r-media: 18px;
  --r-btn: 10px;
  --r-pill: 100px;

  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --header-h: 88px;

  --shadow-sm: 0 2px 10px rgba(12, 29, 46, 0.05);
  --shadow-md: 0 16px 44px -20px rgba(12, 29, 46, 0.26);
  --shadow-lg: 0 36px 88px -36px rgba(12, 29, 46, 0.45);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bone-100);
  color: var(--ink-700);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
svg { display: block; }
button { font-family: inherit; }

::selection { background: var(--navy-700); color: var(--bone-50); }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.container-narrow { max-width: 820px; }

.section { padding: clamp(64px, 7vw, 96px) 0; }

.section-dark {
  background: var(--navy-900);
  color: var(--on-dark-soft);
}
.section-bone { background: var(--bone-50); }

/* ===== TIPOGRAFIA ===== */

.eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin: 0 0 var(--sp-4);
}
.eyebrow.on-dark { color: var(--gold-300); }

.section-title {
  font-weight: 700;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.024em;
  color: var(--ink-900);
  margin: 0 0 var(--sp-5);
  text-wrap: balance;
}
.section-title.on-dark { color: var(--on-dark-strong); }

.section-lead {
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--ink-500);
  margin: 0;
  max-width: 58ch;
}
.section-lead.on-dark { color: var(--on-dark-soft); }

.section-head { max-width: 640px; margin-bottom: var(--sp-10); }
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }
p.on-dark { color: var(--on-dark-soft); }

/* ===== BOTÕES ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              box-shadow 0.25s var(--ease), border-color 0.25s var(--ease),
              color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn { position: relative; overflow: hidden; }
.btn > * { position: relative; z-index: 1; }
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 38%,
              rgba(255, 255, 255, 0.18) 50%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

.btn-primary {
  background: var(--navy-700);
  color: var(--bone-50);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--navy-800);
  box-shadow: var(--shadow-md), 0 0 0 4px rgba(184, 146, 90, 0.16);
}

.btn-light { background: var(--bone-50); color: var(--navy-800); }
.btn-light:hover { background: var(--white); }

.btn-ghost-dark {
  background: transparent;
  color: var(--on-dark-strong);
  border-color: rgba(216, 226, 238, 0.3);
}
.btn-ghost-dark:hover { border-color: var(--gold-500); color: var(--gold-300); }

.btn-ghost {
  background: transparent;
  color: var(--navy-700);
  border-color: var(--line-light);
}
.btn-ghost:hover { border-color: var(--gold-500); color: var(--gold-600); background: var(--bone-50); }

/* ===== HEADER (transparente sobre o hero) ===== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}
.site-header.is-stuck {
  background: rgba(250, 248, 244, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line-light);
  box-shadow: 0 8px 28px -22px rgba(12, 29, 46, 0.6);
}

.header-inner {
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-6);
}

.brand { flex: none; display: block; position: relative; line-height: 0; }
.brand-mark {
  height: 46px;
  width: auto;
  max-width: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.brand:hover .brand-mark { transform: scale(1.04); }
.brand-mark.on-light { position: absolute; top: 0; left: 0; opacity: 0; }
.site-header.is-stuck .brand-mark.on-dark { opacity: 0; }
.site-header.is-stuck .brand-mark.on-light { opacity: 1; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  justify-self: center;
}
.main-nav a {
  position: relative;
  font-size: 0.845rem;
  font-weight: 500;
  color: var(--on-dark-soft);
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1.5px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.main-nav a:hover { color: var(--on-dark-strong); }
.main-nav a:hover::after,
.main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.main-nav a.is-active { color: var(--on-dark-strong); }

.site-header.is-stuck .main-nav a { color: var(--ink-700); }
.site-header.is-stuck .main-nav a:hover,
.site-header.is-stuck .main-nav a.is-active { color: var(--navy-700); }

.header-cta {
  padding: 11px 20px;
  font-size: 0.845rem;
  flex: none;
  background: transparent;
  color: var(--on-dark-strong);
  border-color: rgba(216, 226, 238, 0.32);
  box-shadow: none;
}
.header-cta:hover {
  background: var(--bone-50);
  color: var(--navy-800);
  border-color: var(--bone-50);
}
.site-header.is-stuck .header-cta {
  background: var(--navy-700);
  color: var(--bone-50);
  border-color: var(--navy-700);
}
.site-header.is-stuck .header-cta:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: var(--on-dark-strong);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease),
              background 0.3s var(--ease);
}
.site-header.is-stuck .hamburger span { background: var(--navy-800); }
.hamburger.open span { background: var(--navy-800); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 101;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(to right, var(--gold-600), var(--gold-300));
  pointer-events: none;
}

/* ===== HERO (100vh com o header) ===== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + var(--sp-8)) 0 var(--sp-12);
  background: var(--navy-900);
  color: var(--on-dark-soft);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 620px at 8% -14%, rgba(39, 81, 124, 0.5), transparent 64%),
    radial-gradient(820px 480px at 96% 10%, rgba(184, 146, 90, 0.14), transparent 68%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; width: 100%; }

.hero-eyebrow { color: var(--gold-300); }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  column-gap: clamp(32px, 6vw, 88px);
  row-gap: var(--sp-6);
  align-items: center;
}
.hero-copy { display: grid; gap: var(--sp-6); }
.hero-portrait {
  position: relative;
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: 370px;
  height: clamp(360px, 40vw, 490px);
  margin-bottom: 24px;
  border-radius: var(--r-media);
}
.hero-portrait-main { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: var(--r-media); }
.hero-portrait-inset {
  position: absolute;
  left: -15%;
  bottom: -7%;
  display: block;
  width: 46%;
  height: 45%;
  object-fit: cover;
  object-position: center center;
  border: 5px solid var(--bone-50);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .32);
}
.hero-topo {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.034em;
  color: var(--on-dark-strong);
  margin: 0 0 var(--sp-6);
  max-width: 15ch;
  margin-bottom: 0;
  text-wrap: balance;
}
.hero-title em { font-style: normal; color: var(--gold-300); }

.hero-subtitle {
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.7;
  color: var(--on-dark-soft);
  margin: 0;
  padding-bottom: 10px;
  max-width: 52ch;
  border-left: 1px solid var(--line-dark);
  padding-left: clamp(20px, 2.5vw, 32px);
}

.hero-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-6);
  margin: var(--sp-10) 0 0;
  padding-top: var(--sp-8);
  border-top: 1px solid var(--line-dark);
}
.hero-fact {
  min-width: 0;
  position: relative;
  padding-left: var(--sp-5);
}
.hero-fact::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold-500), transparent);
}
.hero-fact dt {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.028em;
  color: var(--gold-300);
  margin-bottom: 2px;
  transition: text-shadow 0.3s var(--ease);
}
.hero-fact:hover dt { text-shadow: 0 0 18px rgba(217, 190, 144, 0.55); }
.hero-fact dd {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--on-dark-soft);
  max-width: 22ch;
}

/* ===== PROCESSO ===== */

.processo { background: var(--bone-50); }

.steps {
  --bubble: clamp(38px, 4.6vw, 54px);
  --steps-pad: clamp(52px, 6vw, 76px);
  position: relative;
  display: grid;
  gap: 0;
  margin-top: var(--sp-12);
  padding-left: var(--steps-pad);
  counter-reset: stp;
}
/* trilho vertical continuo, sempre no centro do marcador */
.steps::before {
  content: '';
  position: absolute;
  z-index: 1;
  left: calc(var(--bubble) / 2);
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--line-light);
}
.steps::after {
  content: '';
  position: absolute;
  z-index: 1;
  left: calc(var(--bubble) / 2);
  top: 10px;
  width: 1px;
  height: var(--rail, 0%);
  background: linear-gradient(to bottom, var(--gold-500), var(--gold-300));
  transition: height 0.9s var(--ease);
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: var(--sp-3) var(--sp-8);
  align-items: baseline;
  padding: var(--sp-6) 0;
  /* etapa de uma linha so nao pode ser mais baixa que o marcador */
  min-height: calc(var(--bubble) + var(--sp-6) * 2 + 4px);
  counter-increment: stp;
  border-bottom: 1px solid var(--line-light);
}
.step:last-child { border-bottom: none; }

/* marcador numerado sobre o trilho */
.step::before {
  content: counter(stp, decimal-leading-zero);
  position: absolute;
  z-index: 2;
  left: calc(var(--steps-pad) * -1);
  top: calc(var(--sp-6) + 2px);
  display: grid;
  place-items: center;
  width: var(--bubble);
  height: var(--bubble);
  border-radius: 50%;
  background: var(--bone-50);
  border: 1px solid var(--line-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-500);
  transition: border-color 0.45s var(--ease), color 0.45s var(--ease),
              background 0.45s var(--ease), transform 0.45s var(--ease),
              box-shadow 0.45s var(--ease);
}
.step.is-lit::before {
  border-color: var(--gold-500);
  color: var(--navy-800);
  background: var(--white);
  transform: scale(1.04);
}

.step-rail, .step-num { display: none; }

.step h3 {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  font-weight: 600;
  line-height: 1.32;
  color: var(--ink-900);
  margin: 0;
  letter-spacing: -0.014em;
  transition: color 0.3s var(--ease);
}
.step p {
  font-size: 0.9rem;
  line-height: 1.66;
  color: var(--ink-500);
  margin: 0;
}
.step:hover h3 { color: var(--navy-700); }
.step:hover::before {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(184, 146, 90, 0.12);
}

/* ===== ÍNDICE DE ÁREAS =====
   Retrato do Jeff à esquerda, as 6 áreas como lista com filete à direita.
   Hover em WAAPI (script.js, seção 8).
   ================================================================= */

.areas-grid { display: block; }
/* cabeçalho dividido: título à esquerda, parágrafo à direita */
.areas-lado .section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "eyebrow eyebrow" "titulo lead";
  column-gap: clamp(40px, 6vw, 104px);
  align-items: end;
  max-width: none;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.areas-lado .eyebrow { grid-area: eyebrow; }
.areas-lado .section-title { grid-area: titulo; margin-bottom: 0; max-width: 14ch; }
.areas-lado .section-lead { grid-area: lead; max-width: 48ch; margin: 0; }

.areas-lista {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  column-gap: clamp(40px, 6vw, 104px);
}
.areas-lista li:nth-child(1),
.areas-lista li:nth-child(4) { border-top: 1px solid var(--line-dark); }
.areas-lista li { border-bottom: 1px solid var(--line-dark); }
.area-row {
  position: relative;
  display: grid;
  grid-template-columns: 3em 1fr 20px;
  grid-template-areas: "num nome seta" "num txt seta";
  align-items: baseline;
  column-gap: var(--sp-4);
  row-gap: 6px;
  padding: clamp(22px, 2.4vw, 30px) 0;
  color: inherit;
  text-decoration: none;
}
.area-row-icon {
  grid-area: num;
  align-self: start;
  color: var(--gold-500);
}
.area-row-icon svg { display: block; width: 30px; height: 30px; }
.area-row strong {
  grid-area: nome;
  justify-self: start;
  display: inline-block;
  font-size: clamp(1.2rem, 1.7vw, 1.42rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--on-dark-strong);
}
.area-row-txt {
  grid-area: txt;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--on-dark-soft);
}
.area-row::after {
  content: '';
  grid-area: seta;
  align-self: center;
  width: 16px;
  height: 8px;
  background: var(--gold-300);
  clip-path: polygon(0 45%, 62% 45%, 62% 0, 100% 50%, 62% 100%, 62% 55%, 0 55%);
  opacity: 0;
}
.area-row:hover strong,
.area-row:focus-visible strong { color: var(--gold-300); }

/* ===== DOBRAS DE TRATAMENTO =====
   Duas colunas: texto de um lado, foto do outro, alternando.
   ATENCAO: sem transition CSS no motion perceptivel — ver script.js (WAAPI).
   ================================================================= */

.area {
  position: relative;
  padding: clamp(56px, 6vw, 84px) 0;
  scroll-margin-top: var(--header-h);
  overflow: hidden;
}
.area + .area { border-top: 1px solid var(--line-light); }
.area:nth-of-type(even) { background: var(--bone-50); }

.area-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(36px, 4.5vw, 68px);
  align-items: center;
}
.area:nth-of-type(even) .area-shell { grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); }
.area:nth-of-type(even) .area-body  { order: 2; }
.area:nth-of-type(even) .area-panel,
.area:nth-of-type(even) .area-duo   { order: 1; }

.area-body { min-width: 0; }

/* Etiqueta com o nome do serviço. */
.area-axis {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.area-axis em {
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.area-title {
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.028em;
  color: var(--ink-900);
  margin: 0 0 var(--sp-5);
  max-width: 22ch;
  text-wrap: balance;
}
.area-title .w { display: inline-block; will-change: transform, opacity; }

.area-cols > p {
  font-size: 0.945rem;
  line-height: 1.7;
  color: var(--ink-500);
  margin: 0 0 var(--sp-5);
  max-width: 46ch;
}

.area-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 0 var(--sp-6);
  margin: 0;
}
.area-list li {
  position: relative;
  padding: 9px 0 9px var(--sp-5);
  border-bottom: 1px solid var(--line-light);
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-700);
  will-change: transform, opacity;
}
.area-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.2em;
  width: 9px;
  height: 1px;
  background: var(--gold-500);
}

.area-note {
  display: block;
  margin-top: var(--sp-10);
  padding: 4px 0 4px var(--sp-6);
  border-left: 2px solid var(--gold-500);
  font-size: 0.865rem;
  line-height: 1.64;
  color: var(--ink-500);
  max-width: 48ch;
}
.area-note strong { color: var(--ink-900); font-weight: 600; }

/* --- painel de midia --- */
.area-panel {
  position: relative;
  min-width: 0;
  border-radius: var(--r-media);
  overflow: hidden;
  background: var(--navy-900);
  box-shadow: var(--shadow-md);
}
.area-panel .case-figure { margin: 0; overflow: hidden; }
.area-panel .case-figure img {
  display: block;
  width: 100%;
  height: clamp(300px, 32vw, 400px);
  object-fit: cover;
  will-change: transform;
  transform: translate3d(0, var(--py, 0px), 0);
}
.area-panel .case-figure--wide img { height: auto; aspect-ratio: 2 / 1; }
/* radiografia | foto clinica, sangrando ate a borda como os comparadores do site.
   As duas tem 664px de altura de origem e as colunas seguem a largura de cada uma,
   entao saem na mesma altura e inteiras. No meio, o mesmo filete + disco do
   comparador, com seta: le como "canal tratado -> dente de volta a funcao". */
.area-panel .case-duo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 778fr) minmax(0, 570fr);
}
.area-panel .case-figure--duo .case-duo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  will-change: auto;
  transform: none; /* sem parallax: deslocar a foto dentro do quadro corta as bordas */
}
.area-panel .case-figure--duo .duo-fundo  { aspect-ratio: 778 / 664; }
.area-panel .case-figure--duo .duo-frente { aspect-ratio: 570 / 664; }
.case-duo-seta {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(778 / 1348 * 100%);
  z-index: 2;
  width: 2px;
  background: var(--bone-50);
  transform: translateX(-1px);
  box-shadow: 0 0 0 1px rgba(12, 29, 46, 0.3);
  pointer-events: none;
}
.case-duo-seta::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--bone-50);
  box-shadow: 0 6px 18px rgba(12, 29, 46, 0.4);
}
.case-duo-seta svg {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  color: var(--navy-700);
}
/* comparador dentro do painel: a imagem preenche o proprio quadro, sem a altura fixa do painel */
.area-panel .case-figure .compare img { height: 100%; will-change: auto; }
.area-panel.doc .case-figure img {
  object-fit: cover;
  object-position: center center;
  height: clamp(300px, 32vw, 400px);
}

/* legenda abaixo da foto — sobre a imagem ficava ilegivel */
.area-panel .case-caption {
  padding: var(--sp-4) var(--sp-5);
  background: var(--navy-900);
  border-top: 1px solid var(--line-dark);
  font-size: 0.79rem;
  line-height: 1.55;
  color: var(--on-dark-soft);
  margin: 0;
}
.area-panel .case-caption strong {
  display: block;
  color: var(--on-dark-strong);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 2px;
}

/* cortina de revelacao (elemento real: WAAPI nao anima pseudo) */
/* A cortina so cobre a foto quando o motion vai de fato rodar.
   Sem JS, ou com prefers-reduced-motion, ela nasce recolhida — senao
   tapa a imagem para sempre (o .js-motion e posto pelo script). */
.panel-capa {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--bone-100);
  transform: scaleX(0);
  transform-origin: right;
  pointer-events: none;
  will-change: transform;
}
.js-motion .panel-capa { transform: scaleX(1); }
.area:nth-of-type(even) .panel-capa { background: var(--bone-50); }

/* --- comparador --- */
.compare {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  touch-action: pan-y;
  line-height: 0;
}
.compare--wide { aspect-ratio: 2 / 1; }
.compare > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transform: none !important;
  -webkit-user-drag: none;
  user-drag: none;
}
.compare-after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  will-change: width;
}
.compare-after img {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  object-fit: cover;
  max-width: none;
  transform: none !important;
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
}
.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 3;
  width: 2px;
  background: var(--bone-50);
  transform: translateX(-1px);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(12, 29, 46, 0.3);
  will-change: left;
}
.compare-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--bone-50);
  box-shadow: 0 6px 18px rgba(12, 29, 46, 0.4);
}
.compare-handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 15px;
  height: 9px;
  transform: translate(-50%, -50%);
  background: var(--navy-700);
  clip-path: polygon(0 50%, 34% 0, 34% 100%, 66% 0, 66% 100%, 100% 50%);
}
.compare-tag {
  position: absolute;
  top: var(--sp-3);
  z-index: 3;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(12, 29, 46, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--on-dark-strong);
  pointer-events: none;
}
.compare-tag.before { left: var(--sp-3); }
.compare-tag.after  { right: var(--sp-3); color: var(--gold-300); }

/* Fotos completas em sequência para leitura clara do resultado. */
.compare-stack { display: grid; gap: 3px; }
.compare-stack .compare-photo { position: relative; margin: 0; overflow: hidden; background: var(--navy-900); }
.area-panel .compare-stack .compare-photo img {
  display: block;
  width: 100%;
  height: clamp(185px, 17vw, 230px);
  object-fit: cover;
  object-position: center;
  transform: none;
  will-change: auto;
}
.compare-stack .compare-tag { left: var(--sp-3); right: auto; }
#cirurgia .area-panel { overflow: visible; background: transparent; box-shadow: none; }
#cirurgia .compare-stack { gap: var(--sp-3); }
#cirurgia .compare-stack .compare-photo--surgery-before {
  width: min(100%, 260px);
  margin-inline: auto;
  border-radius: var(--r-media);
  background: transparent;
  box-shadow: var(--shadow-md);
}
#cirurgia .area-panel .compare-stack .compare-photo--surgery-before img {
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
#cirurgia .compare-photo:not(.compare-photo--surgery-before) {
  width: min(100%, 260px);
  margin-inline: auto;
  border-radius: var(--r-media);
  box-shadow: var(--shadow-md);
}
#cirurgia .compare-photo:not(.compare-photo--surgery-before) img { height: 160px; }
#cirurgia .area-panel .case-caption {
  width: min(100%, 260px);
  margin: var(--sp-3) auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-500);
}
#cirurgia .area-panel .case-caption strong { color: var(--ink-900); }

/* --- dobra sem foto --- */
#ortodontia .area-shell { align-items: start; }
.area-duo {
  display: grid;
  gap: var(--sp-4);
  min-width: 0;
  align-self: start;
}
.area-duo article {
  padding: clamp(24px, 3vw, 34px);
  background: var(--navy-900);
  border-radius: var(--r-media);
  box-shadow: var(--shadow-md);
}
.area-duo h3 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin: 0 0 var(--sp-3);
}
.area-duo p {
  font-size: 0.9rem;
  line-height: 1.66;
  color: var(--on-dark-soft);
  margin: 0;
}
.area-duo p strong { color: var(--on-dark-strong); font-weight: 600; }

/* ===== DIFERENCIAIS ===== */

.dif-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  counter-reset: dif;
}
.dif-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--sp-8);
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--r-card);
  overflow: hidden;
  counter-increment: dif;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.4s var(--ease);
}
/* brilho diagonal que cruza o card */
.dif-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, transparent 42%,
              rgba(184, 146, 90, 0.09) 50%, transparent 58%);
  transform: translateX(-110%);
  transition: transform 0.8s var(--ease);
  pointer-events: none;
}
.dif-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(184, 146, 90, 0.42);
}
.dif-card:hover::after { transform: translateX(110%); }

.dif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-6);
}
.dif-card .dif-icon {
  width: 42px;
  height: 42px;
  padding: 10px;
  margin: 0;
  border-radius: 12px;
  background: var(--bone-100);
  color: var(--navy-700);
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              transform 0.4s var(--ease);
}
.dif-card:hover .dif-icon {
  background: var(--navy-700);
  color: var(--gold-300);
  transform: rotate(-4deg);
}
.dif-card .dif-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--bone-200);
  transition: color 0.35s var(--ease);
}
.dif-card:hover .dif-num { color: var(--gold-500); }

.dif-card h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: -0.014em;
  color: var(--ink-900);
  margin: 0 0 var(--sp-3);
}
.dif-card p {
  font-size: 0.88rem;
  line-height: 1.62;
  color: var(--ink-500);
  margin: 0;
}

/* ===== NA PRÁTICA ===== */

.pratica-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 76px);
  align-items: center;
}
.pratica-grid > div > p { max-width: 46ch; }

.pratica-list {
  display: grid;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--line-dark);
  counter-reset: pratica;
}
.pratica-list li {
  display: flex;
  align-items: baseline;
  gap: var(--sp-4);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--on-dark-soft);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.pratica-list li:hover { color: var(--on-dark-strong); padding-left: var(--sp-2); }
.pratica-list li::before {
  content: counter(pratica, decimal-leading-zero);
  counter-increment: pratica;
  flex: none;
  min-width: 1.6em;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-300);
}
.pratica-list li {
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(216, 226, 238, 0.07);
}
.pratica-list li:last-child { border-bottom: none; padding-bottom: 0; }

.pratica-quote {
  position: relative;
  margin: 0;
  padding-left: clamp(24px, 3vw, 40px);
  border-left: 2px solid var(--gold-500);
}
.pratica-quote::before {
  content: '\201C';
  position: absolute;
  top: -0.42em;
  left: clamp(10px, 1.6vw, 20px);
  font-size: clamp(6rem, 11vw, 10rem);
  line-height: 1;
  color: rgba(217, 190, 144, 0.1);
  pointer-events: none;
}
.pratica-quote p {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -0.022em;
  color: var(--on-dark-strong);
  margin: 0 0 var(--sp-6);
  text-wrap: balance;
}
.pratica-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
}

/* ===== DEPOIMENTOS ===== */

.carousel-wrap { position: relative; }
.carousel { overflow: hidden; }
.carousel-track { display: flex; gap: var(--sp-5); will-change: transform; }
.card-depo {
  flex: none;
  width: 300px;
  height: 340px;
  padding: var(--sp-8);
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--r-card);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.4s var(--ease);
}
.card-depo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(184, 146, 90, 0.35);
}
.depo-stars { display: flex; gap: 3px; color: var(--gold-500); flex: none; }
.depo-stars svg { width: 15px; height: 15px; }
.card-depo blockquote {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--ink-700);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
}
.depo-ver-mais {
  flex: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-600);
  transition: color 0.2s var(--ease);
}
.depo-ver-mais:hover { color: var(--navy-700); }
.depo-autor {
  margin-top: auto;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-light);
  font-size: 0.82rem;
  color: var(--ink-500);
  flex: none;
}
.depo-autor strong { display: block; font-weight: 600; color: var(--ink-900); }

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--navy-700);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease);
}
.carousel-arrow:hover {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: var(--bone-50);
}
.arrow-left  { left: -16px; }
.arrow-right { right: -16px; }

.depo-nota {
  margin-top: var(--sp-8);
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-500);
}
.depo-cta { margin-top: var(--sp-8); text-align: center; }

/* ===== QUEM SOMOS ===== */

.quem-grid {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: clamp(36px, 4.5vw, 64px);
  align-items: start;
}

.quem-foto {
  margin: 0 0 var(--sp-8);
  aspect-ratio: 4 / 5;
  border-radius: var(--r-media);
  overflow: hidden;
  background: var(--navy-700);
}
.quem-foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.quem-meta {
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-dark);
}
.quem-meta div {
  display: grid;
  gap: 2px;
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--line-dark);
  transition: padding-left 0.3s var(--ease);
}
.quem-meta div:hover { padding-left: var(--sp-3); }
.quem-meta dt {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.quem-meta dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--on-dark-strong);
}

.quem-texto > p { max-width: 52ch; }

.valores-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin: var(--sp-12) 0 var(--sp-6);
}
.valores-lista {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--sp-4) var(--sp-8);
}
.valores-lista li {
  position: relative;
  padding-left: var(--sp-6);
  font-size: 0.885rem;
  line-height: 1.52;
  color: var(--on-dark-soft);
  transition: color 0.25s var(--ease);
}
.valores-lista li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 1px;
  background: var(--gold-500);
  transition: width 0.3s var(--ease);
}
.valores-lista li:hover { color: var(--on-dark-strong); }
.valores-lista li:hover::before { width: 16px; }

/* ===== FORMULÁRIO ===== */

.form-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(40px, 5.5vw, 72px);
  align-items: center;
}
.form-aside .section-lead { margin-bottom: var(--sp-8); }

/* selos de confianca ao lado do formulario */
.form-selos { display: grid; gap: var(--sp-5); }
.form-selo {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line-light);
}
.form-selo svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--gold-600);
}
.form-selo strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 2px;
}
.form-selo span {
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--ink-500);
}

.form-card {
  position: relative;
  padding: clamp(30px, 3.6vw, 48px);
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
/* faixa dourada no topo do cartao */
.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold-600), var(--gold-300), var(--gold-600));
}
.form-card-head { margin-bottom: var(--sp-8); }
.form-card-head h3 {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--ink-900);
  margin: 0 0 var(--sp-2);
}
.form-card-head p {
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--ink-500);
  margin: 0;
}

.lead-form { display: grid; gap: var(--sp-5); }
.form-field { display: grid; gap: var(--sp-2); }
.form-field label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 0;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink-900);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-light);
  border-radius: 0;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 84px; }
.form-field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A8AEB5' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; background-size: 16px; }
.form-field select:has(option[value=""]:checked) { color: #A8AEB5; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #A8AEB5; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-bottom-color: var(--gold-500);
  box-shadow: 0 1px 0 0 var(--gold-500), 0 12px 24px -18px rgba(184, 146, 90, 0.55);
}
.form-field label { transition: color 0.3s var(--ease); }
.form-field:focus-within label { color: var(--gold-600); }
.lead-form .btn { width: 100%; margin-top: var(--sp-3); }
.form-seguranca {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
  font-size: 0.78rem;
  color: var(--ink-500);
}
.form-seguranca svg { width: 14px; height: 14px; flex: none; color: var(--gold-600); }

/* ===== CONTATO ===== */

.contato-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.contato-lista {
  display: grid;
  gap: 0;
  margin: var(--sp-8) 0 var(--sp-10);
  border-top: 1px solid var(--line-dark);
}
.contato-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: var(--sp-5);
  margin: 0;
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--line-dark);
  transition: padding-left 0.3s var(--ease);
}
.contato-item:hover { padding-left: var(--sp-3); }
.contato-item > svg {
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: 3px;
  color: var(--gold-300);
}
.contato-item div { display: grid; gap: 3px; }
.contato-item small {
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.contato-item span,
.contato-item a {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--on-dark-strong);
  transition: color 0.2s var(--ease);
}
.contato-item a:hover { color: var(--gold-300); }

/* horario de funcionamento */
.contato-horario {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
  font-size: 0.85rem;
  color: var(--on-dark-soft);
}
.contato-horario i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18);
  font-style: normal;
}

.contato-map {
  position: relative;
  border-radius: var(--r-media);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-lg);
}
.contato-map iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
  filter: grayscale(1) contrast(0.9) brightness(0.86);
  transition: filter 0.6s var(--ease);
}
.contato-map:hover iframe { filter: none; }
/* etiqueta flutuante sobre o mapa */
.map-pin {
  position: absolute;
  left: var(--sp-5);
  bottom: var(--sp-5);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 12px var(--sp-5);
  background: rgba(12, 29, 46, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-btn);
  pointer-events: none;
}
.map-pin svg { width: 17px; height: 17px; flex: none; color: var(--gold-300); }
.map-pin strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--on-dark-strong);
}
.map-pin span { font-size: 0.74rem; color: var(--on-dark-soft); }

/* ===== FAQ ===== */

.faq-list { border-top: 1px solid var(--line-light); }
.faq-list { counter-reset: faq; }
.faq-item {
  position: relative;
  border-bottom: 1px solid var(--line-light);
  counter-increment: faq;
  transition: padding-left 0.4s var(--ease);
}
.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: -1px;
  width: 2px;
  background: var(--gold-500);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.faq-item.open { padding-left: var(--sp-5); }
.faq-item.open::before { transform: scaleY(1); }
.faq-question {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-6);
  width: 100%;
  padding: var(--sp-6) 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.975rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.faq-question:hover { color: var(--navy-700); }
.faq-question:hover .faq-toggle::before,
.faq-question:hover .faq-toggle::after { background: var(--gold-500); }
.faq-item:not(.open) .faq-question:hover .faq-toggle { transform: rotate(90deg); }
.faq-toggle { position: relative; flex: none; width: 18px; height: 18px; margin-top: 4px; transition: transform 0.35s var(--ease); }
.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--gold-600);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.faq-toggle::before { width: 12px; height: 1.5px; }
.faq-toggle::after  { width: 1.5px; height: 12px; }
.faq-item.open .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-answer p {
  padding: 0 var(--sp-12) var(--sp-6) 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-500);
}

.faq-final { margin-top: var(--sp-12); text-align: center; }
.faq-final p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-900);
  margin-bottom: var(--sp-5);
}

/* ===== FOOTER ===== */

.site-footer {
  background: var(--navy-900);
  color: var(--on-dark-soft);
  padding-top: var(--sp-20);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: var(--sp-16);
}
.footer-mark {
  width: 180px;
  height: auto;
  margin-bottom: var(--sp-6);
}
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.62;
  color: var(--on-dark-soft);
  max-width: 34ch;
}
.footer-col h3 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin: 0 0 var(--sp-5);
}
.footer-col ul { display: grid; gap: var(--sp-3); }
.footer-col li,
.footer-col li a {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--on-dark-soft);
  transition: color 0.2s var(--ease);
}
.footer-col li a:hover { color: var(--on-dark-strong); }

.footer-social { display: flex; gap: var(--sp-3); margin-top: var(--sp-6); }
.footer-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--on-dark-soft);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease),
              transform 0.25s var(--ease);
}
.footer-social a:hover {
  border-color: var(--gold-500);
  color: var(--gold-300);
  transform: translateY(-2px);
}
.footer-social svg { width: 16px; height: 16px; }

.footer-cta { margin-top: var(--sp-6); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-4) var(--sp-8);
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--line-dark);
}
.footer-copy { font-size: 0.8rem; color: var(--on-dark-strong); margin: 0; }
.footer-credit {
  font-size: 0.78rem;
  color: var(--on-dark-soft);
  transition: color 0.2s var(--ease);
}
.footer-credit:hover { color: var(--gold-300); }

.footer-disclaimer {
  padding: 0 0 var(--sp-10);
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--on-dark-soft);
  opacity: 0.6;
  max-width: 92ch;
  margin: 0;
}

/* ===== WHATSAPP FLUTUANTE ===== */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.55);
  transform: scale(0);
  transition: transform 0.35s var(--ease), box-shadow 0.3s var(--ease);
}
.whatsapp-float.is-visible { transform: scale(1); }
.whatsapp-float:hover { box-shadow: 0 14px 38px -8px rgba(37, 211, 102, 0.7); }
.whatsapp-float svg { width: 26px; height: 26px; }

/* ===== REVEAL ===== */

.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.from-left  { transform: translateX(-26px); }
.js .reveal.from-right { transform: translateX(26px); }
.reveal.reveal-in,
.reveal.from-left.reveal-in,
.reveal.from-right.reveal-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

/* palavra a palavra no titulo do hero */
.hero-title .word { display: inline-block; }
.js .hero-title .word {
  opacity: 0;
  transform: translateY(0.5em);
  animation: wordUp 0.85s var(--ease) forwards;
  animation-delay: calc(var(--i) * 70ms + 120ms);
}
@keyframes wordUp {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .word { opacity: 1; transform: none; animation: none; }
  .read-progress { display: none; }
  .area-media.bleed-right, .area-media.bleed-left { margin-left: 0; margin-right: 0; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ===== RESPONSIVO ===== */

@media (max-width: 1080px) {
  .main-nav { gap: var(--sp-4); }
  .main-nav a { font-size: 0.8rem; }

  .area-media.bleed-right,
  .area-media.bleed-left { --bleed: clamp(0px, calc(50vw - 50% - var(--sp-6)), 48px); }

  .areas-grid { grid-template-columns: 1fr; }
  .areas-lado .section-head { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "titulo" "lead"; row-gap: var(--sp-5); }
  .areas-lista { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
  .areas-lista li:nth-child(4) { border-top: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }

  .hamburger { display: flex; }
  .header-cta { display: none; }
  .brand-mark { height: 38px; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-2) var(--sp-6) var(--sp-8);
    background: var(--bone-50);
    border-bottom: 1px solid var(--line-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .main-nav a,
  .site-header .main-nav a,
  .site-header.is-stuck .main-nav a {
    padding: 14px 0;
    font-size: 0.95rem;
    color: var(--ink-700);
    border-bottom: 1px solid var(--line-light);
  }
  .main-nav a::after { display: none; }

  .area-shell,
  .area:nth-of-type(even) .area-shell { grid-template-columns: 1fr; gap: var(--sp-8); }
  .step { grid-template-columns: 1fr; gap: var(--sp-2); }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area:nth-of-type(even) .area-body,
  .area:nth-of-type(even) .area-panel,
  .area:nth-of-type(even) .area-duo { order: 0; }


  .pratica-grid,
  .quem-grid,
  .form-grid,
  .contato-grid { grid-template-columns: 1fr; }

  .dif-grid { grid-template-columns: repeat(2, 1fr); }
  .step { grid-template-columns: 1fr; gap: var(--sp-2); }

  .area-media.bleed-right,
  .area-media.bleed-left { --bleed: 0px; margin-left: 0; margin-right: 0; }
  .area-media.bleed-left .case-caption,
  .area-media.bleed-right .case-caption { padding-left: var(--sp-5); padding-right: var(--sp-5); }
  .area-media.bleed-right .case,
  .area-media.bleed-left  .case { border-radius: var(--r-media); }

  .area-ghost { font-size: clamp(7rem, 26vw, 12rem); opacity: 0.6; }
  .area-grid.flip .area-text,
  .area-grid.flip .area-media { order: 0; }

  .quem-foto { max-width: 420px; }

  .arrow-left  { left: 4px; }
  .arrow-right { right: 4px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Galeria após Quem somos */
.clinic-gallery { padding: 0 0 clamp(48px, 6vw, 80px); }
.gallery-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.gallery-heading .eyebrow { margin: 0; }
.gallery-controls { display: flex; gap: 8px; flex-shrink: 0; }
.gallery-controls button {
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  background: transparent;
  color: var(--on-dark-strong);
  cursor: pointer;
  font-size: 0.85rem;
}
.gallery-controls button:hover { border-color: var(--gold-300); color: var(--gold-300); }
.gallery-controls button:focus-visible, .gallery-viewport:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 4px; }
.gallery-stage { position: relative; }
.gallery-viewport { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.gallery-viewport::-webkit-scrollbar { display: none; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gold-300); background: var(--navy-900); color: var(--gold-300); font-size: 24px; cursor: pointer; box-shadow: 0 4px 18px #0005; }
.gallery-arrow-prev { left: clamp(12px, 3vw, 48px); }
.gallery-arrow-next { right: clamp(12px, 3vw, 48px); }
.gallery-arrow:hover { background: var(--navy-700); }
.gallery-arrow:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.gallery-track { display: flex; gap: 20px; width: max-content; }
.gallery-slide { flex: 0 0 auto; width: clamp(240px, 26vw, 340px); aspect-ratio: 3 / 4; margin: 0; overflow: hidden; border-radius: var(--r-media); }
.gallery-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-slide-clinical { background: #100e0c; }
.gallery-slide-clinical img { object-fit: contain; }

@media (max-width: 720px) {
  :root { --sp-28: 76px; --sp-20: 60px; }

  .container { padding: 0 var(--sp-5); }

  .hero { min-height: auto; padding: calc(var(--header-h) + var(--sp-16)) 0 var(--sp-16); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-portrait { justify-self: center; margin-top: var(--sp-4); height: auto; aspect-ratio: 4 / 5; }
  .hero-portrait-inset { left: -2%; width: 43%; height: 44%; border-width: 4px; }
  .gallery-heading { align-items: flex-start; flex-direction: column; }
  .hero-topo { grid-template-columns: 1fr; gap: var(--sp-6); align-items: start; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-facts { gap: var(--sp-8); }
  .hero-fact { flex: 1 1 140px; }


  .area-row { grid-template-columns: 2.4em 1fr; grid-template-areas: "num nome" "num txt"; }
  .area-row::after { display: none; }

  .steps { gap: var(--sp-8); }

  .dif-grid { grid-template-columns: 1fr; }
  .steps { --steps-pad: clamp(48px, 13vw, 60px); }
  .contato-map iframe { height: 320px; }

  .card-depo { width: 276px; }

  .footer-grid { grid-template-columns: 1fr; padding-bottom: var(--sp-12); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--sp-3); padding-block: var(--sp-6); }

  .whatsapp-float { right: 16px; bottom: 16px; width: 48px; height: 48px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
}
