﻿:root {
  --azul-900: #0b3f91;
  --azul-700: #1263b8;
  --azul-500: #1ea7e1;
  --amarelo: #f9a31a;
  --texto: #12314d;
  --texto-claro: #4f6a82;
  --fundo: #f8fbff;
  --branco: #ffffff;
  --raio: 18px;
  --sombra: 0 12px 30px rgba(10, 58, 130, 0.15);
  --sombra-hover: 0 16px 36px rgba(10, 58, 130, 0.22);
  --transicao: 0.28s ease;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Sora", sans-serif;
  color: var(--texto);
  background: radial-gradient(circle at 10% 10%, #eaf6ff 0%, #f8fbff 42%, #ffffff 100%);
  scroll-behavior: smooth;
}

main {
  position: relative;
  isolation: isolate;
}

main::before,
main::after {
  content: "";
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(28px);
  opacity: 0.28;
}

main::before {
  top: 16%;
  left: -110px;
  background: radial-gradient(circle, #7ec9ff 0%, rgba(126, 201, 255, 0) 70%);
}

main::after {
  bottom: 10%;
  right: -120px;
  background: radial-gradient(circle, #ffd38a 0%, rgba(255, 211, 138, 0) 70%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 78px 0;
}

.section::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(1080px, 88%);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(27, 101, 182, 0.18) 25%, rgba(27, 101, 182, 0.18) 75%, transparent 100%);
}

.section:last-of-type::after {
  display: none;
}

.section-title {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.1;
  margin: 0 0 14px;
  color: var(--azul-900);
}

.section-title::after {
  content: "";
  display: block;
  width: 86px;
  height: 6px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1ea7e1 0%, #f9a31a 100%);
  box-shadow: 0 4px 14px rgba(30, 167, 225, 0.35);
}

.section-subtitle {
  margin: 0 0 34px;
  color: var(--texto-claro);
  max-width: 700px;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transicao), box-shadow var(--transicao), background var(--transicao);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--sombra);
}

