/* =====================================================================
   TOPO DA PÁGINA
   1. Cabeçalho (logo + menu)       2. Banner
   3. Hero (título + fotos da frota) 4. Painel de saídas (desativado)
   5. Faixa de diferenciais
   ===================================================================== */

/* 1. CABEÇALHO ------------------------------------------------------- */
header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--head); color: var(--head-ink); border-bottom: 3px solid var(--sea); box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.nav { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.logo { display: flex; align-items: center; }
.logo img { height: 46px; width: auto; display: block; }
.links { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: 15px; }
.links a { text-decoration: none; opacity: .85; }
.links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--sign); }
.nav .btn { padding: .7em 1.1em; font-size: 15px; background: var(--sea); color: #fff; }
@media (max-width: 860px) { .links { display: none; } .nav .btn { margin-left: auto; } }

/* 2. BANNER ---------------------------------------------------------- */
.banner { background: var(--band); line-height: 0; }
.banner img { width: 100%; height: auto; display: block; }

/* 3. HERO ------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; color: var(--band-ink); background: radial-gradient(120% 90% at 0% 100%, rgba(36,176,77,.28), transparent 60%), var(--band); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; padding-block: 56px 88px; align-items: center; }
.hero .eyebrow { color: var(--sign); }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 900; margin-top: 14px; }
.hero h1 em { font-style: normal; color: var(--sign); }
.hero .lead { font-size: 20px; max-width: 34ch; opacity: .85; margin: 22px 0 30px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 44px 76px; } }

/* Faixa tracejada animada (a "estrada") no pé do hero */
.road { position: absolute; left: 0; right: 0; bottom: 22px; height: 6px; opacity: .9; background: repeating-linear-gradient(90deg, var(--sign) 0 48px, transparent 48px 84px); animation: drive 2.4s linear infinite; }
@keyframes drive { to { background-position: 84px 0; } }

/* Grade 2×2 de fotos da frota no hero */
.fleet { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-width: 0; }
.fleet figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: #151B16; }

/* Etiqueta e zoom das fotos: valem para a grade do hero e para a galeria da frota */
.fleet img, .gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.fleet figure:hover img, .gallery figure:hover img { transform: scale(1.04); }
.fleet figcaption, .gallery figcaption { position: absolute; top: 10px; left: 10px; font: 700 12px/1 var(--body); letter-spacing: .04em; background: rgba(10,13,11,.78); color: #EEF4EC; padding: 6px 9px; border-radius: 999px; border-left: 3px solid #A8E71D; }

/* 4. PAINEL DE PRÓXIMAS SAÍDAS (desativado) ------------------------- */
/* Só aparece se existir <div class="board"><div id="saidas"></div></div> no index.html */
.board { background: #0F1510; border: 1px solid #26352A; border-radius: 14px; padding: 20px; color: #E6EEF0; font-family: var(--mono); min-width: 0; }
.board-h { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #A8E71D; border-bottom: 1px solid #26352A; padding-bottom: 12px; }
.board-row { display: grid; grid-template-columns: 62px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px dashed #26352A; font-size: 14px; font-variant-numeric: tabular-nums; align-items: baseline; }
.board-row:last-of-type { border-bottom: 0; }
.board-row b { font-weight: 500; color: #fff; }
.board-row span { color: #93A396; font-size: 12px; }
.tag { font-size: 11px; padding: 3px 7px; border-radius: 4px; background: #17301D; color: #7EDB98; white-space: nowrap; }
.tag.last { background: #2E3A0B; color: #C4F25A; }

/* 5. FAIXA DE DIFERENCIAIS ------------------------------------------- */
.trust { border-bottom: 1px solid var(--line); background: var(--surface); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 28px; }
.trust .item { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.trust .item p { margin: 0; }
.trust strong { display: block; color: var(--ink); font-size: 16px; }
@media (max-width: 860px) { .trust .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trust .wrap { grid-template-columns: 1fr; } }
