/* Dra. Renata Neves · Protesista · Prótese e Reabilitação Oral
   Identidade visual oficial (manual da marca): cores, fontes e logotipo. */

@font-face { font-family: "Marisa"; src: url("../fonts/marisa.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nordeco"; src: url("../fonts/nordeco.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  /* Cores do manual da marca: oliva #696849, rosado #EDE4DF, terracota #8F4930, areia #CCB89D */
  --ivory: #F8F4F1;
  --paper: #FCFAF8;
  --sand: #EDE4DF;
  --line: #E0D4CB;
  --olive: #696849;
  --olive-deep: #45442F;
  --olive-ink: #3A3928;
  --terracotta: #8F4930;
  --terracotta-deep: #74381F;
  --caramel: #CCB89D;
  --ink: #2B2A26;
  --ink-soft: #5C5850;
  --cream: #F4EEE9;
  --cream-soft: #D9D0C6;

  /* Fontes do manual da marca: Marisa (títulos, sempre em maiúsculas) e Nordeco (texto) */
  --font-display: "Marisa", "Nordeco", system-ui, sans-serif;
  --font-accent: "Nordeco", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Nordeco", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(20px, 4vw, 48px);
  --maxw: 1200px;
  --header-h: 80px;
  --arch: 4px; /* moldura retangular */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .15vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--olive); color: var(--cream); }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible, .site-footer :focus-visible { outline-color: var(--caramel); }

.container { width: min(100% - (var(--gutter) * 2), var(--maxw)); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--olive); color: var(--cream); padding: 12px 18px; border-radius: 4px;
  text-decoration: none; font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* Textura de papel, bem sutil, sobre a página inteira */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' 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");
}

/* Camada de ambiente: duas manchas de cor que derivam devagar */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient__blob {
  position: absolute; width: 62vmax; height: 62vmax; border-radius: 50%;
  filter: blur(20px); opacity: .9;
}
.ambient__blob--a { top: -26vmax; right: -18vmax; background: radial-gradient(circle, rgba(105, 104, 74, .13), transparent 62%); animation: drift-a 38s ease-in-out infinite alternate; }
.ambient__blob--b { bottom: -30vmax; left: -22vmax; background: radial-gradient(circle, rgba(201, 144, 87, .15), transparent 60%); animation: drift-b 46s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(-8vmax, 10vmax) scale(1.08); } }
@keyframes drift-b { to { transform: translate(10vmax, -8vmax) scale(1.1); } }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--olive);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--caramel); }
.eyebrow--light { color: var(--cream-soft); }

.section-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.2rem, 1.35rem + 2.9vw, 3.75rem);
  line-height: 1.06; letter-spacing: -.005em; margin: .45em 0 .4em;
  text-wrap: balance;
}
.section-lead { font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); color: var(--ink-soft); max-width: 60ch; }
.section--dark .section-lead { color: var(--cream-soft); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .95rem; color: var(--olive); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px; transition: background-size .4s var(--ease-out);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow span { transition: transform .4s var(--ease-out); }
.link-arrow:hover span { transform: translateY(2px); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 30px; border-radius: 4px; border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem; line-height: 1; letter-spacing: .01em;
  text-decoration: none; transition: transform .35s var(--ease-out), background-color .3s var(--ease), box-shadow .35s var(--ease-out);
}
.btn--primary { background: var(--terracotta); color: var(--cream); box-shadow: 0 16px 30px -16px rgba(143, 73, 47, .75); }
.btn--primary:hover { background: var(--terracotta-deep); transform: translateY(-2px); box-shadow: 0 20px 34px -16px rgba(143, 73, 47, .8); }
.btn--light { background: var(--cream); color: var(--olive-ink); box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .55); }
.btn--light:hover { background: var(--paper); transform: translateY(-2px); }
.btn--small { padding: 12px 20px; font-size: .9rem; }
.btn--block { width: 100%; }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Animações de entrada (só com JS ativo) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Palavras do título do hero subindo uma a uma */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.w__i { display: inline-block; }
.js .w__i { transform: translateY(108%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 70ms + 150ms); }
.is-ready .w__i { transform: none; }

/* Linha do sorriso que se desenha sozinha */
.smile-line { width: 190px; height: auto; overflow: visible; }
.smile-line path { fill: none; stroke: var(--caramel); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 230; stroke-dashoffset: 0; }
.js .smile-line path { stroke-dashoffset: 230; transition: stroke-dashoffset 1.8s var(--ease-out) .9s; }
.js .smile-line.is-in path { stroke-dashoffset: 0; }

/* ---------- Cabeçalho ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); }
/* O vidro fosco fica numa camada própria: backdrop-filter no próprio cabeçalho prenderia o menu do celular dentro dele */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(248, 244, 241, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line); transition: opacity .4s var(--ease);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--olive); color: var(--cream);
  font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.45rem; line-height: 1;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; letter-spacing: .01em; }
.brand__sub { font-size: .6rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--olive); margin-top: 3px; }
.brand--light .brand__mark { background: var(--cream); color: var(--olive-ink); }
.brand--light .brand__name { color: var(--cream); }
.brand--light .brand__sub { color: var(--cream-soft); }

.nav__list { display: flex; align-items: center; gap: 30px; }
.nav__list a:not(.btn) {
  text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--ink);
  background: linear-gradient(var(--olive), var(--olive)) 0 100% / 0 1px no-repeat; padding: 4px 0;
  transition: background-size .4s var(--ease-out), color .3s;
}
.nav__list a:not(.btn):hover { background-size: 100% 1px; color: var(--olive); }
.nav__cta-mobile { display: none; }

.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); cursor: pointer; position: relative; z-index: 52; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-open .menu-toggle span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 clamp(56px, 7vw, 96px); display: flex; align-items: center; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.75rem, 1.35rem + 4.5vw, 5.5rem);
  line-height: 1.02; letter-spacing: -.012em; margin: 22px 0 14px;
}
.hero__title em { font-style: italic; color: var(--terracotta); }
.smile-line--hero { margin: 0 0 26px 4px; }
.hero__lead { font-size: clamp(1.06rem, 1rem + .35vw, 1.25rem); color: var(--ink-soft); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 0; margin-top: 38px; font-size: .86rem; font-weight: 500; color: var(--ink-soft); }
.hero__facts li { display: inline-flex; align-items: center; }
.hero__facts li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--caramel); margin: 0 14px; }

.hero__media { position: relative; justify-self: center; width: min(430px, 100%); }
.arch { position: relative; overflow: hidden; border-radius: var(--arch); background: var(--sand); isolation: isolate; }
.arch img, .arch video { width: 100%; height: 100%; object-fit: cover; }
.arch--portrait { aspect-ratio: 4 / 5; box-shadow: 0 40px 70px -38px rgba(69, 68, 47, .55); z-index: 1; }
.arch--portrait img { transform-origin: 50% 32%; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1) translateY(-1.5%); } }
.js .arch--portrait { clip-path: inset(100% 0 0 0 round 4px); transition: clip-path 1.7s var(--ease-out) .25s; }
.is-ready .arch--portrait { clip-path: inset(0 0 0 0 round 4px); }
.arch-outline { position: absolute; inset: 0; aspect-ratio: 4 / 5; border: 1px solid var(--caramel); border-radius: var(--arch); transform: translate(22px, -22px); z-index: 0; }
.seal { position: absolute; left: -36px; bottom: 74px; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: var(--terracotta); color: var(--cream); border-radius: 4px; box-shadow: 0 18px 30px -16px rgba(69, 68, 47, .45); }
.seal__text { font-family: var(--font-body); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.5; }
.seal__mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(247, 243, 236, .5); border-radius: 3px; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 28px; line-height: 1; }
.hero__caption { margin-top: 26px; text-align: center; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--ink-soft); }

