/* ---------- Tokens / base ---------- */
:root {
  --gutter: clamp(16px, 4vw, 64px);
  /* espaçamento lateral */
  --maxw: 1280px;
  --brand: #0A2255;
  --muted: #f0f0f0;
  --divider: #FF7700;
  --branco: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Poppins', sans-serif;
  color: #111;
  background: #fff;
  padding-top: 66px; /* Ajustado para a altura exata da navbar */
}

/* Evita rolagem horizontal por elementos full-bleed */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* ---------- Contêineres sem espaçamento vertical externo ---------- */
/* Só laterais: margin-inline + padding-inline */
.navbar,
.section,
.hero-section {
  max-width: var(--maxw);
  margin-inline: auto;
  /* apenas laterais */
  padding-inline: var(--gutter);
  /* apenas laterais */
  margin-block: 0;
  /* sem margem vertical */
  padding-block: 0;
  /* sem padding vertical */
}

section,
.section,
.hero-section {
  margin-block: 0 !important;
}

.section,
.hero-section {
  overflow: hidden;
  /* não adiciona padding/margin vertical */
}

/* 3) Hard kill: nada de margem vertical dos filhos diretos das sections */
.section>*,
.hero-section>* {
  margin-block: 0 !important;
}

/* 4) Para conteúdos internos (títulos, parágrafos, hr) não “empurrarem” as bordas */
.section .half> :first-child,
.hero-section .left> :first-child,
.hero-section .right> :first-child {
  margin-top: 0 !important;
}

.section .half> :last-child,
.hero-section .left> :last-child,
.hero-section .right> :last-child {
  margin-bottom: 0 !important;
}

/* 5) Se ainda houver fio por conta de border, remova bordas das metades (opcional) */
/* .section .half { border: 0 } */

/* EVITAR QUALQUER “VAZAMENTO” DE MARGEM DOS FILHOS DIRETOS */
/* regra já definida acima em .section>* e .hero-section>* mantendo margin-block: 0 */

/* ---------- Navbar ---------- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--brand);
  padding: 16px calc(var(--gutter) * 1.7); /* valor base, será ajustado por media queries */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  box-sizing: border-box;
  /* full-bleed brand color on side gutters, igual às outras sections */
  box-shadow: 0 0 0 100vmax var(--brand);
  clip-path: inset(0 -100vmax);
}

/* cobre qualquer linha de subpixel (divisor branco) logo abaixo da navbar */
.navbar::after {
  content: '';
  position: absolute;
  inset-inline: 0; /* ocupa toda a largura da própria navbar */
  bottom: -1px; /* cobre imediatamente abaixo da barra */
  width: 100%;
  height: 1px;
  background: var(--brand);
  pointer-events: none;
}

.logo-img {
  height: 50px; /* ajuste conforme necessário */
  width: auto;
}


.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: .5rem;
  z-index: 1001;
}

.hamburger {
  width: 24px;
  height: 2px;
  background: #fff;
  position: relative;
  display: block;
  transition: .25s
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: .25s
}

.hamburger::before {
  transform: translateY(-7px)
}

.hamburger::after {
  transform: translateY(7px)
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-item {
  font-family: 'Poppins', sans-serif;
  font-weight: 400; /* Regular */
  text-transform: uppercase;
  letter-spacing: 0.22em; /* 22% */
  cursor: pointer;
  color: var(--branco);
  text-decoration: none; /* Remove sublinhado dos links */
  transition: color 0.2s ease;
}

.nav-item:hover {
  color: #FF7700;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block
  }

  .navbar,
  .hero-section,
  .text-section,
  .faq-section,
  .map-section {
    box-shadow: none !important;
    clip-path: none !important;
    /* se quiser manter a cor só na barra: */
    background: var(--brand);
  }

  /* Evita que o dropdown seja recortado pela navbar fixa */
  .navbar {
    clip-path: none;
    box-shadow: none;
    padding: 16px calc(var(--gutter) * 1.5) 0; /* padding lateral menor no mobile */
  }
  .nav-links {
    position: fixed;
    left: 0;
    right: 0;
    
    top: 66px; /* Altura da navbar */
    background: var(--brand);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    flex-direction: column;
    gap: 0;
    padding: 16px calc(var(--gutter) * 1.5) 0; /* padding lateral menor no mobile */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all .28s ease;
    z-index: 1000; /* acima da navbar (999) */
    width: 100%;
    margin: 0;
  }

  /* quando ativo */
  .nav-links.active {
    max-height: 500px; /* abre */
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  /* Debug: forçar menu visível temporariamente */
  /* .nav-links {
    max-height: 420px !important;
    opacity: 1 !important;
    visibility: visible !important;
  } */

  .nav-item {
    border-radius: 0;
    padding: .9rem var(--gutter);
    background: transparent;
    color: var(--branco)
  }

  .nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FF7700
  }

  .menu-toggle.active .hamburger {
    background: transparent
  }

  .menu-toggle.active .hamburger::before {
    transform: rotate(45deg)
  }

  .menu-toggle.active .hamburger::after {
    transform: rotate(-45deg)
  }
}

