/* ==========================================================================
   Decolar Consórcios — Páginas de Modalidade (Imóveis, Veículos, Pesados)
   Padrão visual institucional premium: heros cinematográficos full-viewport,
   alternância sofisticada de cores e componentes editoriais consistentes.
   Carregado após styles.css em consorcio-imoveis, consorcio-veiculos e consorcio-pesados.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Títulos e Subtítulos Padrão de Seção
   -------------------------------------------------------------------------- */
.mod-section-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 2.8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
  line-height: 1.18;
}

.mod-section-lead {
  margin-top: 14px;
  max-width: 640px;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-gray-700);
}

/* --------------------------------------------------------------------------
   Scroll margin padronizado para navegação por âncoras sob header fixo
   -------------------------------------------------------------------------- */
.mod-steps-section,
.editorial-steps-section,
.mod-tabs-section,
.mod-pillars-section,
.mod-faq-section,
.mod-closing,
.imovel-editorial-section,
.imovel-carousel-section {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

/* ==========================================================================
   ETAPA 1 — HERO CINEMATOGRÁFICO PADRONIZADO (Imóveis, Veículos, Pesados)
   Altura dinâmica (viewport menos header), sobreposição escura editorial,
   tipografia de grande presença e alinhamento vertical balanceado.
   ========================================================================== */

.mod-hero {
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  height: auto;
  max-height: none;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.mod-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mod-hero-img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.mod-hero.is-revealed .mod-hero-img {
  transform: scale(1);
}

/* Degradê cinematográfico padrão: escuro à esquerda para leitura cristalina,
   suave e transparente à direita para valorizar a fotografia */
.mod-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(10, 11, 15, 0.88) 0%,
    rgba(10, 11, 15, 0.78) 36%,
    rgba(10, 11, 15, 0.42) 62%,
    rgba(10, 11, 15, 0.08) 82%,
    rgba(10, 11, 15, 0) 100%
  );
}

.mod-hero .container {
  position: relative;
  z-index: 2;
  padding-block: clamp(48px, 6vh, 88px);
  width: 100%;
}

.mod-hero-content {
  max-width: 820px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mod-eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 14px;
}

.mod-hero-title {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.6rem, 3.9vw, 3.75rem); /* ~56px - 60px no desktop */
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.024em;
  color: #ffffff;
  max-width: 780px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.mod-hero-br {
  display: inline;
}

