/* Método Singular · Dr. Rodrigo Dallegrave
   Um arquivo para as três páginas (home, casos, obrigado).
   Identidade da referência: ameixa, creme, areia e dourado como único acento; Montserrat + Gelasio itálico.
   Recursos modernos usados com degradação segura: @property, :has(), color-mix(), animation-timeline,
   <dialog>, view transitions entre páginas, details com animação, container-friendly clamp(). */

@view-transition { navigation: auto; }
@property --giro { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --plum: #3E2238; --plum-deep: #2A1626; --cream: #FBF9F5; --sand: #F2E8DA; --stone: #EEEDE4;
  --gold: #C89B63; --gold-soft: #E3C79F; --brown: #7A5A3A; --text: #4A3A45; --muted: #6B5A63;
  --line: #E4DACB; --line-dark: #D9CDBA; --card: #FFFDF9; --sage: #A5B09A; --field: #CDBFA9;
  --wa: #25D366; --wa-deep: #128C7E;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Gelasio', Georgia, serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 66px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}
@media (min-width: 1080px) { :root { --header-h: 78px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.7; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
@media (min-width: 720px) { body { font-size: 17px; } }
body.is-locked { overflow: hidden; }
h1, h2, h3, h4, p, ul, ol, blockquote, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
img, video { display: block; max-width: 100%; }
a { color: var(--plum); }
::selection { background: var(--gold-soft); color: var(--plum-deep); }
a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip-link { position: absolute; z-index: 200; left: 12px; top: -60px; padding: 12px 18px; border-radius: 6px; background: var(--plum); color: var(--cream); font-weight: 600; text-decoration: none; transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: clamp(56px, 9vw, 104px); }
.sec-sand { background: var(--sand); }
.sec-stone { background: var(--stone); }
.sec-end { margin-top: clamp(32px, 4vw, 48px); }

/* ---------- Tipografia ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .18em; font-weight: 600; text-transform: uppercase; color: var(--brown); }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.on-dark { color: var(--gold-soft); }
.h2 { margin-top: 18px; font-weight: 300; font-size: clamp(28px, 6.4vw, 48px); line-height: 1.12; letter-spacing: -.02em; color: var(--plum); }
.h2.md { font-size: clamp(28px, 5.6vw, 46px); line-height: 1.14; }
.h2 em, .h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.lead { margin-top: 22px; font-size: clamp(16px, 2.4vw, 18px); }
.row { display: flex; flex-wrap: wrap; gap: 36px 72px; align-items: flex-start; }
.col { flex: 1 1 min(100%, 420px); min-width: 0; }
.col > p + p { margin-top: 18px; }

/* ---------- Botões ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 32px; min-height: 52px; border: 0; border-radius: 6px; background: var(--plum); color: var(--cream); font: 600 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); -webkit-tap-highlight-color: transparent; }
.btn::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(227,199,159,.32) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn svg { flex: none; transition: transform .25s var(--ease); }
.btn:hover { background: var(--plum-deep); color: var(--cream); transform: translateY(-2px); box-shadow: 0 14px 30px color-mix(in srgb, var(--plum) 28%, transparent); }
.btn:hover::before { transform: translateX(120%); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn:disabled { opacity: .7; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-lg { min-height: 58px; padding-inline: 34px; }
.btn-sm { width: auto !important; white-space: nowrap; min-height: 44px; padding: 0 22px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--plum); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--plum) 30%, transparent); }
.btn-ghost:hover { background: var(--plum); color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--plum), 0 14px 30px color-mix(in srgb, var(--plum) 28%, transparent); }
.btn.on-dark { background: var(--gold-soft); color: var(--plum-deep); }
.btn.on-dark:hover { background: var(--cream); color: var(--plum-deep); }
.btn-wa { background: linear-gradient(135deg, var(--wa), var(--wa-deep)); color: #fff; }
.btn-wa:hover { background: linear-gradient(135deg, var(--wa), var(--wa-deep)); filter: brightness(1.06); color: #fff; }
.more { display: inline-block; margin-top: 20px; padding-bottom: 3px; font-weight: 600; font-size: 15px; color: var(--plum); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat; transition: background-size .35s var(--ease), color .25s; }
.more:hover { background-size: 100% 100%; background-image: linear-gradient(var(--gold-soft), var(--gold-soft)); }

/* ---------- Revelar ao rolar (só quando há JavaScript) ---------- */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- Cabeçalho ---------- */
.top { position: sticky; top: 0; z-index: 80; background: color-mix(in srgb, var(--cream) 88%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
.top::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
@supports (animation-timeline: scroll()) {
  .top::after { transform: scaleX(0); animation: progresso linear both; animation-timeline: scroll(root); }
  @keyframes progresso { to { transform: scaleX(1); } }
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--plum); text-decoration: none; min-width: 0; }
.brand img { width: auto; height: 42px; transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.05); }
.brand b { display: block; font-size: 15px; letter-spacing: .16em; font-weight: 300; line-height: 1.3; white-space: nowrap; }
.brand b strong { font-weight: 700; }
.brand small { display: block; font-size: 9.5px; letter-spacing: .18em; color: var(--muted); white-space: nowrap; }
@media (min-width: 1080px) { .brand img { height: 50px; } .brand b { font-size: 17px; } .brand small { font-size: 10.5px; } }

.menu-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line-dark); border-radius: 50%; background: var(--cream); cursor: pointer; }
.menu-btn span { grid-area: 1 / 1; width: 18px; height: 1.8px; background: var(--plum); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn span:nth-child(1) { transform: translateY(-6px); }
.menu-btn span:nth-child(3) { transform: translateY(6px); }
.menu-btn[aria-expanded='true'] span:nth-child(1) { transform: rotate(45deg); }
.menu-btn[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded='true'] span:nth-child(3) { transform: rotate(-45deg); }

.nav { position: fixed; z-index: 70; top: var(--header-h); left: 0; right: 0; display: grid; gap: 0; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; padding: 8px var(--gutter) 24px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(42,22,38,.12); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.nav.is-open { opacity: 1; visibility: visible; transform: none; }
.nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav .btn { margin-top: 18px; }
@media (min-width: 1080px) {
  .menu-btn { display: none; }
  .nav { position: static; display: flex; align-items: center; gap: 8px 28px; max-height: none; padding: 0; overflow: visible; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; font-size: 14px; }
  .nav a:not(.btn) { position: relative; padding: 6px 0; border: 0; font-size: 14px; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease), color .2s; }
  .nav a:not(.btn):hover { color: var(--brown); background-size: 100% 1.5px; }
  .nav .btn { margin: 0; min-height: 44px; padding-inline: 22px; font-size: 14px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 96px); }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 44px 64px; }
.hero .txt { flex: 1 1 min(100%, 520px); min-width: 0; }
.h1 { margin-top: 22px; font-weight: 300; font-size: clamp(32px, 7.2vw, 60px); line-height: 1.08; letter-spacing: -.02em; color: var(--plum); }
.hero .sub { max-width: 560px; margin-top: 28px; font-size: clamp(16px, 2.6vw, 19px); }
.hero .sub2 { max-width: 560px; margin-top: 16px; font-size: 16px; color: var(--muted); }
.hero .btn { margin-top: 36px; }
.portrait { flex: 1 1 min(100%, 340px); min-width: 0; display: flex; flex-direction: column; align-items: center; }
.disc-wrap { position: relative; width: 100%; max-width: min(440px, 82vw); }
.disc-wrap::before { content: ''; position: absolute; inset: -12px; border-radius: 50%; background: conic-gradient(from var(--giro), var(--gold), transparent 28%, var(--gold-soft) 55%, transparent 78%, var(--gold)); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); animation: giro 16s linear infinite; }
@keyframes giro { to { --giro: 360deg; } }
.disc { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: var(--plum); box-shadow: 0 0 0 10px #E9E6DA, 0 30px 60px rgba(62,34,56,.18); }
.disc img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform 1.2s var(--ease); }
.disc-wrap:hover .disc img { transform: scale(1.05); }
.id-card { width: 100%; max-width: 440px; margin-top: 44px; padding: 20px 28px; border-radius: 6px; background: var(--plum); color: var(--sand); border-left: 3px solid var(--gold); }
.id-card .n { font-size: 13px; letter-spacing: .16em; font-weight: 500; }
.id-card .c { margin-top: 4px; font-size: 14px; }

