@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600&family=Lato:wght@300;400;700&display=swap');

:root {
    --bg-color: #F8F5F1;
    --accent-color: #9CADA1;
    --accent-dark: #7B8F80;
    --text-primary: #4A4A4A;
    --white: #FFFFFF;
}

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

/* Header & Nav */
header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-login {
    border: 1px solid var(--accent-color);
    padding: 8px 15px;
    border-radius: 20px;
}

/* Hero Section */
/* --- NOVA SEÇÃO HERO COM IMAGEM DE FUNDO --- */
.hero {
    height: 90vh; /* Altura da seção (80% da altura da tela) */
    width: 100%; /* Aplica a imagem de fundo */
    background-image: url('imagem/consultorio.jpg'); /* Nome da sua imagem */
    background-size: cover; /* Faz a imagem cobrir toda a área */
    background-position: 50% 30%; /* Centraliza a imagem */
    background-repeat: no-repeat;
    
    
    
    /* Alinhamento do conteúdo no centro */
    display: flex;
    justify-content: center;
    align-items: center;
    
    position: relative; /* Necessário para a sobreposição escura */
}

/* Camada escura sobre a imagem (para dar contraste ao texto) */
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.1); /* Preto com 40% de opacidade */
    z-index: 1; /* Fica atrás do texto, mas à frente da imagem */
}

/* O BLOCO TRANSLÚCIDO DO TEXTO */
.hero .content {
    background-color: rgba(255, 255, 255, 0.5); /* Branco com 85% de opacidade (Efeito translúcido) */
    padding: 40px 80px; /* Espaçamento interno */
    border-radius: 20px; /* Bordas arredondadas */
    max-width: 700px; /* Largura máxima do bloco */
    text-align: center;
    box-shadow: 0 13px 30px rgba(0,0,0,0.2); /* Sombra suave para dar profundidade */
    z-index: 2; /* Fica à frente de tudo */
    position: relative; /* Necessário para o z-index funcionar */
}

/* Ajustes de cor do texto dentro do bloco */
.hero h1 {
    color: #333; /* Cor do título (quase preto) */
    margin-bottom: 20px;
    font-size: 2.5rem; /* Aumenta um pouco o título */
}

