/* shared-styles.css */

/* --- FONTES --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Lato:wght@400;700&display=swap');

/* --- VARIÁVEIS DE COR --- */
:root {
    --primary-color: #34495e; /* Azul Marinho Escuro */
    --secondary-color: #4a69bd; /* Azul Marinho Claro */
    --accent-color: #ffd700; /* Dourado/Amarelo */
    --background-color: #f4f6f8; /* Cinza Claro */
    --text-color: #333;
    --text-light: #7f8c8d;
    --card-bg-color: #ffffff;
    --success-color: #2ecc71;
    --error-color: #e74c3c;
}

/* --- ESTILOS GLOBAIS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', 'Segoe UI', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    padding-top: 100px; /* Espaço para o header fixo */
}

.container {
    max-width: 900px;
    margin: 20px auto;
    padding: 0 20px;
}

/* --- HEADER E NAVEGAÇÃO --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 1.3em;
    font-weight: 700;
    text-decoration: none;
}

.site-branding .icon {
    font-size: 1.8em;
}

.site-branding .site-name {
    background: linear-gradient(135deg, var(--accent-color), #ffed4e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 20px;
    transition: background-color 0.3s;
}

.main-nav a:hover, .main-nav a.active {
    background-color: var(--secondary-color);
}

.nav-toggle {
    display: none; /* Oculto em desktop */
    background: none;
    border: none;
    color: white;
    font-size: 2em;
    cursor: pointer;
}

/* --- PÁGINAS ESTÁTICAS (Sobre, Contato, Termos) --- */
.static-page-card {
    background-color: var(--card-bg-color);
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    line-height: 1.7;
}

.static-page-card h1 {
    font-family: 'Roboto', sans-serif;
    color: var(--primary-color);
    font-size: 2.2em;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--background-color);
    padding-bottom: 10px;
}

.static-page-card h2 {
    font-family: 'Roboto', sans-serif;
    color: var(--primary-color);
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 10px;
}

.static-page-card p {
    margin-bottom: 15px;
}

.static-page-card ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.static-page-card li {
    margin-bottom: 8px;
}

.static-page-card .intro {
    font-size: 1.1em;
    font-style: italic;
    color: var(--text-light);
}

/* --- FORMULÁRIO DE CONTATO --- */
.contact-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    font-family: 'Lato', sans-serif;
}

.submit-button {
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.submit-button:hover {
    background-color: #2e5090;
    transform: translateY(-2px);
}

.submit-button:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}
.form-status.success { background-color: var(--success-color); color: white; }
.form-status.error { background-color: var(--error-color); color: white; }


/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }
    
    .main-header {
        flex-wrap: wrap;
        padding: 15px;
    }
    
    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        width: 100%;
        margin-top: 15px;
    }
    
    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .main-nav li {
        width: 100%;
        text-align: center;
    }
    
    .main-nav a {
        display: block;
        padding: 15px;
    }

    .static-page-card {
        padding: 20px;
    }

    .static-page-card h1 {
        font-size: 1.8em;
    }
}
