/* =========================================================
   Dra. Sabrina Hobold · Dentista em Florianópolis
   style.css — v8 · estúdio odontológico premium natureza
   ========================================================= */

:root{
  /* Paleta (das fotos) */
  --caramelo:#816A52;
  --marrom:#2E231A;
  --marrom-2:#493B2E;
  --marrom-3:#572E1C;
  --areia:#C5B7A1;
  --taupe:#A69275;
  --off:#F7F2EA;
  --off-2:#F2FAF9;
  --off-3:#E3D7CC;
  --bronze:#AE7C4A;
  --bronze-2:#C89B6A;
  --bronze-text:#8B5E32;   /* bronze escurecido p/ texto ≥4.5:1 */
  --gelo:#D2E1E6;
  --gelo-2:#C1CCE4;
  --cinza-q:#6E6658;

  /* Gradiente-assinatura 130° em OKLCH (croma <0.05) */
  --g1:oklch(0.95 0.025 78);   /* areia quente */
  --g2:oklch(0.985 0.008 85);  /* branco quente */
  --g3:oklch(0.93 0.022 220);  /* azul-gelo suave */
  --grad-main:linear-gradient(130deg,var(--g1) 0%,var(--g2) 52%,var(--g3) 100%);
  --grad-soft:linear-gradient(130deg,oklch(0.975 0.012 80) 0%,oklch(0.985 0.006 85) 60%,oklch(0.965 0.012 215) 100%);
  --grad-em:linear-gradient(120deg,#8B5E32 0%,#AE7C4A 55%,#C89B6A 100%);

  /* Texto */
  --ink:var(--marrom);
  --ink-2:var(--marrom-2);
  --muted:#5F5548;

  /* Tipografia */
  --serif:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  --sans:"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif;

  /* Layout */
  --header-h:76px;
  --container:1200px;
  --gutter:clamp(20px,4vw,48px);
  --radius:18px;
  --radius-s:10px;
  --shadow:0 24px 60px -24px rgba(46,35,26,.35);
  --shadow-s:0 10px 30px -14px rgba(46,35,26,.28);
  --ease:cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:var(--sans);
  font-size:clamp(16px,1.05vw,17.5px);
  line-height:1.6;
  color:var(--ink);
  background:var(--off);
  overflow-x:hidden;
  font-feature-settings:"kern","liga";
}
img,svg,iframe{display:block;max-width:100%}
img{height:auto}
a{color:var(--bronze-text);text-decoration:none;text-underline-offset:.2em}
a:hover{text-decoration:underline}
ul[role="list"],.testimonials,.shelf{list-style:none;margin:0;padding:0}
button{font:inherit;cursor:pointer}
strong{font-weight:600}
h1,h2,h3{margin:0;font-weight:500}

:focus-visible{outline:3px solid var(--bronze);outline-offset:3px;border-radius:4px}
.skip-link{position:absolute;left:12px;top:-60px;background:var(--marrom);color:var(--off);padding:10px 16px;border-radius:8px;z-index:100}
.skip-link:focus{top:12px}

.container{width:min(100% - 2*var(--gutter),var(--container));margin-inline:auto}

/* ---------- Tipografia ---------- */
.display{
  font-family:var(--serif);
  line-height:1.02;
  letter-spacing:-.012em;
  font-weight:500;
  text-wrap:balance;
}
h1.display{font-size:clamp(2.6rem,6.2vw,5rem)}
h2.display{font-size:clamp(2.2rem,4.8vw,3.9rem)}
h3.display{font-size:clamp(1.8rem,3.2vw,2.6rem)}
.display em{
  font-style:italic;
  font-weight:400;
  background:var(--grad-em);
  -webkit-background-clip:text;background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;
}
.dark .display em{background:linear-gradient(120deg,#E1B58C,#C89B6A 60%,#D2E1E6);-webkit-background-clip:text;background-clip:text}

.eyebrow{
  display:flex;align-items:center;gap:14px;
  margin:0 0 18px;
  font-size:.74rem;letter-spacing:.24em;text-transform:uppercase;font-weight:500;
  color:var(--bronze-text);
}
.eyebrow::before{content:"";width:44px;height:1px;background:linear-gradient(90deg,var(--bronze),var(--bronze-2));flex:none}
.eyebrow .num{font-family:var(--serif);font-size:1.05rem;letter-spacing:0;color:var(--caramelo);font-style:italic}
.eyebrow.small{margin-bottom:10px;font-size:.68rem}
.eyebrow.small::before{width:28px}
.dark .eyebrow{color:var(--bronze-2)}
.lead{font-size:clamp(1.05rem,1.35vw,1.25rem);line-height:1.55;color:var(--ink-2);max-width:56ch;font-weight:300}
.dark .lead{color:var(--off-3)}
.copy p{max-width:62ch}

/* ---------- Botões ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:48px;padding:12px 26px;border-radius:999px;
  font-weight:500;font-size:.95rem;letter-spacing:.02em;
  border:1px solid transparent;transition:transform .3s var(--ease),box-shadow .3s,background .3s,color .3s;
  text-decoration:none!important;
}
.btn-primary{background:var(--marrom);color:var(--off);box-shadow:0 14px 30px -14px rgba(46,35,26,.6)}
.btn-primary:hover{background:var(--marrom-3);transform:translateY(-2px)}
.btn-ghost{background:rgba(247,242,234,.55);color:var(--ink);border-color:rgba(129,106,82,.35);backdrop-filter:blur(6px)}
.btn-ghost:hover{border-color:var(--bronze);background:rgba(247,242,234,.9)}
.btn-outline{background:transparent;color:var(--ink);border-color:var(--caramelo)}
.btn-outline:hover{background:var(--marrom);color:var(--off);border-color:var(--marrom)}
.btn-block{width:100%}
.btn-header{min-height:44px;padding:10px 18px;background:var(--bronze);color:var(--off);font-size:.85rem}
.btn-header:hover{background:var(--bronze-text);transform:translateY(-1px)}

/* ---------- Header (fluxo normal) ---------- */
.site-header{
  position:relative;               /* NUNCA fixed/sticky */
  height:var(--header-h);
  background:var(--off);
  border-bottom:1px solid rgba(129,106,82,.18);
  z-index:5;
}
.header-inner{height:100%;display:flex;align-items:center;gap:clamp(14px,2.5vw,36px)}
.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none!important;flex:none}
.monogram{
  width:44px;height:44px;border-radius:12px;display:grid;place-items:center;
  font-family:var(--serif);font-size:1.6rem;font-weight:600;font-style:italic;color:var(--off);
  background:linear-gradient(135deg,var(--marrom-3),var(--caramelo) 60%,var(--bronze));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),var(--shadow-s);
}
.brand-text{display:flex;flex-direction:column;line-height:1.05}
.brand-name{font-family:var(--serif);font-size:1.15rem;letter-spacing:.14em;font-weight:600}
.brand-sub{font-size:.62rem;letter-spacing:.2em;color:var(--bronze-text);font-weight:500;margin-top:3px}
.main-nav{flex:1;min-width:0}
.main-nav ul{
  display:flex;gap:clamp(10px,1.8vw,28px);margin:0;padding:0;list-style:none;
  white-space:nowrap;overflow-x:auto;scrollbar-width:none;justify-content:center;
}
.main-nav ul::-webkit-scrollbar{display:none}
.main-nav a{
  display:inline-flex;align-items:center;min-height:44px;padding:0 4px;
  font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-2);
  position:relative;text-decoration:none!important;
}
.main-nav a::after{content:"";position:absolute;left:4px;right:4px;bottom:8px;height:1px;background:var(--bronze);transform:scaleX(0);transform-origin:left;transition:transform .3s var(--ease)}
.main-nav a:hover::after,.main-nav a[aria-current="true"]::after{transform:scaleX(1)}

/* ---------- Seções ---------- */
.section{
  position:relative;
  
  display:flex;align-items:center;
  padding:clamp(72px,9vh,120px) 0;
  background:var(--off);
}
.section > .container{width:min(100% - 2*var(--gutter),var(--container))}
.section.soft{background:var(--grad-soft)}
.grad-main{background:var(--grad-main)}
.dark{background:var(--marrom);color:var(--off)}
.dark a{color:var(--bronze-2)}
.section-head{max-width:820px;margin-bottom:clamp(36px,5vh,64px)}
.section-head.center{margin-inline:auto;text-align:center}
.section-head.center .eyebrow{justify-content:center}
.section-head.center .lead{margin-inline:auto}

.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(36px,6vw,96px);align-items:center}
.split.reverse > .copy{order:1}
.split.reverse > .notebook-wrap{order:2}

/* ---------- Hero ---------- */
.hero{overflow:hidden}
.hero::before{
  content:"";position:absolute;inset:auto -10% -30% auto;width:60vw;height:60vw;max-width:760px;max-height:760px;
  border-radius:50%;background:radial-gradient(circle,rgba(210,225,230,.65),transparent 62%);pointer-events:none;
}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(32px,5vw,80px);align-items:center;position:relative}
.hero-copy .lead{margin:22px 0 32px}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:36px}
.hero-proof{display:flex;flex-wrap:wrap;gap:18px 34px;margin:0;padding:22px 0 0;list-style:none;border-top:1px solid rgba(129,106,82,.22)}
.hero-proof li{display:flex;flex-direction:column;gap:2px}
.hero-proof strong{font-family:var(--serif);font-size:1.6rem;line-height:1;font-weight:600;color:var(--ink)}
.hero-proof span{font-size:.78rem;letter-spacing:.06em;color:var(--muted)}

