/* Diagnóstico de Instagram — AE Agência. Tudo escopado em .aed para não afetar outras páginas. */
@font-face { font-family: 'Montserrat AED'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/montserrat-latin-var.woff2) format('woff2'); }
/* Layout: faixa preta de marca no topo de cada etapa, conteúdo em coluna única de leitura (≈ 720px), relatório em seções empilhadas. */
.aed {
  --aed-orange: #FF794C;      /* marca: fundos, barras e destaques grandes */
  --aed-orange-ink: #B64620;  /* laranja para texto pequeno sobre branco (contraste AA) */
  --aed-orange-soft: #FFEFE9;
  --aed-ink: #111111;
  --aed-paper: #FFFFFF;
  --aed-mist: #F5F5F5;
  --aed-muted: #666666;
  --aed-line: #E3E3E3;
  --aed-ok: #1E7A46;
  --aed-ok-soft: #E8F4EC;
  --aed-alert: #B3261E;
  --aed-font: 'Montserrat AED', 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --aed-r: 10px;
  --aed-w: 760px;

  font-family: var(--aed-font);
  color: var(--aed-ink);
  background: var(--aed-mist);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-align: left;
  overflow-wrap: break-word;
}
.aed *, .aed *::before, .aed *::after { box-sizing: border-box; }
.aed :where(h1, h2, h3, h4, p, ul, ol, li, fieldset, legend, figure, dl, dd) { margin: 0; padding: 0; }
.aed h1, .aed h2, .aed h3 { font-family: var(--aed-font); color: inherit; text-wrap: balance; letter-spacing: -0.01em; }
.aed ul, .aed ol { list-style: none; }
.aed fieldset { border: 0; min-width: 0; }
.aed a { color: var(--aed-orange-ink); text-decoration: underline; text-underline-offset: 2px; }
.aed [hidden] { display: none !important; }
.aed :focus-visible { outline: 3px solid var(--aed-orange); outline-offset: 2px; }
.aed [tabindex="-1"]:focus { outline: none; }
.aed .aed-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.aed-wrap { max-width: var(--aed-w); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* ---------- Faixa de marca ---------- */
.aed-band { background: var(--aed-ink); color: var(--aed-paper); }
.aed-band .aed-wrap { padding-block: 48px 40px; }
.aed-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aed-orange); }
.aed-logo { display: block; width: 132px; height: auto; margin-bottom: 28px; }

