/* =========================================================
   WL Transportes — v2
   ========================================================= */

/* Fontes provisórias calibradas (medidas no navegador) para o texto não "pular"
   quando as fontes do Google terminam de carregar — reduz o CLS. */
@font-face { font-family: 'Archivo Fallback'; src: local('Arial Black'), local('ArialMT-Black'); size-adjust: 100.8%; }
@font-face { font-family: 'Inter Fallback'; src: local('Arial'), local('ArialMT'); size-adjust: 104.3%; }

:root {
    --bg: #0A0A0B;
    --bg-2: #111113;
    --surface: #17171A;
    --surface-2: #1F1F23;
    --line: rgba(255, 255, 255, .08);
    --text: #F4F4F5;
    --muted: #A1A1AA;
    --red: #E3191F;
    --red-deep: #B30000;
    --red-glow: rgba(227, 25, 31, .35);
    --radius: 22px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --display: 'Archivo', 'Archivo Fallback', 'Inter', system-ui, sans-serif;
    --body: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

main, footer { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
    font-family: var(--display);
    font-stretch: 112%;
    line-height: 1.05;
    letter-spacing: -.02em;
    margin: 0;
}

h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; text-wrap: balance; }
h3 { font-size: 1.35rem; font-weight: 700; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(90px, 12vw, 160px) 0; position: relative; }

::selection { background: var(--red); color: #fff; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.kicker {
    font-family: var(--display);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--red);
    margin: 0 0 18px;
}

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 70px); }
.section-lead { color: var(--muted); font-size: 1.1rem; margin: 18px 0 0; }

/* ---------- Estado inicial das animações (só com JS) ---------- */
.js [data-reveal],
.js [data-card],
.js [data-step],
.js [data-feature] { opacity: 0; }
.js .split .word-inner { transform: translateY(105%); }
.split .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .word-inner { display: inline-block; }

