﻿/* ─── Reset & Variables ─── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #0e1b3d;
    --navy-img: url('../images/Dois_Caminhao.jpeg');
    --navy-overlay: rgba(14, 27, 61, 0.88);
    --blue: #1a3a8f;
    --accent: #e8a020;
    --light: #f5f6fa;
    --white: #ffffff;
    --gray: #6b7280;
    --dark: #111827;
    --radius: 6px;
    --shadow: 0 4px 24px rgba(0,0,0,.12);
    --transition: .3s cubic-bezier(.4,0,.2,1);
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans', sans-serif;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

/* ─── Utility ─── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-label {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

h2.section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 16px;
}

    h2.section-title.light {
        color: var(--white);
    }

.section-sub {
    font-size: 17px;
    color: var(--gray);
    line-height: 1.7;
    max-width: 580px;
}

    .section-sub.light {
        color: rgba(255,255,255,.7);
    }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: var(--navy);
}

    .btn-primary:hover {
        background: #d08f10;
        transform: translateY(-2px);
    }

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,.5);
}

    .btn-outline:hover {
        border-color: var(--white);
        background: rgba(255,255,255,.1);
    }

/* ─── Header ─── */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.topbar {
    background: var(--navy);
    padding: 8px 0;
    font-size: 13px;
    color: rgba(255,255,255,.7);
}

    .topbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .topbar a {
        color: rgba(255,255,255,.7);
        text-decoration: none;
    }

        .topbar a:hover {
            color: var(--accent);
        }

.nav-main {
    background: rgba(14,27,61,.95);
    backdrop-filter: blur(10px);
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

    .nav-main.scrolled {
        box-shadow: 0 4px 20px rgba(0,0,0,.25);
    }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

    .logo img {
        height: 115px;
        width: auto;
    }

.logo-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: .04em;
    line-height: 1.2;
}

    .logo-text span {
        color: var(--accent);
        display: block;
        font-size: 11px;
        letter-spacing: .12em;
        font-weight: 600;
    }

nav ul {
    display: flex;
    gap: 8px;
    list-style: none;
}

    nav ul li a {
        display: block;
        padding: 10px 16px;
        color: rgba(255,255,255,.8);
        text-decoration: none;
        font-family: 'Barlow Condensed', sans-serif;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: .08em;
        text-transform: uppercase;
        border-radius: var(--radius);
        transition: var(--transition);
    }

        nav ul li a:hover,
        nav ul li a.active {
            color: var(--white);
            background: rgba(255,255,255,.08);
        }

/* ─── Hamburger ─── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

    .hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--white);
        transition: var(--transition);
    }

    .hamburger.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

.mobile-menu {
    display: none;
    background: var(--navy);
    padding: 16px 24px 24px;
}

    .mobile-menu.open {
        display: block;
    }

    .mobile-menu ul {
        list-style: none;
    }

        .mobile-menu ul li a {
            display: block;
            padding: 12px 0;
            color: rgba(255,255,255,.85);
            text-decoration: none;
            font-family: 'Barlow Condensed', sans-serif;
            font-size: 18px;
            font-weight: 700;
            letter-spacing: .06em;
            text-transform: uppercase;
            border-bottom: 1px solid rgba(255,255,255,.07);
        }

/* ─── Hero ─── */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--navy);
    overflow: hidden;
    padding-top: 108px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/Dois_Caminhao.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--navy) 30%, rgba(14,27,61,.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 80px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232,160,32,.15);
    border: 1px solid rgba(232,160,32,.3);
    border-radius: 100px;
    padding: 6px 16px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
}

    .hero-badge::before {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--accent);
    }

.hero-content h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(44px, 7vw, 80px);
    font-weight: 800;
    line-height: 1.0;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -.01em;
}

    .hero-content h1 em {
        font-style: normal;
        color: var(--accent);
    }

.hero-content p {
    font-size: 18px;
    color: rgba(255,255,255,.7);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 48px;
    margin-top: 72px;
    padding-top: 48px;
    border-top: 1px solid rgba(255,255,255,.1);
    flex-wrap: wrap;
}

.hero-stat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.hero-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,.5);
    margin-top: 4px;
    letter-spacing: .04em;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--white);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* ─── Services ─── */
#services {
    padding: 100px 0;
    background: var(--white);
}

.services-header {
    text-align: center;
    margin-bottom: 64px;
}

    .services-header .section-sub {
        margin: 0 auto;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--light);
    border-radius: 12px;
    padding: 40px 32px;
    border: 1px solid #e5e7eb;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--accent);
        transform: scaleX(0);
        transform-origin: left;
        transition: var(--transition);
    }

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow);
        border-color: transparent;
    }

        .service-card:hover::before {
            transform: scaleX(1);
        }

.service-icon {
    width: 52px;
    height: 52px;
    background: rgba(26,58,143,.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

    .service-icon svg {
        width: 26px;
        height: 26px;
        fill: var(--blue);
    }

.service-card h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

/* ─── About ─── */
#about {
    padding: 100px 0;
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-img {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
}

    .about-img img {
        width: 100%;
        height: 480px;
        object-fit: cover;
        display: block;
    }

.about-img-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--accent);
    color: var(--navy);
    padding: 14px 20px;
    border-radius: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .06em;
}

.about-content p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature-icon {
    width: 36px;
    height: 36px;
    background: rgba(26,58,143,.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

    .about-feature-icon svg {
        width: 18px;
        height: 18px;
        fill: var(--blue);
    }

.about-feature h5 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.about-feature p {
    font-size: 13px;
    color: var(--gray);
    margin: 0;
    line-height: 1.5;
}

/* ─── Why Choose Us ─── */
#why {
    padding: 100px 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

    #why::before {
        content: '';
        position: absolute;
        top: -120px;
        right: -120px;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background: rgba(255,255,255,.02);
    }

.why-header {
    text-align: center;
    margin-bottom: 64px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
}

    .why-card:hover {
        background: rgba(255,255,255,.09);
        border-color: rgba(232,160,32,.3);
        transform: translateY(-4px);
    }

.why-card-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: var(--accent);
    opacity: .25;
    line-height: 1;
    margin-bottom: 16px;
}