/* ---------- Seções ---------- */
.section { position: relative; padding: clamp(84px, 10vw, 144px) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--olive-deep); color: var(--cream); }
.section--dark .section-title { color: var(--cream); }
.section-head { max-width: 780px; margin-bottom: clamp(44px, 6vw, 76px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }

/* 2. Problema */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 96px); align-items: end; }
.pains { border-top: 1px solid var(--line); }
.pains li { display: flex; align-items: center; gap: 16px; padding: 18px 2px; border-bottom: 1px solid var(--line); font-size: 1.08rem; font-weight: 500; }
.pains li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--terracotta); }
.voices { margin-top: clamp(64px, 8vw, 104px); }
.voices__label { text-align: center; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--olive); margin-bottom: 28px; }
.voices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.voice { background: var(--ivory); border: 1px solid var(--line); border-radius: 4px; padding: 34px 30px; display: flex; align-items: center; min-height: 160px; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.voice:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -30px rgba(69, 68, 47, .45); }
.voice p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.45rem, 1.2rem + .8vw, 1.8rem); line-height: 1.22; }
.voices__close { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 10px 22px; text-align: center; font-family: var(--font-display); font-style: italic; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
.voices__close .link-arrow { font-family: var(--font-body); font-style: normal; }

/* 3. Solução */
.solution { display: grid; grid-template-columns: 1.05fr .95fr; grid-template-areas: "head media" "steps media"; column-gap: clamp(40px, 7vw, 110px); align-items: start; }
.solution__head { grid-area: head; margin-bottom: 48px; }
.steps { grid-area: steps; position: relative; }
.steps::before, .steps__progress { content: ""; position: absolute; left: 22px; top: 12px; bottom: 40px; width: 1px; }
.steps::before { background: var(--line); }
.steps__progress { background: var(--olive); transform-origin: top; transform: scaleY(var(--p, 0)); transition: transform .2s linear; }
.step { position: relative; padding-left: 78px; padding-bottom: 46px; }
.step:last-child { padding-bottom: 0; }
.step__num {
  position: absolute; left: 0; top: 0; width: 45px; height: 45px; border-radius: 4px;
  display: grid; place-items: center; background: var(--ivory); border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--olive);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.step.is-active .step__num { background: var(--olive); border-color: var(--olive); color: var(--cream); }
.step__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.45rem, 1.25rem + .6vw, 1.8rem); line-height: 1.15; margin: 4px 0 10px; }
.step p { color: var(--ink-soft); max-width: 46ch; }
.solution__media { grid-area: media; position: sticky; top: calc(var(--header-h) + 36px); justify-self: center; width: min(400px, 100%); }
.arch--video { aspect-ratio: 720 / 1024; box-shadow: 0 40px 70px -40px rgba(69, 68, 47, .55); }
.media__caption { margin-top: 18px; text-align: center; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--ink-soft); }

/* Botão de pausar/reproduzir dos vídeos */
.media__toggle {
  position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 4px;
  border: 0; cursor: pointer; background: rgba(247, 243, 236, .88); backdrop-filter: blur(6px);
  display: grid; place-items: center; opacity: .82; transition: opacity .3s, transform .3s var(--ease-out);
}
.media__toggle:hover { opacity: 1; transform: scale(1.06); }
.media__icon { position: relative; width: 12px; height: 14px; }
.media__icon::before, .media__icon::after { content: ""; position: absolute; top: 0; width: 4px; height: 14px; background: var(--olive-ink); border-radius: 1px; }
.media__icon::before { left: 0; }
.media__icon::after { right: 0; }
.media__toggle[data-state="paused"] .media__icon::before { left: 2px; width: 12px; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.media__toggle[data-state="paused"] .media__icon::after { display: none; }

/* 4. Resultados */
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 85% 0%, rgba(201, 144, 87, .14), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(105, 104, 74, .5), transparent 70%);
}
.section--dark > .container { position: relative; }
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 5vw, 72px); max-width: 980px; margin-inline: auto; }
.case { display: grid; gap: 26px; align-content: start; }
.case .media { width: min(400px, 100%); justify-self: center; }
.arch--case { aspect-ratio: 3 / 4; background: #1f1e17; box-shadow: 0 40px 70px -36px rgba(0, 0, 0, .7); }
.arch--case video { object-position: 50% 42%; }
/* Antes e depois com cortina */
.ba { cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba img { pointer-events: none; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--cream); box-shadow: 0 0 0 1px rgba(31, 30, 23, .18); pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); background: var(--terracotta); border-radius: 4px; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .55); transition: transform .3s var(--ease-out); }
.ba__knob::before, .ba__knob::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border-style: solid; }
.ba__knob::before { left: 10px; border-width: 6px 8px 6px 0; border-color: transparent var(--cream) transparent transparent; }
.ba__knob::after { right: 10px; border-width: 6px 0 6px 8px; border-color: transparent transparent transparent var(--cream); }
.ba:hover .ba__knob, .ba.is-dragging .ba__knob { transform: translate(-50%, -50%) scale(1.08); }
.ba__tag { position: absolute; top: 14px; z-index: 1; padding: 6px 10px; border-radius: 3px; background: rgba(31, 30, 23, .72); color: var(--cream); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; pointer-events: none; transition: opacity .3s; }
.ba__tag--antes { left: 14px; }
.ba__tag--depois { right: 14px; }
.ba__range { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ba:has(.ba__range:focus-visible) { outline: 2px solid var(--caramel); outline-offset: 4px; }
.case__body { text-align: center; }
.case__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1.3rem + .6vw, 1.85rem); color: var(--cream); }
.case__quote p { margin-top: 10px; font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 1.15rem + .5vw, 1.55rem); line-height: 1.3; color: var(--cream); }
.case__note { margin-top: 14px; font-size: .82rem; color: var(--cream-soft); }

.words { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 0; margin-top: 12px; font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 1.15rem + .5vw, 1.55rem); }
.words__w { display: inline-block; }
.js .words__w { opacity: 0; transform: translateY(.45em); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i) * 260ms + 150ms); }
.js .words.is-in .words__w { opacity: 1; transform: none; }
.words__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--caramel); margin: 0 14px; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: clamp(64px, 8vw, 104px); }
.facts li { border-top: 1px solid rgba(201, 144, 87, .55); padding-top: 22px; display: flex; flex-direction: column; gap: 6px; }
.facts strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.55rem, 1.2rem + 1.1vw, 2.2rem); line-height: 1.1; color: var(--cream); }
.facts span { font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-soft); }
.disclaimer { margin-top: 40px; text-align: center; font-size: .86rem; font-style: italic; color: var(--cream-soft); }

