:root {
  --black: #111111;
  --black-2: #1c1c1c;
  --gold: #D7262E;
  --gold-rgb: 215, 38, 46;
  --gold-light: #E5434A;
  --gold-dark: #B01E25;
  --gold-on-dark: #F2545B;
  --accent: #1E9A45;
  --accent-dark: #157A35;
  --white: #ffffff;
  --soft: #F6F4EE;
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --line: #e6e2d6;
  --green: #25D366;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 32px);
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(15px, 1vw + 12px, 17px);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; overflow-wrap: break-word; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.5rem); font-weight: 900; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.gold { color: var(--gold); }
.muted { color: var(--muted); font-weight: 600; }
.link { font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ===== Barra de progresso de rolagem ===== */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 100; pointer-events: none; }
.progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  transform-origin: left; transform: scaleX(0);
}

/* ===== Prévia ===== */
.preview-bar {
  background: repeating-linear-gradient(45deg, var(--gold), var(--gold) 12px, var(--gold-light) 12px, var(--gold-light) 24px);
  color: var(--black);
  text-align: center;
  font: 700 .78rem/1.4 var(--font-body);
  padding: 6px 16px;
}

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 800 .95rem/1.1 var(--font-head);
  text-decoration: none; text-align: center;
  padding: 14px 22px;
  min-height: 48px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
}
.btn--sm { padding: 10px 16px; min-height: 42px; font-size: .85rem; }
.btn--lg { padding: 17px 28px; min-height: 56px; font-size: 1rem; }
.btn--gold { background: var(--gold); color: var(--black); box-shadow: 0 6px 18px rgba(var(--gold-rgb), .35); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn--outline { border-color: var(--black); color: var(--black); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn--gold:hover { background: var(--gold-light); box-shadow: 0 10px 26px rgba(var(--gold-rgb), .45); }
  .btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
  .btn--outline:hover { background: var(--black); color: var(--white); }
}

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); transition: height .3s var(--ease); }
.header.is-scrolled .header__inner { height: 64px; }
.logo { display: block; width: auto; overflow: visible; }
.header__logo { color: var(--black); }
.header__logo .logo { height: 54px; aspect-ratio: 800 / 290; transition: height .3s var(--ease); }
.header.is-scrolled .header__logo .logo { height: 46px; }
.header__right { display: flex; align-items: center; gap: 10px; }