.hero p {
    color: #666; /* Cor do parágrafo */
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Modal de Login */
.login-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--bg-color);
    width: 90%;
    max-width: 350px;
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.modal-content input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.btn {
    background: var(--accent-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    width: 100%;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    nav { flex-direction: column; gap: 10px; }
    nav ul { gap: 10px; padding: 0; }
    .sobre-container { grid-template-columns: 1fr; padding: 20px; }
    .hero h1 { font-size: 2rem; }
}

/* Botão WhatsApp */
.whatsapp-float {
    position: fixed; bottom: 20px; right: 20px;
    background: #25d366; width: 50px; height: 50px;
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; z-index: 100;
}
.whatsapp-icon { fill: white; width: 30px; }

/* =====================================
    area de home
    ====================================== */

/* Seções de Conteúdo */
.secao-clara { padding: 60px 10%; background: #fff; }
.secao-bege { padding: 60px 10%; background: #fcfbf9; }
.titulo-secao { text-align: center; margin-bottom: 40px; color: #d4a373; font-size: 2rem; }

/* Grid de Notícias e Dicas */
.grid-conteudo { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card-conteudo { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; border: 1px solid #eee; }
.card-conteudo:hover { transform: translateY(-5px); }
.card-body { padding: 20px; }
.card-body h3 { margin-bottom: 10px; color: #7b8f80; }
.card-body p { font-size: 0.9rem; color: #666; line-height: 1.6; }

/* Seção de Pacotes/Promoções */
.grid-pacotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 30px; }
.pacote-card { background: #7b8f80; color: white; padding: 30px; border-radius: 20px; text-align: center; position: relative; }
.pacote-card.destaque { background: #d4a373; transform: scale(1.05); }
.preco { font-size: 2rem; font-weight: bold; margin: 20px 0; }
.tag-promo { position: absolute; top: 10px; right: 10px; background: #fff; color: #d4a373; padding: 5px 10px; border-radius: 50px; font-size: 0.7rem; font-weight: bold; }

/* Container dos Pacotes */
.grid-pacotes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    perspective: 1000px; /* Dá um leve efeito 3D ao container */
}

/* Estilo Base dos Cards */
.pacote-card {
    background: #7b8f80; /* Verde Sálvia */
    color: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Movimento suave e elástico */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); /* Sombra inicial leve */
    cursor: default;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Efeito ao Passar o Mouse (Hover) */
.pacote-card:hover {
    transform: translateY(-15px); /* O card sobe 15 pixels */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); /* Sombra aumenta e escurece */
    background: #8ba191; /* Fica levemente mais claro */
}

/* Estilo Diferenciado para o Card em Destaque (Pacote Mensal) */
.pacote-card.destaque {
    background: #d4a373; /* Dourado/Bege */
    transform: scale(1.05); /* Já começa um pouco maior */
    z-index: 10;
    box-shadow: 0 15px 30px rgba(212, 163, 115, 0.3);
}

.pacote-card.destaque:hover {
    transform: scale(1.08) translateY(-15px); /* Sobe e aumenta ainda mais */
    box-shadow: 0 25px 50px rgba(212, 163, 115, 0.4);
}

/* Estilo do Botão dentro do Card */
.pacote-card .btn-pacote {
    background: white;
    color: #333;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
    transition: 0.3s;
}

.pacote-card:hover .btn-pacote {
    background: #fcfbf9;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- FOOTER ORGANIZADO --- */
footer {
    background-color: #7b8f80; /* Verde Sálvia para passar tranquilidade */
    color: white;
    padding: 60px 10% 20px 10%;
    font-family: inherit;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-box h3 {
    color: #fcfbf9;
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-box p, .footer-box a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer-box a:hover {
    color: #d4a373; /* Cor bege ao passar o mouse */
    transform: translateX(5px);
}

.redes-sociais {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-icon:hover {
    background: #d4a373;
}

/* Linha final de direitos autorais */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(240, 239, 239, 0.1);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
}

/* --- SEÇÃO SOBRE --- */
.sobre-analista {
    padding: 80px 10%;
    background-color: #fcfbf9; /* Bege clarinho para destacar do branco */
}

.sobre-container {
    display: flex;
    align-items: center; /* Centraliza verticalmente o texto com a foto */
    justify-content: space-between;
    gap: 50px; /* Espaço entre texto e foto */
}

.sobre-texto {
    flex: 1; /* O texto ocupa o espaço disponível */
}

.titulo-secao-esquerda {
    color: #d4a373;
    font-size: 2rem;
    margin-bottom: 25px;
    position: relative;
}

.sobre-texto p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Botão de contato dentro do Sobre */
.btn-contato-sobre {
    display: inline-block;
    padding: 12px 30px;
    background-color: #7b8f80;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-contato-sobre:hover {
    background-color: #d4a373;
    transform: translateY(-3px);
}

/* Lado da Foto */
.sobre-foto {
    flex: 1;
    display: flex;
    justify-content: center;
}

.sobre-foto img {
    width: 100%;
    max-width: 400px; /* Tamanho máximo da foto */
    border-radius: 20px; /* Bordas arredondadas para ficar suave */
    box-shadow: 20px 20px 0px #d4a373; /* Charme: um quadrado bege atrás da foto */
    object-fit: cover;
}

/* RESPONSIVO: Para funcionar bem no celular */
@media (max-width: 768px) {
    .sobre-container {
        flex-direction: column-reverse; /* No celular, a foto fica em cima e o texto embaixo */
        text-align: center;
        gap: 30px;
    }
    
    .sobre-foto img {
        box-shadow: 10px 10px 0px #d4a373; /* Sombra menor no celular */
    }
}

/* --- SEÇÃO DE CONTATO --- */
.contato-secao {
    padding: 80px 10%;
    background-color: #fff;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Formulário */
.contato-form h2 {
    color: #7b8f80;
    margin-bottom: 20px;
}

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

.form-group-contato label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-size: 0.9rem;
}

.form-group-contato input, 
.form-group-contato textarea,
.form-group-contato select {
    width: 100%;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fcfbf9;
    font-family: inherit;
    transition: 0.3s;
}

.form-group-contato input:focus {
    border-color: #d4a373;
    outline: none;
    background: #fff;
}

/* Informações de Contato Lateral */
.contato-info {
    background-color: #7b8f80;
    padding: 40px;
    border-radius: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contato-metodo {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contato-metodo i {
    font-size: 1.5rem;
    color: #d4a373;
}

.contato-metodo h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.btn-whatsapp-direto {
    background-color: #25d366;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: 0.3s;
}

.btn-whatsapp-direto:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

@media (max-width: 768px) {
    .contato-grid { grid-template-columns: 1fr; }
}

/* Estilos do Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none; /* Começa escondido */
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.popup-content {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: popupAparecer 0.5s ease-out;
}

@keyframes popupAparecer {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
}

.popup-icon {
    font-size: 45px;
    display: block;
    margin-bottom: 15px;
}

.popup-content h2 {
    color: #d4a373;
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.popup-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-popup-primary {
    background: #d4a373;
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-popup-secondary {
    background: #fcfbf9;
    color: #d4a373;
    border: 1px solid #d4a373;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-popup-primary:hover { background: #b88a5d; }
.btn-popup-secondary:hover { background: #d4a373; color: white; }