:root {
    --bg-deep: #050a12;
    --bg-card: #0d141f;
    --gold: #c5a059;
    --gold-dim: #a68545;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --whatsapp: #128c7e;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', system-ui, -apple-system, sans-serif; }
body { background: var(--bg-deep); color: var(--text); line-height: 1.6; }
.container { max-width: 1100px; margin: auto; padding: 0 20px; }

/* Navbar */
#navbar { padding: 20px 0; background: rgba(5, 10, 18, 0.95); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(197, 160, 89, 0.2); }
#navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 700; color: white; }
.logo span { color: var(--gold); font-weight: 300; }
.btn-nav { border: 1px solid var(--gold); color: var(--gold); padding: 8px 18px; text-decoration: none; border-radius: 4px; font-size: 0.85rem; font-weight: 600; transition: 0.3s; }
.btn-nav:hover { background: var(--gold); color: var(--bg-deep); }

/* Hero */
.hero { padding: 100px 0; text-align: center; }
.badge { color: var(--gold); font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; display: block; }
h1 { font-size: 3rem; font-weight: 700; margin-bottom: 20px; line-height: 1.2; }
.highlight { color: var(--gold); }
.hero p { color: var(--text-muted); max-width: 800px; margin: 0 auto 30px; font-size: 1.1rem; }
.pain-points { margin-bottom: 40px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.pain-points span { color: #ff6b6b; font-size: 0.85rem; font-weight: 600; }

.cta-main { background: var(--whatsapp); color: white; padding: 20px 40px; text-decoration: none; border-radius: 4px; font-weight: 700; display: inline-block; transition: 0.3s; }
.cta-main:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(18, 140, 126, 0.3); }

/* Seção Sobre o Advogado */
.about-lawyer { padding: 80px 0; background: var(--bg-card); }
.lawyer-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; align-items: center; }
.photo-placeholder { position: relative; }
.photo-placeholder img { width: 100%; height: auto; border-radius: 8px; position: relative; z-index: 2; filter: grayscale(20%); aspect-ratio: 1/1; object-fit: cover; }
.photo-border { position: absolute; top: 20px; left: -20px; width: 100%; height: 100%; border: 2px solid var(--gold); border-radius: 8px; z-index: 1; }
.lawyer-info h2 { font-size: 2.5rem; margin-bottom: 5px; }
.oab { color: var(--gold); font-weight: 600; margin-bottom: 20px; }
.bio-text p { margin-bottom: 15px; color: var(--text-muted); }
.specialties { display: flex; gap: 20px; margin-top: 20px; }
.specialties span { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.specialties i { color: var(--gold); margin-right: 8px; }

/* Cards */
.services { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: var(--bg-card); padding: 40px; border-radius: 8px; border: 1px solid rgba(197, 160, 89, 0.1); }
.card i { font-size: 2.5rem; color: var(--gold); margin-bottom: 20px; }
.card h3 { margin-bottom: 15px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* Footer */
footer { padding: 80px 0; text-align: center; background: #02050a; }
.cta-footer { background: var(--whatsapp); color: white; padding: 18px 36px; text-decoration: none; border-radius: 4px; font-weight: 700; display: inline-block; margin: 30px 0; }
.footer-legal { margin-top: 40px; font-size: 0.75rem; color: var(--text-muted); opacity: 0.6; }

@media (max-width: 768px) {
    .lawyer-grid { grid-template-columns: 1fr; text-align: center; }
    .photo-border { display: none; }
    h1 { font-size: 2rem; }
    .specialties { justify-content: center; }
}

/* Seção de Avaliações Consolidada */
.reviews-section { padding: 100px 0; background: var(--bg-deep); overflow: hidden; }
.review-card {
    min-width: calc(33.333% - 20px); /* 3 cards por vez no desktop */
    background: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(197, 160, 89, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.google-badge { margin-bottom: 15px; }
.google-badge img { width: 20px; opacity: 0.8; }

.stars { color: #f1c40f; margin-bottom: 15px; font-size: 0.8rem; }

.review-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.5;
}

.client-info strong { color: var(--gold); font-size: 0.9rem; }

/* Pontos de Navegação */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active { background: var(--gold); width: 25px; border-radius: 5px; }

/* Responsivo Mobile */
@media (max-width: 900px) {
    .review-card { min-width: 100%; } /* 1 card por vez no celular */
}
/* Botão Flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px; /* Posicionado no canto inferior direito */
    background-color: #25d366; /* Verde oficial WhatsApp */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    background-color: #128c7e;
}
.carousel-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-top: 50px;
    padding: 20px 60px;
}

.reviews-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    gap: 20px;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: var(--bg-card); /* Fundo sólido para não confundir com o texto atrás */
    color: var(--gold);
    border: 1px solid var(--gold);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

/* 3. Colamos elas bem no cantinho do respiro que criamos */
.nav-arrow.prev { 
    left: 10px; 
}

.nav-arrow.next { 
    right: 10px; 
}

/* 4. Ajuste crucial para Mobile */
@media (max-width: 768px) {
    .carousel-container {
        padding: 20px 40px; /* Reduzimos o respiro no celular para não perder tela */
    }
    
    .nav-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .nav-arrow.prev { left: 5px; }
    .nav-arrow.next { right: 5px; }
}
/* Animação de pulsação suave */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Ajuste para mobile (não tampar textos na esquerda) */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px; /* Posicionado no canto inferior direito para mobile */
        font-size: 25px;
    }
}