/* ==========================================================================
   Dra. Karen Heiden — HTML, CSS e JS puros
   Paleta tirada do Instagram dela: nude, porcelana, espresso e o dourado do relógio.
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; }
a { color: inherit; }
summary { font: inherit; color: inherit; }
address { font-style: normal; }

/* ---------- Tokens ---------- */
:root {
  --po: #F3E9E4;         /* fundo: nude rosado */
  --porcelana: #FBF7F4;  /* superfícies claras */
  --rose: #E6D3CD;       /* seção "sobre", do card de feedback dela */
  --espresso: #3B2A23;   /* texto e botões */
  --espresso-2: #56402F; /* hover */
  --cacau: #2A1D18;      /* fechamento */
  --taupe: #74594F;      /* texto secundário */
  --ouro: #A8834F;       /* fios e detalhes, com parcimônia */
  --linha: rgba(59, 42, 35, .16);
  --linha-clara: rgba(251, 247, 244, .14);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Mrs Saint Delafield", "Brush Script MT", cursive;

  --gutter: clamp(20px, 4.4vw, 72px);
  --max: 1320px;
  --section: clamp(88px, 12vw, 176px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Base ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--po);
  color: var(--espresso);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3 {
  font-family: var(--serif); font-weight: 400; font-optical-sizing: auto;
  line-height: 1.02; letter-spacing: -.02em; text-wrap: balance;
}
p { text-wrap: pretty; }
::selection { background: var(--espresso); color: var(--porcelana); }
:focus-visible { outline: 2px solid var(--espresso); outline-offset: 4px; border-radius: 2px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--espresso); color: var(--porcelana);
  padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Textura de papel: tira o aspecto "chapado" das cores */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: .08; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Linhas do SplitText */
.line-mask { overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- Botão ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 58px; padding: 0 34px;
  background: var(--espresso); color: var(--porcelana);
  border-radius: 999px;
  font-family: var(--sans); font-weight: 500; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--espresso-2); border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover::before { transform: none; }
.btn:active { scale: .98; }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-light { background: var(--porcelana); color: var(--espresso); }
.btn-light::before { background: #fff; }

/* ---------- Navegação ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  transition: transform .5s var(--ease-out), background-color .4s ease, box-shadow .4s ease;
}
.nav.is-scrolled {
  background: rgba(243, 233, 228, .8);
  -webkit-backdrop-filter: saturate(1.2) blur(16px); backdrop-filter: saturate(1.2) blur(16px);
  box-shadow: 0 1px 0 var(--linha);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.wordmark { font-family: var(--serif); font-size: 1.28rem; letter-spacing: -.01em; text-decoration: none; }
.nav-links { display: none; gap: 36px; font-size: .95rem; }
.nav-links a { text-decoration: none; position: relative; padding: 6px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border: 1px solid var(--espresso); border-radius: 999px;
  font-size: .92rem; font-weight: 500; text-decoration: none;
  transition: background-color .3s ease, color .3s ease;
}
.nav-cta:hover { background: var(--espresso); color: var(--porcelana); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 100px; padding-bottom: clamp(64px, 8vw, 120px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-kicker { color: var(--taupe); font-size: .98rem; display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.kicker-avatar { flex: none; width: 44px; height: 44px; object-fit: contain; }

.hero-title {
  position: relative; z-index: 2;
  font-size: clamp(2.8rem, 11vw, 8.6rem); line-height: .96; letter-spacing: -.022em;
  max-width: 11ch;
}
.hero-body { margin-top: 28px; order: 3; }
.hero-portrait { order: 4; }
.creds { order: 5; }
.hero-lead { font-size: clamp(1.08rem, 1.3vw, 1.22rem); max-width: 31em; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.btn-note { font-size: .92rem; color: var(--taupe); max-width: 21em; }

.hero-portrait { position: relative; margin: 52px 0 0; }
.hero-frame { position: relative; overflow: hidden; border-radius: 2px; aspect-ratio: 4 / 4.5; background: #D7D5D3; }
.hero-frame picture, .hero-frame img { width: 100%; height: 100%; }
.hero-frame img { object-fit: cover; object-position: 50% 20%; transform-origin: 50% 40%; }

.signature {
  position: absolute; left: -4px; bottom: -.42em; z-index: 3;
  font-family: var(--script); font-size: clamp(3.4rem, 6.4vw, 6.2rem); line-height: 1;
  color: var(--espresso); transform: rotate(-6deg); white-space: nowrap; pointer-events: none;
}
.js .signature { clip-path: inset(0 100% 0 0); }
.js.is-loaded .signature { clip-path: inset(-20% -5% -20% 0); transition: clip-path 1.8s var(--ease-io) .2s; }

.creds { margin-top: 60px; display: flex; flex-wrap: wrap; gap: 10px 32px; font-size: .92rem; color: var(--taupe); }
.creds li { padding-left: 14px; position: relative; }
.creds li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--ouro); }

/* Estados iniciais só quando a animação vai rodar */
.motion .hero-title, .motion [data-hero-fade], .motion .hero-frame { visibility: hidden; }

/* ---------- Faixa ---------- */
.ribbon { border-block: 1px solid var(--linha); padding: 22px 0; overflow: hidden; white-space: nowrap; }
.ribbon-track {
  display: inline-flex; align-items: center; gap: 36px; padding-right: 36px;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.9rem); letter-spacing: -.01em;
  animation: faixa 46s linear infinite;
}
.ribbon-track i { width: 7px; height: 7px; background: var(--ouro); transform: rotate(45deg); flex: none; }
@keyframes faixa { to { transform: translateX(-50%); } }

/* ---------- Intro ---------- */
.intro { padding-block: var(--section) calc(var(--section) * .6); }
.intro-grid { display: grid; gap: 36px; }
.intro h2 { font-size: clamp(2.1rem, 4.6vw, 4.2rem); max-width: 17ch; }
.intro-text { display: grid; gap: 18px; max-width: 34em; }
.intro-text p:first-child { color: var(--taupe); }

/* ---------- Processo ---------- */
.process { padding-block: calc(var(--section) * .5) var(--section); }
.process-title { font-size: clamp(2.3rem, 5.4vw, 5rem); max-width: 12ch; }
.process-grid { margin-top: 56px; display: grid; }
.stage { display: none; }

.step { padding-block: 34px; border-top: 1px solid var(--linha); }
.step-media { width: 100%; aspect-ratio: 720 / 880; max-height: 72vh; object-fit: cover; border-radius: 2px; background: #D9CFC9; margin-bottom: 26px; }
.step-n { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ouro); }
.step h3 { margin-top: 6px; font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.1; }
.step p:not(.step-n) { margin-top: 12px; color: var(--taupe); max-width: 30em; }

.process-end {
  margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--linha);
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.7rem); line-height: 1.15; letter-spacing: -.02em; max-width: 22ch;
  text-wrap: balance;
}