.btn-principal {
  background: linear-gradient(135deg, var(--amarelo), #ffbf3d);
  color: #14335b;
  box-shadow: 0 10px 24px rgba(249, 163, 26, 0.3);
}

.btn-secundario {
  background: #e8f4ff;
  color: var(--azul-900);
}

.topo {
  position: sticky;
  top: 0;
  z-index: 99;
  transition: box-shadow var(--transicao), background var(--transicao);
  backdrop-filter: saturate(120%) blur(6px);
  background: rgba(255, 255, 255, 0.92);
}

.topo.scrolled {
  box-shadow: 0 10px 22px rgba(10, 58, 130, 0.12);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  color: var(--azul-900);
  font-size: 0;
  line-height: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.menu a {
  font-weight: 600;
  color: #164a86;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background var(--transicao), color var(--transicao), box-shadow var(--transicao);
}

.menu a:hover {
  background: #eef6ff;
}

.menu a.ativo {
  color: #0b3f91;
  background: #e3f1ff;
  box-shadow: inset 0 0 0 1px #bfdcff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: #eef6ff;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2.5px;
  background: #164a86;
  transition: transform var(--transicao), opacity var(--transicao), top var(--transicao);
  border-radius: 8px;
}

.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }

.menu-toggle.ativo span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle.ativo span:nth-child(2) { opacity: 0; }
.menu-toggle.ativo span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.hero {
  padding: 30px 0 56px;
  background: linear-gradient(180deg, #f2f9ff 0%, #ffffff 75%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
}

.selo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #e7f3ff;
  color: var(--azul-900);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.06;
  color: var(--azul-900);
}

.hero p {
  color: var(--texto-claro);
  line-height: 1.65;
  margin: 16px 0 24px;
  max-width: 58ch;
}

.hero-acoes {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-box {
  background: var(--branco);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--sombra);
  border: 1px solid #e6f0ff;
  animation: floaty 6s ease-in-out infinite;
}

.hero-box img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.hero-mini div {
  background: #f3f8ff;
  border: 1px solid #e4efff;
  border-radius: 12px;
  padding: 8px 6px;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #1a4f88;
  font-weight: 700;
  min-height: 46px;
  display: grid;
  place-items: center;
}

.confianca {
  background: linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
  padding-bottom: 0;
}

.cred-v2 {
  border: 1px solid #dbeaff;
  border-radius: 22px;
  padding: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  box-shadow: 0 10px 24px rgba(10, 58, 130, 0.08);
}

.cred-faixa {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.cred-kpi {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  border: 1px solid #d9e9ff;
  background: linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
  padding: 14px 14px 14px 12px;
  box-shadow: 0 8px 18px rgba(11, 63, 145, 0.08);
  transition: transform var(--transicao), box-shadow var(--transicao);
  animation: softFloat 5.4s ease-in-out infinite;
}

.cred-kpi:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(11, 63, 145, 0.14);
}

.cred-kpi:nth-child(2) {
  animation-delay: 0.5s;
}

.cred-kpi:nth-child(3) {
  animation-delay: 1s;
}

.cred-icone {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(135deg, var(--azul-700), var(--azul-500));
  box-shadow: 0 8px 16px rgba(18, 99, 184, 0.3);
}

.cred-kpi div {
  min-width: 0;
}

.cred-kpi strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--azul-900);
  font-size: clamp(1.12rem, 1.45vw, 1.25rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  padding: 4px 10px;
  border-radius: 10px;
  background: linear-gradient(180deg, #e9f3ff 0%, #dcecff 100%);
  box-shadow: inset 0 0 0 1px #cfe3ff;
  width: fit-content;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.cred-kpi .contador {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1;
  margin-right: 1px;
}

.cred-kpi div span {
  display: block;
  color: #2f5274;
  font-size: 0.9rem;
  line-height: 1.2;
  text-wrap: balance;
}

.cred-box {
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  border: 1px solid #d9e9ff;
  padding: 16px;
}

.cred-box h3 {
  margin: 0 0 10px;
  font-family: "Baloo 2", cursive;
  font-size: 1.6rem;
  color: var(--azul-900);
}

.cred-checks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.cred-checks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #2f5376;
  line-height: 1.45;
}

.cred-checks i {
  color: #18a45c;
  margin-top: 2px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e7f0ff;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(10, 58, 130, 0.09);
  transition: transform var(--transicao), box-shadow var(--transicao), border-color var(--transicao);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-hover);
  border-color: #b8d8ff;
}

.icone-card {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e7f3ff, #fef3dc);
  color: var(--azul-900);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.card h3 {
  margin: 0 0 8px;
  color: var(--azul-900);
  font-family: "Baloo 2", cursive;
  font-size: 1.55rem;
}

.card ul {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--texto-claro);
  line-height: 1.6;
}

.passos {
  position: relative;
  background: radial-gradient(circle at 15% 10%, #e7f3ff 0%, #f4f9ff 35%, #ffffff 100%);
}

.passos::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 30%, rgba(30, 167, 225, 0.12), transparent 36%),
    radial-gradient(circle at 88% 70%, rgba(249, 163, 26, 0.12), transparent 38%);
  pointer-events: none;
}

.passo-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.passo-grid::before {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  top: 52px;
  height: 3px;
  background: linear-gradient(90deg, #84b9f1 0%, #1ea7e1 50%, #84b9f1 100%);
  border-radius: 999px;
  opacity: 0.75;
  z-index: 0;
}

.passo {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 18px;
  padding: 22px;
  border: 1px solid #d8e9ff;
  box-shadow: 0 12px 24px rgba(10, 58, 130, 0.08);
  transition: transform var(--transicao), box-shadow var(--transicao), border-color var(--transicao);
}

.passo:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(10, 58, 130, 0.16);
  border-color: #b6d7ff;
}

.passo .num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--azul-700), var(--azul-900));
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
  box-shadow: 0 10px 20px rgba(11, 63, 145, 0.35);
}

.passo h3 {
  margin: 0 0 8px;
  font-family: "Baloo 2", cursive;
  font-size: 1.55rem;
  color: var(--azul-900);
  line-height: 1.08;
}