/* ---------- Seções genéricas (sem espaçamento vertical externo) ---------- */
.section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(16px, 3vw, 32px);
  /* gap só horizontal */
  row-gap: 0;
  /* sem gap vertical interno */
}

.section .half {
  border: 1px solid #999;
  /* padding INTERNO (não conta como espaço entre sections) */
  padding: clamp(12px, 2.2vw, 24px);
}

/* variações */
.section.horizontal {
  grid-template-columns: 1fr
}

.section.three-parts {
  grid-template-columns: 1fr;
  column-gap: clamp(12px, 2.5vw, 24px)
}

.section.three-parts .part {
  border: 1px solid #999;
  padding: clamp(12px, 2vw, 20px);
  min-height: 120px
}

/* Tablets+ */
@media (min-width: 768px) {
  .section.horizontal {
    grid-template-columns: repeat(2, 1fr)
  }

  .section.three-parts {
    grid-template-columns: repeat(3, 1fr)
  }
}

/* ---------- Hero (sem espaçamento vertical externo) ---------- */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(16px, 3vw, 28px);
  row-gap: 0;
  border: 0;
  background: var(--brand);
  position: relative; /* para faixa full-bleed */
  /* full-bleed brand color on side gutters, funciona mesmo com overflow hidden */
  box-shadow: 0 0 0 100vmax var(--brand);
  clip-path: inset(0 -100vmax);
  min-height: clamp(400px, 80vh, 600px); /* altura mínima aumentada */
}

.hero-section .half {
  border: 0
}

.hero-section .left {
  background: var(--brand);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* padding interno ok */
  padding: clamp(20px, 4vw, 48px);
}

.hero-section .right {
  background: var(--brand);
  display: flex;
  align-items: flex-end; /* Alterado de flex-start para flex-end */
  justify-content: flex-end;
  overflow: hidden;
  padding: 0 !important;
  /* imagem colada na borda do card */
}

/* Título e subtítulo fluidos */
.hero-section .left h1 {
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.15;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  max-width: 22ch;
}

.hero-divider {
  width: clamp(180px, 32vw, 360px);
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--divider);
  /* margem interna do bloco (não é entre sections) */
  margin: clamp(10px, 1.6vw, 16px) 0 clamp(14px, 2vw, 18px);
}

.hero-subtitle {
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: .5px;
  opacity: .95;
  font-size: clamp(.8rem, 1.6vw, 1rem);
  max-width: 42ch;
}

.hero-subtitle span {
  font-weight: 600
}

/* Imagem do hero (zero padding/margem) */
.hero-image {
  display: block;
  /* evita "gap" inline */
  padding: 0 !important;
  margin: 0 !important;
  width: min(520px, 92%);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Media query específica para 1366px */
@media (max-width: 1366px) and (min-width: 1200px) {
  .hero-image {
    width: min(420px, 85%); /* Diminui de 520px para 420px */
  }
}

/* ---------- Cores de exemplo (pode remover depois) ---------- */
.top {
  background: #e8f4f8
}

.bottom {
  background: #d4e9f7
}

.part1 {
  background: #e8f8f5
}

.part2 {
  background: #d1f2eb
}

.part3 {
  background: #a3e4d7
}

.empty-section {
  background: #f9f9f9;
  border: 1px dashed #ccc;
  min-height: 100px
}

/* ---------- Responsividade geral ---------- */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr
  }

  /* empilha o hero */
  .section {
    grid-template-columns: 1fr
  }

  /* empilha as outras seções */
}

/* Pequenos ajustes para telas muito pequenas */
@media (max-width: 400px) {
  .hero-section .left {
    padding: clamp(16px, 6vw, 24px)
  }

  .hero-section .left h1 {
    font-size: clamp(1.35rem, 7vw, 1.6rem)
  }

  .hero-image {
    width: 88%
  }
}

/* ---------- Acessibilidade / motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important
  }
}

/* Zera o espaço no MEIO das sections (gutter da grid) */
.section,
.hero-section {
  column-gap: 0 !important;
  /* sem espaço entre left/right */
  row-gap: 0 !important;
  /* já estava, garante */
}