/* 5. Diferenciais */
.compare { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 22px; align-items: stretch; }
.compare__card { border: 1px solid var(--line); border-radius: 4px; padding: 36px 32px; background: rgba(251, 248, 242, .5); }
.compare__card--main { background: var(--paper); border: 1.5px solid var(--olive); box-shadow: 0 34px 60px -40px rgba(69, 68, 47, .55); }
.compare__tag { display: inline-flex; align-items: center; gap: 10px; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--olive); margin-bottom: 14px; }
.compare__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--caramel); }
.compare__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.45rem, 1.25rem + .6vw, 1.8rem); line-height: 1.15; margin-bottom: 20px; }
.compare__card:not(.compare__card--main) .compare__title { color: var(--ink-soft); }
.compare__list li { position: relative; padding-left: 34px; margin: 14px 0; }
.compare__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; }
.compare__list--yes li::before { background: var(--olive); }
.compare__list--yes li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 9px; border: solid var(--cream); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.compare__list--no li { color: var(--ink-soft); }
.compare__list--no li::before { border: 1px solid #BDB3A3; }
.compare__list--no li::after { content: ""; position: absolute; left: 6px; top: 12.5px; width: 8px; height: 1.4px; background: #9E9485; }

/* 6. Como funciona */
.treatments { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.treatment { display: flex; flex-direction: column; background: var(--ivory); border: 1px solid var(--line); border-radius: 4px; padding: clamp(28px, 3vw, 38px); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.treatment:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -36px rgba(69, 68, 47, .5); }
.treatment__icon { width: 46px; height: 46px; margin-bottom: 20px; fill: none; stroke: var(--olive); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.treatment__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 1.2rem + .6vw, 1.7rem); line-height: 1.15; margin-bottom: 10px; }
.treatment > p { color: var(--ink-soft); }
.treatment__for { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: .96rem; color: var(--ink) !important; }
.treatment > p:not(.treatment__for) { margin-bottom: 20px; }
.treatment__for span { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--olive); margin-bottom: 6px; }
.partners { margin-top: 30px; padding: 22px 26px; border-left: 3px solid var(--olive); border-radius: 0 4px 4px 0; background: rgba(105, 104, 74, .07); color: var(--ink-soft); max-width: 72ch; }
.watch { margin-top: clamp(48px, 6vw, 72px); }
.watch__label { font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--olive); margin-bottom: 18px; }
.watch__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.watch__card {
  display: flex; align-items: center; gap: 18px; padding: 20px 22px; text-align: left; cursor: pointer;
  background: var(--ivory); border: 1px solid var(--line); border-radius: 4px;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
}
.watch__card:hover { transform: translateY(-3px); border-color: var(--caramel); box-shadow: 0 24px 40px -30px rgba(69, 68, 47, .5); }
.watch__play { flex: none; width: 54px; height: 54px; border-radius: 4px; background: var(--terracotta); position: relative; transition: transform .45s var(--ease-out); }
.watch__play::after { content: ""; position: absolute; left: 22px; top: 18px; width: 14px; height: 18px; background: var(--cream); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.watch__card:hover .watch__play { transform: scale(1.07); }
.watch__text { display: flex; flex-direction: column; gap: 2px; }
.watch__text strong { font-size: 1rem; font-weight: 600; line-height: 1.35; }
.watch__text span { font-size: .86rem; color: var(--ink-soft); }

/* 7. Depoimentos */
.manifest { gap: 6px 26px; margin: 0 auto clamp(48px, 6vw, 72px); font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.3rem); color: var(--olive); line-height: 1.15; }
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 980px; margin-inline: auto; }
.quote { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 52px 38px 34px; }
.quote::before { content: "“"; position: absolute; top: -6px; left: 30px; font-family: var(--font-display); font-size: 5.5rem; line-height: 1; color: var(--caramel); }
.quote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.45rem, 1.2rem + .8vw, 1.85rem); line-height: 1.25; }
.quote figcaption { margin-top: 22px; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.quotes__note { margin-top: 26px; text-align: center; font-size: .86rem; color: var(--ink-soft); }

/* 8. CTA final e formulário */
.section--cta { overflow: hidden; }
.cta { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.cta__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.7rem, 1.4rem + 4.2vw, 5rem); line-height: 1.02; letter-spacing: -.01em; margin: 20px 0 18px; color: var(--cream); text-wrap: balance; }
.cta .btn { margin-top: 32px; }
.cta__contacts { margin-top: 30px; display: grid; gap: 8px; font-size: .95rem; }
.cta__contacts a { color: var(--cream-soft); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease-out), color .3s; }
.cta__contacts a:hover { color: var(--cream); background-size: 100% 1px; }

.form { background: var(--ivory); color: var(--ink); border-radius: 4px; padding: clamp(26px, 4vw, 42px); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .65); }
.form__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1.3rem + .6vw, 1.85rem); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field select {
  width: 100%; height: 54px; padding: 0 16px; border: 1px solid #D4C8B6; border-radius: 4px;
  background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color .25s, box-shadow .25s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1.5l6 6 6-6' stroke='%2369684A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.field input::placeholder { color: #9A9184; }
.field input:focus, .field select:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 4px rgba(105, 104, 74, .16); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--terracotta); }
.check { display: flex; align-items: flex-start; gap: 12px; margin: 18px 0 6px; font-size: .88rem; color: var(--ink-soft); cursor: pointer; }
.check input { flex: none; width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--olive); cursor: pointer; }
.check a { color: var(--olive); font-weight: 600; }
.form__error { min-height: 1.4em; margin: 8px 0 10px; font-size: .88rem; font-weight: 600; color: var(--terracotta); }
.form__note { margin-top: 14px; text-align: center; font-size: .8rem; color: var(--ink-soft); }
.form__success { margin-top: 16px; padding: 14px 18px; border-radius: 4px; background: rgba(105, 104, 74, .12); font-size: .92rem; }
.form__success a { color: var(--terracotta); font-weight: 600; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--olive-ink); color: var(--cream-soft); padding: clamp(64px, 8vw, 96px) 0 34px; font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr .9fr; gap: 40px; }
.footer__id { margin-top: 20px; line-height: 1.7; }
.footer__title { font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cream); margin-bottom: 16px; }
.site-footer p + p { margin-top: 10px; }
.footer__list { display: grid; gap: 10px; }
.site-footer a { color: var(--cream-soft); text-decoration: none; transition: color .3s; }
.site-footer a:hover { color: var(--cream); }
.map-placeholder { margin-top: 18px; height: 120px; border: 1px dashed rgba(217, 210, 195, .35); border-radius: 4px; display: grid; place-items: center; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(217, 210, 195, .7); }
.footer__privacy { margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(217, 210, 195, .18); font-size: .86rem; max-width: 80ch; }
.footer__privacy strong { color: var(--cream); font-weight: 600; }
.footer__copy { margin-top: 12px !important; font-size: .8rem; opacity: .75; }

/* ---------- Botão flutuante (celular) ---------- */
.float-cta { display: none; }

