/* --- RESET & VARIAVEIS --- */
:root {
    /* Paleta baseada na Logo GRADEV */
    --brand-navy: #0B1426;       /* Fundo principal */
    --brand-navy-light: #162440; /* Cards e Seções secundárias */
    --brand-red: #D93025;        /* Acento (Seta da logo) */
    --brand-red-hover: #b91c1c;
    
    --text-white: #ffffff;
    --text-gray: #94a3b8;
    --border-color: #2b3a55;
    
    --font-main: 'Manrope', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font-main); }

html { scroll-behavior: smooth; }

body {
    background-color: var(--brand-navy);
    color: var(--text-white);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- LOGO GRADEV (CSS PURO) --- */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: white;
}

/* Recriando o ícone da seta vermelha/branca da logo */
.logo-icon {
    width: 0; 
    height: 0; 
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid var(--brand-red); /* Seta vermelha */
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -22px;
    width: 0; 
    height: 0; 
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid white; /* Seta menor branca */
}

/* --- BOTÕES --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--brand-red);
    color: white;
    border: 1px solid var(--brand-red);
}
.btn-primary:hover { background-color: var(--brand-red-hover); border-color: var(--brand-red-hover); }

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.05); }

.btn-link { color: var(--brand-red); font-weight: 700; }
.btn-link:hover { text-decoration: underline; }

.full-width { width: 100%; display: block; }

/* --- HEADER --- */
header {
    background-color: rgba(11, 20, 38, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }

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

.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 0.9rem; font-weight: 600; color: var(--text-gray); }
.nav-links a:hover { color: white; }

.mobile-menu-icon { display: none; font-size: 1.5rem; cursor: pointer; }

/* --- HERO --- */
.hero {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(circle at top, #1c2e4e 0%, var(--brand-navy) 70%);
}

.badge {
    background: rgba(255,255,255,0.1);
    color: var(--brand-red);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    display: inline-block;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 24px;
    background: -webkit-linear-gradient(#fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #cbd5e1;
    background: rgba(255,255,255,0.03);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.05);
}

.hero-buttons { display: flex; justify-content: center; gap: 16px; }

/* --- METHODOLOGY --- */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.2rem; margin-bottom: 12px; }
.section-header p { color: var(--text-gray); }

.methodology { padding: 80px 0; border-top: 1px solid var(--border-color); }

.method-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.method-card {
    background: var(--brand-navy-light);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.method-card h3 { margin-bottom: 20px; font-size: 1.4rem; }
.method-card ul li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: var(--text-gray);
}

/* Estilo para itens negativos */
.method-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--brand-red);
    font-weight: bold;
}

/* Estilo Ativo/Positivo */
.active-card { border: 1px solid var(--brand-red); position: relative; }
.active-card::after {
    content: 'MODELO GRADEV';
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--brand-red);
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
}
.active-card ul li::before { color: #10b981; content: '✓'; }
.active-card ul li strong { color: white; }

/* --- PRICING --- */
.pricing { padding: 80px 0; background: #080f1d; }

.badge-red {
    color: var(--brand-red);
    font-weight: 800;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: start;
}

.plan-card {
    background: var(--brand-navy-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 32px;
    transition: transform 0.3s;
    position: relative;
}

.plan-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }

.featured {
    border: 2px solid var(--brand-red);
    background: linear-gradient(180deg, rgba(217, 48, 37, 0.05) 0%, var(--brand-navy-light) 100%);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.tag-recommendation {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--brand-red);
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
}

.plan-header { text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 24px; margin-bottom: 24px; }
.plan-header h3 { font-size: 1.1rem; color: white; margin-bottom: 10px; }
.plan-header .price { font-size: 2.5rem; font-weight: 800; color: white; }
.plan-header .price small { font-size: 1rem; font-weight: 400; color: var(--text-gray); }
.plan-header .description { font-size: 0.9rem; color: var(--text-gray); margin-top: 10px; }

.features li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-gray);
    display: flex;
    gap: 10px;
}

.features li::before { content: '✓'; color: var(--brand-red); }
.highlight-item { color: white !important; font-weight: 600; }

.bonus-box {
    background: rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 6px;
    margin: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    border: 1px dashed rgba(255,255,255,0.2);
}
.bonus-box strong { display: block; color: #fbbf24; margin-bottom: 4px; }
.premium-box strong { color: #10b981; }

/* --- PROJECTS --- */
.projects { padding: 80px 0; border-top: 1px solid var(--border-color); }

.projects-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
}

.projects-text { flex: 1; }
.projects-text h2 { font-size: 2rem; margin-bottom: 16px; }
.projects-text p { color: var(--text-gray); margin-bottom: 24px; }

.projects-list {
    flex: 1.5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.project-item {
    background: var(--brand-navy-light);
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.project-item h4 { margin-bottom: 8px; color: white; }
.project-item p { font-size: 0.85rem; color: var(--text-gray); }

/* --- FOOTER --- */
footer {
    padding: 60px 0 20px;
    background: #050a14;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand p { color: var(--text-gray); font-size: 0.9rem; margin-top: 10px; max-width: 300px; }

.footer-contact { text-align: right; }
.footer-contact h4 { margin-bottom: 5px; }
.footer-contact p { color: var(--text-gray); font-size: 0.9rem; margin-bottom: 15px; }

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.8rem;
    color: #475569;
}

/* --- RESPONSIVO --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-icon { display: block; }
    
    .hero h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
    
    .method-grid, .projects-wrapper, .footer-content {
        flex-direction: column;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .projects-list { grid-template-columns: 1fr; width: 100%; }
    .footer-contact { text-align: center; margin-top: 40px; }
}