/* =========================================
   VARIÁVEIS GERAIS
========================================= */
:root {
    --bg-black: #080808;
    --wolf-white: #ffffff;
    --wolf-gray-light: #f5f5f5;
    --wolf-gray-mid: #444444;
    --wolf-gray-dark: #1a1a1a;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --sniff-accent: #f95738;
}

/* =========================================
   RESET E CONFIGURAÇÕES GLOBAIS
========================================= */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

body {
    background-color: var(--bg-black);
    color: var(--wolf-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

[data-aos] {
    backface-visibility: hidden;
}

header, 
.glass-card, 
.btn-primary, 
.btn-secondary,
.btn-cta, 
.logo img,
a {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

section, footer {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

footer {
    scroll-snap-align: end;
}

section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centraliza tudo perfeitamente na vertical */
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

section:not(#home) {
    padding-top: 120px !important; 
    padding-bottom: 40px !important;
}

.services, .stats, .sobre, .contato {
    padding: 0 !important; 
}

/* =========================================
   FUNDO DINÂMICO (BLURRY/AURA)
========================================= */
.glow-bg {
    position: fixed;
    top: -10%; 
    left: 0; 
    width: 100%; 
    height: 120%;
    background: radial-gradient(circle at 50% 0%, #1a1a1a 0%, transparent 60%);
    z-index: -1;
}

/* =========================================
   HEADER (GLASSMORPHISM)
========================================= */
header {
    position: fixed;
    top: 20px; 
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1300px;
    padding: 8px 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    z-index: 1000;
}

.header-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.logo img { 
    height: 75px;
    width: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-left ul, .nav-right ul {
    display: flex;
    list-style: none;
    gap: 15px;
    align-items: center;
}

.nav-right ul { 
    justify-content: flex-end; 
}

/* =========================================
   HEADER: LINKS E BOTÕES (EFEITO GLASS HOVER)
========================================= */
header nav a {
    text-decoration: none;
    color: #ababab;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 22px;
    border-radius: 50px; 
    border: 1px solid transparent; 
    position: relative;
    overflow: hidden; 
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

header nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.15) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-30deg);
    transition: left 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
    pointer-events: none;
}

header nav a:hover::before {
    left: 200%;
}

header nav a:not(.ps-btn):not(.btn-cta):hover {
    color: var(--wolf-white);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ps-btn {
    color: var(--sniff-accent) !important;
    font-weight: 600;
}

.ps-btn:hover {
    background: rgba(249, 87, 56, 0.05); 
    border-color: rgba(249, 87, 56, 0.4); 
    box-shadow: 0 0 20px rgba(249, 87, 56, 0.15);
    color: #ff7052 !important;
    text-shadow: 0 0 10px rgba(249, 87, 56, 0.4);
}

.ps-btn::before {
    background: linear-gradient(
        to right, 
        rgba(249, 87, 56, 0) 0%, 
        rgba(249, 87, 56, 0.3) 50%, 
        rgba(249, 87, 56, 0) 100%
    );
}

.btn-cta {
    color: var(--wolf-white) !important;
    background: rgba(255, 255, 255, 0.04); 
    border-color: rgba(255, 255, 255, 0.08); 
}

.btn-cta:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5); 
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

.btn-cta::before {
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
}

/* =========================================
   BOTÕES (COM EFEITO DE REFLEXO NO VIDRO)
========================================= */
.ps-btn {
    color: var(--sniff-accent) !important;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(249, 87, 56, 0.3);
}

.ps-btn:hover {
    text-shadow: 0 0 25px rgba(249, 87, 56, 0.6);
    color: #ff7052 !important;
}

.btn-cta, .btn-primary, .btn-secondary {
    position: relative;
    overflow: hidden; 
}

.btn-cta::before, 
.btn-primary::before, 
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%; 
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.15) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-30deg); 
    transition: left 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
    pointer-events: none; 
}

.btn-cta:hover::before, 
.btn-primary:hover::before, 
.btn-secondary:hover::before {
    left: 200%; 
}

.btn-cta {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--wolf-white) !important;
    padding: 10px 22px;
    border-radius: 10px;
}

