@font-face {
    font-family: 'Poppins';
    src: url('poppins.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Exo';
    src: url('exo2.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Charisma';
    src: url('charisma.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --azul-escuro: #1e3a8a;
    --azul-medio: #2563eb;
    --azul-claro: #3b82f6;
    --vermelho: #dc2626;
    --vermelho-escuro: #b91c1c;
    --verde: #22c55e;
    --verde-escuro: #16a34a;
    --cinza-claro: #f9fafb;
    --cinza-medio: #e5e7eb;
    --cinza-escuro: #374151;
    --cinza-muitoescuro: rgba(6, 18, 55, 1);
    --preto: #1f2937;
}

charisma {
    font-family: 'Charisma';
    font-size: 2.5rem;
    letter-spacing: -1px;
    line-height: 1;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Exo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--preto);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

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

/* === HEADER/NAVBAR === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #172f71;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-navigation {
    display: none;
}

.site-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.site-navigation a {
    color: white;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
}

.site-navigation a:hover {
    color: var(--vermelho);
}

.site-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--vermelho);
    transition: width 0.3s;
}

.site-navigation a:hover::after {
    width: 100%;
}

/* Menu Mobile Toggle */
.site-navigation-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.site-navigation-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s;
    border-radius: 2px;
}

.site-navigation-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.site-navigation-toggle.active span:nth-child(2) {
    opacity: 0;
}

.site-navigation-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Menu Dropdown Mobile */
.site-navigation-dropdown {
    display: block;
    background: #172f71;
    padding: 0;
    max-height: 0; /* ADICIONE */
    overflow: hidden; /* ADICIONE */
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.site-navigation-dropdown.active {
    max-height: 500px; /* ALTURA MÁXIMA QUANDO ABERTO */
    padding: 20px; /* VOLTA O PADDING */
}

.site-navigation-dropdown ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0; /* ADICIONE */
    transition: opacity 0.3s ease 0.1s; /* ADICIONE - delay de 0.1s */
}

.site-navigation-dropdown.active ul {
    opacity: 1; /* APARECE QUANDO ATIVO */
}

.site-navigation-dropdown a {
    color: white;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

.site-navigation-dropdown a:hover {
    background: #172f71;
}

@media (min-width: 768px) {
    .site-navigation {
        display: block;
    }
    
    .site-navigation-toggle,
    .site-navigation-dropdown {
        display: none !important;
    }
}

/* === HERO SECTION === */
.hero-section {
    display: flex;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-medio) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-faro {
    width: 370px;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.imgfaro {
    width: 100%;
    height: auto;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 800px;
    min-height: 80vh;
    padding: 40px 60px;
    position: relative;
    z-index: 10;
}

.hero-logo img {
    width: 204px;
    height: 174px;
    margin-bottom: 30px;
    filter: drop-shadow(0px 0px 27px rgba(255, 255, 255, 0.15));
}

.hero-section h1 {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.4;
}

.btn-primary {
    display: inline-block;
    background: var(--vermelho);
    color: white;
    width: 230px;
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--cinza-claro);
    color: var(--vermelho-escuro);
}

@media (min-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
}

/* === SOBRE SECTION === */
.sobre-section {
    padding: 80px 0;
    background: var(--cinza-claro);
    background-image: url('../images/bg-planos.jpg');
}

.sobre-content {
    max-width: 1000px;
    margin: 0 auto;
}

.sobre-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--cinza-claro);
    margin-bottom: 40px;
}

.sobre-text strong {
    color: var(--cinza-claro);
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.beneficio-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    font-size: 18px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.beneficio-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.check-icon {
    width: 24px;
    height: 24px;
    color: var(--verde);
    flex-shrink: 0;
}

/* === MODALIDADES SECTION === */
.modalidades-section {
    padding: 80px 0;
    background-color: var(--cinza-claro);
    background-image: url('../images/bg-modalidades.jpg');
}

.section-title {
    font-size: 2.5rem;
    color: var(--cinza-claro);
    text-align: center;
    margin-bottom: 60px;
    font-weight: bold;
    position: relative;
    padding-bottom: 0;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 3px;
    background: var(--vermelho);
}

.modalidades-section .section-title {
    color: var(--azul-escuro);
}

.modalidades-grid {
    display: flex;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
}

.modalidade-card {
    width: calc(50% - 30px);
    background: var(--azul-escuro);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.modalidade-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.modalidade-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.modalidade-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s;
}

.modalidade-card:hover .modalidade-image img {
    transform: scale(1.1);
}

.modalidade-content {
    background: var(--azul-escuro);
    padding: 30px;
}

.modalidade-content h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.modalidade-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-outline {
    border: 2px solid white;
    background: transparent;
    color: white;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: white;
    color: var(--azul-escuro);
}

/* === GALERIA SECTION === */
.galeria-section {
    padding: 80px 0;
    background: var(--vermelho-escuro);
    background-image: url('../images/bg-planos.jpg');
}

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

.galeria-item {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.galeria-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === PLANOS SECTION === */
.planos-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--cinza-muitoescuro) 0%, var(--azul-medio) 100%);
}

