/* =========================================
   1. VARIÁVEIS E RESET (Fundação do Design)
   ========================================= */
:root {
    /* Paleta de Cores Original */
    --primary: #A0522D;       /* Terracota/Marrom Dourado */
    --primary-hover: #8B4513;
    --secondary: #4A4A6A;     /* Azul/Cinza Profundo */
    --secondary-hover: #3B3B5B;
    
    /* Cores Neutras */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-body: #f9f9f9;
    --bg-white: #ffffff;
    --bg-soft: #E6E6FA;       /* Lavanda suave para destaque */

    /* Dimensões */
    --header-height: 80px;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base para rem */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-body);
    overflow-x: hidden; /* Impede rolagem lateral indesejada no celular */
    width: 100%;
}

ul { list-style: none; }
a { text-decoration: none; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }

/* Container Centralizado */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* =========================================
   2. TIPOGRAFIA FLUIDA
   ========================================= */
h1, h2, h3 { color: var(--secondary); font-weight: 700; line-height: 1.2; }

/* Clamp: o texto cresce suavemente entre o tamanho min e max */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 20px; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); margin-bottom: 10px; }
p { font-size: clamp(0.95rem, 2vw, 1rem); margin-bottom: 15px; color: var(--text-light); }

.section-title { text-align: center; margin-bottom: 15px; }
.section-subtitle { text-align: center; max-width: 700px; margin: 0 auto 50px auto; }

/* Tags Especiais */
.tag-exclusive {
    display: block;
    text-align: center;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* =========================================
   3. BOTÕES
   ========================================= */
.btn-primary, .btn-secondary, .btn-agendar-mobile {
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(160, 82, 45, 0.3);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

/* =========================================
   4. HEADER E LOGOTIPO (Correção Específica)
   ========================================= */
header {
    background-color: var(--bg-white);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Área do Logo */
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1010; /* Fica acima do menu mobile */
}

/* Container da imagem do logo - SEM bordas, SEM fundo */
.logo-symbol {
    display: block;
    line-height: 0; /* Remove espaços fantasmas */
}

/* A imagem em si */
.logo-symbol img {
    height: 55px; /* Tamanho controlado */
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.logo-main {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    text-transform: uppercase;
}

.logo-sub {
    font-size: 0.8rem;
    color: var(--secondary);
    letter-spacing: 2px;
}

/* Navegação Desktop */
.nav-menu ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--secondary);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 100%; }

/* Botões do Mobile (ocultos no desktop) */
.mobile-menu-btn { display: none; }
.btn-agendar-mobile { display: none; }
.btn-desktop-only { display: inline-block; }

/* =========================================
   5. SEÇÕES PRINCIPAIS
   ========================================= */

/* Hero Section */
.hero-section {
    padding: 60px 0;
    background-color: #F4F4F4;
    position: relative;
    overflow: hidden; /* Corta o círculo decorativo */
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--header-height));
}

/* Círculo Decorativo de Fundo */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background-color: rgba(160, 82, 45, 0.08); /* Cor primária bem transparente */
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.hero-text { flex: 1; }
.hero-image { flex: 1; text-align: center; }

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    max-height: 550px;
    object-fit: cover;
    margin: 0 auto;
}

