/* index.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
    --primary-color: #0056b3; /* Azul principal */
    --primary-color-dark: #004085; /* Azul mais escuro */
    --secondary-color: #007bff; /* Azul secundário (links, highlights) */
    --light-bg: #f8f9fa; /* Fundo claro */
    --text-color: #343a40; /* Cor de texto principal */
    --text-color-light: #f1f1f1; /* Cor de texto clara (em fundos escuros) */
    --border-color: #dee2e6;
    --white: #ffffff;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --accent-green: #4be38a; /* Verde claro para detalhes e destaques */
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
}

/* --- Header & Navigation --- */
header.site-header {
    display: none !important;
}

nav.main-nav {
    background-color: var(--primary-color-dark);
    padding: 0.8em 0;
    text-align: right;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: none;
}

.main-nav-title {
    flex: 1;
    text-align: center;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5em;
    font-weight: 700;
    letter-spacing: 1px;
    pointer-events: none;
}

.menu-hamburger {
    width: 38px;
    height: 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-right: 30px;
    z-index: 1100;
    order: 2;
}

.menu-hamburger span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

.menu-hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.menu-hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 60px;
    right: 30px;
    background: var(--primary-color-dark);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    min-width: 160px;
    display: none;
    flex-direction: column;
    z-index: 1099;
    order: 3;
}

.menu-list.open {
    display: flex;
    animation: fadeInMenu 0.25s;
}

.menu-list li {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.menu-list li:last-child {
    border-bottom: none;
}

.menu-list a {
    color: #fff;
    text-decoration: none;
    padding: 16px 24px;
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.08em;
    transition: background 0.2s, color 0.2s;
}

.menu-list a:hover {
    background: var(--accent-green);
    color: #fff;
}

@keyframes fadeInMenu {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .menu-list {
        right: 10px;
        min-width: 120px;
    }
    .menu-hamburger {
        margin-right: 10px;
    }
}

/* --- Main Container --- */
.container-main { /* Renomeado para evitar conflito com .container original */
    width: 90%;
    max-width: 1100px;
    margin: 30px auto;
    padding: 0px; /* Removido padding para que as seções internas controlem */
    background-color: transparent; /* Container principal transparente */
}


/* --- Homepage Specific --- */
.hero-banner {
    background-image: linear-gradient(120deg, rgba(0, 86, 179, 0.20) 0%, rgba(0, 64, 133, 0.55) 100%), url('../banner.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 110px 30px 80px 30px;
    text-align: center;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    overflow: hidden;
    position: relative;
    min-height: 100vh;
    height: 100vh;
    max-height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 992px) {
    .hero-banner {
        min-height: 80vh;
        height: 80vh;
        max-height: 80vh;
    }
}

@media (max-width: 600px) {
    .hero-banner {
        min-height: 100vh;
        height: 100vh;
        max-height: 100vh;
        padding: 60px 10px 40px 10px;
    }
}

.hero-banner::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.10) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
}

.hero-banner h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2em;
    margin-bottom: 0.5em;
    font-weight: 900;
    text-shadow: 2px 4px 16px rgba(0,0,0,0.18), 0 1px 0 #fff2;
    letter-spacing: 1.5px;
    z-index: 2;
    background: linear-gradient(90deg, #fff 60%, #b3d1ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-banner p {
    font-size: 1.35em;
    margin-bottom: 2.2em;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    opacity: 0.97;
    z-index: 2;
}

.cta-buttons {
    text-align: center;
    margin-top: 0;
    z-index: 2;
    position: relative;
}

.cta-buttons .button {
    margin: 0 14px;
    font-size: 1.13em;
    padding: 15px 38px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(0,86,179,0.10);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.cta-buttons .button.secondary {
    background: rgba(255,255,255,0.13);
    color: #fff !important;
    border: 2px solid #fff;
}

.cta-buttons .button.secondary:hover {
    background: var(--accent-green);
    color: var(--primary-color-dark) !important;
    border-color: var(--primary-color-dark);
}

.intro-section {
    padding: 40px 20px;
    margin-bottom: 30px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.intro-section h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color-dark);
    font-size: 2.2em;
    margin-top: 0;
    margin-bottom: 0.7em;
    position: relative;
    display: inline-block;
}
.intro-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-green);
    margin: 10px auto 0;
    border-radius: 2px;
}
.intro-section > p { /* Estilo para o parágrafo direto dentro de .intro-section */
    font-size: 1.1em;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.content-section {
    background-color: var(--white);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
}

.content-section h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 0.8em;
    border-bottom: 2px solid var(--accent-green);
    padding-bottom: 0.3em;
    display: inline-block;
}

