/* =========================================================
   SEM SIGILO — Landing page
   Identidade: preto profundo, dourado, creme.
   Tipografia: Cormorant Garamond (títulos) + DM Sans (texto).
   ========================================================= */

:root{
  --black:#080808;
  --black-soft:#11100f;
  --gold:#CBAD89;
  --gold-light:#e3cbae;
  --gold-deep:#977653;
  --cream:#f5f0e8;
  --cream-deep:#ebe2d6;
  --ink:#151311;
  --muted:#6f675f;
  --line:#d7cbbd;
  --white:#fff;
  --danger:#a8402f;
  --success:#4a6b45;
  --serif:"Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:"DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --shell:24px;
  --header-h:82px;
}

*,*::before,*::after{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  scroll-padding-top:var(--header-h);
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
body.is-locked{overflow:hidden}

a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input,select,textarea{font:inherit;color:inherit}
p{margin:0}
h1,h2,h3,h4{margin:0;font-weight:500}

:where(a,button,input,select,summary,[tabindex]):focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:0;
  z-index:200;
  padding:14px 20px;
  background:var(--gold);
  color:#0a0908;
  font-size:13px;
  font-weight:600;
}
.skip-link:focus{left:12px;top:12px}

.site{overflow:clip}

.container{
  width:min(1120px,100%);
  margin-inline:auto;
}

.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
  border:0;
}

/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */
.header{
  position:fixed;
  inset:0 0 auto;
  z-index:60;
  padding:22px clamp(20px,5vw,76px);
  transition:background .35s ease, padding .35s ease, border-color .35s ease;
  border-bottom:1px solid transparent;
}
.header.is-scrolled{
  padding-block:14px;
  background:rgba(8,8,8,.88);
  border-bottom-color:rgba(203,173,137,.16);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.logo{
  color:var(--gold);
  font-family:var(--serif);
  font-size:27px;
  font-weight:600;
  letter-spacing:.06em;
  line-height:1;
}
.header-nav{display:flex;align-items:center;gap:12px}

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */
.hero{
  position:relative;
  min-height:100vh;
  min-height:100svh;
  display:flex;
  align-items:center;
  padding:150px var(--shell) 100px;
  color:var(--white);
  background:
    linear-gradient(90deg, rgba(3,3,3,.98) 0%, rgba(3,3,3,.93) 37%, rgba(3,3,3,.62) 55%, rgba(3,3,3,.16) 78%, rgba(3,3,3,.16) 100%),
    linear-gradient(0deg, rgba(3,3,3,.48) 0%, transparent 46%),
    url("../img/hero-advogado.png") right center / cover no-repeat;
}
.hero-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:0;
  align-items:center;
}
.hero-copy-wrap{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  max-width:620px;
}

.eyebrow,
.section-kicker{
  font-size:12px;
  line-height:1.4;
  font-weight:600;
}
.eyebrow{
  color:var(--gold-light);
  margin-bottom:23px;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.17em;
}
.section-kicker{color:var(--gold-deep);margin-bottom:17px}

.hero h1{
  max-width:620px;
  font-family:var(--serif);
  font-size:clamp(44px,5.5vw,76px);
  line-height:.94;
  letter-spacing:-.035em;
  text-wrap:balance;
}
.hero h1 > span{display:block}
.hero h1 em{font-style:italic;color:var(--gold-light)}

.hero-copy{
  max-width:570px;
  margin:27px 0 30px;
  color:rgba(255,255,255,.88);
  font-size:17px;
  line-height:1.7;
  text-wrap:pretty;
}

.micro{
  display:flex;
  align-items:center;
  gap:13px;
  margin-top:16px;
  padding:12px 16px;
  background:var(--gold);
  color:#1c1611;
  font-size:12px;
  font-weight:600;
  line-height:1.4;
}
.micro strong{
  padding-right:13px;
  border-right:1px solid rgba(28,22,17,.28);
  font-size:13px;
  white-space:nowrap;
}

/* ---------------------------------------------------------
   BOTÕES
   --------------------------------------------------------- */