.burger {
  width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--white);
  display: inline-grid; place-content: center; gap: 5px; cursor: pointer;
}
.burger span { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--black); transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Menu mobile: painel que desce */
.nav {
  position: fixed; left: 0; right: 0; top: var(--nav-top, 76px);
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px var(--gutter) 24px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
  max-height: calc(100dvh - var(--nav-top, 76px)); overflow-y: auto;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: transform .3s var(--ease), opacity .25s ease, visibility .3s;
}
.nav.is-open { transform: none; opacity: 1; visibility: visible; }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 700; font-size: 1.05rem; color: var(--black);
  padding: 14px 4px; border-bottom: 1px solid var(--line);
}
.nav__cta { margin-top: 14px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgba(var(--gold-rgb), .22), transparent 45%),
    linear-gradient(170deg, #0b0b0b 0%, var(--black-2) 100%);
  color: var(--white);
  padding: clamp(40px, 8vw, 96px) 0 clamp(230px, 22vw, 270px);
  isolation: isolate;
}
.hero__inner { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2rem, 7vw, 3.8rem); font-weight: 900; letter-spacing: -.02em; max-width: 16ch; }
.hero__lead { font-size: clamp(1rem, 1.2vw + .7rem, 1.15rem); color: #d9d9d9; max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 28px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .92rem; color: #cfcfcf; }
.hero__facts strong { color: var(--gold); margin-right: 4px; }
.hero__slogan {
  font: italic 700 clamp(1rem, 1vw + .75rem, 1.15rem)/1.3 var(--font-head);
  color: var(--gold); margin: 0 0 22px;
}

/* Entrada do hero ao carregar */
.js .hero__inner > * { opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease) forwards; }
.js .hero__inner > *:nth-child(2) { animation-delay: .12s; }
.js .hero__inner > *:nth-child(3) { animation-delay: .24s; }
.js .hero__inner > *:nth-child(4) { animation-delay: .36s; }
.js .hero__inner > *:nth-child(5) { animation-delay: .48s; }
.js .hero__inner > *:nth-child(6) { animation-delay: .6s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  padding: 6px 14px; border-radius: 999px;
  font-size: .85rem; font-weight: 600; margin-bottom: 20px;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #8a8a8a; flex: none; }
.dot.is-open { background: var(--green); animation: pulse 2s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  100% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
}

/* ===== Cena: postes + pista em movimento ===== */
.scene { position: absolute; left: 0; right: 0; bottom: 0; height: 190px; z-index: 1; pointer-events: none; }
.scene__poles { position: absolute; left: 0; right: 0; bottom: 56px; height: 140px; }
/* Semáforo com sinal verde */
.traffic {
  position: absolute; left: 0; bottom: 0;
  width: 30px; height: 140px;
  transform: translate3d(105vw, 0, 0);
  animation: pass 7s linear infinite; /* maior = mais lento */
  will-change: transform;
}
/* Haste */
.traffic::before {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 6px; height: 100%;
  background: linear-gradient(90deg, #4a4a4a, #2a2a2a);
}
/* Caixa das luzes vista de lado: perfil fino, luzes viradas para a esquerda */
.traffic__box {
  position: absolute; left: 9px; top: 0;
  width: 12px; height: 76px;
  background: linear-gradient(90deg, #262626, #1a1a1a);
  border: 2px solid #3a3a3a; border-radius: 4px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .5);
}
/* Lente (borda da luz vista de perfil) */
.traffic__box i { position: absolute; left: -4px; width: 3px; height: 15px; border-radius: 2px; }
.traffic__red { top: 6px; background: #5a1a1a; }
.traffic__yellow { top: 29px; background: #5a4612; }
.traffic__green {
  top: 52px; background: #2BE36A;
  box-shadow: 0 0 6px 2px rgba(43, 227, 106, .8);
}
/* Pala (aba sobre cada luz) */
.traffic__box i::before {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 12px; height: 3px; border-radius: 2px 0 0 2px;
  background: #3a3a3a;
}
/* Facho de luz verde saindo para a esquerda */
.traffic__green::after {
  content: ""; position: absolute; right: 100%; top: 50%; transform: translateY(-50%);
  width: 70px; height: 34px;
  background: radial-gradient(ellipse at right center, rgba(43, 227, 106, .5), rgba(43, 227, 106, 0) 70%);
  pointer-events: none;
}
@keyframes pass {
  from { transform: translate3d(105vw, 0, 0); }
  to   { transform: translate3d(-90px, 0, 0); }
}

.road {
  position: absolute; left: 0; right: 0; bottom: 0; height: 56px;
  background: linear-gradient(180deg, #2b2b2b, #1f1f1f);
  border-top: 3px solid var(--gold);
  overflow: hidden;
}
.road::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: rgba(255, 255, 255, .25); }
.road__lines {
  position: absolute; top: 50%; left: 0; width: calc(100% + 120px); height: 5px;
  transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, var(--white) 0 60px, transparent 60px 120px);
  opacity: .9;
  animation: lines 1.2s linear infinite;
  will-change: transform;
}
@keyframes lines { from { transform: translate(0, -50%); } to { transform: translate(-120px, -50%); } }
/* ===== Seções ===== */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section--dark { background: var(--black); color: var(--white); }
.section--soft { background: var(--soft); }
.section__lead { color: var(--muted); max-width: 60ch; margin-bottom: 32px; }
.eyebrow {
  font: 800 .78rem/1 var(--font-head);
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--gold-dark); margin-bottom: 12px;
}
.section--dark .eyebrow { color: var(--gold); }

/* Cards de cursos */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: var(--gold); transform: scaleY(0); transform-origin: bottom;
  transition: transform .35s var(--ease);
}
@media (hover: hover) {
  .card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .1); border-color: var(--gold); }
  .card:hover::before { transform: scaleY(1); }
}
.card p { color: var(--muted); flex: 1; }
.card__tag {
  align-self: flex-start;
  font: 800 .72rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .08em;
  background: var(--soft); color: var(--black);
  padding: 7px 10px; border-radius: 6px; margin-bottom: 14px;
}
.card--featured { background: var(--black); color: var(--white); border-color: var(--black); }
.card--featured p { color: #cfcfcf; }
.card--featured .card__tag { background: var(--gold); }
.card--featured .muted { color: #bdbdbd; }
.card__link { font-weight: 700; text-decoration: none; color: var(--gold-dark); padding: 6px 0; }
.card--featured .card__link { color: var(--gold); }
.card__link:hover { text-decoration: underline; }

/* Passos */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.step {
  background: var(--black-2);
  border: 1px solid #2c2c2c;
  border-radius: var(--radius);
  padding: 24px;
}
.step p { color: #cfcfcf; margin: 0; }
.step__n {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: var(--black);
  font: 900 1.2rem/1 var(--font-head);
  margin-bottom: 14px;
}

/* Diferenciais */
.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin-top: 28px; }
.feature { padding: 22px; border-radius: var(--radius); background: var(--soft); }
.feature p { color: var(--muted); margin: 0; }
.feature__icon {
  width: 48px; height: 48px; padding: 11px; margin-bottom: 14px;
  border-radius: 12px; background: rgba(var(--gold-rgb), .18);
  fill: none; stroke: var(--gold-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* Nova regra da CNH */
.rule { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
.rule__text p { color: #3d3d3d; max-width: 54ch; }
.rule__text .btn { margin-top: 6px; }
.rule__source { font-size: .8rem; color: var(--muted) !important; margin: 14px 0 0; }
.rule__source a { color: var(--gold-dark); }
.rule__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rule__list li {
  position: relative;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px 16px 56px; color: var(--muted);
}
.rule__list li strong { color: var(--black); display: block; margin-bottom: 2px; }
.rule__list li::before {
  content: ""; position: absolute; left: 16px; top: 17px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Avaliar no Google */
.section--review {
  background:
    radial-gradient(circle at 0% 100%, rgba(var(--gold-rgb), .25), transparent 50%),
    linear-gradient(135deg, #fffaf0, #fff3cf);
}
.review { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
.review__text p:last-child { color: #3d3d3d; max-width: 46ch; }
.review__box {
  background: var(--white);
  border-radius: 20px;
  padding: clamp(22px, 4vw, 36px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .1);
  text-align: center;
}
.review__note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.review__box .btn { width: 100%; max-width: 360px; }

/* FAQ */
.faq { margin-top: 28px; display: grid; gap: 12px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 20px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: var(--gold); box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none;
  font-weight: 700; padding: 18px 32px 18px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font: 800 1.4rem/1 var(--font-head); color: var(--gold-dark);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* CTA */
.cta { background: var(--gold); padding: clamp(48px, 7vw, 72px) 0; text-align: center; }
.cta h2 { color: var(--black); }
.cta p { color: #2b2b2b; font-size: 1.05rem; margin-bottom: 24px; }

/* Contato */
.contact { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
.contact__addr { font-style: normal; font-size: 1.05rem; margin-bottom: 8px; }
.contact__unit { color: var(--muted); max-width: 44ch; }
.hours { width: 100%; max-width: 400px; border-collapse: collapse; margin: 16px 0 24px; font-size: .95rem; }
.hours th { text-align: left; font-weight: 600; padding: 9px 10px; }
.hours td { text-align: right; padding: 9px 10px; color: var(--muted); white-space: nowrap; }
.hours tr { border-bottom: 1px solid var(--line); }
.hours tr.is-today { background: rgba(var(--gold-rgb), .18); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--black); font-weight: 800; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.map {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  aspect-ratio: 4 / 3; background: var(--soft);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Footer */
.footer { background: var(--black); color: #bdbdbd; padding: 36px 0 calc(100px + env(safe-area-inset-bottom)); font-size: .9rem; }
.footer__inner { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer .logo { height: 70px; aspect-ratio: 800 / 350; color: var(--white); }
.footer p { margin: 0; }
.footer a { color: var(--gold); }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; z-index: 60;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transition: transform .3s var(--ease), opacity .3s ease;
}
/* Só aparece depois do topo, para não cobrir os botões do hero e os cards */
/* ...e some na seção de contato, que já tem botão de WhatsApp (não cobre os horários) */
.js .wa-float:not(.is-visible) { opacity: 0; transform: scale(.6); pointer-events: none; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .6);
  animation: ring 2.4s ease-out 2s infinite;
}
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); } 70%, 100% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } }
@media (hover: hover) { .wa-float:hover { transform: scale(1.08); } }

/* ===== Animações de rolagem ===== */
.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal--left { transform: translateX(-40px); }
.js .reveal--right { transform: translateX(40px); }
.js .reveal--zoom { transform: scale(.92); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ===== Breakpoints ===== */
/* Celular: cena menor, sem espaço morto no topo */
@media (max-width: 719px) {
  .hero { padding-bottom: 150px; }
  .scene { height: 150px; }
  .scene__poles { height: 100px; bottom: 44px; }
  .traffic { height:100px; }
  .road { height: 44px; }
  .hero__actions .btn,
  .rule__text .btn,
  .cta .btn { width: 100%; }
  .cta .btn { max-width: 420px; }
  .contact__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .contact__actions .btn { width: 100%; padding-left: 12px; padding-right: 12px; }
  .contact__actions .btn:first-child { grid-column: 1 / -1; }
}
@media (max-width: 400px) {
  .header__wa { display: none; }
}
@media (min-width: 720px) {
  .footer__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer { padding-bottom: 36px; }
  .review { grid-template-columns: 1.1fr 1fr; }
  .rule { grid-template-columns: 1.1fr 1fr; }
}
@media (min-width: 1024px) {
  .burger, .header__wa { display: none; }
  .nav {
    position: static; flex-direction: row; align-items: center; gap: 26px;
    padding: 0; background: none; border: 0; box-shadow: none;
    max-height: none; overflow: visible;
    transform: none; opacity: 1; visibility: visible;
  }
  .nav a:not(.btn) { padding: 6px 0; border: 0; font-size: .95rem; position: relative; }
  .nav a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--gold); transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--ease);
  }
  .nav a:not(.btn):hover::after { transform: scaleX(1); }
  .nav__cta { margin: 0; padding: 10px 18px; min-height: 42px; font-size: .85rem; }
  .contact { grid-template-columns: 1fr 1.2fr; }
  .scene { height: 230px; }
  .scene__poles { height: 170px; }
  .traffic { height:170px; }
}
@media (min-width: 1600px) {
  .container { max-width: 1320px; }
}
/* Celular deitado */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding-top: 32px; padding-bottom: 150px; }
  .scene { height: 140px; }
  .scene__poles { height: 100px; bottom: 44px; }
  .traffic { height:100px; }
  .road { height: 44px; }
}

/* Acessibilidade: quem desativou animações no sistema */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Semáforo fica parado na pista (sem sumir); nada se move */
  .traffic, .road__lines, .wa-float::after, .dot.is-open { animation: none !important; }
  .traffic { transform: translate3d(78vw, 0, 0); }
  .js .hero__inner > * { animation: none; opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Tema Dinâmica: vermelho e verde do logo ===== */
.header__logo .logo-img { height: 44px; width: auto; transition: height .3s var(--ease); }
.header.is-scrolled .header__logo .logo-img { height: 38px; }
.footer__logo { height: 48px; width: auto; background: var(--white); padding: 8px 12px; border-radius: 10px; box-sizing: content-box; }

.btn--gold, .card--featured .card__tag, .step__n { color: var(--white); }
.preview-bar { color: var(--white); }
.cta h2, .cta p { color: var(--white); }

.gold, .hero__facts strong, .hero__slogan, .section--dark .eyebrow,
.card--featured .card__link, .footer a { color: var(--gold-on-dark); }

.eyebrow { color: var(--accent-dark); }
.feature__icon { stroke: var(--accent-dark); background: rgba(30, 154, 69, .14); }
.rule__list li::before { background-color: var(--accent); }
.faq details[open] { border-color: var(--accent); }

:root { --soft: #FFF8E1; --line: #EFE3BF; --yellow: #FFC72C; }
.hero__facts strong, .hero__slogan { color: var(--yellow); }
.road { border-top-color: var(--yellow); }

:root { --green-deep: #14532D; }
.section--dark, .footer { background: var(--green-deep); }
.step { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); }
.step p { color: rgba(255, 255, 255, .85); }
.step__n { background: var(--yellow); color: var(--green-deep); }
.section--dark .eyebrow, .footer a { color: var(--yellow); }
.footer { color: rgba(255, 255, 255, .82); }
.hero {
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 199, 44, .14), transparent 45%),
    linear-gradient(170deg, #0b0b0b 0%, #1c1c1c 100%);
}
