/* MS Driver, visual v2: sistema compartilhado (todas as páginas) + seções da home.
   Carregado depois de styles.css e site.css: só redefine tokens e aparência. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/inter-latin-var.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/inter-tight-800-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Verdes do logo oficial: #4CEE00 (destaque) e #00C800 (apoio). */
  --brand-green: #4cee00;
  --brand-vibrant: #6bff1f;
  --background: #111511;
  --shadow: #050805;
  --ink: #f4f6f2;
  --muted: #b9c0b8;            /* 10:1 sobre o fundo */
  --surface: #121a12;
  --line: rgba(244, 246, 242, .12);
  --control-stroke: rgba(244, 246, 242, .22);
  --raised-stroke: rgba(244, 246, 242, .14);
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --pill: 999px;
  --cream: #f1f0e4;
  --black: #111511;
  --green-ink: #1d6b00;      /* verde para texto sobre fundo claro (AA) */
  --gutter: 16px;
  font-family: var(--font-text);
}
html { background: var(--background); }
body {
  font-family: var(--font-text);
  color: var(--ink);
  background:
    radial-gradient(70vmax 55vmax at 100% 0%, rgba(76, 238, 0, .14), transparent 62%),
    radial-gradient(50vmax 40vmax at 0% 100%, rgba(0, 200, 0, .06), transparent 70%),
    var(--background);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.035em; }
h1 em, h2 em, h3 em { color: var(--brand-green); font-style: normal; }
.shell { width: min(calc(100% - 2 * var(--gutter)), 1280px); }
@media (min-width: 761px) { :root { --gutter: 36px; } }

/* Cabeçalho com desfoque de fundo (profundidade, sem 3D) */
.topbar {
  position: sticky; top: 0; z-index: 15; min-height: 68px;
  width: 100%; padding-inline: max(var(--gutter), calc((100% - 1280px) / 2));
  background: rgba(10, 15, 10, .72);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
}
.brand { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; text-transform: uppercase; }
.brand img { width: 56px; height: 56px; margin-left: -8px; }
.brand-tag { display: none; margin-left: 10px; padding-left: 12px; border-left: 1px solid var(--line); color: var(--muted); font: 500 .85rem/1.2 var(--font-text); letter-spacing: 0; text-transform: none; }
@media (min-width: 560px) and (max-width: 1180px), (min-width: 1460px) { .brand-tag { display: inline; } }

