/* Importando fontes profissionais do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Lato:wght@400;700&display=swap');

/* --- Variáveis de Cor e Fontes (Paleta do Site) --- */
:root {
    --cor-fundo-escuro: #1a1a1a;
    --cor-card-fundo: #2b2b2b;
    --cor-dourado-acento: #c0a062;
    --cor-texto-principal: #f5f5f5;
    --cor-texto-secundario: #a0a0a0;

    --fonte-titulos: 'Montserrat', sans-serif;
    --fonte-corpo: 'Lato', sans-serif;
}

/* --- Estilos Globais e Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--fonte-corpo);
    background-color: var(--cor-fundo-escuro);
    color: var(--cor-texto-principal);
    line-height: 1.6;
}

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

h1, h2, h3 {
    font-family: var(--fonte-titulos);
    color: var(--cor-dourado-acento);
    margin-bottom: 1rem;
}

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

a {
    color: var(--cor-dourado-acento);
    text-decoration: none;
}

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

/* --- Header --- */
header {
    background-color: #111;
    padding: 20px 0;
    border-bottom: 1px solid var(--cor-card-fundo);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header img {
    max-width: 250px;
}

.header-text {
    text-align: right;
}

.header-tagline {
    font-family: var(--fonte-titulos);
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--cor-dourado-acento);
    margin: 0;
}

.header-subtagline {
    font-size: 0.9rem;
    color: var(--cor-texto-secundario);
}

/* --- Seções Principais --- */
section {
    padding: 60px 0;
}

/* --- Hero Section --- */
#hero {
    text-align: center;
}

#hero h1 {
    font-size: 2.2rem;
}

#hero .cta-button {
    display: inline-block;
    background-color: var(--cor-dourado-acento);
    color: #111;
    padding: 15px 30px;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s;
}

#hero .cta-button:hover {
    background-color: #fff;
}

/* --- Seção Especialidades (Estilo Base para Mobile) --- */
#especialidades .container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.especialidade-card {
    background-color: var(--cor-card-fundo);
    border: 1px solid #444;
    padding: 20px;
    border-radius: 8px;
}

.especialidade-card .card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.especialidade-card h2 {
    font-size: 1.3rem;
}

.cta-button-secondary {
    display: inline-block;
    border: 2px solid var(--cor-dourado-acento);
    color: var(--cor-dourado-acento);
    padding: 12px 24px;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s, color 0.3s;
    text-align: center;
}

.cta-button-secondary:hover {
    background-color: var(--cor-dourado-acento);
    color: #111;
}

/* --- Seção de Links Úteis --- */
#links-uteis .container {
    text-align: center;
}

.links-uteis-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.link-botao {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 60px;
    padding: 0 20px;
    border: 2px solid var(--cor-dourado-acento);
    border-radius: 8px;
    background-color: var(--cor-card-fundo);
    color: var(--cor-texto-principal);
    font-weight: bold;
    font-family: var(--fonte-titulos);
    transition: background-color 0.3s, color 0.3s;
}

.link-botao:hover {
    background-color: var(--cor-dourado-acento);
    color: #111;
}

/* --- Seção Formulário --- */
#formulario {
    background-color: #111;
}

#formulario h2 {
    text-align: center;
}

#formulario .form-intro-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px auto;
    color: var(--cor-texto-secundario);
}

#formulario form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

#formulario input, #formulario textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--cor-card-fundo);
    border: 1px solid #444;
    border-radius: 5px;
    color: var(--cor-texto-principal);
    font-size: 1rem;
}

#formulario .checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;
    margin-top: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--cor-texto-secundario);
}

#formulario input[type="checkbox"] {
    width: 1.2em;
    height: 1.2em;
    accent-color: var(--cor-dourado-acento);
}

#formulario button {
    background-color: var(--cor-dourado-acento);
    color: #111;
    padding: 15px 30px;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

#formulario button:hover {
    background-color: #fff;
}

#formulario .privacy-notice {
    max-width: 600px;
    margin: 20px auto 0 auto;
    text-align: center;
    font-size: 0.85rem;
    color: var(--cor-texto-secundario);
}

/* --- Rodapé --- */
footer {
    background-color: #111;
    padding: 40px 0 20px 0;
    border-top: 1px solid var(--cor-card-fundo);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column {
    flex: 1;
    min-width: 250px; /* Reduzido para ajudar a caber 4 colunas */
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.9rem;
    color: var(--cor-texto-secundario);
}

/* --- Botão Flutuante de WhatsApp --- */
.whatsapp-fab {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
}

 .whatsapp-fab img {
    width: 60%;  /* Faz a imagem ocupar 60% do diâmetro do círculo */
    height: auto;
}

/* --- Estilos para Telas Maiores (Desktop) --- */
@media (min-width: 1200px) { /* Aumentado o breakpoint para garantir espaço para 4 colunas */

    .especialidade-card {
        display: flex;
        align-items: center;
        gap: 25px;
    }

    .especialidade-card .card-image {
        flex: 0 0 200px;
        height: 160px;
        margin-bottom: 0;
    }

    .especialidade-card .card-text-content {
        flex: 1;
        padding-right: 20px;
    }

    .especialidade-card .card-action {
        flex: 0 0 220px;
    }

    .especialidade-card .cta-button-secondary {
        width: 100%;
    }

    /* INÍCIO DA CORREÇÃO DO RODAPÉ */
    .footer-content {
        flex-wrap: nowrap; /* Força as colunas a ficarem na mesma linha */
    }
    .footer-column {
        flex: 1 1 25%;  /* Garante que cada uma das 4 colunas ocupe 25% */
        min-width: 0;   /* Remove o min-width anterior que forçava a quebra */
    }
    /* FIM DA CORREÇÃO DO RODAPÉ */
}

/* --- Estilos para Telas Menores (Mobile) --- */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }

    .header-text {
        text-align: center;
    }
}