/* Evita “linha dupla” no encontro das metades por causa das bordas */
.section .half+.half {
  border-left-width: 0;
  /* a metade da direita não soma borda no centro */
}

/* (Opcional) Se quiser nenhuma borda visível nas metades */
/* .section .half{ border: 0 } */


/* ===== Solution Section ===== */

.solution-section {
  display: grid;
  grid-template-columns: 2fr 1fr; /* left maior, right menor */
  column-gap: clamp(16px, 3vw, 28px);
  row-gap: 0;
  border: 0;
  background: var(--branco);

  /* Aumentando altura */
  padding-block: clamp(60px, 10vw, 120px); /* mais espaço acima e abaixo */
  padding-bottom: 0;
  padding-top: 0;
  min-height: 0px; /* garante altura mínima mesmo com pouco conteúdo */
}


.solution-section .left {
  padding-right: 0;
  padding-right: clamp(20px, 4vw, 0px); /* mantém o padding direito se quiser */
}

/* empilha com espaçamento usando gap (não depende de margin) */
.solution-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* texto/alinhamento interno ainda à esquerda */
  margin-left: 130px; /* ajuste o valor para a posição desejada */
}

/* Título: Poppins bold, maiúsculas, laranja #FF7600 */
.solution-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.08;
  color: #FF7600;
  /* tamanho fluido com limites */
  font-size: clamp(2rem, 5vw, 3.3rem);
  /* controla largura pra quebrar bonito nas 3 linhas */
  max-width: 20ch;
}

/* Subtítulo: Poppins medium, maiúsculas, brand #0A2255 */
.solution-subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0A2255;
  line-height: 1.2;
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  max-width: 38ch;
  opacity: 0.98;
}

/* Botão laranja arredondado: texto bold, maiúsculo, letter-spacing */
.btn-simule {
  --btn-bg: #FF7600;
  --btn-bg-hover: #e55e00;
  --btn-text: #FFFFFF;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;

  background: var(--btn-bg);
  color: var(--btn-text);
  border: 0;
  border-radius: 10px;
  padding: clamp(10px, 1.6vw, 14px) clamp(18px, 3vw, 28px);
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  line-height: 1;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .18s ease, background-color .18s ease;
  box-shadow: 0 6px 18px rgba(255, 118, 0, 0.28);
}

.btn-simule:hover {
  background: var(--btn-bg-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(229, 94, 0, 0.35);
}

.btn-simule:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(229, 94, 0, 0.25);
}

.btn-simule:focus {
  outline: none;
}

.btn-simule:focus-visible {
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 6px rgba(255, 118, 0, 0.65);
  transition: box-shadow .12s ease;
}

/* responsividade: quando o hero/sections empilham, mantém leitura confortável */
@media (max-width: 1024px) {
  .solution-title {
    font-size: clamp(1.25rem, 6vw, 2rem);
  }

  .solution-subtitle {
    font-size: clamp(0.9rem, 2.6vw, 1.05rem);
  }

  .btn-simule {
    font-size: clamp(0.9rem, 2.4vw, 1rem);
  }
}

.solution-section .half {
  background: var(--branco);
  color: #fff;
  /* texto branco para contraste */
  border: 0;
  /* remove a borda se ainda tiver */
}

.solution-section .right {
  display: flex;
  align-items: flex-end; /* imagem encosta no bottom */
  justify-content: flex-end; /* mantém à direita */
  padding: 0 !important;
  overflow: hidden;
}

.solution-image {
  display: block;
  padding: 0 !important;
  margin: 0 !important;
  height: auto;
  max-width: 100%;
  width: min(500px, 95%);
  object-fit: contain;
}

/* ===== Text Section ===== */
.text-section {
  position: relative; /* para faixa full-bleed nos gutters */
  box-shadow: 0 0 0 100vmax var(--brand);
  clip-path: inset(0 -100vmax);
  background: var(--brand); /* padding aparece na cor da brand */
}

.text-section .half {
  background: var(--brand);
  color: #fff;
  /* texto branco para contraste */
  border: 0;
}

.text-section .left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(24px, 4vw, 48px);
}

.text-content {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.8vw, 20px);
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.6;
  letter-spacing: 0.07em;
  /* 7% de espaçamento */
  color: #fff;
  /* texto branco */
  max-width: 60ch;
}

.text-content span {
  font-weight: 700;
  color: var(--branco);
  /* destaque em laranja */
}

/* ===== Text Section Right ===== */
.text-section .right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 40px);
  /* espaço entre imagem e botão */
  padding: clamp(20px, 4vw, 48px);
}

