/* PLANO
   Conceito: placa e faixa de sinalização — o vermelho do letreiro da fachada sobre preto asfalto,
   com amarelo da frota como marcador e uma linha tracejada de pista como detalhe-assinatura.
   Direção: Urbano enérgico (cantos 6-10px, contraste alto, números grandes, itálico pesado como o letreiro).
   Paleta: vermelho #af413d · preto asfalto #271319 · cinza #54565b · amarelo frota #f6c91c · superfície #f6f3f1 · branco.
   Fontes: pilha do sistema (download das fontes web falhou nesta sessão); títulos em peso 800, caixa normal, H1 itálico.
   Hero: B (split) — foto da fachada é 4:5 e pequena demais para sangrar; moldura vermelha deslocada + etiqueta de endereço.
   Seções: hero · categorias (placas A/B/AB) · como funciona (linha do tempo numerada, fundo escuro) ·
   o que os alunos destacam (nota + lista) · estrutura (2 fotos) · FAQ · contato.
   Assinatura: linha tracejada de pista (.roadline) e placas quadradas com a letra da categoria. */

:root {
  --c-bg: #ffffff;
  --c-surface: #f6f3f1;
  --c-text: #271319;
  --c-muted: #54565b;
  --c-primary: #af413d;
  --c-on-primary: #ffffff;
  --c-accent: #f6c91c;
  --c-border: rgb(39 19 25 / .14);
  --c-dark: #271319;
  --c-on-dark: #f6f1f0;
  --c-wa: #0f7a3d;
  --font-body: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --fs-body: 1.0625rem;
  --radius: 8px;
  --radius-btn: 8px;
  --shadow: 0 14px 34px -16px rgb(39 19 25 / .45);
  --header-h: 68px;
}
h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; }
h3 { letter-spacing: -.01em; }
:focus-visible { outline-color: var(--c-accent); }
.section :focus-visible, .site-header :focus-visible { outline-color: var(--c-primary); }
.hero :focus-visible, .steps-sec :focus-visible, .site-footer :focus-visible { outline-color: var(--c-accent); }

