/* Google Fonts: Inter e Public Sans */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Public+Sans:wght@400;700&display=swap');

/* Variáveis para Cores */
:root {
    --cor-primaria: #4E6C84; /* Azul Aço Suave */
    --cor-texto: #333333;
    --cor-fundo-claro: #F8F8F8;
    --cor-branco: #FFFFFF;
    --cor-borda: #E0E0E0;
    --cor-destaque-check: #6B9E8B;
}

/* 1. Reset e Tipografia Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--cor-texto);
    background-color: var(--cor-branco);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Public Sans', sans-serif;
    line-height: 1.2;
}

/* 2. Seção Geral e Títulos (Espaçamento Compacto) */
section {
    padding: 50px 5%;
    max-width: 900px;
    margin: 0 auto;
}

section:nth-child(even) { 
    background-color: var(--cor-fundo-claro); 
}

h3 {
    color: var(--cor-texto);
    font-size: 1.8em;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

h3::after { 
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--cor-primaria);
    border-radius: 2px;
}

/* 3. Cabeçalho (Header) */
header {
    background-color: var(--cor-branco);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--cor-borda);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-weight: 700;
    font-size: 1.4em;
    color: var(--cor-primaria);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--cor-texto);
    padding: 5px 0;
    position: relative;
    font-weight: 500;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--cor-primaria);
    transition: width 0.3s ease-in-out;
}
nav a:hover::after {
    width: 100%;
}

/* 4. Seção Principal (Hero) - Fundo KITESURF do ILAN e OVERLAY */
#hero {
    text-align: center;
    
    background-color: var(--cor-fundo-claro); 
    background-image: url('images/ilanKite.jpeg'); 
    background-size: cover;
    /* <<<<< REVERTIDO PARA CENTRALIZAÇÃO PADRÃO >>>>> */
    background-position: center center; 
    
    background-repeat: no-repeat;
    position: relative;
    padding: 50px 5% 40px;
    z-index: 1;
}

/* Overlay Branco Semi-transparente */
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); 
    z-index: -1;
}

/* Garante que o conteúdo do Hero fique acima do Overlay */
#hero > * {
    position: relative;
    z-index: 0;
}

#hero img {
    /* CENTRALIZAÇÃO DA IMAGEM PRINCIPAL */
    display: block; 
    margin: 0 auto 15px; 

    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); 
}

#hero h1 {
    color: var(--cor-texto);
    font-size: 2.5em; 
    margin-bottom: 5px;
}

#hero h2 {
    color: var(--cor-primaria);
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Estilo para o selo de autoridade "Ex-Fisio da Seleção" */
.credencial-extra {
    font-size: 0.8em;
    color: var(--cor-texto);
    font-weight: 400;
    display: block; 
    margin-top: 5px; 
}

/* Estilo para os Checkmarks */
.credenciais {
    display: flex;
    justify-content: center;
    gap: 20px; 
    margin-bottom: 15px;
    font-size: 1.1em;
}

.credenciais i {
    color: var(--cor-destaque-check);
    margin-right: 5px;
}

/* Estilo das Bandeiras (Emojis) */
.idiomas {
    margin-bottom: 25px;
    font-size: 1.8em; 
    line-height: 1; 
}

.idiomas span {
    margin: 0 5px;
    opacity: 1; 
    display: inline-block;
    vertical-align: middle;
    /* AJUSTE FINAL DE ALINHAMENTO VERTICAL (COMPENSA O DESALINHAMENTO DO EMOJI) */
    transform: translateY(2px); 
}

/* Botão CTA */
.cta-button {
    display: inline-block;
    background-color: var(--cor-primaria);
    color: var(--cor-branco);
    padding: 15px 35px;
    text-decoration: none;
    border: 2px solid var(--cor-primaria);
    border-radius: 4px;
    font-weight: 700;
    transition: all 0.3s;
}

.cta-button:hover {
    background-color: var(--cor-texto);
    border-color: var(--cor-texto);
}

/* 5. Técnicas em Destaque (Garantia de Linha Única e Compactação Vertical) */
#tecnicas {
    background-color: var(--cor-branco); 
    padding: 40px 5%;
    padding-bottom: 20px; /* Reduz espaço abaixo */
}

.tecnicas-inline-list {
    display: flex;
    justify-content: center;
    gap: 8px; 
    max-width: 900px;
    margin: 0 auto;
    font-size: 1em;
    font-weight: 500;
}

.tecnicas-inline-list span {
    white-space: nowrap;
    color: var(--cor-texto);
}

.tecnicas-inline-list .separador {
    color: var(--cor-primaria);
    font-weight: 700;
}

.localizacao-simples {
    text-align: center;
    margin-top: 20px; 
    font-size: 1em;
    color: #666;
}

/* 6. Contato Final (Compactação Vertical) */
#contato {
    padding-top: 30px; 
    padding-bottom: 40px;
    text-align: center;
}

.contato-info {
    margin: 20px 0;
    font-size: 1.1em;
}

#contato a {
    color: var(--cor-primaria);
    text-decoration: none;
    font-weight: 600;
}

/* 7. Rodapé */
footer {
    background-color: var(--cor-texto);
    color: var(--cor-borda);
    text-align: center;
    padding: 25px;
    font-size: 0.9em;
}

/* 8. Responsividade (Mobile) */
@media (max-width: 768px) {
    /* Garante que a chancela fique na mesma linha que Fisioterapeuta se couber */
    @media (min-width: 769px) {
        .credencial-extra {
            display: inline; 
            margin-left: 10px;
            margin-top: 0;
        }
    }
    
    #hero h1 {
        font-size: 2.2em;
    }
    header {
        flex-direction: column;
    }
    nav ul {
        flex-direction: column;
        margin-top: 15px;
        gap: 10px;
    }
    .credenciais {
        flex-direction: column;
        gap: 10px;
    }
    
    /* NO MOBILE: Quebra de linha da lista de técnicas */
    .tecnicas-inline-list {
        flex-wrap: wrap; 
        gap: 10px 5px; 
        font-size: 0.95em;
        justify-content: flex-start; 
        padding-left: 10%;
    }
    .tecnicas-inline-list .separador {
        display: none;
    }
}