/* ==================================================
   VARIÁVEIS CSS (Paleta Espiritual e Suave)
================================================== */
:root {
    --blue-celeste: #4A90E2;
    --blue-pastel: #A3C9E2;
    --blue-light: #EBF4FA;
    --bg-white: #FFFFFF;
    --bg-light-gray: #F7F9FC;
    --text-main: #334155;
    --text-muted: #64748B;
    --shadow-soft: 0 8px 24px rgba(74, 144, 226, 0.08);
    --shadow-hover: 0 12px 32px rgba(74, 144, 226, 0.15);
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================================================
   RESET & BASE (Mobile-First)
================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light-gray);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--blue-celeste);
    margin-bottom: 40px;
    font-weight: 700;
}

.grid {
    display: grid;
    gap: 24px;
}

/* ==================================================
   CABEÇALHO & NAVEGAÇÃO
================================================== */
header {
    background-color: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--bg-light-gray);
}

header.scrolled {
    box-shadow: var(--shadow-soft);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-placeholder {
    width: 50px;
    height: 50px;
    background-color: var(--blue-light);
    color: var(--blue-celeste);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.8rem;
    border: 2px dashed var(--blue-pastel);
}

/* Menu Mobile Padrão */
.nav-menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    box-shadow: var(--shadow-soft);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-in-out;
}

.nav-menu.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.nav-links {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--blue-celeste);
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--blue-celeste);
    cursor: pointer;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-portal {
    background-color: var(--blue-celeste);
    color: var(--bg-white);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-soft);
}

.btn-portal:hover {
    background-color: #357ABD;
    transform: translateY(-2px);
}

/* ==================================================
   HERO SECTION
================================================== */
.hero {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--blue-light) 100%);
    text-align: center;
}

.hero-quote {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-main);
    max-width: 900px;
    margin: 0 auto 30px;
    line-height: 1.4;
    font-style: italic;
}

.history-placeholder {
    background: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px dashed var(--blue-pastel);
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

/* ==================================================
   CARDS & GRIDS (Componentes Genéricos)
================================================== */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(74, 144, 226, 0.05);
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

/* Cronograma */
.card-schedule .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--blue-light);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.card-schedule h3 { color: var(--blue-celeste); }
.card-schedule .time { font-weight: 600; color: var(--text-muted); background: var(--blue-light); padding: 4px 10px; border-radius: 20px; font-size: 0.85rem;}
.card-schedule ul { padding-left: 20px; list-style-type: disc; margin: 12px 0; color: var(--text-muted); }
.badge { display: inline-block; background: #e0f2fe; color: #0284c7; font-size: 0.75rem; padding: 4px 8px; border-radius: 4px; font-weight: 600; margin-top: 4px; }
.rooms-highlight { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { font-size: 0.75rem; background: var(--bg-light-gray); border: 1px solid var(--blue-pastel); padding: 4px 10px; border-radius: 20px; color: var(--text-main); }
.coordinators { font-size: 0.9rem; color: var(--text-muted); margin: 12px 0; }

.btn-outline {
    display: block;
    text-align: center;
    border: 2px solid var(--blue-celeste);
    color: var(--blue-celeste);
    padding: 10px;
    border-radius: var(--radius-md);
    font-weight: 600;
    margin-top: 15px;
}
.btn-outline:hover { background: var(--blue-celeste); color: var(--bg-white); }

/* Estudos */
.course-column { padding: 0; overflow: hidden; }
.course-header { padding: 20px; color: var(--text-main); text-align: center; }
.course-header.blue-pastel { background: var(--blue-light); border-bottom: 3px solid var(--blue-pastel); }
.course-header.blue-celeste { background: var(--blue-celeste); color: var(--bg-white); }
.course-list { padding: 24px; }
.course-list li { margin-bottom: 16px; display: flex; align-items: flex-start; gap: 12px; color: var(--text-muted); }
.course-list li i { color: var(--blue-celeste); margin-top: 4px; }

/* Social */
.card-social { text-align: center; }
.social-icon { font-size: 2.5rem; color: var(--blue-celeste); margin-bottom: 16px; }
.card-social h3 { margin-bottom: 12px; color: var(--text-main); }
.card-social h3 small { font-size: 0.8rem; color: var(--text-muted); font-weight: normal; }
.card-social p { color: var(--text-muted); font-size: 0.95rem; }
.social-list { text-align: left; padding-left: 20px; list-style-type: disc; color: var(--text-muted); font-size: 0.9rem; margin-top: 12px;}
.footnote { margin-top: 32px; background: #FFF9E6; border: 1px solid #FDE68A; font-size: 0.85rem; color: #92400E; }

/* ==================================================
   FOOTER
================================================== */
.footer { background: var(--text-main); color: var(--bg-white); padding: 60px 0 20px; margin-top: 40px; }
.footer h3 { color: var(--blue-pastel); margin-bottom: 20px; }
.footer p { color: #CBD5E1; margin-bottom: 12px; font-size: 0.95rem; }
.footer p i { width: 20px; color: var(--blue-pastel); }
.social-buttons { display: flex; flex-direction: column; gap: 12px; }
.btn-social { padding: 12px 20px; border-radius: var(--radius-md); font-weight: 600; display: flex; align-items: center; gap: 10px; color: var(--bg-white); }
.whatsapp { background: #25D366; }
.whatsapp:hover { background: #1ebc59; }
.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.instagram:hover { filter: brightness(1.1); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 40px; font-size: 0.85rem; color: #94A3B8; }

/* ==================================================
   MEDIA QUERIES (Desktop)
================================================== */
@media (min-width: 768px) {
    .menu-toggle { display: none; }
    
    .nav-menu {
        position: static;
        width: auto;
        clip-path: none;
        box-shadow: none;
        background: transparent;
    }
    
    .nav-links {
        flex-direction: row;
        padding: 0;
    }
    
    .hero-quote { font-size: 2.2rem; }
    
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    
    .grid-2 { grid-template-columns: 1fr 1fr; }
    
    .social-buttons { flex-direction: row; }
}

@media (min-width: 1024px) {
    /* Altera para um grid de 3 colunas, perfeito para 6 dias da semana */
    .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Estilo para a Logo Real */
.logo-img {
    width: 60px; /* Largura quadrada */
    height: 60px; /* Altura quadrada */
    object-fit: contain; /* Garante que a imagem não seja cortada nem esticada */
    border-radius: 8px; /* Mantém o padrão de bordas levemente arredondadas */
    transition: var(--transition);
}

.logo-link:hover .logo-img {
    transform: scale(1.05); /* Pequeno efeito de zoom ao passar o mouse */
}