.planos-section .section-title {
    color: white;
}

.planos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.plano-card {
    background: white;
    border-radius: 12px;
    padding: 10px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.plano-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.plano-card.destaque {
    transform: scale(1.05);
    border: 4px solid #fbbf24;
}

.plano-card.destaque:hover {
    transform: scale(1.05) translateY(-10px);
}

.plano-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--cinza-medio);
}

.plano-nomefantasia {
    font-size: 3.5rem;
    color: var(--azul-escuro);
    font-weight: bold;
    font-family: 'Charisma';
    text-transform: uppercase;
    transform: translate(0, 21px);
}

.plano-nome {
    font-size: 1.3rem;
    color: var(--azul-escuro);
    font-weight: bold;
    margin-bottom: 15px;
}

.plano-preco {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.plano-preco .currency {
    font-size: 1.5rem;
    color: var(--azul-escuro);
}

.plano-preco .valor {
    font-size: 3rem;
    color: var(--azul-escuro);
    font-weight: bold;
}

.plano-pagamento {
    font-size: 14px;
    color: var(--cinza-escuro);
}

.plano-beneficios {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 20px;
}

.plano-beneficios .beneficio {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.planos-matricula {
    display: flex;
    width: 100%;
    margin: 50px auto 0;
    justify-content: center;
}

/* === MAPA SECTION === */
.mapa-section {
    padding: 0;
    background: white;
    max-height: 600px;
}

.mapa-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    position: relative;
    padding-bottom: 40%;
    height: 0;
}

.mapa-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 600px;
    border: 0;
}

/* === FOOTER === */
.site-footer {
    background: var(--azul-escuro);
    color: white;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    width: 150px;
    margin: 0 auto;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

.footer-icon {
    width: 20px;
    height: 20px;
}

.footer-copy {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* === WHATSAPP BUTTON === */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--verde);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
    z-index: 999;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    background: var(--verde-escuro);
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(34, 197, 94, 0.5);
}

.whatsapp-btn svg {
    width: 35px;
    height: 35px;
    fill: white;
}

/* === MODAL === */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 11;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--cinza-claro);
    transform: rotate(90deg);
}

.modal-close svg {
    width: 24px;
    height: 24px;
    color: var(--cinza-escuro);
}

.modal-content img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.modal-body {
    padding: 40px;
}

.modal-body h3 {
    font-size: 2rem;
    color: var(--azul-escuro);
    margin-bottom: 20px;
    font-weight: bold;
}

.modal-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--cinza-escuro);
}

/* === ANIMATIONS === */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === UTILITIES === */
.hidden {
    display: none !important;
}

@media (max-width: 767px) {
.site-header .container {
    padding: 8px 7px;
}
.hero-faro {
    display: none;
}
.hero-content {
    padding: 80px 30px 40px;
    align-items: center;
}
.hero-section h1 {
    text-align: center;
}
.sobre-text {
    text-align: center;
}
.modalidades-grid {
    justify-content: center;
}
.modalidade-card {
    width: 92%;
    max-width: 400px;
}
.planos-grid {
    justify-items: center;
}
.plano-card {
    max-width: 400px;
}
}