/* =========================================
   VARIÁVEIS GLOBAIS E RESET
========================================= */
:root {
    --amarelo-trator: #FDB813;
    --laranja-seguranca: #E67E22;
    --cinza-asfalto: #2C3E50;
    --cinza-chumbo: #4A4A4A;
    --branco-puro: #FFFFFF;
    --cinza-claro: #F5F7FA;
    --preto-rodape: #111827;

    --font-main: 'Space Grotesk', sans-serif;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-xl: 0 25px 30px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--cinza-claro);
    color: var(--cinza-chumbo);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.text-center {
    text-align: center;
}

/* Animações Globais JS (Fade Up) */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   PAGE HERO GLOBAL (CABEÇALHOS INTERNOS)
========================================= */
.page-hero {
    margin-top: 90px;
    background-color: var(--cinza-asfalto);
    background-image: radial-gradient(circle at top right, #34495e, #2C3E50);
    padding: 60px 0;
    color: var(--branco-puro);
    border-bottom: 4px solid var(--amarelo-trator);
}

.page-hero-content {
    animation: heroFadeIn 0.8s ease-out forwards;
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.page-desc {
    font-size: 1.15rem;
    color: #bdc3c7;
    max-width: 700px;
    margin: 0 auto;
}

/* =========================================
   BOTÕES GLOBAIS
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--laranja-seguranca) 0%, #D35400 100%);
    color: var(--branco-puro);
    box-shadow: 0 4px 10px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(230, 126, 34, 0.45);
    filter: brightness(1.1);
}

.btn-white {
    background-color: var(--branco-puro);
    color: var(--cinza-asfalto);
    border: 1px solid transparent;
}

.btn-white:hover {
    background-color: var(--cinza-claro);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--branco-puro);
    border: 2px solid var(--cinza-chumbo);
}

.btn-outline-dark:hover {
    border-color: var(--branco-puro);
    background-color: rgba(255, 255, 255, 0.1);
}

/* =========================================
   CABEÇALHO (HEADER)
========================================= */
header {
    background-color: var(--branco-puro);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--cinza-asfalto);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cinza-chumbo);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--laranja-seguranca);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--laranja-seguranca);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--cinza-asfalto);
    padding: 5px;
}

/* =========================================
   WHATSAPP FLUTUANTE PULSANTE
========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--branco-puro);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    animation: pulse-whatsapp 2s infinite;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    animation: none;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* =========================================
   RODAPÉ (FOOTER)
========================================= */
footer {
    background-color: var(--preto-rodape);
    color: var(--branco-puro);
    padding: 50px 0 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
    margin-bottom: 30px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--amarelo-trator);
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 20px;
}

.footer-links-grid {
    display: flex;
    gap: 60px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9ca3af;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--branco-puro);
}

.footer-bottom {
    font-size: 0.85rem;
    color: #6b7280;
    display: flex;
    justify-content: space-between;
}

/* =========================================
   RESPONSIVIDADE GLOBAL
========================================= */
@media (max-width: 992px) {
    .nav-menu {
        gap: 20px;
    }

    .header-cta {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-hero {
        margin-top: 75px;
        padding: 40px 20px;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .header-inner {
        height: 75px;
    }

    .logo {
        font-size: 1.1rem;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background-color: var(--branco-puro);
        padding: 0 24px 24px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #f3f4f6;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 16px 0;
        border-bottom: 1px solid #f3f4f6;
    }

    .nav-link.active::after {
        display: none;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-links-grid {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}


