/* Custom CSS - Galvânica Parreira */
body { font-family: 'Inter', sans-serif; color: #212529; background-color: #fcfcfc; }
.text-gold { color: #d4af37 !important; }
.bg-gold { background-color: #d4af37 !important; }
.border-gold { border-color: #d4af37 !important; }
.bg-custom-dark { background-color: #2A3A29 !important; }
.text-custom-dark { color: #2A3A29 !important; }

/* Botões */
.btn-gold { background-color: #d4af37; color: #2A3A29; font-weight: 600; border: none; padding: 12px 28px; transition: all 0.3s; border-radius: 5px; text-decoration: none; display: inline-block;}
.btn-gold:hover { background-color: #bfa030; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);}

/* Navbar */
.navbar { background-color: #2A3A29 !important; padding: 15px 0; border-bottom: 3px solid #d4af37; }
.navbar-brand img { max-height: 60px; }
.navbar-dark .navbar-nav .nav-link { color: #f8f9fa; font-weight: 500; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; padding: 8px 15px; transition: color 0.3s;}
.navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link:hover { color: #d4af37; }
.navbar-toggler { border-color: #d4af37; color: #d4af37; }

/* Headers e Banners */
.hero-section { background: linear-gradient(rgba(42, 58, 41, 0.85), rgba(42, 58, 41, 0.85)), url('../images/hero-bg.avif') center/cover; padding: 120px 0; color: white; min-height: 70vh; display: flex; align-items: center;}
.page-header { background: #2A3A29; padding: 80px 0 60px; color: white; border-bottom: 4px solid #d4af37; text-align: center; }

/* Cards de Serviços e Informações */
.card-service { border: none; border-radius: 10px; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.05); height: 100%; border-top: 4px solid transparent; background: #fff; padding: 30px 20px;}
.card-service:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-top-color: #d4af37; }
.icon-wrapper { width: 70px; height: 70px; border-radius: 50%; background: #fdfaf0; color: #d4af37; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 20px; }

/* Etapas Numeradas (Processos) */
.step-box { background: #fff; padding: 40px 20px 30px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center; height: 100%; position: relative; overflow: hidden; border: 1px solid #eee;}
.step-number { font-size: 100px; font-weight: 900; color: #f8f9fa; position: absolute; top: -20px; right: 10px; z-index: 0; line-height: 1; }
.step-content { position: relative; z-index: 1; }

/* Footer */
.footer { background-color: #2A3A29; color: #d1d5ce; border-top: 5px solid #d4af37; font-size: 0.95rem;}
.footer h5 { color: #fff; font-weight: 600; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px; font-size: 1.1rem;}
.footer a { color: #d1d5ce; text-decoration: none; transition: 0.3s; }
.footer a:hover { color: #d4af37; }
/* Cor dourada para os ícones das redes sociais no rodapé */
.footer .social a, .footer .d-flex.gap-4 a {
    color: #d4af37 !important;
    transition: color 0.3s ease;
}
.footer .social a:hover, .footer .d-flex.gap-4 a:hover {
    color: #fff !important;
}
/* Deixar o texto de copyright do rodapé bem claro e visível */
.footer .border-top p, .footer .border-top .text-muted {
    color: #d1d5ce !important;
}
/* Deixar o ícone do WhatsApp no rodapé em dourado */
.footer .col-lg-4 .fa-whatsapp {
    color: #d4af37 !important;
}
/* Deixar o ícone do local/mapa no rodapé em dourado */
.footer .col-lg-4 .fa-map-marker-alt {
    color: #d4af37 !important;
}

/* Float WhatsApp */
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 30px; right: 30px; background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; font-size: 32px; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); z-index: 1000; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: transform 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }


/* =========================================
   UX & MOBILE FIRST ENHANCEMENTS
   ========================================= */

/* Melhorar a área de toque em links no mobile */
.nav-link, .btn, .list-group-item a {
    min-height: 44px;
    display: flex;
    align-items: center;
}

/* Espaçamento de respiro para telas menores */
@media (max-width: 767.98px) {
    .page-header h1 { font-size: 2.5rem; }
    .hero-section { padding: 4rem 1rem; }
    .card-service { padding: 1.5rem !important; }
}

/* Navbar Toggle sem outline ao clicar (padrão agência) */
.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Ajuste do botão Flutuante do WhatsApp para não sobrepor o rodapé no mobile */
.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.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

@media (max-width: 767.98px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }
}

/* =========================================
   HERO SLIDER & OVERLAY (CSS ONLY)
   ========================================= */
.hero-section {
    min-height: 80vh;
    overflow: hidden;
}

/* Container absoluto para ficar no fundo */
.hero-slider, .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(45, 34, 15, 0.94) 0%, rgba(20, 15, 8, 0.6) 100%);
    box-shadow: inset 0 0 100px rgba(212, 175, 55, 0.15);
    z-index: 1;
}

/* Configuração de cada slide */
.hero-slider .slide {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    /* Animação total de 15s (5s por imagem) */
    animation: fadeSlider 15s infinite;
}

/* Timings para 3 imagens */
.hero-slider .slide:nth-child(1) { animation-delay: 0s; }
.hero-slider .slide:nth-child(2) { animation-delay: 5s; }
.hero-slider .slide:nth-child(3) { animation-delay: 10s; }

/* Keyframes: Fade in, mantém, Fade out com leve zoom (Ken Burns effect) */
@keyframes fadeSlider {
    0% { opacity: 0; transform: scale(1); }
    10% { opacity: 1; }
    33% { opacity: 1; }
    /* 43% { opacity: 0; transform: scale(1.05); } */
    43% { opacity: 0; transform: scale(1.30); }
    100% { opacity: 0; }
}

/* Z-index para garantir que o texto fique por cima de tudo */
.z-2 {
    z-index: 2;
}

/* Ajustes Mobile para o Hero Novo */
@media (max-width: 767.98px) {
    .hero-section { min-height: 70vh; }
    .hero-overlay {
        background: linear-gradient(180deg, rgba(20, 15, 8, 0.75) 0%, rgba(45, 34, 15, 0.94) 100%);
    }
    .hero-section h1.display-4 { font-size: 2.2rem; }
    .hero-section p.lead { font-size: 1rem; }
}