@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

:root {
    --primary: #c19a6b;
    --secondary: #2d2d2d;
    --light: #f9f9f9;
    --white: #ffffff;
    --accent: #e5c9a7;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--secondary); line-height: 1.6; overflow-x: hidden; }

/* === NAVBAR === */
nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 8%; position: fixed; width: 100%; top: 0; z-index: 1000;
    transition: var(--transition); background: transparent;
}
nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 12px 8%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.logo { font-size: 1.3rem; font-weight: 600; color: var(--white); transition: var(--transition); }
.logo span { color: var(--primary); }
nav.scrolled .logo { color: var(--secondary); }

.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links li { margin-left: 30px; }
.nav-links a { text-decoration: none; color: var(--white); font-weight: 500; font-size: 0.95rem; transition: var(--transition); }
nav.scrolled .nav-links a { color: var(--secondary); }
.nav-links a:hover { color: var(--primary) !important; }

.btn-agendar {
    background: var(--primary); color: var(--white) !important;
    padding: 10px 25px; border-radius: 50px; font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(193, 154, 107, 0.3);
}
.btn-agendar:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(193, 154, 107, 0.5); }

/* === CARROSSEL HERO === */
.hero-carousel {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
    transform: scale(1);
}

@keyframes zoomEffect {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.slide.active {
    opacity: 1;
    animation: zoomEffect 6s linear forwards;
    z-index: 1;
}

.hero-overlay {
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
    height: 100%; width: 100%;
    display: flex; align-items: center; justify-content: center;
    padding: 0 8%;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    color: var(--white);
    z-index: 2;
    margin-top: 50px;
}

.hero-content h1 { 
    font-size: 3.5rem; 
    line-height: 1.2; 
    margin-bottom: 20px; 
    font-weight: 600; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-content p { 
    font-size: 1.4rem; 
    margin-bottom: 0; 
    font-weight: 300; 
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.8s;
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Indicadores de Navegação (Bolinhas) */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid transparent;
}

.dot:hover { background: rgba(255,255,255,0.8); }

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
    border: 2px solid var(--white);
}

/* === SEÇÃO SOBRE === */
.container { padding: 100px 8%; max-width: 1200px; margin: auto; }
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.sobre-img img { width: 100%; border-radius: 12px; box-shadow: 20px 20px 0 var(--accent); }
.badge { background: var(--accent); padding: 5px 15px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; display: inline-block; margin-bottom: 15px; }
.sobre-text h2 { font-size: 2.5rem; margin-bottom: 5px; color: var(--secondary); }
.crbm { color: var(--primary); font-weight: 600; font-size: 1.1rem; margin-bottom: 25px; letter-spacing: 1px; }
.lista-check { list-style: none; margin-top: 25px; }
.lista-check li { margin-bottom: 12px; display: flex; align-items: center; }
.lista-check i { color: var(--primary); margin-right: 12px; font-size: 1.1rem; }

/* === PROCEDIMENTOS === */
.bg-light { background: var(--light); }
.section-title { text-align: center; margin-bottom: 60px; font-size: 2.5rem; }
.procedimentos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.card { background: var(--white); padding: 40px 30px; border-radius: 15px; text-align: center; border-bottom: 3px solid transparent; transition: var(--transition); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.card:hover { transform: translateY(-10px); border-bottom: 3px solid var(--primary); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 25px; display: block; }

/* === FOOTER === */
footer { background: #1a1a1a; color: #fff; padding: 60px 8%; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.socials a { color: #fff; font-size: 1.8rem; margin-right: 20px; transition: var(--transition); }
.socials a:hover { color: #25d366; } 

/* === MOBILE === */
.menu-toggle { display: none; cursor: pointer; font-size: 1.8rem; color: var(--white); z-index: 1001; transition: var(--transition); }
nav.scrolled .menu-toggle { color: var(--secondary); }

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links { position: fixed; top: 0; right: -100%; background: var(--white); width: 85%; height: 100vh; flex-direction: column; justify-content: center; box-shadow: -10px 0 30px rgba(0,0,0,0.1); transition: 0.4s ease-in-out; }
    .nav-links.active { right: 0; }
    .nav-links li { margin: 20px 0; }
    .nav-links a { color: var(--secondary); font-size: 1.2rem; }
    
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .sobre-grid { grid-template-columns: 1fr; }
    .container { padding: 60px 5%; }
}