/* =========================================================
   Paleta de Cores e Variáveis
   ========================================================= */
:root {
    --primary: #4A44E4; 
    --primary-dark: #3733A7;
    --primary-light: #eef2ff;
    --secondary: #10b981; /* Verde de destaque */
    --secondary-dark: #059669; /* Verde para hover */
    --background: #ffffff;
    --foreground: #1f2937;
    --muted-foreground: #4b5563;
    --border: #d1d5db;
    --card: #ffffff;
    --body-bg-pattern: #f0f0f0; 
}
/* REMOVIDO: Dark Mode */

/* =========================================================
   Animações e Efeitos
   ========================================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* =========================================================
   Estilos Globais e de Layout
   ========================================================= */
/* =========================================================
   Estilos Globais e de Layout
   ========================================================= */
body {
    font-family: 'Inter', sans-serif;
    color: var(--foreground);
    background-color: var(--body-bg-pattern); 
    background-attachment: fixed;
    background-image: radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 20px 20px;
    transition: background-color 0.5s, color 0.5s;
    overflow-x: hidden; /* <-- CORREÇÃO ADICIONADA AQUI */
}

.font-headline {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
}

/* HERO SECTION */
.impact-hero {
     background-color: var(--primary-dark); 
     border-radius: 0 0 40px 40px; 
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); 
     position: relative;
     z-index: 10;
     width: 100%; 
     max-width: 100%;
     margin: 0;
}

/* =========================================================
   NOVO: PRE-HEADER (Barra Social Branca)
   ========================================================= */
.pre-header {
    background-color: var(--background); /* Fundo branco */
    color: var(--foreground);
    border-bottom: 1px solid var(--border);
    z-index: 51; 
    padding: 0.5rem 0; /* Mais fina */
}
.pre-header-social-icon {
    transition: color 0.3s, transform 0.3s;
}
/* Cores oficiais dos ícones */
.social-icon-facebook:hover { color: #1877F2; transform: scale(1.1); }
.social-icon-instagram:hover { color: #E4405F; transform: scale(1.1); }
.social-icon-whatsapp:hover { color: #25D366; transform: scale(1.1); }


/* HEADER STICKY */
.main-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--primary-dark);
    box-shadow: none; 
    transition: background-color 0.5s, box-shadow 0.3s, backdrop-filter 0.5s;
}

.main-header.header-scrolled {
    background-color: rgba(55, 51, 167, 0.85); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
}

/* NAVEGAÇÃO */
.nav-link {
    font-weight: 600; 
    transition: color 0.3s;
    color: white; 
    padding-bottom: 0.25rem; 
    border-bottom: 2px solid transparent; 
}
.nav-link:hover {
    color: var(--secondary);
}
.nav-link.active {
    font-weight: 700; 
    color: var(--secondary); 
    border-bottom-color: var(--secondary); 
}

/* ESTILOS DO DROPDOWN */
/* =========================================================
   ESTILOS DO DROPDOWN (CORRIGIDO PARA FUNDO BRANCO)
   ========================================================= */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: auto;
    right: 0;
    transform: translateX(0); 
    min-width: 240px; 
    background-color: var(--background); /* <-- MUDANÇA: Fundo branco */
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); /* Sombra mais suave */
    z-index: 60; 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-out, visibility 0.2s;
    border: 1px solid var(--border); /* Borda cinza claro */
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--foreground); /* <-- MUDANÇA: Texto escuro */
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.dropdown-item:hover {
    background-color: var(--primary-light); /* <-- MUDANÇA: Fundo azul claro */
    color: var(--primary); /* <-- MUDANÇA: Texto azul escuro */
}

/* Ativa o dropdown */
.dropdown-toggle:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

/* Cards */
.card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: background-color 0.5s, border-color 0.5s, box-shadow 0.3s;
}

/* ======================================== */
/* BOTÃO VERDE PRINCIPAL (Ex: Enviar Mensagem) */
/* ======================================== */
.btn-cta-primary {
    background-color: var(--secondary); /* <-- CORRIGIDO: Verde por padrão */
    color: white;
    border: 2px solid var(--secondary); /* Borda da mesma cor */
    transition: background-color 0.3s ease, transform 0.1s ease, box-shadow 0.3s;
}

/* Como você pediu, ele se mantém verde no hover */
.btn-cta-primary:hover {
     background-color: var(--secondary); /* <-- Continua verde */
     transform: translateY(-2px); 
     box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

/* ======================================== */
/* BOTÃO SECUNDÁRIO (Ex: Calcular Economia) */
/* ======================================== */
.btn-cta-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white; 
    transition: background-color 0.3s ease, transform 0.1s ease, color 0.3s;
}

