:root {
    --brand-green: #5b634e; 
    --light-sage: #839280;
    --light-bg: #f4f5f4;
    --white: #ffffff;
    --text-dark: #333;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }

/* Header */
.header {
    background: var(--brand-green);
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

.header-flex { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 60px; width: auto; display: block; }

.nav-menu ul { display: flex; list-style: none; gap: 20px; }
.nav-menu a { text-decoration: none; color: var(--white); font-weight: 600; font-size: 1rem; transition: 0.3s; }
.nav-menu a:hover { color: var(--light-sage); }

.mobile-menu-icon { display: none; font-size: 28px; color: var(--white); cursor: pointer; }

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-align: center;
}

.video-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
#hero-video { width: 100%; height: 100%; object-fit: cover; }
.video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); }

.hero-content { z-index: 10; padding: 0 20px; width: 100%; max-width: 800px; }
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2; }
.hero p { font-size: 1.3rem; margin-bottom: 10px; }
.doctor-name { font-weight: 700; color: var(--light-sage); font-size: 1.8rem; }

.cta-button {
    background: var(--brand-green);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    margin-top: 30px;
    border: 2px solid white;
    font-size: 1.1rem;
    transition: 0.3s;
}

.cta-button:hover { background: var(--white); color: var(--brand-green); }

/* Seções */
.section { padding: 80px 0; }
.section-title { text-align: center; font-size: 2.5rem; color: var(--brand-green); margin-bottom: 50px; padding: 0 10px; }
.alt-bg { background-color: var(--brand-green); color: white; }
.alt-bg .section-title { color: white; }

/* Grids */
.grid-cards, .team-grid, .tech-grid, .depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Especialidades (Cards) */
.card {
    background: var(--light-bg);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    border-bottom: 4px solid var(--brand-green);
    transition: transform 0.3s;
}
.card:hover { transform: translateY(-5px); }
.card i { font-size: 2.5rem; color: var(--brand-green); margin-bottom: 20px; display: block; }

/* Equipe */
.team-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
}
.team-card:hover { background: rgba(255, 255, 255, 0.15); }
.team-img-container {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--light-sage);
    display: flex;
    justify-content: center;
    align-items: center;
}
.team-img { width: 100%; height: 100%; object-fit: cover; }
.team-img-container.avatar {
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-img-container.avatar i { font-size: 4rem; color: var(--brand-green); }
.role { font-weight: 700; color: var(--light-sage); font-size: 0.9rem; text-transform: uppercase; margin-bottom: 10px; display: block; }
.desc { font-size: 0.9rem; opacity: 0.9; }

/* Tecnologia - Ícones brancos no fundo verde */
.tech-item { display: flex; flex-direction: column; align-items: center; text-align: center; color: white; }
.tech-icon-circle {
    width: 100px; height: 100px; border: 2px solid white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: white;
}
.tech-item i { font-size: 2.2rem; }

/* Sobre Nós - Texto escuro no box branco */
.sobre-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.valores-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 25px; }
.valor-item h4 { color: var(--light-sage); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.sobre-info-box {
    background: var(--white); padding: 30px; border-radius: 15px; border-left: 5px solid var(--light-sage); color: var(--text-dark);
}
.sobre-info-box h3 { color: var(--brand-green); margin-bottom: 15px; }
.sobre-info-box li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--text-dark); text-align: left; }
.sobre-info-box i { color: var(--brand-green); }

/* Galeria */
.visual-gallery { padding: 60px 0; overflow: hidden; background: #fff; }
.carousel-slide { display: flex; animation: scroll 120s linear infinite; width: max-content; }
.carousel-slide img { height: 300px; margin: 0 10px; border-radius: 10px; object-fit: cover; }

@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Depoimentos */
.depoimento-card { background: var(--white); color: var(--text-dark); padding: 35px; border-radius: 15px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.stars { color: #f1c40f; margin-bottom: 15px; }
.client-name { font-weight: 700; color: var(--brand-green); display: block; margin-top: 15px; }

/* Contato */
.contact-info { text-align: center; }
.contact-info a { text-decoration: none; color: inherit; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 15px; }
.contact-info i { color: var(--brand-green); font-size: 1.4rem; }

/* WhatsApp Float - CORREÇÃO: Removendo o traço sublinhado */
.whatsapp-float {
    position: fixed; 
    bottom: 25px; 
    right: 25px; 
    background: #25d366; 
    color: white;
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center;
    justify-content: center; 
    font-size: 30px; 
    z-index: 3000; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-decoration: none; /* Remove o sublinhado do link */
}

.footer { padding: 30px; text-align: center; background: #1a1a1a; color: #888; font-size: 0.9rem; }

/* --- RESPONSIVIDADE (MOBILE) --- */
@media (max-width: 768px) {
    .mobile-menu-icon { display: block; }
    .nav-menu {
        position: absolute; top: 80px; right: -100%; background: var(--brand-green);
        width: 80%; height: 100vh; transition: 0.4s; box-shadow: -5px 0 15px rgba(0,0,0,0.3);
        z-index: 2000;
    }
    .nav-menu.active { right: 0; }
    .nav-menu ul { flex-direction: column; padding: 40px; gap: 30px; }
    
    #hero-video {
        object-position: center top; 
    }

    .hero h1 { font-size: 2.2rem; }
    .doctor-name { font-size: 1.4rem; }
    .section-title { font-size: 1.8rem; }
    
    .sobre-grid { grid-template-columns: 1fr; gap: 30px; padding: 0 10px; }
    .valores-grid { grid-template-columns: 1fr; }
    .sobre-text { text-align: left; }
    .sobre-info-box { margin: 0 5px; }

    .grid-cards, .team-grid, .tech-grid, .depoimentos-grid { 
        grid-template-columns: 1fr; 
    }
}