/* ============================================
   RESET E CONFIGURAÇÕES GLOBAIS
============================================ */

/* Reset básico e box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variáveis CSS para consistência e manutenção */
:root {
    /* Paleta de cores */
    --primary-color: #c9a961;
    --primary-dark: #a38747;
    --secondary-color: #1a1a1a;
    --dark-bg: #0d0d0d;
    --darker-bg: #050505;
    --text-light: #f5f5f5;
    --text-gray: #b0b0b0;
    
    /* Tipografia */
    --font-primary: 'Poppins', sans-serif;
    
    /* Transições e animações */
    --transition: all 0.3s ease;
}

/* Estilos base do body */
body {
    font-family: var(--font-primary);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   SCROLLBAR CUSTOMIZADA
============================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ============================================
   COMPONENTES DE NAVEGAÇÃO
============================================ */

/* Barra de navegação principal */
.navbar {
    background-color: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

/* Logo/Marca */
.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    transition: var(--transition);
}

.navbar-brand:hover {
    color: var(--text-light) !important;
}

/* Links de navegação */
.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 400;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition);
}

/* Efeito de sublinhado nos links */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

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

/* ============================================
   SEÇÃO HERO / BANNER PRINCIPAL
============================================ */

.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.9), rgba(26, 26, 26, 0.8)),
                url('https://images.unsplash.com/photo-1436450412740-6b988f486c6b?ixlib') center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

/* Overlay para melhor contraste */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent, rgba(5, 5, 5, 0.7));
    pointer-events: none;
}

/* Conteúdo do Hero */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    color: var(--text-light);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 1.5rem;
}

.hero-content .lead {
    color: var(--text-gray);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Botão de Call-to-Action */
.btn-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 5px 25px rgba(201, 169, 97, 0.4);
    transition: var(--transition);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 169, 97, 0.6);
}

/* ============================================
   ANIMAÇÕES E EFEITOS
============================================ */

/* Animações de entrada em cascata */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s backwards;
}

/* Keyframes para animação de fade-in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   UTILITÁRIOS DE BACKGROUND
============================================ */

.bg-dark-gradient {
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

/* ============================================
   SEÇÃO SOBRE NÓS
============================================ */

/* Efeito hover na imagem */
#sobre img {
   transition: 0.35s;
}

#sobre img:hover {
    transform: scale(1.01);
}

/* Caixas de características/destaques */
.feature-box {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: var(--transition);
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

/* ============================================
   CARDS DE SERVIÇOS
============================================ */

.service-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.8), rgba(13, 13, 13, 0.9));
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Efeito de brilho ao passar o mouse */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.1), transparent);
    transition: var(--transition);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(201, 169, 97, 0.3);
}

/* Ícones dos serviços */
.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

/* Botão de saiba mais */
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--darker-bg);
    transform: scale(1.05);
}

/* ============================================
   SEÇÃO DE DEPOIMENTOS
============================================ */

#depoimentos small {
    color: var(--text-gray) !important;
}

.testimonial-card {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(201, 169, 97, 0.15);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--primary-color);
    background: rgba(26, 26, 26, 0.8);
    transform: translateY(-5px);
}

/* Avaliação por estrelas */
.stars {
    font-size: 1.2rem;
}

.testimonial-card p {
    color: var(--text-gray);
    font-style: italic;
    line-height: 1.8;
}

.client-info strong {
    color: var(--primary-color);
}

/* ============================================
   SEÇÃO DE CONTATO
============================================ */

/* Container de informações de contato */
.contact-info {
    background: rgba(26, 26, 26, 0.5);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
}

/* Itens de contato individuais */
.contact-item {
    display: flex;
    align-items: start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    min-width: 40px;
}

.contact-item strong {
    display: block;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

/* Container do formulário de contato */
.contact-form-container {
    background: rgba(26, 26, 26, 0.5);
    border-radius: 15px;
    padding: 2rem;
}

/* Estilização de campos de formulário */
.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 169, 97, 0.3);
    color: var(--text-light);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 0 0 0.2rem rgba(201, 169, 97, 0.25);
}

.form-control::placeholder {
    color: var(--text-gray);
}

.form-label {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Checkbox LGPD */
.form-check-input {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    color: var(--text-gray);
}

/* Botões primários */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.4);
}

/* Botão do WhatsApp */
.btn-success {
    background: #25D366;
    border: none;
    transition: var(--transition);
}

.btn-success:hover {
    background: #1fb855;
    transform: translateY(-2px);
}

/* ============================================
   RODAPÉ
============================================ */

.footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(201, 169, 97, 0.2);
    margin-top: 5rem;
}

.footer h5 {
    color: var(--primary-color);
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Links de redes sociais */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(201, 169, 97, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--darker-bg);
    transform: translateY(-3px);
}

.footer hr {
    border-color: rgba(201, 169, 97, 0.2);
}

/* ============================================
   BOTÃO FLUTUANTE DO WHATSAPP
============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #1fb855;
    transform: scale(1.1);
    color: white;
}

/* Animação de pulsação para o botão do WhatsApp */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 5px 35px rgba(37, 211, 102, 0.8);
    }
}

/* ============================================
   COMPONENTES DE MODAL
============================================ */

.modal-content {
    background: var(--secondary-color);
    border: 1px solid rgba(201, 169, 97, 0.3);
    color: var(--text-light);
}

.modal-header {
    border-bottom-color: rgba(201, 169, 97, 0.2);
}

.modal-footer {
    border-top-color: rgba(201, 169, 97, 0.2);
}

.btn-close {
    filter: invert(1);
}

/* ============================================
   MEDIA QUERIES - RESPONSIVIDADE
============================================ */

/* Tablets e dispositivos médios */
@media (max-width: 991px) {
    .navbar-nav {
        background: rgba(13, 13, 13, 0.98);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Dispositivos móveis pequenos */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .btn-cta {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    .service-card,
    .testimonial-card {
        margin-bottom: 1.5rem;
    }

    /* Ajustes específicos para o rodapé em mobile */
    .footer-container {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .footer-container br {
        display: none;
    }

    .footer-content {
        text-align: center !important;
    }

    .footer-author {
        text-align: center !important;
    }
}

/* Dispositivos muito pequenos (mobile) */
@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i {
        margin: 0 0 1rem 0;
    }
}