/* ---------- Cards de obstáculos ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 22px; margin-top: clamp(36px, 6vw, 56px); }
.card { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px, 3vw, 36px); transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .35s, border-color .35s; }
.card::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.card h3 { font-size: clamp(18px, 2.6vw, 21px); font-weight: 500; line-height: 1.3; color: var(--plum); }
.card .lab { margin-top: 22px; font-size: 12px; letter-spacing: .16em; font-weight: 600; text-transform: uppercase; color: var(--brown); }
.card .lab + p { margin-top: 6px; font-size: 16px; }
.card .lab.second { margin-top: 20px; }
@media (hover: hover) {
  .card:hover { transform: translateY(-5px); border-color: var(--gold-soft); box-shadow: 0 20px 44px rgba(62,34,56,.12); }
  .card:hover::before { transform: scaleX(1); }
  .cards:has(.card:hover) .card:not(:hover) { opacity: .62; }
}

/* ---------- Pilares e caminhos ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 36px 32px; margin-top: clamp(36px, 6vw, 56px); }
.pillar { position: relative; padding-top: 22px; }
.pillar::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: var(--gold); transform-origin: 0 50%; transition: transform .9s var(--ease); }
.pillar .k { display: flex; align-items: baseline; gap: 12px; font-family: var(--serif); font-size: 22px; color: var(--brown); transition: color .3s; }
.pillar .k b { font-family: var(--sans); font-size: 12px; letter-spacing: .18em; font-weight: 600; color: var(--plum); }
.pillar h3 { margin-top: 10px; font-size: 20px; font-weight: 500; line-height: 1.3; color: var(--plum); }
.pillar p { margin-top: 12px; font-size: 16px; }
.pillar:hover .k { color: var(--gold); }
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .pillar[data-reveal]::before { transform: scaleX(0); }
  .pillar.is-in::before { transform: scaleX(1); }
}

.paths { margin-top: clamp(56px, 9vw, 88px); }
.paths h3.t { margin-top: 16px; font-weight: 300; font-size: clamp(24px, 4.6vw, 38px); line-height: 1.15; letter-spacing: -.02em; color: var(--plum); }
.paths .intro { max-width: 680px; margin-top: 18px; }
.pcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 22px; margin-top: 36px; }
.pcard { position: relative; border: 1px solid transparent; border-radius: 8px; padding: clamp(24px, 3vw, 32px); background: linear-gradient(var(--cream), var(--cream)) padding-box, linear-gradient(var(--line), var(--line)) border-box; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pcard .k { font-family: var(--serif); font-size: 18px; color: var(--brown); }
.pcard h4 { margin-top: 12px; font-size: 28px; font-weight: 300; color: var(--plum); letter-spacing: -.01em; }
.pcard .s { margin-top: 12px; font-size: 16px; font-weight: 500; color: var(--plum); }
.pcard .d { margin-top: 10px; font-size: 16px; }
@media (hover: hover) {
  .pcard:hover { transform: translateY(-5px); box-shadow: 0 22px 46px rgba(62,34,56,.12); background: linear-gradient(var(--cream), var(--cream)) padding-box, conic-gradient(from var(--giro), var(--gold), var(--gold-soft), var(--line), var(--gold)) border-box; animation: giro 6s linear infinite; }
}
.paths .btn { margin-top: 44px; }

/* ---------- Ciência e "para você?" ---------- */
.science-box { flex: 1 1 min(100%, 440px); min-width: 0; padding: clamp(26px, 4vw, 44px); border-radius: 8px; background: radial-gradient(120% 90% at 100% 0%, #5a3452 0%, transparent 60%), var(--plum); color: var(--cream); }
.science-box h3 { font-size: clamp(18px, 2.6vw, 21px); font-weight: 500; line-height: 1.3; }
.science-box p { margin-top: 8px; font-size: 16px; color: var(--sand); }
.science-box hr { height: 1px; margin: 30px 0; border: 0; background: #6A4A62; }
.fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 22px; margin-top: clamp(32px, 5vw, 48px); }
.fit-card { background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px, 3vw, 36px); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.fit-card.yes { border-top: 4px solid var(--sage); }
.fit-card.no { border-top: 4px solid var(--gold); }
.fit-card h3 { font-size: clamp(19px, 2.8vw, 22px); font-weight: 500; color: var(--plum); }
.fit-card ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; font-size: 16px; }
.fit-card li { position: relative; padding-left: 34px; }
.fit-card li::before { content: ''; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--sage) 34%, transparent) center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none' stroke='%233E2238' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 5.2 4.6 8.2 10.5 1.8'/%3E%3C/svg%3E"); }
.fit-card.no li::before { background: color-mix(in srgb, var(--gold) 28%, transparent) center / 10px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none' stroke='%237A5A3A' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M1.5 1.5l7 7M8.5 1.5l-7 7'/%3E%3C/svg%3E"); }
@media (hover: hover) { .fit-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(62,34,56,.1); } }
.pull { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--gold); font-family: var(--serif); font-size: clamp(19px, 2.6vw, 24px); line-height: 1.45; color: var(--plum); }
.pull.plain { max-width: 820px; margin-top: 40px; padding: 0; border: 0; font-size: clamp(17px, 2.4vw, 22px); }

