/* ===== RESET E BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #2c3e50;
    background: #fafafa;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #1a2a3a;
}

/* ===== NAVBAR FIXA - BRANCA ===== */
.floating-navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 60px;
    padding: 10px 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
    z-index: 999999 !important;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 !important;
    position: relative;
}

/* Logo + título - agora é um link */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
}
.navbar-brand img {
    max-height: 45px;
    width: auto;
    border-radius: 6px;
}
.site-title-text {
    color: #1a2a3a !important;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* ===== MENU DESKTOP ===== */
.nav-links {
    display: flex !important;
    list-style: none !important;
    gap: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
}
.nav-links li {
    margin: 0 !important;
}
.nav-links a {
    color: #1a2a3a !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    padding: 6px 0 !important;
    transition: color 0.25s, border-bottom 0.25s;
    border-bottom: 2px solid transparent !important;
}
.nav-links a:hover {
    color: #f1c40f !important;
    border-bottom-color: #f1c40f !important;
}

/* ===== BOTÃO HAMBÚRGUER ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1000;
}

.hamburger .bar {
    display: block;
    width: 28px;
    height: 3px;
    background: #1a2a3a;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== HERO COM IMAGEM DE FUNDO ===== */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #ffffff !important;
    padding: 120px 20px 80px;
    position: relative;
    text-align: left;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 42, 58, 0.55);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
    margin-left: 5%;
}

/* ===== LOGO + OBAX ALINHADOS ===== */
.hero-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 15px;
}

.hero-logo-img {
    max-height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
}

.hero-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff !important;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
    line-height: 1;
}

.hero h1 {
    font-size: 3.2rem;
    color: #ffffff !important;
    text-shadow: 0 4px 30px rgba(0,0,0,0.4);
    margin-bottom: 15px;
    line-height: 1.1;
    font-weight: 300;
}

.hero .subtitle {
    font-size: 1.4rem;
    max-width: 650px;
    margin: 0 0 35px 0;
    font-weight: 300;
    color: #ffffff !important;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero .btn {
    display: inline-block;
    padding: 18px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(0,0,0,0.25);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero .btn-primary {
    background: #f1c40f;
    color: #1a2a3a !important;
}

.hero .btn-primary:hover {
    background: #f39c12;
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(241, 196, 15, 0.5);
}

.hero .btn-secondary {
    background: transparent;
    border: 2.5px solid #ffffff;
    color: #ffffff !important;
}

.hero .btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(255,255,255,0.15);
}

/* ===== SEÇÕES ===== */
section {
    padding: 70px 0;
}
h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}
h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #f1c40f;
    margin: 15px auto 0;
}

/* ===== SOBRE ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.about-text {
    font-size: 1.1rem;
}
.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.highlight-item {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    text-align: center;
}
.number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a2a3a;
    font-family: 'Playfair Display', serif;
}
.label {
    display: block;
    font-size: 0.95rem;
    color: #7f8c8d;
}

/* ===== NÍVEIS ===== */
.levels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.level-card {
    background: #fff;
    padding: 40px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border-top: 6px solid #f1c40f;
}
.level-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* ===== CTA INSCRIÇÃO ===== */
.cta-inscricao {
    background: #f1c40f;
    text-align: center;
    padding: 60px 0;
}
.cta-inscricao h2 {
    color: #1a2a3a;
}
.cta-inscricao h2::after {
    background: #1a2a3a;
}
.cta-inscricao .btn {
    background: #1a2a3a;
    color: #fff;
}
.cta-inscricao .btn:hover {
    background: #2c3e50;
}

/* ===== NOTÍCIAS ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.news-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}
.news-item:hover {
    transform: translateY(-6px);
}
.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.news-item h3 {
    font-size: 1.3rem;
    padding: 15px 20px 5px;
}
.news-item .post-date {
    display: block;
    padding: 0 20px;
    font-size: 0.85rem;
    color: #95a5a6;
}
.news-item p {
    padding: 10px 20px 20px;
}
.news-item a {
    text-decoration: none;
    color: inherit;
}

/* ===== RODAPÉ ===== */
.site-footer {
    background: #1a2a3a;
    color: #bdc3c7;
    text-align: center;
    padding: 30px 0;
    font-size: 0.95rem;
    border-top: 3px solid #f1c40f;
}

