/* ==========================================================================
   MESTRE DAS CHAVES - ESTILOS PRINCIPAIS (CSS)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIÁVEIS DE CORES E CONFIGURAÇÕES GERAIS
   -------------------------------------------------------------------------- */
:root {
    --navy-primary: #050c1a; /* Azul ainda mais escuro para o menu */
    --navy-dark: #030812;    /* Tom quase preto para o fundo da hero */
    --navy-header: #071120;  /* Azul navy fechado */
    --yellow-primary: #ffc107;
    --yellow-hover: #e0a800;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --whatsapp-green: #25d366;
    --whatsapp-green-hover: #1eaa53;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --------------------------------------------------------------------------
   2. CLASSES UTILITÁRIAS E BOTÕES PERSONALIZADOS
   -------------------------------------------------------------------------- */
.bg-custom-navy {
    background-color: var(--navy-primary) !important;
}

.text-custom-navy {
    color: var(--navy-primary) !important;
}

.text-custom-yellow {
    color: var(--yellow-primary) !important;
}

/* Botão Amarelo de Ação Principal */
.btn-custom-yellow {
    background-color: var(--yellow-primary);
    color: #000000;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-custom-yellow:hover,
.btn-custom-yellow:focus {
    background-color: var(--yellow-hover);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.btn-nav-whatsapp {
    border-radius: 6px;
    font-size: 0.9rem;
}

.btn-hero {
    border-radius: 8px;
}

.btn-outline-hero {
    color: #ffffff;
    border: 1px solid #475569;
    background-color: transparent;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
}

.btn-outline-hero:hover {
    color: #ffffff;
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------------------------
   3. BOTÃO FLUTUANTE DO WHATSAPP
   -------------------------------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: var(--whatsapp-green);
    color: #ffffff;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: var(--whatsapp-green-hover);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0px 6px 20px rgba(37, 211, 102, 0.5);
}

/* --------------------------------------------------------------------------
   4. NAVBAR / CABEÇALHO (AZUL ESCURO)
   -------------------------------------------------------------------------- */
.navbar {
    background-color: var(--navy-primary) !important;
    border-bottom: 3px solid var(--yellow-primary) !important;
}

.navbar-dark .navbar-nav .nav-link {
    transition: color 0.2s ease-in-out;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--yellow-primary) !important;
}

.dropdown-menu {
    background-color: #ffffff;
    border-radius: 8px;
    margin-top: 8px;
}

.dropdown-item {
    font-size: 0.95rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(255, 193, 7, 0.15);
    color: var(--navy-primary);
}

/* --------------------------------------------------------------------------
   5. HERO SECTION E BORDA AMARELA DA IMAGEM
   -------------------------------------------------------------------------- */
.hero {
    background: radial-gradient(circle at 30% 50%, #0d1f38 0%, #030812 85%) !important;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    border-bottom: 3px solid var(--yellow-primary);
}

.hero-title {
    font-size: 2.8rem;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    max-width: 580px;
    line-height: 1.5;
    color: #cbd5e1 !important;
}

/* Badge Amarelo de Localização */
.badge-location {
    background-color: var(--yellow-primary);
    color: #000000;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.35);
    letter-spacing: 0.5px;
}

/* Moldura e Borda Amarela Vistosa na Imagem */
.hero-img-wrapper {
    display: inline-block;
    padding: 4px;
    border: 3px solid var(--yellow-primary) !important;
    border-radius: 18px;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.25);
    background-color: var(--yellow-primary);
}

.hero-img {
    border-radius: 14px;
    object-fit: cover;
    display: block;
    max-height: 340px;
    width: 100%;
}

/* --------------------------------------------------------------------------
   6. CARDS DE SERVIÇO & DIFERENCIAIS
   -------------------------------------------------------------------------- */
.card-service {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff;
}

.card-service:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.service-img-box {
    overflow: hidden;
    border-radius: 8px;
}

.service-img-box img {
    transition: transform 0.5s ease;
    object-fit: cover;
    width: 100%;
}

.card-service:hover .service-img-box img {
    transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   7. RODAPÉ (FOOTER)
   -------------------------------------------------------------------------- */
footer {
    background-color: var(--navy-primary);
}

.hover-warning {
    transition: color 0.2s ease-in-out, padding-left 0.2s ease-in-out;
}

.hover-warning:hover {
    color: var(--yellow-primary) !important;
    padding-left: 3px;
}

/* --------------------------------------------------------------------------
   8. AJUSTES RESPONSIVOS (MOBILE)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    .hero {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }
}