/* ---------- Dúvidas ---------- */
.faq { padding-block: var(--section); background: var(--porcelana); }
.faq-grid { display: grid; gap: 48px; }
.faq-head h2 { font-size: clamp(2.3rem, 5vw, 4.6rem); max-width: 11ch; }
.faq-media { display: none; margin-top: 44px; overflow: hidden; border-radius: 2px; max-width: 360px; aspect-ratio: 720 / 880; background: #D9CFC9; }
.faq-media video { width: 100%; height: 100%; object-fit: cover; }

.faq-list { border-top: 1px solid var(--linha); }
.faq-list details { border-bottom: 1px solid var(--linha); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.25; letter-spacing: -.01em;
  transition: color .3s ease;
}
.faq-list summary:hover { color: var(--espresso-2); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  transition: transform .5s var(--ease-out);
}
.faq-list details[open] summary::after { transform: rotate(135deg); }
.faq-a p { padding-bottom: 30px; color: var(--taupe); max-width: 36em; }
.faq-list details[open] .faq-a { animation: abre .6s var(--ease-out); }
@keyframes abre { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Sobre ---------- */
.about { padding-block: var(--section); background: var(--rose); }
.purpose p {
  font-family: var(--serif); font-size: clamp(1.9rem, 4.4vw, 4.3rem); line-height: 1.1; letter-spacing: -.025em;
  max-width: 22ch; text-wrap: balance;
}
.about-grid { margin-top: clamp(64px, 9vw, 128px); display: grid; gap: 44px; align-items: end; }
.about-photo { margin: 0; }
.about-frame { overflow: hidden; border-radius: 2px; aspect-ratio: 3 / 4; max-width: 520px; background: #CDBDB6; }
.about-frame picture, .about-frame img { width: 100%; height: 100%; }
.about-frame img { object-fit: cover; object-position: 50% 30%; }
.about-copy h2 { font-size: clamp(2.3rem, 4.4vw, 3.8rem); }
.about-copy p { margin-top: 20px; max-width: 32em; }
.about-copy .about-aside { color: var(--taupe); }

/* ---------- Frases ---------- */
.voices { padding-block: var(--section); }
.voices-title { font-family: var(--sans); font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--taupe); }
.voices-wall {
  margin-top: 30px;
  font-family: var(--serif); font-size: clamp(2rem, 5.4vw, 5rem); line-height: 1.1; letter-spacing: -.03em;
}
.voices-wall li { display: inline; }
.voices-wall li::before { content: "“"; }
.voices-wall li::after { content: "”"; margin-right: .3em; }
.review {
  margin-top: 64px; padding-top: 30px; border-top: 1px solid var(--linha);
  display: grid; gap: 10px; max-width: 40em;
}
.review blockquote p { font-size: 1.14rem; }
.review figcaption { font-size: .9rem; color: var(--taupe); }

/* ---------- Outros cuidados ---------- */
.care { padding-block: 0 var(--section); }
.care-grid { display: grid; gap: 40px; padding-top: calc(var(--section) * .6); border-top: 1px solid var(--linha); }
.care-head h2 { font-size: clamp(2.3rem, 5vw, 4.6rem); }
.care-head p { margin-top: 16px; color: var(--taupe); max-width: 24em; }
.care-list > div {
  position: relative; display: grid; gap: 8px; padding-block: 26px;
  border-bottom: 1px solid var(--linha);
}
.care-list > div:first-child { padding-top: 0; }
.care-list > div::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--espresso);
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out);
}
.care-list > div:hover::after { transform: scaleX(1); }
.care-list dt { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; letter-spacing: -.015em; transition: transform .6s var(--ease-out); }
.care-list > div:hover dt { transform: translateX(10px); }
.care-list dd { color: var(--taupe); max-width: 34em; }