.cta{
  display:inline-flex;
  min-height:58px;
  align-items:center;
  justify-content:center;
  gap:15px;
  padding:10px 27px;
  border:1px solid var(--gold);
  background:var(--gold);
  color:#0a0908;
  font-size:13px;
  font-weight:600;
  line-height:1.3;
  text-align:center;
  cursor:pointer;
  transition:transform .3s ease, background .3s ease, color .3s ease, opacity .2s ease;
}
.cta:hover{
  transform:translateY(-2px);
  background:#f1ddc5;
  border-color:#f1ddc5;
  color:#0a0908;
}
.cta[disabled],.cta.is-loading{
  opacity:.55;
  cursor:not-allowed;
  transform:none;
}
.cta--sm{
  min-height:44px;
  padding:8px 18px;
  font-size:11px;
  letter-spacing:.02em;
}
.cta--ghost{
  background:transparent;
  color:var(--gold);
}
.cta--ghost:hover{
  background:var(--gold);
  color:#0a0908;
}
.cta-arrow{font-size:19px;line-height:1}

/* ---------------------------------------------------------
   AUTORIDADE
   --------------------------------------------------------- */
.authority{
  padding:28px var(--shell);
  background:var(--gold);
  color:#0c0a09;
}
.authority-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:35px;
}
.authority-title{
  flex:none;
  font-family:var(--serif);
  font-size:27px;
  font-weight:600;
  letter-spacing:.04em;
}
.authority p:last-child{
  max-width:800px;
  color:rgba(12,10,9,.78);
  font-size:13px;
  line-height:1.6;
}

/* ---------------------------------------------------------
   SEÇÕES
   --------------------------------------------------------- */
.section{padding:110px var(--shell)}
.section h2{
  font-family:var(--serif);
  font-size:clamp(38px,5.3vw,70px);
  line-height:.98;
  letter-spacing:-.035em;
  text-wrap:balance;
}
.intro{
  max-width:710px;
  margin-top:23px;
  color:#554d45;
  font-size:16px;
  line-height:1.7;
}

/* Identificação */
.identify{background:var(--cream)}
.identify-list{
  margin-top:65px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--line);
}
.identify-item{
  min-height:205px;
  padding:27px 24px 20px 0;
  margin-right:24px;
  border-right:1px solid var(--line);
}
.identify-item:last-child{margin-right:0;border-right:0}
.identify-item::before{
  content:"";
  display:block;
  width:25px;height:1px;
  margin-bottom:18px;
  background:var(--gold);
}
.identify-item p{font-size:15px;line-height:1.7}