.hero-media{position:relative;justify-self:end;width:100%;max-width:520px}
.portrait{margin:0;position:relative;border-radius:var(--radius) var(--radius) 160px var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.portrait img{width:100%;aspect-ratio:1/1.08;object-fit:cover;object-position:center top}
.portrait::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(46,35,26,.55),transparent 45%)}
.portrait figcaption{position:absolute;left:22px;bottom:22px;color:var(--off);display:flex;flex-direction:column;z-index:1}
.portrait figcaption span{font-family:var(--serif);font-size:1.5rem;font-weight:500}
.portrait figcaption small{font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:var(--off-3)}
.portrait-mini{
  position:absolute;left:-14%;bottom:-8%;width:36%;margin:0;border-radius:14px;overflow:hidden;
  box-shadow:var(--shadow);border:6px solid var(--off);background:var(--off);
}
.portrait-mini img{aspect-ratio:4/5;object-fit:cover}
.portrait-mini figcaption{font-family:var(--serif);font-style:italic;font-size:.95rem;padding:8px 10px;color:var(--ink-2)}
.scroll-hint{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);width:44px;height:44px;display:grid;place-items:center}
.scroll-hint span{width:1px;height:34px;background:linear-gradient(var(--bronze),transparent);animation:hint 2.2s infinite}
@keyframes hint{0%{transform:translateY(-6px);opacity:0}40%{opacity:1}100%{transform:translateY(8px);opacity:0}}

/* ---------- A Profissional ---------- */
.mosaic{display:grid;grid-template-columns:1.2fr .8fr;grid-template-rows:auto auto;gap:16px}
.mosaic figure{margin:0;border-radius:var(--radius-s);overflow:hidden;box-shadow:var(--shadow-s)}
.mosaic img{width:100%;height:100%;object-fit:cover}
.mosaic-a{grid-row:1/3;border-radius:var(--radius) 12px 12px 90px!important}
.mosaic-a img{aspect-ratio:4/5}
.mosaic-b img,.mosaic-c img{aspect-ratio:1/1}
.mosaic-quote{grid-column:1/-1;margin:6px 0 0;padding:18px 22px;border-left:2px solid var(--bronze);background:rgba(247,242,234,.7)}
.mosaic-quote p{margin:0;font-family:var(--serif);font-style:italic;font-size:1.35rem;line-height:1.25;color:var(--ink)}
.mosaic-quote cite{display:block;margin-top:6px;font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;font-style:normal;color:var(--bronze-text)}

.facts{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px;margin:28px 0}
.facts div{padding:12px 0;border-top:1px solid rgba(129,106,82,.22)}
.facts dt{font-size:.68rem;letter-spacing:.2em;text-transform:uppercase;color:var(--bronze-text);font-weight:500}
.facts dd{margin:4px 0 0;font-family:var(--serif);font-size:1.15rem;font-weight:500;color:var(--ink)}
.values{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.values li{display:flex;gap:12px;align-items:baseline;color:var(--ink-2)}
.values .dot{width:8px;height:8px;border-radius:50%;background:var(--bronze);flex:none;transform:translateY(-2px)}

/* ---------- Estante de livros 3D ---------- */
.shelf-wrap{position:relative;display:grid;grid-template-columns:1fr;gap:32px;transition:grid-template-columns .6s var(--ease)}
.shelf{
  display:grid;grid-template-columns:repeat(7,1fr);gap:clamp(12px,1.8vw,26px);
  padding:0 0 36px;position:relative;perspective:1400px;
}
.shelf::after{ /* prateleira */
  content:"";position:absolute;left:-3%;right:-3%;bottom:0;height:14px;border-radius:4px;
  background:linear-gradient(180deg,var(--taupe),var(--caramelo));
  box-shadow:0 22px 40px -14px rgba(46,35,26,.5);
}
.shelf li{display:flex;justify-content:center;align-items:flex-end}
.book-card{
  --cover-img:none;--c1:var(--off-3);--c2:var(--caramelo);
  position:relative;width:100%;max-width:170px;aspect-ratio:2/3;border:0;padding:0;background:transparent;
  transform-style:preserve-3d;transform:rotateY(-14deg);
  transition:transform .55s var(--ease),filter .4s;color:var(--off);text-align:left;
}
.book-card:hover,.book-card:focus-visible{transform:rotateY(-4deg) translateY(-12px) scale(1.03)}
.book-card[aria-expanded="true"]{transform:rotateY(0) translateY(-10px) scale(1.04)}
.book-spine{
  position:absolute;top:0;bottom:0;left:0;width:22px;
  background:linear-gradient(90deg,rgba(46,35,26,.45),rgba(46,35,26,.15));
  transform:rotateY(-90deg) translateX(-11px);transform-origin:left center;border-radius:3px 0 0 3px;
}
.book-cover{
  position:absolute;inset:0;border-radius:4px 12px 12px 4px;overflow:hidden;
  display:flex;flex-direction:column;justify-content:flex-end;padding:16px 14px 18px;
  background:
    linear-gradient(to top,rgba(46,35,26,.78),rgba(46,35,26,.15) 55%,rgba(46,35,26,.05)),
    var(--cover-img) center/cover no-repeat,
    linear-gradient(150deg,var(--c1),var(--c2));
  box-shadow:inset 8px 0 14px -10px rgba(0,0,0,.45),0 24px 40px -18px rgba(46,35,26,.55);
}
.book-cover::before{ /* filete dourado */
  content:"";position:absolute;inset:10px;border:1px solid rgba(225,181,140,.55);border-radius:2px 9px 9px 2px;pointer-events:none;
}
.book-kicker{font-size:.58rem;letter-spacing:.22em;text-transform:uppercase;color:var(--off-3);margin-bottom:6px}
.book-title{font-family:var(--serif);font-size:clamp(1.05rem,1.35vw,1.35rem);line-height:1.05;font-weight:500;text-wrap:balance}
.book-vol{margin-top:8px;font-family:var(--serif);font-style:italic;font-size:.85rem;color:var(--bronze-2)}

/* Painel lateral (data-mode=detail) — NUNCA overlay */
/* (.book-panel original foi cortado na geração; regras completas do painel estão nas seções seguintes) */

/* ===== continuação (etapa 1b) ===== */
/* ===== /css/style.css-continuacao ===== */

/* =========================================================
   DEPOIMENTOS
   ========================================================= */

#depoimentos {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(5rem, 8vw, 8rem);
  color: var(--off, #F7F2EA);
  background: var(--marrom, #2E231A);
}

#depoimentos::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.7;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 20%, rgba(200, 155, 106, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 82%, rgba(210, 225, 230, 0.08), transparent 24rem);
}

#depoimentos > .container {
  position: relative;
  z-index: 1;
}

#depoimentos .section-kicker,
#depoimentos .eyebrow,
#depoimentos .kicker {
  color: var(--bronze-2, #C89B6A);
}

#depoimentos h2,
#depoimentos h3 {
  color: var(--off, #F7F2EA);
}

#depoimentos .tst-slider {
  position: relative;
  width: min(100%, 1080px);
  margin: clamp(2.5rem, 5vw, 4.5rem) auto 0;
  padding-inline: clamp(2.5rem, 7vw, 5.25rem);
}

#depoimentos .tst-slides,
#depoimentos .slides {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(247, 242, 234, 0.18);
  border-radius: 1.5rem;
  background: rgba(247, 242, 234, 0.06);
  box-shadow: 0 1.5rem 4rem rgba(19, 12, 8, 0.2);
}

#depoimentos .tst-track {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  transition: transform 650ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

#depoimentos .tst-track > *,
#depoimentos .tst-slide,
#depoimentos .slide {
  display: grid;
  flex: 0 0 100%;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.38fr);
  gap: clamp(2rem, 6vw, 5rem);
  min-width: 100%;
  box-sizing: border-box;
  align-items: center;
  padding: clamp(2rem, 5vw, 4.75rem);
}

#depoimentos blockquote {
  position: relative;
  margin: 0;
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--off, #F7F2EA);
  font-family: var(--serif, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.65rem, 3.2vw, 3rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

#depoimentos blockquote::before {
  position: absolute;
  top: -0.55em;
  left: 0;
  content: "“";
  color: var(--bronze-2, #C89B6A);
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
}

#depoimentos blockquote p {
  margin: 0;
}

#depoimentos .tst-author,
#depoimentos cite,
#depoimentos .tst-meta {
  display: grid;
  gap: 0.25rem;
  align-self: end;
  margin: 0;
  color: rgba(247, 242, 234, 0.74);
  font-family: var(--sans, "DM Sans", sans-serif);
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#depoimentos .tst-author strong,
#depoimentos cite strong,
#depoimentos .tst-meta strong {
  color: var(--off, #F7F2EA);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

#depoimentos .tst-controls {
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 3rem;
  margin-top: 1.5rem;
}