/* ---------- Fechamento ---------- */
.closing { background: var(--cacau); color: var(--porcelana); padding-block: var(--section) calc(var(--section) * .7); }
.closing-grid { display: grid; gap: 64px; }
.closing h2 { font-size: clamp(2.8rem, 7.4vw, 7rem); line-height: .98; letter-spacing: -.022em; max-width: 11ch; }
.closing-main p { margin-top: 26px; max-width: 28em; color: #E9DDD6; font-size: 1.14rem; }
.closing .btn { margin-top: 36px; }
.visit { display: grid; gap: 12px; align-content: start; color: #D9CBC3; font-size: .98rem; }
.visit-name { font-family: var(--serif); font-size: 1.5rem; color: var(--porcelana); }
.visit a { color: var(--porcelana); text-decoration: underline; text-decoration-color: var(--ouro); text-underline-offset: 5px; transition: text-decoration-color .3s ease; }
.visit a:hover { text-decoration-color: currentColor; }
.closing :focus-visible, .foot :focus-visible { outline-color: var(--porcelana); }

/* ---------- Rodapé ---------- */
.foot { background: var(--cacau); color: #B9A79D; overflow: hidden; }
.foot-mark {
  font-family: var(--serif); font-size: 17vw; line-height: .82; letter-spacing: -.045em;
  color: #4A362D; text-align: center; white-space: nowrap;
  user-select: none;
}
.foot-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-block: 28px 32px; border-top: 1px solid var(--linha-clara); font-size: .84rem;
}

/* ---------- Barra fixa no celular ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--po) 62%, rgba(243, 233, 228, 0));
  transform: translateY(110%); transition: transform .5s var(--ease-out);
}
.dock .btn { width: 100%; }
.dock.is-visible { transform: none; }

/* ---------- Tablet ---------- */
@media (min-width: 700px) {
  .hero-portrait { max-width: 560px; }
  .intro-grid { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: end; }
  .care-list > div { grid-template-columns: minmax(12rem, 16rem) 1fr; gap: 28px; align-items: baseline; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1000px) {
  .nav-inner { min-height: 88px; }
  .nav-links { display: flex; }
  .kicker-avatar { display: none; }

  .hero { min-height: 100svh; padding-top: 128px; display: flex; align-items: center; }
  .hero-grid {
    width: 100%;
    grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
    grid-template-rows: auto auto 1fr auto;
  }
  .hero-kicker { grid-column: 1 / 8; grid-row: 1; }
  .hero-title { grid-column: 1 / 8; grid-row: 2; font-size: clamp(3.9rem, 5.9vw, 7.2rem); max-width: none; }
  .hero-body { grid-column: 1 / 7; grid-row: 3; margin-top: 36px; }
  .creds { grid-column: 1 / 8; grid-row: 4; margin-top: 48px; }
  .hero-portrait { grid-column: 8 / 13; grid-row: 1 / 5; margin: 0; max-width: none; align-self: stretch; }
  .hero-frame { aspect-ratio: auto; height: 100%; min-height: 560px; max-height: 80svh; }
  .signature { left: -16%; bottom: -.34em; }

  .process-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(56px, 7vw, 120px); }
  .stage { display: block; position: sticky; top: 12vh; height: 76vh; align-self: start; }
  .stage-frame { position: relative; height: calc(100% - 28px); max-width: 520px; overflow: hidden; border-radius: 2px; background: #D9CFC9; }
  .stage-media {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease-io);
  }
  .stage-media.is-active { clip-path: inset(0 0 0 0); z-index: 2; }
  .stage-media.was-active { clip-path: inset(0 0 0 0); z-index: 1; transition-delay: 0s; }
  .stage-progress { display: flex; gap: 8px; margin-top: 16px; max-width: 520px; }
  .stage-progress i { flex: 1; height: 2px; background: var(--linha); position: relative; overflow: hidden; }
  .stage-progress i::after { content: ""; position: absolute; inset: 0; background: var(--espresso); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out); }
  .stage-progress i.is-done::after { transform: scaleX(1); }

  .step-media { display: none; }
  .step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; padding-block: 48px; }
  .js .step { opacity: .32; transition: opacity .7s var(--ease-out); }
  .js .step.is-active { opacity: 1; }

  .faq-grid { grid-template-columns: .9fr 1.1fr; gap: clamp(56px, 7vw, 128px); align-items: start; }
  .faq-head { position: sticky; top: 14vh; }
  .faq-media { display: block; }

  .about-grid { grid-template-columns: .9fr 1.1fr; gap: clamp(56px, 8vw, 140px); }
  .care-grid { grid-template-columns: .75fr 1.25fr; gap: 72px; }
  .care-head { position: sticky; top: 16vh; align-self: start; }

  .closing-grid { grid-template-columns: 1.35fr .65fr; align-items: end; }
  .dock { display: none; }
}