/* ---------- Botões ---------- */
.btn {
    --pad-y: 12px; --pad-x: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: var(--pad-y) var(--pad-x);
    border-radius: 999px;
    font-family: var(--body);
    font-weight: 600;
    font-size: .98rem;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
    will-change: transform;
}
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-sm { --pad-y: 10px; --pad-x: 20px; font-size: .92rem; }
.btn-lg { --pad-y: 17px; --pad-x: 34px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px var(--red-glow); }
.btn-red::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%);
    transform: translateX(-120%);
    transition: transform .8s var(--ease);
    z-index: -1;
}
.btn-red:hover { box-shadow: 0 18px 40px -10px var(--red-glow); background: #F02127; }
.btn-red:hover::before { transform: translateX(120%); }

.btn-ghost {
    color: #fff;
    background: rgba(255,255,255,.06);
    box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: #fff; color: #0A0A0B; }

/* ---------- Scroll progress / cursor ---------- */
.scroll-progress {
    position: fixed; top: 0; left: 0; right: 0;
    height: 3px; z-index: 1200;
    pointer-events: none;
}
.scroll-progress span {
    display: block; height: 100%;
    background: linear-gradient(90deg, var(--red-deep), var(--red));
    transform-origin: 0 50%;
    transform: scaleX(0);
}

.cursor-glow {
    position: fixed; top: 0; left: 0;
    width: 420px; height: 420px;
    margin: -210px 0 0 -210px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(227,25,31,.13), transparent 65%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity .5s;
}
@media (hover: hover) and (pointer: fine) {
    body.has-cursor .cursor-glow { opacity: 1; }
}

/* ---------- Header ---------- */
.header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1100;
    padding: 22px 0;
    transition: padding .4s var(--ease), background .4s, backdrop-filter .4s, transform .5s var(--ease), border-color .4s;
    border-bottom: 1px solid transparent;
}
.header.scrolled {
    padding: 12px 0;
    background: rgba(10,10,11,.78);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom-color: var(--line);
}
.header.hidden { transform: translateY(-100%); }
.header-flex { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-wl {
    font-family: var(--display);
    font-stretch: 125%;
    font-weight: 900;
    font-size: 2rem;
    line-height: 1;
    color: var(--red);
    letter-spacing: -.03em;
}
.brand-text {
    display: flex; flex-direction: column;
    font-family: var(--display);
    font-stretch: 115%;
    font-weight: 800;
    font-size: .95rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    line-height: 1.1;
}
.brand-text small {
    font-family: var(--body);
    font-weight: 500;
    font-size: .68rem;
    letter-spacing: .04em;
    text-transform: none;
    color: var(--muted);
}

.desktop-nav { display: flex; align-items: center; gap: 30px; }
.nav-link {
    position: relative;
    text-decoration: none;
    font-weight: 500;
    font-size: .95rem;
    color: rgba(255,255,255,.85);
    padding: 6px 0;
    transition: color .3s;
}
.nav-link::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 2px; background: var(--red);
    transform: scaleX(0); transform-origin: right;
    transition: transform .45s var(--ease);
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }

.hamburger {
    display: none;
    width: 44px; height: 44px;
    border: 0; border-radius: 50%;
    background: rgba(255,255,255,.07);
    cursor: pointer;
    position: relative;
    z-index: 1300;
}
.hamburger span {
    position: absolute; left: 12px; right: 12px;
    height: 2px; background: #fff; border-radius: 2px;
    transition: transform .45s var(--ease), opacity .3s, top .45s var(--ease);
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger.active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-nav {
    position: fixed; inset: 0;
    z-index: 1250;
    background: rgba(10,10,11,.97);
    backdrop-filter: blur(16px);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 10px;
    clip-path: circle(0% at calc(100% - 46px) 44px);
    transition: clip-path .7s var(--ease);
    visibility: hidden;
}
.mobile-nav.open { clip-path: circle(150% at calc(100% - 46px) 44px); visibility: visible; }
.mobile-nav a:not(.btn) {
    font-family: var(--display);
    font-stretch: 115%;
    font-weight: 800;
    font-size: 2rem;
    text-decoration: none;
    padding: 6px 0;
    opacity: 0; transform: translateY(20px);
    transition: opacity .5s, transform .5s var(--ease), color .3s;
}
.mobile-nav a:not(.btn):hover { color: var(--red); }
.mobile-nav .btn { margin-top: 20px; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--ease); }
.mobile-nav.open a { opacity: 1; transform: none; }
.mobile-nav.open a:nth-child(1) { transition-delay: .15s; }
.mobile-nav.open a:nth-child(2) { transition-delay: .2s; }
.mobile-nav.open a:nth-child(3) { transition-delay: .25s; }
.mobile-nav.open a:nth-child(4) { transition-delay: .3s; }
.mobile-nav.open a:nth-child(5) { transition-delay: .35s; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 140px 0 110px;
    overflow: hidden;
}
.hero-media { position: absolute; inset: -60px 0 0; z-index: 0; } /* px fixo: não se move se a altura do hero mudar (CLS) */
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; transform-origin: 60% 50%; }
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        radial-gradient(ellipse at 85% 20%, rgba(227,25,31,.35), transparent 55%),
        linear-gradient(100deg, rgba(10,10,11,.97) 0%, rgba(10,10,11,.88) 40%, rgba(120,0,0,.55) 100%),
        linear-gradient(to top, var(--bg) 0%, transparent 30%);
}

.hero-speedlines { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-speedlines span {
    position: absolute;
    left: -40%;
    height: 2px;
    width: 30%;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, rgba(227,25,31,.9), transparent);
    animation: speed 3.2s linear infinite;
    opacity: .7;
}
.hero-speedlines span:nth-child(1) { top: 18%; animation-delay: 0s; }
.hero-speedlines span:nth-child(2) { top: 34%; animation-delay: 1.1s; width: 22%; animation-duration: 2.6s; }
.hero-speedlines span:nth-child(3) { top: 52%; animation-delay: .5s; width: 40%; animation-duration: 3.8s; }
.hero-speedlines span:nth-child(4) { top: 66%; animation-delay: 2s; width: 18%; }
.hero-speedlines span:nth-child(5) { top: 78%; animation-delay: 1.5s; width: 28%; animation-duration: 2.9s; }
.hero-speedlines span:nth-child(6) { top: 88%; animation-delay: .8s; width: 35%; animation-duration: 4.2s; background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); }
@keyframes speed { to { transform: translateX(480%); } }
.hero.offscreen .hero-speedlines span,
.hero.offscreen .dot::after,
.hero.offscreen .rota-icon,
.hero.offscreen .scroll-cue-wheel { animation-play-state: paused; }

