/* =========================================
   VARIÁVEIS E CONFIGURAÇÕES GLOBAIS
   ========================================= */
:root {
    --primary: #2E5A3E;       /* Verde institucional Axon */
    --primary-dark: #234630;  /* Verde mais escuro para hover */
    --accent: #D35400;        /* Laranja de destaque */
    --accent-hover: #b54600;  /* Laranja escuro para hover */
    --bg-light: #f8f9fa;      /* Fundo claro */
    --text-main: #333333;     /* Cor principal de texto */
    --text-muted: #666666;    /* Cor secundária de texto */
    --white: #ffffff;
    --border-color: #e0e0e0;
    --radius: 8px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
}

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

/* =========================================
   CABEÇALHO (HEADER)
   ========================================= */
.header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    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 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

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

.header nav a:not(.btn) {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.header nav a:not(.btn):hover {
    color: var(--primary);
}

/* Botão do Cabeçalho corrigido (Fundo visível e texto branco) */
.header .btn-primary {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.header .btn-primary:hover {
    background-color: var(--primary-dark);
}

/* =========================================
   BANNER PEDAGÓGICO
   ========================================= */
.banner-pedagogico {
    padding: 30px 0 10px 0;
    background-color: var(--bg-light);
}

.banner-wrapper {
    width: 100%;
    max-height: 380px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.banner-img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
    display: block;
}

/* =========================================
   SEÇÃO HERO (INTRODUÇÃO)
   ========================================= */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #3a7550 100%);
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 25px auto;
    opacity: 0.95;
}

/* =========================================
   BOTÕES GERAIS
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* =========================================
   SEÇÃO DE PLANOS E VALORES
   ========================================= */
.planos {
    padding: 60px 0;
    background-color: var(--white);
}

.planos h2, .novidades h2, .matricula h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 25px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card.destaque {
    border-color: var(--accent);
    background: #fff8f5;
    position: relative;
}

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

.card .price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
}

.card ul {
    list-style: none;
    text-align: left;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.card ul li {
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
}

.card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* =========================================
   MURAL DE NOVIDADES
   ========================================= */
.novidades {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.loading-msg {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-muted);
    padding: 30px;
}

/* =========================================
   FORMULÁRIO DE PRÉ-MATRÍCULA
   ========================================= */
.matricula {
    padding: 60px 0;
    background-color: var(--white);
}

.matricula p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.form-grid {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-grid input,
.form-grid select {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color 0.3s ease;
    background-color: var(--bg-light);
}

.form-grid input:focus,
.form-grid select:focus {
    border-color: var(--primary);
    background-color: var(--white);
}

.status-msg {
    text-align: center;
    margin-top: 15px;
    font-weight: 600;
}

/* =========================================
   RODAPÉ (FOOTER)
   ========================================= */
.footer {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
}

.footer p {
    margin-bottom: 5px;
}

/* =========================================
   RESPONSIVIDADE (MOBILE)
   ========================================= */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 10px;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}