.passo p {
  margin: 0;
  color: #345977;
  line-height: 1.55;
}

.depoimentos-shell {
  position: relative;
  background: radial-gradient(circle at 85% 20%, #e4f2ff 0%, #ffffff 46%, #f8fbff 100%);
  border: 1px solid #dbeaff;
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--sombra);
  overflow: hidden;
}

.depoimentos-shell::before {
  content: "\201C";
  position: absolute;
  top: -16px;
  right: 16px;
  font-family: "Baloo 2", cursive;
  font-size: 8rem;
  line-height: 1;
  color: rgba(18, 99, 184, 0.12);
}

.depo-card {
  display: none;
  opacity: 0;
  transform: translateY(12px) scale(0.985);
}

.depo-card.ativo {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: depoFade 0.45s ease;
}

.depo-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.depo-estrelas {
  letter-spacing: 1px;
  color: #ffad24;
  font-size: 1.02rem;
}

.depo-tag {
  font-size: 0.78rem;
  font-weight: 700;
  background: #e7f3ff;
  color: #1a4f88;
  border-radius: 999px;
  padding: 6px 10px;
}

.depo-card p {
  margin: 0 0 14px;
  color: var(--texto-claro);
  line-height: 1.8;
  font-size: clamp(0.98rem, 1.7vw, 1.05rem);
}

.depo-autor {
  display: flex;
  align-items: center;
  gap: 12px;
}

.depo-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(140deg, var(--azul-700), var(--azul-500));
  box-shadow: 0 8px 18px rgba(18, 99, 184, 0.35);
}

.depo-autor strong {
  display: block;
  color: var(--azul-900);
}

.depo-autor small {
  color: #557090;
}

.depo-nav {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.depo-nav button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: #edf5ff;
  color: #1a4f88;
  cursor: pointer;
  transition: background var(--transicao);
}

.depo-nav button:hover {
  background: #dcecff;
}

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

.depo-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: #b7d1f5;
  cursor: pointer;
  transition: transform var(--transicao), background var(--transicao), width var(--transicao);
}

.depo-dot.ativo {
  width: 30px;
  background: var(--azul-700);
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.galeria-item {
  position: relative;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e1ecfb;
  background: #fff;
  aspect-ratio: 1 / 1;
  transition: transform var(--transicao);
}

.galeria-item:hover {
  transform: translateY(-2px);
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.galeria-item:hover img {
  transform: scale(1.03);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  position: relative;
  background: #fff;
  border: 1px solid #e4efff;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow var(--transicao), border-color var(--transicao), transform var(--transicao);
}

.faq-item:hover {
  transform: translateY(-2px);
  border-color: #bfdcff;
  box-shadow: 0 10px 24px rgba(10, 58, 130, 0.12);
}

.faq-pergunta {
  width: 100%;
  padding: 16px;
  background: #fff;
  border: 0;
  text-align: left;
  font-weight: 700;
  color: var(--azul-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-resposta {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transicao), padding var(--transicao);
  color: var(--texto-claro);
  padding: 0 16px;
  line-height: 1.6;
}

.faq-item.ativo .faq-resposta {
  padding: 0 16px 16px;
  max-height: 220px;
}

.contato {
  position: relative;
  background: linear-gradient(150deg, #0b3f91 0%, #1263b8 42%, #1ea7e1 100%);
  color: #fff;
}

.contato::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.16), transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.14), transparent 28%);
}

.contato-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.contato h2 {
  color: #fff;
}

.contato .section-subtitle {
  color: #e9f4ff;
}

.contato-card {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 14px 28px rgba(6, 29, 68, 0.25);
}

.contato-card p {
  margin: 7px 0;
  line-height: 1.65;
}

.contato-card a {
  color: #fff;
}

