:root {
  color-scheme: dark;
  --ink: #171715;
  --paper: #f5f3ee;
  --line: #d9d6ce;
  --ease-out: cubic-bezier(.19, 1, .22, 1);
  font-family: system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  color: #f5f3ee;
  background: radial-gradient(ellipse at 78% 10%, #34312d, transparent 48%), #151514;
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }
.masthead, main { max-width: 1200px; margin-inline: auto; padding-inline: 28px; }
.masthead { padding-block: 24px; }
.masthead a { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; line-height: 1.2; }
.masthead img { border-radius: 50%; object-fit: cover; object-position: 48% 39%; }
.masthead small { display: block; color: #c3bfb8; font-size: .75rem; margin-top: 3px; }
main { display: flex; flex-direction: column; gap: 24px; padding-bottom: 40px; }
.hero, section { border-radius: 20px; padding: clamp(22px, 4vw, 48px); }
.hero {
  display: grid;
  align-content: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #55514c;
  min-height: clamp(310px, 44vw, 540px);
  background: linear-gradient(95deg, #191817 0%, #1c1b19cc 49%, #25221e28), url('/grafite.webp') center / cover, #22211f;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 40%;
  background: linear-gradient(90deg, #191817 0%, #19181730 45%), linear-gradient(0deg, #191817af, transparent 45%), url('/enzo.jpg') center 44% / cover;
  opacity: .68;
}
.hero h1, h2, p { margin: 0; }
.hero h1 { font-size: clamp(56px, 7vw, 100px); font-weight: 750; letter-spacing: -.058em; line-height: .94; }
.hero h1 span { display: block; font-weight: 350; color: #e3ded4; }
.hero p { max-width: 37ch; margin-top: 22px; color: #e4e0d9; font-size: clamp(1rem, 1.6vw, 1.16rem); }
section { min-width: 0; background: var(--paper); color: var(--ink); color-scheme: light; }
h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.08; letter-spacing: -.045em; margin-bottom: 12px; }
label { display: block; margin-block: 12px; font-weight: 640; font-size: .91rem; }
input:not([type=checkbox]), select {
  width: 100%; display: block; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #a9a59c; border-radius: 9px; margin-top: 5px; min-height: 46px; padding: 9px 12px;
}
select { text-overflow: ellipsis; }
input[type=checkbox] { width: 18px; height: 18px; vertical-align: middle; accent-color: #292723; }
button, .download {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 10px 16px; border: 1px solid #252420; border-radius: 9px; background: linear-gradient(145deg,#6a6253b8,#241f19ef);
  color: #fff; text-decoration: none; cursor: pointer; font: inherit; font-weight: 650;
  box-shadow: inset 0 1px 0 #ffffff52, 0 4px 12px #24211a30;
  backdrop-filter: blur(8px);
  transition: transform .24s var(--ease-out), box-shadow .24s var(--ease-out);
}
button:hover:not(:disabled), .download:hover { transform: translateY(-2px); box-shadow: 0 5px 15px #17171529; }
button.secondary { background: transparent; color: var(--ink); }
button:disabled { opacity: .6; }
#signup button { width: 100%; margin-top: 4px; }
#signup small { display: block; margin-top: 10px; color: #56534d; line-height: 1.4; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.formulario { display: grid; gap: 14px; scroll-margin-top: 16px; }
#signup, #qualify { max-width: 550px; }
#progress { color: #525049; font-size: .88rem; }
progress { display: block; width: 100%; height: 8px; margin: 8px 0 20px; accent-color: #38352e; }
#benefits ul { list-style: none; padding: 0; margin: 22px 0 0; }
#benefits li { border-top: 1px solid var(--line); padding: 12px 0; color: #494740; }
#benefits strong { display: block; color: var(--ink); }
.escura { background: linear-gradient(150deg,#3e3a32,#201e1a 68%); color: #f4f1e9; border: 1px solid #555046; color-scheme: dark; }
#example p + p { margin-top: 12px; color: #d9d2c2; font-size: .9rem; }
#example strong { font-size: clamp(36px, 5vw, 60px); display: block; letter-spacing: -.06em; line-height: 1.07; margin-top: 22px; }
.previa { display: grid; grid-template-columns: minmax(130px, 220px) minmax(0, 1fr); gap: clamp(20px, 5vw, 56px); align-items: center; }
.capa-ebook { display: block; width: 100%; height: auto; border-radius: 5px; box-shadow: 0 12px 28px #15151544; }
.voltar { display: flex; justify-content: center; background: url('/grafite.webp') center / cover, #22211f; border: 1px solid #555046; }
.voltar a { gap: 12px; border-color: #ffffff54; }
details { border-top: 1px solid var(--line); padding-block: 10px; }
summary { cursor: pointer; }
details p { margin-top: 7px; }
.retorno { display: inline-block; margin-top: 12px; }
.privacy { padding-block: 13px; font-size: .88rem; }
.privacy details { border-top: 0; }
#status:not(:empty) { background: #e7e1d2; border-radius: 8px; padding: 9px 12px; }
:focus-visible { outline: 3px solid #98743b; outline-offset: 3px; }
#question, #ready, #start, #capture { scroll-margin-top: 16px; }
#status:empty { display: none; }
#status:not(:empty) { margin-block: 10px; }
@keyframes aparecer { from { opacity: .78; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero h1, #confirmation, #diagnosis { animation: aparecer .22s ease-out both; }
  .entrou { animation: aparecer .48s var(--ease-out) both; }
  .hero::before { animation: foto-entrada .9s var(--ease-out) both; }
}
@keyframes foto-entrada {
  from { opacity: .38; transform: scale(1.025); }
  to { opacity: .68; transform: none; }
}
@media (max-width: 720px) {
  .masthead, main { padding-inline: 14px; }
  .masthead { padding-block: 14px; }
  main { gap: 14px; }
  .hero, section { border-radius: 15px; }
  .hero h1 { font-size: clamp(46px, 12vw, 62px); }
  .hero p { margin-top: 14px; }
  .hero::before { inset: 0 0 0 30%; }
  .previa { grid-template-columns: minmax(0, 1fr); }
  .capa-ebook { width: min(52%, 175px); justify-self: center; }
}