/* ---------- Janela de vídeo ---------- */

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .compare { grid-template-columns: 1fr 1fr; }
  .compare__card--main { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 959px) {
  .menu-toggle { display: block; }
  .nav__list {
    position: fixed; inset: 0; z-index: 51; flex-direction: column; justify-content: center; gap: 26px;
    background: var(--olive-deep); padding: 100px var(--gutter) 60px;
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
  }
  .menu-open .nav__list { opacity: 1; visibility: visible; }
  .nav__list a:not(.btn) { font-family: var(--font-display); font-size: 2.1rem; font-weight: 500; color: var(--cream); }
  .nav__list a:not(.btn):hover { color: var(--cream); }
  .nav__cta-mobile { display: block; margin-top: 10px; }
  .menu-open .menu-toggle { background: var(--cream); border-color: transparent; }

  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { width: min(360px, 82vw); margin-top: 18px; }
  .seal { left: -16px; bottom: 56px; }

  .split { grid-template-columns: 1fr; align-items: start; }
  .solution { grid-template-columns: 1fr; grid-template-areas: "head" "media" "steps"; }
  .solution__media { position: relative; top: auto; margin-bottom: 56px; width: min(340px, 82vw); }
  .cta { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .site-header__cta { display: none; }
  .voices__grid, .quotes, .cases, .watch__grid, .treatments, .compare { grid-template-columns: 1fr; }
  .voice { min-height: 0; }
  .facts { grid-template-columns: 1fr; gap: 20px; }
  .case .media { width: min(340px, 86vw); }

  .float-cta {
    display: inline-flex; align-items: center; gap: 10px; position: fixed; z-index: 60;
    left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translate(-50%, 180%);
    padding: 15px 24px; border-radius: 4px; background: var(--terracotta); color: var(--cream);
    font-weight: 600; font-size: .96rem; text-decoration: none; white-space: nowrap;
    box-shadow: 0 18px 34px -12px rgba(43, 42, 38, .5); transition: transform .55s var(--ease-out);
  }
  .float-cta.is-visible { transform: translate(-50%, 0); }
  body.menu-open .float-cta { transform: translate(-50%, 180%); }
  .site-footer { padding-bottom: 100px; }
}

@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .hero__facts { flex-direction: column; gap: 6px; }
  .hero__facts li::before, .hero__facts li + li::before { content: ""; display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--caramel); margin: 0 12px 0 0; }
  .eyebrow { letter-spacing: .14em; gap: 10px; }
  .eyebrow::before { width: 20px; }
  .step { padding-left: 66px; }
  .manifest { flex-direction: column; gap: 2px; }
  .brand__name { font-size: 1.25rem; }
}

/* ---------- Movimento reduzido (modo calmo) ----------
   Sem deslocamentos, zoom, giro ou vídeo automático: só fades suaves.
   "?movimento=completo" no endereço (classe .force-motion) mostra a versão completa. */
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) *, html:not(.force-motion) *::before, html:not(.force-motion) *::after { animation: none !important; }
  html.js:not(.force-motion) .reveal, html.js:not(.force-motion) .words__w { transform: none; transition: opacity .7s ease; }
  html.js:not(.force-motion) .w__i { transform: none; transition: none; }
  html.js:not(.force-motion) .smile-line path { stroke-dashoffset: 0; transition: none; }
  html.js:not(.force-motion) .arch--portrait { clip-path: none; transition: none; }
  html:not(.force-motion) .steps__progress { transition: none; }
}
/* Quando o vídeo não toca sozinho (modo calmo, economia de bateria ou de dados, ou foi pausado pelo visitante),
   o botão de play fica grande e no centro. Tocar em qualquer parte do vídeo também liga e desliga. */
.needs-tap .media__toggle[data-state="paused"] { right: 50%; bottom: 50%; transform: translate(50%, 50%); width: 68px; height: 68px; opacity: 1; }
.needs-tap .media__toggle[data-state="paused"]:hover { transform: translate(50%, 50%) scale(1.06); }
.needs-tap .media__toggle[data-state="paused"] .media__icon { transform: scale(1.35); }
.arch video, .watch__frame video { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.watch__frame .media__toggle { z-index: 2; }
.needs-tap.has-error::after { content: "Não foi possível carregar. Toque para tentar de novo."; position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 8px 12px; border-radius: 4px; background: rgba(31, 30, 23, .8); color: var(--cream); font-size: .8rem; line-height: 1.4; text-align: center; pointer-events: none; z-index: 3; }


/* =====================================================================
   Identidade visual oficial (dez/2026)
   ===================================================================== */
html { font-synthesis-weight: none; }
body { letter-spacing: .005em; }

/* Logotipo */
.brand__logo { display: block; height: 46px; width: auto; }
.site-footer .brand__logo { height: 52px; }

/* Títulos: Marisa em maiúsculas, como no logotipo */
.hero__title, .section-title, .cta__title {
  font-family: var(--font-display); font-weight: 400; font-style: normal;
  text-transform: uppercase; letter-spacing: .05em; line-height: 1.16;
}
.hero__title { font-size: clamp(2rem, 1.05rem + 3.1vw, 3.75rem); margin: 22px 0 18px; }
.hero__title em { font-style: normal; color: var(--terracotta); }
.section-title { font-size: clamp(1.55rem, 1.05rem + 1.75vw, 2.55rem); letter-spacing: .045em; text-wrap: balance; }
.cta__title { font-size: clamp(1.9rem, 1.1rem + 2.5vw, 3.2rem); }

/* Subtítulos e frases: Nordeco, sem itálico (a marca não usa itálico) */
.step__title, .case__title, .compare__title, .treatment__title, .form__title,
.voice p, .quote p, .case__quote p, .voices__close, .hero__caption, .media__caption,
.words, .facts strong, .step__num, .nav__list a:not(.btn), .manifest {
  font-family: var(--font-accent); font-style: normal; font-weight: 400;
}
.step__title, .compare__title, .treatment__title, .case__title, .form__title { letter-spacing: .01em; }
.step__title { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); }
.compare__title { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); }
.treatment__title { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
.voice p, .quote p { font-size: clamp(1.25rem, 1.08rem + .6vw, 1.55rem); line-height: 1.35; }
.hero__caption, .media__caption { font-size: 1.05rem; }
.manifest.words { font-size: clamp(1.7rem, 1.05rem + 2.3vw, 2.8rem); letter-spacing: .01em; color: var(--olive); }
.words { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); }
.facts strong { font-size: clamp(1.45rem, 1.15rem + 1vw, 2rem); }
.quote::before { font-family: var(--font-display); color: var(--caramel); }
.eyebrow, .voices__label, .watch__label, .compare__tag, .treatment__for span, .facts span, .footer__title, .quote figcaption, .ba__tag { font-weight: 400; letter-spacing: .22em; }
.btn { font-weight: 400; letter-spacing: .04em; }
.pains li, .field label, .watch__text strong, .nav__list a:not(.btn) { font-weight: 400; }
.eyebrow::before { background: var(--terracotta); opacity: .6; }
@media (max-width: 959px) { .nav__list a:not(.btn) { font-size: 1.9rem; } }

/* Selo do retrato com o símbolo oficial */
.seal__mark img { display: block; width: 18px; height: auto; }

/* Símbolo "R" como marca d'água discreta nas faixas escuras */
.section--dark { overflow: hidden; }
.nowrap { white-space: nowrap; }
.section--dark::after {
  content: ""; position: absolute; right: -4%; top: 50%; width: min(42vw, 520px); aspect-ratio: 296 / 508;
  transform: translateY(-50%); background: url("../img/r-creme.svg") center / contain no-repeat;
  opacity: .045; pointer-events: none;
}

/* Casos reais: dois antes e depois + vídeo das lentes */
.cases--grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 56px); max-width: 1100px; margin-inline: auto; align-items: start; }
.cases__ba { display: grid; gap: clamp(26px, 3vw, 36px); }
.case--ba { gap: 14px; }
.case__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 18px; }
.case__row .case__note { margin-top: 0; }
.case--video .media { width: 100%; }
.case--video .arch--case { aspect-ratio: 720 / 828; }
.ba-hint { font-size: .86rem; color: var(--cream-soft); text-align: center; margin-top: -6px; }