#depoimentos .tst-prev,
#depoimentos .tst-next,
#depoimentos .prev,
#depoimentos .next {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(247, 242, 234, 0.32);
  border-radius: 50%;
  color: var(--off, #F7F2EA);
  background: rgba(247, 242, 234, 0.06);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

#depoimentos .tst-prev,
#depoimentos .prev {
  left: 0;
}

#depoimentos .tst-next,
#depoimentos .next {
  right: 0;
}

#depoimentos .tst-prev:hover,
#depoimentos .tst-next:hover,
#depoimentos .prev:hover,
#depoimentos .next:hover {
  border-color: var(--bronze-2, #C89B6A);
  color: var(--marrom, #2E231A);
  background: var(--bronze-2, #C89B6A);
  transform: translateY(-50%) scale(1.05);
}

#depoimentos .tst-prev:focus-visible,
#depoimentos .tst-next:focus-visible,
#depoimentos .prev:focus-visible,
#depoimentos .next:focus-visible {
  outline: 2px solid var(--bronze-2, #C89B6A);
  outline-offset: 4px;
}

#depoimentos .tst-prev:disabled,
#depoimentos .tst-next:disabled,
#depoimentos .prev:disabled,
#depoimentos .next:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

#depoimentos .tst-dots,
#depoimentos .dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}

#depoimentos .tst-dots button,
#depoimentos .dots button,
#depoimentos .tst-dots [role="button"],
#depoimentos .dots [role="button"] {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 1px solid rgba(247, 242, 234, 0.55);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition:
    width 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

#depoimentos .tst-dots button:hover,
#depoimentos .dots button:hover,
#depoimentos .tst-dots button.is-active,
#depoimentos .dots button.is-active,
#depoimentos .tst-dots button[aria-current="true"],
#depoimentos .dots button[aria-current="true"],
#depoimentos .tst-dots [role="button"].is-active,
#depoimentos .dots [role="button"].is-active {
  width: 1.5rem;
  border-color: var(--bronze-2, #C89B6A);
  background: var(--bronze-2, #C89B6A);
}

/* =========================================================
   FAQ
   ========================================================= */

#faq {
  background: var(--off, #F7F2EA);
  color: var(--marrom, #2E231A);
}

#faq .faq-grid,
#faq .faq-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

#faq .faq-list,
#faq .faq-items {
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
}

#faq details {
  border-top: 1px solid rgba(46, 35, 26, 0.22);
  background: transparent;
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}

#faq details:last-child {
  border-bottom: 1px solid rgba(46, 35, 26, 0.22);
}

#faq details:hover,
#faq details[open] {
  border-color: var(--taupe, #A69275);
  background: rgba(166, 146, 117, 0.09);
}

#faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.5rem;
  padding: 1.25rem 0;
  color: var(--marrom, #2E231A);
  font-family: var(--sans, "DM Sans", sans-serif);
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
  transition: color 180ms ease;
}

#faq summary::-webkit-details-marker {
  display: none;
}

#faq summary::marker {
  display: none;
  content: "";
}

#faq summary::after {
  flex: 0 0 auto;
  width: 0.65rem;
  height: 0.65rem;
  content: "";
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.2rem) rotate(45deg);
  transition:
    transform 220ms ease,
    color 180ms ease;
}

#faq details:hover summary,
#faq details[open] summary {
  color: var(--caramelo, #816A52);
}

#faq details[open] summary::after {
  transform: translateY(0.15rem) rotate(225deg);
}

#faq summary:focus-visible {
  outline: 2px solid var(--bronze, #AE7C4A);
  outline-offset: 0.35rem;
}

#faq details > :not(summary) {
  max-width: 48rem;
  margin: 0;
  padding: 0 2.2rem 1.5rem 0;
  color: rgba(46, 35, 26, 0.76);
  font-size: 0.98rem;
  line-height: 1.75;
}

#faq details > p:not(summary) {
  margin-top: -0.25rem;
}

#faq details > ul:not(summary),
#faq details > ol:not(summary) {
  padding-left: 1.25rem;
}

#faq details[open] > :not(summary) {
  animation: panel-entry 350ms ease both;
}

/* =========================================================
   O MÉTODO / CADERNO
   ========================================================= */

#metodo {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      var(--g1, var(--areia, #C5B7A1)) 0%,
      var(--g2, #fffaf3) 52%,
      var(--g3, var(--gelo, #D2E1E6)) 100%
    );
  color: var(--marrom, #2E231A);
}

#metodo .method-grid,
#metodo .method-layout,
#metodo > .container:has(> .sketchbook-host) {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(25rem, 1.14fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

#metodo .method-copy,
#metodo .method-text {
  max-width: 38rem;
}

#metodo .method-copy ul,
#metodo .method-copy ol,
#metodo .method-list,
#metodo .method-points {
  display: grid;
  gap: 0.8rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

#metodo .method-copy li,
#metodo .method-list li,
#metodo .method-points li {
  position: relative;
  padding-left: 1.6rem;
  color: rgba(46, 35, 26, 0.78);
  line-height: 1.6;
}

#metodo .method-copy li::before,
#metodo .method-list li::before,
#metodo .method-points li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  content: "";
  border-radius: 50%;
  background: var(--bronze, #AE7C4A);
  box-shadow: 0 0 0 0.25rem rgba(174, 124, 74, 0.14);
}

#metodo .sketchbook-host {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 32rem;
  overflow: hidden;
  border: 1px solid rgba(73, 59, 46, 0.2);
  border-radius: 1.4rem;
  background: rgba(247, 242, 234, 0.76);
  box-shadow:
    0 1.5rem 3.5rem rgba(73, 59, 46, 0.16),
    inset 0 0 0 0.5rem rgba(255, 255, 255, 0.25);
}

#metodo .sketchbook-host::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.35;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(73, 59, 46, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(73, 59, 46, 0.08) 1px, transparent 1px);
  background-size: 2rem 2rem;
}

#metodo .sketchbook-host > iframe,
#metodo .sketchbook-host iframe[srcdoc] {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(32rem, 48vw, 42rem);
  min-height: 32rem;
  border: 0;
  background: transparent;
}

#metodo .sketchbook-fallback {
  margin: 0;
  padding: 1.5rem clamp(1.25rem, 3vw, 2rem) 1.75rem;
  border-top: 1px solid rgba(73, 59, 46, 0.15);
  color: rgba(46, 35, 26, 0.8);
  background: rgba(247, 242, 234, 0.88);
  font-size: 0.9rem;
  line-height: 1.6;
}

#metodo .sketchbook-fallback[hidden] {
  display: none !important;
}

#metodo .sketchbook-fallback p {
  margin: 0 0 0.75rem;
  color: var(--marrom, #2E231A);
  font-weight: 600;
}

#metodo .sketchbook-fallback ul,
#metodo .sketchbook-fallback ol {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.25rem;
}

#metodo .sketchbook-fallback li {
  padding-left: 0.2rem;
}

#metodo .sketchbook-fallback a {
  color: var(--caramelo, #816A52);
  text-decoration: underline;
  text-decoration-color: rgba(129, 106, 82, 0.4);
  text-underline-offset: 0.18em;
}

/* =========================================================
   AGENDAR
   ========================================================= */

#agendar {
  position: relative;
  overflow: hidden;
  color: var(--off, #F7F2EA);
  background: var(--caramelo, #816A52);
}

#agendar .agendar-card,
#agendar .booking-card,
#agendar .schedule-card {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(247, 242, 234, 0.2);
  border-radius: 1.25rem;
  background: rgba(46, 35, 26, 0.16);
}

#agendar a {
  color: inherit;
}

/* =========================================================
   ONDE ESTAMOS / MAPA
   ========================================================= */

