/* ESTILO GLOBAL - GRUPO J R (HOLDING)
   Padrão Visual: jrjustiniano.com.br (Bootstrap 5 Base)
   Atualizado: 04/01/2026
*/

:root {
    --primary-color: #000000;
    --secondary-color: #198754;
    --accent-color: #ffffff;
    --text-grey: #6c757d;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background-color: var(--primary-color);
    padding: 0.8rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar-brand {
    font-weight: 700;
    color: var(--accent-color) !important;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    text-transform: uppercase; /* Forçar caixa alta no Grupo */
}

.navbar-brand img {
    height: 55px;
    width: auto;
    margin-right: 15px;
    background: #fff;
    border-radius: 50%;
    padding: 2px;
}

.nav-link {
    color: var(--accent-color) !important;
    font-weight: 500;
    margin-left: 15px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Hero Section */
.hero-section {
    /* Mantendo a estrutura, mas usando a imagem Dark Leaves para a Holding */
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/bg-hero-jr.png');
    background-size: cover;
    background-position: center;
    color: var(--accent-color);
    padding: 120px 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    text-transform: uppercase;
}

.btn-custom {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    padding: 12px 30px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-custom:hover {
    background-color: #146c43;
    color: var(--accent-color);
    transform: scale(1.05);
}

/* Services and Legal */
.service-card, .legal-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.service-card {
    border: 1px solid #eee;
    height: 100%;
    transition: transform 0.3s;
    display: flex; /* Ajuste para centralizar conteudo */
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom: 4px solid var(--secondary-color);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Alerts */
.alert-custom { background-color: #e9f7ef; border-left: 5px solid var(--secondary-color); color: #0f5132; }
.alert-warning-custom { background-color: #fff3cd; border-left: 5px solid #ffc107; color: #856404; }

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--accent-color);
    padding: 60px 0 20px;
    margin-top: auto;
}

footer a { color: #aaa; text-decoration: none; transition: 0.2s; }
footer a:hover { color: var(--secondary-color) !important; padding-left: 5px; }
.hover-effect:hover { color: var(--secondary-color) !important; transform: translateX(5px); display: inline-block; }

/* WhatsApp Float */
.whatsapp-float {
    position: fixed; width: 60px; height: 60px; bottom: 40px; right: 40px;
    background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3); z-index: 1000; display: flex; align-items: center; justify-content: center;
    transition: background-color 0.3s; text-decoration: none;
}

/* --- ADIÇÃO NECESSÁRIA: TRAVA LGPD --- */
/* (O site da Assessoria não usa isso no código que você mandou, mas a Holding PRECISA) */
#lgpd-lock {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.98); z-index: 99999;
    display: none; justify-content: center; align-items: center;
    backdrop-filter: blur(5px);
}
.lock-card {
    background: #fff; border-top: 5px solid var(--secondary-color);
    padding: 40px; border-radius: 8px; text-align: center;
    max-width: 500px; width: 90%; color: #333;
}
body.is-locked { overflow: hidden !important; }

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .whatsapp-float { width: 50px; height: 50px; font-size: 24px; bottom: 20px; right: 20px; }
}