/* ==========================================================================
   Growth Solutions® — Institutional Landing
   Brand book: Estúdio Santello (5-color palette)
   Mobile-first CSS / Inter via Google Fonts
   ========================================================================== */

/* --- Tokens ---------------------------------------------------------------- */
:root {
  --navy: #00023d;
  --navy-deep: #00012a;
  --ocean-blue: #0f46fa;
  --ocean-blue-dark: #0c38c8;
  --soft-gold: #e8ac6c;
  --white: #ffffff;
  --iron: #e1e1e1;
  --cream-light: #f5f5f3;

  --container-max: 1200px;
  --container-pad: 20px;
  --container-pad-desktop: 72px;

  --radius-pill: 999px;
  --radius-card: 16px;
  --radius-sm: 8px;

  --shadow-card: 0 6px 24px rgba(0, 2, 61, 0.08);
  --shadow-card-hover: 0 12px 40px rgba(0, 2, 61, 0.16);
  --shadow-glow-blue: 0 0 80px rgba(15, 70, 250, 0.45);

  --transition-base: 0.2s ease-out;
  --transition-slow: 0.5s ease-out;
}

/* --- Reset ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
input, select, textarea { font: inherit; color: inherit; }

/* --- Container & Sections -------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.section { padding: 96px 0; }
.section--dark { background: var(--navy); color: var(--white); }
.section--cream { background: var(--cream-light); }
.section--white { background: var(--white); }

/* --- Typography ------------------------------------------------------------ */
.h1 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
}
.h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
}
.body-l { font-size: 16px; line-height: 1.6; }
.body-sm { font-size: 14px; line-height: 1.5; }
.pre-headline {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--soft-gold);
  margin-bottom: 16px;
}
.accent-gold { color: var(--soft-gold); font-weight: 500; }

/* --- CTAs ------------------------------------------------------------------ */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  text-align: center;
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  white-space: nowrap;
}
.cta--primary {
  background: var(--ocean-blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(15, 70, 250, 0.28);
}
.cta--primary:hover,
.cta--primary:focus-visible {
  background: var(--ocean-blue-dark);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 8px 24px rgba(15, 70, 250, 0.4);
}
.cta--secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  background: transparent;
  border: none;
  text-decoration: none;
  transition: color var(--transition-base), transform var(--transition-base);
}
.cta--secondary .arrow { color: var(--soft-gold); transition: transform var(--transition-base); }
.cta--secondary:hover { color: var(--soft-gold); }
.cta--secondary:hover .arrow { transform: translateX(4px); }
.cta--secondary:focus-visible { outline: 2px solid var(--soft-gold); outline-offset: 4px; }
.section--dark .cta--secondary { color: var(--white); }
/* Force white on dark hero + final-cta backgrounds (Navy bg) */
.hero .cta--secondary,
.final-cta .cta--secondary {
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.hero .cta--secondary:hover,
.final-cta .cta--secondary:hover { color: var(--soft-gold); }
.cta:focus-visible { outline: 2px solid var(--ocean-blue); outline-offset: 3px; }

/* --- Header ---------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(0, 2, 61, 0.0);
  backdrop-filter: blur(0);
  transition: background var(--transition-base), backdrop-filter var(--transition-base), box-shadow var(--transition-base);
}
.header.is-scrolled {
  background: rgba(0, 2, 61, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}
/* Adaptive theme: header switches when scrolled over a light-bg section */
.header.is-scrolled.header--on-light {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 16px rgba(0, 2, 61, 0.08);
}
.header--on-light .header__logo { color: var(--navy); }
.header--on-light .nav__link { color: rgba(0, 2, 61, 0.85); }
.header--on-light .nav__link:hover { color: var(--soft-gold); }
.header--on-light .lang-toggle { color: rgba(0, 2, 61, 0.7); }
.header--on-light .lang-toggle a:hover { color: var(--navy); }
.header--on-light .lang-toggle a[aria-current="page"] { color: var(--soft-gold); }
.header--on-light .lang-toggle__sep { color: rgba(0, 2, 61, 0.3); }
.brand-logo--header { transition: opacity var(--transition-base); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.header__logo svg { width: 32px; height: 32px; flex: 0 0 auto; }

/* Brand logo (real PDF asset) — header & footer */
.brand-logo {
  display: block;
  width: auto;
  height: 28px;
  flex: 0 0 auto;
}
.brand-logo--header {
  height: 40px;
  /* Logo PNG is white-on-transparent (gs-logo-full-white.png), swapped to
     navy variant when header is over a light section. */
}
.brand-logo--footer {
  height: 32px;
  /* Logo PNG is already white-on-transparent (gs-logo-full-white.png).
     Footer is Navy — no filter needed. */
}
.brand-logo--invert {
  /* Deprecated — logo PNGs are now white-on-transparent natively.
     Kept as a no-op for backward compatibility with any markup still using the class. */
}
@media (min-width: 768px) {
  .brand-logo--header { height: 48px; }
  .brand-logo--footer { height: 44px; }
}

.nav { display: none; }
.nav__list { display: flex; gap: 28px; }
.nav__link {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-base);
}
.nav__link:hover { color: var(--soft-gold); }

.header__right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}
.lang-toggle a {
  padding: 4px 6px;
  transition: color var(--transition-base);
}
.lang-toggle a:hover { color: var(--white); }
.lang-toggle a[aria-current="page"] { color: var(--soft-gold); font-weight: 600; }
.lang-toggle__sep { color: rgba(255, 255, 255, 0.3); }