.arch--wide { aspect-ratio: 16 / 9; background: #1f1e17; box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .7); contain: layout paint; }
.ba { cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ba__after, .ba__handle { position: absolute; inset: 0; will-change: transform; transform: translate3d(50%, 0, 0); }
.ba__after { overflow: hidden; }
.ba__after img { will-change: transform; transform: translate3d(-50%, 0, 0); }
.ba__handle { pointer-events: none; z-index: 2; }
.ba__line { position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--cream); box-shadow: 0 0 0 1px rgba(31, 30, 23, .18), 0 0 14px rgba(0, 0, 0, .25); }
.ba__knob { position: absolute; top: 50%; left: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px; background: var(--terracotta); border-radius: 4px; box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .55); transform: none; transition: transform .3s var(--ease); }
.ba:hover .ba__knob, .ba.is-dragging .ba__knob { transform: scale(1.08); }
.ba__tag { z-index: 3; transition: opacity .3s; }

/* Evidência científica (dentro de Tratamentos) */
.evidence { margin-top: clamp(72px, 9vw, 112px); padding-top: clamp(56px, 7vw, 80px); border-top: 1px solid var(--line); }
.evidence__head { max-width: 720px; margin-bottom: 40px; }
.evidence__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .045em; line-height: 1.2; font-size: clamp(1.3rem, 1rem + 1.1vw, 1.9rem); margin: .5em 0 .45em; text-wrap: balance; }
.evidence__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.evid { display: flex; flex-direction: column; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 30px 28px; }
.evid__tag { align-self: flex-start; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--terracotta); }
.evid__title { font-family: var(--font-accent); font-weight: 400; font-size: 1.25rem; line-height: 1.3; }
.evid p { color: var(--ink-soft); font-size: .98rem; }
.evid .evid__ref { font-size: .82rem; line-height: 1.55; }
.evid__link { margin-top: auto; align-self: flex-start; color: var(--olive); text-decoration: none; font-size: .92rem; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; }
.evid__link::after { content: " ↗"; }
.evid__link:hover { color: var(--terracotta); }
.evidence__note { margin-top: 24px; font-size: .86rem; color: var(--ink-soft); }

/* Confiança: vídeo da Dra. Renata ao lado das frases */
.trust { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; max-width: 1040px; margin-inline: auto; }
.arch--trust { aspect-ratio: 4 / 5; box-shadow: 0 40px 70px -40px rgba(69, 68, 47, .55); }
.trust .quotes { grid-template-columns: 1fr; max-width: none; gap: 30px; }
.trust .quotes__note { text-align: left; }

@media (max-width: 959px) {
  .cases--grid { grid-template-columns: 1fr; max-width: 640px; }
  .case--video .media { width: min(380px, 86vw); justify-self: center; }
  .evidence__grid { grid-template-columns: 1fr; max-width: 640px; }
  .trust { grid-template-columns: 1fr; max-width: 560px; }
  .trust__media { width: min(360px, 82vw); justify-self: center; }
  .trust .quotes__note { text-align: center; }
}
@media (max-width: 767px) {
  .case--ba .media, .cases__ba .case { width: 100%; }
  .brand__logo { height: 40px; }
  .section--dark::after { width: 70vw; right: -20%; }
}
@media (max-width: 560px) {
  .hero__title { letter-spacing: .04em; }
  .section-title { letter-spacing: .035em; }
}


/* =====================================================================
   Ajustes 01/12 (2ª rodada)
   ===================================================================== */

/* Títulos em caixa alta: menos espaço entre as letras e traço mais forte */
.hero__title, .section-title, .cta__title, .evidence__title {
  letter-spacing: .018em; -webkit-text-stroke: .028em currentColor; paint-order: stroke fill;
}
.hero__title { line-height: 1.12; }
.section-title { letter-spacing: .015em; }
.brand__logo { -webkit-text-stroke: 0; }

/* Texto corrido mais arejado, mais fácil de ler */
body { letter-spacing: .03em; word-spacing: .08em; line-height: 1.75; }
p, li, figcaption, label, input, select, button { letter-spacing: .03em; word-spacing: .08em; }
.hero__lead, .section-lead { line-height: 1.8; }
.step p, .treatment p, .compare__list li, .evid p, .pains li, .case__note, .footer__id, .site-footer p { line-height: 1.75; }
.voice p, .quote p { letter-spacing: .02em; line-height: 1.5; }
.eyebrow, .voices__label, .watch__label, .compare__tag, .treatment__for span, .facts span, .footer__title, .quote figcaption, .ba__tag, .evid__tag { word-spacing: 0; }

/* Casos reais: antes e depois um embaixo do outro, com mais respiro */
#casos.section { padding-top: clamp(80px, 10vw, 128px); }
.cases--grid { grid-template-columns: 1fr; max-width: 900px; gap: clamp(64px, 8vw, 104px); }
.cases__ba { gap: clamp(56px, 7vw, 88px); }
.case--ba { gap: 18px; }
.ba-hint { margin-top: -24px; }
.case--video { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: center; }
.case--video .media { width: 100%; }
.case--video .case__body { text-align: left; }
.case--video .words { justify-content: flex-start; }
.arch--lentes { aspect-ratio: 828 / 720; background: #1f1e17; box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .7); }
@media (max-width: 767px) {
  .case--video { grid-template-columns: 1fr; }
  .case--video .media { width: 100%; }
  .case--video .case__body { text-align: center; }
  .case--video .words { justify-content: center; }
}

/* Vídeos do Instagram direto na página */
.watch__grid { grid-template-columns: repeat(2, minmax(0, 360px)); gap: 28px; }
.watch__item { margin: 0; }
.watch__frame { position: relative; aspect-ratio: 9 / 15.5; border-radius: 4px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.watch__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.watch__item figcaption { margin-top: 12px; font-size: .95rem; color: var(--ink); }
@media (max-width: 767px) { .watch__grid { grid-template-columns: minmax(0, 360px); justify-content: center; } }

/* Evidência científica: mais formal e em destaque */
.evidence { border-top: 0; padding: clamp(48px, 6vw, 72px) clamp(24px, 4vw, 56px); background: var(--paper); border: 1px solid var(--line); border-radius: 4px; position: relative; }
.evidence::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--olive); border-radius: 4px 0 0 4px; }
.evidence__head { max-width: 760px; }
.evidence__title { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); margin: .35em 0 .5em; color: var(--olive-ink); }
.evidence__head .section-lead { line-height: 1.85; }
.evidence__grid { gap: 26px; }
.evid { background: var(--ivory); padding: 32px 28px; gap: 16px; }
.evid__top { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.evid__num { font-family: var(--font-display); font-size: 1.6rem; color: var(--olive); -webkit-text-stroke: .02em currentColor; }
.evid__tag { font-size: .72rem; letter-spacing: .2em; }
.evid__kind { font-size: .74rem !important; letter-spacing: .14em !important; text-transform: uppercase; color: var(--olive) !important; }
.evid__title { font-size: 1.28rem; line-height: 1.4; letter-spacing: .02em; }
.evid p { line-height: 1.8; letter-spacing: .03em; }
.evid .evid__ref { line-height: 1.7; padding: 14px 16px; background: var(--paper); border-left: 2px solid var(--caramel); font-size: .84rem; }
.evidence__note { line-height: 1.7; }

/* Botão flutuante do WhatsApp, sempre à mão (computador e celular) */
.float-cta {
  display: inline-flex; align-items: center; gap: 10px; position: fixed; z-index: 60;
  right: clamp(16px, 2.5vw, 32px); bottom: calc(clamp(16px, 2.5vw, 32px) + env(safe-area-inset-bottom)); left: auto;
  padding: 14px 22px 14px 18px; border-radius: 999px; background: #25D366; color: #fff;
  font-size: .98rem; text-decoration: none; white-space: nowrap; letter-spacing: .03em;
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, .45); transform: none; transition: transform .35s var(--ease-out), box-shadow .35s;
}
.float-cta .icon { width: 24px; height: 24px; }
.float-cta:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 22px 40px -14px rgba(0, 0, 0, .5); }
.float-cta.is-visible { transform: none; }
body.menu-open .float-cta { transform: translateY(180%); }
@media (max-width: 767px) {
  .float-cta { left: auto; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); transform: none; padding: 13px 18px 13px 15px; font-size: .92rem; }
  .float-cta.is-visible { transform: none; }
  body.menu-open .float-cta { transform: translateY(180%); }
}

