/* =================================== */
/* RESET E BASE */
/* =================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    padding-top: 90px;
}

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* =================================== */
/* HEADER & NAVEGAÇÃO */
/* =================================== */
.header {
    position: fixed; top: 0; width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(218, 165, 32, 0.3);
}
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 50px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-link {
    color: #ffffff; text-decoration: none; font-weight: 500;
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: #DAA520; }
.cta-button {
    background: #DAA520; color: #000; padding: 12px 25px;
    border-radius: 30px; text-decoration: none; font-weight: 600;
    transition: all 0.3s ease;
}
.cta-button:hover {
    background: transparent; color: #DAA520; border: 2px solid #DAA520;
}
.mobile-menu-toggle {
    display: none; flex-direction: column; cursor: pointer;
}
.mobile-menu-toggle span {
    width: 25px; height: 3px; background: #fff; margin: 3px 0; transition: 0.3s;
}

/* =================================== */
/* HERO SECTION */
/* =================================== */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1920&h=1080&fit=crop') center/cover;
    display: flex; align-items: center; position: relative;
}
.hero-overlay { width: 100%; height: 100%; display: flex; align-items: center; }
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; animation: fadeInUp 1s ease-out; }
.hero-title {
    font-family: 'Playfair Display', serif; font-size: 3.5rem; font-weight: 700;
    margin-bottom: 25px; line-height: 1.2;
}
.hero-subtitle { font-size: 1.3rem; margin-bottom: 40px; color: rgba(255,255,255,0.9); line-height: 1.6; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.btn-primary, .btn-secondary {
    display: inline-block; border-radius: 50px; font-weight: 600; font-size: 1.1rem; transition: all 0.3s;
    text-decoration: none; padding: 18px 35px; margin: 0 auto;
}
.btn-primary { background: #DAA520; color: #000; }
.btn-primary:hover { background: transparent; color: #DAA520; border: 2px solid #DAA520; transform: translateY(-2px); }
.btn-secondary { border: 2px solid #DAA520; color: #DAA520; padding: 16px 35px; }
.btn-secondary:hover { background: #DAA520; color: #000; transform: translateY(-2px); }

/* =================================== */
/* SEÇÃO PROBLEMAS */
/* =================================== */
section { padding: 80px 0; }
.section-title {
    font-family: 'Playfair Display', serif; font-size: 2.5rem; text-align: center;
    margin-bottom: 50px; color: #fff;
}
.problemas { background: #1F1F1F; }
.problemas-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px; margin-bottom: 40px;
}
.problema-item {
    text-align: center; padding: 30px 20px; background: #000;
    border-radius: 15px; border: 1px solid rgba(218,165,32,0.3); transition: transform 0.3s;
    animation: fadeInUp 0.8s ease-out;
}
.problema-item:hover { transform: translateY(-5px); border-color: #DAA520; }
.problema-icon { font-size: 3rem; margin-bottom: 20px; }
.problema-item h3 { color: #DAA520; margin-bottom: 15px; font-size: 1.2rem; }
.problemas-text {
    text-align: center; font-size: 1.1rem; color: rgba(255,255,255,0.9);
    max-width: 800px; margin: 0 auto; line-height: 1.7;
}

/* =================================== */
/* SEÇÃO SOLUÇÃO */
.solucao { background: #000; }
.solucao-content {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.solucao-text h3 { color: #DAA520; font-size: 1.8rem; margin-bottom: 25px; }
.solucao-text p { font-size: 1.1rem; margin-bottom: 25px; line-height: 1.7; }
.solucao-list { list-style: none; }
.solucao-list li { padding: 10px 0; font-size: 1.1rem; color: rgba(255,255,255,0.9); }
.solucao-cards {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.card {
    background: #1F1F1F; padding: 25px; border-radius: 15px; border: 1px solid rgba(218,165,32,0.3);
    text-align: center; transition: all 0.3s; animation: fadeInUp 0.8s ease-out;
}
.card:hover { transform: translateY(-5px); border-color: #DAA520; }
.card-icon { font-size: 2.5rem; margin-bottom: 15px; }
.card h4 { color: #DAA520; margin-bottom: 15px; font-size: 1.1rem; }
.card p { font-size: 0.95rem; color: rgba(255,255,255,0.8); line-height: 1.6; }

/* =================================== */
/* SEÇÃO PROCESSO */
.processo { background: #1F1F1F; }
.processo-steps {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px; margin-bottom: 40px;
}
.step {
    text-align: center; padding: 30px 20px; background: #000; border-radius: 15px;
    border: 1px solid rgba(218,165,32,0.3); transition: transform 0.3s, border-color 0.3s;
    position: relative; width: 100%; max-width: 350px; animation: fadeInUp 0.8s ease-out;
}
.step:hover { transform: translateY(-5px); border-color: #DAA520; }
.step-number {
    position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
    background: #DAA520; color: #000; width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem;
}
.step-icon { font-size: 3rem; margin: 30px 0 20px; }
.step h3 { color: #DAA520; margin-bottom: 15px; font-size: 1.2rem; }
.step p { color: rgba(255,255,255,0.9); line-height: 1.6; }
.step.placeholder { visibility: hidden; pointer-events: none; }
.cta-buttons-processo { text-align: center;}

/* =================================== */
/* SEÇÃO DEPOIMENTOS */
.depoimentos { background: #1F1F1F; }
.depoimentos-carousel {
    max-width: 800px; margin: 0 auto; position: relative;
    min-height: 400px; /* fixo ou mínimo para evitar jump */
    transition: min-height 0.4s;
    overflow: auto;
    position: relative;
}
.depoimento {
    display: none; text-align: center; padding: 40px; background: #000;
    border-radius: 20px; border: 1px solid rgba(218,165,32,0.3);
}
.depoimento.active { display: block; }
.aspas { font-size: 4rem; color: #DAA520; line-height: 1; margin-bottom: 20px; }
.depoimento-content p {
    font-size: 1.2rem; font-style: italic; line-height: 1.7; margin-bottom: 25px; color: rgba(255,255,255,0.9);
}
.depoimento-autor { color: #DAA520; font-weight: 600; }
.carousel-dots { text-align: center; margin-top: 30px; }
.dot {
    height: 15px; width: 15px; margin: 0 5px; background-color: rgba(218,165,32,0.3);
    border-radius: 50%; border: none; cursor: pointer; transition: background-color 0.3s;
}
.dot.active, .dot:hover { background-color: #DAA520; }
.disclaimer { text-align: center; margin-top: 30px; font-size: 0.9rem; color: rgba(255,255,255,0.6); }

/* =================================== */
/* SEÇÃO ÉTICA */
.etica { background: #000; }
.etica-content { max-width: 800px; margin: 0 auto; text-align: center; }
.etica-content p { font-size: 1.1rem; line-height: 1.7; margin-bottom: 25px; }
.etica-destaque { color: #DAA520 !important; font-weight: 600; font-size: 1.2rem !important; }

/* =================================== */
/* SEÇÃO FAQ */
.faq { background: #1F1F1F; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 20px; border: 1px solid rgba(218,165,32,0.3); border-radius: 10px; overflow: hidden; }
.faq-question {
    width: 100%; padding: 20px; background: #000; border: none; color: #fff;
    text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    font-size: 1.1rem; font-weight: 600; transition: background-color 0.3s;
}
.faq-question:hover { background: rgba(218,165,32,0.1); }
.faq-icon { color: #DAA520; font-size: 1.5rem; font-weight: 300; transition: transform 0.3s; }
.faq-answer { max-height: 0; overflow: hidden; background: #1F1F1F; transition: max-height 0.3s; }
.faq-answer p { padding: 20px; line-height: 1.6; color: rgba(255,255,255,0.9); }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* =================================== */
/* CTA FINAL */
.cta-final { background: #000; padding: 60px 0; }
.cta-flex-container {
    display: flex; justify-content: center; align-items: center; gap: 60px;
    max-width: 1200px; margin: 0 auto; flex-wrap: wrap;
}
.cta-content {
    flex: 1 1 400px; min-width: 320px; max-width: 500px; text-align: left;
}
.cta-content h2 { font-family: 'Playfair Display', serif; font-size: 2.5rem; margin-bottom: 25px; color: #fff; }
.cta-content p { font-size: 1.2rem; margin-bottom: 40px; color: rgba(255,255,255,0.9); line-height: 1.7; }
.cta-buttons { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.btn-primary-large {
    background: #DAA520; color: #000; padding: 20px 40px; border-radius: 50px;
    text-decoration: none; font-weight: 700; font-size: 1.2rem; transition: all 0.3s;
    display: inline-block; max-width: 500px; width: 100%;
}
.btn-primary-large:hover { background: transparent; color: #DAA520; border: 2px solid #DAA520; transform: translateY(-3px); }
.btn-whatsapp {
    color: #25D366; border: 2px solid #25D366; padding: 15px 30px; border-radius: 50px;
    text-decoration: none; font-weight: 600; font-size: 1.1rem; transition: all 0.3s;
    display: inline-block;
}
.btn-whatsapp:hover { background: #25D366; color: #fff; transform: translateY(-2px); }
.mapa-localizacao {
    flex: 1 1 350px; max-width: 600px; min-width: 280px; aspect-ratio: 4/3;
    border-radius: 10px; overflow: hidden; margin: 0; background: #fff;
}
.mapa-localizacao iframe { width: 100%; height: 100%; border: 0; display: block; }

/* =================================== */
/* FOOTER */
.footer { background: #000; border-top: 2px solid #DAA520; padding: 50px 0 30px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.footer-logo-img { height: 60px; width: auto; margin-bottom: 20px; }
.footer-text { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-col h4 { color: #DAA520; margin-bottom: 20px; font-size: 1.2rem; }
.contact-item { display: flex; align-items: center; margin-bottom: 15px; }
.contact-icon { margin-right: 10px; font-size: 1.2rem; }
.contact-link { color: #fff; text-decoration: none; transition: color 0.3s; }
.contact-link:hover { color: #DAA520; }
.contact-text { color: rgba(255,255,255,0.9); line-height: 1.5; }
.legal-text { color: rgba(255,255,255,0.9); font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; }
.disclaimer-footer { color: rgba(255,255,255,0.6); font-size: 0.8rem; line-height: 1.5; }

/* =================================== */
/* RESPONSIVIDADE */
@media (min-width: 900px) {
    .processo-steps {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: 1fr 1fr;
      gap: 40px 32px;
      justify-items: center;
      align-items: start;
      align-items: stretch;
    }
    .processo-steps .step {
      min-width: 280px;
      max-width: 350px;
      width: 100%;
    }
    .processo-steps .step:nth-child(1) { grid-row: 1; grid-column: 1; }
    .processo-steps .step:nth-child(2) { grid-row: 1; grid-column: 2; }
    .processo-steps .step:nth-child(3) { grid-row: 1; grid-column: 3; }
    .processo-steps .step:nth-child(4) { grid-row: 2; grid-column: 3; }
    .processo-steps .step:nth-child(5) { grid-row: 2; grid-column: 3; }
  }
  
@media (min-width: 900px) {
    .problemas-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 1fr 1fr;
        gap: 40px 32px;
        justify-items: center;
        align-items: start;
        align-items: stretch;
    }

    .problema-item:nth-child(1) { grid-row: 1; grid-column: 1;}
    .problema-item:nth-child(2) { grid-row: 1; grid-column: 2;}
    .problema-item:nth-child(3) { grid-row: 1; grid-column: 3;}
    .problema-item:nth-child(4) { grid-row: 2; grid-column: 1;}
    .problema-item:nth-child(5) { grid-row: 2; grid-column: 2;}
    .problema-item:nth-child(6) { grid-row: 2; grid-column: 3;}

}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .mobile-menu-toggle { display: flex; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-primary, .btn-secondary { width: 100%; max-width: 300px; text-align: center; }
    .section-title { font-size: 2rem; }
    .solucao-content, .solucao-cards, .advogado-content, .footer-content { grid-template-columns: 1fr; gap: 40px; }
    .cta-content h2 { font-size: 2rem; }
    section { padding: 60px 0; }
}
@media (max-width: 480px) {
    .container { padding: 0 15px; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 1.8rem; }
    .problemas-grid { grid-template-columns: 1fr; }
    .btn-primary-large { font-size: 1rem; padding: 18px 30px; }
}
@media (max-width: 768px) {
    .header, header {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        z-index: auto !important;
    }
    body {
        padding-top: 0 !important;
    }
}


/* =================================== */
/* ANIMAÇÕES */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