.btn-cta:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: var(--wolf-white);
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: var(--wolf-white);
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-wrapper { 
    display: flex; 
    justify-content: center; 
}

.hero-content { 
    max-width: 900px; 
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin: 0 0 25px 0;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: #888;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.hero-btns i {
    margin-left: 8px;
}

/* =========================================
   SEÇÃO DE SERVIÇOS (GRID & CARDS)
========================================= */
.services { 
    padding: 120px 0; 
}

.section-header { 
    text-align: center; 
    margin-bottom: 60px; 
}

.section-header h2 { 
    font-size: 3rem; 
    font-weight: 700; 
}

.grid-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.glass-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 50px 40px;
    border-radius: 28px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                background 0.4s ease, 
                border-color 0.4s ease, 
                box-shadow 0.4s ease !important;
}

.glass-card i { 
    font-size: 2.5rem; 
    color: white;
    display: inline-block;
}

.glass-card h3 { 
    font-size: 1.5rem; 
    margin-bottom: 15px; 
}

.glass-card p { 
    color: #888; 
    font-size: 1rem; 
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

/* =========================================
   ESTATÍSTICAS
========================================= */
.stats { padding: 80px 0; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.stat-card {
    text-align: center;
    padding: 40px 20px;
}
.stat-card i {
    font-size: 2rem;
    color: #888;
    margin-bottom: 15px;
}
.stat-value {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-label { color: #888; font-size: 1.1rem; }

/* =========================================
   SOBRE NÓS
========================================= */
.sobre { padding: 100px 0; background: rgba(0,0,0,0.3); }
.sobre-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

/* =========================================
   CONTATO & FORMULÁRIO GLASSMORPHISM
========================================= */
.contato { padding: 120px 0; }
.contato-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    padding: 60px;
}
.contato-info h2 { font-size: 2.5rem; margin-bottom: 20px; }
.contato-info p { color: #888; margin-bottom: 40px; font-size: 1.1rem; }

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}
.info-item i {
    font-size: 1.5rem;
    color: var(--wolf-white);
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}
.info-item h4 { font-size: 0.9rem; color: #888; margin-bottom: 5px; }
.info-item a { color: var(--wolf-white); font-weight: 600; text-decoration: none; font-size: 1.1rem; }
.info-item a:hover { text-decoration: underline; }

.social-links { display: flex; gap: 15px; margin-top: 40px; }
.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px; 
    height: 45px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a i {
    font-size: 1.1rem !important; 
    line-height: 1;
    margin: 0;
}

.social-links a:hover { 
    background: rgba(255,255,255,0.15); 
    transform: translateY(-3px); 
}

/* Inputs de Vidro */
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.9rem; color: #ccc; }
.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 16px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.form-control::placeholder { color: #555; }
.form-control:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}
.form-control option { background: var(--bg-black); color: white; } 
.w-100 { width: 100%; text-align: center; justify-content: center; }

.form-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
}

/* =========================================
   FOOTER
========================================= */
footer {
    /* Em vez de colar nas bordas, ele agora é um bloco flutuante */
    margin: 100px auto 30px; 
    width: 95%;
    max-width: 1350px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 60px 40px 20px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

footer:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    width: 100%;
    /* Remove padding duplicado pois o footer já tem padding */
    padding: 0 !important; 
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 25px;
}

.footer-brand .logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.footer-brand p { 
    color: #999; 
    max-width: 380px; 
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-links h3, .footer-contact h3 { 
    margin-bottom: 25px; 
    font-size: 1.1rem; 
    color: var(--wolf-white);
    letter-spacing: 0.5px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 15px; }

.footer-links a, .footer-contact p, .footer-contact a { 
    color: #888; 
    text-decoration: none; 
    transition: color 0.3s, transform 0.3s;
    font-size: 0.95rem;
    display: inline-block;
}

/* Pequeno efeito de deslize ao passar o mouse nos links do footer */
.footer-links a:hover, .footer-contact a:hover { 
    color: white; 
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #555;
    font-size: 0.85rem;
}

/* =========================================
   MENU MOBILE
========================================= */
.mobile-menu-btn {
    display: none;
}
.mobile-dropdown {
    display: none;
}

/* =========================================
   RESPONSIVIDADE ADICIONAL
========================================= */
@media (max-width: 992px) {
    /* Desabilitar Scroll Snap para celular e ajustar espaçamentos */
    html { scroll-snap-type: none; overflow-x: hidden; }
    section { 
        min-height: auto; 
        height: auto; 
        scroll-snap-align: none; 
        justify-content: flex-start; 
        padding-top: 120px !important; 
        padding-bottom: 60px !important; 
    }
    .hero { min-height: 100vh; padding-top: 150px !important; }

    /* Header Mobile com Menu Hambúrguer */
    .header-grid { 
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
        padding: 0 10px;
    }
    .logo img { height: 50px; }
    .nav-left, .nav-right { display: none; } 
    
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 5px;
        z-index: 1001;
    }
    .mobile-menu-btn span {
        display: block;
        width: 28px;
        height: 3px;
        background: var(--wolf-white);
        border-radius: 3px;
        transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    }
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    header.menu-open {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-bottom-color: transparent;
        transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .mobile-dropdown {
        display: flex;
        position: absolute;
        top: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        padding: 1px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        flex-direction: column;
        align-items: center;
        border: 1px solid var(--glass-border);
        border-top: none;
        width: calc(100% + 2px); /* Compensa a borda para ficar lado a lado perfeitamente */
        left: -1px; /* Centraliza a caixa expandida sob o header */
    }
    .mobile-dropdown.active {
        padding: 20px 0 30px;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    }
    .mobile-dropdown ul {
        list-style: none;
        width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.4s ease 0.1s;
    }
    .mobile-dropdown.active ul {
        opacity: 1;
        transform: translateY(0);
    }
    .mobile-dropdown a {
        display: inline-block;
        font-size: 1.1rem;
        padding: 10px 20px;
        color: #ababab;
        text-decoration: none;
        transition: color 0.3s;
    }
    .mobile-dropdown a:hover {
        color: var(--wolf-white);
    }
    .mobile-dropdown .ps-btn, .mobile-dropdown .btn-cta {
        margin-top: 10px;
    }

    /* Outros Ajustes */
    .grid-services { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; gap: 15px; }
    .container { padding: 0 20px; }
    .stats-grid, .sobre-grid { grid-template-columns: 1fr; }
    
    /* Centralizar Textos Mobile */
    p, h1, h2, h3 { text-align: center; }
    .hero h1 { font-size: 2.2rem; }
    .glass-card { text-align: center; }
    
    /* Ajustes do Contato */
    @media (max-width: 768px) {
        .contato-wrapper { display: block; padding: 20px; }
    }
    .contato-info { text-align: center; display: flex; flex-direction: column; align-items: center; width: 100%; }
    .info-items { display: flex; flex-direction: column; align-items: center; width: 100%; }
    .info-item { 
        flex-direction: column; 
        text-align: center; 
        align-items: center;
        width: 100%;
        gap: 10px; 
    }
    .info-item div { text-align: center; } /* Força o div de texto interno a alinhar também */
    .info-item a { 
        font-size: 0.95rem; 
        word-break: break-all; /* Evita que o email quebre o layout horizontal */
    }
    .social-links { justify-content: center; margin-top: 20px; }
    .form-group label { text-align: center; }
    
    .g-recaptcha {
        display: flex;
        justify-content: center;
        transform: scale(0.9);
        transform-origin: center;
    }
    
    /* Ajustes do novo footer no mobile */
    footer {
        padding: 40px 20px 20px;
        margin: 50px auto 20px;
        border-radius: 20px;
        text-align: center;
    }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}