:root {
    --preto: #111111;
    --marrom: #3a2618;
    --dourado: #d4af37;
    --dourado-claro: #f1d78f;
    --branco: #ffffff;
    --cinza-claro: #f5f5f5;
}

/* Sobrescrevendo variáveis do Bootstrap */
:root {
    --bs-primary: var(--dourado);
    --bs-primary-rgb: 212, 175, 55;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--preto);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--dourado);
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

/* Sobrescrevendo estilos do Bootstrap */
.btn-primary {
    background-color: var(--dourado);
    border-color: var(--dourado);
    color: var(--preto);
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover, 
.btn-primary:active, 
.btn-primary:focus {
    background-color: transparent !important;
    color: var(--dourado) !important;
    border-color: var(--dourado) !important;
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25) !important;
}

.form-control:focus {
    border-color: var(--dourado);
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    color: var(--dourado);
}

.form-floating label {
    color: var(--dourado);
}

.form-floating input,
.form-floating textarea {
    color: var(--dourado) !important;
    font-weight: 500;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

section {
    padding: 5rem 0;
    text-align: center;
}

/* Logo */
.logo-container {
    position: absolute;
    top: 2rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    border: none;
    background: none;
}

.logo-img {
    max-width: 280px;
    height: auto;
}

/* Hero Section */
.hero {
    background-color: var(--marrom);
    color: var(--branco);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1519225421980-715cb0215aed?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=75');
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.hero-content {
    max-width: 800px;
    text-align: center;
}

.hero h1 {
    color: var(--dourado);
    margin-bottom: 1.5rem;
    animation: fadeIn 1.5s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    animation: fadeIn 2s ease;
}

.hero .btn {
    animation: fadeIn 2.5s ease;
    font-size: 1.1rem;
}

/* Sobre Section */
.sobre {
    background-color: var(--cinza-claro);
}

.sobre-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Como Funciona Section */
.como-funciona {
    background-color: var(--branco);
}

.step {
    border-radius: 8px;
    background-color: var(--cinza-claro);
    transition: transform 0.3s ease;
    border: none;
}

.step:hover {
    transform: translateY(-10px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--dourado);
    color: var(--preto);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Diferenciais Section */
.diferenciais {
    background-color: var(--marrom);
    color: var(--branco);
}

.diferenciais h2 {
    color: var(--dourado);
}

.diferencial-item {
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease;
    height: 100%;
}

.diferencial-item:hover {
    transform: translateY(-5px);
}

.diferencial-icon {
    font-size: 2.5rem;
    color: var(--dourado);
    margin-bottom: 1rem;
}

/* Depoimentos Section */
.depoimentos {
    background-color: var(--cinza-claro);
    padding-bottom: 6rem;
}

.carousel-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.depoimento {
    background-color: var(--branco);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    margin: 1.5rem;
}

.depoimento::before {
    content: '"';
    font-family: 'Cinzel', serif;
    font-size: 5rem;
    color: var(--dourado);
    position: absolute;
    top: -20px;
    left: 20px;
    opacity: 0.3;
}

.depoimento-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.depoimento-autor {
    font-weight: 600;
    color: var(--marrom);
    margin-bottom: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--dourado);
    border-radius: 50%;
    padding: 1.5rem;
    background-size: 50%;
}

/* Galeria Section */
.galeria {
    background-color: var(--branco);
}

.galeria-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
    cursor: pointer;
    height: 300px;
    margin-bottom: 1rem;
}

.galeria-item:hover {
    transform: scale(1.03);
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease, transform 0.8s cubic-bezier(.25,.8,.25,1), opacity 0.8s;
    opacity: 0;
    transform: scale(0.96);
}

.galeria-item.fade-in.visible img {
    opacity: 1;
    transform: scale(1.04);
}

.galeria-item:hover img {
    filter: brightness(0.8);
}

/* Modal galeria */
.galeria-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    z-index: 100000;
    justify-content: center;
    align-items: center;
    transition: opacity 0.25s ease;
}

.galeria-modal-img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

/* Lightbox content wrapper */
.galeria-modal-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 2rem;
}

.galeria-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    color: #fff;
    border: none;
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 100001;
}

.galeria-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100001;
}

.galeria-prev { left: 1.25rem; }
.galeria-next { right: 1.25rem; }

.galeria-caption {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    z-index: 100001;
}

/* Touch targets */
@media (max-width: 768px) {
    .galeria-nav { width: 48px; height: 48px; font-size: 1.6rem; }
    .galeria-close { font-size: 1.8rem; }
    .galeria-modal-img { max-width: 95vw; max-height: 75vh; }
}

/* FAQ Section */
.faq {
    background-color: var(--cinza-claro);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    background-color: var(--branco);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    background-color: var(--marrom);
    color: var(--branco);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
}

