@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #333333;
    background-color: #ffffff;
    line-height: 1.5;
}

h1, h2, h3 {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #0f172a;
}

h1 {
    font-size: 2.3rem;
    font-weight: 700;

}

h2 {
    font-size: 1.875rem;
    font-weight: 600;
}

p {
    font-size: 0.8rem;
}

.main-container {
    max-width: 1000px;
    margin: 0 auto;
      padding: 18px 20px 60px 20px;
}

.header {
    background-color: #01205f;
    width: 100%;
    padding: 12px 0;
}

.header-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-style: italic;
    font-size: 1.2rem;
    color: #fff;
}

.logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.areas-section {
    padding-top: 40px;
}

.areas-section h1 {
    font-size: 2.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.25;
}

.section-subtitle {
    color: #4d9fbb;
    font-size: 1.25rem;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 40px;
}

.cards-grid {
    width: 88%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.area-card {
    background-color: #fff6d9;
    border: 1px solid #e8bd37;
    border-radius: 20px;
    min-height: 196px;
    padding: 20px 40px;
    display: flex;
    align-items: center;
}

.card-header {
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-header img {
    width: 145px;
    height: auto;
}

.area-content {
    width: 70%;
    text-align: center;
}

.area-content h2 {
    margin-bottom: 10px;
}

.area-content p {
    font-size: 0.875rem;
    margin-bottom: 22px;
}

.btn-primary {
    background-color: #f9b900;
    color: #252525;
    border: none;
    border-radius: 15px;
    padding: 9px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #e5a900;
}

.btn-card {
    display: inline-block;
    min-width: 160px;
}

/* --- FOOTER COMPLETO --- */
.footer {
    background-color: #01205f;
    padding: 40px 0 20px 0;
    color: #ffffff;
    text-align: center;
}

.footer-dark {
    background-color: #002b66; 
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.footer-nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #26c6da;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background-color: #facc15;
    color: #0f172a;
    border-color: #facc15;
}

.footer-copyright {
    margin-top: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    width: 100%;
}

body {
    background-color: #ffffff; 
}

#luz-labirinto {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    
    background-image: url('../imagens/labirinto.png'); 
    
    background-size: 1500px; 
    background-repeat: repeat;
    
    z-index: -10; 
    pointer-events: none; 
    
    --x: -100px;
    --y: -100px;
    
    -webkit-mask-image: radial-gradient(circle 75px at var(--x) var(--y), rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
    mask-image: radial-gradient(circle 75px at var(--x) var(--y), rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
    
    opacity: 0.5; 
}

@media (max-width: 768px) {
    .cards-grid {
        width: 100%;
    }

    .area-card {
        padding: 20px;
    }

    #luz-labirinto {
        display: none !important;
    }

}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .nav-menu {
        gap: 20px;
    }

    .cards-grid {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .areas-section h1 {
        font-size: 32px;
    }

    .card-header img {
        width: 120px;
    }

    .area-content h2 {
        font-size: 26px;
    }
    
    .footer-nav {
        gap: 15px;
        flex-direction: column;
    }
}