/* =====================================================================
   Ajustes 01/12 (3ª rodada): fotos nos tratamentos, chamadas, movimento
   ===================================================================== */

/* Faixa de tratamentos em movimento */
.marquee { overflow: hidden; background: var(--terracotta); color: var(--cream); padding: 18px 0; position: relative; z-index: 1; }
.marquee__track { display: flex; align-items: center; gap: 0; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: clamp(.95rem, .85rem + .4vw, 1.15rem); white-space: nowrap; padding: 0 28px; -webkit-text-stroke: .02em currentColor; }
.marquee__track i { width: 7px; height: 7px; border-radius: 50%; background: var(--caramel); flex: none; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Chamadas para o WhatsApp no meio da página */
.section-cta { margin-top: clamp(48px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; text-align: center; }
.section-cta p { font-family: var(--font-accent); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--ink); max-width: 36ch; }
.section-cta--light p { color: var(--cream); }
.section-cta .btn { gap: 10px; }

/* Botões com mais vida */
.btn { position: relative; overflow: hidden; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s; }
.btn:hover { transform: translateY(-2px); }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease-out); pointer-events: none; }
.btn:hover::after { transform: translateX(120%); }

/* Fotos nos cards de tratamento */
.treatment { overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s; }
.treatment:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(69, 68, 47, .6); border-color: var(--caramel); }
.treatment__media { position: relative; margin: calc(-1 * var(--tp, 32px)) calc(-1 * var(--tp, 32px)) 22px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.treatment__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.treatment:hover .treatment__media img { transform: scale(1.05); }
.treatment__media figcaption { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 3px; background: rgba(31, 30, 23, .62); color: var(--cream); font-size: .72rem; letter-spacing: .06em; }
.treatment__media + .treatment__icon { display: none; }

/* Botão flutuante: um pulso suave para chamar a atenção */
.float-cta::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: ctaPulse 2.6s ease-out 1.5s infinite; pointer-events: none; }
@keyframes ctaPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* Vídeos explicativos (arquivos próprios, tocando sozinhos) */
.watch__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.watch__sound { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 0; border-radius: 999px; background: rgba(31, 30, 23, .72); color: var(--cream); font: inherit; font-size: .82rem; cursor: pointer; }
.watch__sound:hover { background: rgba(31, 30, 23, .88); }
.watch__sound svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }

@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .marquee__track { animation-duration: 90s !important; animation: marquee 90s linear infinite !important; }
  html:not(.force-motion) .float-cta::before { animation: none; }
}
.treatment { --tp: clamp(28px, 3vw, 38px); }
.facts .count { font: inherit; font-weight: 400; letter-spacing: inherit; text-transform: none; color: inherit; }

/* =====================================================================
   Ajustes 01/12 (4ª rodada)
   ===================================================================== */

/* Risquinho de destaque à esquerda, como na Evidência científica, em todos os blocos */
.treatment, .compare__card, .voice, .quote, .evid, .form {
  border-left: 4px solid var(--olive);
}
.compare__card--main { border-left-width: 4px; }
.form { border-left-color: var(--terracotta); }
.evid { border-left-color: var(--caramel); }
.voice, .quote { border-left-color: var(--terracotta); }
.treatment__media { margin-left: calc(-1 * var(--tp, 32px)); }

/* Vídeos explicativos: cada um no seu formato */
.watch__grid { align-items: start; }

/* Fotos da Dra. Renata no convite final */
.cta__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; max-width: 520px; }
.cta__photos figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; box-shadow: 0 26px 44px -26px rgba(0, 0, 0, .65); border-left: 4px solid var(--caramel); }
.cta__photos figure:nth-child(2) { transform: translateY(-18px); }
.cta__photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.cta__photos figure:hover img { transform: scale(1.05); }
@media (max-width: 959px) { .cta__photos { max-width: none; } }
@media (max-width: 560px) { .cta__photos { gap: 10px; } .cta__photos figure:nth-child(2) { transform: translateY(-10px); } }
.partners { border-left-width: 4px; }

/* Chamada para seguir no Instagram */
.insta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; max-width: 748px; padding: 24px 28px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--terracotta); border-radius: 4px; }
.insta__title { font-family: var(--font-accent); font-size: 1.2rem; color: var(--ink); margin-bottom: 4px; }
.insta__text p:not(.insta__title) { color: var(--ink-soft); font-size: .95rem; }
.insta .btn { gap: 10px; }
.insta .icon { width: 20px; height: 20px; }
@media (max-width: 767px) { .insta { margin-inline: auto; } .insta .btn { width: 100%; justify-content: center; } }

/* Dentistas parceiros */
.partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; max-width: 1100px; margin-inline: auto; }
.partners-col__label { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--caramel); margin-bottom: 10px; }
.partners-col__title { font-family: var(--font-accent); font-weight: 400; font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); line-height: 1.3; color: var(--cream); margin-bottom: 26px; }
.spec { display: grid; gap: 14px; }
.spec__item { display: grid; gap: 6px; padding: 20px 22px; background: rgba(244, 238, 233, .06); border: 1px solid rgba(217, 208, 198, .18); border-left: 4px solid var(--caramel); border-radius: 4px; }
.spec__name { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: 1rem; color: var(--cream); -webkit-text-stroke: .02em currentColor; }
.spec__text { color: var(--cream-soft); font-size: .95rem; line-height: 1.7; }
.partners-col--pro { background: var(--ivory); color: var(--ink); border-left: 4px solid var(--terracotta); border-radius: 4px; padding: clamp(28px, 3.5vw, 42px); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .65); }
.partners-col--pro .partners-col__label { color: var(--terracotta); }
.partners-col--pro .partners-col__title { color: var(--ink); }
.pro { display: grid; gap: 16px; margin-bottom: 28px; }
.pro li { position: relative; padding-left: 22px; color: var(--ink-soft); line-height: 1.75; }
.pro li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--olive); }
.pro strong { font-weight: 400; color: var(--ink); }
.partners-col--pro .btn { gap: 10px; }
@media (max-width: 959px) { .partners-grid { grid-template-columns: 1fr; max-width: 640px; } }
@media (max-width: 560px) { .partners-col--pro .btn { width: 100%; justify-content: center; } }