.header .cta--primary {
  padding: 10px 22px;
  font-size: 14px;
}

/* --- Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 640px;
  padding: 140px 0 80px;
  background: radial-gradient(ellipse at 50% 42%,
    #0c1a52 0%,
    #00023d 58%,
    #00010f 100%);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  perspective: 1800px;
  perspective-origin: 50% 50%;
}

/* Hero 3D glass-panel background — a perspective scene of translucent glass
   panels with a blue glow, floating dust particles, and a mouse parallax
   (added in script.js). Echoes the GS brand book p.19 crystalline hero. */
.hero .container { position: relative; z-index: 3; }

.hero__halo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(50, 110, 255, 0.18) 0%,
    rgba(20, 50, 150, 0.08) 30%,
    transparent 60%);
}

.hero__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
}
.hero__panel {
  --pw: 13%;
  --ph: 64%;
  position: absolute;
  left: var(--cx);
  top: 50%;
  width: var(--pw);
  height: var(--ph);
  transform-style: preserve-3d;
  will-change: transform;
  transform: translate(-50%, -50%) rotateY(var(--ry, 0deg));
  animation: hero-breathe 7.2s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.hero__face {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background:
    linear-gradient(90deg,
      rgba(180, 205, 255, 0.95) 0%,
      rgba(120, 165, 255, 0.4) 1.5%,
      rgba(20, 40, 110, 0) 8%,
      rgba(40, 80, 200, 0.15) 50%,
      rgba(20, 40, 110, 0) 92%,
      rgba(120, 165, 255, 0.4) 98.5%,
      rgba(180, 205, 255, 0.95) 100%),
    radial-gradient(ellipse at 50% 50%,
      rgba(255, 255, 255, 0.85) 0%,
      rgba(180, 210, 255, 0.55) 18%,
      rgba(80, 130, 255, 0.35) 40%,
      rgba(20, 45, 130, 0.1) 70%,
      rgba(0, 0, 0, 0) 100%),
    linear-gradient(180deg,
      rgba(40, 80, 200, 0.35) 0%,
      rgba(20, 50, 150, 0.45) 50%,
      rgba(10, 25, 80, 0.5) 100%);
  box-shadow:
    0 0 60px rgba(60, 110, 255, 0.45),
    0 0 150px rgba(30, 80, 220, 0.25),
    inset 0 0 30px rgba(255, 255, 255, 0.1);
  backface-visibility: hidden;
}
.hero__face::before {
  content: '';
  position: absolute;
  top: 12%;
  bottom: 12%;
  left: 35%;
  right: 35%;
  background: radial-gradient(ellipse,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0.1) 60%,
    transparent 100%);
  filter: blur(8px);
}
@keyframes hero-breathe {
  0%, 100% { transform: translate(-50%, -50%) rotateY(var(--ry, 0deg)) scale(1); }
  50%      { transform: translate(-50%, -50%) rotateY(calc(var(--ry, 0deg) + var(--breathe-ry, 4deg))) scale(1.02); }
}