#onde {
  background:
    linear-gradient(
      135deg,
      var(--g1, var(--areia, #C5B7A1)) 0%,
      var(--g2, #fffaf3) 52%,
      var(--g3, var(--gelo, #D2E1E6)) 100%
    );
  color: var(--marrom, #2E231A);
}

#onde .where-grid,
#onde .location-grid,
#onde .where-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}

#onde .where-cards,
#onde .location-cards {
  display: grid;
  gap: 1rem;
}

#onde .where-card,
#onde .location-card,
#onde .info-card,
#onde .where-grid > article,
#onde .location-grid > article {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  border: 1px solid rgba(73, 59, 46, 0.16);
  border-radius: 1.1rem;
  background: rgba(247, 242, 234, 0.7);
  box-shadow: 0 1rem 2.5rem rgba(73, 59, 46, 0.08);
}

#onde .where-card:hover,
#onde .location-card:hover,
#onde .info-card:hover {
  border-color: rgba(174, 124, 74, 0.55);
}

#onde .where-icon,
#onde .location-icon,
#onde .card-icon,
#onde .where-card > [class*="icon"],
#onde .location-card > [class*="icon"],
#onde .where-card > svg:first-child,
#onde .location-card > svg:first-child {
  display: inline-grid;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 1rem;
  place-items: center;
  border: 1px solid rgba(174, 124, 74, 0.45);
  border-radius: 50%;
  color: var(--bronze, #AE7C4A);
  background: rgba(174, 124, 74, 0.1);
}

#onde .where-icon svg,
#onde .location-icon svg,
#onde .card-icon svg,
#onde .where-card > svg:first-child,
#onde .location-card > svg:first-child {
  width: 1.25rem;
  height: 1.25rem;
}

#onde .where-card h3,
#onde .location-card h3,

/* ===== final (etapa 1c) ===== */
/* ==================================================
   RODAPÉ
   ================================================== */

footer {
  padding: 64px 0 24px;
  color: #f5eee7;
  background: var(--marrom, #2e231a);
}

footer > .container {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 32px 48px;
  align-items: start;
}

footer .footer-brand,
footer .footer-nav,
footer address {
  min-width: 0;
}

footer .footer-brand {
  max-width: 360px;
}

footer .brand,
footer .brand-name {
  color: #fff;
}

footer .brand-sub,
footer p,
footer address {
  color: #ded3c8;
  line-height: 1.7;
}

footer address {
  font-style: normal;
  overflow-wrap: anywhere;
}

footer .footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

footer li + li {
  margin-top: 10px;
}

footer a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color 180ms ease;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

footer a:focus-visible {
  outline: 2px solid #f1d0a6;
  outline-offset: 5px;
  border-radius: 3px;
}

/*
  Crédito previsto no HTML:
  © <span id="year"></span> Dra. Sabrina Hobold — Criado por WebForge
  O conteúdo e a atualização do ano pertencem ao HTML/JavaScript.
*/

footer > .container > :is(small, p:last-child),
footer > .container > :has(#year),
footer > :is(small, p:last-child) {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 16%);
  color: #d1c3b5;
  font-size: 0.8125rem;
  line-height: 1.8;
}

footer > :is(small, p:last-child) {
  display: block;
  padding-inline: 24px;
  text-align: center;
}

footer :is(
  a[href*="privacidade"],
  a[href*="privacy"],
  a[href*="termos"],
  a[href*="terms"]
) {
  display: inline-block;
  padding-block: 6px;
  font-size: 0.8125rem;
}

/* ==================================================
   WHATSAPP FLUTUANTE
   ================================================== */

.wa-float {
  position: fixed;
  right: max(24px, env(safe-area-inset-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 8px 24px rgb(0 0 0 / 18%);
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  transition: transform 180ms ease, background-color 180ms ease;
}

.wa-float::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: #25d366;
  content: "";
  pointer-events: none;
  animation: wa-pulse 2.8s ease-out infinite;
}

.wa-float svg {
  display: block;
  width: 30px;
  height: 30px;
  color: #fff;
}

.wa-float svg:not([fill="none"]) {
  fill: currentColor;
}

.wa-float svg[fill="none"] {
  stroke: currentColor;
}

.wa-float i {
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.wa-float img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.wa-float:hover {
  background: #1fbd59;
  transform: translateY(-3px);
}

.wa-float:focus-visible,
.to-top:focus-visible {
  outline: 3px solid var(--marrom, #2e231a);
  outline-offset: 5px;
}

@keyframes wa-pulse {
  0% {
    opacity: 0.3;
    transform: scale(1);
  }

  75%,
  100% {
    opacity: 0;
    transform: scale(1.65);
  }
}

/* ==================================================
   VOLTAR AO TOPO
   ================================================== */

.to-top {
  position: fixed;
  right: max(32px, env(safe-area-inset-right, 0px));
  bottom: calc(100px + env(safe-area-inset-bottom, 0px));
  z-index: 1090;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgb(46 35 26 / 18%);
  border-radius: 50%;
  color: var(--marrom, #2e231a);
  background: #fffaf5;
  box-shadow: 0 4px 16px rgb(46 35 26 / 10%);
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 180ms ease, background-color 180ms ease;
}

.to-top svg {
  width: 20px;
  height: 20px;
}

.to-top:hover {
  background: #f0e5d9;
  transform: translateY(-3px);
}

.to-top[hidden],
.wa-float[hidden] {
  display: none !important;
}

/* ==================================================
   REVEALS
   ================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.d1 {
  transition-delay: 100ms;
}

.reveal.d2 {
  transition-delay: 200ms;
}

.reveal.d3 {
  transition-delay: 300ms;
}

/* ==================================================
   BASE RESPONSIVA
   ================================================== */

:root {
  --header-offset: 100px;
}

:is(
  #inicio,
  #profissional,
  #tratamentos,
  #metodo,
  #depoimentos,
  #faq,
  #agendar,
  #onde,
  #contato
) {
  scroll-margin-top: var(--header-offset);
}

.container {
  box-sizing: border-box;
}

.container > *,
.header-inner > *,
.cta-grid > * {
  min-width: 0;
}

:is(
  #inicio,
  #profissional,
  #tratamentos,
  #metodo,
  #depoimentos,
  #faq,
  #agendar,
  #onde,
  #contato
) :is(img, video, canvas) {
  max-width: 100%;
}

:is(#agendar, #contato) :is(form, fieldset, input, select, textarea) {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}

:is(#agendar, #contato) textarea {
  resize: vertical;
}

#onde iframe,
#contato iframe {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  border: 0;
}

.nav-toggle {
  display: none;
}

/*
  Seletores por atributo alcançam os grids existentes sem exigir
  novas classes no HTML.
*/

/* ==================================================
   ATÉ 1280px
   ================================================== */

@media (max-width: 1280px) {
  .container {
    width: calc(100% - 64px);
    max-width: 1160px;
    margin-inline: auto;
  }

  .header-inner {
    gap: 24px;
  }

  .main-nav,
  .main-nav > ul {
    gap: 20px;
  }

  .cta-grid {
    gap: 40px;
  }

  #inicio :is([class$="-grid"], [class*="-grid "]) {
    gap: 40px;
  }

  footer > .container {
    gap: 28px 36px;
  }
}

/* ==================================================
   ATÉ 1100px
   ================================================== */

@media (max-width: 1100px) {
  .header-inner {
    gap: 18px;
  }

  .main-nav,
  .main-nav > ul {
    gap: 14px;
  }

  .main-nav a {
    font-size: 0.875rem;
  }

  .btn-header {
    padding-inline: 16px;
    white-space: nowrap;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-sub {
    font-size: 0.6875rem;
  }

  #inicio h1 {
    font-size: clamp(2.5rem, 4.8vw, 3.75rem);
  }

  #tratamentos [data-mode="detail"] {
    gap: 28px;
  }
}

/* ==================================================
   ATÉ 1024px
   ================================================== */

@media (max-width: 1024px) {
  .container {
    width: calc(100% - 48px);
  }

  .section {
    padding-block: 72px;
  }

  .header-inner {
    gap: 12px;
  }

  .main-nav,
  .main-nav > ul {
    gap: 10px;
  }

  .main-nav a {
    font-size: 0.8125rem;
  }

  .btn-header {
    padding-inline: 12px;
    font-size: 0.8125rem;
  }

  .cta-grid {
    gap: 28px;
  }

  #profissional :is([class$="-grid"], [class*="-grid "]),
  #metodo :is([class$="-grid"], [class*="-grid "]) {
    gap: 28px;
  }

  #onde iframe,
  #contato iframe {
    height: 360px;
    min-height: 0;
  }
}

/* ==================================================
   ATÉ 980px — NAVEGAÇÃO MOBILE FULLSCREEN
   ================================================== */

@media (max-width: 980px) {
  :root {
    --header-offset: 84px;
  }

  .site-header {
    z-index: 2000;
    overflow: visible;
    transform: none;
    filter: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    contain: none;
    will-change: auto;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 16px;
    overflow: visible;
    transform: none;
    filter: none;
    contain: none;
  }

  .header-inner > .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-toggle {
    position: relative;
    z-index: 2002;
    display: inline-flex;
    flex: 0 0 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid rgb(46 35 26 / 18%);
    border-radius: 10px;
    color: var(--marrom, #2e231a);
    background: #fffaf5;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-toggle > span:not([class*="sr-only"]):not([class*="visually-hidden"]) {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 200ms ease, opacity 200ms ease;
  }

  .nav-toggle svg {
    width: 24px;
    height: 24px;
  }

  .nav-toggle:focus-visible {
    outline: 2px solid var(--marrom, #2e231a);
    outline-offset: 4px;
  }

  .main-nav {
    position: fixed;
    z-index: 2001;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding:
      calc(96px + env(safe-area-inset-top, 0px))
      24px
      calc(32px + env(safe-area-inset-bottom, 0px));
    gap: 12px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    color: var(--marrom, #2e231a);
    background: #fffaf5;
    transform: none;
  }

  .main-nav.is-open,
  .main-nav.is-visible,
  .main-nav[aria-hidden="false"],
  .site-header.is-open .main-nav,
  .site-header:has(.nav-toggle[aria-expanded="true"]) .main-nav {
    display: flex;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav > ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 8px;
    list-style: none;
  }

  .main-nav li {
    width: 100%;
    text-align: center;
  }

  .main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    max-width: 100%;
    padding: 10px 16px;
    color: inherit;
    font-size: clamp(1rem, 3vw, 1.25rem);
    line-height: 1.35;
    text-align: center;
    white-space: normal;
  }

  .main-nav .btn-header {
    margin-top: 12px;
  }

  body:has(.nav-toggle[aria-expanded="true"]),
  body:has(.main-nav.is-open),
  body:has(.main-nav.is-visible),
  body:has(.main-nav[aria-hidden="false"]) {
    overflow: hidden;
  }
}

/* ==================================================
   ATÉ 900px — HERO / ESTANTE / FORMULÁRIOS
   ================================================== */

@media (max-width: 900px) {
  #inicio > .container,
  #inicio :is([class$="-grid"], [class*="-grid "]),
  #profissional :is([class$="-grid"], [class*="-grid "]),
  #metodo :is([class$="-grid"], [class*="-grid "]),
  #depoimentos :is([class$="-grid"], [class*="-grid "]),
  #faq :is([class$="-grid"], [class*="-grid "]),
  #agendar :is([class$="-grid"], [class*="-grid "]),
  #onde :is([class$="-grid"], [class*="-grid "]),
  #contato :is([class$="-grid"], [class*="-grid "]),
  .cta-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
    gap: 32px;
  }

  #inicio > .container > *,
  #inicio :is([class$="-grid"], [class*="-grid "]) > *,
  #profissional :is([class$="-grid"], [class*="-grid "]) > *,
  #metodo :is([class$="-grid"], [class*="-grid "]) > *,
  #depoimentos :is([class$="-grid"], [class*="-grid "]) > *,
  #faq :is([class$="-grid"], [class*="-grid "]) > *,
  #agendar :is([class$="-grid"], [class*="-grid "]) > *,
  #onde :is([class$="-grid"], [class*="-grid "]) > *,
  #contato :is([class$="-grid"], [class*="-grid "]) > *,
  .cta-grid > * {
    grid-area: auto;
    min-width: 0;
    max-width: 100%;
  }

  #inicio h1 {
    max-width: 20ch;
    font-size: clamp(2.35rem, 6vw, 3.75rem);
  }

  .cta-copy,
  .cta-art {
    width: 100%;
    max-width: 100%;
  }

  #tratamentos [data-mode]:not([data-mode="detail"]) {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: stretch;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 20px;
    padding: 12px 8px 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 8px;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #a48d76 transparent;
  }

  #tratamentos [data-mode]:not([data-mode="detail"]) > * {
    position: relative;
    inset: auto;
    flex: 0 0 230px;
    box-sizing: border-box;
    width: 230px;
    max-width: 85%;
    min-width: 0;
    margin-inline: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  #tratamentos [data-mode="detail"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
    align-items: start;
    justify-items: stretch;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    gap: 28px;
    overflow: visible;
    scroll-snap-type: none;
  }

  #tratamentos [data-mode="detail"] > * {
    position: relative;
    inset: auto;
    grid-area: auto;
    min-width: 0;
    max-width: 100%;
  }

  #tratamentos [data-mode="detail"] > :first-child {
    order: 0;
    justify-self: center;
    box-sizing: border-box;
    width: 230px;
    max-width: 100%;
    margin-inline: auto;
  }

  #tratamentos [data-mode="detail"] > :last-child:not(:first-child) {
    order: 1;
    justify-self: stretch;
    width: 100%;
    margin-inline: 0;
  }

  :is(#profissional, #metodo, #tratamentos)
  :is([class*="sketchbook"], [class*="caderno"]) {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: 0;
  }

  :is(#agendar, #contato) form {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin-inline: 0;
  }

  :is(#agendar, #contato) form
  :is([class$="-grid"], [class*="-grid "]) {
    grid-template-columns: minmax(0, 1fr);
  }

  :is(#agendar, #contato)
  :is(
    input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
    select,
    textarea
  ) {
    width: 100%;
  }
}

/* ==================================================
   ATÉ 840px
   ================================================== */

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

  footer {
    padding-top: 48px;
  }

  footer > .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  footer .footer-brand {
    grid-column: 1 / -1;
    max-width: 480px;
  }

  .cta-art {
    justify-self: center;
  }

  #onde iframe,
  #contato iframe {
    height: 320px;
  }
}