/* ---------- Vídeos ---------- */
.vid-bar { display: block; width: 52px; height: 3px; margin-bottom: 22px; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); }
.vid-wrap { position: relative; margin-top: clamp(28px, 5vw, 44px); }
.vid-track { display: flex; gap: 18px; overflow-x: auto; padding: 4px 2px 8px; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.vid-track::-webkit-scrollbar { display: none; }
.vid-track.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.vid { position: relative; flex: 0 0 min(72%, 300px); aspect-ratio: 9 / 16; overflow: hidden; border-radius: 8px; background: linear-gradient(180deg, #4C2C45 0%, #2A1626 55%, #150A13 100%); scroll-snap-align: start; box-shadow: 0 14px 34px rgba(42,22,38,.18); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.vid video { width: 100%; height: 100%; object-fit: cover; }
.vid::after { content: ''; position: absolute; inset: auto 0 0; height: 36%; background: linear-gradient(180deg, transparent, rgba(21,10,19,.55)); pointer-events: none; }
@media (hover: hover) { .vid:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(42,22,38,.28); } }
.vid-arrow { position: absolute; z-index: 3; top: 50%; display: none; place-items: center; width: 46px; height: 46px; margin-top: -23px; padding: 0; border: 0; border-radius: 50%; background: var(--cream); color: var(--plum); cursor: pointer; box-shadow: 0 4px 16px rgba(62,34,56,.26); transition: transform .25s var(--ease), background .25s; }
.vid-arrow:hover { background: var(--sand); transform: scale(1.08); }
.vid-arrow.prev { left: 8px; } .vid-arrow.next { right: 8px; }
.vid-wrap:not(.is-static) .vid-arrow { display: grid; }
.vid-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.vid-wrap.is-static + .vid-dots { display: none; }
.vid-dots span { width: 8px; height: 8px; border-radius: 4px; background: var(--line-dark); transition: width .25s var(--ease), background .25s; }
.vid-dots span.on { width: 28px; background: var(--gold); }
@media (min-width: 560px) { .vid { flex-basis: calc((100% - 18px) / 2); max-width: none; } }
@media (min-width: 760px) { .vid { flex-basis: calc((100% - 36px) / 3); } }
@media (min-width: 1040px) { .vid { flex-basis: calc((100% - 54px) / 4); } .vid-arrow.prev { left: -20px; } .vid-arrow.next { right: -20px; } }

/* ---------- Jornada ---------- */
.steps-list { margin: clamp(32px, 5vw, 52px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); counter-reset: etapa; }
.steps-list li { position: relative; display: flex; flex-wrap: wrap; gap: 8px 40px; padding: clamp(22px, 3vw, 30px) 0; border-bottom: 1px solid var(--line); transition: padding-left .4s var(--ease), background .4s; }
.steps-list li::before { content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease); }
.steps-list li.is-in::before { transform: scaleX(1); }
.steps-list .k { flex: 0 0 110px; font-family: var(--serif); font-size: 22px; color: var(--brown); transition: color .3s; }
.steps-list .b { flex: 1 1 min(100%, 360px); min-width: 0; }
.steps-list h3 { font-size: clamp(18px, 2.6vw, 20px); font-weight: 500; color: var(--plum); }
.steps-list p { margin-top: 8px; font-size: 16px; }
@media (hover: hover) { .steps-list li:hover { padding-left: 16px; background: linear-gradient(90deg, color-mix(in srgb, var(--gold-soft) 22%, transparent), transparent 70%); } .steps-list li:hover .k { color: var(--gold); } }
.callout { max-width: 860px; margin-top: clamp(32px, 5vw, 48px); padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 36px); border-radius: 8px; border-left: 3px solid var(--gold); background: var(--sand); font-family: var(--serif); font-size: clamp(17px, 2.4vw, 21px); line-height: 1.5; color: var(--plum); }

