@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');

/* Paleta: todo texto informativo tem contraste >= 4,5:1 (WCAG AA) e >= 12px. */
:root {
    --purple: #4d35da;
    --purple-dark: #3c28bd;
    --purple-soft: #eeebff;
    --purple-line: #d8d2f5;
    --navy: #232754;
    --muted: #5e6173;
    --line: #e7e6ef;
    --lavender: #f7f6fd;
    --success: #087a56;
    --success-soft: #e6f6ef;
    --warning: #8a4b00;
    --warning-soft: #fff4e0;
    --font: 'Outfit', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; font-family: var(--font); color: var(--navy); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 3px solid #927cf5; outline-offset: 4px; border-radius: 6px; }
p { color: var(--muted); font-size: 16px; line-height: 1.65; margin-top: 0; }
h1, h2, h3 { margin-top: 0; color: var(--navy); }
h2 { font-size: 44px; line-height: 1.12; letter-spacing: -1.4px; font-weight: 600; margin-bottom: 18px; }
h3 { font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.purple { color: var(--purple); }
.caption { font-size: 12px; font-weight: 600; letter-spacing: 1px; color: var(--muted); margin: 0; }
.eyebrow { font-size: 12px; letter-spacing: 1.4px; font-weight: 600; color: var(--purple); display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 4px var(--purple-soft); }
.note { font-size: 14px; margin: 28px 0 0; }

/* Cabeçalho: navegação desktop e menu nativo <details> no celular, sem JavaScript. */
.header { width: min(1320px, calc(100% - 80px)); margin: auto; min-height: 88px; display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 5px; font-size: 26px; letter-spacing: -1.1px; font-weight: 500; white-space: nowrap; }
.brand-icon { display: grid; place-items: center; color: #fff; background: var(--purple); width: 34px; height: 34px; border-radius: 10px; font-size: 26px; margin-right: 6px; font-weight: 400; }
.brand-uai { font-weight: 700; letter-spacing: -1.3px; }
.brand-dot { color: var(--purple); }
.nav-desktop { display: flex; gap: 28px; font-size: 15px; color: var(--muted); margin-left: auto; }
.nav-desktop a:hover, .text-link:hover { color: var(--purple); }
.nav-cta { font-size: 15px; font-weight: 600; border: 1px solid var(--purple-line); color: var(--purple); border-radius: 8px; padding: 11px 20px; min-height: 44px; display: inline-flex; align-items: center; }
.nav-cta:hover { border-color: var(--purple); }
.nav-mobile { display: none; position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; font-size: 15px; font-weight: 500; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; min-height: 44px; display: flex; align-items: center; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile nav { position: absolute; right: 0; top: 54px; z-index: 5; display: flex; flex-direction: column; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px; box-shadow: 0 15px 30px #2327541a; }
.nav-mobile nav a { padding: 12px; font-size: 15px; min-height: 44px; border-radius: 6px; }
.nav-mobile nav a:hover { background: var(--lavender); }

/* Botões e links */
.button { padding: 15px 22px; border-radius: 8px; font-size: 16px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.primary { background: var(--purple); color: #fff; box-shadow: 0 6px 14px #4d35da26; }
.primary:hover { background: var(--purple-dark); }
.secondary { border: 1px solid var(--purple-line); color: var(--purple); background: #fff; }
.white-button { background: #fff; color: var(--purple); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--purple); min-height: 44px; }

/* Hero */
.uai-landing-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding-block: 72px 64px; }
h1 { font-size: 64px; line-height: 1.05; letter-spacing: -2.6px; font-weight: 600; margin-bottom: 24px; }
.lead { font-size: 19px; max-width: 520px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.micro-proof { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; }
.micro-proof li { font-size: 14px; color: var(--muted); }
.micro-proof li:before { content: '✓ '; color: var(--success); font-weight: 700; }
.hero-visual { position: relative; margin: 0; padding: 22px; border-radius: 22px; background: radial-gradient(ellipse at 70% 20%, #e8e3ff 0%, #f5f2ff 55%, #fff 100%); }
.visual-caption { font-size: 13px; color: var(--muted); margin-top: 14px; line-height: 1.5; }

/* Mockup do produto em HTML: nítido, leve e acessível. */
.mock-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: 0 20px 50px #34287514; }
.mock-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mock-brand { font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--purple); }
.mock-tag { font-size: 12px; font-weight: 600; background: var(--purple-soft); color: var(--purple); padding: 4px 10px; border-radius: 20px; }
.mock-title { font-size: 26px; font-weight: 600; color: var(--navy); letter-spacing: -.6px; margin: 10px 0 14px; line-height: 1.2; }
.mock-score { display: flex; justify-content: space-between; align-items: center; background: var(--lavender); border-radius: 12px; padding: 14px 18px; margin-bottom: 16px; }
.mock-total { font-size: 46px; font-weight: 700; color: var(--navy); letter-spacing: -1.5px; line-height: 1.1; margin: 2px 0 0; }
.mock-total span, .correction-total span { font-size: 18px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.mock-ring { width: 76px; height: 76px; border-radius: 50%; background: conic-gradient(var(--purple) 0 var(--value), #e3defa var(--value)); -webkit-mask: radial-gradient(circle 28px, transparent 98%, #000 100%); mask: radial-gradient(circle 28px, transparent 98%, #000 100%); }
.bars { display: grid; gap: 10px; }
.bars li { display: grid; grid-template-columns: 1fr 34px; gap: 4px 10px; align-items: center; font-size: 14px; color: var(--navy); }
.bars li > span:first-child { grid-column: 1 / -1; font-weight: 500; }
.bars b { text-align: right; font-weight: 600; }
.bar { display: block; height: 7px; border-radius: 10px; background: #ece9f8; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 10px; background: var(--purple); }
.mock-next { margin-top: 16px; background: var(--purple-soft); border-radius: 10px; padding: 12px 14px; }
.mock-next strong { color: var(--purple); font-size: 15px; }
.mock-next p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--navy); }

/* Seções */
.section { padding-block: 72px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 32px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 380px; font-size: 16px; margin-bottom: 4px; }

/* Como funciona: três passos com recortes ilustrativos do app */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; }
.step-label { font-size: 12px; font-weight: 600; letter-spacing: 1px; color: var(--purple); margin-bottom: 12px; }
.step h3 { font-size: 22px; letter-spacing: -.4px; margin-bottom: 10px; }
.step > p:not(.step-label) { font-size: 15px; margin-bottom: 20px; }
.mini { margin-top: auto; background: var(--lavender); border: 1px solid #eeebf8; border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 150px; }
.mini-field { font-size: 13px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; color: var(--navy); }
.mini-line { display: block; height: 7px; border-radius: 6px; background: #e3defa; }
.mini-line.short { width: 60%; }
.mini-meta { font-size: 12px; color: var(--muted); }
.mini-button { align-self: flex-start; font-size: 13px; font-weight: 600; color: #fff; background: var(--purple); border-radius: 6px; padding: 7px 12px; }
.mini-row { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: center; font-size: 12px; font-weight: 600; color: var(--navy); }
.mini-row.is-focus { color: var(--warning); }
.mini-row.is-focus .bar i { background: #c77700; }
.mini-badge { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--warning); background: var(--warning-soft); border-radius: 20px; padding: 4px 10px; }
.mini-agenda { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.mini-agenda b { color: var(--purple); }
.mini-compare { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; }
.mini-compare > span:not(.mini-arrow) { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); }
.mini-compare b { font-size: 22px; color: var(--navy); }
.mini-compare > span:last-child b { color: var(--success); }
.mini-arrow { color: var(--purple); font-size: 20px; }

/* Exemplo de correção */
.example-section { background: var(--lavender); padding-block: 72px; border-block: 1px solid #efedf6; }
.example-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.essay-excerpt { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.essay-excerpt blockquote { margin: 14px 0; }
.essay-excerpt blockquote p { font-size: 18px; line-height: 1.75; color: var(--navy); margin: 0; }
.essay-excerpt mark { background: var(--warning-soft); color: var(--navy); border-bottom: 2px solid #c77700; padding: 0 2px; }
.essay-excerpt figcaption { font-size: 14px; color: var(--muted); }
.correction-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.correction-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.correction-total { font-size: 42px; font-weight: 700; letter-spacing: -1.4px; color: var(--navy); margin: 0; line-height: 1.1; }
.pill { font-size: 13px; font-weight: 600; color: var(--warning); background: var(--warning-soft); border-radius: 20px; padding: 6px 12px; }
.score-chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.score-chips li { text-align: center; font-size: 13px; color: var(--muted); background: var(--lavender); border-radius: 8px; padding: 8px 4px; display: flex; flex-direction: column; }
.score-chips b { font-size: 18px; color: var(--navy); }
.score-chips .is-focus { background: var(--warning-soft); color: var(--warning); }
.score-chips .is-focus b { color: var(--warning); }
.comment { border-left: 3px solid var(--purple); padding: 2px 0 2px 14px; }
.comment p:last-child { margin: 6px 0 0; font-size: 15px; color: var(--navy); }
.comment.next { border-color: var(--success); }
.method { margin-top: 32px; }
.method h3 { font-size: 20px; margin-bottom: 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.method h3 span { font-size: 15px; font-weight: 400; color: var(--muted); }
.competences { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.competences li { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); line-height: 1.45; border-top: 2px solid var(--purple-line); padding-top: 10px; }
.competences b { color: var(--navy); font-weight: 600; }

/* Confiança */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; scroll-margin-top: 24px; }
.trust article { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.trust h3 { font-size: 18px; margin-bottom: 8px; }
.trust p { font-size: 15px; margin: 0; }
.trust-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 16px 0 0; }
.trust-links a { font-size: 15px; font-weight: 600; color: var(--purple); min-height: 44px; display: inline-flex; align-items: center; }

/* Planos */
.plans-section { padding-block: 72px; background: #fcfbfe; border-block: 1px solid var(--line); }
.center-heading { text-align: center; margin-bottom: 32px; }
.center-heading .eyebrow { justify-content: center; }
.center-heading p { font-size: 17px; }
.plans-includes { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px; margin-bottom: 36px; }
.plans-includes p { width: 100%; text-align: center; font-size: 14px; font-weight: 600; color: var(--navy); margin: 0; }
.plans-includes ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.plans-includes li { font-size: 15px; color: var(--muted); }
.plans-includes li:before { content: '✓ '; color: var(--purple); font-weight: 700; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { position: relative; padding: 32px 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; display: flex; flex-direction: column; }
.plan h3 { font-size: 28px; margin: 12px 0 6px; }
.plan > p { font-size: 15px; margin-bottom: 18px; }
.price { font-size: 40px; font-weight: 600; letter-spacing: -1.4px; color: var(--navy); }
.amount { font-size: 14px; display: block; color: var(--muted); margin: 6px 0 18px; }
.plan .plan-allowance { display: flex; flex-direction: column; gap: 2px; background: var(--lavender); border-radius: 10px; padding: 12px 14px; margin-bottom: 22px; }
.plan-allowance strong { color: var(--navy); font-size: 17px; }
.plan-allowance span { font-size: 14px; color: var(--muted); }
.plan .button { width: 100%; justify-content: space-between; margin-top: auto; }
.featured { border: 1.5px solid var(--purple); box-shadow: 0 10px 28px #4d35da14; }
.plan-badge { position: absolute; top: -14px; left: 24px; right: 24px; background: var(--purple); color: #fff; text-align: center; padding: 6px; border-radius: 6px; font-size: 12px; font-weight: 600; letter-spacing: 1px; }
.plans-note { font-size: 14px; text-align: center; margin: 28px auto 0; max-width: 720px; }

/* Dúvidas */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq-layout > div > p { font-size: 16px; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq details:first-child { padding-top: 4px; }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; font-size: 17px; font-weight: 500; cursor: pointer; gap: 20px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: '+'; color: var(--purple); font-size: 24px; font-weight: 400; }
.faq details[open] summary:after { content: '−'; }
.faq details p { font-size: 15px; margin: 10px 30px 0 0; }

/* Chamada final e rodapé */
.closing { position: relative; background: var(--purple); border-radius: 18px; padding: 56px; overflow: hidden; display: flex; justify-content: space-between; align-items: center; }
.closing .eyebrow { color: #e4deff; }
.closing h2 { font-size: 38px; letter-spacing: -1px; line-height: 1.2; color: #fff; }
.closing p { color: #ece8ff; font-size: 17px; margin-bottom: 24px; }
.closing-art { position: absolute; right: 30px; top: -70px; font-size: 390px; line-height: 1; transform: rotate(-5deg); color: #ffffff14; pointer-events: none; }
.closing > div { position: relative; z-index: 1; }
footer { padding-top: 56px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 32px; flex-wrap: wrap; }
.footer-top p { font-size: 14px; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer-links a { font-size: 14px; color: var(--navy); min-height: 44px; display: inline-flex; align-items: center; }
.footer-links a:hover { color: var(--purple); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 22px 0; color: var(--muted); font-size: 13px; }
.skip { position: absolute; top: -100px; background: var(--purple); color: #fff; padding: 15px; z-index: 10; }
.skip:focus { top: 10px; }

@media (max-width: 1100px) {
    .wrap, .header { width: calc(100% - 48px); }
    h1 { font-size: 54px; }
    h2 { font-size: 38px; }
    .nav-desktop { gap: 18px; font-size: 14px; }
    .uai-landing-hero { gap: 32px; }
}

@media (max-width: 900px) {
    .nav-desktop { display: none; }
    .nav-mobile { display: block; }
    .nav-cta { margin-left: auto; }
    .uai-landing-hero { grid-template-columns: 1fr; padding-block: 44px 48px; gap: 36px; }
    .hero-visual { max-width: 520px; }
    .section-heading { flex-direction: column; align-items: start; gap: 14px; }
    .steps, .trust, .plans { grid-template-columns: 1fr; }
    .plans { gap: 28px; }
    .example-grid, .faq-layout, .trust { grid-template-columns: 1fr; }
    .faq-layout { gap: 24px; }
    .competences { grid-template-columns: repeat(2, 1fr); }
    .closing { padding: 40px 28px; }
}

@media (max-width: 560px) {
    .wrap, .header { width: calc(100% - 32px); }
    .header { min-height: 72px; gap: 10px; }
    .brand { font-size: 22px; }
    .brand-icon { width: 30px; height: 30px; font-size: 22px; margin-right: 4px; }
    .nav-cta { padding: 10px 14px; font-size: 14px; }
    h1 { font-size: 40px; letter-spacing: -1.6px; }
    h2 { font-size: 30px; letter-spacing: -.8px; }
    h2 br { display: none; }
    .lead { font-size: 17px; }
    .hero-actions { flex-direction: column; align-items: stretch; gap: 8px; }
    .hero-actions .button { width: 100%; }
    .hero-actions .text-link { justify-content: center; }
    .hero-visual { padding: 12px; }
    .mock-card { padding: 18px; }
    .mock-total { font-size: 40px; }
    .section { padding-block: 64px; }
    .example-section, .plans-section { padding-block: 64px; }
    .competences { grid-template-columns: 1fr; gap: 10px; }
    .competences li { padding-top: 8px; }
    .mock-title, .mock-next, .bars li > span:first-child { display: none; }
    .bars li { grid-template-columns: 26px 1fr 34px; }
    .bars li:before { content: attr(data-code); font-size: 13px; font-weight: 600; }
    .mini { min-height: 0; }
    .step { padding: 20px; }
    .trust article { padding: 18px; }
    .score-chips { gap: 6px; }
    .score-chips b { font-size: 16px; }
    .closing { padding: 32px 22px; border-radius: 14px; }
    .closing h2 { font-size: 28px; }
    .closing .button { width: 100%; }
    .closing-art { font-size: 240px; right: -40px; top: 0; }
    .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