.hero__dust {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero__dust span {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(180, 210, 255, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(180, 210, 255, 0.8);
  animation: hero-float linear infinite;
}
@keyframes hero-float {
  from { transform: translateY(110%); opacity: 0; }
  10%, 90% { opacity: 1; }
  to { transform: translateY(-10%); opacity: 0; }
}

/* Left + bottom veil so the headline stays legible over the scene */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(0, 1, 20, 0.82) 0%,
      rgba(0, 1, 20, 0.55) 34%,
      rgba(0, 1, 20, 0.15) 64%,
      rgba(0, 1, 20, 0) 100%),
    linear-gradient(180deg,
      rgba(0, 1, 20, 0) 55%,
      rgba(0, 1, 20, 0.55) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .hero__panel { animation: none; }
  .hero__dust { display: none; }
  .hero__scene { transition: none; }
}

.hero__content {
  position: relative;
  max-width: 640px;
}
.hero__h1 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.hero__sub {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.hero__trust {
  margin-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* --- Trust Strip ----------------------------------------------------------- */
.trust {
  padding: 56px 0;
  background: var(--white);
  border-bottom: 1px solid var(--iron);
  overflow: hidden;
}
.trust__caption { text-align: center; margin-bottom: 28px; }

/* Auto-marquee slider — same pattern as testimonials. Logos: local PNG assets in assets/logos/. */
.trust__slider {
  position: relative;
  overflow: hidden;
  padding: 4px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
}
.trust__track {
  --trust-gap: 56px;
  display: flex;
  align-items: center;
  gap: var(--trust-gap);
  width: max-content;
  /* translateX includes -gap/2 to compensate for the gap at the wrap boundary
     (without it the loop shows a sliver of empty space when restarting). */
  animation: trust-marquee 45s linear infinite;
  will-change: transform;
}
.trust__slider:hover .trust__track,
.trust__slider:focus-within .trust__track {
  animation-play-state: paused;
}
@keyframes trust-marquee {
  /* 3 sets in track → translate by 1/3 to advance one set per cycle.
     Subtract gap/2 to compensate the gap at the wrap boundary. */
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% / 3 - var(--trust-gap, 56px) / 2)); }
}
.trust__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 150px;
  height: 56px;
  padding: 0 8px;
  /* Uniform slot per logo so wordmarks of different aspect ratios feel
     balanced. Logos shown in their real brand colors (no grayscale). */
}
.trust__logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (min-width: 768px) {
  .trust__track { --trust-gap: 64px; }
  .trust__logo { width: 210px; height: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .trust__track { animation: none; flex-wrap: wrap; justify-content: center; }
  .trust__slider { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
}

/* --- Section: Manifesto (Conheça a GS) ------------------------------------- */
.manifesto {
  padding: 96px 0;
  background: var(--cream-light);
  text-align: center;
}
.manifesto__inner { max-width: 760px; margin: 0 auto; }
.manifesto .pre-headline { margin-bottom: 12px; }
.manifesto__h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 28px;
  letter-spacing: -0.015em;
}
.manifesto__body {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(0, 2, 61, 0.82);
  margin-bottom: 18px;
}
.manifesto__body:last-child { margin-bottom: 0; }
.manifesto__cta-line {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin-top: 6px;
  margin-bottom: 30px;
}

/* --- Section: Stats Row ---------------------------------------------------- */
.stats {
  padding: 96px 0;
  background: var(--navy);
  color: var(--white);
}
.stats__head { text-align: center; margin-bottom: 48px; }
.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.stat { text-align: center; }
.stat__num {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--ocean-blue);
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  display: block;
}
.stat--highlight .stat__num { color: var(--soft-gold); }
.stat__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
}
.stat--highlight .stat__label { color: var(--soft-gold); font-weight: 500; }