/* Imagem */
.text-image {
  display: block;
  max-width: 90%;
  height: auto;
  object-fit: contain;
}

/* Botão grande responsivo */
.btn-simule-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-transform: uppercase;

  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  /* 10% de espaçamento */
  color: #fff;

  background: var(--divider);
  /* laranja */
  border: 0;
  border-radius: 12px;

  width: clamp(220px, 40vw, 420px);
  height: clamp(48px, 7vw, 70px);

  font-size: clamp(1rem, 3vw, 1.6rem);
  line-height: 1;

  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background-color .18s ease;
  box-shadow: 0 6px 18px rgba(255, 118, 0, 0.28);
}

.btn-simule-large:hover {
  background: #e55e00;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(229, 94, 0, 0.35);
}

.btn-simule-large:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(229, 94, 0, 0.25);
}

.btn-simule-large:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 6px rgba(255, 118, 0, 0.65);
}

/* ===== Partners Section ===== */
.partners-section {
  grid-template-columns: 1fr;
  background: var(--branco);
  padding: clamp(48px, 8vw, 96px) var(--gutter);
  /* Remove full-bleed para evitar tela azul no mobile */
  box-shadow: none !important;
  clip-path: none !important;
  position: static !important;
}

.partners-section .single-half {
  display: flex;
  flex-direction: column;
  align-items: center;   
  justify-content: flex-start;
  text-align: center;
  border: 0;
  max-width: var(--maxw);   /* mantém alinhamento */
  margin: 0 auto;           /* centraliza dentro do container */
}

.partners-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.07em;
  color: var(--brand);
  margin-bottom: clamp(24px, 4vw, 40px);
  text-align: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* ===== Partners Carousel ===== */
.partners-carousel {
  width: 100%;
  overflow: hidden; /* só o carrossel corta */
  position: relative;
  background: transparent;
}

.partners-track {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  width: max-content;
  animation: partners-scroll 20s linear infinite;
}

.partner-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(120px, 15vw, 180px);
  height: clamp(60px, 8vw, 90px);
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.2);
  transition: filter 0.3s ease;
}

.partner-logo:hover img {
  filter: grayscale(0);
}

@keyframes partners-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Pausar a animação ao passar o mouse */
.partners-carousel:hover .partners-track {
  animation-play-state: paused;
}

/* ===== Responsivo ===== */
@media (max-width: 768px) {
  .partners-section {
    padding: clamp(32px, 6vw, 48px) var(--gutter);
    background: var(--branco) !important;
    /* Força remoção de qualquer herança de full-bleed */
    box-shadow: none !important;
    clip-path: none !important;
  }

  .partners-section .single-half {
    padding: 0;
    margin: 0 auto;
    max-width: 100%;
  }

  .partners-title {
    text-align: center;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    width: 100%;
  }

  .partners-track {
    gap: clamp(24px, 4vw, 40px);
    animation-duration: 18s;
  }

  .partner-logo {
    width: clamp(100px, 20vw, 140px);
    height: clamp(50px, 10vw, 70px);
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .partners-track {
    gap: clamp(16px, 3vw, 24px);
    animation-duration: 14s;
  }

  .partner-logo {
    width: clamp(80px, 25vw, 120px);
    height: clamp(40px, 12vw, 60px);
    padding: 6px;
  }
}

/* ===== FAQ Section ===== */
.faq-section {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: clamp(24px, 3vw, 40px);
  padding-inline: var(--gutter);
  /* só padding lateral */
  background: var(--brand);
  /* padding aparece na cor da brand */
  position: relative; /* para faixa full-bleed */
  /* full-bleed brand color on side gutters */
  box-shadow: 0 0 0 100vmax var(--brand);
  clip-path: inset(0 -100vmax);
}

/* Top Half */
.faq-section .top-half {
  background: var(--brand);
  padding: clamp(32px, 6vw, 64px);
  padding-bottom: 0;
  text-align: center;
  color: var(--branco);
}

.faq-section .left-half {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* centraliza verticalmente */
  align-items: center;
  /* centraliza horizontalmente */
  text-align: center;
  /* garante que o texto fique centralizado */
  height: 100%;
  /* garante ocupar todo o espaço da coluna */
  padding: clamp(32px, 6vw, 64px);
  color: var(--branco);
}

.faq-title-left {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  /* black */
  text-transform: uppercase;
  letter-spacing: 0.07em;
  /* 7% */
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}

/* Título */
.faq-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  /* 7% de espaçamento */
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: clamp(24px, 4vw, 32px);
  color: var(--branco);
}

