/* -------------------
 * RESET E ESTILOS GLOBAIS
 * ------------------- */
:root {
    /* Nova Paleta de Cores com base em #0036af */
    --cor-primaria: #0036af;
    --cor-primaria-escura: #002a8c;
    --cor-primaria-clara: #4299e1;
    --cor-primaria-mais-clara: #a0aec0;

    /* Cores de suporte */
    --green-500: #22c55e;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;

    /* Sombras */
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--gray-50);
    color: var(--gray-800);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

/* -------------------
 * CLASSES UTILITÁRIAS
 * ------------------- */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.hidden {
    display: none !important;
}

.text-center { text-align: center; }
.text-azul { color: var(--cor-primaria); } /* Renomeado de .text-indigo */
.text-green { color: var(--green-500); }
.font-semibold { font-weight: 600; }

.margin-top-lg { margin-top: 3rem; }

/* -------------------
 * CABEÇALHO (HEADER)
 * ------------------- */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cor-primaria);
    text-decoration: none;
}

.desktop-menu {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.desktop-menu a {
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.desktop-menu a:hover {
    color: var(--cor-primaria);
}

.desktop-menu a.active {
    color: var(--cor-primaria);
    font-weight: 600;
}

.mobile-menu-button {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu {
    background-color: var(--white);
    border-top: 1px solid #e5e7eb;
}

.mobile-menu a {
    display: block;
    text-align: center;
    padding: 0.75rem 1.5rem;
    color: var(--gray-600);
    text-decoration: none;
}
.mobile-menu a:hover {
    background-color: var(--gray-100);
}
.mobile-menu a.active {
    background-color: var(--gray-50);
    color: var(--cor-primaria);
    font-weight: 600;
}

/* -------------------
 * CONTEÚDO PRINCIPAL
 * ------------------- */
.main-content {
    padding-top: 68px; /* Altura do header */
}

.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--white);
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    color: var(--gray-600);
    line-height: 1.6;
}

.link {
    color: var(--cor-primaria);
    font-weight: 600;
    text-decoration: none;
}
.link:hover {
    text-decoration: underline;
}

/* -------------------
 * BOTÕES E ÍCONES
 * ------------------- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1.125rem;
}

.btn-primary {
    background-image: linear-gradient(to right, var(--cor-primaria), #0052d4, var(--cor-primaria-clara));
    background-size: 200% auto;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}
.btn-primary:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-light {
    background-color: var(--white);
    color: var(--cor-primaria);
    box-shadow: var(--shadow-lg);
}
.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-contact-nav {
    background-color: var(--green-500);
    color: var(--white);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-contact-nav:hover {
    background-color: #16a34a;
    color: var(--white);
}

.btn-contact-nav.active {
    background-color: #15803d;
}

.icon-sm { width: 1.25rem; height: 1.25rem; display: inline-block; vertical-align: middle; flex-shrink: 0; }
.icon-md { width: 1.5rem; height: 1.5rem; display: inline-block; vertical-align: middle; }
.icon-lg { width: 3rem; height: 3rem; margin: 0 auto 1rem; }
.btn-light .icon-md { margin-right: 0.5rem; margin-top: -2px; }

/* -------------------
 * COMPONENTES ESPECÍFICOS
 * ------------------- */

/* Hero */
.hero-section {
    padding: 5rem 0;
    background-color: var(--white);
}
.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}
.hero-container .hero-text .text-azul { /* Classe específica para o span */
    color: var(--cor-primaria);
}
.hero-text p { font-size: 1.25rem; margin-bottom: 2rem; }
.hero-image img {
    border-radius: 0.5rem;
    box-shadow: var(--shadow-2xl);
    max-width: 100%;
}
.page-hero {
    padding: 5rem 0;
    background-color: var(--white);
}
.page-hero p {
    font-size: 1.25rem;
    max-width: 48rem;
    margin: 0 auto;
}
.page-hero .text-azul { /* Classe específica para o span */
    color: var(--cor-primaria);
}

/* Benefícios */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}
.benefit-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s;
}
.benefit-card:hover {
    transform: scale(1.05);
}
.benefit-card .icon-lg.text-azul {
    color: var(--cor-primaria);
}

/* Sobre */
.about-container, .about-container-alt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}
.about-image img {
    border-radius: 0.5rem;
    box-shadow: var(--shadow-xl);
    width: 100%;
}
.about-text {
    text-align: center;
}
.about-text h2 .text-azul {
    color: var(--cor-primaria);
}
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { margin-bottom: 1rem; }

/* Planos */
.plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 64rem;
    margin: 0 auto;
}
.plan-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid #d1d5db;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.3s ease;
}
.plan-card h2 .text-azul {
    color: var(--cor-primaria);
}
.plan-card h3 { text-align: center;}
.plan-card .price { text-align: center; }