/* ==================================================
   ATÉ 768px
   ================================================== */

@media (max-width: 768px) {
  .container {
    width: calc(100% - 40px);
  }

  .section {
    padding-block: 56px;
  }

  :is(
    #inicio,
    #profissional,
    #tratamentos,
    #metodo,
    #depoimentos,
    #faq,
    #agendar,
    #onde,
    #contato
  ) h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    overflow-wrap: break-word;
  }

  #depoimentos > .container,
  #faq > .container,
  #contato > .container,
  #agendar > .container {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
  }

  :is(#depoimentos, #faq, #contato, #agendar) > .container > * {
    grid-area: auto;
    min-width: 0;
    max-width: 100%;
  }

  :is(#profissional, #metodo, #tratamentos)
  :is([class*="sketchbook"], [class*="caderno"]) {
    height: auto;
    transform: none;
  }

  :is(#agendar, #contato) :is(input, select, textarea) {
    font-size: 16px;
  }

  #faq summary {
    padding-block: 16px;
    line-height: 1.5;
    overflow-wrap: break-word;
  }

  .wa-float {
    right: max(20px, env(safe-area-inset-right, 0px));
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    width: 56px;
    height: 56px;
  }

  .to-top {
    right: max(26px, env(safe-area-inset-right, 0px));
    bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }
}

/* ==================================================
   ATÉ 640px
   ================================================== */

@media (max-width: 640px) {
  .header-inner > .btn-header {
    display: none;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-name {
    font-size: 0.9375rem;
  }

  .brand-sub {
    font-size: 0.625rem;
    letter-spacing: 0.04em;
  }

  #inicio h1 {
    font-size: clamp(2.1rem, 7.5vw, 3rem);
  }

  .cta-grid {
    gap: 24px;
  }

  footer > .container {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  footer .footer-brand {
    grid-column: auto;
    max-width: 100%;
  }

  footer .footer-nav {
    gap: 8px;
  }

  footer a {
    overflow-wrap: anywhere;
  }

  #onde iframe,
  #contato iframe {
    height: 280px;
  }
}

/* ==================================================
   ATÉ 560px
   ================================================== */

@media (max-width: 560px) {
  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding-block: 48px;
  }

  #inicio > .container,
  .cta-grid {
    gap: 24px;
  }

  #tratamentos [data-mode]:not([data-mode="detail"]) {
    gap: 16px;
  }

  #tratamentos [data-mode="detail"] {
    gap: 24px;
  }

  :is(#agendar, #contato) form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
  }

  :is(#agendar, #contato) form > * {
    grid-area: auto;
    min-width: 0;
    max-width: 100%;
  }

  :is(#agendar, #contato) fieldset {
    width: 100%;
    margin-inline: 0;
  }

  :is(#agendar, #contato) form :is(button[type="submit"], input[type="submit"]) {
    width: 100%;
    min-height: 48px;
    white-space: normal;
  }

  .cta-copy > .btn,
  .cta-copy > p > .btn {
    box-sizing: border-box;
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  footer {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
}

/* ==================================================
   ATÉ 480px
   ================================================== */

@media (max-width: 480px) {
  :root {
    --header-offset: 76px;
  }

  .header-inner {
    min-height: 68px;
    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-name {
    font-size: 0.875rem;
    line-height: 1.3;
  }

  .brand-sub {
    font-size: 0.5625rem;
    line-height: 1.4;
  }

  .main-nav {
    padding-inline: 16px;
    padding-top: calc(84px + env(safe-area-inset-top, 0px));
    gap: 8px;
  }

  .main-nav a {
    font-size: 1rem;
  }

  #inicio h1 {
    font-size: clamp(2rem, 8.5vw, 2.5rem);
    line-height: 1.12;
    overflow-wrap: break-word;
  }

  #inicio p,
  .cta-copy p {
    font-size: 1rem;
    line-height: 1.65;
  }

  #tratamentos [data-mode]:not([data-mode="detail"]) {
    gap: 14px;
    padding-inline: 4px;
    scroll-padding-inline: 4px;
  }

  #onde iframe,
  #contato iframe {
    height: 240px;
  }

  .wa-float {
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
  }

  .wa-float :is(svg, img) {
    width: 27px;
    height: 27px;
  }

  .wa-float i {
    font-size: 27px;
  }

  .to-top {
    right: max(20px, env(safe-area-inset-right, 0px));
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }

  footer > .container > :is(small, p:last-child),
  footer > .container > :has(#year) {
    font-size: 0.75rem;
  }

  .reveal {
    transform: translateY(16px);
  }

  .reveal.is-visible {
    transform: translateY(0);
  }
}

/* ==================================================
   ATÉ 390px
   ================================================== */

