/* ==========================================
   VITTAPRIME ASSESSORIA - ESTILOS GLOBAIS
   Identidade Visual: Verde #009739, Vermelho #FF0000
   ========================================== */

:root {
    --verde-principal: #009739;
    --verde-escuro: #007a2e;
    --verde-claro: #e8f5e9;
    --vermelho-principal: #FF0000;
    --vermelho-escuro: #cc0000;
    --branco: #FFFFFF;
    --cinza-claro: #f5f5f5;
    --cinza-medio: #e0e0e0;
    --cinza-texto: #666666;
    --preto: #212121;
    --sombra: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--preto);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   HEADER & NAVEGAÇÃO
   ========================================== */

.header {
    background: var(--branco);
    box-shadow: 0 2px 10px var(--sombra);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: var(--verde-principal);
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-sub {
    font-size: 12px;
    font-weight: 500;
    color: var(--cinza-texto);
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--preto);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 15px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--verde-principal);
}

.btn-header {
    background: var(--vermelho-principal);
    color: var(--branco);
    padding: 12px 24px;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-header:hover {
    background: var(--vermelho-escuro);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--verde-principal);
    border-radius: 2px;
    transition: 0.3s;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    background: linear-gradient(135deg, var(--verde-principal) 0%, var(--verde-escuro) 100%);
    color: var(--branco);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.1;
}

.shape {
    position: absolute;
    background: var(--branco);
    transform: rotate(-15deg);
}

.shape-1 { width: 400px; height: 400px; top: -100px; right: -100px; border-radius: 50px; }
.shape-2 { width: 300px; height: 300px; bottom: -50px; left: -50px; border-radius: 40px; }
.shape-3 { width: 200px; height: 200px; top: 50%; left: 30%; border-radius: 30px; }

.hero .container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--vermelho-principal);
    color: var(--branco);
    padding: 15px 35px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.btn-secondary {
    background: var(--branco);
    color: var(--verde-principal);
    padding: 15px 35px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

/* ==========================================
   BENEFÍCIOS & PLANOS
   ========================================== */

.benefits { padding: 80px 0; background: var(--branco); }
.section-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 40px; text-align: center; color: var(--verde-principal); margin-bottom: 15px; }
.section-subtitle { text-align: center; color: var(--cinza-texto); font-size: 18px; margin-bottom: 50px; }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--verde-claro);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
}

.benefit-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 151, 57, 0.2); }

.planos { padding: 80px 0; background: var(--cinza-claro); }
.planos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }

.plano-card {
    background: var(--branco);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 20px var(--sombra);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.plano-card.featured { border: 3px solid var(--verde-principal); position: relative; }
.plano-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--vermelho-principal); color: var(--branco); padding: 8px 20px; border-radius: 20px; font-weight: 700; font-size: 12px; }

/* ==========================================
   FORMULÁRIOS (GERAL)
   ========================================== */

.cotacao-section { padding: 80px 0; }
.cotacao-form, .corretor-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--verde-claro);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--sombra);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 15px; }
.form-group label { font-family: 'Montserrat', sans-serif; font-weight: 600; color: var(--verde-escuro); margin-bottom: 8px; font-size: 14px; }

.form-group input, .form-group select, .form-group textarea {
    padding: 15px;
    border: 2px solid var(--cinza-medio);
    border-radius: 10px;
    font-size: 15px;
    background: var(--branco);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--verde-principal);
}

.btn-full { width: 100%; margin-top: 10px; }

/* ==========================================
   FOOTER
   ========================================== */

.footer { background: var(--preto); color: var(--branco); padding: 50px 0 20px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.footer-col h4 { color: var(--verde-principal); margin-bottom: 15px; }
.footer-col ul { list-style: none; }
.footer-col ul li { padding: 5px 0; }
.footer-col ul li a { color: var(--branco); text-decoration: none; }
.footer-bottom { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }

/* ==========================================
   RESPONSIVIDADE (MOBILE MENU FIX)
   ========================================== */

@media (max-width: 968px) {
    .nav {
        display: none; /* Esconde menu padrão */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--branco);
        padding: 20px;
        gap: 10px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-top: 2px solid var(--verde-claro);
    }

    /* Classe ativada pelo JavaScript */
    .nav.mobile-active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-link {
        padding: 12px;
        border-bottom: 1px solid var(--cinza-claro);
        width: 100%;
    }

    .btn-header {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-buttons { justify-content: center; }
    .form-row { grid-template-columns: 1fr; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .hero-title { font-size: 28px; }
    .section-title { font-size: 30px; }
    .cotacao-form { padding: 20px; }
}