.content-section p, .content-section ul {
    font-size: 1.05em;
    color: #555;
}

.content-section ul {
    list-style: none;
    padding-left: 0;
}

.content-section ul li {
    padding-left: 1.8em;
    position: relative;
    margin-bottom: 0.8em;
}

.content-section ul li::before {
    content: "\2714"; /* Checkmark mais estilizado */
    color: var(--accent-green);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 1.1em;
}

/* --- Buttons --- */
.button, .auth-form button {
    background-color: var(--secondary-color);
    color: var(--white) !important; /* Forçar cor do texto para links */
    padding: 12px 28px;
    border: none;
    border-radius: 25px; /* Botões mais arredondados */
    cursor: pointer;
    font-size: 1.05em;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.button:hover, .auth-form button:hover {
    background-color: var(--accent-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(76, 227, 138, 0.25); /* Sombra verde no hover */
}

.button.secondary {
    background-color: var(--white);
    color: var(--secondary-color) !important;
    border: 2px solid var(--secondary-color);
}
.button.secondary:hover {
    background-color: var(--accent-green);
    color: var(--primary-color-dark) !important;
    border-color: var(--primary-color-dark);
    box-shadow: 0 4px 10px rgba(76, 227, 138, 0.25);
}

.cta-buttons {
    text-align: center;
    margin-top: 30px;
}
.cta-buttons .button {
    margin: 0 10px;
}

.cta-buttons .button.secondary {
    border: 2px solid var(--accent-green);
    color: var(--accent-green) !important;
}

.cta-buttons .button.secondary:hover {
    background: var(--accent-green);
    color: var(--primary-color-dark) !important;
    border-color: var(--primary-color-dark);
}

/* --- Footer --- */
footer.site-footer {
    text-align: center;
    padding: 2.5em 1em;
    background-color: #2c3e50; /* Um cinza azulado escuro para o footer */
    color: var(--text-color-light);
    margin-top: 50px;
    font-size: 0.95em;
}
footer.site-footer p {
    margin: 0.3em 0;
    opacity: 0.9;
}
footer.site-footer a {
    color:  #1879e0;
    text-decoration: none;
}
footer.site-footer a:hover {
    text-decoration: underline;
}


/* Responsividade Básica */
@media (max-width: 992px) {
    .hero-banner h2 {
        font-size: 2.4em;
    }
    .hero-banner p {
        font-size: 1.15em;
    }
}

@media (max-width: 768px) {
    header.site-header {
        padding: 0.5em 0; /* Ainda mais compacto em telas pequenas */
    }
    header.site-header h1 {
        font-size: 1.3em;
    }
    header.site-header .subtitle {
        font-size: 0.95em;
    }
    .hero-banner {
        padding: 60px 10px 40px 10px;
        min-height: 320px;
    }
    .hero-banner h2 {
        font-size: 2em;
    }
    .hero-banner p {
        font-size: 1.1em;
    }
    nav.main-nav a {
        margin: 0 0.5em;
        padding: 0.5em;
        font-size: 0.9em;
    }
    .container-main {
        width: 95%;
    }
    .intro-section {
        padding: 30px 15px;
    }
    .intro-section h2 {
        font-size: 1.9em;
    }
    .content-section {
        padding: 25px 20px;
    }
    .content-section h3 {
        font-size: 1.6em;
    }
    .button, .auth-form button {
        padding: 10px 20px;
        font-size: 1em;
    }
    .cta-buttons .button {
        font-size: 1em;
        padding: 12px 20px;
        margin: 8px 5px;
    }
}

@media (max-width: 480px) {
    nav.main-nav {
        padding: 0.5em 0;
    }
    nav.main-nav a {
        font-size: 0.8em;
        margin: 0 0.3em;
        padding: 0.4em;
    }
    .hero-banner h2 {
        font-size: 1.8em;
    }
    .hero-banner p {
        font-size: 1em;
    }
    .intro-section h2 {
        font-size: 1.7em;
    }
}