/* Como funciona */
.how{background:var(--black);color:#f8f3eb}
.how .section-kicker{color:var(--gold)}
.how .intro{color:rgba(255,255,255,.55)}
.steps{
  margin-top:65px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid rgba(203,173,137,.3);
}
.step{
  min-height:300px;
  padding:29px 30px 30px 0;
  margin-right:30px;
  border-right:1px solid rgba(203,173,137,.19);
}
.step:last-child{border-right:0;margin-right:0}
.step-number{
  color:var(--gold);
  font-family:var(--serif);
  font-size:25px;
}
.step h3{
  margin:54px 0 13px;
  font-family:var(--serif);
  font-size:35px;
}
.step p{
  max-width:330px;
  color:rgba(255,255,255,.57);
  font-size:13px;
  line-height:1.75;
}

/* FAQ */
.faq{background:#f0e8dd}
.faq-list{max-width:900px;margin:60px auto 0}
details{border-top:1px solid #cec0b0}
details:last-child{border-bottom:1px solid #cec0b0}
summary{
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:25px 0;
  cursor:pointer;
  font-family:var(--serif);
  font-size:clamp(21px,2.4vw,25px);
}
summary::-webkit-details-marker{display:none}
summary::after{
  content:"+";
  flex:none;
  color:var(--gold-deep);
  font-family:var(--sans);
  font-size:21px;
  font-weight:400;
}
details[open] summary::after{content:"–"}
.answer{
  max-width:760px;
  padding:0 50px 28px 0;
  color:#696057;
  font-size:14px;
  line-height:1.75;
}

/* CTA final */
.final{
  position:relative;
  padding:130px var(--shell) 115px;
  background:#080808;
  color:#fff;
  text-align:center;
  overflow:clip;
}
.final-orbit{
  position:absolute;
  width:530px;height:530px;
  top:-280px;left:50%;
  transform:translateX(-50%);
  border:1px solid rgba(203,173,137,.12);
  border-radius:50%;
  pointer-events:none;
}
.final .container{position:relative}
.final .section-kicker{color:var(--gold)}
.final h2{
  max-width:880px;
  margin-inline:auto;
  font-family:var(--serif);
  font-size:clamp(40px,5.8vw,75px);
  line-height:.94;
  letter-spacing:-.035em;
}
.final h2 em{color:var(--gold);font-style:italic}
.final .cta{margin-top:38px}
.final-note{
  margin-top:18px;
  color:rgba(255,255,255,.78);
  font-size:13px;
  font-weight:500;
}

/* ---------------------------------------------------------
   RODAPÉ
   --------------------------------------------------------- */
.footer{
  padding:27px var(--shell) 35px;
  background:#050505;
  color:rgba(255,255,255,.4);
  border-top:1px solid rgba(203,173,137,.12);
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:14px 24px;
}
.footer-logo{
  color:var(--gold);
  font-family:var(--serif);
  font-size:20px;
  letter-spacing:.06em;
}
.footer-links{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  font-size:11px;
  letter-spacing:.04em;
}
.footer-links a:hover{color:var(--gold)}
.footer-copy{
  width:100%;
  font-size:10px;
  color:rgba(255,255,255,.28);
  letter-spacing:.04em;
}

/* ---------------------------------------------------------
   MODAL — ETAPA 1
   --------------------------------------------------------- */
.modal,
.diagnosis{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  opacity:0;
  visibility:hidden;
  transition:opacity .25s ease, visibility .25s ease;
}
.modal[hidden],
.diagnosis[hidden]{display:none}
.modal{
  z-index:100;
  background:rgba(0,0,0,.76);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.diagnosis{
  z-index:110;
  background:rgba(0,0,0,.82);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.modal.is-active,
.diagnosis.is-active{opacity:1;visibility:visible}

.form-card{
  position:relative;
  width:min(620px,100%);
  max-height:92vh;
  max-height:92svh;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:40px;
  background:var(--cream);
  box-shadow:0 30px 100px rgba(0,0,0,.35);
  transform:translateY(18px);
  transition:transform .3s ease;
}
.modal.is-active .form-card{transform:translateY(0)}

.close{
  position:absolute;
  top:12px;right:14px;
  display:grid;
  place-items:center;
  width:40px;height:40px;
  border:0;
  background:transparent;
  color:#5d554e;
  font-size:26px;
  line-height:1;
  cursor:pointer;
  transition:color .2s ease;
}
.close:hover{color:var(--ink)}

.progress{
  margin-bottom:16px;
  color:var(--gold-deep);
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.15em;
  font-weight:600;
}
.form-card h2{
  margin-bottom:12px;
  padding-right:40px;
  font-family:var(--serif);
  font-size:clamp(30px,4.4vw,40px);
  line-height:1;
}
.form-intro{
  margin-bottom:25px;
  color:#70675e;
  font-size:13px;
  line-height:1.65;
}

.form{display:grid;gap:14px}
.field{display:grid;gap:7px}
.field-label{
  color:#625a52;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.09em;
  font-weight:600;
}
input,select{
  width:100%;
  padding:13px;
  border:1px solid #cec0b1;
  border-radius:0;
  outline:none;
  background:#faf7f1;
  color:#171411;
  font-size:14px;
  transition:border-color .2s ease;
}
input::placeholder{color:#a89c8f}
input:focus,select:focus{border-color:var(--gold-deep)}
input[aria-invalid="true"],select[aria-invalid="true"]{
  border-color:var(--danger);
  background:#fdf5f3;
}
.field-hint{
  color:#8b8177;
  font-size:10px;
  line-height:1.4;
}
.field-error{
  color:var(--danger);
  font-size:11px;
  line-height:1.4;
}
.consent{
  display:flex;
  align-items:flex-start;
  gap:9px;
  color:#6d645b;
  font-size:11px;
  line-height:1.55;
}
.consent input{
  width:auto;
  flex:none;
  margin-top:2px;
  accent-color:var(--gold-deep);
}
.consent a{text-decoration:underline;text-underline-offset:2px}
.honeypot{
  position:absolute;
  left:-9999px;
  width:1px;height:1px;
  overflow:hidden;
}
.form .cta{width:100%;margin-top:6px}
.form-status{
  padding:11px 13px;
  border-left:2px solid var(--danger);
  background:#fdf3f0;
  color:#7d3225;
  font-size:12px;
  line-height:1.5;
}
.form-status.is-ok{
  border-left-color:var(--success);
  background:#f1f4ef;
  color:#3f5a3b;
}

/* ---------------------------------------------------------
   DIAGNÓSTICO — ETAPA 2
   --------------------------------------------------------- */
.diagnosis-card{
  position:relative;
  width:min(820px,100%);
  max-height:94vh;
  max-height:94svh;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:42px;
  background:var(--cream);
  box-shadow:0 30px 100px rgba(0,0,0,.4);
}
.diagnosis-kicker{
  margin-bottom:10px;
  color:var(--gold-deep);
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-weight:600;
}
.diagnosis-card h2{
  margin-bottom:20px;
  padding-right:40px;
  font-family:var(--serif);
  font-size:clamp(28px,4vw,38px);
  line-height:1;
}
.progress-track{
  height:3px;
  margin-bottom:26px;
  background:#ddd0c1;
}
.progress-bar{
  height:100%;
  width:0;
  background:var(--gold-deep);
  transition:width .3s ease;
}
.diagnosis-question{
  max-width:760px;
  margin-bottom:24px;
  font-family:var(--serif);
  font-size:clamp(20px,2.6vw,23px);
  font-weight:500;
  line-height:1.35;
}
.scale-options{display:grid;gap:10px}
.scale-option{
  display:grid;
  grid-template-columns:46px 1fr;
  align-items:center;
  gap:14px;
  width:100%;
  padding:14px;
  border:1px solid #d1c3b5;
  background:#faf7f1;
  text-align:left;
  color:#332e29;
  font-size:13px;
  line-height:1.45;
  cursor:pointer;
  transition:border-color .2s ease, transform .2s ease, background .2s ease;
}
.scale-option:hover{border-color:var(--gold-deep);transform:translateY(-1px)}
.scale-option.is-selected{
  border-color:var(--gold-deep);
  background:#f3ebdf;
  box-shadow:inset 0 0 0 1px var(--gold-deep);
}
.scale-number{
  display:grid;
  place-items:center;
  width:36px;height:36px;
  background:#efe5d9;
  color:#8c6d4e;
  font-weight:700;
}
.scale-option.is-selected .scale-number{background:var(--gold-deep);color:#fff}
.diagnosis-hint{
  margin-top:14px;
  color:#8b8177;
  font-size:11px;
}
.diagnosis-hint kbd{
  padding:1px 5px;
  border:1px solid #d5c8ba;
  background:#faf7f1;
  font-family:var(--sans);
  font-size:10px;
}
.diagnosis-nav{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-top:24px;
}
.diagnosis-secondary{
  padding:14px 18px;
  border:1px solid #cdbfaf;
  background:transparent;
  color:#5d554e;
  font-size:12px;
  cursor:pointer;
  transition:border-color .2s ease, color .2s ease;
}
.diagnosis-secondary:hover:not(:disabled){border-color:var(--gold-deep);color:var(--ink)}
.diagnosis-secondary:disabled{opacity:.4;cursor:not-allowed}

.diagnosis-result h3{
  max-width:670px;
  margin-bottom:12px;
  font-family:var(--serif);
  font-size:clamp(30px,4.8vw,44px);
  line-height:1;
}
.diagnosis-result h3 em{color:var(--gold-deep);font-style:normal}
.diagnosis-result > p{
  max-width:680px;
  color:#655d55;
  font-size:14px;
  line-height:1.6;
}
.result-eyebrow{
  margin-bottom:10px;
  color:var(--gold-deep);
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-weight:600;
}
.score-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin:24px 0;
}
.score-card{
  padding:18px;
  border:1px solid #d4c6b8;
  background:#f9f4ec;
}
.score-card.is-priority{
  border-color:var(--gold-deep);
  background:#f3ebdf;
}
.score-label{
  display:block;
  color:#766c63;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:600;
}
.score-value{
  display:block;
  margin-top:8px;
  font-family:var(--serif);
  font-size:28px;
  font-weight:600;
  line-height:1;
  color:#2a2521;
}
.score-stage{
  display:block;
  margin-top:6px;
  color:#8b8177;
  font-size:10px;
  letter-spacing:.02em;
}
.score-track{
  height:3px;
  margin-top:12px;
  background:#e3d6c7;
}
.score-fill{
  height:100%;
  width:0;
  background:var(--gold-deep);
  transition:width .6s ease;
}
.result-note{
  font-size:11px !important;
  color:#766c63 !important;
}
.report{
  margin-top:22px;
  padding:24px 22px;
  border:1px solid #d4c6b8;
  background:#f9f4ec;
}
.report-heading,.answer-map-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
}
.report-kicker{
  margin-bottom:8px;
  color:var(--gold-deep);
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-weight:600;
}
.report h4{
  font-family:var(--serif);
  font-size:25px;
  line-height:1.05;
  font-weight:600;
}
.report-total{
  min-width:94px;
  text-align:right;
}
.report-total span,.report-total small{
  display:block;
  color:#766c63;
  font-size:10px;
}
.report-total strong{
  display:block;
  margin-top:3px;
  font-family:var(--serif);
  font-size:26px;
  line-height:1;
}
.report-chart{
  display:grid;
  gap:16px;
  margin:26px 0 30px;
  padding-bottom:20px;
  border-bottom:1px solid #dfd3c5;
}
.chart-row{display:grid;grid-template-columns:88px 1fr 92px;align-items:center;gap:12px}
.chart-label{display:flex;justify-content:space-between;gap:8px;color:#332e29;font-size:12px}
.chart-label strong{font-family:var(--serif);font-size:17px;font-weight:600}
.chart-track{height:8px;background:#e3d6c7}
.chart-fill{height:100%;background:var(--gold);transition:width .7s ease}
.chart-row.is-priority .chart-fill{background:var(--gold-deep)}
.chart-row.is-priority .chart-label span,.chart-row.is-priority .chart-stage{color:var(--gold-deep);font-weight:600}
.chart-stage{text-align:right;color:#766c63;font-size:10px}
.pillar-readings{display:grid;gap:12px}
.pillar-reading{padding:16px 0;border-top:1px solid #dfd3c5}
.pillar-reading:first-child{border-top:0;padding-top:0}
.pillar-reading-top{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.pillar-reading h4{font-size:22px}
.pillar-reading-top span{font-family:var(--serif);font-size:19px;color:var(--gold-deep)}
.pillar-reading p{margin-top:8px;color:#5b534b;font-size:12px;line-height:1.55}
.pillar-reading .pillar-risk{color:#766c63}
.pillar-reading .pillar-risk strong{color:#5b534b}
.answer-map{margin-top:28px;padding-top:24px;border-top:1px solid #d4c6b8}
.answer-count{color:#766c63;font-size:10px;padding-top:8px}
.answer-group{margin-top:16px;border-top:1px solid #dfd3c5}
.answer-group summary{display:flex;justify-content:space-between;align-items:center;padding:14px 0;cursor:pointer;color:#332e29;font-size:13px;font-weight:600;list-style:none}
.answer-group summary::-webkit-details-marker{display:none}
.answer-group summary::after{content:"+";color:var(--gold-deep);font-size:18px;font-weight:400}
.answer-group[open] summary::after{content:"−"}
.answer-group summary strong{margin-left:auto;margin-right:16px;font-family:var(--serif);font-size:18px;font-weight:600}
.answer-list{display:grid;gap:10px;padding-bottom:8px}
.answer-item{display:flex;justify-content:space-between;gap:14px;padding:12px;background:#f3ebdf}
.answer-topic{display:block;color:var(--gold-deep);font-size:10px;font-weight:600}
.answer-item p{margin-top:4px;color:#5b534b;font-size:11px;line-height:1.45}
.answer-score{flex:none;align-self:flex-start;padding:3px 6px;background:#e3d6c7;color:#5b534b;font-family:var(--serif);font-size:14px;font-weight:600}
.score-0,.score-1{background:#dbc8b6;color:#774b33}
.score-3,.score-4{background:#d9e1d5;color:#456044}
.report-teaser p{
  color:#5b534b;
  font-size:13px;
  line-height:1.6;
}
.report-teaser-list{
  margin:14px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:7px;
}
.report-teaser-list li{
  position:relative;
  padding-left:18px;
  color:#655d55;
  font-size:12px;
  line-height:1.5;
}
.report-teaser-list li::before{
  content:"";
  position:absolute;
  left:0;top:8px;
  width:8px;height:1px;
  background:var(--gold-deep);
}
.diagnosis-result .cta{
  width:100%;
  margin-top:22px;
}
.diagnosis-download{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  width:fit-content;
  min-width:220px;
  margin:12px auto 0;
  padding:12px 18px;
  border:1px solid #bca991;
  background:#f3ebdf;
  color:#5d554e;
  font-size:12px;
  font-weight:600;
  cursor:pointer;
  transition:border-color .2s ease,color .2s ease,background .2s ease;
}
.diagnosis-download:hover{border-color:var(--gold-deep);color:var(--ink);background:#f3ebdf}
.diagnosis-download:disabled{opacity:.55;cursor:wait}
.diagnosis-download.is-loading{cursor:wait}

@media (max-width:640px){
  .report{padding:20px 16px}
  .chart-row{grid-template-columns:76px 1fr;gap:8px}
  .chart-stage{grid-column:2;text-align:left;margin-top:-5px}
  .report-heading,.answer-map-heading{gap:12px}
  .report h4{font-size:22px}
}

/* ---------------------------------------------------------
   BANNER LGPD
   --------------------------------------------------------- */
.consent-banner{
  position:fixed;
  left:16px;right:16px;bottom:16px;
  z-index:90;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:14px;
  width:min(980px,calc(100% - 32px));
  margin-inline:auto;
  padding:16px 20px;
  background:rgba(10,9,8,.96);
  border:1px solid rgba(203,173,137,.28);
  color:rgba(255,255,255,.72);
  box-shadow:0 20px 60px rgba(0,0,0,.35);
  transform:translateY(120%);
  transition:transform .4s ease;
}
.consent-banner.is-visible{transform:translateY(0)}
.consent-banner p{font-size:12px;line-height:1.55;max-width:640px}
.consent-banner a{color:var(--gold);text-decoration:underline;text-underline-offset:2px}
.consent-actions{display:flex;gap:10px;flex:none}
.consent-actions .diagnosis-secondary{
  border-color:rgba(203,173,137,.4);
  color:rgba(255,255,255,.7);
}
.consent-actions .diagnosis-secondary:hover{color:#fff;border-color:var(--gold)}

/* ---------------------------------------------------------
   PÁGINAS INTERNAS (jurídico / 404)
   --------------------------------------------------------- */
.page-hero{
  padding:calc(var(--header-h) + 70px) var(--shell) 60px;
  background:
    radial-gradient(circle at 85% 20%, rgba(203,173,137,.12), transparent 30%),
    linear-gradient(118deg,#050505 0%,#0a0908 63%,#14110e 100%);
  color:#fff;
}
.page-hero h1{
  font-family:var(--serif);
  font-size:clamp(38px,5.6vw,66px);
  line-height:.95;
  letter-spacing:-.035em;
}
.page-hero .section-kicker{color:var(--gold)}
.page-hero p{
  max-width:640px;
  margin-top:18px;
  color:rgba(255,255,255,.6);
  font-size:14px;
  line-height:1.7;
}
.legal{
  padding:80px var(--shell) 100px;
  background:var(--cream);
}
.legal .container{width:min(820px,100%)}
.legal h2{
  margin:48px 0 14px;
  font-family:var(--serif);
  font-size:clamp(26px,3.4vw,34px);
  line-height:1.1;
  letter-spacing:-.02em;
}
.legal h2:first-of-type{margin-top:0}
.legal h3{
  margin:28px 0 10px;
  font-family:var(--serif);
  font-size:22px;
}
.legal p,
.legal li{
  color:#4c453e;
  font-size:14px;
  line-height:1.8;
}
.legal p + p{margin-top:14px}
.legal ul,.legal ol{margin:14px 0;padding-left:20px}
.legal li + li{margin-top:8px}
.legal a{color:var(--gold-deep);text-decoration:underline;text-underline-offset:2px}
.legal .updated{
  margin-bottom:36px;
  padding-bottom:24px;
  border-bottom:1px solid var(--line);
  color:var(--muted);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.error-page{
  display:flex;
  align-items:center;
  min-height:100vh;
  min-height:100svh;
  padding:140px var(--shell) 90px;
  text-align:center;
  background:
    radial-gradient(circle at 50% 10%, rgba(203,173,137,.12), transparent 40%),
    linear-gradient(118deg,#050505 0%,#0a0908 63%,#14110e 100%);
  color:#fff;
}
.error-page .section-kicker{color:var(--gold)}
.error-page h1{
  font-family:var(--serif);
  font-size:clamp(44px,8vw,86px);
  line-height:.95;
  letter-spacing:-.04em;
}
.error-page h1 em{color:var(--gold);font-style:italic}
.error-page p{
  max-width:520px;
  margin:22px auto 34px;
  color:rgba(255,255,255,.6);
  font-size:15px;
  line-height:1.7;
}

/* ---------------------------------------------------------
   RESPONSIVO
   --------------------------------------------------------- */
@media (max-width:1000px){
  .hero-grid{gap:0}
}

@media (max-width:900px){
  :root{--header-h:72px}
  .hero-grid{grid-template-columns:1fr}
  .authority-inner{flex-direction:column;align-items:flex-start;gap:8px}
  .identify-list{grid-template-columns:1fr}
  .identify-item{
    min-height:auto;
    margin:0;
    padding:24px 0;
    border-right:0;
    border-bottom:1px solid var(--line);
  }
  .identify-item:last-child{border-bottom:0}
  .steps{grid-template-columns:1fr}
  .step{
    min-height:auto;
    margin:0;
    padding:28px 0;
    border-right:0;
    border-bottom:1px solid rgba(203,173,137,.19);
  }
  .step:last-child{border-bottom:0}
  .step h3{margin-top:26px}
  .answer{padding-right:0}
}

@media (max-width:600px){
  :root{--shell:20px}
  .header{padding:18px var(--shell)}
  .logo{font-size:22px}
  .header-nav .cta{
    min-height:40px;
    padding:6px 14px;
    font-size:10px;
  }
  .hero{
    min-height:auto;
    padding:132px var(--shell) 80px;
    background-position:72% center;
  }
  .hero h1{font-size:clamp(38px,10vw,52px)}
  .hero-copy{font-size:15px}
  .micro{align-items:flex-start;font-size:12px}
  .hero .cta,
  .final .cta{width:100%}
  .section{padding:72px var(--shell)}
  .final{padding:90px var(--shell) 80px}
  .footer-inner{flex-direction:column;align-items:flex-start}

  .modal,.diagnosis{padding:0}
  .form-card,.diagnosis-card{
    max-height:100dvh;
    min-height:100dvh;
    width:100%;
    padding:64px 20px 40px;
  }
  .diagnosis-nav{flex-direction:column-reverse}
  .diagnosis-nav > *{width:100%}
  .scale-option{grid-template-columns:40px 1fr;padding:12px;font-size:12px}
  .scale-number{width:32px;height:32px}
  .score-grid{grid-template-columns:1fr}
  .diagnosis-download{width:100%;min-width:0}

  .consent-banner{
    left:10px;right:10px;bottom:10px;
    width:calc(100% - 20px);
    padding:16px;
  }
  .consent-actions{width:100%}
  .consent-actions > *{flex:1}
}

/* ---------------------------------------------------------
   PREFERÊNCIAS DO USUÁRIO
   --------------------------------------------------------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
  .cta:hover,.scale-option:hover{transform:none}
}

@media print{
  .header,.consent-banner,.modal,.diagnosis,.final-orbit{display:none !important}
  body{background:#fff;color:#000}
  .hero,.how,.final,.footer{background:#fff !important;color:#000 !important}
}
