:root {
    --bg-dark: #0f3057;
    --bg-dark-alt: #091f3a;
    --text-primary: #0f3057;
    --accent-light: rgba(15, 48, 87, 0.15);
    --border-subtle: rgba(15, 48, 87, 0.1);
    --shadow-soft: 0 4px 20px rgba(15, 48, 87, 0.08);
    --shadow-medium: 0 8px 32px rgba(15, 48, 87, 0.12);
    --shadow-heavy: 0 16px 48px rgba(15, 48, 87, 0.16);
}
/* ===================================================
   CASSAÇÃO DE CNH - CSS ESPECÍFICO
   Wallace Souza Advocacia
   =================================================== */

/* ---------- HERO ---------- */
.hero-cnh {
  background-color: #0f3057;
  color: #fef6e4;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-cnh::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(206, 181, 132, 0.06);
  pointer-events: none;
}

.hero-cnh::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(206, 181, 132, 0.04);
  pointer-events: none;
}

.hero-cnh h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #fef6e4;
}

.hero-cnh h1 span {
  color: #ceb584;
}

.hero-cnh .hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(254, 246, 228, 0.82);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-cnh .hero-img-wrapper {
  position: relative;
  text-align: center;
}

.hero-cnh .hero-img-wrapper img {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  border: 4px solid rgba(206, 181, 132, 0.3);
  object-fit: cover;
}

.hero-cnh .hero-img-wrapper::before {
  content: '';
  position: absolute;
  top: -14px;
  left: -14px;
  right: 14px;
  bottom: 14px;
  border: 2px solid rgba(206, 181, 132, 0.2);
  border-radius: 22px;
  pointer-events: none;
}