/* Cards container */
.faq-cards {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: clamp(16px, 4vw, 32px);
  flex-wrap: wrap;
  /* quebra em mobile */
}

/* Cada card */
.faq-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 200px;
  /* mesma largura de antes */
  height: 280px;
  /* ajusta conforme altura do conteúdo */
  justify-content: flex-start;
  /* alinha tudo ao topo */
}

/* Imagem do card */
.faq-card-img {
  width: 120px;
  /* largura fixa igual para todas */
  height: 120px;
  /* altura fixa igual para todas */
  object-fit: contain;
  /* mantém proporção do SVG */
  margin-bottom: clamp(12px, 2vw, 16px);
}

/* Texto do card */
.faq-card-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  /* 7% */
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  color: var(--branco);
  line-height: 1.2;
}

/* Bottom Half - grid com 2 colunas */
.faq-section .bottom-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  padding: clamp(32px, 6vw, 64px) var(--gutter);
  background: var(--brand);
  color: var(--branco);
}

/* Left column title */
.faq-title-left {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  /* Black */
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.2;
}

/* Right column: FAQ accordion */
.faq-right .faq-item {
  margin-bottom: clamp(12px, 2vw, 16px);
}

/* Pergunta */
.faq-question {
  width: 100%;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: clamp(0.95rem, 1.6vw, 1rem);
  color: var(--branco);
  background: none;
  border: none;
  cursor: pointer;
  padding: clamp(12px, 1.5vw, 16px) 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Resposta */
.faq-answer {
  display: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: clamp(0.85rem, 1.4vw, 0.95rem);
  line-height: 1.4;
  margin-left: 1ch;
  margin-top: 0.25em;
  color: var(--branco);
}

/* Accordion toggle */
.faq-item.active .faq-answer {
  display: block;
}

/* ===== FAQ Responsivo ===== */

/* Mobile / telas pequenas */
@media (max-width: 1024px) {
  /* Top Half: cards empilham e centralizam */
  .faq-section .top-half .faq-cards {
    flex-direction: column;
    gap: clamp(16px, 4vw, 24px);
    align-items: center;
  }

  /* Bottom Half: grid de duas colunas vira uma coluna */
  .faq-section .bottom-half {
    grid-template-columns: 1fr;
    padding: clamp(32px, 6vw, 48px) var(--gutter);
  }

  /* Centraliza left-half */
  .faq-section .left-half {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: clamp(24px, 4vw, 32px);
  }

  /* Título maior, centralizado */
  .faq-title-left {
    font-size: clamp(1.5rem, 5vw, 2rem);
    line-height: 1.2;
  }

  /* FAQ questions: largura total e texto centralizado se quiser */
  .faq-right .faq-item {
    width: 100%;
  }

  .faq-question {
    font-size: clamp(0.95rem, 4vw, 1rem);
  }

  .faq-answer {
    font-size: clamp(0.85rem, 3.5vw, 0.95rem);
    margin-left: 0;
  }

  /* Cards imagem menor */
  .faq-card-img {
    width: clamp(100px, 20vw, 120px);
    height: clamp(100px, 20vw, 120px);
  }

  /* Card texto menor */
  .faq-card-text {
    font-size: clamp(0.8rem, 3.5vw, 0.95rem);
  }
}

/* Extra small screens < 480px */
@media (max-width: 480px) {

  .faq-title,
  .faq-title-left {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }

  .faq-card {
    width: 100%;
  }

  .faq-card-img {
    width: 80px;
    height: 80px;
  }

  .faq-card-text {
    font-size: clamp(0.75rem, 3.2vw, 0.9rem);
  }

  .faq-right .faq-item {
    margin-bottom: clamp(8px, 2vw, 12px);
  }

}

/* ===== Steps Section ===== */
.steps-section {
  background: var(--branco);
  padding: clamp(40px, 6vw, 80px) var(--gutter);

  /* Centraliza todo o container vertical e horizontal */
  display: flex;
  justify-content: center; /* horizontal */
  align-items: center;     /* vertical */
}

/* Container dos steps */
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 32px);
  text-align: center;
  align-items: center; /* vertical dentro do grid */
  justify-items: center; /* centraliza cada item horizontalmente */
  width: 100%;
  max-width: 1200px; /* limita o tamanho máximo */
}

/* Cada card */
.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* centraliza verticalmente dentro do card */
  gap: clamp(12px, 2vw, 16px);
}

/* Imagens */
.step-card img {
  width: clamp(80px, 15vw, 120px);
  height: auto;
  object-fit: contain;
}