/* --- Section: Ecosystem (6-pillar) ----------------------------------------- */
.ecosystem {
  position: relative;
  padding: 96px 0;
  background: var(--white);
  overflow: hidden;
}
.ecosystem::before, .ecosystem::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}
.ecosystem::before {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(15, 70, 250, 0.12) 0%, transparent 70%);
  top: 10%; left: -120px;
}
.ecosystem::after {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(0, 2, 61, 0.08) 0%, transparent 70%);
  bottom: 5%; right: -150px;
}
.ecosystem__head { text-align: center; max-width: 720px; margin: 0 auto 48px; position: relative; z-index: 1; }
.ecosystem__h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}
.ecosystem__sub { color: rgba(0, 2, 61, 0.7); font-size: 16px; }

/* Mobile: 2x3 grid of cards */
.ecosystem__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}
.pillar-card {
  background: var(--white);
  border: 1px solid var(--iron);
  border-radius: var(--radius-card);
  padding: 20px 16px;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--soft-gold);
  box-shadow: var(--shadow-card-hover);
}
.pillar-card__icon {
  width: 36px; height: 36px;
  margin: 0 auto 12px;
  color: var(--ocean-blue);
}
.pillar-card__label {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.pillar-card__desc {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(0, 2, 61, 0.7);
}

/* Desktop: SVG diagram */
.ecosystem__diagram { display: none; }

/* --- Section: Method 4-step ------------------------------------------------ */
.method {
  padding: 96px 0;
  background: var(--cream-light);
}
.method__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.method__h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}
.method__sub { color: rgba(0, 2, 61, 0.7); font-size: 16px; }
.method__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.step {
  background: var(--white);
  border: 1px solid var(--iron);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}
.step:hover {
  transform: translateY(-4px);
  border-color: var(--soft-gold);
  background: rgba(232, 172, 108, 0.08);
  box-shadow: var(--shadow-card-hover);
}
.step__num {
  font-size: 40px;
  font-weight: 700;
  color: var(--ocean-blue);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  display: block;
}
.step__icon {
  position: absolute;
  top: 24px;
  right: 20px;
  width: 28px; height: 28px;
  color: var(--ocean-blue);
  opacity: 0.7;
}
.step__label {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy);
}
.step__desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(0, 2, 61, 0.72);
  margin-bottom: 12px;
}
.step__timing {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--soft-gold);
  background: rgba(232, 172, 108, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.3px;
}

/* --- Section: Contact ----------------------------------------------------- */
/* Inline form with marble bg image + dark veil for legibility. 2-col layout
   on desktop (intro left, form right), stacks on mobile. */
.contact {
  position: relative;
  padding: 96px 0;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.contact__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: -2;
  pointer-events: none;
  opacity: 0.85;
}
.contact__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 1, 42, 0.78) 0%,
    rgba(0, 1, 42, 0.55) 35%,
    rgba(0, 1, 42, 0.35) 60%,
    rgba(0, 1, 42, 0.50) 100%
  );
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.contact__intro {
  max-width: 520px;
}
.contact__h2 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.contact__sub {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}
.contact .form-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* --- Bounce animation (shared) ------------------------------------------- */
/* `.bounce-cta` is the standalone pill style (used after Manifesto / Ecosystem).
   `.cta--bounce` is a modifier that ONLY adds the bounce animation to existing
   .cta buttons (header/hero/final-cta/footer Aplicação CTAs) without overriding
   their visual style. Animation pauses on hover so the host's hover transform
   takes over cleanly. */
.bounce-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 36px auto 0;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 2, 61, 0.15);
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
  animation: bounce-pulse 1.6s ease-in-out infinite;
}
.bounce-cta--on-light {
  background: var(--navy);
  color: var(--white);
}
.bounce-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 36px rgba(0, 2, 61, 0.28);
  background: var(--ocean-blue);
  animation-play-state: paused;
}
.bounce-cta__chevron {
  display: inline-block;
  font-size: 18px;
  line-height: 1;
}
.bounce-cta__label { white-space: nowrap; }
/* Wrappers center the button when used as block-level "next" affordance */
.manifesto__inner > .bounce-cta,
.ecosystem .container > .bounce-cta {
  display: flex;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}

/* Modifier: adds bounce animation to any .cta without changing its style */
.cta--bounce {
  animation: bounce-pulse 1.6s ease-in-out infinite;
}
.cta--bounce:hover,
.cta--bounce:focus-visible {
  animation-play-state: paused;
}