/* Botões grandes em pílula: primário verde com texto preto */
.button, .stores a, .driver-app, .navigation .driver-link, .mobile-menu summary, .consent-button {
  border-radius: var(--pill);
}
.button, .driver-app { min-height: 52px; padding: 0 24px; font-weight: 700; color: #050805; }
.button--ghost { color: var(--ink); background: transparent; }
.stores a { min-height: 52px; padding: 0 20px; }
.stores .apple-store { color: #050805; }
.navigation .driver-link { background: transparent; }

/* Formulários e cartões com cantos mais suaves */
.card, .trust, .cta-band, .faq details, .field input, .field textarea, .consent, dialog { border-radius: 20px; }
.consent { -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); background: rgba(18, 26, 18, .9); }

/* ---------- Cabeçalho (todas as páginas) ---------- */
.topbar { gap: 16px; }
.navigation { gap: 6px; }
.navigation .nav-institutional { white-space: nowrap; padding: 10px 10px; color: var(--muted); font-weight: 600; font-size: .92rem; }
.navigation .nav-institutional:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 10px; }
.nav-outline { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--control-stroke); border-radius: var(--pill); font-weight: 600; font-size: .88rem; white-space: nowrap; }
.nav-outline:hover { border-color: var(--brand-green); color: var(--brand-green); }
.nav-cta { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: var(--pill); background: var(--brand-green); color: #0a0f0a; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.nav-cta:hover { background: var(--brand-vibrant); }
.mobile-menu-panel .menu-centrais { display: grid; gap: 8px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.mobile-menu-panel .menu-centrais a { justify-content: center; border: 1px solid var(--brand-green); border-radius: var(--pill); color: var(--brand-green); }
.mobile-menu-panel .menu-centrais a.nav-cta { color: #0a0f0a; }
@media (max-width: 1180px) {
  .navigation .nav-institutional, .nav-actions .nav-outline { display: none; }
  .mobile-menu { display: block; }
}
@media (max-width: 520px) { .nav-actions { display: none; } }
@media (min-width: 1181px) { .mobile-menu { display: none !important; } }

/* ---------- Home: primeira tela (embutida). O resto fica em home.css. ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.v2 { overflow: clip; }
.v2-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 14px;
  border: 1px solid rgba(76, 238, 0, .35); border-radius: var(--pill); background: rgba(76, 238, 0, .08);
  color: var(--brand-green); font: 700 .7rem/1.3 var(--font-text); letter-spacing: .08em; text-transform: uppercase;
}
.v2-kicker::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-green); }
.hero2 { position: relative; isolation: isolate; padding-block: clamp(32px, 7vw, 96px) clamp(64px, 9vw, 120px); background: var(--black); }
.hero2-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero2-bg::before {
  content: ""; position: absolute; width: 120vmax; height: 120vmax; left: 20%; top: -60vmax;
  background: radial-gradient(closest-side, rgba(76, 238, 0, .26), rgba(0, 200, 0, .07) 55%, transparent 72%);
  will-change: transform;
}
.hero2-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero2-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .hero2-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; } }
.v2-title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.9rem, 13.6vw, 9rem); line-height: .92; letter-spacing: -.045em; }
@media (min-width: 960px) { .v2-title { font-size: clamp(4.2rem, 7vw, 8.2rem); } }
.v2-title .line { display: block; }
.v2-title .v2-accent { color: var(--brand-green); }
.v2-sub { max-width: 36ch; margin: 24px 0 30px; color: var(--muted); font-size: clamp(1.08rem, 2.2vw, 1.3rem); line-height: 1.5; }

.button--xl { min-height: 62px; padding: 0 34px; font-size: 1rem; letter-spacing: .05em; }

/* Botões de loja em pílula (padrão do appms): ícone + "Disponível no / Google Play" */
.store-pills { display: grid; grid-template-columns: repeat(auto-fit, minmax(178px, 1fr)); gap: 12px; max-width: 420px; }
.store-pill {
  display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 22px 8px 18px;
  border-radius: var(--pill); background: var(--brand-green); color: #0a0f0a;
  box-shadow: 0 12px 32px rgba(76, 238, 0, .22); transition: background-color .2s, transform .2s;
}
.store-pill:hover { background: var(--brand-vibrant); transform: translateY(-2px); }
.store-pill svg { flex: none; width: 26px; height: 26px; }
.store-pill small { display: block; font: 700 .66rem/1.1 var(--font-text); letter-spacing: .1em; text-transform: uppercase; }
.store-pill b { display: block; font: 800 1.2rem/1.1 var(--font-display); letter-spacing: -.01em; white-space: nowrap; }

/* Balão dos R$ 10 */
.promo { display: flex; gap: 16px; align-items: flex-start; max-width: 460px; margin-top: 22px; padding: 18px 22px; border: 1px solid rgba(76, 238, 0, .5); border-radius: 22px; background: rgba(76, 238, 0, .09); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.promo-icon { flex: none; display: inline-block; font-size: 1.9rem; line-height: 1; }
.promo-title { margin: 0 0 4px; font: 800 clamp(1.15rem, 4.2vw, 1.45rem)/1.12 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.promo-text { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.45; }

/* Celular com o print real + selo de R$ 10 */
.hero2-visual { position: relative; display: grid; justify-items: center; }
.phone {
  position: relative; width: min(300px, 74vw); aspect-ratio: 300 / 630; border-radius: 46px; padding: 10px;
  background: linear-gradient(145deg, #2b322b, #0c100c 45%, #1d231d);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 37px; background: #e9ecef; }
.phone-screen > img.phone-shot { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sticker {
  position: absolute; z-index: 3; top: -18px; left: -44px;
  display: grid; place-items: center; width: 152px; height: 152px; padding: 18px; border-radius: 50%;
  background: var(--brand-green); color: #0a0f0a; text-align: center; transform: rotate(-12deg);
  font: 800 1.12rem/1.02 var(--font-display); letter-spacing: -.01em; text-transform: uppercase;
  box-shadow: 0 18px 40px rgba(76, 238, 0, .35), inset 0 0 0 4px rgba(10, 15, 10, .9), inset 0 0 0 7px var(--brand-green), inset 0 0 0 8px rgba(10, 15, 10, .5);
}
.sticker span { display: block; font-size: 1.9rem; margin-bottom: 2px; }
@media (min-width: 960px) { .sticker { width: 170px; height: 170px; font-size: 1.25rem; left: -90px; top: 8%; } }
@media (max-width: 420px) { .sticker { left: -14px; width: 132px; height: 132px; font-size: .98rem; } .sticker span { font-size: 1.6rem; } }
.phone-wrap { position: relative; }

@media (prefers-reduced-motion: no-preference) {
  .hero2-bg::before { animation: v2-glow 18s ease-in-out infinite alternate; }
  .v2-title .line, .hero-rise { animation: v2-rise .5s cubic-bezier(.2, .7, .2, 1) both; }
  .v2-title .line:nth-child(2) { animation-delay: .09s; }
  .hero-rise { animation-delay: .16s; }
  .phone--hero { animation: v2-float 6s ease-in-out infinite alternate; }
  .hero2 .promo { animation: v2-bounce .7s .45s cubic-bezier(.2, 1.5, .4, 1) both; }
  .promo-icon { animation: v2-gift 2.2s 1.2s ease-in-out infinite; }
  .sticker { animation: v2-sticker .6s .5s cubic-bezier(.2, 1.4, .4, 1) both, v2-pulse-soft 2.4s 1.2s ease-in-out infinite; }
}
@keyframes v2-rise { from { opacity: .01; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes v2-glow { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-22vw, 14vh, 0) scale(1.15); } }
@keyframes v2-float { from { transform: translateY(0); } to { transform: translateY(-12px); } }
@keyframes v2-sticker { from { opacity: 0; transform: rotate(-30deg) scale(.4); } to { opacity: 1; transform: rotate(-12deg) scale(1); } }
@keyframes v2-pulse-soft { 0%, 100% { transform: rotate(-12deg) scale(1); } 50% { transform: rotate(-12deg) scale(1.06); } }
@keyframes v2-bounce { from { opacity: 0; transform: translateY(26px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes v2-gift { 0%, 100% { transform: scale(1) rotate(0); } 40% { transform: scale(1.18) rotate(-8deg); } 60% { transform: scale(1.1) rotate(6deg); } }