.contato-acoes {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contato-acoes .btn-secundario {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.form {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  color: var(--texto);
  box-shadow: 0 14px 30px rgba(8, 45, 102, 0.18);
}

.form label {
  font-size: 0.9rem;
  color: var(--texto-claro);
  display: block;
  margin-bottom: 5px;
}

.form input, .form textarea, .form select {
  width: 100%;
  border: 1px solid #d5e6ff;
  border-radius: 10px;
  padding: 11px;
  font-family: inherit;
  margin-bottom: 12px;
  font-size: 0.96rem;
}

.rodape {
  background: linear-gradient(180deg, #072a60 0%, #061f49 100%);
  color: #d7e8ff;
  padding: 34px 0 14px;
}

.rodape-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 18px;
  align-items: start;
}

.rodape-brand strong {
  display: block;
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.rodape-brand p {
  margin: 0;
  color: #bad6fb;
  line-height: 1.6;
  max-width: 38ch;
}

.rodape-coluna h4 {
  margin: 0 0 8px;
  font-family: "Baloo 2", cursive;
  font-size: 1.25rem;
  color: #ffffff;
}

.rodape-links {
  display: grid;
  gap: 8px;
}

.rodape-links a {
  color: #cce1ff;
  transition: color var(--transicao), transform var(--transicao);
}

.rodape-links a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.rodape-cta .btn {
  white-space: nowrap;
}

.rodape-base {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(196, 220, 255, 0.2);
  color: #a9c9f2;
}

.whats-flutuante {
  position: fixed;
  right: 14px;
  bottom: 14px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.22);
  z-index: 120;
  transition: transform var(--transicao);
  animation: pulseWhats 2.4s infinite;
}

.whats-flutuante:hover {
  transform: scale(1.06);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visivel {
  opacity: 1;
  transform: none;
}

.card::before,
.passo::before,
.faq-item::before,
.galeria-item::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(30, 167, 225, 0.17) 0%, rgba(30, 167, 225, 0) 48%);
  transition: opacity 0.25s ease;
}

.card.com-glow::before,
.passo.com-glow::before,
.faq-item.com-glow::before,
.galeria-item.com-glow::before {
  opacity: 1;
}

.in-view {
  animation: riseIn 0.56s cubic-bezier(.2, .7, .2, 1) both;
}

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

@keyframes depoFade {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes pulseWhats {
  0%, 100% { box-shadow: 0 12px 25px rgba(0, 0, 0, 0.22); }
  50% { box-shadow: 0 14px 30px rgba(37, 211, 102, 0.42); }
}

@keyframes softFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 981px) {
  .brand img {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 980px) {
  .brand img {
    width: 64px;
    height: 64px;
  }

  .hero-grid, .contato-grid {
    grid-template-columns: 1fr;
  }

  .cards, .passo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .passo-grid::before {
    display: none;
  }

  .cred-faixa {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .galeria-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .galeria-item {
    aspect-ratio: 1 / 1;
  }

  .menu-toggle {
    display: inline-block;
  }

  .menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 4%;
    width: min(300px, 92%);
    display: grid;
    gap: 2px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e4efff;
    border-radius: 14px;
    box-shadow: var(--sombra);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transicao), opacity var(--transicao);
  }

  .menu.aberto {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu .btn {
    justify-content: center;
  }

  .rodape-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .brand img {
    width: 66px;
    height: 66px;
  }

  .section {
    padding: 62px 0;
  }

  .section-title::after {
    width: 72px;
    height: 5px;
  }

  .cards, .passo-grid {
    grid-template-columns: 1fr;
  }

  .cred-faixa {
    grid-template-columns: 1fr;
  }

  .galeria-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .galeria-item { aspect-ratio: 1 / 1; }

  .hero-acoes .btn {
    width: 100%;
    justify-content: center;
  }

  .contato-acoes .btn {
    width: 100%;
    justify-content: center;
  }

  .rodape-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rodape-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-mini div {
    font-size: 0.74rem;
    min-height: 42px;
    padding: 7px 4px;
  }

  .cred-kpi div span {
    font-size: 0.9rem;
  }

  .cred-kpi {
    padding: 13px 12px;
    gap: 10px;
  }

  .cred-icone {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .depoimentos-shell {
    padding: 18px;
  }

  .depo-tag {
    font-size: 0.72rem;
    padding: 5px 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  main::before,
  main::after {
    display: none !important;
  }
}