.hero-label {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.hero-actions { display: flex; gap: 15px; margin-top: 30px; }

/* Seção Sobre */
.about-section { padding: 80px 0; background-color: var(--bg-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image img { border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); width: 100%; }

.about-info-boxes {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.info-box {
    background-color: var(--bg-soft);
    padding: 20px 30px;
    border-radius: 8px;
    color: var(--secondary);
    font-weight: 600;
    text-align: center;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.info-box i { font-size: 1.5rem; color: var(--primary); }
/* =========================================
   6. GRIDS RESPONSIVOS (Serviços e Depoimentos)
   ========================================= */

.therapies-section { padding: 80px 0; background-color: #F4F4F4; }
.process-section { padding: 80px 0; background-color: var(--bg-white); }
.testimonials-section { padding: 80px 0; background-color: var(--bg-soft); }

/* GRID AJUSTADO: 3 POR LINHA */
.therapies-grid, .process-grid, .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* RESPONSIVIDADE */
@media (max-width: 900px) {
    .therapies-grid, .process-grid, .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .therapies-grid, .process-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Cards (DIMINUÍDOS) */
.therapy-card, .process-step, .testimonial-card {
    background: white;
    padding: 25px 20px; /* antes era maior */
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.therapy-card { border-top: 4px solid var(--primary); text-align: center; }
.therapy-card:hover { transform: translateY(-5px); }

.icon-placeholder { font-size: 2.5rem; margin-bottom: 20px; display: block; }

/* Processo */
.process-step { text-align: center; }
.step-number {
    width: 45px; height: 45px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.2rem;
    margin: 0 auto 20px auto;
}

/* Depoimentos */
.testimonial-card { position: relative; padding-top: 40px; }
.testimonial-card::before {
    content: '“';
    font-family: serif; font-size: 5rem; color: #ddd;
    position: absolute; top: -10px; left: 20px; line-height: 1;
}
.testimonial-card .quote {
    font-style: italic;
    color: var(--secondary);
    position: relative;
    z-index: 1;
}
.testimonial-card .author {
    margin-top: 15px;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

/* =========================================
   7. SEÇÃO DESTAQUE (PULSAR)
   ========================================= */
.pulsar-section { padding: 80px 0; background: var(--bg-white); }
.pulsar-details {
    display: flex;
    align-items: center;
    gap: 50px;
    background: #fff;
    border: 1px solid #eee;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.pulsar-text ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-light);
}
.pulsar-text ul li::before {
    content: '\f00c'; /* FontAwesome Check */
    font-family: "Font Awesome 6 Free"; font-weight: 900;
    color: var(--primary);
    position: absolute; left: 0;
}

.pulsar-circle-logo {
    width: 220px; height: 220px;
    border-radius: 50%;
    background: var(--bg-body);
    border: 2px solid #ccc;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    color: var(--secondary);
    font-weight: 700;
    box-shadow: 0 0 0 10px rgba(160, 82, 45, 0.1);
}

/* 8. FOOTER */
.footer-section { background-color: #222; color: #ccc; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h3 { color: white; margin-bottom: 20px; font-size: 1.2rem; }
.footer-col ul li { margin-bottom: 12px; }

/* Adicione a cor do link aqui: */
.footer-col a { color: #ccc; } /* Usa a cor padrão do footer para o link */

.footer-col a:hover { color: var(--primary); padding-left: 5px; } /* Efeito slide */ 

.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links a { font-size: 1.5rem; color: white; }
.social-links a:hover { color: var(--primary); transform: scale(1.1); }

.footer-bottom { text-align: center; border-top: 1px solid #333; padding-top: 20px; font-size: 0.8rem; }

/* WhatsApp Flutuante */
.whatsapp-float {
   position: fixed; bottom: 25px; right: 25px;
    /* Altere a cor de fundo aqui: */
    background-color: #16c473; /* Exemplo de verde vibrante/neon */
   color: rgb(255, 255, 255);
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 2000; font-size: 2rem;
    transition: transform 0.3s;
}
/* Corrija o ícone forçando o branco */
.whatsapp-float i,
.whatsapp-float svg { /* Se você estiver usando Font Awesome <i> ou SVG */
    color: white ; 
}
.whatsapp-float:hover { transform: scale(1.1); }

/* =========================================
   9. MEDIA QUERIES (Mobile e Tablet)
   ========================================= */

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
    .hero-content { flex-direction: column-reverse; text-align: center; }
    .hero-actions { justify-content: center; }
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .pulsar-details { flex-direction: column; text-align: center; }
    .pulsar-text ul { display: inline-block; text-align: left; }
    
    /* Esconde decoração circular no tablet para limpar a visão */
    .hero-section::before { width: 400px; height: 400px; right: -100px; top: -50px; }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* Ajustes Gerais */
    .hero-section, .about-section, .therapies-section { padding: 40px 0; }
    
    /* LOGO MOBILE: Ajuste fino para não quebrar */
    .logo-symbol img { height: 45px; }
    .logo-main { font-size: 1rem; }
    .logo-sub { font-size: 0.75rem; }

    /* MENU HAMBÚRGUER (Lógica de exibição) */
    .btn-desktop-only { display: none; }
   .mobile-menu-btn { 
    display: block; /* Garante que o botão apareça no mobile */
    background: none; border: none; 
    font-size: 1.6rem; color: var(--secondary); 
    cursor: pointer; padding: 10px;
}

    /* Menu Gaveta (Slide-in) */
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: -100%; /* Escondido fora da tela */
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 30px;
        transition: right 0.4s ease; /* Animação suave */
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        overflow-y: auto;
    }

    .nav-menu.active { right: 0; } /* Classe adicionada pelo JS */

    .nav-menu ul { flex-direction: column; width: 100%; gap: 0; }
    .nav-menu ul li { width: 100%; text-align: center; border-bottom: 1px solid #f0f0f0; }
    
    .nav-link {
        display: block;
        padding: 20px;
        font-size: 1.1rem;
        color: var(--secondary);
    }
    
    /* Remove o efeito de linha animada no mobile (não funciona bem com touch) */
    .nav-link::after { display: none; }

    /* Botão Agendar dentro do menu */
    .btn-agendar-mobile {
        display: inline-block;
        margin-top: 30px;
        background-color: var(--primary);
        color: white;
        width: 80%;
    }

    /* Hero Full Width */
    .hero-actions { flex-direction: column; gap: 10px; }
    .hero-actions .btn-primary, .hero-actions .btn-secondary { width: 100%; }
    
    .pulsar-image { display: none; } /* Ocultar imagem decorativa no mobile */
}