/* ============================================
   ESTILOS PRINCIPAIS - ENAHPE 2027
   USE APENAS VARIÁVEIS DO colors.css
   ============================================ */

/* RESET E ESTILOS GERAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--cor-fundo, #ffffff);
    color: var(--cor-texto, #2d3a3a);
    line-height: 1.6;
}

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

/* TIPOGRAFIA */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* HERO SECTION */
.hero {
    background: var(--cor-primaria);
    color: white;
    text-align: center;
    padding: 5rem 1rem;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.event-info {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: var(--borda-redonda-grande, 15px);
    padding: 2rem;
    display: inline-block;
    margin-top: 2rem;
    max-width: 800px;
}

.event-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.detail-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* SEÇÕES */
section {
    background: var(--cor-fundo-card, #FFFFFF);
    margin-bottom: 3rem;
    padding: 2rem;
    border-radius: var(--borda-redonda-grande, 15px);
    box-shadow: var(--sombra, 0 5px 15px rgba(0, 0, 0, 0.08));
}

.section-title {
    border-bottom: 3px solid var(--cor-primaria, #273e47);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--cor-texto, #2d3a3a);
}

.section-title i {
    color: var(--cor-accent1, #d8973c);
}

/* CONTEÚDO */
.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.welcome-text p {
    text-align: justify;
}

.welcome-image img {
    width: 100%;
    border-radius: var(--borda-redonda, 12px);
    box-shadow: var(--sombra-forte, 0 8px 25px rgba(0, 0, 0, 0.15));
}

/* ATIVIDADES */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.activity-card {
    background: var(--gradiente-card, linear-gradient(to bottom right, rgba(216,151,60,0.08), rgba(216,151,60,0.04)));
    border-left: 5px solid var(--cor-secundaria, #7293a0);
    padding: 1.5rem;
    border-radius: var(--borda-redonda, 12px);
    transition: var(--transicao, all 0.3s ease);
    height: 100%;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--sombra-forte, 0 10px 25px rgba(0, 0, 0, 0.15));
    border-left-color: var(--cor-accent1, #d8973c);
}

.activity-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--cor-primaria, #273e47);
}

/* BOTÕES */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transicao, all 0.3s ease);
    margin-top: 1rem;
    background: var(--cor-primaria, #273e47);
    color: white;
}

.btn:hover {
    background: var(--cor-secundaria, #7293a0);
    transform: translateY(-2px);
    box-shadow: var(--sombra, 0 5px 15px rgba(0, 0, 0, 0.1));
}

/* ANIMAÇÕES */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* RESPONSIVIDADE */
@media (max-width: 992px) {
    h1 { font-size: 2.3rem; }
    h2 { font-size: 1.8rem; }
    .welcome-content { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.3rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .hero { padding: 3rem 1rem; }
    .hero h1 { font-size: 2rem; }
    .event-details { flex-direction: column; gap: 1rem; }
    .activities-grid { grid-template-columns: 1fr; }
}