﻿@charset "UTF-8";

/* =====================================================
   COMPONENTES COMUNS
===================================================== */

/* BOTÃƒO PADRÃƒO */
.btn-primary {
    display: inline-block;
    margin-top: 25px;
    padding: 10px 22px;

    background: var(--green-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;

    transition: background var(--transition-normal), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover {
    background: var(--green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(10, 92, 58, 0.35);
}

.btn-primary:focus {
    outline: 2px solid var(--green-primary);
    outline-offset: 2px;
}

/* TÃTULOS DE SEÃ‡ÃƒO */
.section-title {
    text-align: center;
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin: 60px 0 40px;
    color: var(--green-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--green-primary), transparent);
}

/* PAGE HEADER */
.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 20px;
    background: linear-gradient(to bottom, #000, rgba(10, 92, 58, 0.1), #000);
    border-bottom: 2px solid rgba(10, 92, 58, 0.3);
}

.page-header h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 10px;
    color: var(--green-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-header p {
    font-size: clamp(0.9rem, 3vw, 1rem);
    opacity: 0.9;
    max-width: 700px;
    margin: auto;
    line-height: 1.7;
    color: var(--text-light);
}

.page section {
    margin-bottom: 0;
    padding: 60px 20px;
    background: linear-gradient(to bottom, #000, #0a0a0a, #000);
    border-bottom: 1px solid rgba(10, 92, 58, 0.2);
}

.page section:nth-child(even) {
    background: linear-gradient(to bottom, #0f0f0f, #000, #0f0f0f);
    border-left: 4px solid rgba(10, 92, 58, 0.3);
}

.page section:nth-child(odd) {
    background: linear-gradient(to bottom, #000, #0a0a0a, #000);
    border-left: 4px solid rgba(10, 92, 58, 0.15);
}

/* CARDS GERAIS */
.card {
    background: linear-gradient(to bottom, #0b0b0b, #111);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-gray);
    opacity: 0.9;
}

/* LISTAS */
.list-item {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.list-item::before {
    content: 'â–¶';
    position: absolute;
    left: 0;
    color: var(--green-primary);
    font-size: 12px;
}

/* QUOTES/CITAS */
.quote {
    border-left: 4px solid var(--green-primary);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 6px;
    background: rgba(10, 92, 58, 0.1);
    font-style: italic;
    color: var(--text-light);
}

/* IMAGENS RESPONSIVAS */
.responsive-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* FORMULÃRIOS */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-light);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 6px;
    background: #111;
    color: var(--text-light);
    font-size: 14px;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--green-primary);
}

/* UTILITÃRIOS */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

/* Responsividade */
@media (max-width: 768px) {
    .btn-primary {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: clamp(1.2rem, 6vw, 1.8rem);
        margin: 40px 0 30px;
    }

    .page-header h1 {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }

    .card {
        padding: 15px;
    }
}

/* =====================================================
   MODAL DE ENTRADA â€“ FULLSCREEN
===================================================== */

.intro-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    background-image:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.55) 35%,
            rgba(0, 0, 0, 0.15) 70%,
            rgba(0, 0, 0, 0.05) 100%),
        url("../img/escudo/escudo09.png");

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 100%;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.intro-modal.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

/* conteÃºdo */
.intro-content {
    position: relative;
    z-index: 2;

    text-align: center;
    padding-bottom: 60px;
    /* distÃ¢ncia do "rodapÃ© invisÃ­vel" */
    max-width: 90%;
}

/* tÃ­tulo */
.intro-content h1 {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
    margin-bottom: 10px;
    font-weight: 700;
}

/* subtÃ­tulo */
.intro-content p {
    font-size: clamp(0.9rem, 4vw, 1rem);
    opacity: 0.9;
    margin-bottom: 25px;
}

/* botÃ£o */
.intro-content .btn-primary {
    padding: 12px 28px;
    font-size: 15px;
}

/* Responsividade para o modal */
@media (max-width: 768px) {
    .intro-modal {
        align-items: center; /* Centraliza verticalmente em mobile */
        background-position: center; /* Ajusta posiÃ§Ã£o do background */
    }

    .intro-content {
        padding-bottom: 40px; /* Reduz padding inferior */
        max-width: 95%; /* Aumenta largura mÃ¡xima */
    }

    .intro-content h1 {
        font-size: 28px; /* Reduz tamanho da fonte */
    }

    .intro-content p {
        font-size: 14px; /* Reduz tamanho da fonte */
        margin-bottom: 20px; /* Ajusta margem */
    }

    .intro-content .btn-primary {
        padding: 10px 24px; /* Reduz padding do botÃ£o */
        font-size: 14px; /* Reduz fonte do botÃ£o */
    }
}