/* ---------- FAQ ---------- */
details.faq { border-bottom: 1px solid var(--line-dark); interpolate-size: allow-keywords; }
details.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; padding: 22px 0; list-style: none; cursor: pointer; font-size: clamp(16px, 2.4vw, 18px); font-weight: 500; line-height: 1.4; color: var(--plum); transition: color .25s; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; flex: none; font-size: 28px; font-weight: 300; line-height: 1; color: var(--brown); transition: transform .35s var(--ease); }
details.faq summary:hover { color: var(--brown); }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { max-width: 760px; padding-bottom: 26px; }
details.faq::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
details.faq[open]::details-content { block-size: auto; }

/* ---------- Médico ---------- */
.doc-photo { position: relative; width: 100%; max-width: 420px; aspect-ratio: 4 / 5; }
.doc-photo::before { content: ''; position: absolute; inset: 0; border: 1.5px solid var(--gold); border-radius: 8px; transform: translate(14px, 14px); transition: transform .5s var(--ease); }
.doc-photo .frame { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 8px; background: var(--plum); }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 24% 50%; transition: transform 1.2s var(--ease); }
.doc-photo:hover::before { transform: translate(8px, 8px); }
.doc-photo:hover img { transform: scale(1.04); }
.doc h2 { margin-top: 18px; font-weight: 300; font-size: clamp(30px, 6vw, 52px); line-height: 1.1; letter-spacing: -.02em; color: var(--plum); }
.doc .reg { margin-top: 12px; font-size: 16px; font-weight: 500; color: var(--plum); }
.doc .esp { margin-top: 2px; font-size: 15px; color: var(--muted); }
.doc ul { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 16px; }
.doc li { position: relative; padding-left: 26px; }
.doc li::before { content: ''; position: absolute; left: 2px; top: .75em; width: 12px; height: 1.5px; background: var(--gold); }
.doc blockquote { margin-top: 32px; padding-left: 24px; border-left: 3px solid var(--gold); }
.doc blockquote p:first-child { font-family: var(--serif); font-size: clamp(19px, 2.6vw, 23px); line-height: 1.45; color: var(--plum); }
.doc blockquote p + p { margin-top: 12px; font-size: 15px; color: var(--muted); }
.doc .btn { margin-top: 30px; }