/* ===== FADE-IN (ANIMAÇÕES) ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 992px) {
    .hamburger {
        display: flex !important;
    }

    .nav-links {
        display: none !important;
        position: absolute;
        top: calc(100% + 15px);
        right: 0;
        width: 280px;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 20px;
        padding: 15px 20px !important;
        flex-direction: column !important;
        gap: 5px !important;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(0, 0, 0, 0.06);
        z-index: 999;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 12px 15px !important;
        font-size: 1.05rem !important;
        font-weight: 500 !important;
        color: #1a2a3a !important;
        border-bottom: none !important;
        border-radius: 8px;
        transition: background 0.2s ease;
    }

    .nav-links a:hover {
        background: rgba(241, 196, 15, 0.1);
        color: #f1c40f !important;
        border-bottom: none !important;
    }

    .floating-navbar {
        padding: 10px 20px !important;
        border-radius: 30px !important;
        top: 15px !important;
        width: 95% !important;
    }

    .site-title-text {
        font-size: 0.9rem !important;
        white-space: normal !important;
    }

    .navbar-brand img {
        max-height: 38px !important;
    }

    .hero {
        padding-top: 130px !important;
    }

    .hero-content {
        margin-left: 0;
        max-width: 100%;
    }
    .hero-logo-text {
        font-size: 3rem;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero .subtitle {
        font-size: 1.2rem;
    }
    .hero .btn {
        padding: 16px 36px;
        font-size: 1rem;
    }
    .hero-logo-img {
        max-height: 60px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 60px !important;
        min-height: 90vh;
        justify-content: center;
        text-align: center;
    }
    .hero-content {
        margin-left: 0;
        text-align: center;
    }
    .hero-logo-wrapper {
        justify-content: center;
        gap: 12px;
    }
    .hero-logo-text {
        font-size: 2.5rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero .subtitle {
        font-size: 1.1rem;
        margin: 0 auto 30px;
        max-width: 100%;
    }
    .hero-buttons {
        justify-content: center;
        gap: 12px;
        flex-direction: column;
        align-items: center;
    }
    .hero .btn {
        padding: 14px 32px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    .hero-logo-img {
        max-height: 50px;
    }

    .about-grid, .levels-grid, .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-links {
        width: 95%;
        right: 2.5%;
        padding: 12px 15px !important;
    }

    .nav-links a {
        font-size: 0.95rem !important;
        padding: 10px 12px !important;
    }

    .site-title-text {
        font-size: 0.75rem !important;
    }

    .navbar-brand img {
        max-height: 32px !important;
    }

    .floating-navbar {
        padding: 8px 15px !important;
        border-radius: 25px !important;
        top: 10px !important;
    }

    .hamburger .bar {
        width: 24px;
        height: 2.5px;
    }

    .hero-logo-text {
        font-size: 2rem;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero .subtitle {
        font-size: 1rem;
    }
    .hero {
        min-height: 85vh;
        padding: 80px 15px 40px !important;
    }
    .hero-logo-img {
        max-height: 40px;
    }
    .hero-logo-wrapper {
        gap: 10px;
    }
}


/* ===== PÁGINA COMO FUNCIONA ===== */

/* Banner */
.page-banner {
    background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
    color: #fff;
    padding: 140px 0 60px;
    text-align: center;
}
.page-banner h1 {
    font-size: 3.5rem;
    color: #fff;
}
.page-banner p {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Etapas */
.steps-section {
    padding: 70px 0;
    background: #f8f9fa;
}
.steps-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.step-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background: #fff;
    padding: 30px 35px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}
.step-item:hover {
    transform: translateY(-4px);
}
.step-number {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    background: #f1c40f;
    color: #1a2a3a;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #1a2a3a;
}
.step-content p {
    color: #555;
    line-height: 1.6;
}

/* Info Boxes */
.info-boxes {
    padding: 70px 0;
    background: #fff;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.info-card {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 16px;
    transition: transform 0.3s ease;
}
.info-card:hover {
    transform: translateY(-6px);
}
.info-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}
.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.info-card p {
    color: #555;
}

/* ===== ANIMAÇÕES ===== */
.fade-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.fade-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsivo */
@media (max-width: 768px) {
    .page-banner h1 { font-size: 2.5rem; }
    .page-banner { padding: 120px 0 40px; }
    .step-item { flex-direction: column; align-items: center; text-align: center; }
    .info-grid { grid-template-columns: 1fr; }
}

/* ===== PÁGINA DE INSCRIÇÃO ===== */
.inscricao-form-section {
    padding: 60px 0 80px;
    background: #f8f9fa;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 50px 60px;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.form-intro {
    text-align: center;
    margin-bottom: 40px;
}
.form-intro p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

/* Campos do formulário */
.inscricao-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 5px;
}

.inscricao-form .form-group {
    margin-bottom: 20px;
}

.inscricao-form label {
    display: block;
    font-weight: 600;
    color: #1a2a3a;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.inscricao-form input,
.inscricao-form select,
.inscricao-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s ease;
    background: #fafafa;
}