.hero-content { position: relative; z-index: 2; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid var(--line);
    backdrop-filter: blur(8px);
    font-size: .85rem; font-weight: 500;
    color: rgba(255,255,255,.85);
    margin: 0 0 28px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); position: relative; }
.dot::after {
    content: ""; position: absolute; inset: -4px; border-radius: 50%;
    border: 2px solid var(--red);
    animation: ping 1.8s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }

.hero-title {
    font-size: clamp(2.7rem, 7.4vw, 6.4rem);
    font-weight: 900;
    font-stretch: 105%;
    letter-spacing: -.035em;
    line-height: .98;
    max-width: 14ch;
    margin: 0 0 28px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line-inner { display: inline-block; }
.hero-title em {
    font-style: normal;
    color: var(--red);
    background: linear-gradient(90deg, #FF4A4F, var(--red) 60%, var(--red-deep));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.78); max-width: 560px; margin: 0 0 38px; }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }

.rotas-box { display: flex; flex-wrap: wrap; gap: 14px; }
.rota-item {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(10px);
    font-weight: 600;
    font-size: .98rem;
    transition: transform .4s var(--ease), background .3s, border-color .3s;
}
.rota-item:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); border-color: rgba(227,25,31,.6); }
.rota-icon { color: var(--red); font-size: 1.3rem; display: inline-block; animation: swap 2.4s var(--ease) infinite; }
@keyframes swap { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }

.scroll-cue {
    position: absolute; left: 50%; bottom: 32px; z-index: 2;
    width: 26px; height: 42px;
    margin-left: -13px;
    border: 2px solid rgba(255,255,255,.4);
    border-radius: 14px;
}
.scroll-cue-wheel {
    position: absolute; left: 50%; top: 8px;
    width: 4px; height: 8px; margin-left: -2px;
    background: #fff; border-radius: 2px;
    animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee {
    position: relative;
    z-index: 3;
    background: var(--red);
    color: #fff;
    padding: 18px 0;
    overflow: hidden;
    transform: rotate(-1.6deg) scale(1.03);
    box-shadow: 0 20px 60px -20px var(--red-glow);
}
.marquee-track {
    display: flex; align-items: center; gap: 32px;
    width: max-content;
    font-family: var(--display);
    font-stretch: 120%;
    font-weight: 800;
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    text-transform: uppercase;
    letter-spacing: .02em;
    white-space: nowrap;
    animation: marquee 32s linear infinite;
}
.marquee-track i { font-style: normal; opacity: .6; font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Números ---------- */
.numbers { padding: clamp(70px, 9vw, 110px) 0 0; }
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--bg-2), var(--bg));
    overflow: hidden;
}
.number-item { padding: 40px 30px; position: relative; }
.number-item + .number-item { border-left: 1px solid var(--line); }
.number-item::before {
    content: ""; position: absolute; left: 30px; top: 0;
    width: 40px; height: 3px; background: var(--red);
}
.number {
    font-family: var(--display);
    font-stretch: 112%;
    font-weight: 900;
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    line-height: 1;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
}
.number sup { font-size: .42em; color: var(--red); vertical-align: top; margin-left: 4px; top: .35em; position: relative; }
.number-item p { color: var(--muted); margin: 12px 0 0; font-size: .95rem; max-width: 22ch; }

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-text h2 { margin-bottom: 26px; }
.about-text > p:not(.kicker) { color: var(--muted); font-size: 1.08rem; margin: 0 0 16px; }
.about-text blockquote {
    margin: 32px 0 0;
    padding: 6px 0 6px 22px;
    border-left: 3px solid var(--red);
    font-family: var(--display);
    font-stretch: 105%;
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
    font-weight: 600;
    line-height: 1.25;
}
.about-text blockquote strong { color: var(--red); font-weight: 800; }

