/* ==========================================================================
   FMS Advocacia — Landing Page Divórcio em Cartório
   custom.css — Design tokens + overrides Bootstrap 5.3
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand colors */
  --fmb-gold:        #C9A961;
  --fmb-gold-dark:   #8B7239;
  --fmb-gold-light:  #E8D49A;
  --fmb-dark:        #1A2B45;
  --fmb-footer-bg:   #0E1F35;
  --fmb-bg:          #F5F7FB;
  --fmb-text:        #283541;
  --fmb-muted:       #6B7A8C;
  --fmb-card-dark:   #1E3857;
  --fmb-border:      #D8DCE8;
  --fmb-accent-bg:   #EEF2F9;

  /* Typography scale */
  --fmb-font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --fmb-font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --fmb-section-py:  5rem;
  --fmb-section-py-mobile: 3rem;

  /* Radius */
  --fmb-radius:     0.75rem;
  --fmb-radius-lg:  1.25rem;

  /* Shadows */
  --fmb-shadow:     0 4px 24px rgba(26, 43, 69, 0.10);
  --fmb-shadow-lg:  0 8px 40px rgba(26, 43, 69, 0.18);

  /* Transitions */
  --fmb-transition: 0.25s ease;
}

/* --------------------------------------------------------------------------
   2. Base / Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--fmb-font-body);
  color: var(--fmb-text);
  background-color: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

/* Scrollbar transparente / discreta (mantem rolagem funcional) */
html { scrollbar-width: thin; scrollbar-color: rgba(26, 43, 69, 0.18) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; background: transparent; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(26, 43, 69, 0.18); border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: rgba(26, 43, 69, 0.32); }
/* No mobile, scrollbar nativa some (rolagem por toque continua igual) */
@media (max-width: 767.98px) {
  html { scrollbar-width: none; }
  ::-webkit-scrollbar { width: 0; height: 0; }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fmb-font-heading);
  color: var(--fmb-dark);
  line-height: 1.25;
  font-weight: 700;
}

a {
  color: var(--fmb-gold);
  text-decoration: none;
  transition: color var(--fmb-transition);
}

a:hover {
  color: var(--fmb-gold-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* Skip-to-content link for accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--fmb-gold);
  color: var(--fmb-dark);
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--fmb-radius) var(--fmb-radius);
  font-weight: 700;
  transition: top var(--fmb-transition);
}

.skip-link:focus {
  top: 0;
  color: var(--fmb-dark);
}

/* --------------------------------------------------------------------------
   3. Navbar
   -------------------------------------------------------------------------- */
#mainNav {
  background: rgba(26, 43, 69, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
  transition: box-shadow var(--fmb-transition), background var(--fmb-transition);
  border-bottom: 1px solid rgba(201, 169, 97, 0.15);
}

#mainNav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  background: rgba(14, 31, 53, 0.98);
}

#mainNav .navbar-brand img {
  height: 40px;
  width: auto;
}

#mainNav .nav-link {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 0.925rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.4rem 0.875rem !important;
  transition: color var(--fmb-transition);
}

#mainNav .nav-link:hover,
#mainNav .nav-link:focus {
  color: var(--fmb-gold) !important;
}

#mainNav .navbar-toggler {
  border-color: rgba(201, 169, 97, 0.4);
  color: var(--fmb-gold);
}

#mainNav .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%28201, 169, 97, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn-fmb-primary {
  background: linear-gradient(135deg, var(--fmb-gold) 0%, #b8923f 100%);
  color: #1A2B45;
  border: none;
  font-weight: 700;
  font-family: var(--fmb-font-body);
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: transform var(--fmb-transition), box-shadow var(--fmb-transition), filter var(--fmb-transition);
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.btn-fmb-primary:hover,
.btn-fmb-primary:focus {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 169, 97, 0.45);
  color: #1A2B45;
}

.btn-fmb-primary:active {
  transform: translateY(0);
}

.btn-fmb-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
  font-weight: 500;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color var(--fmb-transition), background var(--fmb-transition), color var(--fmb-transition);
  display: inline-block;
  text-align: center;
}

.btn-fmb-secondary:hover,
.btn-fmb-secondary:focus {
  border-color: var(--fmb-gold);
  color: var(--fmb-gold);
  background: rgba(201, 169, 97, 0.08);
}