@media (max-width: 999px) {
  .foot-inner { padding-bottom: 104px; }
  .nav-cta { min-height: 44px; padding: 0 16px; font-size: .88rem; }
}
@media (max-width: 420px) {
  .wordmark { font-size: 1.12rem; }
}

@media (hover: none) {
  .care-list > div:hover dt { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .signature { clip-path: none; }
}

/* ==========================================================================
   Página /botox — seções próprias (o resto é compartilhado com a home)
   ========================================================================== */
.hero-frame video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform-origin: 50% 40%; }
.inline-link { color: var(--espresso); text-decoration: underline; text-decoration-color: var(--ouro); text-underline-offset: 4px; white-space: nowrap; }
.inline-link:hover { text-decoration-color: currentColor; }

/* Mitos: a frase errada é riscada ao entrar na tela */
.myths { padding-block: var(--section) calc(var(--section) * .6); }
.myths-title { font-size: clamp(2.2rem, 5vw, 4.6rem); max-width: 16ch; }
.myth-list { margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--linha); }
.myth-row { display: grid; gap: 14px; padding-block: 34px; border-bottom: 1px solid var(--linha); }
.myth { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 3.2rem); line-height: 1.1; letter-spacing: -.02em; color: var(--taupe); }
.myth span {
  background: linear-gradient(var(--ouro), var(--ouro)) no-repeat 0 58% / 0% 2px;
  transition: background-size 1.1s var(--ease-io), color .8s ease;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.myth.is-struck span { background-size: 100% 2px; color: rgba(116, 89, 79, .7); }
.truth { max-width: 34em; }

/* Prevenção */
.prevent { padding-block: calc(var(--section) * .4) var(--section); }
.prevent-grid { display: grid; gap: 48px; align-items: center; }
.media-frame { overflow: hidden; border-radius: 2px; aspect-ratio: 3 / 4; background: #D9CFC9; max-width: 520px; }
.media-frame video { width: 100%; height: 100%; object-fit: cover; }
.prevent-copy h2 { font-size: clamp(2.3rem, 5vw, 4.4rem); max-width: 12ch; }
.prevent-copy p { margin-top: 22px; max-width: 32em; }
.prevent-copy p:last-child { color: var(--taupe); }
.page-infantil .hero-frame img { object-position: 42% 55%; }

/* Linha do tempo: sequência real, então leva marcação de tempo */
.timeline { padding-block: var(--section); background: var(--porcelana); }
.timeline-title { font-size: clamp(2.3rem, 5vw, 4.6rem); max-width: 13ch; }
.time-list { margin-top: clamp(48px, 7vw, 96px); display: grid; gap: 0; }
.time-list li { position: relative; padding: 30px 0 30px 28px; border-left: 1px solid var(--linha); }
.time-list li::before {
  content: ""; position: absolute; left: -5px; top: 42px; width: 9px; height: 9px;
  background: var(--ouro); transform: rotate(45deg);
}
.time-mark { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1; color: var(--ouro); }
.time-list h3 { margin-top: 14px; font-size: clamp(1.45rem, 2vw, 1.8rem); line-height: 1.15; }
.time-list p:not(.time-mark) { margin-top: 10px; color: var(--taupe); max-width: 30em; }

/* Dicas de durabilidade */
.tips { padding-block: var(--section); }
.tips-grid { display: grid; gap: 44px; }
.tips-head h2 { font-size: clamp(2.3rem, 5vw, 4.4rem); max-width: 11ch; }
.tips-head p { margin-top: 16px; color: var(--taupe); max-width: 24em; }
.tips-media { display: none; margin-top: 40px; max-width: 340px; }

/* Depoimento em destaque */
.testimonial { padding-block: var(--section); background: var(--rose); }
.testimonial-fig { display: grid; gap: 26px; }
.testimonial blockquote p {
  font-family: var(--serif); font-size: clamp(2rem, 5vw, 4.6rem); line-height: 1.1; letter-spacing: -.025em; max-width: 20ch;
}
.testimonial figcaption { color: var(--taupe); }

.page-botox .faq-head h2 { max-width: 13ch; }

@media (min-width: 1000px) {
  .myth-row { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: baseline; padding-block: 44px; }
  .prevent-grid { grid-template-columns: .85fr 1.15fr; gap: clamp(56px, 8vw, 140px); }
  .time-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .time-list li { padding: 34px 0 0; border-left: 0; border-top: 1px solid var(--linha); }
  .time-list li::before { left: 0; top: -5px; }
  .tips-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; }
  .tips-head { position: sticky; top: 14vh; align-self: start; }
  .tips-media { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .myth span { background-size: 100% 2px; }
}

/* ==========================================================================
   Página /ortodontia-infantil — seções próprias
   ========================================================================== */
.signs { padding-block: var(--section) calc(var(--section) * .7); }
.signs-head h2 { font-size: clamp(2.2rem, 5vw, 4.6rem); max-width: 15ch; }
.signs-head p { margin-top: 20px; color: var(--taupe); max-width: 30em; }
.sign-list { margin-top: clamp(40px, 6vw, 80px); display: grid; border-top: 1px solid var(--linha); }
.sign-list li {
  position: relative; padding: 22px 0 22px 34px; border-bottom: 1px solid var(--linha);
  font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.25; letter-spacing: -.01em;
}
.sign-list li::before {
  content: ""; position: absolute; left: 2px; top: 1.05em; width: 9px; height: 9px;
  border: 1.5px solid var(--ouro); transform: rotate(45deg);
}
.signs-note { margin-top: 32px; font-size: 1.1rem; max-width: 34em; }

.statement { padding-block: var(--section); background: var(--espresso); color: var(--porcelana); }
.statement-text { font-family: var(--serif); font-size: clamp(2.2rem, 5.6vw, 5.4rem); line-height: 1.06; letter-spacing: -.025em; max-width: 18ch; text-wrap: balance; }

.media-photo { aspect-ratio: 6 / 5; }
.media-photo picture, .media-photo img { width: 100%; height: 100%; }
.media-photo img { object-fit: cover; }

.fear-grid { display: grid; gap: 32px; }
.fear-title { font-size: clamp(2.2rem, 5vw, 4.6rem); max-width: 16ch; }
.fear-copy { display: grid; gap: 16px; max-width: 32em; font-size: 1.1rem; }
.fear-copy p:last-child { color: var(--taupe); }
.page-infantil .faq-head h2 { max-width: 12ch; }

@media (min-width: 1000px) {
  .sign-list { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .time-list-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fear-grid { grid-template-columns: 1.2fr .8fr; gap: 72px; align-items: end; }
}

/* ==========================================================================
   / e /ortodontia-infantil — marca da Clínica Heiden
   (Cormorant Garamond + Jost)
   ========================================================================== */
:is(.page-infantil, .page-home) {
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.08rem;
}
:is(.page-infantil, .page-home) h1, :is(.page-infantil, .page-home) h2, :is(.page-infantil, .page-home) h3,
:is(.page-infantil, .page-home) .statement-text, :is(.page-infantil, .page-home) .sign-list li, :is(.page-infantil, .page-home) .faq-list summary,
:is(.page-infantil, .page-home) .care-list dt, :is(.page-infantil, .page-home) .time-mark, :is(.page-infantil, .page-home) .ribbon-track, :is(.page-infantil, .page-home) .visit-name {
  font-weight: 500; letter-spacing: -.005em;
}
:is(.page-infantil, .page-home) .hero-title { font-size: clamp(3rem, 11.6vw, 9rem); line-height: .98; letter-spacing: -.012em; }
:is(.page-infantil, .page-home) .creds, :is(.page-infantil, .page-home) .btn-note { font-size: .95rem; }
.wordmark-clinic {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-weight: 500; font-size: 1rem;
  text-transform: uppercase; letter-spacing: .28em;
}
.wordmark-clinic img { width: 30px; height: 30px; }
:is(.page-infantil, .page-home) .foot-mark { font-size: 14.5vw; letter-spacing: -.02em; }
.foot-mark-clinic { font-size: 13vw; letter-spacing: -.03em; }
@media (min-width: 1000px) {
  :is(.page-infantil, .page-home) .hero-title { font-size: clamp(4.4rem, 6.6vw, 8rem); }
}
.wordmark-clinic, .wordmark-clinic ~ .nav-cta { white-space: nowrap; }
@media (max-width: 999px) {
  :is(.page-infantil, .page-home) .hero-title { font-size: clamp(2.8rem, 10.6vw, 5.4rem); max-width: 13ch; }
}
@media (max-width: 400px) {
  :is(.page-infantil, .page-home) .hero-actions .btn { padding: 0 22px; font-size: .95rem; }
}
@media (max-width: 440px) {
  .wordmark-clinic { font-size: .74rem; letter-spacing: .16em; gap: 8px; }
  .wordmark-clinic img { width: 24px; height: 24px; }
  .wordmark-clinic ~ .nav-cta { padding: 0 14px; font-size: .84rem; }
  /* Newsreader (invisalign e botox) é mais larga que a Cormorant */
  body:not(:is(.page-infantil, .page-home)) .wordmark-clinic { letter-spacing: .08em; }
  .wordmark-clinic { flex: none; }
  .nav-inner:has(.wordmark-clinic) { gap: 12px; }
}

/* ==========================================================================
   / e /ortodontia-infantil — cartões, CTAs ao longo da página e fotos
   Só CSS e SVG inline: nenhuma fonte, biblioteca ou imagem pesada a mais.
   ========================================================================== */
:is(.page-infantil, .page-home) { --card-radius: 18px; --card-shadow: 0 1px 2px rgba(59, 42, 35, .05), 0 12px 32px -18px rgba(59, 42, 35, .28); }
:is(.page-infantil, .page-home) .btn svg { width: 20px; height: 20px; }
.btn-ghost { background: transparent; color: var(--espresso); box-shadow: inset 0 0 0 1px var(--espresso); }
.btn-ghost::before { background: var(--espresso); }
.btn-ghost:hover { color: var(--porcelana); }
.btn-ghost span, .btn-ghost svg { transition: color .3s ease; }

/* Hero: selo sobre a foto */
:is(.page-infantil, .page-home) .hero-portrait { position: relative; }
:is(.page-infantil, .page-home) .hero-frame { border-radius: var(--card-radius); }
.hero-badge {
  position: absolute; left: 16px; bottom: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px; max-width: calc(100% - 32px);
  padding: 12px 18px; border-radius: 999px;
  background: rgba(251, 247, 244, .92); box-shadow: var(--card-shadow);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: .9rem; line-height: 1.3; color: var(--espresso);
}
.hero-badge-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #5DAA7E; box-shadow: 0 0 0 4px rgba(93, 170, 126, .18); }

/* Sinais em cartões numerados */
.sign-cards { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: 14px; counter-reset: none; }
.sign-cards li {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 24px 26px; border-radius: var(--card-radius);
  background: var(--porcelana); box-shadow: var(--card-shadow);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.sign-cards li:hover { transform: translateY(-3px); }
.card-n { flex: none; font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1.05; color: var(--ouro); min-width: 1.6em; }
.sign-cards p { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.25; }
.signs-foot { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 32px; align-items: center; }
.signs-foot .signs-note { margin-top: 0; }
.cta-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.cta-center { margin-top: clamp(44px, 5vw, 64px); display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.cta-center .btn-note { max-width: 26em; }

/* Como ajudamos */
.help { padding-block: var(--section); }
.help-top { display: grid; gap: 36px; align-items: center; }
.help-photo { aspect-ratio: 720 / 655; max-width: none; border-radius: var(--card-radius); }
.help-photo picture, .help-photo img { width: 100%; height: 100%; }
.help-photo img { object-fit: cover; object-position: 50% 45%; }
.help-intro h2 { font-size: clamp(2.3rem, 5vw, 4.4rem); max-width: 14ch; }
.help-intro p { margin-top: 20px; color: var(--taupe); max-width: 30em; font-size: 1.1rem; }
.help-cards { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 14px; }
.help-cards li {
  padding: 30px 28px 32px; border-radius: var(--card-radius);
  background: var(--porcelana); box-shadow: var(--card-shadow);
  transition: transform .5s var(--ease-out);
}
.help-cards li:hover { transform: translateY(-4px); }
.help-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--rose); color: var(--espresso); }
.help-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.help-cards h3 { margin-top: 22px; font-size: clamp(1.5rem, 2vw, 1.85rem); line-height: 1.12; }
.help-cards p { margin-top: 10px; color: var(--taupe); }

/* Atendimento: passos em cartões */
:is(.page-infantil, .page-home) .timeline-title { max-width: 22ch; }
.step-cards { gap: 14px; }
:is(.page-infantil, .page-home) .step-cards li {
  padding: 30px 28px 32px; border: 0; border-radius: var(--card-radius);
  background: var(--po); transition: transform .5s var(--ease-out);
}
:is(.page-infantil, .page-home) .step-cards li::before { display: none; }
:is(.page-infantil, .page-home) .step-cards li:hover { transform: translateY(-4px); }


/* Dúvidas: CTA ao fim da lista */
.faq-cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 24px 26px; border-radius: var(--card-radius); background: var(--po); }
.faq-cta p { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.2; }

:is(.page-infantil, .page-home) .about-frame { border-radius: var(--card-radius); }
.page-infantil .about-grid { margin-top: 0; }

@media (min-width: 700px) {
  .sign-cards { grid-template-columns: 1fr 1fr; }
  .help-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .hero-badge { left: -28px; bottom: 36px; }
  .signs-foot { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .cta-inline { justify-content: flex-end; }
  .cta-inline .btn-note { text-align: right; }
  .help-top { grid-template-columns: 1.1fr .9fr; gap: clamp(56px, 7vw, 120px); }
}
@media (max-width: 440px) {
  .sign-cards li, .help-cards li, :is(.page-infantil, .page-home) .step-cards li { padding: 22px 20px 24px; }
  .hero-badge { font-size: .82rem; padding: 10px 14px; left: 12px; bottom: 12px; }
  .cta-inline .btn, .cta-center .btn, .faq-cta .btn { width: 100%; }
}
@media (hover: none) {
  .sign-cards li:hover, .help-cards li:hover, :is(.page-infantil, .page-home) .step-cards li:hover { transform: none; }
}

/* Sobre: vídeo da apresentação com saída para o Instagram */
.about-video { position: relative; aspect-ratio: 540 / 676; }
.about-video video { width: 100%; height: 100%; object-fit: cover; }
.about-video::after {
  content: ""; position: absolute; inset: 45% 0 0; pointer-events: none;
  background: linear-gradient(to top, rgba(42, 29, 24, .72), rgba(42, 29, 24, 0));
}
.reel-cta {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  color: var(--porcelana); text-decoration: none;
}
.reel-play {
  flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: rgba(251, 247, 244, .94); color: var(--espresso);
  transition: transform .5s var(--ease-out);
}
.reel-play svg { width: 22px; height: 22px; fill: currentColor; margin-left: 3px; }
.reel-cta:hover .reel-play { transform: scale(1.08); }
.reel-text { display: grid; line-height: 1.25; }
.reel-text strong { font-weight: 500; font-size: 1.05rem; }
.reel-text small { font-size: .88rem; opacity: .85; }
.reel-cta:focus-visible { outline-color: var(--porcelana); outline-offset: 6px; }

/* ==========================================================================
   Página inicial — apresentação da clínica e vitrine dos tratamentos
   ========================================================================== */
.page-home .hero-frame img { object-position: 50% 16%; }
.page-home .media-frame { border-radius: var(--card-radius); }

/* Tratamentos com página própria */
.services { padding-block: calc(var(--section) * .5) var(--section); }
.services-head { display: grid; gap: 20px; }
.services-head h2 { font-size: clamp(2.3rem, 5vw, 4.6rem); max-width: 13ch; }
.services-head p { color: var(--taupe); max-width: 30em; font-size: 1.1rem; }
.service-cards { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: 18px; }
.service-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--card-radius); background: var(--porcelana); box-shadow: var(--card-shadow);
  transition: transform .5s var(--ease-out);
}
.service-card:hover { transform: translateY(-4px); }
.service-media { aspect-ratio: 4 / 3.3; overflow: hidden; background: #D9CFC9; }
.service-media picture, .service-media img { width: 100%; height: 100%; }
.service-media img { object-fit: cover; transition: transform 1.2s var(--ease-out); }
.service-card:hover .service-media img { transform: scale(1.04); }
.service-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 30px; }
.service-tag { font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ouro); }
.service-body h3 { font-size: clamp(1.9rem, 2.6vw, 2.5rem); line-height: 1.05; }
.service-body > p:not(.service-tag) { color: var(--taupe); }
.service-points { display: grid; gap: 6px; margin-top: 4px; font-size: .98rem; }
.service-points li { position: relative; padding-left: 18px; }
.service-points li::before { content: ""; position: absolute; left: 1px; top: .62em; width: 6px; height: 6px; background: var(--ouro); transform: rotate(45deg); }
.service-link {
  margin-top: auto; padding-top: 16px; align-self: flex-start;
  font-weight: 500; text-decoration: underline; text-decoration-color: var(--ouro); text-underline-offset: 5px;
}
/* O cartão inteiro é clicável */
.service-link::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.service-link svg { display: inline-block; vertical-align: -3px; margin-left: 8px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease-out); }
.service-card:hover .service-link svg { transform: translateX(5px); }
.service-card:has(.service-link:focus-visible) { outline: 2px solid var(--espresso); outline-offset: 4px; }
.service-link:focus-visible { outline: none; }