/* ---------- Botões ---------- */
.aed-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--aed-font); font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.aed-btn-primary { background: var(--aed-orange); color: var(--aed-ink); }
.aed-btn-primary:hover { background: #FF8A2E; color: var(--aed-ink); }
.aed-btn-dark { background: var(--aed-ink); color: var(--aed-paper); }
.aed-btn-dark:hover { background: #2A2A2A; color: var(--aed-paper); }
.aed-btn-ghost { background: transparent; color: var(--aed-ink); border-color: var(--aed-line); }
.aed-btn-ghost:hover { border-color: var(--aed-ink); color: var(--aed-ink); }
.aed-band .aed-btn-ghost { color: var(--aed-paper); border-color: #444; }
.aed-band .aed-btn-ghost:hover { border-color: var(--aed-paper); color: var(--aed-paper); }
.aed-btn[disabled], .aed-btn[aria-busy="true"] { opacity: .6; cursor: progress; }
.aed-btn svg { width: 18px; height: 18px; flex: none; }
.aed-linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--aed-orange-ink); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* ---------- Tela 1: apresentação ---------- */
.aed-intro .aed-band .aed-wrap { padding-block: 56px 52px; max-width: 1080px; display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .aed-intro .aed-band .aed-wrap { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; } }
.aed-intro h1 { font-size: clamp(30px, 5.2vw, 48px); font-weight: 800; line-height: 1.1; margin-top: 14px; max-width: 16em; outline: none; }
.aed-lead { font-size: clamp(17px, 2.2vw, 19px); color: #D6D6D6; margin-top: 18px; max-width: 34em; }
.aed-intro-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 32px; }
.aed-support { font-size: 14px; color: #BDBDBD; max-width: 24em; }
.aed-intro-body .aed-wrap { padding-block: 36px 44px; max-width: 1080px; }
.aed-h2 { font-size: 22px; font-weight: 800; line-height: 1.25; }
.aed-benefits { display: grid; gap: 14px; margin-top: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .aed-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .aed-benefits { grid-template-columns: repeat(5, minmax(0, 1fr)); } .aed-benefits li { grid-template-columns: minmax(0, 1fr); } }
.aed-benefits li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; font-weight: 500; font-size: 15px; }
.aed-tick { width: 26px; height: 26px; border-radius: 50%; background: var(--aed-orange); display: grid; place-items: center; }
.aed-tick svg { width: 14px; height: 14px; }

/* Prévia ilustrativa (no topo, à direita no desktop) */
.aed-preview { background: var(--aed-paper); color: var(--aed-ink); border-radius: 16px; padding: 22px; box-shadow: 0 18px 50px rgba(0,0,0,.35); max-width: 440px; width: 100%; justify-self: center; transform: rotate(-1.2deg); }
.aed-preview-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--aed-muted); border: 1px dashed #BDBDBD; border-radius: 4px; padding: 2px 8px; }
.aed-preview-head { display: flex; align-items: center; gap: 16px; margin: 16px 0 18px; }
.aed-preview-head .aed-gauge { width: 112px; margin: 0; flex: none; }
.aed-preview-band { font-weight: 800; font-size: 17px; }
.aed-preview-sub { font-size: 13px; color: var(--aed-muted); }
.aed-preview .aed-crit { gap: 10px; }
.aed-preview-plan { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 16px; }
.aed-preview-plan span { font-size: 11px; font-weight: 700; text-align: center; padding: 6px 0; border-radius: 6px; background: var(--aed-mist); color: var(--aed-muted); }
.aed-preview-plan span.is-on { background: var(--aed-orange); color: var(--aed-ink); }
@media (prefers-reduced-motion: reduce) { .aed-preview { transform: none; } }

/* ---------- Questionário ---------- */
.aed-quiz .aed-band .aed-wrap { padding-block: 22px 22px; }
.aed-progress-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; font-weight: 600; color: #CFCFCF; }
.aed-progress-row strong { color: var(--aed-paper); font-weight: 700; }
.aed-progress { height: 6px; background: #333; border-radius: 6px; margin-top: 12px; overflow: hidden; }
.aed-progress > span { display: block; height: 100%; background: var(--aed-orange); border-radius: 6px; transition: width .3s ease; }
.aed-quiz-body .aed-wrap { padding-block: 32px 48px; }
.aed-qnum { font-size: 15px; font-weight: 800; color: var(--aed-orange-ink); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.aed-qtitle { display: block; font-size: clamp(21px, 3.4vw, 27px); font-weight: 800; line-height: 1.25; margin-top: 8px; outline: none; }
.aed-qhint { font-size: 14px; color: var(--aed-muted); margin-top: 8px; }
.aed-options { display: grid; gap: 10px; margin-top: 24px; }
.aed-option { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: center;
  background: var(--aed-paper); border: 2px solid var(--aed-line); border-radius: var(--aed-r); padding: 14px 16px; min-height: 60px; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease; font-weight: 500; }
.aed-option:hover { border-color: #BDBDBD; }
.aed-option input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.aed-letter { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: var(--aed-mist); font-weight: 800; font-size: 15px; color: var(--aed-ink); }
.aed-option:has(input:checked) { border-color: var(--aed-orange); background: var(--aed-orange-soft); }
.aed-option:has(input:checked) .aed-letter { background: var(--aed-orange); }
.aed-option:has(input:focus-visible) { outline: 3px solid var(--aed-orange); outline-offset: 2px; }
.aed-option.is-checked { border-color: var(--aed-orange); background: var(--aed-orange-soft); }
.aed-option.is-checked .aed-letter { background: var(--aed-orange); }
.aed-error { color: var(--aed-alert); font-weight: 600; font-size: 15px; margin-top: 14px; }
.aed-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.aed-nav .aed-btn { min-width: 132px; }

/* ---------- Conclusão ---------- */
.aed-done .aed-band .aed-wrap { padding-block: 72px 72px; text-align: center; }
.aed-done h2 { font-size: clamp(28px, 4.6vw, 38px); font-weight: 800; outline: none; }
.aed-done p { color: #D6D6D6; margin: 16px auto 32px; max-width: 32em; font-size: 18px; }
.aed-done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--aed-orange); display: grid; place-items: center; margin: 0 auto 24px; }
.aed-done-mark svg { width: 30px; height: 30px; }

/* ---------- Relatório ---------- */
.aed-report .aed-band .aed-wrap { padding-block: 36px 40px; }
.aed-report-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 24px; align-items: flex-start; }
.aed-report-head .aed-logo { margin-bottom: 0; width: 112px; }
.ae-diag-page .aed-report-head .aed-logo { display: none; }
.aed-report-title { font-size: clamp(22px, 3.4vw, 28px); font-weight: 800; line-height: 1.2; margin-top: 8px; outline: none; }
.aed-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin-top: 22px; font-size: 14px; }
@media (min-width: 640px) { .aed-meta { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.aed-meta dt { color: #A8A8A8; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.aed-meta dd { margin: 2px 0 0; font-weight: 600; color: var(--aed-paper); font-variant-numeric: tabular-nums; }

.aed-score { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 30px; padding-top: 28px; border-top: 1px solid #2E2E2E; }
@media (min-width: 640px) { .aed-score { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; } }
.aed-gauge { width: 100%; max-width: 240px; display: block; margin: 0 auto; }
.aed-gauge-track { fill: none; stroke: #333; stroke-width: 16; stroke-linecap: round; }
.aed-gauge-fill { fill: none; stroke: var(--aed-orange); stroke-width: 16; stroke-linecap: round; }
.aed-gauge-num { fill: var(--aed-paper); font-family: var(--aed-font); font-weight: 800; font-size: 50px; font-variant-numeric: tabular-nums; }
.aed-gauge-of { fill: #A8A8A8; font-family: var(--aed-font); font-weight: 600; font-size: 14px; }
.aed-preview .aed-gauge-track { stroke: var(--aed-mist); }
.aed-preview .aed-gauge-num { fill: var(--aed-ink); }
.aed-preview .aed-gauge-of { fill: var(--aed-muted); }
.aed-band-name { font-size: 26px; font-weight: 800; line-height: 1.2; }
.aed-band-tag { display: inline-block; margin-top: 8px; background: var(--aed-orange); color: var(--aed-ink); font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 999px; }
.aed-band-text { color: #D6D6D6; margin-top: 12px; }
.aed-selfnote { font-size: 13px; color: #A8A8A8; margin-top: 12px; }
.aed-objnote { margin-top: 22px; padding: 14px 16px; border-left: 3px solid var(--aed-orange); background: #1C1C1C; color: #E4E4E4; font-size: 15px; }

.aed-section { padding-block: 36px 8px; }
.aed-section:last-child { padding-bottom: 48px; }
.aed-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.aed-section-head p { color: var(--aed-muted); font-size: 14px; }
.aed-panel { background: var(--aed-paper); border: 1px solid var(--aed-line); border-radius: 14px; padding: 22px; }

.aed-crit { display: grid; gap: 16px; }
.aed-crit li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: baseline; }
.aed-crit-label { font-weight: 600; font-size: 15px; }
.aed-crit-val { font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.aed-crit-val span { color: var(--aed-muted); font-weight: 500; }
.aed-bar { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: var(--aed-mist); overflow: hidden; }
.aed-bar > span { display: block; height: 100%; background: var(--aed-orange); border-radius: 8px; }
.aed-bar.is-zero > span { width: 0; }
.aed-bar-100 > span { width: 100%; } .aed-bar-50 > span { width: 50%; } .aed-bar-0 > span { width: 0; }
.aed-expired { padding-block: 16px; }
.aed-expired p { background: var(--aed-orange-soft); border-radius: 10px; padding: 12px 16px; }

/* Cabeçalho e rodapé próprios da página */
.ae-diag-page .site-header, .ae-diag-page .site-footer, .ae-diag-page .entry-header, .ae-diag-page #site-navigation, .ae-diag-page .footer-widgets { display: none !important; }
.aed-sitebar { background: var(--aed-ink); border-bottom: 1px solid #262626; }
.aed-sitebar-in { max-width: 1080px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.aed-sitebar-logo { display: block; line-height: 0; }
.aed-sitebar-logo img { width: 120px; height: auto; display: block; }
.aed-sitebar-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.aed .aed-sitebar-nav a, .aed .aed-sitefoot a { color: #E4E4E4; text-decoration: none; font-weight: 600; font-size: 14px; }
.aed .aed-sitebar-nav a:hover, .aed .aed-sitefoot a:hover { color: var(--aed-orange); }
.aed-sitefoot { background: var(--aed-ink); color: #A8A8A8; border-top: 1px solid #262626; font-size: 13px; }
.aed-sitefoot-in { max-width: 1080px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 24px; }
.aed-sitefoot p { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (max-width: 480px) { .aed-sitebar-nav { gap: 4px 14px; } .aed-sitebar-logo img { width: 96px; } }

/* Página do diagnóstico no tema (GeneratePress): faixas de ponta a ponta, sem o respiro do artigo. Só vale com body.ae-diag-page. */
.ae-diag-page .site-content { padding: 0; }
.ae-diag-page .site-main { margin: 0 !important; }
.ae-diag-page .inside-article { padding: 0 !important; background: transparent; }
.ae-diag-page .entry-content { margin-top: 0 !important; }
.ae-diag-page .content-area, .ae-diag-page .site-content .grid-container, .ae-diag-page #page.grid-container, .ae-diag-page .container.grid-container { max-width: none; width: 100%; }
.ae-diag-page .entry-content > .aed:first-child { margin-top: 0; }

.aed-cards { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.aed-card { background: var(--aed-paper); border: 1px solid var(--aed-line); border-radius: 14px; padding: 20px 22px; display: grid; gap: 10px; align-content: start; }
.aed-card h3 { font-size: 18px; font-weight: 800; line-height: 1.3; }
.aed-chip { justify-self: start; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--aed-mist); color: var(--aed-ink); }
.aed-chip-ok { background: var(--aed-ok-soft); color: var(--aed-ok); }
.aed-chip-warn { background: var(--aed-orange-soft); color: var(--aed-orange-ink); }
.aed-kv { display: grid; gap: 8px; font-size: 15px; }
.aed-kv dt { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--aed-muted); }
.aed-kv dd { margin: 0 0 4px; }
.aed-opp { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; }
.aed-opp > * { grid-column: 2; }
.aed-opp-n { grid-column: 1; grid-row: 1 / span 4; width: 40px; height: 40px; border-radius: 50%; background: var(--aed-ink); color: var(--aed-paper); display: grid; place-items: center; font-weight: 800; }
.aed-step { background: var(--aed-mist); border-radius: 8px; padding: 10px 12px; font-size: 15px; }
.aed-step strong { font-weight: 700; }
.aed-empty { color: var(--aed-muted); }

.aed-weeks { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .aed-weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.aed-week { background: var(--aed-paper); border: 1px solid var(--aed-line); border-radius: 14px; padding: 20px; }
.aed-week-n { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--aed-orange-ink); }
.aed-week h3 { font-size: 17px; font-weight: 800; line-height: 1.3; margin-top: 4px; }
.aed-tasks { display: grid; gap: 10px; margin-top: 14px; }
.aed-task { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 15px; cursor: pointer; }
.aed-task input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--aed-orange); cursor: pointer; }
.aed-task input:checked + span { color: var(--aed-muted); text-decoration: line-through; }
.aed-task small { display: block; font-size: 12px; color: var(--aed-muted); text-decoration: none; margin-top: 2px; }
.aed-plan-count { font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }

.aed-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.aed-actions .aed-btn { min-height: 46px; padding: 10px 18px; font-size: 15px; }
.aed-sharebox { display: flex; gap: 8px; margin-top: 12px; }
.aed-sharebox input { flex: 1; min-width: 0; }
.aed-note { font-size: 14px; color: var(--aed-muted); margin-top: 10px; }

.aed-cta { background: var(--aed-ink); color: var(--aed-paper); border-radius: 16px; padding: 30px 26px; display: grid; gap: 14px; }
.aed-cta h2 { font-size: clamp(21px, 3vw, 26px); font-weight: 800; line-height: 1.25; }
.aed-cta p { color: #D6D6D6; }
.aed-cta .aed-btn { justify-self: start; }

.aed-answers { display: grid; gap: 14px; }
.aed-answers li { display: grid; gap: 2px; font-size: 15px; }
.aed-answers span { color: #3A3A3A; }

/* ---------- Formulário ---------- */
.aed-form { display: grid; gap: 16px; }
.aed-fields { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .aed-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .aed-field-wide { grid-column: 1 / -1; } }
.aed-field { display: grid; gap: 6px; }
.aed-field label { font-weight: 600; font-size: 14px; }
.aed-field label span { color: var(--aed-muted); font-weight: 500; }
.aed input[type="text"], .aed input[type="email"], .aed input[type="tel"] {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 16px; color: var(--aed-ink);
  background: var(--aed-paper); border: 2px solid var(--aed-line); border-radius: 8px; box-shadow: none; }
.aed input[type="text"]:focus, .aed input[type="email"]:focus, .aed input[type="tel"]:focus { border-color: var(--aed-ink); outline: none; }
.aed input[aria-invalid="true"] { border-color: var(--aed-alert); }
.aed-field-err { color: var(--aed-alert); font-size: 13px; font-weight: 600; }
.aed-checks { display: grid; gap: 12px; border-top: 1px solid var(--aed-line); padding-top: 16px; }
.aed-checks legend { font-weight: 700; font-size: 14px; margin-bottom: 10px; float: left; width: 100%; }
.aed-check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 15px; cursor: pointer; clear: both; }
.aed-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--aed-orange); }
.aed-privacy { font-size: 13px; color: var(--aed-muted); }
.aed-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.aed-success { background: var(--aed-ok-soft); border: 1px solid #BFDCC9; color: #14532D; border-radius: 12px; padding: 18px 20px; font-weight: 500; }
.aed-success strong { display: block; font-size: 17px; margin-bottom: 4px; }
.aed-disclaimer { font-size: 13px; color: var(--aed-muted); border-top: 1px solid var(--aed-line); padding-top: 18px; }

/* ---------- Conteúdo de apoio (SEO) ---------- */
.aed-wide { max-width: 1080px; }
.aed-prose { max-width: 760px; }
.aed-eyebrow-ink { color: var(--aed-orange-ink); }
.aed-seo-sec { padding-block: 56px; background: var(--aed-mist); }
.aed-seo-alt { background: var(--aed-paper); }
.aed-seo-h2 { font-size: clamp(24px, 3.6vw, 32px); font-weight: 800; line-height: 1.2; margin-top: 8px; }
.aed-prose .aed-seo-h2 + p, .aed-prose .aed-seo-h2 + ul { margin-top: 16px; }
.aed-prose .aed-seo-h2:not(:first-child) { margin-top: 44px; }
.aed-seo-lead { color: #3A3A3A; font-size: 17px; margin-top: 14px; max-width: 46em; }
.aed-seo-sec p + p, .aed-seo-sec p + ul, .aed-seo-sec ul + p, .aed-seo-sec ol + p { margin-top: 14px; }
.aed-steps { display: grid; gap: 20px; margin-top: 32px; grid-template-columns: minmax(0, 1fr); counter-reset: none; }
@media (min-width: 760px) { .aed-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.aed-stepcard { position: relative; display: grid; gap: 10px; align-content: start; }
.aed-stepcard img { display: block; width: 100%; height: auto; max-width: 100%; border-radius: 16px; }
.aed-stepnum { width: 32px; height: 32px; border-radius: 50%; background: var(--aed-orange); color: var(--aed-ink); font-weight: 800; display: grid; place-items: center; margin-top: 6px; }
.aed-stepcard h3 { font-size: 19px; font-weight: 800; }
.aed-stepcard p { color: #3A3A3A; font-size: 15px; }
.aed-anat { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 820px) { .aed-anat { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; } }
.aed-anat-fig { margin: 0; justify-self: center; width: 100%; max-width: 320px; }
.aed-anat-fig img { display: block; width: 100%; height: auto; }
.aed-anat-text > p:not(.aed-eyebrow) { margin-top: 14px; color: #3A3A3A; }
.aed-anat-list { display: grid; gap: 12px; margin-top: 18px; counter-reset: aed-anat; }
.aed-anat-list li { counter-increment: aed-anat; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; }
.aed-anat-list li::before { content: counter(aed-anat); width: 28px; height: 28px; border-radius: 50%; background: var(--aed-orange); color: var(--aed-ink); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.aed-critgrid { display: grid; gap: 14px; margin-top: 30px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .aed-critgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .aed-critgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.aed-critgrid li { background: var(--aed-paper); border: 1px solid var(--aed-line); border-radius: 14px; padding: 20px; display: grid; gap: 8px; align-content: start; }
.aed-critgrid h3 { font-size: 16px; font-weight: 800; line-height: 1.3; }
.aed-critgrid h3 span { display: block; font-size: 12px; font-weight: 700; color: var(--aed-orange-ink); margin-top: 2px; }
.aed-critgrid p { font-size: 14px; color: #3A3A3A; }
.aed-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--aed-orange-soft); display: grid; place-items: center; }
.aed-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--aed-orange-ink); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.aed-scale { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin-top: 24px; border-radius: 12px; overflow: hidden; }
@media (min-width: 640px) { .aed-scale { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.aed-scale div { padding: 14px 16px; background: var(--aed-ink); color: var(--aed-paper); display: grid; gap: 2px; }
.aed-scale div:nth-child(2) { background: #3A2410; }
.aed-scale div:nth-child(3) { background: #8A4410; }
.aed-scale div:nth-child(4) { background: var(--aed-orange); color: var(--aed-ink); }
.aed-scale strong { font-size: 15px; font-variant-numeric: tabular-nums; }
.aed-scale span { font-size: 13px; font-weight: 600; }
.aed-seo-note { font-size: 13px; color: var(--aed-muted); margin-top: 12px; }
.aed-bullets { display: grid; gap: 8px; padding-left: 0; }
.aed-bullets li { position: relative; padding-left: 22px; }
.aed-bullets li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--aed-orange); }
.aed-faq { display: grid; gap: 10px; margin-top: 20px; }
.aed-faq details { background: var(--aed-paper); border: 1px solid var(--aed-line); border-radius: 12px; padding: 0 18px; }
.aed-faq summary { cursor: pointer; font-weight: 700; padding: 16px 28px 16px 0; position: relative; list-style: none; }
.aed-faq summary::-webkit-details-marker { display: none; }
.aed-faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 22px; font-weight: 600; color: var(--aed-orange-ink); }
.aed-faq details[open] summary::after { content: "–"; }
.aed-faq details p { padding-bottom: 16px; color: #3A3A3A; }
.aed-final .aed-wrap { padding-block: 56px; display: grid; gap: 14px; justify-items: start; }
.aed-final h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; line-height: 1.2; max-width: 22em; }
.aed-final p { color: #D6D6D6; max-width: 40em; }
.aed-final .aed-btn { margin-top: 8px; }

/* ---------- Protótipo ---------- */
.aed-mockbar { background: #FFF4D6; color: #5C4400; font-size: 13px; font-weight: 600; text-align: center; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 8px max(16px, env(safe-area-inset-left, 0px)); }
.aed-events { margin-top: 24px; font-size: 13px; }
.aed-events summary { cursor: pointer; font-weight: 700; }
.aed-events ol { list-style: decimal; padding-left: 22px; margin-top: 8px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; display: grid; gap: 2px; }

/* ---------- Movimento ---------- */
.aed-screen { animation: aed-in .28s ease both; }
@keyframes aed-in { from { opacity: .001; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .aed-screen { animation: none; }
  .aed-progress > span, .aed-btn, .aed-option { transition: none; }
}

@media (max-width: 480px) {
  .aed-band .aed-wrap { padding-block: 36px 32px; }
  .aed-intro .aed-band .aed-wrap { padding-block: 40px 36px; }
  .aed-intro-cta .aed-btn { width: 100%; }
  .aed-nav .aed-btn { min-width: 0; flex: 1; }
  .aed-cta .aed-btn { justify-self: stretch; }
  .aed-panel, .aed-card, .aed-week { padding: 18px; }
}

/* ---------- Impressão / PDF ---------- */
@media print {
  .aed { background: #fff; font-size: 11pt; }
  .aed-noprint, .aed-mockbar, .aed-events, .aed-sitebar, .aed-sitefoot, .aed-seo { display: none !important; }
  /* Banners de cookies, botões flutuantes e widgets do site não entram no PDF. */
  body.ae-diag-page * { visibility: hidden; }
  body.ae-diag-page .aed, body.ae-diag-page .aed * { visibility: visible; }
  .aed-band { background: #fff !important; color: #111 !important; border-bottom: 2px solid #FF794C; }
  .aed-band .aed-wrap { padding-block: 0 16px !important; }
  .aed-band-text, .aed-selfnote, .aed-meta dd, .aed-objnote { color: #111 !important; }
  .aed-objnote { background: #fff !important; }
  .aed-gauge-num { fill: #111 !important; }
  .aed-gauge-track { stroke: #eee !important; }
  .aed-logo { filter: invert(1); }
  .ae-diag-page .aed-report-head .aed-logo { display: block; }
  .aed-card, .aed-week, .aed-panel { break-inside: avoid; }
  .aed-screen { animation: none; }
}