.about-image { position: relative; }
.about-image-frame {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3.4;
    box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
}
.js .about-image-frame { clip-path: inset(0 0 100% 0 round var(--radius)); }
.about-image-frame img { width: 100%; height: 118%; object-fit: cover; object-position: 55% center; }
.about-badge {
    position: absolute; left: -28px; bottom: 36px;
    background: var(--red);
    padding: 20px 26px;
    border-radius: 18px;
    box-shadow: 0 20px 50px -10px var(--red-glow);
    display: flex; flex-direction: column;
    line-height: 1.1;
}
.about-badge strong { font-family: var(--display); font-stretch: 120%; font-size: 1.6rem; font-weight: 900; }
.about-badge span { font-size: .9rem; opacity: .9; }

/* ---------- Serviços ---------- */
.services { background: var(--bg-2); }
.services::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(227,25,31,.12), transparent 60%);
    pointer-events: none;
}
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; perspective: 1200px; }
.card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: border-color .4s, box-shadow .5s var(--ease);
    will-change: transform;
}
.card::after {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(227,25,31,.18), transparent 45%);
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
}
.card:hover { border-color: rgba(227,25,31,.45); box-shadow: 0 30px 60px -25px rgba(0,0,0,.9), 0 0 0 1px rgba(227,25,31,.2); }
.card:hover::after { opacity: 1; }
.card-media { aspect-ratio: 16 / 11; overflow: hidden; position: relative; }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--surface), transparent 55%); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-media img { transform: scale(1.08); }
.card-body { padding: 8px 30px 34px; position: relative; transform: translateZ(30px); }
.card-num {
    font-family: var(--display);
    font-stretch: 120%;
    font-weight: 800;
    font-size: .85rem;
    color: var(--red);
    letter-spacing: .1em;
}
.card h3 { margin: 10px 0 12px; font-size: 1.5rem; }
.card p { color: var(--muted); margin: 0; }

/* ---------- Rotas ---------- */
.routes-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.routes-text h2 { margin-bottom: 22px; }
.routes-text > p:not(.kicker) { color: var(--muted); font-size: 1.08rem; margin: 0 0 28px; }
.routes-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.routes-list li {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 20px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-weight: 600;
    transition: border-color .3s, transform .4s var(--ease);
}
.routes-list li:hover { border-color: rgba(227,25,31,.5); transform: translateX(6px); }
.routes-list b { color: var(--red); }
.pin { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(227,25,31,.2); }

.routes-map {
    border-radius: var(--radius);
    background: linear-gradient(160deg, var(--surface), var(--bg));
    border: 1px solid var(--line);
    padding: 12px;
    overflow: hidden;
}
.routes-map svg { width: 100%; height: auto; display: block; }
.state { fill: rgba(255,255,255,.035); stroke: rgba(255,255,255,.32); stroke-width: 1.2; stroke-linejoin: round; transition: fill .4s; }
.state:hover { fill: rgba(255,255,255,.07); }
.state-base { fill: rgba(227,25,31,.13); stroke: rgba(227,25,31,.85); stroke-width: 1.6; }
.state-base:hover { fill: rgba(227,25,31,.2); }
.state-labels text { fill: rgba(255,255,255,.38); font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 13px; letter-spacing: .16em; text-anchor: middle; pointer-events: none; paint-order: stroke; stroke: #111113; stroke-width: 4px; stroke-linejoin: round; }
.state-labels text.base { fill: rgba(255,90,95,.8); text-anchor: start; }
.route-base { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 6; stroke-linecap: round; }
.route-draw { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; }
.route-flow {
    fill: none; stroke: rgba(255,255,255,.75); stroke-width: 2;
    stroke-dasharray: 2 14; stroke-linecap: round;
    animation: flow 1.4s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -32; } }