.mod-hero-lead {
  margin: 18px 0 0;
  max-width: 620px;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.06rem, 1.25vw, 1.18rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.mod-hero-cta {
  margin-top: clamp(26px, 3vh, 36px);
  padding: 16px 36px;
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(255, 122, 26, 0.35);
}

/* Responsividade Tablet e Mobile do Hero */
@media (max-width: 991px) {
  .mod-hero {
    min-height: calc(100svh - var(--header-height));
    height: auto;
    padding-block: clamp(40px, 6vh, 60px);
  }

  .mod-hero .container {
    padding-block: 0;
  }

  .mod-hero-media::after {
    background: linear-gradient(
      95deg,
      rgba(10, 11, 15, 0.9) 0%,
      rgba(10, 11, 15, 0.8) 45%,
      rgba(10, 11, 15, 0.35) 75%,
      rgba(10, 11, 15, 0.05) 100%
    );
  }

  .mod-hero-title {
    font-size: clamp(2.2rem, 5.2vw, 2.9rem);
    max-width: 640px;
  }

  .mod-hero-lead {
    font-size: 1.02rem;
    max-width: 540px;
  }
}

@media (max-width: 576px) {
  .mod-hero {
    min-height: calc(100svh - var(--header-height));
    height: auto;
    padding-block: clamp(32px, 6vh, 48px);
    align-items: center;
  }

  .mod-hero .container {
    padding-block: 0;
  }

  .mod-hero-media::after {
    background: linear-gradient(
      180deg,
      rgba(10, 11, 15, 0.6) 0%,
      rgba(10, 11, 15, 0.8) 40%,
      rgba(10, 11, 15, 0.94) 100%
    );
  }

  .mod-eyebrow {
    font-size: 0.72rem;
    margin-bottom: 10px;
  }

  .mod-hero-title {
    font-size: clamp(1.85rem, 7.5vw, 2.35rem);
    line-height: 1.18;
    letter-spacing: -0.018em;
  }

  .mod-hero-br {
    display: none;
  }

  .mod-hero-lead {
    margin-top: 14px;
    font-size: 0.96rem;
    line-height: 1.52;
    max-width: 100%;
  }

  .mod-hero-cta {
    margin-top: 22px;
    padding: 14px 30px;
    font-size: 0.92rem;
  }
}

/* ==========================================================================
   ETAPA 2.1 — SEÇÃO INTRODUTÓRIA ("COMO FUNCIONA")
   Fundo bege champanhe muito suave, composição editorial premium
   ========================================================================== */

.mod-steps-section {
  padding: clamp(64px, 7.5vw, 100px) 0;
  background: linear-gradient(180deg, #fdfbf7 0%, #f6f2ea 100%);
  border-top: 1px solid rgba(228, 220, 208, 0.65);
  border-bottom: 1px solid rgba(228, 220, 208, 0.65);
  position: relative;
}

.mod-steps-head {
  max-width: 720px;
}

.mod-steps-head .mod-section-title {
  color: #111827;
  font-size: clamp(2rem, 2.8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.mod-steps-head .mod-section-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4b5563;
  margin-top: 14px;
}

.mod-steps {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: clamp(36px, 4.8vw, 56px);
  gap: 0;
}

.mod-step {
  padding: 24px 0;
  border-top: 1px solid rgba(214, 204, 192, 0.7);
  transition: transform var(--transition-base);
}

.mod-steps .mod-step:first-child {
  border-top: none;
  padding-top: 0;
}

.mod-step-num {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--color-orange);
  margin-bottom: 12px;
}

.mod-step-title {
  margin: 0 0 10px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #111827;
}

.mod-step-text {
  margin: 0;
  max-width: 560px;
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  line-height: 1.68;
  color: #4b5563;
}

@media (min-width: 860px) {
  .mod-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .mod-step {
    border-top: none;
    border-left: 1px solid rgba(214, 204, 192, 0.7);
    padding: 8px clamp(24px, 2.8vw, 40px);
  }

  .mod-steps .mod-step:first-child {
    border-left: none;
    padding-left: 0;
  }

  @media (hover: hover) and (pointer: fine) {
    .mod-step:hover {
      transform: translateY(-3px);
    }
  }
}

@media (max-width: 520px) {
  .mod-steps-section {
    padding: 48px 0;
  }
  .mod-step {
    padding: 22px 0;
  }
}

/* ==========================================================================
   SEÇÃO EDITORIAL ASSIMÉTRICA: COMO FUNCIONA O CONSÓRCIO
   Layout editorial de 2 colunas inspirado em instituições financeiras:
   headline institucional à esquerda e etapas verticais à direita com divisórias
   ========================================================================== */

.editorial-steps-section {
  padding: clamp(60px, 7vw, 92px) 0;
  background: linear-gradient(180deg, #fdfbf7 0%, #f6f2ea 100%);
  border-top: 1px solid rgba(228, 220, 208, 0.7);
  border-bottom: 1px solid rgba(228, 220, 208, 0.7);
  position: relative;
}

.editorial-steps-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(48px, 6.5vw, 96px);
  align-items: start;
}

.editorial-steps-intro {
  max-width: 520px;
}

.editorial-steps-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-orange);
  margin-bottom: 16px;
}

.editorial-steps-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 3vw, 2.65rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.024em;
  color: #111827;
  margin: 0;
}

.editorial-steps-lead {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  line-height: 1.72;
  color: #4b5563;
  margin: 20px 0 0;
}

.editorial-steps-list {
  display: flex;
  flex-direction: column;
}

.editorial-step-item {
  padding: clamp(24px, 2.8vw, 34px) 0;
  border-top: 1px solid rgba(214, 204, 192, 0.75);
}

.editorial-step-item:first-child {
  border-top: none;
  padding-top: 0;
}

.editorial-step-item:last-child {
  padding-bottom: 0;
}

.editorial-step-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.22rem, 1.5vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.016em;
  color: #111827;
  margin: 0 0 8px;
  line-height: 1.32;
}

.editorial-step-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  line-height: 1.68;
  color: #4b5563;
  margin: 0;
  max-width: 580px;
}

@media (max-width: 900px) {
  .editorial-steps-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .editorial-steps-intro {
    max-width: 100%;
  }

  .editorial-step-item:first-child {
    border-top: 1px solid rgba(214, 204, 192, 0.75);
    padding-top: 24px;
  }
}

@media (max-width: 520px) {
  .editorial-steps-section {
    padding: 48px 0;
  }

  .editorial-step-item {
    padding: 20px 0;
  }

  .editorial-step-title {
    font-size: 1.18rem;
  }

  .editorial-step-text {
    font-size: 0.94rem;
  }
}