@keyframes bounce-pulse {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
@media (prefers-reduced-motion: reduce) {
  .bounce-cta,
  .cta--bounce { animation: none; }
}

/* --- Section: Testimonials ------------------------------------------------- */
.testimonials {
  padding: 96px 0;
  background: var(--navy);
  color: var(--white);
}
.testimonials__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.testimonials__h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

/* Feedback carousel — real client feedback (2 video clips + 4 WhatsApp
   screenshots). Auto-advances, pauses on hover / focus / touch / while a
   video plays, and has prev/next arrows for manual control (script.js). */
.testimonials__slider {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
}
.testimonials__viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 2px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
}
.testimonials__viewport::-webkit-scrollbar { display: none; }
.testimonials__track {
  display: flex;
  gap: 20px;
  width: max-content;
}
/* All cards a single uniform size; content fits via object-fit:contain so
   nothing is cropped — screenshots letterbox on white, videos on dark. */
.feedback-card {
  margin: 0;
  flex: 0 0 300px;
  height: 430px;
  scroll-snap-align: start;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}
.feedback-card img,
.feedback-card__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.feedback-card--video,
.feedback-card__video { background: #00010f; }
/* Prev / next arrows */
.testimonials__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 1, 20, 0.72);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  transition: background var(--transition-base), transform var(--transition-base);
}
.testimonials__arrow svg { width: 20px; height: 20px; }
.testimonials__arrow:hover { background: var(--ocean-blue); }
.testimonials__arrow:active { transform: translateY(-50%) scale(0.94); }
.testimonials__arrow--prev { left: 6px; }
.testimonials__arrow--next { right: 6px; }
@media (min-width: 768px) {
  .testimonials__viewport { padding: 12px 2px; }
  .feedback-card { flex-basis: 340px; height: 470px; }
  .testimonials__arrow { width: 52px; height: 52px; }
  .testimonials__arrow svg { width: 24px; height: 24px; }
  .testimonials__arrow--prev { left: -8px; }
  .testimonials__arrow--next { right: -8px; }
}
@media (prefers-reduced-motion: reduce) {
  .testimonials__viewport { scroll-behavior: auto; }
}
@media (min-width: 768px) {
  .testimonials__gallery {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 920px;
  }
}

/* --- Section: Final CTA ---------------------------------------------------- */
.final-cta {
  position: relative;
  padding: 96px 0;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.final-cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--navy-deep);
  background-image:
    /* Stronger center darken — centered text needs more legibility */
    radial-gradient(ellipse at 50% 50%,
      rgba(0, 1, 42, 0.55) 0%,
      rgba(0, 1, 42, 0.82) 60%,
      rgba(0, 1, 42, 0.92) 100%
    ),
    url('assets/hero-bg.jpeg');
  background-repeat: no-repeat, no-repeat;
  background-position: center center, center center;
  background-size: cover, cover;
}
.final-cta__inner { max-width: 760px; margin: 0 auto; position: relative; }
.final-cta__h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.final-cta__sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  margin-bottom: 32px;
  line-height: 1.55;
}
.final-cta__ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.final-cta__trust {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* --- Footer ---------------------------------------------------------------- */
.footer {
  padding: 64px 0 24px;
  background: var(--navy);
  color: var(--white);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer__col h3 {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--soft-gold);
  margin-bottom: 16px;
}
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer__brand svg { width: 32px; height: 32px; }
.footer__brand-name { font-weight: 600; font-size: 16px; }
.footer__tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 12px;
}
.footer__address { font-size: 13px; color: rgba(255, 255, 255, 0.55); line-height: 1.5; }
.footer__nav li { margin-bottom: 10px; }
.footer__nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-base);
}
.footer__nav a:hover { color: var(--soft-gold); }
.footer__contact li { font-size: 14px; color: rgba(255, 255, 255, 0.8); margin-bottom: 10px; }
.footer__contact a { transition: color var(--transition-base); }
.footer__contact a:hover { color: var(--soft-gold); }
.footer__cta-cluster { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  line-height: 1.55;
}
.footer__bottom a { color: rgba(255, 255, 255, 0.65); }
.footer__bottom a:hover { color: var(--soft-gold); }