/* Uma foto só no convite final */
.cta__photo { margin: 40px 0 0; width: min(340px, 100%); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; border-left: 4px solid var(--caramel); box-shadow: 0 30px 50px -28px rgba(0, 0, 0, .7); }
.cta__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.cta__photo:hover img { transform: scale(1.04); }

/* Dentistas parceiros: só um canal direto, enxuto */
.section--slim { padding-block: clamp(64px, 8vw, 104px); }
.dentists { display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: center; max-width: 1040px; margin-inline: auto; padding: clamp(28px, 4vw, 48px); border: 1px solid rgba(217, 208, 198, .2); border-left: 4px solid var(--caramel); border-radius: 4px; background: rgba(244, 238, 233, .05); }
.dentists .section-title { margin: .35em 0 .4em; }
.dentists .section-lead { max-width: 58ch; }
.dentists .btn { gap: 10px; white-space: nowrap; }
@media (max-width: 767px) { .dentists { grid-template-columns: 1fr; } .dentists .btn { width: 100%; justify-content: center; white-space: normal; } }

/* =====================================================================
   Revisão de alinhamento (01/12, 5ª rodada)
   ===================================================================== */

/* Vídeos: três colunas iguais, ocupando a largura toda */
.watch__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); align-items: start; justify-content: stretch; }
.watch__frame { aspect-ratio: 9 / 16; }
.watch__item figcaption { line-height: 1.5; }
/* Chamada do Instagram com a mesma largura dos vídeos */
.insta { max-width: none; margin-top: clamp(22px, 3vw, 32px); }

/* Celular: os vídeos viram um carrossel de arrastar para o lado */
@media (max-width: 767px) {
  .watch__grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none; justify-content: start;
  }
  .watch__grid::-webkit-scrollbar { display: none; }
  .watch__item { scroll-snap-align: start; }
  .watch__label::after { content: " Arraste para o lado."; text-transform: none; letter-spacing: .02em; }
  .insta { margin-inline: 0; }
}

/* Convite final: foto ao lado do botão e dos contatos */
.cta__row { display: grid; grid-template-columns: minmax(150px, 210px) 1fr; gap: clamp(20px, 3vw, 32px); align-items: center; margin-top: 34px; }
.cta__row .cta__photo { margin: 0; width: 100%; }
.cta__actions .btn { margin-top: 0; }
.cta__actions .cta__contacts { margin-top: 22px; }
@media (max-width: 560px) {
  .cta__row { grid-template-columns: 116px 1fr; gap: 16px; align-items: center; }
  .cta__actions .btn { width: 100%; justify-content: center; padding-inline: 14px; font-size: .9rem; }
  .cta__actions .cta__contacts { font-size: .86rem; margin-top: 16px; }
}

/* Alinhamento: tudo na mesma largura da página */
.partners { max-width: none; }
.dentists { max-width: none; }
.trust { max-width: none; }
#casos .facts { max-width: 900px; margin-inline: auto; }
#casos .disclaimer { max-width: 900px; margin-inline: auto; }

/* Destaques do topo: cada item com o seu ponto, sem ponto solto na quebra de linha */
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.hero__facts li { display: inline-flex; align-items: center; gap: 10px; }
.hero__facts li::before, .hero__facts li + li::before { content: ""; display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--caramel); margin: 0; flex: none; }
@media (max-width: 560px) { .hero__facts { flex-direction: column; gap: 6px; } }

/* Evidência no celular: menos margem dupla, mais espaço para o texto */
@media (max-width: 767px) {
  .evidence { padding: 32px 20px 28px 22px; }
  .evid { padding: 24px 20px; }
  .evid .evid__ref { padding: 12px 14px; }
  .hero__caption { margin-top: 34px; }
}

/* Convite final: botão nunca quebra ao lado da foto */
.cta__row { grid-template-columns: clamp(120px, 14vw, 210px) 1fr; }
.cta__actions .btn { white-space: nowrap; }
.cta__contacts a { white-space: nowrap; }
@media (max-width: 560px) {
  .cta__row { grid-template-columns: 112px 1fr; grid-template-areas: "foto contatos" "botao botao"; row-gap: 18px; }
  .cta__row .cta__photo { grid-area: foto; }
  .cta__actions { display: contents; }
  .cta__actions .cta__contacts { grid-area: contatos; margin-top: 0; align-self: center; }
  .cta__actions .btn { grid-area: botao; width: 100%; font-size: .95rem; }
  .cta__contacts a { white-space: normal; }
}


/* =====================================================================
   Privacidade: aviso de cookies, janela de preferências e páginas legais
   ===================================================================== */
.cc-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Aviso de cookies: faixa fixa no rodapé da tela, sem bloquear a página */
.cc {
  position: fixed; z-index: 90; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom));
  width: min(100% - 28px, 1080px); transform: translateX(-50%);
}
.cc[hidden] { display: none; }
.cc__box {
  display: flex; align-items: center; justify-content: space-between; gap: 22px 36px;
  padding: 22px 26px; background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-left: 4px solid var(--olive); border-radius: 4px;
  box-shadow: 0 28px 60px -22px rgba(31, 30, 23, .45);
}
.cc__body { min-width: 0; max-width: 62ch; }
.cc__title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .06em;
  font-size: 1.05rem; line-height: 1.2; margin: 0 0 8px; -webkit-text-stroke: .02em currentColor;
}
.cc__text { margin: 0; font-size: .92rem; line-height: 1.65; color: var(--ink-soft); }
.cc__text a, .ccd__more a { color: var(--olive); font-weight: 600; text-underline-offset: 3px; }
.cc__actions { display: flex; flex: none; gap: 10px; }
.cc__btn {
  min-height: 46px; padding: 0 22px; border-radius: 4px; cursor: pointer;
  border: 1.5px solid var(--olive); background: var(--olive); color: var(--cream);
  font-family: var(--font-body); font-size: .95rem; font-weight: 600; line-height: 1.1; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s;
}
.cc__btn:hover { background: var(--olive-deep); border-color: var(--olive-deep); }
.cc__btn--ghost { background: transparent; color: var(--olive-ink); }
.cc__btn--ghost:hover { background: var(--sand); color: var(--olive-ink); border-color: var(--olive); }
.cc__btn--save { background: var(--terracotta); border-color: var(--terracotta); }
.cc__btn--save:hover { background: var(--terracotta-deep); border-color: var(--terracotta-deep); }
@media (prefers-reduced-motion: no-preference) {
  .cc:not([hidden]) { animation: ccIn .55s var(--ease-out) both; }
  @keyframes ccIn { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }
}
/* Enquanto o aviso está na tela, o botão flutuante do WhatsApp espera (não fica um por cima do outro) */
html.cc-open .float-cta { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 899px) {
  .cc__box { flex-direction: column; align-items: stretch; padding: 18px 18px 16px; gap: 14px; }
  .cc__title { font-size: .98rem; margin-bottom: 6px; }
  .cc__text { font-size: .86rem; line-height: 1.55; }
  .cc__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .cc__btn { padding: 0 12px; }
  .cc__btn--ghost { grid-column: 1 / -1; min-height: 42px; }
}

