:root {
    --azul-primario: #0077be;
    --azul-escuro: #004d7a;
    --azul-claro: #e6f4fb;
    --texto: #2c3e50;
    --texto-claro: #5a6c7d;
    --fundo: #ffffff;
    --fundo-alt: #f7fafc;
    --borda: #e1e8ed;
    --sombra: 0 2px 8px rgba(0, 0, 0, 0.08);
    --sombra-forte: 0 4px 16px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--texto);
    background: var(--fundo);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Cabeçalho */
header {
    background: var(--fundo);
    border-bottom: 1px solid var(--borda);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--sombra);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--texto);
}

.logo img {
    height: 48px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.15rem;
    color: var(--azul-escuro);
    margin: 0;
    line-height: 1.1;
}

.logo-text small {
    font-size: 0.75rem;
    color: var(--texto-claro);
}

/* Navegação */
nav ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
}

nav a {
    text-decoration: none;
    color: var(--texto);
    padding: 0.5rem 0.9rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.15s, color 0.15s;
}

nav a:hover, nav a.activo {
    background: var(--azul-claro);
    color: var(--azul-escuro);
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--azul-escuro);
    padding: 0.25rem 0.5rem;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--azul-primario) 0%, var(--azul-escuro) 100%);
    color: white;
    padding: 3.5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Seções */
section {
    padding: 3rem 0;
}

section.alt {
    background: var(--fundo-alt);
}

h2 {
    color: var(--azul-escuro);
    font-size: 1.7rem;
    margin-bottom: 1.25rem;
}

h3 {
    color: var(--azul-primario);
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem 0;
}

p {
    margin-bottom: 1rem;
    color: var(--texto);
}

/* Botões */
.btn {
    display: inline-block;
    background: var(--azul-primario);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: 0;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.15s, transform 0.05s;
}

.btn:hover {
    background: var(--azul-escuro);
}

.btn:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: white;
    color: var(--azul-primario);
    border: 2px solid var(--azul-primario);
}

.btn-secondary:hover {
    background: var(--azul-claro);
}

/* Cards / destaques */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--sombra);
    border: 1px solid var(--borda);
    transition: transform 0.15s, box-shadow 0.15s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sombra-forte);
}

.card h3 {
    margin-top: 0;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Tabelas de preços */
.precos-grupo {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--sombra);
    border: 1px solid var(--borda);
}

.precos-grupo h3 {
    margin-top: 0;
    border-bottom: 2px solid var(--azul-claro);
    padding-bottom: 0.5rem;
}

.precos-tabela {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.75rem;
}

.precos-tabela th,
.precos-tabela td {
    text-align: left;
    padding: 0.6rem 0.4rem;
    border-bottom: 1px solid var(--borda);
}

.precos-tabela th {
    color: var(--azul-escuro);
    font-weight: 600;
}

.precos-tabela td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--azul-escuro);
    white-space: nowrap;
}

.taxas {
    background: var(--azul-claro);
    border-left: 4px solid var(--azul-primario);
    padding: 1rem 1.25rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.taxas ul {
    margin-left: 1.25rem;
}

.nota {
    font-size: 0.9rem;
    color: var(--texto-claro);
    font-style: italic;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--borda);
}

/* Contactos */
.contactos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contacto-info {
    background: white;
    padding: 1.75rem;
    border-radius: 10px;
    box-shadow: var(--sombra);
}

.contacto-info p {
    margin-bottom: 0.5rem;
}

.contacto-info strong {
    color: var(--azul-escuro);
}

.contacto-info a {
    color: var(--azul-primario);
    text-decoration: none;
}

.contacto-info a:hover {
    text-decoration: underline;
}

.mapa {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--sombra);
}

.mapa iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

/* Formulário */
form {
    background: white;
    padding: 1.75rem;
    border-radius: 10px;
    box-shadow: var(--sombra);
    margin-top: 2rem;
}

.form-grupo {
    margin-bottom: 1rem;
}

.form-grupo label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--azul-escuro);
}

.form-grupo input,
.form-grupo textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--borda);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.15s;
}

.form-grupo input:focus,
.form-grupo textarea:focus {
    outline: 0;
    border-color: var(--azul-primario);
    box-shadow: 0 0 0 3px var(--azul-claro);
}

.form-grupo textarea {
    resize: vertical;
    min-height: 120px;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

/* Mensagens */
.mensagem {
    padding: 1rem 1.25rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.mensagem.sucesso {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mensagem.erro {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Destaque imagem */
.destaque-imagem {
    text-align: center;
    margin: 1.5rem 0;
}

.destaque-imagem img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--sombra-forte);
}

/* Lista de regulamentos */
.lista-docs {
    list-style: none;
    margin-top: 1rem;
}

.lista-docs li {
    background: white;
    margin-bottom: 0.75rem;
    border-radius: 8px;
    box-shadow: var(--sombra);
    border: 1px solid var(--borda);
    transition: border-color 0.15s;
}

.lista-docs li:hover {
    border-color: var(--azul-primario);
}

.lista-docs a {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    color: var(--azul-escuro);
    text-decoration: none;
    font-weight: 500;
}

.lista-docs .pdf-icon {
    font-size: 1.6rem;
    color: var(--azul-primario);
    flex-shrink: 0;
}

/* Rodapé */
footer {
    background: var(--azul-escuro);
    color: white;
    padding: 2.5rem 0 1rem 0;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

footer h4 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

footer p, footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    margin-bottom: 0.3rem;
    display: block;
}

footer a:hover {
    color: white;
}

.social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background 0.15s;
}

.social a:hover {
    background: rgba(255, 255, 255, 0.25);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

/* Responsivo */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .logo-text h1 {
        font-size: 1rem;
    }

    .logo-text small {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        width: 100%;
        display: none;
    }

    nav.aberto {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
    }

    nav a {
        display: block;
        padding: 0.75rem;
    }

    .hero {
        padding: 2.5rem 0;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 1rem;
    }

    section {
        padding: 2rem 0;
    }

    h2 {
        font-size: 1.4rem;
    }

    .contactos-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