.why-card h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    color: rgba(255,255,255,.55);
    line-height: 1.6;
}

/* ─── Testimonials ─── */
#testimonials {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 64px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--light);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px 24px;
    transition: var(--transition);
}

    .testimonial-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow);
    }

.testimonial-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 3px solid var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
}

.testimonial-quote {
    font-size: 15px;
    color: var(--dark);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 16px;
    position: relative;
    padding-left: 20px;
}

    .testimonial-quote::before {
        content: '\201C';
        position: absolute;
        left: 0;
        top: -4px;
        font-size: 48px;
        color: var(--accent);
        font-style: normal;
        line-height: 1;
        font-family: 'Barlow Condensed', sans-serif;
    }

.testimonial-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: .03em;
}

/* ─── Contact ─── */
#contact {
    padding: 100px 0;
    background: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
}

.contact-info .section-sub {
    margin-bottom: 36px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: var(--navy);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .contact-detail-icon svg {
        width: 20px;
        height: 20px;
        fill: var(--accent);
    }

.contact-detail-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 2px;
}

.contact-detail-value {
    font-size: 15px;
    color: var(--dark);
    line-height: 1.5;
}

    .contact-detail-value a {
        color: var(--blue);
        text-decoration: none;
    }

        .contact-detail-value a:hover {
            text-decoration: underline;
        }

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.social-link {
    width: 42px;
    height: 42px;
    background: var(--navy);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

    .social-link:hover {
        background: var(--accent);
        transform: translateY(-2px);
    }

    .social-link svg {
        width: 18px;
        height: 18px;
        fill: var(--white);
    }

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 480px;
}

    .map-wrapper iframe {
        width: 100%;
        height: 100%;
        border: none;
        display: block;
    }

/* ─── FAQ ─── */
#faq {
    padding: 100px 0;
    background: var(--white);
}

.faq-header {
    text-align: center;
    margin-bottom: 64px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    cursor: pointer;
    gap: 16px;
    transition: var(--transition);
}

    .faq-question:hover {
        background: #edf0f7;
    }

    .faq-question h4 {
        font-family: 'Barlow Condensed', sans-serif;
        font-size: 17px;
        font-weight: 700;
        color: var(--navy);
        flex: 1;
    }

.faq-toggle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(26,58,143,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

    .faq-toggle svg {
        width: 14px;
        height: 14px;
        fill: var(--blue);
        transition: var(--transition);
    }

.faq-item.open .faq-toggle {
    background: var(--accent);
}

    .faq-item.open .faq-toggle svg {
        fill: var(--navy);
        transform: rotate(45deg);
    }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
}

    .faq-answer p {
        padding: 0 24px 22px;
        font-size: 15px;
        color: var(--gray);
        line-height: 1.7;
    }

.faq-item.open .faq-answer {
    max-height: 200px;
}

/* ─── CTA Banner ─── */
#cta {
    padding: 100px 0;
    background: var(--blue);
    position: relative;
    overflow: hidden;
}

    #cta::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url('../images/Caminhao_Azul_1.jpeg');
        background-size: cover;
        background-position: center;
        opacity: .15;
    }

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

    .cta-content h2 {
        font-family: 'Barlow Condensed', sans-serif;
        font-size: clamp(36px, 5vw, 60px);
        font-weight: 800;
        color: var(--white);
        margin-bottom: 16px;
        line-height: 1.05;
    }

    .cta-content p {
        color: rgba(255,255,255,.75);
        font-size: 16px;
        margin-bottom: 8px;
        line-height: 1.5;
    }

    .cta-content .phones {
        margin: 24px 0;
    }

        .cta-content .phones p {
            font-family: 'Barlow Condensed', sans-serif;
            font-size: 22px;
            font-weight: 700;
            color: var(--white);
            margin: 4px 0;
        }

        .cta-content .phones span {
            font-size: 13px;
            color: rgba(255,255,255,.6);
            font-family: 'Noto Sans', sans-serif;
        }

/* ─── Footer ─── */
#footer {
    background: var(--navy);
    padding: 48px 0 32px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy {
    font-size: 14px;
    color: rgba(255,255,255,.4);
}

    .footer-copy span {
        color: rgba(255,255,255,.7);
    }

/* ─── Scroll reveal ─── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .6s ease, transform .6s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: none;
    }

.reveal-delay-1 {
    transition-delay: .1s;
}

.reveal-delay-2 {
    transition-delay: .2s;
}

.reveal-delay-3 {
    transition-delay: .3s;
}

.reveal-delay-4 {
    transition-delay: .4s;
}

/* ─── Responsivo: tablet ─── */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-img img {
        height: 340px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-wrapper {
        height: 360px;
    }
}

/* ─── Responsivo: mobile ─── */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 28px;
    }
}

/* ─── Responsivo: mobile pequeno ─── */
@media (max-width: 540px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}


.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,.5);
    transition: transform .3s ease, box-shadow .3s ease;
    text-decoration: none;
}

    .whatsapp-float:hover {
        transform: scale(1.1) translateY(-3px);
        box-shadow: 0 8px 24px rgba(37,211,102,.6);
    }

    /* Animação de pulso */
    .whatsapp-float::before {
        content: '';
        position: absolute;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: #25d366;
        animation: pulse-whatsapp 2s ease-out infinite;
        z-index: -1;
    }

@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
        opacity: .6;
    }

    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}