/* Protótipo LP webinar clínicas — tokens do designer.md da Raevo */
:root {
  --pedra: #E9E4DA; --areia: #DCCFBE; --taupe: #B8AB98; --carvao: #1F1F1F;
  --champagne: #C7A97A; --cian: #00B8C6;
  --cian-ink: #00737C; --papel: #F3F0EA; --muted: #5F584E; --muted-dark: #A49B8D;
  --line: rgba(31, 31, 31, .14); --line-dark: rgba(233, 228, 218, .14);
  --display: "Sora", system-ui, sans-serif; --body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 5vw, 80px);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--pedra); color: var(--carvao); font: 400 16px/1.6 var(--body); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background-image: var(--noise); opacity: .06; mix-blend-mode: multiply; }
header, main, footer { position: relative; z-index: 1; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--cian); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
p { margin: 0; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 50; padding: 10px 16px; background: var(--carvao); color: #fff; }
.skip:focus { top: 16px; }
.wrap { width: min(100%, 1200px); margin-inline: auto; }
.label { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.rule { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.dark .rule { color: var(--muted-dark); }
.dark .rule::after { background: var(--line-dark); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 26px; border: 1px solid var(--champagne); border-radius: 4px; background: var(--champagne); color: var(--carvao); font: 600 15px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.btn:hover { background: var(--carvao); color: var(--champagne); border-color: var(--carvao); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-ghost { background: transparent; color: var(--carvao); border-color: var(--carvao); }
.btn-ghost:hover { background: var(--carvao); color: var(--pedra); }

/* Cabeçalho */
.top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px var(--gutter); }
.top .logo { width: 112px; }
.top-meta { display: flex; align-items: center; gap: 22px; }
.live { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--cian); box-shadow: 0 0 0 4px rgba(0, 184, 198, .16); animation: pulse 2.4s ease-in-out infinite; }
.top-link { font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--champagne); padding-bottom: 2px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(0, 184, 198, 0); } }

/* Rodapé */
.foot { padding: 44px var(--gutter) 110px; background: var(--carvao); color: var(--muted-dark); font-size: 13px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: space-between; }
.foot img { width: 100px; filter: invert(1) brightness(1.6) sepia(.15); }
.foot nav { display: flex; gap: 22px; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--pedra); }

/* Seções escuras */
.dark { background: var(--carvao); color: var(--pedra); }
.dark::before { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .05; pointer-events: none; }

/* Revelação suave */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