@media (max-width: 390px) {
  .container {
    width: calc(100% - 24px);
  }

  .section {
    padding-block: 40px;
  }

  .header-inner {
    gap: 8px;
  }

  .brand-name {
    font-size: 0.8125rem;
  }

  .brand-sub {
    font-size: 0.53125rem;
    letter-spacing: 0.02em;
  }

  #inicio h1 {
    font-size: 1.95rem;
  }

  :is(
    #profissional,
    #tratamentos,
    #metodo,
    #depoimentos,
    #faq,
    #agendar,
    #onde,
    #contato
  ) h2 {
    font-size: 1.65rem;
  }

  #tratamentos [data-mode]:not([data-mode="detail"]) {
    gap: 12px;
  }

  #tratamentos [data-mode="detail"] {
    gap: 20px;
  }

  :is(#agendar, #contato) fieldset {
    padding-inline: 12px;
  }

  #onde iframe,
  #contato iframe {
    height: 220px;
  }

  footer > .container {
    gap: 24px;
  }

  .wa-float {
    right: max(12px, env(safe-area-inset-right, 0px));
  }

  .to-top {
    right: max(16px, env(safe-area-inset-right, 0px));
  }
}

/* ==================================================
   ACESSIBILIDADE — MOVIMENTO REDUZIDO
   ================================================== */

@media (prefers-reduced-motion: reduce) {
  html,
  html:focus-within {
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal.d1,
  .reveal.d2,
  .reveal.d3 {
    transition-delay: 0ms;
  }

  .wa-float::before {
    animation: none;
    opacity: 0;
  }

  .wa-float,
  .to-top,
  .nav-toggle > span,
  .main-nav {
    transition: none;
  }

  .wa-float:hover,
  .to-top:hover {
    transform: none;
  }

  #tratamentos [data-mode] {
    scroll-behavior: auto;
  }
}

/* ===== estante 3D + caderno (etapa 1d) ===== */
/* Estante 3D · Tratamentos */

.shelf-wrap,
.shelf-wrap *,
.shelf-wrap *::before,
.shelf-wrap *::after {
  box-sizing: border-box;
}