/* Override Bootstrap primary btn */
.btn-primary {
  background: linear-gradient(135deg, var(--fmb-gold) 0%, #b8923f 100%) !important;
  border-color: transparent !important;
  color: #1A2B45 !important;
  font-weight: 700;
}

.btn-primary:hover,
.btn-primary:focus {
  filter: brightness(1.08);
  color: #1A2B45 !important;
}

/* --------------------------------------------------------------------------
   5. Section utilities
   -------------------------------------------------------------------------- */
.fmb-section {
  padding-top: var(--fmb-section-py);
  padding-bottom: var(--fmb-section-py);
}

.fmb-section-dark {
  background-color: var(--fmb-dark);
  color: #e8edf4;
}

.fmb-section-dark h2,
.fmb-section-dark h3,
.fmb-section-dark h4 {
  color: #fff;
}

.fmb-section-dark .text-muted,
.fmb-section-dark p {
  color: #9EB0C8 !important;
}

.fmb-section-light {
  background-color: var(--fmb-bg);
}

.fmb-section-white {
  background-color: #fff;
}

.fmb-section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.fmb-section-subtitle {
  color: var(--fmb-muted);
  font-size: 1.1rem;
  max-width: 580px;
}

/* --------------------------------------------------------------------------
   6. Badges
   -------------------------------------------------------------------------- */
.fmb-badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(201, 169, 97, 0.15);
  color: var(--fmb-gold);
  border: 1px solid rgba(201, 169, 97, 0.35);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--fmb-font-body);
  letter-spacing: 0.02em;
}

.fmb-badge-gold-dark {
  background: rgba(201, 169, 97, 0.12);
  color: var(--fmb-gold);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 100px;
  padding: 0.3rem 0.875rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   7. Hero section
   -------------------------------------------------------------------------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--fmb-dark);
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.22;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14, 31, 53, 0.92) 0%,
    rgba(26, 43, 69, 0.78) 60%,
    rgba(14, 31, 53, 0.55) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

#hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 1.25rem;
}

#hero h1 em {
  font-style: normal;
  color: var(--fmb-gold);
}

.hero-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.125rem;
  max-width: 520px;
  margin-bottom: 1.75rem;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 0.35rem 1rem 0.35rem 0.6rem;
}

