/* Reset Básico e Tipografia */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --primary-color: #005A9C;
    --secondary-color: #2E7D32;
    --accent-color: #FDB813; /* Amarelo para destaque */
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    background-color: var(--white);
    color: var(--dark-gray);
}

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

/* Cabeçalho e Navegação */
header {
    background: var(--white);
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

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

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav .nav-list {
    list-style: none;
    display: flex;
}

.main-nav .nav-list li {
    margin-left: 25px;
}

.main-nav .nav-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 5px;
}

.main-nav .nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease-out;
}

.main-nav .nav-list a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Seção Hero */
.hero {
    background: linear-gradient(to right, var(--primary-color), #004080);
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
}

.hero .hero-logo {
    max-width: 120px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    opacity: 0.9;
}

/* Botões */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-color);
    color: var(--dark-gray);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.btn-primary .fa-whatsapp {
    font-size: 1.5rem;
}

/* Seções Gerais */
main section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* Seção de Benefícios */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.benefit-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Depoimentos */
.testimonials {
    background: var(--light-gray);
}

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--accent-color);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-card p i {
    margin-right: 10px;
    color: var(--accent-color);
}

.testimonial-card span {
    display: block;
    font-weight: bold;
    color: var(--primary-color);
}

/* Rodapé */
footer {
    background: var(--dark-gray);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

/* --- Outras Páginas --- */
.downloads-table a i {
    margin-right: 8px;
}

.contact-card .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* --- Estilos das Páginas Internas --- */

.page-title {
    padding: 3rem 0;
    background: var(--light-gray);
    text-align: center;
}

.page-title h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.content {
    padding: 4rem 0;
}

.content ul.fa-ul {
    list-style-type: none;
    margin-left: 1.5rem;
}

.content ul.fa-ul li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.warning-box {
    background: #fff3cd;
    border-left: 5px solid var(--accent-color);
    color: #664d03;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: var(--shadow);
}

.warning-box h3 {
    margin-bottom: 0.5rem;
}

/* Página de Grupos */
.group-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.group-item {
    background: var(--white);
    color: var(--dark-gray);
    padding: 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.group-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    color: var(--primary-color);
}

.group-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    transition: color 0.3s;
}

.group-item:hover i {
    color: var(--primary-color);
}

.section-spacing {
    margin-top: 4rem;
}

/* Tabela de Downloads */
.downloads-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

.downloads-table th, .downloads-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.downloads-table thead {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.downloads-table tbody tr:nth-child(even) {
    background: var(--light-gray);
}

.downloads-table tbody tr:hover {
    background-color: #e9ecef;
}

.downloads-table a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.downloads-table a:hover {
    color: var(--primary-color);
}

/* Página de Contato */
.contact-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 2rem;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-gray);
}

form input,
form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 90, 156, 0.2);
}

form .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--white);
    color: var(--dark-gray);
    padding: 12px 25px;
    border: 1px solid #ced4da;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--light-gray);
    border-color: var(--dark-gray);
}

/* Estilo para textos do hero */
.hero-subtext {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Seção Sobre na Landing Page */
.about-section {
    padding: 4rem 0;
    background: var(--white);
}

.about-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--dark-gray);
    text-align: center;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 2rem 0 3rem 0;
}

.objective-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.objective-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.objective-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.objective-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.objective-card p {
    font-size: 0.95rem;
}

.rules-section {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.rules-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.rules-list {
    list-style: none;
    padding-left: 0;
}

.rules-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.95rem;
}

.rules-list li:last-child {
    border-bottom: none;
}

.rules-list strong {
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #004080);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.1rem;
}

/* Avaliações com Estrelas */
.stars {
    margin-bottom: 1rem;
}

.stars i {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-right: 3px;
}

/* Downloads Promo Section */
.downloads-promo {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light-gray), #f0f5ff);
}

.downloads-promo .section-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.downloads-promo-text {
    text-align: center;
    font-size: 1.05rem;
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.downloads-promo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 2rem;
}

.promo-feature {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.promo-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.promo-feature i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.promo-feature h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.promo-feature p {
    font-size: 0.95rem;
    color: #666;
}

.downloads-promo .btn-primary {
    display: block;
    margin: 0 auto;
    width: auto;
    text-align: center;
}

/* --- Responsividade --- */
@media (max-width: 768px) {
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.5s ease-in-out;
    }

    .nav-list {
        flex-direction: column;
        padding: 1rem 0;
    }

    .nav-list.active {
        max-height: 300px; /* Altura suficiente para os links */
    }

    .main-nav .nav-list li {
        margin: 0;
        text-align: center;
    }

    .main-nav .nav-list a {
        display: block;
        padding: 1rem;
    }

    .main-nav .nav-list a:hover {
        background: var(--light-gray);
    }

    .main-nav .nav-list a::after {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .contact-options {
        grid-template-columns: 1fr;
    }

    /* Mobile - Seção Sobre */
    .objectives-grid {
        grid-template-columns: 1fr;
    }

    .about-intro {
        font-size: 1rem;
    }

    .rules-section {
        padding: 1.5rem;
    }

    /* Mobile - CTA */
    .cta-section h2 {
        font-size: 1.8rem;
    }

    .btn-large {
        padding: 15px 30px;
        font-size: 1rem;
    }

    /* Mobile - Depoimentos com Stars */
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile - Benefícios estendidos */
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile - Downloads Promo */
    .downloads-promo-features {
        grid-template-columns: 1fr;
    }

    .promo-feature {
        padding: 1.5rem;
    }
}