.plan-card.featured {
    background-color: var(--cor-primaria);
    color: var(--white);
    border-top-color: var(--cor-primaria-clara);
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-2xl);
}
.plan-badge {
    background-color: var(--white);
    color: var(--cor-primaria);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 9999px;
    align-self: center;
    margin-bottom: 1rem;
}
.plan-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.plan-card.featured .price { color: var(--white); }
.price-cents { font-size: 1.5rem; font-weight: 600; }
.price-period { font-size: 1rem; font-weight: 400; color: var(--gray-600); }
.plan-card.featured .price-period { color: var(--cor-primaria-mais-clara); }
.plan-ideal { text-align: center; color: var(--gray-600); font-weight: 500; margin-bottom: 1.5rem; }
.plan-card.featured .plan-ideal { color: var(--cor-primaria-mais-clara); }
.plan-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.plan-card ul li { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.75rem; }
.plan-card.featured ul li, .plan-card.featured .plan-footer {
    color: var(--white);
}
.plan-card.featured .icon-sm {
    color: var(--green-500);
}
.plan-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.9rem;
    color: var(--gray-600);
}
.plan-card.featured .plan-footer {
    border-top-color: var(--cor-primaria-escura);
}


/* FAQ */
.faq-container { max-width: 48rem; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background-color: var(--gray-100); border-radius: 0.5rem; }
.faq-button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
}
.faq-icon { transition: transform 0.3s; }
.faq-icon.rotate-180 { transform: rotate(180deg); }
.faq-content {
    padding: 0 1.25rem 1.25rem;
    color: var(--gray-600);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
}
.faq-content.open {
    max-height: 300px; /* Adjust if content is larger */
}
.faq-content p {
    padding-top: 1rem;
    border-top: 1px solid #d1d5db;
}

/* CTA Section */
.cta-section {
    background-color: var(--cor-primaria-escura);
    color: var(--white);
    padding: 5rem 0;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: var(--cor-primaria-mais-clara); margin-bottom: 2rem; max-width: 48rem; margin-left: auto; margin-right: auto;}
.cta-section .btn-light {
    color: var(--cor-primaria);
}

/* Missão, Visão, Valores */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}
.mission-card .icon-lg.text-azul {
    color: var(--cor-primaria);
}
.values-list { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }

/* Contato */
.contact-cta { max-width: 40rem; }
.contact-cta h2 { font-size: 1.75rem; }
.btn-whatsapp {
    background-image: linear-gradient(to right, #10b981, #22c55e, #84cc16);
    background-size: 200% auto;
    color: var(--white);
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}
.btn-whatsapp:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}
.contact-image { margin-top: 2rem; }
.contact-image img {
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    max-width: 100%;
    margin: 0 auto;
}
.contact-alt { max-width: 40rem; }
.contact-alt-box {
    background-color: var(--gray-100);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    display: inline-block;
}
.contact-email-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    margin: 1rem 0;
    color: var(--cor-primaria);
}
.contact-hours { color: var(--gray-600); }
.map-container {
    width: 100%;
    max-width: 64rem;
    height: 24rem;
    background-color: var(--gray-100);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin: 0 auto;
}

/* Rodapé */
.footer {
    background-color: var(--gray-800);
    color: #d1d5db;
    padding: 3rem 0;
}
.logo-footer {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1.5rem;
}
.footer-menu {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.footer-menu a {
    color: #d1d5db;
    text-decoration: none;
}
.footer-menu a:hover { color: var(--white); }
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.social-icons a { color: #d1d5db; }
.social-icons a:hover { color: var(--white); }
.footer-legal {
    color: #6b7280;
    font-size: 0.875rem;
}
.footer-legal p { color: #6b7280; margin-bottom: 0.25rem; }
.footer-legal a { color: #6b7280; text-decoration: underline; }
.footer-legal a:hover { color: var(--white); }

/* -------------------
 * MEDIA QUERIES (RESPONSIVIDADE)
 * ------------------- */
@media (min-width: 768px) {
    h1 { font-size: 3.25rem; }
    h2 { font-size: 2.5rem; }

    .desktop-menu { display: flex; }
    .mobile-menu-button { display: none; }
    .mobile-menu { display: none !important; }

    .hero-container {
        flex-direction: row;
        text-align: left;
        gap: 3rem;
    }
    .hero-text { flex: 1; }
    .hero-image { flex: 1; }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-container {
        flex-direction: row;
        text-align: left;
    }
    .about-text { flex: 1; }
    .about-image { flex: 1; }
    .about-container-alt {
        flex-direction: row-reverse;
    }

    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mission-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    .plans-grid {
        grid-template-columns: 1fr 1fr 1fr;
        align-items: center;
    }
    .plan-card.featured {
        transform: scale(1.1);
    }
}