/* --- Form Page (Aplicação) ------------------------------------------------- */
.form-page {
  background: var(--navy);
  color: var(--white);
  min-height: 100vh;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.form-page__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--navy-deep);
  background-image:
    radial-gradient(ellipse at 50% 35%,
      rgba(0, 1, 42, 0.55) 0%,
      rgba(0, 1, 42, 0.85) 65%,
      rgba(0, 1, 42, 0.95) 100%
    ),
    url('assets/hero-bg.jpeg');
  background-repeat: no-repeat, no-repeat;
  background-position: center center, center center;
  background-size: cover, cover;
}
.form-page__container { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.form-page__head { text-align: center; margin-bottom: 36px; }
.form-page__h1 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.form-page__subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

/* --- Legal Page (Privacy / Terms / Accessibility) --------------------------- */
.legal-page {
  background: var(--white);
  color: var(--navy);
  min-height: 100vh;
  padding: 120px 0 80px;
}
.legal-page__container { max-width: 760px; margin: 0 auto; }
.legal-page__head { text-align: center; margin-bottom: 40px; }
.legal-page__h1 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--navy);
}
.legal-page__effective {
  font-size: 13px;
  color: rgba(0, 2, 61, 0.55);
  margin-bottom: 8px;
}
.legal-page__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ocean-blue);
  text-decoration: none;
  margin-top: 16px;
}
.legal-page__back:hover { color: var(--navy); }
.legal-page__toc {
  background: #f7f8fa;
  border: 1px solid var(--iron);
  border-radius: var(--radius-card);
  padding: 22px 26px;
  margin-bottom: 40px;
}
.legal-page__toc-title {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(0, 2, 61, 0.55);
  margin-bottom: 12px;
}
.legal-page__toc ol {
  list-style: decimal;
  padding-left: 22px;
  margin: 0;
  column-count: 2;
  column-gap: 28px;
}
.legal-page__toc li { margin-bottom: 6px; break-inside: avoid; font-size: 14px; }
.legal-page__toc a { color: var(--navy); text-decoration: none; }
.legal-page__toc a:hover { color: var(--ocean-blue); text-decoration: underline; }

.legal-page__content { font-size: 15px; line-height: 1.7; color: rgba(0, 2, 61, 0.85); }
.legal-page__content section { margin-bottom: 36px; scroll-margin-top: 100px; }
.legal-page__content h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.legal-page__content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 18px;
  margin-bottom: 8px;
}
.legal-page__content p { margin-bottom: 14px; }
.legal-page__content ul, .legal-page__content ol {
  padding-left: 22px;
  margin-bottom: 14px;
}
.legal-page__content li { margin-bottom: 8px; }
.legal-page__content a {
  color: var(--ocean-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-page__content a:hover { color: var(--navy); }
.legal-page__content strong { color: var(--navy); font-weight: 600; }
.legal-page__content .legal-callout {
  background: #f7f8fa;
  border-left: 3px solid var(--ocean-blue);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 18px 0;
  font-size: 14px;
}
.legal-page__content address {
  font-style: normal;
  background: #f7f8fa;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 720px) {
  .legal-page { padding: 96px 0 60px; }
  .legal-page__h1 { font-size: 28px; }
  .legal-page__toc ol { column-count: 1; }
  .legal-page__content { font-size: 15px; }
  .legal-page__content h2 { font-size: 19px; }
}

.form-card {
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}
.field { margin-bottom: 18px; }
.field__label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--navy);
}
.field__label .req { color: var(--soft-gold); }
.field__label .field__hint-inline {
  font-weight: 400;
  font-size: 11px;
  color: rgba(0, 2, 61, 0.45);
  margin-left: 4px;
  letter-spacing: 0;
  text-transform: none;
}
.field__input,
.field__select,
.field__textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--iron);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  background: var(--white);
  color: var(--navy);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.field__textarea { min-height: 90px; resize: vertical; }
.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--ocean-blue);
  box-shadow: 0 0 0 3px rgba(15, 70, 250, 0.15);
}
.field__hint { font-size: 12px; color: rgba(0, 2, 61, 0.5); margin-top: 4px; }
.form-card .cta--primary { width: 100%; padding: 16px; font-size: 15px; }
.form-card__privacy {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(0, 2, 61, 0.55);
  line-height: 1.5;
  text-align: center;
}