.inscricao-form input:focus,
.inscricao-form select:focus,
.inscricao-form textarea:focus {
    outline: none;
    border-color: #f1c40f;
    background: #fff;
}

.inscricao-form textarea {
    resize: vertical;
}

/* Botão */
.inscricao-form .btn-submit {
    width: 100%;
    padding: 16px 40px;
    background: #1a2a3a;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.inscricao-form .btn-submit:hover {
    background: #2c3e50;
    transform: translateY(-2px);
}

.form-notice {
    text-align: center;
    margin-top: 12px;
    font-size: 0.9rem;
    color: #888;
}

/* Alertas */
.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-weight: 500;
}
.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsivo */
@media (max-width: 768px) {
    .form-wrapper {
        padding: 30px 20px;
    }
    .inscricao-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ===== PÁGINA SOBRE ===== */

/* Banner */
.page-banner {
    background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
    color: #fff;
    padding: 140px 0 60px;
    text-align: center;
}
.page-banner h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 10px;
}
.page-banner p {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Seção Sobre */
.sobre-intro {
    padding: 70px 0;
    background: #f8f9fa;
}
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.sobre-text h2 {
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 25px;
}
.sobre-text h2::after {
    margin: 15px 0 0 0;
}
.sobre-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}
.sobre-text strong {
    color: #1a2a3a;
    font-weight: 700;
}
.sobre-image {
    text-align: center;
}
.foto-zallio {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}
.foto-zallio:hover {
    transform: scale(1.02);
}
.legenda {
    margin-top: 12px;
    font-size: 0.95rem;
    color: #777;
    font-style: italic;
}

/* Parceiros */
.parceiros {
    padding: 70px 0;
    background: #fff;
}
.parceiros h2 {
    text-align: center;
    margin-bottom: 50px;
}
.parceiros-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 600px;
    margin: 0 auto;
    align-items: center;
}
.parceiro-item {
    text-align: center;
    background: #f8f9fa;
    padding: 30px 20px;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.parceiro-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.parceiro-logo {
    max-width: 180px;
    height: auto;
    max-height: 100px;
    object-fit: contain;
}
.parceiro-nome {
    margin-top: 12px;
    font-weight: 600;
    color: #1a2a3a;
    font-size: 1rem;
}

/* Valores */
.valores {
    padding: 70px 0;
    background: #f8f9fa;
}
.valores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.valor-item {
    text-align: center;
    padding: 40px 25px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.valor-item:hover {
    transform: translateY(-6px);
}
.valor-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}
.valor-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #1a2a3a;
}
.valor-item p {
    color: #666;
    line-height: 1.6;
}

/* Responsivo */
@media (max-width: 992px) {
    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .sobre-text h2 {
        text-align: center;
    }
    .sobre-text h2::after {
        margin: 15px auto 0;
    }
    .parceiros-grid {
        grid-template-columns: 1fr 1fr;
        max-width: 100%;
    }
    .valores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-banner h1 { font-size: 2.5rem; }
    .page-banner { padding: 120px 0 40px; }
    .sobre-intro, .parceiros, .valores { padding: 40px 0; }
    .parceiros-grid { grid-template-columns: 1fr; }
    .valores-grid { grid-template-columns: 1fr; }
    .parceiro-logo { max-width: 140px; }
}

@media (max-width: 480px) {
    .page-banner h1 { font-size: 2rem; }
    .page-banner p { font-size: 1rem; }
    .sobre-text h2 { font-size: 2rem; }
    .sobre-text p { font-size: 1rem; }
    .foto-zallio { max-width: 100%; }
    .parceiro-logo { max-width: 120px; }
}

/* ===== CARDS DE NÍVEIS COM LINK ===== */
.level-card-link {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
}
.level-card-link:hover:not(.disabled) {
    transform: translateY(-8px);
}
.level-card-link.disabled {
    cursor: default;
}
.level-card-link.disabled .level-card {
    opacity: 0.7;
}
.level-card-link .level-card {
    cursor: pointer;
    height: 100%;
    transition: box-shadow 0.3s ease;
}
.level-card-link:hover:not(.disabled) .level-card {
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.level-badge {
    display: inline-block;
    margin-top: 15px;
    padding: 6px 18px;
    background: rgba(241, 196, 15, 0.15);
    color: #f1c40f;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 30px;
    transition: background 0.3s ease, color 0.3s ease;
}
.level-card-link:hover:not(.disabled) .level-badge {
    background: #f1c40f;
    color: #1a2a3a;
}

.level-badge.soon {
    background: rgba(149, 165, 166, 0.15);
    color: #95a5a6;
}