.vehicle circle { filter: drop-shadow(0 0 6px rgba(255,255,255,.9)); }
.node text { paint-order: stroke; stroke: #0A0A0B; stroke-width: 5px; stroke-linejoin: round; fill: #fff; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 20px; }
.node text.sub { fill: var(--muted); font-family: var(--body); font-weight: 500; font-size: 13px; }
.node .pulse { fill: none; stroke: var(--red); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: nodePulse 2.2s var(--ease) infinite; }
.node:not(.node-hub) .pulse { stroke: #fff; }
@keyframes nodePulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3); opacity: 0; } }

/* ---------- Processo ---------- */
.process { background: var(--bg-2); overflow: hidden; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.timeline-line { position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: var(--line); }
.timeline-line span { display: block; height: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }
.step { position: relative; }
.step-dot {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--bg);
    border: 2px solid var(--red);
    font-family: var(--display); font-stretch: 120%; font-weight: 900; font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative; z-index: 1;
    box-shadow: 0 0 0 8px var(--bg-2);
    transition: background .4s, transform .4s var(--ease);
}
.step:hover .step-dot { background: var(--red); transform: scale(1.08); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; max-width: 26ch; }

/* ---------- Contato ---------- */
.contact { overflow: hidden; }
.contact-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 0% 100%, rgba(227,25,31,.22), transparent 55%),
        radial-gradient(ellipse at 100% 0%, rgba(179,0,0,.15), transparent 50%);
    pointer-events: none;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: start; position: relative; }
.contact-text h2 { margin-bottom: 22px; }
.contact-text > p:not(.kicker) { color: var(--muted); font-size: 1.08rem; margin: 0 0 34px; }

.contact-whats {
    display: inline-flex; align-items: center; gap: 16px;
    padding: 14px 22px 14px 14px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    text-decoration: none;
    transition: border-color .3s, transform .4s var(--ease);
}
.contact-whats:hover { border-color: #25D366; transform: translateY(-3px); }
.contact-whats-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #25D366; color: #fff; }
.contact-whats > span:last-child { display: flex; flex-direction: column; font-weight: 700; font-size: 1.1rem; line-height: 1.25; }
.contact-whats small { font-weight: 500; font-size: .82rem; color: var(--muted); }

.form {
    background: rgba(23,23,26,.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: clamp(26px, 4vw, 42px);
    box-shadow: 0 40px 80px -40px rgba(0,0,0,.9);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; margin-bottom: 14px; }
.field input {
    width: 100%;
    padding: 26px 18px 10px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--bg);
    color: #fff;
    font: inherit;
    font-size: 1rem;
    transition: border-color .3s, box-shadow .3s;
}
.field input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(227,25,31,.15); }
.field label {
    position: absolute; left: 19px; top: 18px;
    color: var(--muted);
    pointer-events: none;
    transform-origin: 0 0;
    transition: transform .3s var(--ease), color .3s;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.76); color: var(--red); }
.field input:not(:focus):not(:placeholder-shown) + label { color: var(--muted); }

.form .btn { margin-top: 8px; }
.form.sending .btn { pointer-events: none; opacity: .75; }
.form-note { font-size: .88rem; color: var(--muted); text-align: center; margin: 16px 0 0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 60px 0 34px; overflow: hidden; }
.footer-big {
    font-family: var(--display);
    font-stretch: 125%;
    font-weight: 900;
    font-size: min(6.9vw, 6.2rem);
    line-height: .85;
    letter-spacing: -.04em;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,.14);
    margin-bottom: 40px;
    text-align: center;
}
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; color: var(--muted); font-size: .9rem; }
.footer-row p { margin: 0; }
.footer-row nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.footer-row a { text-decoration: none; transition: color .3s; }
.footer-row a:hover { color: #fff; }
.footer-credit {
    margin: 28px 0 0;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    text-align: center;
    font-size: .82rem;
    color: var(--muted);
}
.footer-credit a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(var(--red), var(--red)) 0 100% / 0 1px no-repeat;
    transition: background-size .4s var(--ease), color .3s;
}
.footer-credit a:hover { color: var(--red); background-size: 100% 1px; }


