/* ================================================
   STYLES ESPECÍFICOS PARA PÁGINA JURÍDICO
   ================================================ */

/* Hero Section Jurídico */
.hero-juridico {
  background: linear-gradient(135deg, #0f64e4 0%, #0b4eb7 50%, #083f95 100%);
  position: relative;
}

.hero-juridico::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-juridico .hero-bg-shape {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  top: -120px;
  right: -120px;
}

.hero-grid-juridico {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 420px;
  gap: 26px;
  align-items: start;
}

.hero-juridico .hero-copy {
  max-width: 700px;
}

.hero-juridico .hero-copy h1 {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
}

.hero-juridico .hero-lead {
  color: #e8f0ff;
  font-size: 1.08rem;
  margin-bottom: 30px;
  max-width: 65ch;
  line-height: 1.7;
}

.hero-juridico .eyebrow {
  color: #ffeb3b;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

/* Hero Form */
.hero-form {
  position: sticky;
  top: 100px;
}

.hero-form h2 {
  font-size: 1.46rem;
}

.hero-form > p {
  color: #5a6d88;
  font-size: 0.9rem;
}

.hero-form label {
  display: grid;
  gap: 5px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e417d;
}

.hero-form input,
.hero-form select {
  min-height: 45px;
  border: 1px solid #cad8ee;
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
  background: #ffffff;
  color: var(--ink);
}

.hero-form input::placeholder {
  color: #9db3d4;
}

.hero-form input:focus,
.hero-form select:focus {
  outline: 2px solid #98bcf9;
  border-color: #98bcf9;
}

.hero-form select option {
  color: var(--ink);
  background: #ffffff;
}

.hero-form button {
  margin-top: 8px;
}

.legal {
  margin-top: 3px;
  color: #5d7090;
  font-size: 0.81rem;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #138c47 0%, #0d6a35 100%);
  display: inline-flex;
  gap: 10px;
  font-size: 0.96rem;
  padding: 0 28px;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #0f7a3a 0%, #0a5529 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(19, 140, 71, 0.4);
}

.btn-whatsapp i {
  font-size: 1.2rem;
}

/* Seção de Identificação */
.section-identificacao {
  padding: 70px 0;
  background: #ffffff;
}

.section-identificacao h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 70ch;
  line-height: 1.3;
}

.section-lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 80ch;
  line-height: 1.7;
}

