/* --- VARIÁVEIS E RESET --- */
:root {
    --primary: #00b4d8; /* Azul Moderno (Ciano Escuro) */
    --secondary: #0077b6; /* Azul Profundo */
    --accent: #90e0ef; /* Azul Claro para detalhes */
    --dark: #333333;
    --light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0,0,0,0.08);
}

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

/* Scroll Suave nativo */
html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    line-height: 1.6;
}

h1, h2, h3, h4, .btn-nav, .btn-cta {
    font-family: 'Montserrat', sans-serif;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; }
ul { list-style: none; }

/* --- HEADER --- */
header {
    background: var(--white);
    padding: 1.2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo { color: var(--secondary); font-size: 1.6rem; font-weight: 700; }
.logo span { color: var(--primary); }

/* Menu Desktop Padrão */
.nav-list { display: flex; align-items: center; gap: 30px; }
.nav-list a { color: var(--dark); font-weight: 600; font-size: 0.95rem; transition: 0.3s; }
.nav-list a:hover { color: var(--primary); }

/* Ícone do Menu Mobile (Escondido no Desktop) */
.mobile-menu-icon {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--secondary);
}

.btn-nav {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0,180,216, 0.3);
}
.btn-nav:hover { background: var(--secondary); transform: translateY(-2px); }

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(230,245,255,0.9) 100%), url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    display: flex;
    align-items: center;
}

.hero-content { max-width: 600px; }
.tagline { color: var(--primary); font-weight: 700; font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; }
.hero h2 { font-size: 3.5rem; line-height: 1.2; margin: 15px 0 20px; color: var(--secondary); }
.hero p { font-size: 1.1rem; color: #555; margin-bottom: 30px; }

.hero-buttons { display: flex; gap: 15px; margin-bottom: 40px; }

.btn-cta {
    background: #25d366; /* Verde WhatsApp */
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: 0.3s;
}
.btn-cta:hover { transform: translateY(-3px); background: #1ebc57; }

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 13px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

.stats { display: flex; gap: 40px; border-top: 1px solid #ddd; padding-top: 20px; }
.stat-item strong { display: block; font-size: 1.8rem; color: var(--secondary); }
.stat-item span { font-size: 0.9rem; color: #666; }

/* --- SEÇÕES PADRÃO --- */
.section-padrao { padding: 80px 0; }
.bg-light { background-color: #f0f8ff; } /* Azul bem clarinho */

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h3 { font-size: 2.2rem; color: var(--secondary); margin-bottom: 10px; }
.section-header p { color: #666; max-width: 600px; margin: 0 auto; }

/* --- ESPECIALIDADES (GRID) --- */
.grid-especialidades {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card-especialidade {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: 0.3s;
    border-bottom: 3px solid transparent;
}

.card-especialidade:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--primary);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.card-especialidade h4 { margin-bottom: 15px; color: var(--dark); }

/* --- DEPOIMENTOS --- */
.grid-depoimentos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card-depoimento {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}
.card-depoimento .stars { color: #ffc107; margin-bottom: 15px; }
.card-depoimento p { font-style: italic; color: #555; margin-bottom: 15px; }
.card-depoimento strong { color: var(--secondary); }

/* --- FOOTER --- */
footer { background: var(--dark); color: #bbb; padding: 60px 0 20px; }
.footer-content { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; margin-bottom: 40px; }
.footer-col h4 { color: var(--white); margin-bottom: 20px; font-size: 1.2rem; }
.footer-col p { margin-bottom: 10px; }
.social-links a { color: var(--white); font-size: 1.5rem; margin-right: 15px; transition: 0.3s; }
.social-links a:hover { color: var(--primary); }
.copy { text-align: center; border-top: 1px solid #444; padding-top: 20px; font-size: 0.9rem; }

/* --- BOTÃO FLUTUANTE WHATSAPP --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.whatsapp-float:hover { transform: scale(1.1); background: #1ebc57; }

/* =========================================
   RESPONSIVIDADE (MOBILE e TABLET)
   ========================================= */
@media (max-width: 768px) {
    /* Mostra o ícone do hambúrguer */
    .mobile-menu-icon {
        display: block;
    }

    /* Esconde a lista de links por padrão e posiciona */
    .nav-list {
        display: none; /* Começa escondido */
        position: absolute;
        top: 70px; /* Altura do header */
        right: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 999;
    }

    /* Classe ativada pelo JavaScript */
    .nav-list.active {
        display: flex; /* Aparece quando ativo */
        animation: fadeDown 0.3s forwards;
    }

    .nav-list li { margin: 15px 0; }

    /* Ajustes de Layout Mobile */
    .header-content { justify-content: space-between; padding: 0 20px; }
    
    .hero { text-align: center; padding: 60px 0; }
    .hero h2 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; gap: 15px; padding: 0 20px; }
    
    .stats { flex-direction: column; gap: 20px; justify-content: center; }
}

/* Animação de descida do menu */
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}