/* Página de apresentação (public/sobre.html), aberta em / por quem não entrou.
   Só usa as cores de theme.css, então segue o modo claro/escuro do site. */

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:84px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--bg);color:var(--ink);font:400 16px/1.6 'DM Sans',system-ui,sans-serif;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
h1,h2,h3{font-family:Manrope,'DM Sans',sans-serif;color:var(--ink);margin:0}
.wrap{width:100%;max-width:1160px;margin:0 auto;padding:0 24px}
.skip{position:absolute;left:-9999px;top:8px;z-index:100;background:var(--surface);padding:10px 14px;border-radius:8px}
.skip:focus{left:16px}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Marca (igual à do app) */
.brand{display:inline-flex;align-items:center;font:800 28px/1 Manrope,sans-serif;letter-spacing:-1.4px;color:var(--brand-text);text-decoration:none}
.brand-dot{color:var(--brand-dot)}
.brand-mark{width:30px;height:30px;margin-right:8px;flex-shrink:0}
.brand-mark rect{fill:var(--brand)}
.brand-mark path{fill:none;stroke:var(--accent);stroke-width:4.2;stroke-linecap:round;stroke-linejoin:round}
.brand--small{font-size:22px}
.brand--small .brand-mark{width:24px;height:24px}

/* Botões */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;border-radius:10px;font-weight:700;font-size:15px;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s}
.btn-primary{background:var(--accent);color:var(--on-accent)}
.btn-primary:hover{background:var(--accent-hover)}
.btn-secondary{background:var(--surface);color:var(--brand-text);border:1px solid var(--line-strong)}
.btn-secondary:hover{border-color:var(--brand-border)}
.btn-text{color:var(--brand-text);padding-inline:12px}
.btn-text:hover{background:var(--brand-soft)}
.btn-lg{min-height:52px;padding:14px 24px;font-size:16px;border-radius:12px}
.btn-block{width:100%}

/* Topo */
.site-header{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;gap:24px;height:68px}
.header-nav{display:flex;gap:4px;margin-left:auto}
.header-nav a{padding:8px 12px;border-radius:8px;font-size:14px;font-weight:600;color:var(--muted);text-decoration:none}
.header-nav a:hover{color:var(--ink);background:var(--surface-3)}
.header-actions{display:flex;align-items:center;gap:8px}