/* Passo número */
.step-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 700; /* bold */
  font-size: clamp(1rem, 1.6vw, 1.8rem);
  color: #724A27;
  text-transform: uppercase;
  margin: 0;
}

/* Ação */
.step-action {
  font-family: 'Poppins', sans-serif;
  font-weight: 500; /* medium */
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: #D77D22;
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 6px; /* espaçamento para a descrição */
}

/* Descrição */
.step-desc {
  font-family: 'Poppins', sans-serif;
  font-weight: 400; /* regular */
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  color: gray;
  text-transform: uppercase;
  line-height: 1.4;
  margin: 0;
}


/* ===== Responsividade ===== */
@media (max-width: 1024px) {
  .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .steps-container {
    grid-template-columns: 1fr;
  }
}

.map-section {
  max-width: var(--maxw);       /* segue o padrão das outras sections */
  margin-inline: auto;          /* centraliza horizontalmente */
  padding-inline: var(--gutter);/* padding lateral igual às outras sections */
  padding-top: clamp(32px, 6vw, 64px); /* padding apenas no topo */
  padding-bottom: 0; /* remove o padding inferior */
  display: grid;                /* segue padrão grid left/right */
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(16px, 3vw, 32px); /* gap horizontal entre colunas */
  background: var(--brand);
  color: var(--branco);
  position: relative; /* necessário para o pseudo-elemento de fundo full-bleed */
  /* aplica full-bleed sem causar overflow */
  box-shadow: 0 0 0 100vmax var(--brand);
  clip-path: inset(0 -100vmax);
}

/* cria uma faixa de fundo em largura total (100vw) para que as "margens" fiquem na cor --brand */
/* remove o pseudo-elemento anterior para evitar overflow horizontal */
.map-section::before { content: none; }

.map-left {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 24px);
  padding-left: clamp(40px, 8vw, 45px); /* Move o conteúdo mais para a direita */
}

.map-right {
  justify-content: center;
  align-items: center;
}

/* Título principal */
.map-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--branco);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  text-align: left;
  margin-bottom: 0px;
}


.phone {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(8px, 1vw, 12px);
}

.phone-number small {
  font-size: 0.75em;
  vertical-align: top;
}

.location {
  margin-top: clamp(16px, 2vw, 24px);
}

.location-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-icon {
  width: 24px;
  height: 24px;
}

.location-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 500; /* medium */
  text-transform: uppercase;
  color: var(--branco);
}

.location-address {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: clamp(0.85rem, 1.4vw, 0.95rem);
  color: var(--branco);
  margin-left: 0; /* removido para alinhar à esquerda */
  margin-top: 4px;
  padding-left: 32px; /* opcional: apenas se quiser alinhar visualmente com o título */
  text-align: left; /* garante alinhamento à esquerda */
}

.contact-center {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* alinha itens à esquerda */
  gap: 4px; /* pouco espaço entre linhas */
  text-align: left; /* alinha textos à esquerda */
  width: 100%; /* ocupa a largura total */
}

/* alinha todos os filhos diretos à esquerda */
.contact-center > * {
  align-self: flex-start;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.contact-center .phone {
  justify-content: flex-start; /* alinha ícone e número à esquerda */
  width: 100%; /* linha ocupa toda a largura */
  text-align: left;
}

/* alinha os subtítulos à esquerda */
.contact-center .map-subtitle {
  width: 100%;
  text-align: left;
}

/* alinha o número de telefone à esquerda */
.contact-center .phone-number {
  width: auto;
  text-align: left;
  display: inline-block;
}

/* evita recuo visual dos ícones em algumas renderizações */
.contact-center .phone-icon {
  display: inline-block;
}

.phone {
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 600; /* bold */
  text-transform: uppercase;
  margin: 0; /* remove margin para colar acima */
  color: var(--branco);
  text-align: left;
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-top: clamp(8px, 2vw, 12px); /* Reduz ainda mais o espaçamento para subir as locations */
  margin-bottom: 8px;
}

.phone-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 700; /* bold */
  text-transform: uppercase;
  color: var(--branco);
}

.phone-number small {
  font-size: 0.75em;
  vertical-align: top;
}

.phone-icon {
  width: 24px;
  height: 24px;
}

.map-right {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1; /* ocupa o espaço restante */
  padding: clamp(16px, 2vw, 32px);
}

.map-container {
  width: 100%;
  max-width: 600px;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border: 2px solid #fff;
}