/* ---------- CTA com formulário ---------- */
.cta { background: radial-gradient(70% 90% at 100% 0%, rgba(200,155,99,.2), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(200,155,99,.1), transparent 60%), var(--plum); color: var(--cream); }
.cta .h2 { color: var(--cream); font-size: clamp(28px, 6.4vw, 52px); line-height: 1.1; }
.cta .lead { color: var(--sand); }
.form { flex: 1 1 min(100%, 420px); min-width: 0; padding: clamp(24px, 4vw, 40px); border-radius: 8px; background: var(--sand); color: var(--text); box-shadow: 0 30px 70px rgba(21,10,19,.35); }
.form h3 { margin-bottom: 24px; font-weight: 300; font-size: clamp(24px, 4vw, 30px); line-height: 1.15; letter-spacing: -.01em; color: var(--plum); }
.lead-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--plum); }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 0 16px; font: 16px/1.4 var(--sans); color: var(--plum); background: var(--cream); border: 1.5px solid var(--field); border-radius: 6px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field input { height: 54px; }
.field textarea { min-height: 96px; padding: 14px 16px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.field input:hover, .field textarea:hover { border-color: var(--gold); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 24%, transparent); background: #fff; }
.field.is-invalid input { border-color: #b3402e; box-shadow: 0 0 0 4px rgba(179,64,46,.12); }
.field .err { min-height: 0; font-size: 13px; color: #9c3322; }
.form .btn { min-height: 56px; }
.form .note { font-size: 14px; line-height: 1.6; }
.form .legal { font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.form-status { display: none; padding: 14px 16px; border: 1px solid #e0b7ad; border-radius: 6px; background: #fff3f0; font-size: 14px; line-height: 1.55; color: #7e2a1c; }
.form-status.on { display: block; }
.form-status a { color: inherit; font-weight: 600; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- Rodapé ---------- */
.site-footer { padding-block: clamp(48px, 7vw, 72px) 48px; background: var(--cream); border-top: 1px solid var(--line); }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 36px 56px; align-items: start; }
.site-footer .c1 img { width: auto; height: 120px; }
.site-footer .c1 p { margin-top: 14px; font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--plum); }
.site-footer h4 { margin-bottom: 14px; font-size: 12px; letter-spacing: .18em; font-weight: 600; text-transform: uppercase; color: var(--brown); }
.site-footer .c2, .site-footer .c3 { min-width: 0; font-size: 15px; line-height: 1.7; }
.site-footer .nm { font-weight: 600; font-size: 17px; color: var(--plum); }
.site-footer ul { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-footer .c3 a { display: inline-block; padding-block: 3px; color: var(--text); text-decoration: none; transition: color .2s, transform .25s var(--ease); }
.site-footer .c3 a:hover { color: var(--brown); transform: translateX(4px); }
.site-footer .aviso { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.7; color: var(--muted); }

/* ---------- Botão flutuante e janela de contato ---------- */
.fab-dock { position: fixed; z-index: 90; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 12px; }
.fab-hint { padding: 12px 18px; border-radius: 999px; background: var(--plum); color: var(--cream); font-size: 13px; font-weight: 600; letter-spacing: .01em; box-shadow: 0 12px 32px rgba(62,34,56,.3); opacity: 0; transform: translateX(14px); transition: opacity .4s var(--ease), transform .4s var(--ease); pointer-events: none; white-space: nowrap; }
.fab-dock.show-hint .fab-hint { opacity: 1; transform: none; }
.fab-dock.show-hint.is-collapsed .fab-hint { opacity: 0; transform: translateX(14px); }
@media (hover: hover) { .fab-dock.show-hint.is-collapsed:hover .fab-hint { opacity: 1; transform: none; } }
.fab { position: relative; display: grid; place-items: center; width: 62px; height: 62px; padding: 0; border: 0; border-radius: 50%; background: linear-gradient(135deg, var(--wa), var(--wa-deep)); color: #fff; cursor: pointer; box-shadow: 0 10px 28px rgba(18,140,126,.45); transition: transform .3s var(--ease), box-shadow .3s var(--ease); -webkit-tap-highlight-color: transparent; }
.fab svg { width: 32px; height: 32px; }
.fab::after { content: ''; position: absolute; inset: 0; border-radius: 50%; animation: pulso 2.4s infinite; }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.fab:hover { transform: scale(1.08) rotate(-4deg); box-shadow: 0 16px 36px rgba(18,140,126,.55); }

dialog.modal { width: min(100% - 32px, 440px); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 16px; background: var(--cream); color: var(--text); box-shadow: 0 30px 80px rgba(21,10,19,.45); overflow: auto; }
dialog.modal::backdrop { background: rgba(42,22,38,.6); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
dialog.modal[open] { animation: modal-in .35s var(--ease); }
dialog.modal[open]::backdrop { animation: fade-in .35s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal-head { position: relative; display: flex; align-items: center; gap: 14px; padding: 22px 56px 22px 22px; background: radial-gradient(120% 140% at 100% 0%, #5a3452, transparent 60%), var(--plum); color: var(--cream); }
.modal-ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--wa), var(--wa-deep)); }
.modal-ico svg { width: 26px; height: 26px; }
.modal-head h3 { font-size: 18px; font-weight: 700; line-height: 1.2; }
.modal-head p { margin-top: 3px; font-size: 13px; color: var(--gold-soft); }
.modal-x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s, transform .25s var(--ease); }
.modal-x:hover { background: rgba(255,255,255,.28); transform: rotate(90deg); }
.modal-body { display: grid; gap: 16px; padding: 22px; }
.modal-body .btn { min-height: 54px; }
.modal-foot { font-size: 12px; text-align: center; color: var(--muted); }

/* ---------- Casos (antes e depois) ---------- */
.page-hero { padding-block: clamp(64px, 10vw, 112px); background: radial-gradient(70% 120% at 50% 0%, #5a3452 0%, transparent 65%), var(--plum); color: var(--cream); text-align: center; }
.page-hero .wrap { display: flex; flex-direction: column; align-items: center; }
.page-hero h1 { font-weight: 300; font-size: clamp(42px, 11vw, 76px); line-height: 1.04; letter-spacing: -.025em; color: var(--cream); }
.page-hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold-soft); }
.page-hero .rule { width: 56px; height: 2px; margin: 30px auto 26px; background: var(--gold); transform-origin: 50% 50%; }
.page-hero .sub { max-width: 560px; font-size: clamp(16px, 2.6vw, 18px); color: var(--sand); }
.page-hero .btn { margin-top: 38px; }

.block { padding-block: clamp(56px, 9vw, 100px); scroll-margin-top: var(--header-h); }
.block.alt { background: var(--sand); }
.block-head { max-width: 700px; margin-bottom: clamp(32px, 5vw, 48px); }
.block-head p { margin-top: 20px; font-size: clamp(16px, 2.4vw, 17px); }
.block-head p b { color: var(--plum); font-weight: 600; }
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 40px 24px; margin-bottom: clamp(40px, 6vw, 60px); }
@media (max-width: 559px) { .cases { grid-template-columns: minmax(0, 1fr); max-width: 440px; margin-inline: auto; } }
.case { min-width: 0; }
.case h3 { margin-bottom: 12px; font-size: 12px; letter-spacing: .18em; font-weight: 600; text-transform: uppercase; color: var(--brown); }
/* Comparador: o ANTES fica por baixo, o DEPOIS por cima e recortado a partir da alça.
   Arrastar para a direita descobre mais o antes; para a esquerda, mais o depois (ANTES sempre à esquerda). */
@property --pos { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
.compare { --pos: 50%; position: relative; isolation: isolate; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; border: 1px solid var(--line-dark); background: var(--sand); box-shadow: 0 14px 34px rgba(42,22,38,.12); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.c-antes { object-position: var(--pa, 50% 30%); }
.c-depois { object-position: var(--pd, 50% 30%); clip-path: inset(0 0 0 var(--pos)); }
.c-handle { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--cream); box-shadow: 0 0 0 1px rgba(42,22,38,.22), 0 0 16px rgba(42,22,38,.35); pointer-events: none; }
.c-handle::after { content: ''; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; border-radius: 50%; background: var(--cream) center / 24px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233E2238' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E"); box-shadow: 0 6px 20px rgba(42,22,38,.38), 0 0 0 3px color-mix(in srgb, var(--gold) 80%, transparent); transform: translate(-50%, -50%); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.tag { position: absolute; z-index: 2; top: 10px; padding: 5px 9px; border-radius: 4px; font-weight: 600; font-size: 10.5px; letter-spacing: .16em; line-height: 1.4; pointer-events: none; transition: opacity .25s var(--ease); }
.tag-antes { left: 10px; background: var(--plum); color: var(--cream); }
.tag-depois { right: 10px; background: var(--gold); color: var(--plum-deep); }
.compare[data-edge='start'] .tag-antes, .compare[data-edge='end'] .tag-depois { opacity: 0; }
.c-range { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.compare:has(.c-range:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }
.compare.is-dragging { cursor: grabbing; }
.compare.is-dragging .c-handle::after { transform: translate(-50%, -50%) scale(1.12); box-shadow: 0 8px 26px rgba(42,22,38,.5), 0 0 0 5px color-mix(in srgb, var(--gold) 70%, transparent); }
@media (hover: hover) {
  .compare:hover { transform: translateY(-4px); box-shadow: 0 26px 50px rgba(42,22,38,.2); }
  .compare:hover .c-handle::after { transform: translate(-50%, -50%) scale(1.08); }
}
/* Dica única: a alça passeia pela foto quando o caso aparece, para mostrar que arrasta. */
.compare.hint { animation: dica 2.4s var(--ease) .2s 1; }
@keyframes dica { 0%, 100% { --pos: 50%; } 30% { --pos: 28%; } 70% { --pos: 72%; } }
.cap { margin-top: 10px; font-size: 13px; color: var(--muted); }
.info { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px 56px; align-items: start; padding-top: clamp(32px, 5vw, 48px); border-top: 1px solid var(--line-dark); }
.info > * { min-width: 0; }
.info h4 { margin-bottom: 12px; font-size: 12px; letter-spacing: .18em; font-weight: 600; text-transform: uppercase; color: var(--brown); }
.info p { font-size: 16px; }
.info ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.info li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 16px; }
.info li::before { content: '\2713'; color: var(--gold); font-weight: 700; }
.col-info { display: grid; gap: 30px; }
.variavel { padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); }
.block .cta-row { margin-top: clamp(32px, 5vw, 48px); }

.evo { padding-block: clamp(56px, 9vw, 100px); background: var(--plum); color: var(--cream); }
.evo .h2 { color: var(--cream); }
.evo-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1px; margin-top: clamp(32px, 5vw, 44px); overflow: hidden; border: 1px solid #6A4A62; border-radius: 8px; background: #6A4A62; }
.evo-step { padding: clamp(24px, 3vw, 30px) clamp(22px, 3vw, 28px); background: var(--plum); transition: background .35s var(--ease); }
.evo-step b { display: block; margin-bottom: 10px; font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--gold-soft); }
.evo-step p { font-size: 15.5px; color: var(--sand); }
@media (hover: hover) { .evo-step:hover { background: #4a2b43; } }

.riscos .narrow { max-width: 780px; }
.riscos p { margin-top: 18px; font-size: 16.5px; }
.riscos ul { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.riscos li { padding: 15px 20px; font-size: 16px; line-height: 1.55; background: var(--card); border: 1px solid var(--line-dark); border-left: 3px solid var(--gold); border-radius: 6px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
@media (hover: hover) { .riscos li:hover { transform: translateX(6px); box-shadow: 0 10px 24px rgba(62,34,56,.08); } }

.clinica .txt { max-width: 760px; }
.clinica .lead { margin-top: 14px; font-size: clamp(16px, 2.4vw, 16.5px); }
.clinica .lead b { color: var(--plum); font-weight: 600; }
.clinica .tri { display: grid; gap: 6px; margin: 16px 0 4px; padding: 0; list-style: none; }
.clinica .tri li { font-weight: 500; color: var(--plum); }
.clinica .tri li::before { content: '\2713\00a0\00a0'; color: var(--gold); font-weight: 700; }
.clinica .fim { margin-top: 24px; font-family: var(--serif); font-size: clamp(18px, 2.6vw, 20px); line-height: 1.45; color: var(--plum); }

.contato { background: radial-gradient(70% 90% at 100% 100%, rgba(200,155,99,.18), transparent 60%), var(--plum); color: var(--cream); }
.grid2 { display: grid; grid-template-columns: 1fr; }
.contato .media { position: relative; min-height: 300px; overflow: hidden; }
.contato .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% 30%; }
.contato .content { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 48px var(--gutter) 56px; }
.contato .h2 { margin: 14px 0 28px; color: var(--cream); }
.contato .form { flex: none; max-width: 480px; box-shadow: none; }
@media (min-width: 860px) {
  .grid2 { grid-template-columns: 1fr 1fr; }
  .contato .media { min-height: 520px; }
  .contato .content { padding: 72px max(16px, env(safe-area-inset-right, 0px)) 72px 56px; }
}


/* ---------- Obrigado ---------- */
body.thanks { display: flex; flex-direction: column; min-height: 100dvh; }
.thanks main { flex: 1; display: flex; align-items: center; padding-block: clamp(40px, 8vw, 96px); }
.thanks main .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 44px 72px; }
.thanks .txt { flex: 1 1 min(100%, 440px); min-width: 0; }
.thanks .h1 { font-size: clamp(36px, 9vw, 64px); }
.thanks .sub { max-width: 520px; margin-top: 28px; font-size: clamp(17px, 2.6vw, 19px); }
.thanks .btn { margin-top: 40px; }
.thanks .photo-col { flex: 1 1 min(100%, 340px); min-width: 0; display: flex; justify-content: center; }
.thanks .site-brand { padding-block: 14px; }
.thanks-foot { padding-block: 34px; background: var(--plum); color: var(--sand); }
.thanks-foot .wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; }
.thanks-foot .nm { font-weight: 600; font-size: 17px; color: var(--cream); }
.thanks-foot .reg { font-size: 14px; letter-spacing: .06em; color: var(--gold-soft); }
.thanks .top .wrap { justify-content: flex-start; }

/* ---------- Acessibilidade e telas pequenas ---------- */
@media (max-width: 479px) {
  .brand small { display: none; }
  .brand img { height: 38px; }
  .btn { width: 100%; padding-inline: 20px; text-align: center; line-height: 1.3; }
  .btn-sm { padding-inline: 14px; font-size: 13px; }
  .btn-sm svg { display: none; }
  .brand { gap: 10px; }
  .top .wrap:has(.btn-sm) .brand b { font-size: 12px; letter-spacing: .1em; }
  .top .wrap:has(.btn-sm) .brand img { height: 34px; }
  .id-card { padding: 18px 20px; }
  .fab { width: 58px; height: 58px; }
  .steps-list .k { flex-basis: 100%; font-size: 18px; }
  .doc-photo::before { transform: translate(8px, 8px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .disc-wrap::before { animation: none; }
}
@media print { .top, .fab-dock, .nav { display: none; } }