/* ---------- BOTÕES ---------- */
.btn-gold {
  background-color: #ceb584;
  color: #0f3057;
  border: none;
  padding: 14px 34px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-gold:hover {
  background-color: #b89b5e;
  color: #0f3057;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(206, 181, 132, 0.4);
}

.btn-outline-light-custom {
  border: 2px solid rgba(254, 246, 228, 0.5);
  color: #fef6e4;
  padding: 12px 30px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  background: transparent;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-light-custom:hover {
  border-color: #ceb584;
  color: #ceb584;
  background: rgba(206, 181, 132, 0.08);
  transform: translateY(-2px);
}

.btn-gold-outline {
  border: 2px solid #ceb584;
  color: #ceb584;
  padding: 14px 34px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  background: transparent;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-gold-outline:hover {
  background-color: #ceb584;
  color: #0f3057;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(206, 181, 132, 0.35);
}

/* ---------- SECTION TITLES ---------- */
.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f3057;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section-title span {
  color: #ceb584;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #475c75;
  max-width: 620px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.section-title-light {
  color: #fef6e4;
}

.section-subtitle-light {
  color: rgba(254, 246, 228, 0.75);
}

/* ---------- SEÇÃO PROBLEMAS ---------- */
.section-problemas {
  background-color: #fef6e4;
  padding: 100px 0;
}

.problema-card {
  background: #fff;
  border-radius: 14px;
  padding: 35px 28px;
  text-align: center;
  border: 1px solid rgba(15, 48, 87, 0.07);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.problema-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ceb584, #b89b5e);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.problema-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 45px rgba(15, 48, 87, 0.1);
  border-color: rgba(206, 181, 132, 0.3);
}

.problema-card:hover::before {
  transform: scaleX(1);
}

.problema-card .icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(206, 181, 132, 0.15), rgba(206, 181, 132, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.problema-card:hover .icon-circle {
  background: linear-gradient(135deg, #ceb584, #b89b5e);
}

.problema-card .icon-circle i {
  font-size: 1.6rem;
  color: #ceb584;
  transition: color 0.3s ease;
}

.problema-card:hover .icon-circle i {
  color: #fff;
}

.problema-card h5 {
  font-weight: 700;
  color: #0f3057;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.problema-card p {
  color: #475c75;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---------- SEÇÃO SERVIÇOS ---------- */
.section-servicos {
  background-color: #0f3057;
  padding: 100px 0;
}

.servico-card {
  background: rgba(254, 246, 228, 0.05);
  border: 1px solid rgba(206, 181, 132, 0.15);
  border-radius: 14px;
  padding: 38px 30px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.servico-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ceb584, #b89b5e);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.servico-card:hover {
  background: rgba(254, 246, 228, 0.1);
  border-color: rgba(206, 181, 132, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.25);
}

.servico-card:hover::after {
  transform: scaleX(1);
}

.servico-card .servico-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(206, 181, 132, 0.15);
  line-height: 1;
  margin-bottom: 15px;
}

.servico-card h5 {
  font-weight: 700;
  color: #fef6e4;
  margin-bottom: 14px;
  font-size: 1.15rem;
}

.servico-card p {
  color: rgba(254, 246, 228, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.servico-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.servico-card ul li {
  color: rgba(254, 246, 228, 0.65);
  font-size: 0.9rem;
  padding: 5px 0;
  padding-left: 22px;
  position: relative;
}

.servico-card ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #ceb584;
  font-size: 0.8rem;
}

/* ---------- COMO FUNCIONA ---------- */
.section-como-funciona {
  background-color: #fef6e4;
  padding: 100px 0;
}

.passo-card {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

.passo-numero {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f3057, #1a4c80);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 8px 30px rgba(15, 48, 87, 0.2);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.passo-card:hover .passo-numero {
  transform: scale(1.08);
}

.passo-numero span {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ceb584;
}

.passo-card h5 {
  font-weight: 700;
  color: #0f3057;
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.passo-card p {
  color: #475c75;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 300px;
  margin: 0 auto;
}

.passo-connector {
  position: absolute;
  top: 68px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ceb584, rgba(206, 181, 132, 0.2));
  z-index: 1;
}

/* ---------- FAQ ---------- */
.section-faq {
  background-color: #f5eed9;
  padding: 100px 0;
}

.faq-accordion .accordion-item {
  background: #fff;
  border: 1px solid rgba(15, 48, 87, 0.08);
  border-radius: 12px !important;
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  background: #fff;
  color: #0f3057;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 20px 26px;
  box-shadow: none;
  border-radius: 12px !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(206, 181, 132, 0.08);
  color: #0f3057;
}

.faq-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230f3057'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
  color: #475c75;
  font-size: 0.95rem;
  line-height: 1.8;
  padding: 0 26px 22px;
}

/* ---------- CTA FINAL ---------- */
.section-cta-final {
  background: linear-gradient(135deg, #0f3057 0%, #091f3a 100%);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-cta-final::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(206, 181, 132, 0.04);
  pointer-events: none;
}

.section-cta-final h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fef6e4;
  margin-bottom: 1rem;
}

.section-cta-final h2 span {
  color: #ceb584;
}

.section-cta-final p {
  color: rgba(254, 246, 228, 0.75);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* ---------- FOOTER ---------- */
.footer {
  background-color: #091f3a;
  padding: 60px 0 25px;
  color: rgba(254, 246, 228, 0.6);
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 18px;
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(254, 246, 228, 0.55);
}

.footer h6 {
  color: #ceb584;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(254, 246, 228, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #ceb584;
  padding-left: 5px;
}

.footer-social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(206, 181, 132, 0.25);
  align-items: center;
  justify-content: center;
  color: rgba(254, 246, 228, 0.7);
  margin-right: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1rem;
}

.footer-social a:hover {
  background: #ceb584;
  border-color: #ceb584;
  color: #0f3057;
  transform: translateY(-3px);
}

.footer-divider {
  border-color: rgba(254, 246, 228, 0.1);
  margin: 30px 0 20px;
}

.footer-bottom {
  font-size: 0.82rem;
  color: rgba(254, 246, 228, 0.4);
}

/* ---------- WHATSAPP FLUTUANTE ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.7rem;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 35px rgba(37, 211, 102, 0.55);
  color: #fff;
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- NAVBAR ---------- */
.navbar-custom {
  background-color: rgba(15, 48, 87, 0.95);
  padding: 12px 0;
  transition: all 0.35s ease;
  z-index: 1000;
  border-bottom: 1px solid rgba(206, 181, 132, 0.15);
}

.navbar-custom.scrolled {
  background-color: #091f3a;
  padding: 8px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar-custom .navbar-brand img {
  height: 80px;
  transition: height 0.3s ease;
}

.navbar-custom.scrolled .navbar-brand img {
  height: 60px;
}

.navbar-custom .nav-link {
  color: rgba(254, 246, 228, 0.8);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 16px !important;
  transition: color 0.3s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: #ceb584;
}

.navbar-custom .navbar-toggler {
  border-color: rgba(206, 181, 132, 0.3);
  padding: 6px 10px;
}

.navbar-custom .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(254,246,228,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-nav-whatsapp {
  background-color: #ceb584;
  color: #0f3057;
  border: none;
  padding: 9px 22px;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-nav-whatsapp:hover {
  background-color: #b89b5e;
  color: #0f3057;
  transform: translateY(-1px);
}

/* ---------- ANIMAÇÕES ---------- */
.fade-up,
.fade-left,
.fade-right {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up {
  transform: translateY(40px);
}

.fade-left {
  transform: translateX(-40px);
}

.fade-right {
  transform: translateX(40px);
}

.fade-up.visible,
.fade-left.visible,
.fade-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* ---------- BADGE ---------- */
.badge-gold {
  background: rgba(206, 181, 132, 0.15);
  color: #ceb584;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 6px 16px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-block;
  margin-bottom: 18px;
  border: 1px solid rgba(206, 181, 132, 0.25);
}

/* ---------- RESPONSIVIDADE ---------- */
@media (max-width: 991.98px) {
  .hero-cnh {
    padding: 100px 0 60px;
    text-align: center;
    min-height: auto;
  }

  .hero-cnh h1 {
    font-size: 2.2rem;
  }

  .hero-cnh .hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cnh .hero-img-wrapper {
    margin-top: 40px;
  }

  .hero-cnh .hero-img-wrapper::before {
    display: none;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .passo-connector {
    display: none;
  }

  .passo-card {
    margin-bottom: 30px;
  }

  .navbar-custom .navbar-collapse {
    background: #0f3057;
    padding: 20px;
    border-radius: 12px;
    margin-top: 10px;
    border: 1px solid rgba(206, 181, 132, 0.1);
  }
}

@media (max-width: 575.98px) {
  .hero-cnh h1 {
    font-size: 1.8rem;
  }

  .hero-cnh .hero-img-wrapper img {
    max-width: 300px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .btn-gold,
  .btn-gold-outline {
    padding: 12px 26px;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }

  .section-cta-final h2 {
    font-size: 1.7rem;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
  }
}