/* ---------- Entrada do hero (CSS puro: começa no 1º quadro, sem esperar JS) ---------- */
@keyframes heroLine { from { transform: translateY(110%); } to { transform: none; } }
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.18); } to { transform: none; } }
@keyframes headerIn { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }
.hero-title .line-inner { animation: heroLine 1.1s cubic-bezier(.16, 1, .3, 1) .05s backwards; }
.hero-title .line:last-child .line-inner { animation-delay: .17s; }
.hero [data-hero] { animation: heroUp .9s var(--ease) var(--d, .3s) backwards; }
.hero-media img { animation: heroZoom 2.2s var(--ease) backwards; }
.header { animation: headerIn .8s var(--ease) .1s backwards; }
.scroll-cue { animation: heroUp .8s var(--ease) 1s backwards; }
/* Subtítulo: só desliza (sem fade) para ser pintado no 1º quadro — é o elemento de LCP */
@keyframes heroRise { from { transform: translateY(18px); } to { transform: none; } }
.hero-sub { animation: heroRise .9s var(--ease) backwards; }

/* Selo "Transportadora em São Luís" dentro do H1 */
.hero-title .eyebrow {
    display: flex; width: max-content; max-width: 100%;
    font-family: var(--body); font-stretch: 100%; font-weight: 500;
    letter-spacing: 0; line-height: 1.4;
}