.shelf-wrap {
  --book-width: 200px;
  --book-height: 300px;
  --book-depth: 18px;

  position: relative;
  width: 100%;
  min-width: 0;
  color: var(--marrom, #2E231A);
  font-family: var(--sans, "DM Sans", sans-serif);
}

.shelf {
  display: grid;
  grid-template-columns: repeat(auto-fit, var(--book-width));
  justify-content: center;
  gap: 48px 32px;
  min-width: 0;
  margin: 0;
  padding: 32px 20px 48px;
  list-style: none;
}

.shelf > li {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0;
  perspective: 1100px;
}

.book-card {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: var(--book-width);
  height: var(--book-height);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 3px 9px 9px 3px;
  appearance: none;
  background: var(--c2, #AE7C4A);
  color: #fffaf3;
  font: inherit;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  isolation: isolate;
  perspective: 1000px;
  transform-style: preserve-3d;
  transform: rotateY(-5deg);
  transform-origin: left center;
  box-shadow:
    5px 6px 0 -2px #ded3c2,
    8px 8px 0 -3px var(--c2, #AE7C4A),
    0 16px 28px rgb(46 35 26 / 18%);
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease,
    filter 0.5s ease;
  -webkit-tap-highlight-color: transparent;
}

.book-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 20px 24px 30px;
  overflow: hidden;
  border: 1px solid rgb(255 250 243 / 28%);
  border-radius: inherit;
  background-color: var(--c1, #E1B58C);
  background-image: var(--cover-img, none);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  isolation: isolate;
  backface-visibility: hidden;
}

/* Vernis coloré : conserve la photographie sous les couleurs du livre. */
.book-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    145deg,
    var(--c1, #E1B58C),
    var(--c2, #AE7C4A)
  );
  opacity: 0.52;
  pointer-events: none;
}

/* Contraste constant derrière les textes, quelle que soit la photo. */
.book-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgb(46 35 26 / 65%) 0%,
    rgb(46 35 26 / 24%) 35%,
    rgb(46 35 26 / 78%) 100%
  );
  box-shadow:
    inset 6px 0 12px rgb(46 35 26 / 25%),
    inset -1px 0 0 rgb(255 255 255 / 25%);
  pointer-events: none;
}

.book-spine {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: var(--book-depth);
  border-radius: 3px 0 0 3px;
  background:
    linear-gradient(
      90deg,
      rgb(25 18 13 / 80%),
      rgb(46 35 26 / 28%) 55%,
      rgb(255 250 243 / 18%) 80%,
      rgb(46 35 26 / 38%)
    ),
    linear-gradient(
      180deg,
      var(--c1, #E1B58C),
      var(--c2, #AE7C4A)
    );
  box-shadow: 2px 0 5px rgb(0 0 0 / 20%);
  transform: translateZ(1px);
  pointer-events: none;
}

.book-kicker {
  display: block;
  max-width: 100%;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.book-title {
  display: block;
  margin-top: auto;
  padding-top: 24px;
  font-family: var(--serif, "Cormorant", Georgia, serif);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  text-shadow: 0 2px 8px rgb(0 0 0 / 28%);
}

.book-vol {
  display: block;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid rgb(255 250 243 / 50%);
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.12em;
}

.book-card:focus-visible {
  outline: 3px solid var(--bronze, #AE7C4A);
  outline-offset: 7px;
  transform: translateY(-8px) rotateY(-3deg);
}

@media (hover: hover) and (pointer: fine) {
  .shelf-wrap[data-mode="grid"] .book-card:hover {
    transform: translateY(-14px) rotateY(-9deg);
    box-shadow:
      5px 6px 0 -2px #ded3c2,
      8px 8px 0 -3px var(--c2, #AE7C4A),
      0 28px 38px rgb(46 35 26 / 28%);
  }
}

/* Painel fechado */
.book-panel {
  display: none;
  min-width: 0;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--bronze, #AE7C4A);
  border-radius: 8px;
  background: var(--off-2, #F2FAF9);
  color: var(--marrom, #2E231A);
  font-family: var(--sans, "DM Sans", sans-serif);
  box-shadow: 0 18px 40px rgb(46 35 26 / 8%);
  overflow-wrap: anywhere;
}

/* Modo detalhe */
.shelf-wrap[data-mode="detail"] {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.shelf-wrap[data-mode="detail"] > .shelf {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 28px 10px 36px;
  overflow: visible;
  perspective: 1100px;
}

/* Retira as caixas dos li: livros ocultos não deixam espaços vazios. */
.shelf-wrap[data-mode="detail"] .shelf > li {
  display: contents;
}

.shelf-wrap[data-mode="detail"] .book-card:not(.selected) {
  display: none;
}

.shelf-wrap[data-mode="detail"] .book-card.selected {
  display: block;
  width: 250px;
  height: 375px;
  transform: scale(1.05) rotateY(-8deg);
  transform-origin: center;
  box-shadow:
    6px 6px 0 -2px #ded3c2,
    9px 8px 0 -3px var(--c2, #AE7C4A),
    0 24px 38px rgb(46 35 26 / 25%);
}

.shelf-wrap[data-mode="detail"] .book-card.selected .book-title {
  font-size: 2.2rem;
}

.shelf-wrap[data-mode="detail"] .book-panel {
  position: relative;
  display: block;
  width: 100%;
  animation: book-panel-enter 0.45s ease both;
}

.book-panel h2,
.book-panel h3 {
  margin: 0 0 20px;
  padding-right: 28px;
  color: var(--marrom, #2E231A);
  font-family: var(--serif, "Cormorant", Georgia, serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.book-panel h4 {
  margin: 24px 0 10px;
  font-family: var(--serif, "Cormorant", Georgia, serif);
  font-size: 1.5rem;
  line-height: 1.2;
}

.book-panel p {
  margin: 0 0 16px;
  color: var(--marrom-2, #493B2E);
  font-size: 1rem;
  line-height: 1.75;
}

.book-panel ul,
.book-panel ol {
  margin: 20px 0 28px;
  padding-left: 1.3em;
  color: var(--marrom-2, #493B2E);
}

.book-panel li {
  margin: 10px 0;
  padding-left: 5px;
  line-height: 1.65;
}

.book-panel li::marker {
  color: var(--bronze, #AE7C4A);
  font-weight: 700;
}

.book-panel a:not(.btn):not(.book-cta) {
  color: var(--marrom-2, #493B2E);
  text-decoration-color: var(--bronze, #AE7C4A);
  text-underline-offset: 4px;
}

/* CTA: cobre links e botões inseridos pelo JS. */
.book-panel :is(.btn, .book-cta, a[href*="wa.me"], a[href*="api.whatsapp.com"]) {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  min-height: 48px;
  margin-top: 10px;
  padding: 13px 24px;
  border: 1px solid var(--bronze, #AE7C4A);
  border-radius: 4px;
  background: var(--marrom, #2E231A);
  color: var(--off, #F7F2EA);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
  transition:
    background-color 0.5s ease,
    transform 0.5s ease,
    box-shadow 0.5s ease;
}

/* Fechar: compatível com botão interno ou filho direto da estante. */
.shelf-wrap :is(.book-close, .book-panel-close, [aria-label^="Fechar"]) {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--areia, #C5B7A1);
  border-radius: 50%;
  background: var(--off, #F7F2EA);
  color: var(--marrom, #2E231A);
  font: inherit;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.5s ease,
    border-color 0.5s ease;
}

.shelf-wrap[data-mode="grid"] > :is(
  .book-close,
  .book-panel-close,
  [aria-label^="Fechar"]
) {
  display: none;
}

.book-panel :is(a, button):focus-visible,
.shelf-wrap :is(.book-close, .book-panel-close):focus-visible {
  outline: 3px solid var(--bronze, #AE7C4A);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .book-panel :is(.btn, .book-cta, a[href*="wa.me"], a[href*="api.whatsapp.com"]):hover {
    background: var(--marrom-2, #493B2E);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgb(46 35 26 / 16%);
  }

  .shelf-wrap :is(.book-close, .book-panel-close, [aria-label^="Fechar"]):hover {
    background: var(--areia, #C5B7A1);
    border-color: var(--bronze, #AE7C4A);
  }
}

.shelf-wrap [hidden] {
  display: none !important;
}

@keyframes book-panel-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .shelf-wrap[data-mode="grid"] > .shelf {
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    width: 100%;
    padding: 26px 18px 38px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 18px;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--bronze, #AE7C4A) var(--off, #F7F2EA);
  }

  .shelf-wrap[data-mode="grid"] .shelf > li {
    flex: 0 0 var(--book-width);
    scroll-snap-align: start;
  }

  .shelf-wrap[data-mode="grid"] .book-card {
    flex-shrink: 0;
  }

  .shelf-wrap[data-mode="detail"] {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .shelf-wrap[data-mode="detail"] > .shelf {
    width: 100%;
    padding: 24px 18px 30px;
    overflow: visible;
    scroll-snap-type: none;
  }

  .shelf-wrap[data-mode="detail"] .book-card.selected {
    width: 200px;
    height: 300px;
  }

  .shelf-wrap[data-mode="detail"] .book-card.selected .book-title {
    font-size: 1.85rem;
  }

  .shelf-wrap[data-mode="detail"] .book-panel {
    width: 100%;
    padding: 28px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shelf-wrap *,
  .shelf-wrap *::before,
  .shelf-wrap *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Caderno interativo · O Método
   O conteúdo do srcdoc possui seus próprios estilos.
   Este arquivo estiliza a moldura, o iframe e a lista externa. */

.notebook-wrap,
.notebook-wrap *,
.method-list,
.method-list * {
  box-sizing: border-box;
}

/* Organiza os componentes quando compartilham o mesmo contêiner. */
:where(*:has(> .notebook-wrap):has(> .method-list)) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.notebook-wrap {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 520px;
  min-width: 0;
  margin: auto;
  padding: 14px 14px 16px 22px;
  border: 1px solid var(--areia, #C5B7A1);
  border-radius: 6px 10px 10px 6px;
  background:
    linear-gradient(
      90deg,
      rgb(46 35 26 / 10%),
      transparent 22px
    ),
    var(--off, #F7F2EA);
  box-shadow:
    3px 3px 0 var(--off, #F7F2EA),
    4px 4px 0 var(--areia, #C5B7A1),
    7px 7px 0 var(--off, #F7F2EA),
    8px 8px 0 rgb(197 183 161 / 65%),
    0 20px 45px rgb(46 35 26 / 12%);
  perspective: 1400px;
}

/* Lombada discreta, sem bloquear os gestos dentro do iframe. */
.notebook-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 9px;
  border-radius: 6px 0 0 6px;
  background: linear-gradient(
    90deg,
    var(--marrom-2, #493B2E),
    var(--bronze, #AE7C4A) 60%,
    var(--bronze-2, #C89B6A)
  );
  pointer-events: none;
}

iframe.notebook {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  margin: 0;
  border: 0;
  border-radius: inherit;
  background: var(--off, #F7F2EA);
  box-shadow:
    inset 0 0 0 1px rgb(197 183 161 / 45%),
    0 4px 14px rgb(46 35 26 / 6%);
  color-scheme: light;
}

iframe.notebook:focus-visible {
  outline: 3px solid var(--bronze, #AE7C4A);
  outline-offset: 4px;
}

.notebook-fallback {
  margin: 14px 8px 0;
  color: var(--marrom-2, #493B2E);
  font-family: var(--sans, "DM Sans", sans-serif);
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: center;
  overflow-wrap: anywhere;
}

.notebook-fallback a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--bronze, #AE7C4A);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.5s ease;
}

.notebook-fallback a:focus-visible {
  outline: 2px solid var(--bronze, #AE7C4A);
  outline-offset: 4px;
}

.method-list {
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--marrom, #2E231A);
  font-family: var(--sans, "DM Sans", sans-serif);
}

.method-list > li {
  position: relative;
  min-height: 76px;
  margin: 0;
  padding: 8px 0 28px 82px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.method-list > li + li {
  padding-top: 24px;
}

.method-list > li:last-child {
  padding-bottom: 0;
}

/* Linha vertical entre os medalhões. */
.method-list > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 65px;
  bottom: -24px;
  left: 27px;
  width: 1px;
  background: linear-gradient(
    180deg,
    var(--bronze, #AE7C4A),
    var(--areia, #C5B7A1)
  );
  opacity: 0.65;
  pointer-events: none;
}

.method-list > li + li:not(:last-child)::after {
  top: 81px;
}

.method-list .rn {
  position: absolute;
  top: 8px;
  left: 0;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--bronze, #AE7C4A);
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    var(--bronze-2, #C89B6A),
    var(--bronze, #AE7C4A)
  );
  color: var(--marrom, #2E231A);
  font-family: var(--serif, "Cormorant", Georgia, serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  box-shadow:
    inset 0 0 0 4px rgb(247 242 234 / 18%),
    0 6px 14px rgb(46 35 26 / 10%);
}

.method-list > li + li .rn {
  top: 24px;
}

.method-list :is(h3, h4) {
  margin: 0 0 8px;
  color: var(--marrom, #2E231A);
  font-family: var(--serif, "Cormorant", Georgia, serif);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.method-list > li > strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif, "Cormorant", Georgia, serif);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.2;
}

.method-list p {
  margin: 0 0 10px;
  color: var(--marrom-2, #493B2E);
  font-size: 0.95rem;
  line-height: 1.75;
}

.method-list p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  :where(*:has(> .notebook-wrap):has(> .method-list)) {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .notebook-wrap {
    order: 0;
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  iframe.notebook {
    aspect-ratio: auto;
    height: clamp(420px, 110vw, 560px);
  }

  .method-list {
    order: 1;
    grid-column: 1 / -1;
    width: 100%;
  }

  .notebook-wrap + .method-list {
    margin-top: 12px;
  }
}

@media (max-width: 480px) {
  .notebook-wrap {
    padding: 10px 10px 12px 16px;
    box-shadow:
      3px 3px 0 var(--off, #F7F2EA),
      4px 4px 0 var(--areia, #C5B7A1),
      0 14px 28px rgb(46 35 26 / 10%);
  }

  .notebook-fallback {
    margin-inline: 2px;
    font-size: 0.75rem;
  }

  .method-list > li {
    padding-left: 68px;
  }

  .method-list .rn {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .method-list > li:not(:last-child)::after {
    top: 57px;
    left: 23px;
  }

  .method-list > li + li:not(:last-child)::after {
    top: 73px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .notebook-wrap,
  .notebook-wrap *,
  .notebook-wrap::before,
  .method-list,
  .method-list *,
  .method-list *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  /* Animações internas devem ser desativadas também no CSS do srcdoc. */
}
/* ===== REMENDOS MOBILE (correção manual de overflow) ===== */
html, body { overflow-x: clip; }

/* Hero: portrait-mini decorativo não pode vazar */
@media (max-width: 900px) {
  .hero, #inicio { overflow: hidden; }
  .portrait-mini { left: auto; right: 6%; bottom: 2%; width: 30%; }
}

/* Profissional: stats (dt/dd) quebram linha no mobile */
@media (max-width: 900px) {
  #profissional :is(.stats, .stat-list, dl, [class*="stat"]) {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  #profissional :is(dt, dd, .stat, [class*="stat"]) {
    min-width: 0 !important;
    width: auto !important;
  }
}

/* Estante: garante carrossel contido no mobile (ul.shelf com overflow REAL) */
@media (max-width: 900px) {
  #tratamentos .container,
  #tratamentos .shelf-wrap,
  #tratamentos #shelf {
    max-width: 100vw !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  #tratamentos ul.shelf {
    display: flex !important;
    flex-flow: row nowrap !important;
    gap: 20px !important;
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 24px !important;
  }
  #tratamentos ul.shelf > li {
    flex: 0 0 170px !important;
    width: 170px !important;
    scroll-snap-align: start !important;
  }
  #tratamentos .book-card {
    width: 100% !important;
    max-width: 170px !important;
  }
  /* Em detail: 1 coluna, livro em cima, painel embaixo */
  #tratamentos #shelf[data-mode="detail"] {
    overflow: visible !important;
  }
  #tratamentos #shelf[data-mode="detail"] ul.shelf {
    display: flex !important;
    overflow: visible !important;
    justify-content: center !important;
  }
  #tratamentos #shelf[data-mode="detail"] .book-card.selected {
    max-width: 200px !important;
  }
}

/* A5 — clip cirúrgico: seções clipam com margem p/ não cortar foco/sombra; container não clipa */
section { overflow: clip; overflow-clip-margin: 40px; }
.container { min-width: 0 !important; }

/* ===== REMENDO 2: dl/ficha na seção profissional (mobile) ===== */
@media (max-width: 900px) {
  #profissional dl, #profissional .facts, #profissional .bio-facts,
  #profissional [class*="fact"], #profissional [class*="info-list"] {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  #profissional dl > * {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
  }
  #profissional dl dt { margin-top: 10px !important; }
}

/* A1 — ocultar botão fechar em modo grid (qualquer profundidade) */
.shelf-wrap[data-mode="grid"] .panel-close,
.shelf-wrap[data-mode="grid"] .book-panel-close {
  display: none;
}

/* A2 — títulos das etapas do método: casar com o HTML real */
.method-list > li > div > strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif, "Cormorant Garamond", Georgia, serif);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.2;
}

/* A4 — reduced-motion desativa scroll suave */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* A9 — hero mantém tela cheia; demais seções crescem com o conteúdo */
.hero { min-height: 100vh; min-height: 100svh; }

/* ===== PÓS-REVISÃO — consolidação ===== */

/* Utilitário sr-only (usado nos depoimentos — A3) */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* A5 — respiro superior no carrossel mobile da estante:
   padding dá espaço p/ anel de foco (offset 7px) + translateY(-8px);
   a margem negativa compensa e mantém o layout idêntico. */
@media (max-width: 900px) {
  #tratamentos ul.shelf {
    padding-top: 24px !important;
    margin-top: -24px !important;
  }
}

/* A6 — decisão final: ficha (dl.facts) da profissional em 1 coluna no mobile.
   #profissional dl.facts = especificidade (1,1,1) > REMENDO 1 e REMENDO 2 (1,1,0).
   Não depende mais da ordem dos remendos. */
@media (max-width: 900px) {
  #profissional dl.facts {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }
  #profissional dl.facts > div {
    min-width: 0 !important;
  }
}
/* ==========================================================
   MELHORIAS PREMIUM — aplicação
   1 · Grão de filme nas seções .grad-main (hero + CTA)
   2 · Entrada cinematográfica do hero
   3 · Selo giratório do hero
   4 · Letreiro editorial (marquee)
   5 · Micro-interações (seleção, scrollbar, nav, botões, fotos, links)
   6 · Depoimentos: aura + aspas tipográficas + estrelas bronze
   — Não altera: estante 3D, slider, menu mobile, caderno, mapa.
   ========================================================== */

/* ---------- 1 · Grão de filme ---------- */
.grad-main {
  position: relative;
}

.grad-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
  background-size: 140px 140px;
}

/* ---------- 2 · Entrada cinematográfica do hero ---------- */
.hero .portrait {
  overflow: hidden;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-photo {
  from {
    transform: scale(1.07);
  }
  to {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero .hero-copy > * {
    animation: hero-rise 0.85s cubic-bezier(0.22, 0.61, 0.21, 1) both;
  }

  .hero .hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
  .hero .hero-copy > *:nth-child(2) { animation-delay: 0.15s; }
  .hero .hero-copy > *:nth-child(3) { animation-delay: 0.25s; }
  .hero .hero-copy > *:nth-child(4) { animation-delay: 0.35s; }
  .hero .hero-copy > *:nth-child(5) { animation-delay: 0.45s; }

  .hero .portrait {
    animation: hero-rise 1s cubic-bezier(0.22, 0.61, 0.21, 1) 0.25s both;
  }

  .hero .portrait img {
    animation: hero-photo 2.2s cubic-bezier(0.22, 0.61, 0.21, 1) 0.25s both;
  }

  .hero .portrait-mini {
    animation: hero-rise 1s cubic-bezier(0.22, 0.61, 0.21, 1) 0.55s both;
  }
}

/* ---------- 3 · Selo giratório do hero ---------- */
.hero-media {
  position: relative;
}

.hero-seal {
  position: absolute;
  top: -34px;
  right: -10px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(174, 124, 74, 0.45);
  border-radius: 50%;
  background: var(--off, #F7F2EA);
  box-shadow: 0 14px 30px rgba(46, 35, 26, 0.16);
}

.hero-seal svg {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  transform-origin: 50% 50%;
  animation: seal-rotate 22s linear infinite;
}

.hero-seal text {
  font-family: var(--sans, "DM Sans", sans-serif);
  font-size: 8.8px;
  font-weight: 500;
  letter-spacing: 1px;
  fill: var(--marrom-2, #493B2E);
}

.hero-seal .seal-letter {
  font-family: var(--serif, "Cormorant Garamond", serif);
  font-size: 2.1rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  color: var(--bronze, #AE7C4A);
  transform: translateY(-1px);
}

@keyframes seal-rotate {
  to {
    transform: rotate(360deg);
  }
}

/* No mobile o selo sai de cena para não disputar com o retrato-mini. */
@media (max-width: 900px) {
  .hero-seal {
    display: none;
  }
}

/* ---------- 4 · Letreiro editorial ---------- */
.marquee {
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid rgba(174, 124, 74, 0.28);
  border-bottom: 1px solid rgba(174, 124, 74, 0.28);
  background: linear-gradient(
    180deg,
    rgba(225, 181, 140, 0.12),
    rgba(225, 181, 140, 0.05)
  );
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: mq-scroll 34s linear infinite;
}

.mq-group {
  display: flex;
  align-items: baseline;
  gap: 3rem;
  padding-right: 3rem;
}

.mq-group span {
  white-space: nowrap;
  font-family: var(--serif, "Cormorant Garamond", serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  font-style: italic;
  color: var(--marrom-2, #493B2E);
}

.mq-group i {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--bronze, #AE7C4A);
  transform: translateY(-2px);
}

@keyframes mq-scroll {
  to {
    transform: translateX(-50%);
  }
}

@media (hover: hover) {
  .marquee:hover .marquee-track {
    animation-play-state: paused;
  }
}

/* ---------- 5 · Micro-interações ---------- */
::selection {
  background: var(--bronze, #AE7C4A);
  color: var(--off, #F7F2EA);
}

html {
  scrollbar-color: var(--areia, #C5B7A1) var(--off, #F7F2EA);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--off, #F7F2EA);
}

::-webkit-scrollbar-thumb {
  background: var(--areia, #C5B7A1);
  border: 2px solid var(--off, #F7F2EA);
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--bronze, #AE7C4A);
}

/* Sublinhado que desliza na navegação */
.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--bronze, #AE7C4A);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}

@media (hover: hover) {
  .main-nav a:hover::after {
    transform: scaleX(1);
  }
}

.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

/* Brilho que atravessa o botão principal no hover */
.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 45%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(247, 242, 234, 0.38) 50%,
    transparent 100%
  );
  transform: translateX(-170%) skewX(-18deg);
  pointer-events: none;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn-primary:hover::after {
    transform: translateX(340%) skewX(-18deg);
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

/* Zoom suave nas fotos do mosaico e da FAQ */
.mosaic figure,
.faq-art {
  overflow: hidden;
}

.mosaic figure img,
.faq-art img {
  transition: transform 1s cubic-bezier(0.22, 0.61, 0.21, 1);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .mosaic figure:hover img,
  .faq-art:hover img {
    transform: scale(1.045);
  }
}

/* Links de texto: sublinhado bronze com respiro */
.copy a:not(.btn),
.answer a {
  text-underline-offset: 3px;
  text-decoration-color: rgba(174, 124, 74, 0.55);
  transition: text-decoration-color 0.3s ease;
}

@media (hover: hover) {
  .copy a:not(.btn):hover,
  .answer a:hover {
    text-decoration-color: var(--bronze, #AE7C4A);
  }
}

/* ---------- 6 · Depoimentos (seção escura) ---------- */
.section.dark {
  position: relative;
}

.section.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    55% 45% at 50% 0%,
    rgba(200, 155, 106, 0.16),
    transparent 70%
  );
}

.section.dark > .container {
  position: relative;
  z-index: 1;
}

.tst-slide blockquote::before {
  content: "\201C";
  display: block;
  margin-bottom: 0.2em;
  font-family: var(--serif, "Cormorant Garamond", serif);
  font-size: clamp(3.6rem, 7vw, 5.4rem);
  line-height: 0.8;
  color: var(--bronze-2, #C89B6A);
  opacity: 0.5;
}

.tst-slide blockquote p {
  font-family: var(--serif, "Cormorant Garamond", serif);
  font-size: clamp(1.2rem, 1.6vw + 0.85rem, 1.45rem);
  font-weight: 500;
  line-height: 1.55;
}

.tst-author [aria-hidden="true"] {
  color: var(--bronze-2, #C89B6A);
  letter-spacing: 0.18em;
}

/* ---------- Movimento reduzido (consolidação destas melhorias) ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none !important;
  }

  .mq-group + .mq-group {
    display: none !important;
  }

  .hero-seal svg {
    animation: none !important;
  }
}