/* Janela de preferências */
.ccd {
  width: min(640px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; overflow: auto;
  border: 0; border-left: 4px solid var(--olive); border-radius: 4px; background: var(--paper); color: var(--ink);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6);
}
.ccd::backdrop { background: rgba(31, 30, 23, .6); }
.ccd__inner { --ccd-pad: clamp(22px, 4vw, 34px); padding: var(--ccd-pad); }
.ccd__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ccd__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .05em; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); line-height: 1.2; margin: 0; -webkit-text-stroke: .02em currentColor; }
.ccd__x { flex: none; width: 44px; height: 44px; margin: -6px -8px 0 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); cursor: pointer; }
.ccd__x svg { width: 20px; height: 20px; }
.ccd__x:hover { background: var(--sand); }
.ccd__lead { margin: 14px 0 22px; font-size: .95rem; line-height: 1.7; color: var(--ink-soft); }
.ccd__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ccd__row { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ccd__name { font-family: var(--font-accent); font-weight: 600; font-size: 1.02rem; margin: 0 0 4px; }
.ccd__desc { margin: 0; font-size: .88rem; line-height: 1.65; color: var(--ink-soft); }
.ccd__always { flex: none; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); }
.ccd__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.ccd__actions .cc__btn { flex: 1 1 150px; }
.ccd__more { margin: 18px 0 0; font-size: .84rem; color: var(--ink-soft); }
@media (max-width: 560px) {
  .ccd__inner { padding-bottom: 0; }
  .ccd__row { gap: 14px; padding: 14px 0; }
  .ccd__desc { font-size: .85rem; line-height: 1.6; }
  .ccd__lead { margin: 10px 0 16px; }
  /* barra de botões sempre visível no fim da janela, mesmo com a lista rolando */
  .ccd__actions {
    position: sticky; bottom: 0; z-index: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    margin: 16px calc(-1 * var(--ccd-pad)) 0; padding: 14px var(--ccd-pad) calc(14px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line);
  }
  .ccd__actions .cc__btn { flex: none; }
  .ccd__actions .cc__btn--save { grid-column: 1 / -1; }
}

/* Chave liga/desliga */
.sw { flex: none; position: relative; width: 54px; height: 32px; }
.sw input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sw__ui { position: absolute; inset: 0; border-radius: 999px; border: 1.5px solid var(--olive); background: var(--sand); transition: background .25s; }
.sw__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 23px; height: 23px; border-radius: 50%; background: var(--olive); transition: transform .25s var(--ease-out), background .25s; }
.sw input:checked + .sw__ui { background: var(--olive); }
.sw input:checked + .sw__ui::after { transform: translateX(22px); background: var(--cream); }
.sw input:focus-visible + .sw__ui { outline: 2px solid var(--terracotta); outline-offset: 3px; }

/* Link com cara de link, mas que é botão (abre as preferências) */
.linklike { appearance: none; background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; text-decoration: none; transition: color .3s; }
.site-footer .linklike { color: var(--cream-soft); }
.site-footer .linklike:hover { color: var(--cream); }
.footer__legal { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: .86rem; }
.footer__legal a, .footer__legal .linklike { color: var(--cream-soft); }
.footer__legal a:hover, .footer__legal .linklike:hover { color: var(--cream); }

/* Páginas legais (privacidade, termos, cookies) */
.legal-page .site-header::before { opacity: 1; }
.legal-page main { padding-top: var(--header-h); }
.legal { padding: clamp(40px, 6vw, 84px) 0 clamp(64px, 8vw, 110px); }
.legal__wrap { width: min(100% - (var(--gutter) * 2), 860px); margin-inline: auto; }
.legal__title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); line-height: 1.08; margin: 16px 0 14px; -webkit-text-stroke: .02em currentColor;
}
.legal__meta { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.legal__intro { margin: 26px 0 0; font-size: 1.08rem; line-height: 1.8; }
.legal__toc { margin: 34px 0 0; padding: 22px 26px 18px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--olive); border-radius: 4px; }
.legal__toc-title { margin: 0 0 12px; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--olive); }
.legal__toc ol { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 36px; }
.legal__toc li { break-inside: avoid; margin-bottom: 6px; line-height: 1.5; font-size: .95rem; }
.legal h2 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(1.2rem, 1.05rem + .7vw, 1.6rem); line-height: 1.25; margin: 56px 0 18px; padding-left: 16px;
  border-left: 3px solid var(--caramel); scroll-margin-top: calc(var(--header-h) + 18px); -webkit-text-stroke: .02em currentColor;
}
.legal h3 { font-family: var(--font-accent); font-weight: 600; font-size: 1.05rem; line-height: 1.4; margin: 28px 0 8px; }
.legal p { margin: 0 0 14px; line-height: 1.85; }
.legal ul, .legal ol { margin: 0 0 18px; padding-left: 1.35em; }
.legal ul { list-style: disc; }
.legal li { line-height: 1.8; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--olive); font-weight: 600; text-underline-offset: 3px; }
.legal a:hover { color: var(--terracotta); }
.legal__box { margin: 22px 0; padding: 20px 24px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--terracotta); border-radius: 4px; }
.legal__box p:last-child, .legal__box ul:last-child { margin-bottom: 0; }
.legal__id { margin: 22px 0; padding: 20px 24px; background: var(--sand); border-left: 4px solid var(--olive); border-radius: 4px; line-height: 1.8; }
.legal__id dt { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); margin-top: 10px; }
.legal__id dt:first-child { margin-top: 0; }
.legal__id dd { margin: 2px 0 0; }
.pendente { background: #FFF1A8; color: #3A3928; padding: 0 5px; border-radius: 2px; font-weight: 600; }
.legal table { width: 100%; border-collapse: collapse; margin: 18px 0 28px; font-size: .92rem; background: var(--paper); border: 1px solid var(--line); }
.legal th { text-align: left; padding: 12px 14px; background: var(--sand); font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--olive-ink); border-bottom: 2px solid var(--line); }
.legal td { padding: 13px 14px; vertical-align: top; line-height: 1.6; border-bottom: 1px solid var(--line); }
.legal td code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: var(--sand); padding: 1px 5px; border-radius: 3px; word-break: break-all; }
.legal__back { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
@media (max-width: 720px) {
  .legal__toc ol { columns: 1; }
  .legal table, .legal tbody, .legal tr, .legal td { display: block; width: 100%; }
  .legal table { border: 0; background: none; }
  .legal thead { position: absolute; left: -9999px; }
  .legal tr { margin-bottom: 14px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--caramel); border-radius: 4px; padding: 6px 0; }
  .legal td { border: 0; padding: 8px 16px; }
  .legal td::before { content: attr(data-label); display: block; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); margin-bottom: 2px; }
}
@media print {
  .site-header, .site-footer, .cc, .ccd, .float-cta, .legal__back { display: none !important; }
  .legal-page main { padding-top: 0; }
}

/* Página 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) 0 80px; }
.notfound__num { font-family: var(--font-display); font-size: clamp(5rem, 3rem + 10vw, 11rem); line-height: 1; color: var(--terracotta); margin: 0; -webkit-text-stroke: .02em currentColor; }
.notfound p { margin: 10px auto 28px; max-width: 40ch; color: var(--ink-soft); line-height: 1.7; }

/* Casos reais: legenda no topo, à esquerda, e a nota embaixo da foto */
.case__title--top { text-align: left; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); }
.case--ba .case__note { margin-top: 0; text-align: left; }

/* Caso de lentes: foto no lugar do vídeo */
.arch--lentes img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Reels: tocar no vídeo abre o Instagram da Dra. Renata; o botão de som fica por cima */
.watch__link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.watch__link:focus-visible { outline: 2px solid var(--cream); outline-offset: -4px; }
.watch__frame .watch__sound { z-index: 2; }