/* Responsividade: telas menores que 1024px */
@media (max-width: 1024px) {
  .map-section {
    grid-template-columns: 1fr; /* empilha left e right */
    row-gap: clamp(24px, 4vw, 40px); /* gap vertical entre left e right */
    padding-top: clamp(32px, 6vw, 48px);
    padding-bottom: 0;
  }

  .map-left {
    padding-left: clamp(20px, 4vw, 40px); /* Reduz o padding no mobile */
  }

  .map-right {
    padding: 0;
  }

  .map-container {
    height: 300px;
  }
}

.floating-box {
  position: relative; /* não precisa ser absolute */
  margin: -60px auto 0; /* sobe sobre o hero */
  max-width: 1050px;
  width: 80%;
  min-height: 200px;
  padding: clamp(20px,3vw,40px);
  background-color: #D9D9D9;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  z-index: 5;
  text-align: center;
}

/* Título menor (NOSSOS SERVIÇOS) */
.floating-box .subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 300; /* light */
  font-size: clamp(12px, 1.2vw, 16px);
  text-transform: uppercase;
  letter-spacing: 0.48em; /* 48% */
  color: var(--brand); /* cor da marca */
  margin: 0;
}

/* Título principal (QUAL É O CRÉDITO IDEAL PARA VOCÊ?) */

.floating-box .title-initial {
  font-family: 'Poppins', sans-serif;
  font-weight: 700; /* bold */
  font-size: clamp(24px, 1.5vw, 48px);
  text-transform: uppercase;
  color: var(--brand); /* cor da marca */
  margin: 0;
}

.floating-box .title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700; /* bold */
  font-size: clamp(24px, 1.5vw, 48px);
  text-transform: uppercase;
  color: var(--branco); /* cor da marca */
  margin: 0;
}

/* Container das 3 boxes */
.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;

  /* Adiciona alinhamento para o conteúdo das caixas */
  align-items: stretch; /* faz com que todas as boxes tenham mesma altura na linha */
}

/* Cada box individual */
.service-box {
  background-color: var(--brand);
  border-radius: 16px;
  padding: 24px;
  width: clamp(250px, 30%, 300px);
  text-align: center;
  color: #fff;
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* topo consistente */
  gap: 16px;
  position: relative; /* referência para posicionar o botão */
  padding-top: 24px;
  padding-bottom: 56px; /* espaço para o botão sobreposto na base do card */
}

/* Imagem central */
.service-box img {
  width: 80px;
  height: 80px; /* garante altura igual */
  object-fit: contain;
}

.service-box .title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 1.5vw, 20px);
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;

  /* força todos os títulos com mesma altura mínima */
  min-height: 2.4em; /* ajusta se necessário */
}

.service-box .description {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: clamp(12px, 1vw, 16px);
  line-height: 1.4;
  margin: 0;

  /* empurra para alinhar todas as caixas */
  flex-grow: 1;
}

.services-container {
  position: relative; /* necessário para o botão absoluto */
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 50px; /* dá espaço antes do botão */
}

.floating-box {
  position: relative; /* referência para o botão */
}

.btn-simular-central {
  position: absolute;
  bottom: -25px; /* ajusta verticalmente para ficar entre floating-box e service-box */
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 30px;
  background-color: #ff6600;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 5; /* garante que fique acima das boxes */
}

.btn-simular-central:hover {
  background-color: #e55b00;
  transform: translateX(-50%) translateY(-5px);
}

/* Quando o botão estiver dentro de uma service-box, ele deve se comportar como um botão normal dentro da coluna */
.service-box .btn-simular-central {
  position: absolute;
  top: auto;
  bottom: -22px; /* desce para ficar entre a base do card e a floating-box */
  left: 50%;
  transform: translateX(-50%);
  align-self: auto;
  margin-top: 0;
  z-index: 6; /* acima da floating-box (z-index:5) para não ser coberto */
}

.service-box .btn-simular-central:hover {
  transform: translateX(-50%) translateY(-2px); /* leve elevação mantendo centralização */
}

/* ====== Solution Section — responsivo ====== */

/* Tablet e abaixo: empilha, sem gutter no meio */
@media (max-width: 1024px) {
  .solution-section{
    grid-template-columns: 1fr !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
  }
  .solution-section .left,
  .solution-section .right{
    padding: 0 !important;           /* nada de padding vertical extra */
  }

  /* remove o deslocamento e centraliza o bloco de texto */
  .solution-stack{
    margin-left: 0 !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;              /* centraliza conteúdo */
    text-align: center;               /* centraliza texto */
    gap: clamp(12px, 4vw, 20px);
  }

  /* tamanhos mais confortáveis */
  .solution-title{
    font-size: clamp(1.6rem, 8vw, 2.4rem);
    line-height: 1.15;
    max-width: 20ch;
  }
  .solution-subtitle{
    font-size: clamp(0.9rem, 3.5vw, 1rem);
    max-width: 36ch;
  }

  /* botão não passa da tela */
  .btn-simule{
    width: min(320px, 90%);
  }

  /* imagem escala e centraliza sem overflow */
  .solution-section .right{ justify-content: center !important; }
  .solution-image{
    display: block;
    width: min(560px, 92%);
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin: clamp(12px, 4vw, 24px) auto 0;  /* só margem interna do próprio bloco */
    padding: 0 !important;
  }
}