/* ==========================================================================
   ETAPA 2.2 — SEÇÃO INTERATIVA DA MODALIDADE (ABAS ESPECÍFICAS)
   Fundo grafite escuro com iluminação sutil, títulos brancos e detalhes laranja
   ========================================================================== */

.mod-tabs-section {
  padding: clamp(68px, 8vw, 104px) 0;
  background: radial-gradient(ellipse 80% 60% at 50% 18%, #161c28 0%, #0d1017 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Brilho sutil no topo do bloco escuro */
.mod-tabs-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 100%);
  height: 240px;
  background: radial-gradient(circle, rgba(255, 122, 26, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.mod-tabs-section .container {
  max-width: 860px;
  position: relative;
  z-index: 1;
}

.mod-tabs-section .mod-section-title {
  color: #ffffff;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.024em;
  margin: 0 auto;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.mod-tabs {
  margin-top: clamp(32px, 4.4vw, 48px);
}

/* Pílulas de seleção em cápsula de vidro escuro */
.mod-tabs-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 5px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  gap: 5px;
  max-width: 100%;
}

.mod-tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.74);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.mod-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.mod-tab.is-active {
  background: var(--color-orange);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 122, 26, 0.45);
}

.mod-tab:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

/* Painel com acabamento premium e moldura sutil */
.mod-tab-panel {
  margin-top: clamp(26px, 3.8vw, 38px);
  padding: clamp(32px, 4.5vw, 48px) clamp(24px, 4.5vw, 56px);
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 122, 26, 0.35);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 20px 48px -10px rgba(0, 0, 0, 0.7),
    0 0 24px rgba(255, 122, 26, 0.12);
  min-height: 4.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 740px;
  margin-inline: auto;
}

.mod-tab-panel p {
  max-width: 600px;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.08rem, 1.35vw, 1.24rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  margin: 0;
}

.mod-tabs.js-ready .mod-tab-panel p:not(.is-visible) {
  display: none;
}

.mod-tab-panel.is-animating p.is-visible {
  animation: modTabFade 350ms cubic-bezier(0.2, 1, 0.3, 1);
}

@keyframes modTabFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .mod-tabs-section {
    padding: 48px 0;
  }

  .mod-tabs-nav {
    flex-direction: column;
    width: 100%;
    border-radius: 18px;
    padding: 8px;
    gap: 6px;
  }

  .mod-tab {
    width: 100%;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.88rem;
  }

  .mod-tab-panel {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .mod-tab-panel p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* ==========================================================================
   ETAPA 2.3 — DIFERENCIAIS DA DECOLAR
   Fundo claro (branco puro), contraste imediato, tipografia elegante e detalhes laranja
   ========================================================================== */

.mod-pillars-section {
  padding: clamp(68px, 8vw, 104px) 0;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.mod-pillars-section .container {
  max-width: 1180px;
}

.mod-pillars-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 2.8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: #111827;
  max-width: 660px;
  margin-bottom: clamp(40px, 5.2vw, 60px);
}

.mod-pillars-section .pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}

.mod-pillars-section .pillar {
  padding: 8px clamp(24px, 3vw, 44px);
  border-left: 1px solid #e5e7eb;
  transition: transform var(--transition-base);
}

.mod-pillars-section .pillar:first-child {
  padding-left: 0;
  border-left: none;
}

.mod-pillars-section .pillar-num {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-orange);
  margin-bottom: 16px;
}

.mod-pillars-section .pillar-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.24rem, 1.55vw, 1.48rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: #111827;
  margin: 0 0 14px;
}

.mod-pillars-section .pillar-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  line-height: 1.68;
  color: #4b5563;
  margin: 0;
}

@media (hover: hover) and (pointer: fine) {
  .mod-pillars-section .pillar:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 1024px) {
  .mod-pillars-section .pillar {
    padding-inline: clamp(16px, 2.2vw, 28px);
  }
}

