/* ==========================================================================
   Consórcio Spengler — styles
   ========================================================================== */

:root {
  --navy-950: #03081c;
  --navy-900: #04102b;
  --navy-800: #082045;
  --navy-700: #0c2f63;
  --blue-600: #1463f3;
  --blue-500: #2b7fff;
  --blue-400: #4f9bff;
  --cyan-400: #00c2ff;
  --ink: #0d1b33;
  --ink-soft: #44557a;
  --surface: #ffffff;
  --surface-alt: #f3f7fd;
  --line: #dde7f5;
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(8, 32, 69, 0.06);
  --shadow-md: 0 12px 40px rgba(8, 32, 69, 0.12);
  --grad: linear-gradient(95deg, var(--blue-500), var(--cyan-400));
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

h1, h2, h3 { line-height: 1.18; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.6rem); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 0.9rem;
}
.kicker--light { color: var(--cyan-400); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(20, 99, 243, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(20, 99, 243, 0.45); }
.btn--ghost {
  background: transparent;
  color: currentColor;
  border-color: rgba(130, 165, 220, 0.55);
}
.btn--ghost:hover { border-color: var(--blue-400); background: rgba(79, 155, 255, 0.08); transform: translateY(-2px); }
.btn--lg { padding: 1rem 2rem; font-size: 1.02rem; }
.btn--sm { padding: 0.55rem 1.2rem; font-size: 0.88rem; }

/* ---------- header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.header__logo { height: 46px; width: auto; }
/* logo on dark hero before scroll: place on light pill for contrast */
.header__brand {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  padding: 4px 12px;
  transition: background 0.3s ease, padding 0.3s ease;
}
.header.is-scrolled .header__brand { background: transparent; padding: 4px 0; }

.nav { display: flex; align-items: center; gap: 1.35rem; }
.nav__link {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  transition: color 0.2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.header.is-scrolled .nav__link { color: var(--ink-soft); }
.header.is-scrolled .nav__link:hover { color: var(--blue-600); }

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.header__toggle span {
  width: 24px; height: 2.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
.header.is-scrolled .header__toggle span { background: var(--ink); }
.header__toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.header__toggle.is-open span:nth-child(2) { opacity: 0; }
.header__toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: radial-gradient(120% 120% at 80% -10%, var(--navy-700) 0%, var(--navy-900) 48%, var(--navy-950) 100%);
  color: #fff;
  overflow: hidden;
  padding: calc(var(--header-h) + 48px) 0 96px;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}
.hero__glow {
  position: absolute;
  width: 720px; height: 720px;
  right: -220px; top: -220px;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; }
.hero__content { max-width: 720px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #bcd7ff;
  background: rgba(43, 127, 255, 0.12);
  border: 1px solid rgba(43, 127, 255, 0.35);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 0 rgba(0, 194, 255, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 194, 255, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(0, 194, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 194, 255, 0); }
}

.hero__title { font-size: clamp(2.2rem, 1.2rem + 4.6vw, 4rem); margin-bottom: 1.2rem; }
.hero__subtitle {
  font-size: clamp(1rem, 0.92rem + 0.4vw, 1.15rem);
  color: #a9c2e8;
  max-width: 580px;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 4rem;
  background: rgba(130, 165, 220, 0.18);
  border: 1px solid rgba(130, 165, 220, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: rgba(4, 16, 43, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 1.5rem 1.4rem;
}
.stat__num {
  display: block;
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label { font-size: 0.85rem; color: #a9c2e8; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(169, 194, 232, 0.5);
  border-radius: 14px;
  z-index: 2;
}
.hero__scroll span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--cyan-400);
  animation: scrollhint 1.8s infinite;
}
@keyframes scrollhint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section--alt { background: var(--surface-alt); }
.section__head { max-width: 640px; margin-bottom: 3rem; }
.section__head p { color: var(--ink-soft); margin-top: 0.9rem; }

/* ---------- cards (consórcios) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(43, 127, 255, 0.4);
}
.card--featured {
  background: linear-gradient(170deg, var(--navy-800), var(--navy-900));
  border-color: var(--navy-700);
  color: #fff;
}
.card--featured p, .card--featured .card__list li { color: #a9c2e8; }
.card__tag {
  position: absolute;
  top: -12px; right: 20px;
  background: var(--grad);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
}
.card__icon {
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(43, 127, 255, 0.1);
  color: var(--blue-600);
  margin-bottom: 1.3rem;
}
.card--featured .card__icon { background: rgba(0, 194, 255, 0.14); color: var(--cyan-400); }
.card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }
.card__list { margin: 1.1rem 0 1.5rem; flex: 1; }
.card__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.46em;
  width: 0.85em; height: 0.45em;
  border-left: 2px solid var(--cyan-400);
  border-bottom: 2px solid var(--cyan-400);
  transform: rotate(-45deg) scale(0.9);
}
.card__cta {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.card--featured .card__cta { color: var(--cyan-400); }
.card__cta--btn { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.card__cta span { transition: transform 0.25s ease; }
.card:hover .card__cta span { transform: translateX(5px); }

/* ---------- sobre ---------- */
.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.about__text p { color: var(--ink-soft); margin-top: 1rem; }
.about__text strong { color: var(--ink); }
.about__mission {
  margin-top: 1.8rem;
  padding: 1.5rem 1.7rem;
  background: var(--surface);
  border-left: 4px solid;
  border-image: var(--grad) 1;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-style: italic;
}
.about__mission cite {
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.about__feats { display: grid; gap: 1.1rem; padding-top: 2.6rem; }
.feat {
  display: flex;
  gap: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feat:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.feat__icon {
  flex: 0 0 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(43, 127, 255, 0.1);
  color: var(--blue-600);
}
.feat h3 { font-size: 1.02rem; margin-bottom: 0.25rem; }
.feat p { font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- história ---------- */
.history {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.history__text p { color: var(--ink-soft); margin-top: 1rem; }
.history__text strong { color: var(--ink); }
.timeline {
  list-style: none;
  position: relative;
  padding-left: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 37px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--blue-500), var(--cyan-400));
  opacity: 0.35;
}
.timeline__item {
  position: relative;
  display: flex;
  gap: 1.6rem;
  padding: 0 0 1.7rem 0;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__year {
  flex: 0 0 76px;
  height: 40px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--blue-600);
  background: var(--surface);
  border: 1.5px solid rgba(43, 127, 255, 0.4);
  border-radius: 999px;
  position: relative;
  z-index: 1;
}
.timeline__item:last-child .timeline__year {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}
.timeline__item h3 { font-size: 1.02rem; margin-bottom: 0.2rem; }
.timeline__item p { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- mapa ---------- */
.map-section {
  position: relative;
  background:
    radial-gradient(90% 100% at 15% 0%, rgba(12, 47, 99, 0.65) 0%, transparent 55%),
    linear-gradient(170deg, var(--navy-900), var(--navy-950));
  color: #fff;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  overflow: hidden;
}
.map-section__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.map-section__text p { color: #a9c2e8; margin-top: 0.9rem; max-width: 460px; }
.map-section__stats {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 2.2rem;
}
.mstat {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.9rem 1.2rem;
  background: rgba(43, 127, 255, 0.08);
  border: 1px solid rgba(43, 127, 255, 0.22);
  border-radius: 14px;
}
.mstat strong {
  font-size: 1.7rem;
  font-weight: 800;
  min-width: 4.2ch;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mstat span { font-size: 0.92rem; color: #a9c2e8; }

.map-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 620px;
  margin-inline: auto;
  width: 100%;
}
.map-wrap canvas { width: 100%; height: 100%; display: block; }

/* ---------- área do cliente ---------- */
.cards--client { grid-template-columns: repeat(4, 1fr); }
.ccard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ccard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(43, 127, 255, 0.4);
}
.ccard__icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(43, 127, 255, 0.1);
  color: var(--blue-600);
  margin-bottom: 1.1rem;
}
.ccard h3 { font-size: 1.08rem; margin-bottom: 0.45rem; }
.ccard p { font-size: 0.88rem; color: var(--ink-soft); flex: 1; }
.ccard__cta {
  margin-top: 1.1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue-600);
  display: inline-flex;
  gap: 0.4rem;
}
.ccard__cta span { transition: transform 0.25s ease; }
.ccard:hover .ccard__cta span { transform: translateX(5px); }

/* ---------- representantes ---------- */
.rep {
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(0, 194, 255, 0.12) 0%, transparent 55%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  color: #fff;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}
.rep__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.rep__text p { color: #a9c2e8; margin: 1rem 0 2rem; max-width: 540px; }
.rep__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.rep__perks { display: grid; gap: 1rem; }
.rep__perks li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(130, 165, 220, 0.22);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  display: grid;
  gap: 0.2rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.rep__perks li:hover { border-color: rgba(0, 194, 255, 0.5); background: rgba(0, 194, 255, 0.06); }
.rep__perks strong { font-size: 1rem; }
.rep__perks span { font-size: 0.88rem; color: #a9c2e8; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 0.8rem; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq__item[open] { border-color: rgba(43, 127, 255, 0.45); box-shadow: var(--shadow-sm); }
.faq__item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 1.15rem 3.2rem 1.15rem 1.4rem;
  position: relative;
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  width: 9px; height: 9px;
  border-right: 2.5px solid var(--blue-600);
  border-bottom: 2.5px solid var(--blue-600);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s ease;
}
.faq__item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq__item p {
  padding: 0 1.4rem 1.3rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
}
.faq__cta {
  text-align: center;
  margin-top: 2.6rem;
}
.faq__cta p { font-weight: 700; margin-bottom: 1rem; }

/* ---------- cta final ---------- */
.cta {
  background:
    radial-gradient(70% 140% at 50% 0%, rgba(43, 127, 255, 0.22) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: #fff;
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  text-align: center;
}
.cta__inner p { color: #a9c2e8; margin: 1rem auto 2.2rem; max-width: 480px; }

/* ---------- redes sociais ---------- */
.social {
  background: var(--navy-950);
  padding: 2.6rem 0;
  border-top: 1px solid rgba(130, 165, 220, 0.14);
}
.social__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.2rem 2.4rem;
}
.social__text {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.social__btns { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }
.social__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: #bcd7ff;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid rgba(130, 165, 220, 0.35);
  background: rgba(43, 127, 255, 0.07);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.social__btn:hover {
  transform: translateY(-3px);
  color: #fff;
  border-color: transparent;
  background: var(--grad);
  box-shadow: 0 10px 28px rgba(20, 99, 243, 0.4);
}

/* ---------- footer ---------- */
.footer {
  background: var(--navy-950);
  color: #8fa9d4;
  padding-top: 4rem;
  border-top: 1px solid rgba(130, 165, 220, 0.14);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 0.9fr 1.1fr 1.1fr 1.1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}
.footer__logo { height: 52px; width: auto; margin-bottom: 1.1rem; }
.footer__brand p { font-size: 0.88rem; max-width: 300px; }
.footer__seals {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: 1.6rem;
}
.footer__seals img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity 0.2s ease;
}
.footer__seals img:hover { opacity: 1; }
.footer__col { display: grid; gap: 0.55rem; align-content: start; }
.footer__col h3 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.footer__col a { font-size: 0.9rem; transition: color 0.2s ease; }
.footer__col a:hover { color: var(--cyan-400); }
.footer__contact {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.footer__contact svg { flex-shrink: 0; opacity: 0.8; }
.footer__groups {
  padding: 1.4rem 0;
  border-top: 1px solid rgba(130, 165, 220, 0.14);
}
.footer__groups h3 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.footer__groups p { font-size: 0.9rem; max-width: 720px; }
.footer__groups a {
  color: var(--cyan-400);
  font-weight: 600;
  transition: opacity 0.2s ease;
}
.footer__groups a:hover { opacity: 0.8; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid rgba(130, 165, 220, 0.14);
  font-size: 0.82rem;
}

/* ---------- whatsapp fab ---------- */
.whats-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: fab-pop 0.6s 1.2s both;
}
.whats-fab:hover { transform: scale(1.08); box-shadow: 0 14px 34px rgba(37, 211, 102, 0.55); }
@keyframes fab-pop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .cards--client .reveal:nth-child(2) { transition-delay: 0.1s; }
.cards .reveal:nth-child(3), .cards--client .reveal:nth-child(3) { transition-delay: 0.2s; }
.cards .reveal:nth-child(4), .cards--client .reveal:nth-child(4) { transition-delay: 0.3s; }

/* ---------- responsive ---------- */
@media (max-width: 1320px) {
  .nav { gap: 0.95rem; }
  .nav__link { font-size: 0.86rem; }
}

/* mantém o menu inline (sem hambúrguer) também em telas médias */
@media (max-width: 1080px) {
  .header__inner { gap: 0.9rem; }
  .nav { gap: 0.6rem; }
  .nav__link { font-size: 0.78rem; }
  .nav__cta { padding-left: 0.7rem; padding-right: 0.7rem; }
}

@media (max-width: 1024px) {
  .cards, .cards--client { grid-template-columns: repeat(2, 1fr); }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .cards { grid-template-columns: 1fr; }
  .about, .map-section__inner, .rep__inner, .history { grid-template-columns: 1fr; }
  .about__feats { padding-top: 0; }
  .map-wrap { max-width: 480px; }
}

@media (max-width: 720px) {
  .header__toggle { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(3, 10, 30, 0.99);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    padding: 0.8rem 4% 1.4rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-bottom: 1px solid rgba(130, 165, 220, 0.2);
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__link {
    color: #e6eefc !important;
    padding: 0.9rem 0.4rem;
    border-bottom: 1px solid rgba(130, 165, 220, 0.14);
    font-size: 1rem;
  }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 1.1rem; justify-content: center; }
  .header.is-scrolled .nav { background: rgba(3, 10, 30, 0.99); }
}

@media (max-width: 560px) {
  .hero { padding-bottom: 72px; }
  .hero__stats { grid-template-columns: 1fr 1fr; margin-top: 2.6rem; }
  .stat { padding: 1.1rem 1rem; }
  .cards--client { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer__bottom { justify-content: center; text-align: center; }
  .hero__scroll { display: none; }
  .btn--lg { width: 100%; justify-content: center; }
  .rep__actions .btn, .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