.hero-bullets li i {
  color: var(--fmb-gold);
  font-size: 1rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hero-credentials {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* Hero image frame */
.hero-photo-frame {
  position: relative;
  display: inline-block;
}

.hero-photo-frame img {
  border-radius: var(--fmb-radius-lg);
  transform: rotate(-2deg);
  border: 4px solid var(--fmb-gold);
  box-shadow: var(--fmb-shadow-lg);
  max-height: 520px;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

.hero-photo-frame::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(201, 169, 97, 0.3);
  border-radius: calc(var(--fmb-radius-lg) + 4px);
  transform: rotate(-2deg);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   8. Credibility bar
   -------------------------------------------------------------------------- */
#credibility-bar {
  background: linear-gradient(135deg, var(--fmb-gold) 0%, #b8923f 100%);
  padding: 2.5rem 0;
}

.credibility-item {
  text-align: center;
  padding: 0.5rem 1rem;
}

.credibility-number {
  font-family: var(--fmb-font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #1A2B45;
  line-height: 1;
  display: block;
}

.credibility-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(26, 43, 69, 0.78);
  display: block;
  margin-top: 0.25rem;
}

.credibility-divider {
  width: 1px;
  background: rgba(26, 43, 69, 0.25);
  align-self: stretch;
  margin: 0.5rem 0;
}

.credibility-item--cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.credibility-cta-title {
  font-family: var(--fmb-font-heading);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 800;
  color: #1A2B45;
  line-height: 1.15;
  display: block;
}

.credibility-cta-subtitle {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(26, 43, 69, 0.78);
  display: block;
  margin-bottom: 0.5rem;
}

.credibility-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  background: var(--fmb-dark);
  color: #fff !important;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--fmb-transition), background var(--fmb-transition);
  border: 2px solid var(--fmb-dark);
}

.credibility-cta-btn:hover,
.credibility-cta-btn:focus {
  transform: translateY(-2px);
  background: #0E1F35;
  color: #fff !important;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   9. Eligibility section
   -------------------------------------------------------------------------- */
.eligibility-card {
  background: #fff;
  border: 1.5px solid var(--fmb-border);
  border-radius: var(--fmb-radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--fmb-shadow);
  transition: transform var(--fmb-transition), box-shadow var(--fmb-transition);
  height: 100%;
}

.eligibility-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fmb-shadow-lg);
}

.eligibility-card .check-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(201, 169, 97, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.eligibility-card .check-icon i {
  color: var(--fmb-gold);
  font-size: 1.15rem;
}

/* --------------------------------------------------------------------------
   10. How It Works
   -------------------------------------------------------------------------- */
.step-card {
  background: var(--fmb-card-dark);
  border-radius: var(--fmb-radius);
  padding: 2rem 1.75rem;
  border-top: 4px solid var(--fmb-gold);
  height: 100%;
  transition: transform var(--fmb-transition), box-shadow var(--fmb-transition);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.step-number {
  font-family: var(--fmb-font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--fmb-gold);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.step-title {
  color: #fff !important;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: #9EB0C8 !important;
  font-size: 0.95rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   11. Urgency section
   -------------------------------------------------------------------------- */
#urgency {
  background-color: var(--fmb-accent-bg);
  border-top: 1px solid var(--fmb-border);
  border-bottom: 1px solid var(--fmb-border);
}

.urgency-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 169, 97, 0.12);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--fmb-gold-dark);
  margin-bottom: 1.25rem;
}

.urgency-img {
  border-radius: var(--fmb-radius-lg);
  box-shadow: var(--fmb-shadow-lg);
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   12. About section
   -------------------------------------------------------------------------- */
.about-photo-frame {
  position: relative;
  display: inline-block;
}

.about-photo-frame img {
  border-radius: var(--fmb-radius-lg);
  border: 3px solid var(--fmb-gold);
  box-shadow: var(--fmb-shadow-lg);
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  object-position: top;
}

.about-oab-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--fmb-gold);
  color: var(--fmb-dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  box-shadow: var(--fmb-shadow);
  white-space: nowrap;
}

.about-credentials {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.about-credentials li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--fmb-border);
  font-size: 0.975rem;
  color: var(--fmb-text);
}

.about-credentials li:last-child {
  border-bottom: none;
}

.about-credentials li i {
  color: var(--fmb-gold);
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   13. FAQ / Accordion
   -------------------------------------------------------------------------- */
#faq .accordion-item {
  border: 1px solid var(--fmb-border);
  border-radius: var(--fmb-radius) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

#faq .accordion-button {
  font-family: var(--fmb-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fmb-dark);
  background-color: #fff;
  padding: 1.25rem 1.5rem;
  box-shadow: none !important;
}

#faq .accordion-button:not(.collapsed) {
  color: var(--fmb-gold-dark);
  background-color: rgba(201, 169, 97, 0.05);
}

#faq .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%238B7239'%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-body {
  padding: 0 1.5rem 1.25rem;
  color: var(--fmb-muted);
  font-size: 0.975rem;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   14. Testimonials
   -------------------------------------------------------------------------- */
.testimonial-card {
  background: var(--fmb-card-dark);
  border-radius: var(--fmb-radius);
  padding: 2rem 1.75rem;
  height: 100%;
  border: 1px solid rgba(201, 169, 97, 0.15);
  transition: transform var(--fmb-transition);
}

.testimonial-card:hover {
  transform: translateY(-3px);
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.testimonial-stars i {
  color: var(--fmb-gold);
  font-size: 1rem;
}

.testimonial-text {
  color: #9EB0C8 !important;
  font-size: 0.975rem;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  font-weight: 700;
  color: #fff !important;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   15. Widget / Diagnóstico section
   -------------------------------------------------------------------------- */
#diagnostico {
  background: linear-gradient(180deg, var(--fmb-bg) 0%, #fff 100%);
}

.widget-wrapper {
  background: #fff;
  border-radius: var(--fmb-radius-lg);
  box-shadow: var(--fmb-shadow-lg);
  padding: 2.5rem;
  border: 1px solid var(--fmb-border);
  min-height: 300px;
}

#fabia-widget {
  min-height: 280px;
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
#footer {
  background-color: var(--fmb-footer-bg);
  padding: 4rem 0 2rem;
  color: rgba(255,255,255,0.65);
}

#footer h5 {
  color: var(--fmb-gold);
  font-family: var(--fmb-font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

#footer a {
  color: rgba(255,255,255,0.65);
  transition: color var(--fmb-transition);
}

#footer a:hover {
  color: var(--fmb-gold);
}