@media (max-width: 768px) {
  .mod-pillars-section {
    padding: 48px 0;
  }

  .mod-pillars-title {
    font-size: clamp(1.65rem, 6.2vw, 2.05rem);
    margin-bottom: 32px;
  }

  .mod-pillars-section .pillars {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mod-pillars-section .pillar {
    padding: 28px 0;
    border-left: none;
    border-top: 1px solid #e5e7eb;
  }

  .mod-pillars-section .pillar:first-child {
    padding-top: 0;
    border-top: none;
  }

  .mod-pillars-section .pillar:last-child {
    padding-bottom: 0;
  }
}

/* ==========================================================================
   ETAPA 2.4 — PERGUNTAS FREQUENTES (FAQ)
   Fundo areia suave, acordeões minimalistas em cards brancos
   ========================================================================== */

.mod-faq-section {
  padding: clamp(68px, 8vw, 104px) 0;
  background: linear-gradient(180deg, #f7f3ed 0%, #f1ebe0 100%);
  border-top: 1px solid rgba(222, 212, 198, 0.7);
  border-bottom: 1px solid rgba(222, 212, 198, 0.7);
}

.mod-faq-section .container {
  max-width: 820px;
}

.mod-faq-section .mod-section-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 2.8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
  text-align: center;
  margin-bottom: clamp(32px, 4.4vw, 48px);
}

.mod-faq {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 0;
}

.mod-faq-item {
  background: #ffffff;
  border: 1px solid rgba(218, 208, 194, 0.85);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(45, 35, 20, 0.04);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.mod-faq-item:hover {
  border-color: rgba(255, 122, 26, 0.45);
  box-shadow: 0 6px 20px rgba(45, 35, 20, 0.08);
}

.mod-faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  color: #111827;
  cursor: pointer;
  transition: color var(--transition-base);
}

.mod-faq-trigger:hover {
  color: var(--color-orange);
}

.mod-faq-trigger:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: -2px;
  border-radius: 12px;
}

.mod-faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--color-orange);
  transition: transform var(--transition-base);
}

.mod-faq-trigger[aria-expanded="true"] .mod-faq-icon {
  transform: rotate(45deg);
}

.mod-faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
  padding-inline: 26px;
}

.mod-faq-panel p {
  padding-bottom: 22px;
  padding-top: 0;
  margin: 0;
  max-width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #4b5563;
}

@media (max-width: 520px) {
  .mod-faq-section {
    padding: 48px 0;
  }

  .mod-faq-trigger {
    padding: 18px 20px;
    font-size: 0.98rem;
  }

  .mod-faq-panel {
    padding-inline: 20px;
  }

  .mod-faq-panel p {
    padding-bottom: 18px;
    font-size: 0.94rem;
    line-height: 1.62;
  }
}

/* ==========================================================================
   ETAPA 2.5 — ENCERRAMENTO COMERCIAL (CTA FINAL)
   Fundo grafite escuro profundo, título branco imponente e botão laranja
   ========================================================================== */