/* header / marca */
.site-header { background: var(--c-dark); color: var(--c-on-dark); }
.site-header.is-scrolled { box-shadow: 0 8px 24px -14px rgb(0 0 0 / .6); }
.brand { flex-direction: column; align-items: flex-start; gap: 0; line-height: 1; }
.brand-mark { font-family: var(--font-head); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.7rem; letter-spacing: -.02em; color: #fff; text-shadow: 2px 2px 0 var(--c-primary); }
.brand-sub { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: #d8cfcf; margin-top: .25rem; }
.nav a:not(.btn):hover { color: var(--c-accent); }
@media (max-width: 899px) {
  .nav { background: var(--c-dark); }
  .nav a:not(.btn) { border-bottom-color: rgb(255 255 255 / .14); }
}

/* botões */
.btn { font-weight: 700; }
.btn-primary:hover { filter: none; background: #9b3632; }
.btn-yellow { background: var(--c-accent); color: var(--c-dark); box-shadow: 0 4px 0 #b8950b; }
.btn-yellow:hover { transform: translateY(-1px); box-shadow: 0 5px 0 #b8950b; }
.btn-yellow:active { transform: translateY(3px); box-shadow: 0 1px 0 #b8950b; }
.btn-ghost { border-color: rgb(255 255 255 / .5); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgb(255 255 255 / .08); }
.btn-outline-dark { border-color: var(--c-dark); color: var(--c-dark); }
.btn-outline-dark:hover { background: var(--c-dark); color: #fff; }

/* eyebrow */
.eyebrow { margin: 0 0 .9rem; font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--c-accent); display: flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 28px; height: 4px; background: currentColor; border-radius: 2px; }
.eyebrow--red { color: var(--c-primary); }
.section:not(.steps-sec) .eyebrow:not(.eyebrow--red) { color: var(--c-primary); }
.lead { font-size: 1.15rem; color: inherit; max-width: 56ch; }
.sec-head { max-width: 760px; margin-bottom: clamp(1.8rem, 4vw, 3rem); }

/* hero */
.hero { background: var(--c-dark); color: #fff; position: relative; overflow: hidden; padding-top: clamp(2rem, 5vw, 4.5rem); }
.hero::before { content: ""; position: absolute; inset: 0 0 0 auto; width: 42%; background: var(--c-primary); transform: skewX(-12deg) translateX(30%); opacity: .9; }
.hero-grid { position: relative; display: grid; gap: 2.2rem; padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.hero h1 { font-size: clamp(2.2rem, 1.5rem + 4.2vw, 4.2rem); font-style: italic; font-weight: 900; line-height: 1.04; margin-bottom: 1rem; }
.hero mark { background: none; color: var(--c-accent); }
.hero .lead { color: #e6dcdc; }
.hero-cta { display: grid; gap: .8rem; margin-top: 1.8rem; }
.facts { display: grid; gap: .6rem; margin-top: 2.2rem; font-size: .98rem; color: #e6dcdc; }
.facts li { display: flex; align-items: center; gap: .55rem; }
.facts svg { width: 20px; height: 20px; flex: none; color: var(--c-accent); }
.facts strong { color: #fff; font-size: 1.15rem; margin-right: -.2rem; }
.hero-media { margin: 0; position: relative; max-width: 520px; width: 100%; justify-self: center; }
.hero-frame { position: relative; border-radius: var(--radius); }
.hero-frame::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 3px solid var(--c-accent); border-radius: var(--radius); }
.hero-frame img { position: relative; width: 100%; aspect-ratio: 5 / 4; object-position: 50% 42%; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-tag { position: absolute; left: -6px; bottom: -18px; display: flex; align-items: center; gap: .5rem; padding: .65rem .95rem; background: var(--c-accent); color: var(--c-dark); font-weight: 700; font-size: .9rem; border-radius: 6px; box-shadow: var(--shadow); }
.hero-tag svg { width: 20px; height: 20px; flex: none; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 4rem; }
  .hero-cta { grid-auto-flow: column; justify-content: start; }
  .hero-frame img { aspect-ratio: 1 / 1; object-position: 50% 28%; }
}
@media (max-width: 899px) { .hero::before { width: 70%; opacity: .55; } .hero-frame::before { inset: 10px -8px -10px 10px; } .hero-media { margin-bottom: 1rem; } }

/* detalhe-assinatura: linha tracejada de pista */
.roadline { height: 14px; background: #1c0d12; position: relative; }
.roadline::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: repeating-linear-gradient(90deg, var(--c-accent) 0 38px, transparent 38px 70px); }

/* categorias */
.cats { background: var(--c-bg); }
.cats h2, .why h2, .estrutura h2, .faq-sec h2, .contato h2 { color: var(--c-dark); }
.cats-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cats-grid { grid-template-columns: repeat(4, 1fr); } }
.cat { display: flex; flex-direction: column; padding: 1.6rem 1.4rem 1.4rem; background: var(--c-surface); border-radius: var(--radius); border-bottom: 4px solid var(--c-primary); transition: transform .25s var(--ease), box-shadow .25s; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plate { display: inline-grid; place-items: center; min-width: 72px; height: 72px; padding-inline: .5rem; margin-bottom: 1.2rem; background: var(--c-dark); color: #fff; font-family: var(--font-head); font-weight: 900; font-style: italic; font-size: 2.4rem; line-height: 1; border-radius: 8px; border: 3px solid #fff; outline: 3px solid var(--c-dark); align-self: flex-start; }
.cat:nth-child(2) .plate { background: var(--c-primary); outline-color: var(--c-primary); }
.cat:nth-child(4) .plate { background: var(--c-accent); color: var(--c-dark); outline-color: var(--c-accent); border-color: var(--c-dark); }
.cat p { color: var(--c-muted); font-size: 1rem; flex: 1; }
.cat-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 700; color: var(--c-primary); text-decoration: none; }
.cat-link svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.cat-link:hover { text-decoration: underline; }
.cat-link:hover svg { transform: translateX(4px); }

/* como funciona */
.steps-sec { background: var(--c-dark); color: var(--c-on-dark); }
.steps-grid { display: grid; gap: 2.5rem; }
.steps-sec h2 { color: #fff; }
.steps-sec .lead { color: #d8cfcf; margin-bottom: 1.5rem; }
.steps { counter-reset: s; position: relative; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 1.1rem; padding-bottom: 1.8rem; position: relative; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 58px; bottom: 2px; width: 0; border-left: 4px dashed var(--c-accent); opacity: .75; }
.step-n { display: grid; place-items: center; width: 56px; height: 56px; background: var(--c-primary); color: #fff; font-family: var(--font-head); font-weight: 900; font-style: italic; font-size: 1.7rem; border-radius: 8px; }
.step h3 { color: #fff; margin: .2rem 0 .3rem; }
.step p { margin: 0; color: #d8cfcf; }
@media (min-width: 900px) { .steps-grid { grid-template-columns: .85fr 1.15fr; gap: 5rem; align-items: start; } .steps-grid .sec-head { position: sticky; top: calc(var(--header-h) + 24px); } }

/* por que */
.why { background: var(--c-surface); }
.why-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .why-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: stretch; } }
.score { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 2rem; background: var(--c-bg); border-radius: var(--radius); border-left: 8px solid var(--c-accent); box-shadow: var(--shadow); }
.score-n { font-family: var(--font-head); font-weight: 900; font-style: italic; font-size: clamp(4.5rem, 3rem + 6vw, 7rem); line-height: .9; margin: 0; color: var(--c-primary); }
.score-stars { display: flex; gap: 4px; margin: .8rem 0 .4rem; color: #d9a900; }
.score-stars svg { width: 24px; height: 24px; }
.score-t { color: var(--c-muted); margin-bottom: 1.2rem; }
.why-list { display: grid; gap: 1.2rem; align-content: center; }
.why-list li { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: start; padding-bottom: 1.2rem; border-bottom: 1px solid var(--c-border); }
.why-list li:last-child { border-bottom: 0; }
.why-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 8px; background: var(--c-dark); color: var(--c-accent); }
.why-ico svg { width: 26px; height: 26px; }
.why-list h3 { margin: 0 0 .25rem; color: var(--c-dark); }
.why-list p { margin: 0; color: var(--c-muted); }

/* estrutura */
.estrutura { background: var(--c-bg); }
.estrutura .split { gap: 3rem; }
.est-photos { position: relative; padding-bottom: 3rem; }
.est-photos figure { margin: 0; }
.est-photos img { width: 100%; border-radius: var(--radius); }
.est-main img { aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.est-sub { position: absolute; right: -4px; bottom: 0; width: 52%; padding: 5px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); border-bottom: 5px solid var(--c-primary); }
.est-sub img { aspect-ratio: 4 / 3; }
.estrutura .stack p { color: var(--c-muted); }
.estrutura .btn { margin-top: .6rem; }

/* faq */
.faq-sec { background: var(--c-surface); }
.faq details { border-bottom-color: var(--c-border); }
.faq summary { min-height: 56px; align-items: center; font-size: 1.08rem; color: var(--c-dark); }
.faq summary::after { color: var(--c-primary); }
.faq summary:hover { color: var(--c-primary); }

/* contato */
.contato { background: var(--c-bg); }
.contato-grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .contato-grid { grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: start; } }
.contact-list { display: grid; gap: .9rem; margin: 1.5rem 0; }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: .8rem; align-items: start; }
.contact-list svg { width: 24px; height: 24px; color: var(--c-primary); margin-top: 2px; }
.contact-list a { font-weight: 700; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; color: var(--c-primary); }
.map-card { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; background: var(--c-dark); color: #fff; border-radius: var(--radius); text-decoration: none; border-left: 8px solid var(--c-accent); transition: transform .2s var(--ease), box-shadow .2s; }
.map-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.map-card svg { width: 34px; height: 34px; color: var(--c-accent); flex: none; }
.map-card strong, .map-card small { display: block; }
.map-card small { color: #d8cfcf; font-size: .9rem; }
.card-form { padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--c-surface); border-radius: var(--radius); border-top: 6px solid var(--c-primary); }
.card-form h3 { margin-bottom: 1.2rem; color: var(--c-dark); }
.field input:focus, .field select:focus { outline: 3px solid var(--c-accent); outline-offset: 1px; border-color: var(--c-dark); }
.field-error { color: #a31616; }
.form-note { margin: .9rem 0 0; font-size: .875rem; color: var(--c-muted); }
.form-ok { margin: .8rem 0 0; font-weight: 600; }
.card-form .btn-primary { background: var(--c-wa); }
.card-form .btn-primary:hover { background: #0b6a34; }

/* rodapé */
.site-footer { padding-bottom: 6rem; }
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.1fr 1.4fr 1fr; } }
.brand-mark--foot { font-size: 2.2rem; margin: 0 0 .5rem; display: block; }
.foot-sub { color: #d8cfcf; margin: 0; }
.foot-h { font-size: .8125rem; text-transform: uppercase; letter-spacing: .16em; color: var(--c-accent); font-weight: 700; margin-bottom: .6rem; }
.site-footer a { opacity: 1; }
.foot-social { display: grid; gap: .5rem; }
.foot-social a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; }
.foot-social svg { width: 22px; height: 22px; }
.footer-bottom { opacity: 1; color: #d8cfcf; }
.wa-float { background: var(--c-wa); }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-list li:nth-child(-n+2) { align-items: center; }
.contact-list li:nth-child(-n+2) svg { margin-top: 0; }

/* QA: respiro entre CTA e fatos do hero; endereço sem quebra órfã */
.hero-copy .facts { margin-top: 2.4rem; padding-top: 0; }
.nowrap { white-space: nowrap; }