.field--consent { margin-top: 8px; margin-bottom: 14px; }
.field__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(0, 2, 61, 0.72);
  font-weight: 400;
  margin: 0;
}
.field__consent-checkbox {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--ocean-blue);
  cursor: pointer;
}
.field__consent-text { display: block; }
.field__consent-text a {
  color: var(--ocean-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.field__consent-text a:hover { color: var(--navy); }
.field__sms-notice {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(0, 2, 61, 0.55);
  margin-top: 6px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.is-visible { display: block; }
.form-success__icon {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  color: var(--ocean-blue);
}
.form-success__title {
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.form-success__text {
  font-size: 15px;
  color: rgba(0, 2, 61, 0.72);
  line-height: 1.55;
}
.form-card.is-submitted .form-card__form { display: none; }

/* --- Scroll-reveal --------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Tablet — 768px+
   ========================================================================== */
@media (min-width: 768px) {
  .container { padding: 0 32px; }
  .section { padding: 120px 0; }

  .hero {
    min-height: 720px;
    padding: 160px 0 100px;
  }
  .hero__h1 { font-size: 52px; }
  .hero__sub { font-size: 18px; }
  .hero__ctas { flex-direction: row; align-items: center; gap: 20px; }

  .trust__logos {
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
  }

  .manifesto__h2 { font-size: 36px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }

  .ecosystem__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .ecosystem__h2 { font-size: 36px; }

  .method__steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .method__h2 { font-size: 36px; }

  .testimonials__h2 { font-size: 36px; }

  .final-cta__h2 { font-size: 44px; }
  .final-cta__ctas { flex-direction: row; justify-content: center; }

  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .form-card { padding: 40px 36px; }
  .form-page__h1 { font-size: 40px; }
}

/* ==========================================================================
   Desktop — 1024px+
   ========================================================================== */
@media (min-width: 1024px) {
  .container { padding: 0 var(--container-pad-desktop); }
  .section { padding: 140px 0; }

  .nav { display: block; }
  .header__inner { gap: 40px; }

  .hero {
    min-height: 720px;
    padding: 180px 0 120px;
  }
  .hero__h1 { font-size: 64px; line-height: 1.05; }
  .hero__sub { font-size: 19px; }

  .pre-headline { font-size: 12px; }
  .body-l { font-size: 18px; }

  /* Stats: 4 + 1 highlight (5col with one full-width emphasis) */
  .stats__grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .stat--highlight { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .stat__num { font-size: 64px; }
  .stat--highlight .stat__num { font-size: 56px; }
  .stat__label { font-size: 14px; }

  .manifesto { padding: 140px 0; }

  .contact { padding: 140px 0; }
  .contact__grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }
  .contact__h2 { font-size: 56px; }
  .contact__sub { font-size: 17px; }
  .manifesto__h2 { font-size: 44px; }
  .manifesto__body { font-size: 18px; }
  .manifesto__cta-line { font-size: 33px; }

  /* Ecosystem: hide grid, show SVG diagram on desktop */
  .ecosystem { padding: 160px 0; }
  .ecosystem__h2 { font-size: 44px; }
  .ecosystem__grid { display: none; }
  .ecosystem__diagram {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
  }
  .ecosystem__diagram svg { width: 100%; height: auto; }
  .pillar-svg-card {
    transition: transform var(--transition-base);
    cursor: default;
  }
  .pillar-svg-card:hover .pillar-svg-card__bg {
    fill: rgba(232, 172, 108, 0.08);
    stroke: var(--soft-gold);
  }
  .pillar-svg-card:hover .pillar-svg-card__line {
    stroke: var(--soft-gold);
    stroke-width: 2;
  }

  .method__steps { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .method__h2 { font-size: 44px; }

  .testimonials__h2 { font-size: 44px; }

  .final-cta { padding: 140px 0; }
  .final-cta__h2 { font-size: 56px; }

  .footer { padding: 80px 0 32px; }
  .footer__grid { grid-template-columns: 2fr 1fr 1.2fr 1fr; gap: 48px; }

  .form-page__h1 { font-size: 44px; }
  .form-card { padding: 48px 44px; }

  .header .cta--primary { padding: 12px 26px; font-size: 14px; }
}

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