.mod-closing {
  padding: clamp(72px, 8.5vw, 112px) 0;
  background: #24262D;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mod-closing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 100%);
  height: 200px;
  background: radial-gradient(circle, rgba(255, 122, 26, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.mod-closing .container {
  max-width: 680px;
  position: relative;
  z-index: 1;
}

.mod-closing-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.1rem, 3.2vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
  margin: 0 auto;
}

.mod-closing-lead {
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.04rem, 1.25vw, 1.16rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin-inline: auto;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.mod-closing-cta {
  margin-top: clamp(28px, 3.6vw, 42px);
  padding: 17px 42px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(255, 122, 26, 0.4);
  transition: all var(--transition-base);
}

.mod-closing-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(255, 122, 26, 0.55);
}

.mod-closing-cta:active {
  transform: translateY(0);
}

@media (max-width: 520px) {
  .mod-closing {
    padding: 56px 0;
  }

  .mod-closing-title {
    font-size: clamp(1.75rem, 6.8vw, 2.2rem);
  }

  .mod-closing-lead {
    font-size: 0.98rem;
    line-height: 1.55;
    margin-top: 12px;
  }

  .mod-closing-cta {
    margin-top: 24px;
    padding: 15px 32px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 320px;
  }
}

/* ==========================================================================
   Animações de rolagem escalonadas
   ========================================================================== */
.mod-steps .reveal-on-scroll:nth-child(1) { transition-delay: 0ms; }
.mod-steps .reveal-on-scroll:nth-child(2) { transition-delay: 90ms; }
.mod-steps .reveal-on-scroll:nth-child(3) { transition-delay: 180ms; }

.editorial-steps-list .reveal-on-scroll:nth-child(1) { transition-delay: 60ms; }
.editorial-steps-list .reveal-on-scroll:nth-child(2) { transition-delay: 140ms; }
.editorial-steps-list .reveal-on-scroll:nth-child(3) { transition-delay: 220ms; }

.mod-pillars-section .pillars .reveal-on-scroll:nth-child(1) { transition-delay: 0ms; }
.mod-pillars-section .pillars .reveal-on-scroll:nth-child(2) { transition-delay: 90ms; }
.mod-pillars-section .pillars .reveal-on-scroll:nth-child(3) { transition-delay: 180ms; }

.mod-faq .reveal-on-scroll:nth-child(1) { transition-delay: 0ms; }
.mod-faq .reveal-on-scroll:nth-child(2) { transition-delay: 70ms; }
.mod-faq .reveal-on-scroll:nth-child(3) { transition-delay: 140ms; }

/* ==========================================================================
   MOBILE COMPACT (<=767px) — PÁGINAS DE MODALIDADE (padrão compartilhado)
   Desktop e tablet (>=768px) permanecem exatamente como estão nos blocos
   acima. Este bloco vem depois no arquivo, então só sobrescreve — e só
   nesta faixa — o necessário para heroes mais equilibrados e seções mais
   compactas. Imóveis duplica .mod-pillars-section/.mod-faq-section/
   .mod-closing no seu próprio CSS (carregado depois): os mesmos ajustes
   são espelhados lá para valerem também nessa página.
   ========================================================================== */
@media (max-width: 767px) {

  /* 1) Hero: altura reduzida (não mais quase 100% da viewport), degradê
     localizado e mais forte só atrás do texto em vez de escurecer a
     fotografia inteira de forma uniforme. */
  .mod-hero {
    min-height: min(640px, 82svh);
    padding-block: clamp(32px, 6vh, 48px);
    align-items: center;
  }

  .mod-hero .container {
    padding-block: 0;
  }

  .mod-hero-media::after {
    background: radial-gradient(
      ellipse 130% 95% at 22% 48%,
      rgba(10, 11, 15, 0.86) 0%,
      rgba(10, 11, 15, 0.58) 42%,
      rgba(10, 11, 15, 0.18) 70%,
      rgba(10, 11, 15, 0) 92%
    );
  }

  .mod-hero-title {
    font-size: clamp(1.9rem, 7vw, 2.4rem);
    line-height: 1.18;
    letter-spacing: -0.018em;
    max-width: 92%;
  }

  .mod-hero-lead {
    margin-top: 14px;
    font-size: 0.98rem;
    line-height: 1.56;
    max-width: 94%;
  }

  .mod-hero-cta {
    margin-top: 22px;
    padding: 14px 30px;
    font-size: 0.93rem;
  }
}

/* Viewports muito baixos (ex.: 320x700): hero ainda mais contido em altura */
@media (max-width: 767px) and (max-height: 720px) {
  .mod-hero {
    min-height: min(560px, 80svh);
  }
}

@media (max-width: 767px) {
  /* 2) "Como funciona": hierarquia mais clara e espaçamentos reduzidos em
     toda a faixa mobile (antes só <=520px tinha ajuste; 521-767px ficava
     com os espaçamentos largos do desktop/tablet). */
  .editorial-steps-section {
    padding: clamp(40px, 7vw, 56px) 0;
  }

  .editorial-steps-eyebrow {
    margin-bottom: 10px;
  }

  .editorial-steps-title {
    font-size: clamp(1.55rem, 6.4vw, 1.9rem);
  }

  .editorial-steps-lead {
    margin-top: 12px;
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .editorial-steps-grid {
    gap: clamp(24px, 6vw, 32px);
  }

  .editorial-step-item {
    padding: clamp(16px, 3vw, 20px) 0;
  }

  .editorial-step-title {
    font-size: 1.12rem;
  }

  .editorial-step-text {
    font-size: 0.93rem;
    line-height: 1.58;
  }

  /* 3) Diferenciais numerados: mesma lista compacta, só com espaçamento
     um pouco mais contido em toda a faixa mobile. */
  .mod-pillars-section {
    padding: clamp(40px, 6.5vw, 56px) 0;
  }

  .mod-pillars-title {
    margin-bottom: 24px;
  }

  .mod-pillars-section .pillar {
    padding: clamp(18px, 3.2vw, 22px) 0;
  }

  .mod-pillars-section .pillar-title {
    font-size: clamp(1.1rem, 4.4vw, 1.28rem);
  }

  /* 4) FAQ: área de toque confortável nos acordeões. */
  .mod-faq {
    gap: 12px;
  }

  .mod-faq-trigger {
    min-height: 48px;
    padding: 16px 18px;
  }

  .mod-faq-icon {
    width: 20px;
    height: 20px;
  }

  /* 5) CTA final: pequeno refinamento de espaçamento vertical. */
  .mod-closing {
    padding: clamp(44px, 7.5vw, 60px) 0;
  }
}
