/* Reset Geral */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f4f4f6;
    color: #333;
    overflow-x: hidden;
}

/* =======================================================
   HEADER RESPONSIVO (CORRIGIDO PARA FUNDO PRETO)
   ======================================================= */
header {
    background-color: #1a1a1a; /* Alterado para preto conforme o layout original */
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    height: 90px;
}

/* Forçado para exatamente 67px de altura máxima */
.logo-container {
    height: 67px;
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 100%;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Menu Desktop */
nav.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: color 0.2s;
    white-space: nowrap;
}

nav.nav-menu a:hover {
    color: #ff0000;
}

/* Botão Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px auto;
    background-color: #ffffff;
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

/* =======================================================
   RESPONSIVIDADE DO MENU (QUEBRA ATÉ 992px PARA SEGURANÇA)
   ======================================================= */
@media (max-width: 992px) {
    header {
        padding: 0 20px;
        height: 80px;
    }

    .logo-container {
        height: 55px; /* Redução sutil no mobile para harmonia visual */
    }

    .hamburger {
        display: block; /* Hamburger ativo */
    }

    nav.nav-menu {
        position: absolute;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background-color: #1a1a1a;
        width: 100%;
        text-align: center;
        gap: 0;
        transition: left 0.4s ease-in-out;
        box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    }

    nav.nav-menu a {
        color: #ffffff;
        display: block;
        padding: 22px 0;
        width: 100%;
        border-bottom: 1px solid #2a2a2a;
    }

    nav.nav-menu.active {
        left: 0; /* Desloca o menu para dentro da tela */
    }

    /* Transformação para o ícone "X" */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: #ff0000;
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: #ff0000;
    }
}

/* =======================================================
   BANNER PRINCIPAL (HERO +30% DE ALTURA E RESPONSIVO)
   ======================================================= */
.hero {
    background-image: url('banner.jpg'); /* Substitua pelo nome do seu arquivo de imagem de fundo */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    padding: 140px 20px; /* Aumentado em mais de 30% para expandir a área vertical */
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 480px;
}

/* Película escura opcional para dar leitura aos textos sobre a imagem */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.hero p {
    font-size: 18px;
    color: #f0f0f0;
    margin-bottom: 35px;
    line-height: 1.5;
}

.hero .btn-main {
    background-color: #ff0000;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: transform 0.2s;
}

.hero .btn-main:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 20px;
        min-height: 380px;
        background-position: 35% center; /* Ajusta o enquadramento do rosto no mobile */
    }
    .hero h1 {
        font-size: 28px;
    }
    .hero p {
        font-size: 15px;
    }
}

/* =======================================================
   SEÇÃO DE PLANOS 
   ======================================================= */
.plans-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.plans-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #1a1a1a;
    font-weight: bold;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.plan-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 30px 25px;
    text-align: center;
    border: 1px solid #e1e1e6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.plan-card.featured {
    border: 2px solid #ff0000;
    box-shadow: 0 6px 16px rgba(255,0,0,0.15);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff0000;
    color: white;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-name {
    font-size: 22px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.plan-details {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
    font-size: 13px;
    color: #555;
}

.plan-details li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 18px;
    line-height: 1.4;
}

.plan-details li::before {
    content: "•";
    color: #ff0000;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 16px;
    top: -2px;
}

.plan-price {
    margin-top: auto;
    margin-bottom: 25px;
}

.price-promo {
    font-size: 32px;
    color: #ff0000;
    font-weight: bold;
}

.price-period {
    font-size: 12px;
    color: #777;
    display: block;
    margin-top: 6px;
}

.btn-order {
    background-color: #1a1a1a;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
    font-size: 14px;
    text-transform: uppercase;
}

.btn-order:hover {
    background-color: #ff0000;
}

/* =======================================================
   SEÇÃO DE VANTAGENS
   ======================================================= */
.features-section {
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.features-section h2 {
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 40px;
}

.features-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-item h3 {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-weight: bold;
}

.feature-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* =======================================================
   RODAPÉ
   ======================================================= */
footer {
    background-color: #1a1a1a;
    color: #999;
    padding: 40px 20px;
    text-align: center;
    font-size: 12px;
    border-top: 4px solid #ff0000;
    line-height: 1.6;
}

footer a {
    color: #ccc;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}