/* Tecnologia */
.page-home .prevent { padding-block: var(--section); }
.tech-list { margin-top: 28px; display: grid; gap: 0; border-top: 1px solid var(--linha); max-width: 34em; }
.tech-list li { padding: 18px 0; border-bottom: 1px solid var(--linha); }
.tech-list strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1.2; }
.tech-list span { color: var(--taupe); }

@media (min-width: 700px) and (max-width: 999px) {
  .service-card { flex-direction: row; }
  .service-media { flex: 0 0 42%; aspect-ratio: auto; min-height: 340px; }
}
@media (min-width: 1000px) {
  .services-head { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: end; }
  .service-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 440px) {
  .service-body { padding: 22px 20px 24px; }
}
@media (hover: none) {
  .service-card:hover, .service-card:hover .service-media img { transform: none; }
}

/* Equipe, logo abaixo da Karen */
.page-home .about-copy .service-tag { margin: 0 0 12px; }
.team { margin-top: clamp(72px, 9vw, 128px); }
.team-head { display: grid; gap: 18px; }
.team-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.8rem); max-width: 16ch; }
.team-head p { color: var(--taupe); max-width: 32em; font-size: 1.1rem; }
.page-home .help-icon { background: var(--po); }
@media (min-width: 1000px) {
  .team-head { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: end; }
}