.btn-cta-secondary:hover {
     background-color: white; 
     color: var(--primary-dark); /* Texto fica azul ao passar o mouse */
     transform: translateY(-2px); 
}

/* Formulários */
.form-input {
    color: var(--foreground);
    background-color: var(--card); 
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    width: 100%;
    transition: border-color 0.3s, box-shadow 0.3s, background-color 0.5s, color 0.5s;
}
.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 68, 228, 0.3);
}

/* Placeholder de Imagem */
.advanced-image-placeholder {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}
.advanced-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.1) 1px,
        transparent 1px,
        transparent 10px
    );
    opacity: 0.5;
}

/* Seção de Redes Sociais */
.social-icon {
    color: var(--muted-foreground);
    transition: color 0.3s, transform 0.3s;
}
.social-icon:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* EFEITO DE BLOCO DE CONTEÚDO */
.content-wrapper {
    background-color: var(--background);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1); 
    margin-top: -3rem; 
    border-radius: 40px 40px 0 0; 
    position: relative;
    z-index: 20;
    transition: background-color 0.5s;
}
.content-wrapper > section:first-child,
.content-wrapper > div:first-child {
    padding-top: 4rem; 
}

/* ESTILOS DA SEÇÃO "DESTAQUE" (ÍCONES) */
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px; 
    height: 64px; 
    border-radius: 9999px;
    background-color: var(--primary-light); 
    color: var(--primary); 
    margin-bottom: 1.5rem; 
    transition: all 0.3s ease;
}
.feature-card {
    padding: 2.5rem 1.5rem; 
    text-align: center;
    transition: all 0.3s ease;
    border-color: var(--border); 
}
.feature-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-radius: 0.75rem; 
}
.feature-card:hover {
    border-color: transparent !important;
}

/* CARROSSEL DE PARCEIROS (LOOPING) */
@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

.logo-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.logo-carousel-track {
    display: flex;
    width: calc(200px * 8); 
    animation: scroll-logos 15s linear infinite; 
    will-change: transform;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem; 
    flex-shrink: 0;
    width: 200px; 
}

.partner-logo img {
    height: 40px; 
    width: auto;
    filter: grayscale(0%); 
    opacity: 0.8; 
    transition: all 0.3s ease;
}
.partner-logo img:hover {
    filter: grayscale(0%); 
    opacity: 1;
    transform: scale(1.05); 
}

/* SEÇÃO DE AVALIAÇÕES (GOOGLE) */
.reviews-section-wrapper {
    position: relative;
    background-image: url('D:/gasvec/img/oficina.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
    padding: 4rem 0;
}
.reviews-section-wrapper::before { 
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(55, 51, 167, 0.8);
    z-index: 2;
}
.reviews-section-wrapper .container { 
    position: relative;
    z-index: 3;
}
.review-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.review-stars {
    color: #f59e0b; 
}
.review-card-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

/* =========================================================
   Estilos da Carta da Fundadora
   ========================================================= */

/* Estilo para o texto da carta */
.handwritten-text {
    font-family: 'Dancing Script', cursive; /* Fonte manuscrita legível */
    font-size: 1.3rem; /* Tamanho de fonte maior para legibilidade */
    line-height: 1.7; /* Espaçamento entre linhas */
    color: var(--muted-foreground); /* Cor cinza escuro */
    text-align: justify; /* Texto justificado para um look elegante */
}

/* Estilo para a fonte da assinatura (rubrica) */
.signature-font {
    font-family: 'Great Vibes', cursive; /* Fonte de assinatura (rubrica) */
    font-size: 2.5rem; /* Tamanho grande para a assinatura */
    line-height: 1;
    color: var(--primary-dark); /* Cor azul escura */
    margin-right: 1rem; /* Um pequeno recuo da borda */
    font-weight: 500;
}

/* =========================================================
   NOVO: RODAPÉ BRANCO/PRETO (Como na referência)
   ========================================================= */
.simple-footer-wrapper {
    background-color: var(--background);
    color: var(--foreground);
    padding: 3rem 1rem;
    text-align: center;
    transition: background-color 0.5s, color 0.5s;
    border-top: 1px solid var(--border);
}

.footer-social-icon {
    /* Cor padrão (preto) */
    color: var(--foreground); 
    transition: color 0.3s, transform 0.3s;
}
.footer-social-icon:hover {
    transform: scale(1.1);
}
/* Cores oficiais para o rodapé */
.footer-social-icon.instagram:hover { color: #E4405F; }
.footer-social-icon.facebook:hover { color: #1877F2; }
.footer-social-icon.whatsapp:hover { color: #25D366; }