/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --verde: rgb(74, 129, 37);
    --verde-escuro: rgba(9, 37, 21, 0.93);
    --cinza-claro: rgb(212, 212, 212);
    --preto: rgba(10, 12, 16, 0.99);
    --border-radius-card: 24px;
    --border-radius-btn: 16px;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    width: 100%;
    font-family: 'Barlow', sans-serif;
    background: #090c10;
    color: var(--cinza-claro);
}

/* ===========================
   VÍDEO DE FUNDO
=========================== */
#video-fundo {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -3;
    pointer-events: none;
}

.video-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -3;
    pointer-events: none;
}

.mascara-fundo {
    position: fixed;
    inset: 0;
    z-index: -2;
    background: linear-gradient(
        120deg,
        rgba(10, 12, 16, 0.97) 0%,
        rgba(10, 12, 16, 0.65) 50%,
        rgba(10, 12, 16, 0.97) 100%
    );
    pointer-events: none;
}

/* ===========================
   GERAL
=========================== */
.geral {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* ===========================
   HEADER
=========================== */
.caixa-logo-menor {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 30px;
    background: linear-gradient(135deg, rgba(9,37,21,0.95) 0%, rgba(9,37,21,0.75) 100%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(74,129,37,0.3);
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.logo-menor {
    width: clamp(60px, 10vw, 120px);
    height: auto;
    flex-shrink: 0;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-link {
    cursor: pointer;
    font-family: 'Barlow', sans-serif;
    font-size: clamp(13px, 1.5vw, 16px);
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 10px;
    transition: background 0.25s, color 0.25s;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(74,129,37,0.25);
    color: #8ecf54;
}

.nav-cta {
    background: var(--verde-escuro);
    border: 1px solid var(--verde);
    color: #fff;
}

.nav-cta:hover {
    background: var(--verde);
    color: #fff;
}

/* ===========================
   HERO
=========================== */
.hero {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
    padding: 20px;
}

.caixa-logo-maior {
    width: 100%;
    max-width: 700px;
    display: flex;
    justify-content: center;
}

.logo-maior {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(74,129,37,0.4));
    animation: fadeInDown 1s ease both;
}

/* ===========================
   BOTÃO CTA
=========================== */
@keyframes pulsar {
    0%   { box-shadow: 0 0 0 0 rgba(74, 129, 37, 0.7); }
    70%  { box-shadow: 0 0 0 14px rgba(74, 129, 37, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 129, 37, 0); }
}

.button-entrar-em-contato {
    animation: pulsar 1.8s infinite;
    border: 2px solid var(--verde);
    border-radius: var(--border-radius-btn);
    cursor: pointer;
    background: linear-gradient(135deg, rgba(9,37,21,0.9) 0%, rgba(20,60,10,0.95) 100%);
    padding: 16px 40px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(22px, 4vw, 34px);
    letter-spacing: 2px;
    color: #fff;
    transition: background 0.3s, transform 0.2s;
    white-space: nowrap;
}

.button-entrar-em-contato:hover {
    background: var(--verde);
    transform: scale(1.04);
}

/* ===========================
   SEÇÃO SOBRE
=========================== */
.secao-sobre {
    padding: 80px 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.secao-titulo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(36px, 6vw, 62px);
    color: var(--cinza-claro);
    text-align: center;
    letter-spacing: 3px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.caixa-texto {
    max-width: 700px;
    width: 100%;
    border: 2px solid var(--verde);
    border-radius: 24px;
    padding: 30px;
    background: rgba(9,37,21,0.25);
    backdrop-filter: blur(6px);
}

.texto-sobre {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--cinza-claro);
    text-align: center;
    font-style: italic;
    line-height: 1.7;
    font-weight: 400;
}

/* ===========================
   SEÇÃO SERVIÇOS
=========================== */
.secao-servicos {
    padding: 60px 20px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.grid-servicos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1100px;
}

/* ===========================
   CARD SERVIÇO
=========================== */
.card-servico {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    border: 2px solid var(--verde);
    border-radius: var(--border-radius-card);
    padding: 28px 20px 24px;
    background: rgba(9,37,21,0.2);
    backdrop-filter: blur(6px);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.card-servico:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(74,129,37,0.3);
    border-color: #8ecf54;
}

.titulo-card {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(20px, 3vw, 26px);
    letter-spacing: 1.5px;
    color: #8ecf54;
    text-align: center;
}

.desc-card {
    font-size: clamp(13px, 1.5vw, 15px);
    color: var(--cinza-claro);
    text-align: center;
    line-height: 1.6;
    font-weight: 400;
}

.video-wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.15);
    pointer-events: none;   /* vídeos não clicáveis */
}

.video-wrapper video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* ===========================
   MAPA
=========================== */
.secao-mapa {
    padding: 60px 20px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mapa-wrapper {
    width: 100%;
    max-width: 900px;
    border: 2px solid var(--verde);
    border-radius: 24px;
    overflow: hidden;
}

.mapa-wrapper iframe {
    width: 100%;
    height: 420px;
    display: block;
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
}

/* ===========================
   FOOTER
=========================== */
footer {
    width: 100%;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(9,37,21,0.97) 0%, rgba(5,15,5,0.99) 100%);
    border-top: 1px solid rgba(74,129,37,0.3);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.footer-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 2px;
    color: #8ecf54;
    font-style: normal;
}

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

.footer-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, filter 0.2s;
}

.footer-links a:hover {
    transform: scale(1.15);
    filter: brightness(1.3);
}

.contato-w {
    width: 41px;
    height: auto;
 
}

.contato-e {
    width: 52px;
    height: auto;
    margin-left: 0px;
}

.contato-i {
    width: 80px;
    height: auto;
    margin-left: -20px;
    
}

.footer-copy {
    font-size: 13px;
    color: rgba(212,212,212,0.45);
    font-style: normal;
    text-align: center;
}

/* ===========================
   ANIMAÇÕES DE ENTRADA
=========================== */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   RESPONSIVO — MOBILE
=========================== */
@media (max-width: 600px) {

    /* Trocar vídeo de fundo */
    #video-fundo {
        display: none;
    }

    .video-mobile {
        display: block;
    }

    /* Header */
    .caixa-logo-menor {
        padding: 8px 14px;
    }

    .logo-menor {
        width: 55px;
    }

    .nav-link {
        font-size: 12px;
        padding: 7px 10px;
    }

    /* Hero */
    .hero {
        min-height: 100svh;
        padding-top: 70px;
    }

    .caixa-logo-maior {
        max-width: 340px;
    }

    /* Botão */
    .button-entrar-em-contato {
        font-size: 20px;
        padding: 14px 30px;
    }

    /* Cards */
    .grid-servicos {
        grid-template-columns: 1fr;
    }

    .video-wrapper video {
        height: 180px;
    }

    /* Mapa */
    .mapa-wrapper iframe {
        height: 280px;
    }

    /* Sobre */
    .caixa-texto {
        padding: 20px 16px;
    }

    .texto-sobre {
        font-size: 14px;
    }
}

/* Tablets */
@media (min-width: 601px) and (max-width: 900px) {
    .grid-servicos {
        grid-template-columns: repeat(2, 1fr);
    }
}