.denial-checklist {
  background: linear-gradient(135deg, #f3f7ff 0%, #e8f0ff 100%);
  border: 2px solid #d9e4f5;
  border-radius: 16px;
  padding: 40px;
  margin-top: 40px;
}

.denial-checklist h3 {
  font-size: 1.3rem;
  color: #083f95;
  margin-bottom: 25px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.checklist li {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: #ffffff;
  border-radius: 10px;
  border-left: 4px solid #d32f2f;
  align-items: flex-start;
}

.checklist li span {
  font-size: 0.96rem;
  color: #556684;
}

.icon-denied {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #ffebee;
  border-radius: 50%;
  flex-shrink: 0;
  color: #d32f2f;
  font-weight: bold;
  font-size: 0.8rem;
}

/* Seção da Solução */
.section-solucao {
  padding: 70px 0;
  background: linear-gradient(135deg, #f8fbff 0%, #f0f5ff 100%);
}

.section-solucao h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #083f95;
  margin-bottom: 20px;
  max-width: 70ch;
}

.liminar-box {
  background: #ffffff;
  border: 2px solid #0b5bd3;
  border-left: 6px solid #0b5bd3;
  border-radius: 12px;
  padding: 30px;
  margin-top: 40px;
  max-width: 700px;
}

.liminar-box h3 {
  font-size: 1.4rem;
  color: #083f95;
  margin-bottom: 15px;
}

.liminar-box p {
  color: #556684;
  font-size: 1rem;
  line-height: 1.7;
}

.liminar-box strong {
  color: #083f95;
  font-weight: 700;
}

/* Seção Como Funciona */
.section-funcionamento {
  padding: 70px 0;
  background: #ffffff;
}

.section-funcionamento h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--ink);
  margin-bottom: 50px;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.step-card {
  background: linear-gradient(135deg, #f3f7ff 0%, #ffffff 100%);
  border: 2px solid #d9e4f5;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: #0b5bd3;
  box-shadow: 0 16px 48px rgba(11, 91, 211, 0.15);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0f64e4 0%, #0b4eb7 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 auto 20px;
  font-family: "Montserrat", sans-serif;
}

.step-card h3 {
  font-size: 1.25rem;
  color: #083f95;
  margin-bottom: 15px;
}

.step-card p {
  color: #556684;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Seção FAQ */
.section-faq {
  padding: 70px 0;
  background: linear-gradient(135deg, #f8fbff 0%, #f0f5ff 100%);
}

.section-faq h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #083f95;
  margin-bottom: 50px;
  text-align: center;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #d9e4f5;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #0b5bd3;
  box-shadow: 0 8px 24px rgba(11, 91, 211, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  background: #ffffff;
  user-select: none;
  transition: background 0.2s ease;
}

.faq-item:hover .faq-question {
  background: #f8fbff;
}

.faq-question h3 {
  font-size: 1.05rem;
  color: #083f95;
  margin: 0;
  flex: 1;
  text-align: left;
}

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #0b5bd3;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  margin-left: 16px;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #f8fbff;
}

.faq-item.active .faq-answer {
  padding: 20px 24px;
  max-height: 500px;
}

.faq-answer p {
  color: #556684;
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq-answer strong {
  color: #083f95;
  font-weight: 700;
}

/* Seção Footer */
.section-footer {
  padding: 70px 0;
  background: linear-gradient(135deg, #083f95 0%, #0b4eb7 50%, #0b5bd3 100%);
  text-align: center;
  position: relative;
}

.section-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 25% 35%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 75% 65%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.section-footer h2 {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 20px;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

.section-footer-lead {
  position: relative;
  z-index: 1;
  color: #e8f0ff;
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.footer-cta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.btn-whatsapp-large {
  background: linear-gradient(135deg, #138c47 0%, #0d6a35 100%);
  font-size: 1.05rem;
  padding: 16px 40px;
  min-height: 56px;
  gap: 12px;
  box-shadow: 0 12px 36px rgba(19, 140, 71, 0.3);
}

.btn-whatsapp-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(19, 140, 71, 0.4);
}

.btn-whatsapp-large i {
  font-size: 1.3rem;
}

/* Page Footer */
.page-footer {
  background: #081f44;
  color: #d8e7ff;
  padding: 30px 0;
  font-size: 0.9rem;
  text-align: center;
}

.footer-content p {
  margin: 8px 0;
}

/* Animações de Reveal */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section.reveal {
  opacity: 0;
  animation: slideInUp 0.8s ease-out forwards;
}

section.reveal:nth-of-type(2) {
  animation-delay: 0.1s;
}

section.reveal:nth-of-type(3) {
  animation-delay: 0.2s;
}

section.reveal:nth-of-type(4) {
  animation-delay: 0.3s;
}

section.reveal:nth-of-type(5) {
  animation-delay: 0.4s;
}

section.reveal:nth-of-type(6) {
  animation-delay: 0.5s;
}

section.visible {
  opacity: 1;
}

.header-actions {
  display: flex;
  gap: 8px;
}

.mode-btn {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #b8ccec;
  background: #fff;
  color: #1e417d;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mode-btn-active {
  border-color: #1e5bc1;
  background: #1e5bc1;
  color: #fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: #1e417d;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Responsivo */
@media (max-width: 768px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .hero-grid-juridico {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-form {
    position: static;
  }

  .hero-juridico .hero-copy h1 {
    font-size: 2rem;
  }

  .hero-juridico .hero-lead {
    font-size: 1rem;
  }

  .denial-checklist {
    padding: 25px;
  }

  .checklist {
    grid-template-columns: 1fr;
  }

  .liminar-box {
    padding: 25px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .step-card {
    padding: 30px 20px;
  }

  .section-identificacao,
  .section-solucao,
  .section-funcionamento,
  .section-faq,
  .section-footer {
    padding: 50px 0;
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  .faq-question {
    padding: 16px;
  }

  .faq-answer {
    padding: 0;
  }

  .faq-item.active .faq-answer {
    padding: 16px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-whatsapp,
  .btn-whatsapp-large {
    width: 100%;
    justify-content: center;
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-top: 1px solid #e2e9f6;
    padding: 12px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 1000;
  }

  .header-actions.active {
    max-height: 200px;
  }

  .mode-btn {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #e2e9f6;
    padding: 12px 20px;
    font-size: 0.9rem;
    min-height: auto;
    justify-content: flex-start;
  }

  .mode-btn-active {
    background: #f0f5ff;
  }

  .nav {
    gap: 12px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .hero-juridico .hero-copy h1 {
    font-size: 1.5rem;
  }

  .hero-juridico .hero-lead {
    font-size: 0.9rem;
  }

  .section-identificacao h2,
  .section-solucao h2,
  .section-funcionamento h2,
  .section-faq h2,
  .section-footer h2 {
    font-size: 1.6rem;
  }

  .section-lead,
  .section-footer-lead {
    font-size: 0.95rem;
  }

  .checklist {
    gap: 12px;
  }

  .checklist li {
    padding: 12px;
    font-size: 0.9rem;
  }

  .step-card {
    padding: 25px 15px;
  }

  .denial-checklist {
    padding: 20px;
  }

  .faq-question {
    padding: 14px;
  }

  .faq-question h3 {
    font-size: 0.95rem;
  }

  .hero-form {
    padding: 16px;
  }

  .hero-form h2 {
    font-size: 1.2rem;
  }
}