/* Abertura */
.hero{padding:64px 0 0;background:radial-gradient(1100px 520px at 50% -120px,var(--brand-soft),transparent 70%)}
.hero-text{text-align:center;max-width:860px}
.eyebrow{margin:0 0 12px;font-size:12px;font-weight:700;letter-spacing:1.8px;color:var(--brand-text)}
.hero h1{font-size:clamp(34px,5.4vw,56px);line-height:1.08;letter-spacing:-1.8px;font-weight:800}
.lead{margin:20px auto 0;max-width:680px;font-size:clamp(17px,2.1vw,20px);line-height:1.6;color:var(--muted)}
.hero-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:32px}
.hero-note{margin:14px 0 0;font-size:14px;color:var(--muted-2)}
.hero-visual{position:relative;margin-top:48px;padding-bottom:56px}
.browser{margin:0;border-radius:14px;overflow:hidden;background:var(--surface);border:1px solid var(--line-strong);box-shadow:0 30px 80px var(--shadow),0 4px 14px var(--shadow)}
.browser-bar{display:flex;align-items:center;gap:6px;height:34px;padding:0 14px;background:var(--surface-3);border-bottom:1px solid var(--line)}
.browser-bar span{width:10px;height:10px;border-radius:50%;background:var(--line-strong)}
.browser-bar em{margin-left:12px;padding:3px 14px;border-radius:6px;background:var(--surface);font-style:normal;font-size:12px;color:var(--muted-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hero-visual .browser{margin-right:120px}
.phone{position:absolute;right:24px;bottom:20px;width:230px;margin:0;padding:8px;border-radius:34px;background:#101a17;box-shadow:0 30px 70px rgba(12,44,52,.35)}
.phone img{border-radius:27px}

/* Números */
.numbers{background:var(--brand-deep);color:var(--on-brand)}
.numbers-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding-top:34px;padding-bottom:34px}
.numbers-grid div{display:flex;flex-direction:column;gap:4px}
.numbers-grid strong{font:800 34px/1.1 Manrope,sans-serif;letter-spacing:-1px;color:var(--accent)}
.numbers-grid span{font-size:14px;line-height:1.5;color:var(--on-brand-muted)}

/* Seções */
.section{padding:96px 0}
.section--soft{background:var(--surface-2);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-intro{max-width:720px;margin:0 auto 48px;text-align:center}
.section-intro h2,.professor-text h2,.cta-band h2{font-size:clamp(28px,3.6vw,40px);line-height:1.15;letter-spacing:-1.2px;font-weight:800}
.section-intro p:not(.eyebrow){margin:16px 0 0;font-size:17px;color:var(--muted)}

.features{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.feature{padding:28px;border-radius:16px;background:var(--surface);border:1px solid var(--line)}
.feature h3{margin:18px 0 8px;font-size:19px;letter-spacing:-.4px}
.feature p{margin:0;color:var(--muted);font-size:15px;line-height:1.65}
.feature--highlight{border-color:var(--brand-border);box-shadow:0 0 0 3px var(--brand-soft)}

.checks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.checks li{position:relative;padding-left:30px;line-height:1.6}
.checks li::before{content:'';position:absolute;left:0;top:3px;width:20px;height:20px;border-radius:50%;background:var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%232a8a60' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}

/* Professor IA */
.professor-band{padding:96px 0;background:var(--brand-deep);color:var(--on-brand)}
.professor-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:center}
.professor-text .eyebrow{color:var(--accent)}
.professor-text h2{color:var(--on-brand)}
.professor-text>p{margin:18px 0 26px;font-size:17px;line-height:1.7;color:var(--on-brand-muted)}
.professor-text .checks li{color:var(--on-brand)}
.professor-text .checks li::before{background-color:var(--accent)}
.browser--dark{border-color:rgba(255,255,255,.12);box-shadow:0 30px 80px rgba(0,0,0,.35)}

/* Tour pelas abas */
.tour-tabs{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;margin-bottom:32px}
.tour-tabs button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:9px 16px;border:1px solid var(--line-strong);border-radius:999px;background:var(--surface);color:var(--muted);font:600 14px 'DM Sans',sans-serif;cursor:pointer}
.tour-tabs button:hover{color:var(--ink);border-color:var(--brand-border)}
.tour-tabs button[aria-selected="true"]{background:var(--brand);border-color:var(--brand);color:var(--on-brand)}
.tour-tabs .icon{width:18px;height:18px}
.tour-panel{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:48px;align-items:center}
.tour-panel[hidden]{display:none}
.tour-text h3{font-size:24px;line-height:1.25;letter-spacing:-.6px;margin-bottom:20px}
.tour-text .checks li{color:var(--ink-2)}

/* Passos */
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:20px;counter-reset:none}
.steps li{padding:28px;border-radius:16px;background:var(--surface);border:1px solid var(--line)}
.step-number{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--brand);color:var(--on-brand);font:800 18px Manrope,sans-serif}
.steps h3{margin:18px 0 8px;font-size:19px}
.steps p{margin:0;color:var(--muted);font-size:15px}

/* Planos: alunos e instituições lado a lado */
.plans{display:grid;grid-template-columns:repeat(2,minmax(0,460px));justify-content:center;gap:28px}
.plan{display:flex;flex-direction:column;padding:34px;border-radius:20px;background:var(--surface);border:1px solid var(--brand-border);box-shadow:0 0 0 4px var(--brand-soft),0 24px 60px var(--shadow)}
.plan--institutions{border-color:var(--line-strong);box-shadow:0 24px 60px var(--shadow)}
.plan-head{text-align:center;padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid var(--line)}
.plan-for{margin:0 0 10px;font-size:12px;font-weight:700;letter-spacing:1.8px;text-transform:uppercase;color:var(--brand-text)}
.plan-head h3{font-size:20px}
.plan-price{margin:14px 0 0;display:flex;align-items:baseline;justify-content:center;gap:6px}
.plan-price strong{font:800 46px/1 Manrope,sans-serif;letter-spacing:-1.5px;color:var(--ink)}
.plan-price span{color:var(--muted);font-size:16px}
.plan-price--text strong{font-size:38px;letter-spacing:-1px;line-height:1.21}
.plan-soon,.plan-chip{display:inline-block;margin:12px 0 0;padding:4px 12px;border-radius:999px;font-size:13px;font-weight:700}
.plan-soon{background:var(--warn-soft);color:var(--warn)}
.plan-chip{background:var(--surface-3);color:var(--ink-2)}
.plan-offer{margin:14px 0 0;padding:10px 14px;border-radius:12px;background:var(--brand-soft);border:1px solid var(--brand-border);color:var(--ink);font-size:14px;line-height:1.5}
.plan-offer[hidden]{display:none}
.plan .checks{flex:1;margin-bottom:28px}
.plan-note{margin:16px 0 0;font-size:13px;line-height:1.6;color:var(--muted-2);text-align:center}
.plan-note a{color:var(--brand-text);font-weight:700}
.plan-estimate{display:flex;flex-direction:column;gap:10px}
.plan-estimate label{font-weight:700;font-size:15px;line-height:1.4;color:var(--ink);text-align:center}
.plan-estimate-row{display:flex;gap:8px}
.plan-estimate input{flex:1;min-width:0;min-height:52px;padding:12px 16px;border:1px solid var(--line-strong);border-radius:12px;background:var(--surface-2);color:var(--ink);font:700 18px 'DM Sans',sans-serif}
.plan-estimate input::placeholder{color:var(--muted-2);font-weight:400}
.plan-estimate input:focus-visible{outline:3px solid var(--focus);outline-offset:1px}
.plan-estimate .btn{flex-shrink:0;border:0;font-family:'DM Sans',sans-serif;cursor:pointer}

/* Dúvidas */
.faq-wrap{max-width:820px}
.faq{display:flex;flex-direction:column;gap:10px}
.faq details{border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;font-weight:700;font-size:16px;min-height:56px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';font:400 24px/1 'DM Sans',sans-serif;color:var(--brand-text);flex-shrink:0}
.faq details[open] summary::after{content:'−'}
.faq details p{margin:0;padding:0 20px 20px;color:var(--muted);line-height:1.7}
.faq a{color:var(--brand-text);font-weight:600}

/* Chamada final e rodapé */
.cta-band{padding:88px 0;text-align:center;background:radial-gradient(800px 400px at 50% 120%,var(--brand-soft),transparent 70%)}
.cta-inner p{margin:14px 0 30px;font-size:18px;color:var(--muted)}
.site-footer{border-top:1px solid var(--line);background:var(--surface)}
.footer-inner{display:flex;align-items:center;flex-wrap:wrap;gap:16px 28px;padding-top:28px;padding-bottom:28px}
.footer-links{display:flex;flex-wrap:wrap;gap:4px 18px;font-size:14px}
.footer-links a{color:var(--muted);text-decoration:none;padding:6px 0}
.footer-links a:hover{color:var(--brand-text);text-decoration:underline}
.footer-note{margin:0 0 0 auto;font-size:13px;color:var(--muted-2)}

/* Telas menores */
@media (max-width:1020px){
  .header-nav{display:none}
  .header-actions{margin-left:auto}
  .features{grid-template-columns:repeat(2,1fr)}
  .professor-grid,.tour-panel{grid-template-columns:minmax(0,1fr);gap:32px}
  .tour-text{max-width:620px}
  .numbers-grid{grid-template-columns:repeat(2,1fr)}
  .plans{grid-template-columns:minmax(0,460px)}
}
@media (max-width:720px){
  .wrap{padding:0 16px}
  .header-inner{height:60px;gap:12px}
  .brand{font-size:24px}
  .brand-mark{width:26px;height:26px}
  .btn{padding:10px 14px}
  .hero{padding-top:40px}
  .hero-actions .btn{width:100%}
  .hero-visual{margin-top:36px;padding-bottom:48px}
  .hero-visual .browser{display:none}
  .phone{position:static;width:min(260px,72%);margin:0 auto}
  .browser-bar{height:26px}
  .browser-bar em{display:none}
  .section,.professor-band{padding:64px 0}
  .section-intro{margin-bottom:32px}
  .features,.steps{grid-template-columns:minmax(0,1fr)}
  .feature,.steps li{padding:22px}
  .numbers-grid strong{font-size:28px}
  .tour-tabs{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;margin:0 -16px 24px;padding:2px 16px 6px;scrollbar-width:none}
  .tour-tabs::-webkit-scrollbar{display:none}
  .tour-tabs button{flex-shrink:0}
  .plan{padding:24px}
  .footer-note{margin-left:0;width:100%}
}
/* Celular estreito (menos de 400 px): o botão do topo fica só "Experimentar", para caber ao lado do Entrar. */
@media (max-width:399px){.header-actions .btn-extra{display:none}}
@media (max-width:359px){.header-actions{gap:4px}.header-actions .btn{padding:10px 10px}}
/* Ilustrações (public/ilustracoes, nas cores do tema --ill-* e --land-* de theme.css). */
.spot{display:block;flex-shrink:0;width:112px;height:112px}
.hero{position:relative;overflow:hidden}
.hero-text,.hero-visual{position:relative;z-index:1}
.hero-scenery{position:absolute;left:0;right:0;bottom:0;height:min(42vw,430px);z-index:0;pointer-events:none}
.hero-scenery svg{display:block;width:100%;height:100%}
.feature-spot{width:104px;height:104px;margin:-6px 0 -4px -6px}
.steps .step-art{position:relative;width:104px;height:104px;margin:-6px 0 -2px -6px}
.steps .step-art .spot{width:100%;height:100%}
.steps .step-art .step-number{position:absolute;right:-6px;bottom:2px;width:34px;height:34px;font-size:16px;box-shadow:0 0 0 3px var(--surface)}
@media (max-width:720px){.hero-scenery{height:220px}.feature-spot,.steps .step-art{width:92px;height:92px}}

/* A trilha dos três passos (sobre.js, desde 09/11/2026): os números aparecem em sequência, ligados por
   uma trilha tracejada, até a bandeira do passo 3. Parada com "reduzir movimento". */
.steps li{position:relative}
.steps li:not(:last-child):after{content:'';position:absolute;z-index:1;top:105px;left:calc(100% - 40px);width:82px;border-top:3px dotted var(--brand-border);pointer-events:none}
.steps li:last-child .step-art:before{content:'';position:absolute;right:-16px;top:2px;width:3px;height:32px;border-radius:2px;background:var(--brand)}
.steps li:last-child .step-art:after{content:'';position:absolute;right:-34px;top:3px;width:18px;height:14px;background:var(--gold);clip-path:polygon(0 0,100% 50%,0 100%)}
.steps-anim .step-number{transform:scale(0)}
.steps-anim li:not(:last-child):after{transform:scaleX(0);transform-origin:left}
.steps-anim li:last-child .step-art:before,.steps-anim li:last-child .step-art:after{transform:scaleY(0);transform-origin:bottom}
.steps-anim.is-visible .step-number{animation:steps-pop .45s cubic-bezier(.3,1.6,.5,1) forwards}
.steps-anim.is-visible li:nth-child(2) .step-number{animation-delay:.55s}
.steps-anim.is-visible li:nth-child(3) .step-number{animation-delay:1.1s}
.steps-anim.is-visible li:not(:last-child):after{animation:steps-draw .45s ease-out forwards}
.steps-anim.is-visible li:nth-child(1):after{animation-delay:.2s}
.steps-anim.is-visible li:nth-child(2):after{animation-delay:.75s}
.steps-anim.is-visible li:last-child .step-art:before,.steps-anim.is-visible li:last-child .step-art:after{animation:steps-flag .5s 1.45s cubic-bezier(.3,1.6,.5,1) forwards}
@keyframes steps-pop{to{transform:scale(1)}}
@keyframes steps-draw{to{transform:scaleX(1)}}
@keyframes steps-flag{to{transform:scaleY(1)}}
@media (max-width:720px){
  .steps li:not(:last-child):after{top:100%;left:48px;width:0;height:20px;border-top:0;border-left:3px dotted var(--brand-border)}
  .steps-anim li:not(:last-child):after{transform:scaleY(0);transform-origin:top}
  @keyframes steps-draw{to{transform:scaleY(1)}}
}