/* Mobile pequeno: tipografia e largura ainda mais contidas */
@media (max-width: 1024px){
  .solution-title{
    font-size: clamp(1.4rem, 9vw, 2rem);
    max-width: 18ch;
  }
  .solution-subtitle{
    font-size: clamp(0.85rem, 3.8vw, 0.95rem);
  }
  .solution-image{
    width: 90%;
    margin-top: clamp(10px, 4vw, 16px);
  }

  /* RESPIRO no half esquerdo da solution-section (apenas mobile) */
  .solution-section .left{
    padding-top: clamp(12px, 6vw, 28px) !important; /* interno, não afeta o “colo” entre sections */
  }
}


@media (max-width: 1024px){
  /* Garante alinhamento central do container do botão */
  .text-section .right,
  .text-visual{
    align-items: center !important;
    text-align: center;
  }

  /* Centraliza o próprio botão */
  .btn-simule-large{
    margin-inline: auto !important;   /* centraliza horizontalmente */
    display: inline-flex;             /* mantém o layout do botão */
  }
}

/* Footer */
.footer{
  background: var(--brand);
  color: #fff;
  padding: 120px var(--gutter) 60px; /* padding-top aumentado para 80px */
  margin-top: -1px; /* garante que não haja espaço entre as seções */
}

.footer-part{
  background: var(--brand);
}

.footer-container {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-around; /* Alinha os itens à esquerda */
  gap: 120px; /* Espaçamento entre as seções */
  flex-wrap: wrap; /* para mobile */
  padding: 0 clamp(40px, 8vw, 60px); /* Aumenta padding lateral para notebooks e PCs */
}

/* Primeira parte (logo) */
.footer-part:first-child {
  flex: 0 1 auto; /* Não cresce, encolhe conforme necessário */
  min-width: auto; /* Remove a largura mínima */
  max-width: 200px; /* Largura máxima para a seção da logo */
  margin-right: 20px; /* Espaço após a logo */
}

/* Demais partes */
.footer-part:not(:first-child) {
  flex: 1;
  min-width: 160px;
  max-width: 220px;
}

.footer-part {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
}

/* Parte 1 */
.footer-logo {
  height: 50px;
  width: auto;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons img {
  height: 24px;
  width: 24px;
  object-fit: contain;
}

/* Parte 2 */
.footer-part h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0px;
}

.footer-part ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px; /* Reduzido de 8px para 4px */
}
.footer-part ul li a {
  text-decoration: none;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 300; /* alterado de 400 para 300 (Light) */
  font-size: clamp(0.8rem, 1.4vw, 0.9rem); /* Diminui o tamanho da fonte */
  transition: color 0.2s ease;
}

.footer-part ul li a:hover {
  color: #FF7700;
}

/* Parte 3 */
.footer-part p {
  margin: 0;
  line-height: 1.1; /* Reduz significativamente o espaçamento entre linhas */
  font-family: 'Poppins', sans-serif;
  font-weight: 100;
  font-size: clamp(0.8rem, 1.4vw, 0.9rem); /* Diminui o tamanho da fonte */
}

.footer-part p:last-child {
  margin-bottom: 0; /* Remove margem do último parágrafo */
}

/* Responsivo: empilha colunas em telas pequenas */
@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      align-items: flex-start;
      gap: 20px;
      padding: 0 clamp(16px, 4vw, 32px); /* Padding responsivo para mobile */
  }
  
  .footer-part,
  .footer-part:first-child {
    width: 100%;
    max-width: 100%;
    margin-bottom: 4px;
    margin-right: 0;
  }
}

/* Estado inicial (oculto e deslocado) */
.fade-in-left,
.fade-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.5s ease, transform 2.2s ease;
}

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

.fade-in-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.5s ease, transform 2.2s ease;
}

/* Estado visível (quando entra na tela) */
.fade-in-left.visible,
.fade-in-right.visible,
.fade-in-up.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Estado inicial */
.stagger-item {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Estado final */
.stagger-item.visible {
  opacity: 1;
  transform: translateX(0);
}