.faq-answer {
    padding: 1.5rem;
    display: none;
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-item.active .faq-answer {
    display: block;
}

/* CTA Final Section */
.cta-final {
    background-color: var(--marrom);
    color: var(--branco);
}

.cta-final h2 {
    color: var(--dourado);
}

.cta-final p {
    max-width: 600px;
    margin: 0 auto 1rem;
}

.cta-contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.cta-contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

/* garantir texto branco nos CTAs principais (botões) */
.cta-contact-info .btn,
.cta-contact-info .btn-sm,
.cta-contact-info .btn-lg,
.cta-contact-info a.btn {
    color: #ffffff !important;
}

.cta-contact-info .btn:hover,
.cta-contact-info .btn:focus,
.cta-contact-info .btn-sm:hover,
.cta-contact-info .btn-sm:focus,
.cta-contact-info .btn-lg:hover,
.cta-contact-info .btn-lg:focus,
.cta-contact-info a.btn:hover,
.cta-contact-info a.btn:focus {
    color: #ffffff !important;
}

.cta-contact-info i {
    color: var(--dourado);
    font-size: 1.2rem;
}

.cta-contact-info a {
    color: var(--dourado);
    text-decoration: none;
}

/* CTAs destacados */
.btn-whatsapp {
    background-color: #25D366; /* WhatsApp green */
    color: #fff;
    border: none;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.22);
}
.btn-instagram {
    background: radial-gradient(circle at 30% 30%, #feda75 0%, #fa7e1e 20%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
    color: #fff;
    border: none;
    box-shadow: 0 6px 18px rgba(214, 79, 120, 0.16);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(214, 79, 120, 0.22);
}

@media (max-width: 576px) {
    .btn-whatsapp, .btn-instagram, .btn-lg {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* animação pulse para CTAs pequenos */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.03); opacity: 0.95; }
    100% { transform: scale(1); opacity: 1; }
}

.cta-contact-info .btn-sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.95rem;
    font-weight: 600;
    animation: pulse 3s ease-in-out infinite;
}

.cta-contact-info .btn-sm:hover {
    animation: none;
    transform: translateY(-4px) scale(1.02);
}

/* Contato Section */
.contato {
    background-color: var(--cinza-claro);
}

.form-container {
    background-color: var(--marrom);
    color: var(--branco);
}

.contact-alternatives {
    color: var(--branco);
}

.contact-icons a {
    color: var(--dourado);
    transition: transform 0.3s ease, color 0.3s ease;
}

.contact-icons a:hover {
    transform: scale(1.2);
    color: var(--branco);
}

/* garantir ícones brancos nas áreas de contato e CTAs */
.contact-icons a i,
.contact-info i,
.cta-contact-info .btn i,
.cta-contact-info a i {
    color: #ffffff !important;
}

.contact-icons a:hover i {
    color: #ffffff !important;
}

/* Footer */
footer {
    background-color: var(--preto);
    color: var(--branco);
    padding: 3rem 0;
    text-align: center;
}

.footer-logo-inner {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem 1.5rem;
    /* remover qualquer borda/amarelo ao redor do logo */
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent; /* manter visual limpo */
}

.contact-info a {
    color: var(--dourado);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--dourado-claro);
}

.contact-info i {
    color: var(--dourado);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 1rem;
}

/* Impulsolab Tag (footer placement) */
#impulsolab-tag {
    /* forçar fixo no rodapé e cobertura total da viewport */
    position: fixed !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    background: var(--branco) !important;
    color: var(--dourado) !important;
    padding: 0.6rem 0 !important;
    text-align: center !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    z-index: 99999 !important;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08) !important;
    display: block !important;
}

#impulsolab-tag .impulsolab-link img {
    display: inline-block;
    max-width: 140px;
    height: auto;
    opacity: 0.95;
}

/* evita que o footer fique embaixo da tag fixa */
footer {
    padding-bottom: 5.5rem; /* espaço extra para a tag fixa */
}

@media (max-width: 576px) {
    footer { padding-bottom: 7rem; }
    #impulsolab-tag { padding: 0.9rem 0 !important; }
}

/* Botão WhatsApp flutuante */
.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 4.25rem; /* acima da impulsolab */
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    z-index: 100200; /* acima da impulsolab */
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.whatsapp-float i { font-size: 1.35rem; }
.whatsapp-float:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.22); }

@media (max-width: 576px) {
    .whatsapp-float { right: 1rem; bottom: 5.8rem; width: 52px; height: 52px; }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsividade - Bootstrap já cuida da maior parte, ajustes específicos aqui */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .logo-container {
        top: 1rem;
    }
    
    .footer-logo-inner {
        padding: 0.6rem 1rem;
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
        background: transparent;
    }
}
