/* =========================================================
   FONTES PERSONALIZADAS
   ========================================================= */

@font-face {
    font-family: "Magneto";
    src: url("../fonts/Magneto.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Manbow Clear";
    src: url("../fonts/manbow clear.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Manbow Lines";
    src: url("../fonts/manbow lines.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Air Americana";
    src: url("../fonts/Air Americana.ttf") format("truetype");
    font-display: swap;
}

:root {
    --navy: #111827;
    --navy-2: #1f2937;
    --red: #e21d2f;
    --red-dark: #b91424;
    --yellow: #ffc400;
    --text: #202733;
    --muted: #667085;
    --border: #e5e7eb;
    --soft: #f5f7fa;
    --white: #ffffff;
    --shadow: 0 12px 30px rgba(17, 24, 39, .12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--text);
    font-family: "Montserrat", sans-serif;
    overflow-x: hidden;
}

/* =========================================================
   CABEÇALHO — somente a logo
   ========================================================= */
.site-header {
    position: relative;
    z-index: 1000;
    min-height: 86px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px 30px;
    background: var(--white);
    border-bottom: 3px solid var(--red);
    box-shadow: 0 3px 14px rgba(17, 24, 39, .08);
}

.logo {
    font-family: "Manbow Clear", sans-serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    letter-spacing: .02em;
    color: var(--navy);
    text-shadow: 2px 2px 0 var(--yellow);
    white-space: nowrap;
}

/* =========================================================
   MENU EM CASCATA
   ========================================================= */
.vehicle-menu {
    position: relative;
    z-index: 900;
    background: var(--navy);
    border-bottom: 4px solid var(--yellow);
    box-shadow: 0 5px 18px rgba(17, 24, 39, .15);
}

.vehicle-menu-inner {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 4%;
}

.vehicle-menu-list {
    display: flex;
    align-items: stretch;
    justify-content: center;
    list-style: none;
}

.vehicle-menu-list > li {
    position: relative;
}

.menu-parent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    padding: 0 17px;
    border: 0;
    background: transparent;
    color: var(--white);
    font: 700 .76rem/1 "Montserrat", sans-serif;
    letter-spacing: .04em;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}

.menu-parent span {
    font-size: 1rem;
    transition: transform .2s ease;
}

.vehicle-menu-list > li:hover > .menu-parent,
.vehicle-menu-list > li:focus-within > .menu-parent,
.vehicle-menu-list > li.submenu-open > .menu-parent {
    color: var(--navy);
    background: var(--yellow);
}

.vehicle-menu-list > li:hover > .menu-parent span,
.vehicle-menu-list > li:focus-within > .menu-parent span,
.vehicle-menu-list > li.submenu-open > .menu-parent span {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 215px;
    list-style: none;
    padding: 7px;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 3px solid var(--red);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.vehicle-menu-list > li:hover > .submenu,
.vehicle-menu-list > li:focus-within > .submenu,
.vehicle-menu-list > li.submenu-open > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li a {
    display: block;
    padding: 12px 14px;
    color: var(--navy);
    background: var(--white);
    text-decoration: none;
    font-size: .8rem;
    font-weight: 600;
    border-radius: 4px;
    transition: .18s ease;
}

.submenu li a:hover,
.submenu li a:focus-visible {
    color: var(--white);
    background: var(--red);
    outline: none;
}

.mobile-menu-toggle {
    display: none;
}

/* =========================================================
   CAMINHONETES DECORATIVAS — OLHANDO PARA O CENTRO
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;
}

/* Cada metade do hero é uma caixa invisível.
   O overflow hidden impede que uma caminhonete invada a outra. */
.truck-box {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.truck-box-left {
    left: 0;
}

.truck-box-right {
    right: 0;
}

.truck {
    position: absolute;
    top: 50%;
    width: min(700px, 100%);
    max-width: none;
    height: auto;
    opacity: .15;
    user-select: none;
}

.truck-left {
    right: 0;
    transform: translateY(-50%);
}

.truck-right {
    left: 0;
    transform: translateY(-50%);
    transform-origin: center;
}

.truck-right37 {
    left: 0;
    transform: translateY(-50%) scaleX(-1);
    transform-origin: center;
}

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

/* =========================================================
   HERO — compacto para reduzir a necessidade de rolagem
   ========================================================= */
.hero {
    position: relative;
    min-height: calc(100vh - 146px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 55px 6%;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(17, 24, 39, .97) 0%, rgba(17, 24, 39, .9) 48%, rgba(226, 29, 47, .9) 100%);
    border-bottom: 7px solid var(--yellow);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 12px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 950px;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--yellow);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero h1 {
    font-family: "Manbow Lines", sans-serif;
    font-weight: 400;
    font-size: clamp(3.2rem, 8vw, 6.2rem);
    line-height: .95;
    color: var(--white);
    text-shadow: 4px 4px 0 var(--red-dark);
}

.hero-subtitle {
    margin-top: 22px;
    color: var(--white);
    font-size: clamp(.95rem, 2vw, 1.25rem);
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.hero-content::after {
    content: "";
    display: block;
    width: 75px;
    height: 5px;
    margin: 25px auto 0;
    background: var(--yellow);
    border-radius: 4px;
}

/* =========================================================
   SOBRE — compacto
   ========================================================= */
.sobre {
    padding: 55px 7%;
    background: var(--white);
    text-align: center;
}

.sobre-content {
    max-width: 850px;
    margin: 0 auto;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 18px;
}

h2::after {
    content: "";
    display: block;
    width: 55px;
    height: 4px;
    margin: 10px auto 0;
    background: var(--red);
    border-radius: 3px;
}

.sobre-content h2{
    font-family: "Air Americana", sans-serif;
    font-weight: 400;
    font-size: clamp(3.2rem, 8vw, 6.2rem);
}

.sobre p {
    line-height: 1.7;
    color: var(--muted);
    font-size: .96rem;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
    padding: 12px 22px;
    border-radius: 5px;
    background: var(--red);
    color: var(--white);
    text-decoration: none;
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    transition: .2s ease;
}

.contact-button:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

/* =========================================================
   RODAPÉ
   ========================================================= */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    padding: 28px 6%;
    background: var(--navy);
    border-top: 5px solid var(--yellow);
}

.footer-info h3 {
    font-family: "Air Americana", sans-serif;
    font-weight: 400;
    color: var(--white);
    font-size: 1.5rem;
    text-shadow: 2px 2px 0 var(--red);
}

.footer-info p {
    margin-top: 4px;
    color: #cbd5e1;
    font-size: .82rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
    color: var(--white);
    font-size: .78rem;
    font-weight: 700;
    padding: 8px 12px;
    border: 1px solid #475569;
    border-radius: 5px;
    transition: .2s ease;
}

.footer-links a:hover {
    background: var(--red);
    border-color: var(--red);
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
    padding: 8px;
    background: #25d366;
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(0,0,0,.22);
    z-index: 9999;
    transition: transform .2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    display: block;
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1100px) {
    .vehicle-menu-list {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .menu-parent {
        padding: 0 13px;
        font-size: .71rem;
    }
}

@media (max-width: 900px) {
    .site-header {
        min-height: 74px;
    }

    .vehicle-menu-inner {
        padding: 0;
    }

    .mobile-menu-toggle {
        width: 100%;
        min-height: 52px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
        border: 0;
        background: var(--navy);
        color: var(--white);
        font: 800 .82rem/1 "Montserrat", sans-serif;
        letter-spacing: .08em;
        text-transform: uppercase;
        cursor: pointer;
    }

    .hamburger {
        font-size: 1.35rem;
    }

    .vehicle-menu-list {
        display: none;
        flex-direction: column;
        overflow: visible;
        border-top: 1px solid #374151;
    }

    .vehicle-menu-list.mobile-open {
        display: flex;
    }

    .vehicle-menu-list > li {
        width: 100%;
        border-bottom: 1px solid #374151;
    }

    .menu-parent {
        width: 100%;
        justify-content: space-between;
        min-height: 50px;
        padding: 0 20px;
        text-align: left;
    }

    .submenu {
        position: static;
        display: none;
        min-width: 0;
        padding: 5px 15px 10px;
        border: 0;
        border-top: 1px solid #374151;
        box-shadow: none;
        background: #f8fafc;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .vehicle-menu-list > li.submenu-open > .submenu {
        display: block;
    }

    .submenu li a {
        padding: 11px 14px;
        background: var(--white);
        font-size: .78rem;
    }

    .hero {
        min-height: 58vh;
        padding: 45px 20px;
    }

    footer {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
    }

    .footer-links {
        justify-content: center;
    }

    .truck {
        width: 52vw;
        opacity: .06;
    }

    .truck-left {
        right: 0;
    }

    .truck-right {
        left: 0;
    }
}

@media (max-width: 600px) {
    body::before,
    body::after {
        width: 70vw;
        opacity: .025;
    }

    .logo {
        font-size: 1.75rem;
    }

    .hero {
        min-height: 54vh;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 11vw, 4rem);
        line-height: .95;
        white-space: nowrap;
        max-width: 100%;
    }

    .hero-subtitle {
        line-height: 1.5;
    }

    .sobre {
        padding: 45px 20px;
    }

    .footer-links {
        flex-direction: column;
        width: 100%;
    }

    .footer-links a {
        width: min(100%, 280px);
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        right: 14px;
        bottom: 14px;
    }

    .truck {
        width: 48vw;
        opacity: .045;
    }

    .truck-left {
        right: -2%;
    }

    .truck-right {
        left: -2%;
    }
}

/* =========================================================
   AJUSTE FINAL — HERO EM TELA ÚNICA
   ========================================================= */
:root {
    --hero-blue: #1683c7;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    min-height: 100dvh;
}

.site-header {
    min-height: 68px;
    height: 8vh;
    padding: 8px 30px;
    border-bottom: 3px solid var(--red);
}

.logo {
    color: var(--navy);
    text-shadow: 2px 2px 0 var(--hero-blue);
}

.logo37 {
    font-family: "Manbow Clear", sans-serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    letter-spacing: .02em;
    white-space: nowrap;
    color: var(--navy);
    text-shadow: 2px 2px 0 green;
}

.logo47 {
    font-family: "Manbow Clear", sans-serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    letter-spacing: .02em;
    white-space: nowrap;
    color: var(--navy);
    text-shadow: 2px 2px 0 black;
}

.logo55 {
    font-family: "Manbow Clear", sans-serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    letter-spacing: .02em;
    white-space: nowrap;
    color: var(--navy);
    text-shadow: 2px 2px 0 rgb(255, 0, 191);
}

.logo60 {
    font-family: "Manbow Clear", sans-serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    letter-spacing: .02em;
    white-space: nowrap;
    color: var(--navy);
    text-shadow: 2px 2px 0 #ff6a00;
}

.vehicle-menu {
    height: 52px;
    border-bottom: 3px solid var(--yellow);
}

.menu-parent {
    min-height: 49px;
}

main {
    height: calc(100dvh - 8vh - 52px);
}

.hero {
    height: 100%;
    min-height: 0;
    padding: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    background:
        linear-gradient(135deg, rgba(17, 24, 39, .98) 0%, rgba(17, 24, 39, .92) 48%, rgba(226, 29, 47, .94) 100%);
    border-bottom: 0;
}

.hero-content {
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, .9fr) minmax(0, 1.35fr) minmax(0, .55fr);
    align-items: center;
    justify-items: center;
}

.hero h1 {
    align-self: center;
    margin: 0;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: .8;
    white-space: nowrap;
}

.trucks-stage {
    position: relative;
    width: min(1100px, 100%);
    height: 100%;
    min-height: 0;
}

.truck-box {
    top: 0;
    bottom: 0;
    width: 50%;
}

.truck {
    top: 50%;
    width: min(650px, 100%);
    opacity: .19;
}

.hero-subtitle {
    align-self: start;
    margin: 0;
    padding: 4px 20px 0;
    font-size: clamp(.85rem, 1.7vw, 1.2rem);
    line-height: 1.15;
}

.hero-content::after {
    display: none;
}

.sobre {
    position: absolute;
    left: 50%;
    bottom: 11%;
    transform: translateX(-50%);
    width: min(680px, 88%);
    padding: 0;
    background: transparent;
    text-align: center;
    z-index: 5;
}

.sobre-content {
    max-width: 680px;
}

.sobre-content h2 {
    margin-bottom: 7px;
    color: var(--white);
    font-family: "Air Americana", sans-serif;
    font-size: clamp(2.34rem, 3.9vw, 3.51rem);
    line-height: .9;
    text-shadow: 2px 2px 0 var(--red-dark);
}

.sobre-content h2::after {
    display: none;
}

.sobre p {
    color: rgba(255,255,255,.82);
    font-size: clamp(0.78rem, 1.05vw, 0.9rem);
    line-height: 1.4;
}

.contact-button {
    margin-top: 9px;
    padding: 8px 15px;
    font-size: 0.884rem;
}

footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6;
    padding: 9px 4%;
    min-height: 7%;
    background: rgba(17, 24, 39, .92);
    border-top: 2px solid var(--yellow);
}

.footer-info h3 {
    font-size: 1.05rem;
}

.footer-info p {
    font-size: .68rem;
}

.footer-links {
    gap: 6px;
}

.footer-links a {
    padding: 5px 9px;
    font-size: .65rem;
}

.whatsapp-float {
    width: 48px;
    height: 48px;
    right: 14px;
    bottom: 8.5%;
    z-index: 20;
}

@media (max-width: 900px) {
    .site-header {
        height: 8vh;
        min-height: 58px;
    }

    .vehicle-menu {
        height: 48px;
    }

    .mobile-menu-toggle {
        min-height: 45px;
        height: 45px;
    }

    main {
        height: calc(100dvh - 8vh - 48px);
    }

    .hero-content {
        grid-template-rows: minmax(0, .8fr) minmax(0, 1.45fr) minmax(0, .55fr);
    }

    .hero h1 {
        font-size: clamp(2.6rem, 10vw, 5rem);
    }

    .truck {
        width: min(56vw, 430px);
        opacity: .13;
    }

    .sobre {
        bottom: 11%;
        width: 82%;
    }

    .sobre-content h2 {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
    }

    .sobre p {
        font-size: .7rem;
    }
}

@media (max-width: 600px) {
    .site-header {
        padding: 6px 15px;
    }

    .logo {
        font-size: 1.55rem;
    }

    .hero-content {
        grid-template-rows: minmax(0, .75fr) minmax(0, 1.5fr) minmax(0, .55fr);
    }

    .hero h1 {
        font-size: clamp(2rem, 11vw, 3.6rem);
        line-height: .8;
        white-space: nowrap;
    }

    .trucks-stage {
        width: 100%;
    }

    .truck {
        width: 55vw;
        opacity: .12;
    }

    .truck-left {
        right: -4%;
    }

    .truck-right {
        left: -4%;
    }

    .hero-subtitle {
        max-width: 100%;
        padding: 2px 12px 0;
        font-size: clamp(.66rem, 3vw, .9rem);
        letter-spacing: .045em;
    }

    .sobre {
        bottom: 12%;
        width: 88%;
    }

    .sobre-content h2 {
        font-size: clamp(1.35rem, 6vw, 1.8rem);
    }

    .sobre p {
        font-size: .65rem;
        line-height: 1.3;
    }

    .contact-button {
        margin-top: 6px;
        padding: 6px 12px;
        font-size: .58rem;
    }

    footer {
        min-height: 8%;
        padding: 6px 10px;
        gap: 6px;
    }

    .footer-info h3 {
        font-size: .8rem;
    }

    .footer-info p,
    .footer-links a {
        font-size: .52rem;
    }

    .footer-links {
        flex-wrap: nowrap;
        gap: 3px;
    }

    .footer-links a {
        padding: 4px 6px;
    }

    .whatsapp-float {
        width: 42px;
        height: 42px;
        right: 8px;
        bottom: 9%;
    }
}