#footer .footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.875rem;
  font-size: 0.9rem;
}

#footer .footer-contact-item i {
  color: var(--fmb-gold);
  font-size: 0.95rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.footer-divider {
  border-color: rgba(255,255,255,0.1);
  margin: 2rem 0 1.5rem;
}

.footer-disclaimer {
  font-size: 0.775rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.65;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75) !important;
  margin-bottom: 0.5rem;
  transition: background var(--fmb-transition), color var(--fmb-transition);
}

.footer-social-link:hover {
  background: rgba(201, 169, 97, 0.15);
  color: var(--fmb-gold) !important;
  border-color: rgba(201, 169, 97, 0.3);
}

/* --------------------------------------------------------------------------
   17. Back-to-top button
   -------------------------------------------------------------------------- */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 1040;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--fmb-gold);
  color: var(--fmb-dark);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
  box-shadow: var(--fmb-shadow);
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  box-shadow: 0 4px 16px rgba(201, 169, 97, 0.5);
  filter: brightness(1.1);
}

#back-to-top i {
  font-size: 1.15rem;
}

/* --------------------------------------------------------------------------
   18. Animations
   -------------------------------------------------------------------------- */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  animation: fade-in-up 0.6s ease forwards;
}

.fade-in-up.is-visible {
  animation-play-state: running;
}

/* IntersectionObserver controlled */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate-delay="100"] { transition-delay: 0.1s; }
[data-animate-delay="200"] { transition-delay: 0.2s; }
[data-animate-delay="300"] { transition-delay: 0.3s; }
[data-animate-delay="400"] { transition-delay: 0.4s; }

/* --------------------------------------------------------------------------
   19. Responsividade (mobile-first)
   -------------------------------------------------------------------------- */
@media (max-width: 575.98px) {
  :root {
    --fmb-section-py: var(--fmb-section-py-mobile);
  }

  #hero {
    min-height: auto;
    padding: 6rem 0 3rem;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .btn-fmb-primary,
  .btn-fmb-secondary {
    width: 100%;
    text-align: center;
  }

  .hero-photo-frame {
    margin-top: 2.5rem;
  }

  .hero-photo-frame img {
    max-height: 380px;
  }

  .about-oab-badge {
    right: 0;
    font-size: 0.75rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  #hero {
    padding: 5rem 0 3rem;
    min-height: auto;
  }

  .hero-photo-frame {
    margin-top: 2rem;
  }
}

@media (min-width: 768px) {
  .credibility-divider {
    display: block;
  }
}

@media (min-width: 992px) {
  #hero {
    min-height: 100vh;
  }

  .hero-photo-frame img {
    max-height: 520px;
  }
}

/* Foco visível (WCAG 2.1 AA) */
:focus-visible {
  outline: 3px solid var(--fmb-gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Reduce motion para acessibilidade */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}
/* --------------------------------------------------------------------------
   22. Modal de captura de lead (antes do WhatsApp)
   -------------------------------------------------------------------------- */
.lead-modal {
  border: none;
  border-radius: var(--fmb-radius-lg);
  box-shadow: var(--fmb-shadow-lg);
  border-top: 5px solid var(--fmb-gold);
}
.lead-modal .modal-title {
  font-family: var(--fmb-font-heading);
  color: var(--fmb-dark);
  font-weight: 700;
}
.lead-modal .modal-body { padding: 1rem 1.5rem 1.75rem; }
.lead-modal .form-label { color: var(--fmb-dark); font-size: .9rem; }
.lead-modal .form-control:focus {
  border-color: var(--fmb-gold);
  box-shadow: 0 0 0 .2rem rgba(201, 169, 97, .25);
}
.lead-modal .btn-fmb-primary { padding: .8rem 1rem; font-size: 1.05rem; }
.lead-modal a { color: var(--fmb-gold-dark); }