/* Texto só para leitores de tela */
.sr-only {
    position: absolute !important; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Parágrafo de definição da empresa */
.about-text .about-lead { color: var(--text); font-size: 1.18rem; line-height: 1.55; }
.about-lead strong { color: #fff; }

/* Ficha "Em resumo" */
.facts {
    margin: 36px 0 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--bg);
    overflow: hidden;
}
.facts-title {
    margin: 0; padding: 16px 22px;
    font-family: var(--display); font-stretch: 110%; font-weight: 800;
    font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
    color: var(--red);
    border-bottom: 1px solid var(--line);
}
.facts dl { margin: 0; }
.facts dl > div {
    display: grid; grid-template-columns: 110px 1fr; gap: 12px;
    padding: 12px 22px;
    border-bottom: 1px solid var(--line);
    font-size: .93rem;
}
.facts dl > div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
.facts a { color: inherit; }

/* Nome, endereço e telefone no rodapé (NAP) */
.footer-nap {
    font-style: normal;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px;
    margin: 0 0 30px;
    color: var(--muted); font-size: .9rem; text-align: center;
}
.footer-nap strong { color: #fff; }
.footer-nap a { color: #fff; text-decoration: none; }
.footer-nap a:hover { color: var(--red); }

/* ---------- Acessibilidade ---------- */
.skip-link {
    position: fixed; top: 12px; left: 12px; z-index: 4000;
    padding: 12px 20px; border-radius: 999px;
    background: var(--red); color: #fff; font-weight: 600; text-decoration: none;
    transform: translateY(-160%);
    transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }
#conteudo { position: absolute; }
picture { display: contents; }

.text-link {
    color: #fff; font-weight: 600; text-decoration: none;
    background: linear-gradient(var(--red), var(--red)) 0 100% / 100% 1px no-repeat;
    transition: color .3s;
}
.text-link:hover { color: var(--red); }

/* ---------- Diferenciais ---------- */
.features { position: relative; }
.features::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 100% 0%, rgba(227,25,31,.08), transparent 55%);
    pointer-events: none;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.feature {
    position: relative;
    padding: clamp(28px, 3.2vw, 44px);
    background: var(--bg);
    transition: background .4s;
}
.feature::before {
    content: ""; position: absolute; left: 0; top: 0;
    width: 100%; height: 2px; background: var(--red);
    transform: scaleX(0); transform-origin: left;
    transition: transform .6s var(--ease);
}
.feature:hover { background: var(--surface); }
.feature:hover::before { transform: scaleX(1); }
.feature-icon {
    width: 54px; height: 54px;
    display: grid; place-items: center;
    border-radius: 14px;
    color: var(--red);
    background: rgba(227,25,31,.1);
    border: 1px solid rgba(227,25,31,.25);
    margin-bottom: 26px;
    transition: transform .5s var(--ease), background .4s, color .4s;
}
.feature:hover .feature-icon { transform: translateY(-4px) rotate(-6deg); background: var(--red); color: #fff; }
.feature h3 { font-size: 1.3rem; margin-bottom: 10px; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- Dúvidas (FAQ) ---------- */
.faq { background: var(--bg-2); }
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    list-style: none;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 26px 0;
    cursor: pointer;
    font-family: var(--display);
    font-stretch: 108%;
    font-weight: 700;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.3;
    transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--red); }
.faq-icon {
    position: relative; flex-shrink: 0;
    width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid var(--line);
    transition: background .3s, border-color .3s, transform .5s var(--ease);
}
.faq-icon::before, .faq-icon::after {
    content: ""; position: absolute; left: 50%; top: 50%;
    width: 13px; height: 2px; margin: -1px 0 0 -6.5px;
    background: currentColor; border-radius: 2px;
    transition: transform .4s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(180deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-answer { padding: 0 60px 26px 0; }
.faq-answer p { margin: 0; color: var(--muted); font-size: 1.02rem; }
.faq-item[open] .faq-answer { animation: faqIn .5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (max-width: 1024px) {
    .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .faq-grid { grid-template-columns: 1fr; }
    .faq-grid .section-head { position: static; }
}
@media (max-width: 640px) {
    .features-grid { grid-template-columns: 1fr; }
    .feature { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; }
    .feature-icon { grid-row: span 2; margin: 0; width: 48px; height: 48px; }
    .faq-answer { padding-right: 0; }
}

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
    position: fixed; right: 26px; bottom: 26px;
    z-index: 1000;
    width: 62px; height: 62px;
    border-radius: 50%;
    background: #25D366;
    display: grid; place-items: center;
    box-shadow: 0 14px 34px -8px rgba(37,211,102,.55);
    transition: transform .4s var(--ease);
}
.whatsapp-float::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid #25D366;
    animation: ping 2.2s var(--ease) infinite;
}
.whatsapp-float:hover { transform: scale(1.1) rotate(-6deg); }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1024px) {
    .cards { grid-template-columns: 1fr 1fr; }
    .cards .card:last-child { grid-column: 1 / -1; }
    .cards .card:last-child .card-media { aspect-ratio: 21 / 9; }
    .numbers-grid { grid-template-columns: 1fr 1fr; }
    .number-item:nth-child(3) { border-left: 0; }
    .number-item:nth-child(n+3) { border-top: 1px solid var(--line); }
    .timeline { grid-template-columns: 1fr 1fr; row-gap: 50px; }
    .timeline-line { display: none; }
}

@media (max-width: 1100px) {
    .desktop-nav { display: none; }
    .hamburger { display: block; }
}

@media (max-width: 860px) {
    .about-grid, .routes-grid, .contact-grid { grid-template-columns: 1fr; }
    .about-badge { left: 16px; bottom: 16px; }
    .routes-map { order: -1; }
}

@media (max-width: 640px) {
    .container { padding: 0 18px; }
    .header { padding: 14px 0; }
    .brand-wl { font-size: 1.7rem; }
    .brand-text { font-size: .82rem; }
    .hero { padding: 120px 0 100px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .rota-item { width: 100%; justify-content: center; }
    .cards { grid-template-columns: 1fr; }
    .cards .card:last-child .card-media { aspect-ratio: 16 / 11; }
    .numbers-grid { grid-template-columns: 1fr 1fr; }
    .number-item { padding: 30px 20px; }
    .number-item::before { left: 20px; }
    .timeline { grid-template-columns: 1fr; row-gap: 34px; }
    .timeline-line { display: block; top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
    .timeline-line span { transform-origin: 50% 0; transform: scaleY(0); width: 100%; height: 100%; }
    .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; }
    .step-dot { grid-row: span 2; margin: 0; }
    .step h3 { align-self: end; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .whatsapp-float { width: 56px; height: 56px; right: 18px; bottom: 18px; }
    .footer-row { flex-direction: column; text-align: center; }
}

/* =========================================================
   Movimento reduzido
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .hero-speedlines, .cursor-glow { display: none; }
    .marquee-track { animation: none; }
    html { scroll-behavior: auto; }
}
