/* ============================================================
   Academia de Alianças — style.css
   Brand Book LIGHT theme: white/off-white · navy text ·
   official teal/blue/green gradient accents
   Typography: Outfit (display, Gendy-like) + Manrope (body)
   ============================================================ */

:root {
  /* Brand colors (exact, from Brand Book) */
  --teal: #05938d;
  --blue: #189cd8;
  --green: #008c39;
  --navy: #26285a;

  /* Light theme surfaces */
  --bg: #ffffff;
  --bg-2: #f7f9fc;
  --bg-3: #eef2f8;
  --ink: #26285a;
  --ink-soft: #3a3960;
  --muted: #55547a;
  --line: #e6eaf2;
  --card-shadow: 0 10px 40px rgba(38, 40, 90, 0.08);
  --card-shadow-hover: 0 18px 55px rgba(38, 40, 90, 0.14);

  /* AA-compliant accent for small text on white (teal, darkened: ~5.4:1) */
  --accent: #04756f;
  --accent-line: rgba(5, 147, 141, 0.35);
  --accent-soft: rgba(5, 147, 141, 0.08);

  /* Official gradients */
  --grad: linear-gradient(90deg, #008c39 0%, #05938d 50%, #189cd8 100%);
  --grad-depth: linear-gradient(135deg, #26285a 0%, #189cd8 55%, #05938d 100%);
  /* Darkened gradient — white text passes WCAG AA on every stop */
  --grad-strong: linear-gradient(90deg, #006b2e 0%, #04706b 50%, #0e6ea8 100%);

  /* Deep contrast zones (CTA band, footer) */
  --deep: #12132e;

  --font-display: "Outfit", "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  --font-body: "Manrope", "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  --header-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { overflow-y: scroll; scrollbar-gutter: stable; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--teal); color: #ffffff; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 300;
  padding: 0.75rem 1.25rem;
  background: var(--navy); color: #ffffff;
  font-weight: 500; border-radius: 4px;
  transition: top 0.25s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 250;
  width: 200%; height: 200%;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Custom cursor (visible on light bg) ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 400;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: none;
}
.cursor-dot { width: 6px; height: 6px; background: var(--teal); }
.cursor-ring {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(5, 147, 141, 0.45);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.cursor-ring.is-active {
  width: 58px; height: 58px;
  border-color: var(--teal);
  background: rgba(5, 147, 141, 0.07);
}
@media (pointer: fine) {
  .cursor-dot, .cursor-ring { display: block; }
}

/* ---------- Gradient text highlight (display sizes) ---------- */
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--header-h);
  transition: transform 0.45s var(--ease-out), background 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  max-width: 1320px; height: 100%;
  margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 36px; width: auto; }

.main-nav ul { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.1rem); }
.nav-link {
  position: relative;
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.4rem 0;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  color: var(--accent);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--grad-strong);
  color: #ffffff;
  border-color: transparent;
}

/* Hamburger */
.menu-toggle {
  display: none;
  position: relative; z-index: 220;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.menu-line {
  width: 26px; height: 1.6px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out), opacity 0.3s ease;
}
.menu-toggle[aria-expanded="true"] .menu-line:nth-child(1) { transform: translateY(4.3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-line:nth-child(2) { transform: translateY(-4.3px) rotate(-45deg); }

/* Mobile menu overlay (light) */
.mobile-menu {
  position: fixed; inset: 0; z-index: 210;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 clamp(1.5rem, 8vw, 4rem);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu-logo { height: 52px; width: auto; margin-bottom: 2.4rem; }
.mobile-nav-list li { overflow: hidden; }
.mobile-nav-link {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 8.5vw, 3.6rem);
  line-height: 1.25;
  color: var(--ink);
  transform: translateY(110%);
  transition: transform 0.6s var(--ease-out), color 0.3s ease;
}
.mobile-menu.is-open .mobile-nav-link { transform: translateY(0); }
.mobile-menu.is-open li:nth-child(1) .mobile-nav-link { transition-delay: 0.06s; }
.mobile-menu.is-open li:nth-child(2) .mobile-nav-link { transition-delay: 0.11s; }
.mobile-menu.is-open li:nth-child(3) .mobile-nav-link { transition-delay: 0.16s; }
.mobile-menu.is-open li:nth-child(4) .mobile-nav-link { transition-delay: 0.21s; }
.mobile-menu.is-open li:nth-child(5) .mobile-nav-link { transition-delay: 0.26s; }
.mobile-menu.is-open li:nth-child(6) .mobile-nav-link { transition-delay: 0.31s; }
.mobile-menu.is-open li:nth-child(7) .mobile-nav-link { transition-delay: 0.36s; }
.mobile-menu.is-open li:nth-child(8) .mobile-nav-link { transition-delay: 0.41s; }
.mobile-nav-link:hover { color: var(--accent); }
.mobile-menu-tag {
  margin-top: 3rem;
  color: var(--muted); font-size: 0.95rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 2rem) clamp(1.25rem, 5vw, 4rem) 6rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../img/hero-bg-light.jpg") center / cover no-repeat;
}
/* motion layer: above the static fallback, below the light overlay */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.15) 45%,
    rgba(255, 255, 255, 0.8) 100%
  );
}
.network-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.5;
  z-index: 1;
}
.hero-glow {
  position: absolute; top: -20%; right: -15%;
  width: 60vw; height: 60vw;
  max-width: 820px; max-height: 820px;
  background: radial-gradient(circle, rgba(24, 156, 216, 0.12) 0%, transparent 62%);
  pointer-events: none;
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 1080px; margin: 0 auto; width: 100%; }
.hero-logo {
  height: clamp(92px, 13vw, 132px);
  width: auto;
  margin-bottom: 2.2rem;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 2.4rem; height: 1.5px;
  background: var(--grad);
}

.hero-title {
  margin-top: 1.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6.8vw, 5.9rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 17ch;
}
.hero-title .word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .char { display: inline-block; will-change: transform; }

.hero-sub {
  margin-top: 2rem;
  max-width: 560px;
  color: var(--ink-soft);
  font-weight: 400;
  font-size: clamp(1rem, 1.4vw, 1.13rem);
}
.hero-actions {
  margin-top: 2.8rem;
  display: flex; flex-wrap: wrap; gap: 1rem;
}

.scroll-indicator {
  position: absolute; left: 50%; bottom: 2.2rem; z-index: 2;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
}
.scroll-label {
  font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted);
}
/* ascending-arrow motif: gradient line ending in an arrow tip */
.scroll-line {
  position: relative;
  width: 1.5px; height: 56px;
  background: linear-gradient(to bottom, var(--green), var(--teal), var(--blue), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
  transform-origin: top;
}
.scroll-line::after {
  content: "";
  position: absolute; bottom: 5px; left: 50%;
  width: 7px; height: 7px;
  border-right: 1.5px solid var(--blue);
  border-bottom: 1.5px solid var(--blue);
  transform: translateX(-50%) rotate(45deg);
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.55); opacity: 0.5; }
}

/* ---------- Welcome video ---------- */
.welcome-video-section {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: clamp(-3rem, -4vw, -2rem) auto 0;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}
.welcome-video-card {
  display: grid;
  gap: clamp(1.5rem, 3vw, 3rem);
  overflow: hidden;
  padding: clamp(1.35rem, 3.4vw, 2.7rem);
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(5, 147, 141, 0.2);
  border-radius: 20px;
  box-shadow: 0 20px 55px rgba(38, 40, 90, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.welcome-video-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.welcome-video-copy h2 {
  max-width: 15ch;
  margin-top: 1rem;
  font: 750 clamp(1.9rem, 3.8vw, 3.4rem) / 1.06 var(--font-display);
  letter-spacing: -0.025em;
  color: var(--ink);
}
.welcome-video-copy > p:not(.eyebrow) { max-width: 50ch; margin-top: 1.1rem; color: var(--ink-soft); font-size: 0.98rem; }
.welcome-video-button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 48px;
  margin-top: 1.6rem;
  padding: 0.75rem 1.1rem 0.75rem 0.78rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(38, 40, 90, 0.18);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, background 0.25s ease;
}
.welcome-video-button:hover { background: var(--grad-strong); box-shadow: 0 14px 32px rgba(5, 147, 141, 0.25); transform: translateY(-2px); }
.welcome-video-button-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: var(--navy); background: #fff; }
.welcome-video-poster {
  position: relative;
  display: block;
  width: 100%;
  min-height: 215px;
  overflow: hidden;
  border-radius: 13px;
  background: var(--deep);
  box-shadow: 0 16px 35px rgba(18, 19, 46, 0.2);
}
.welcome-video-poster img { width: 100%; height: 100%; min-height: 215px; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.welcome-video-poster:hover img { transform: scale(1.035); }
.welcome-video-poster-overlay { position: absolute; inset: 0; background: linear-gradient(125deg, rgba(18, 19, 46, 0.22), rgba(5, 147, 141, 0.03) 65%, rgba(18, 19, 46, 0.28)); }
.welcome-video-poster-play { position: absolute; top: 50%; left: 50%; display: grid; width: 62px; height: 62px; place-items: center; border: 1px solid rgba(255,255,255,0.8); border-radius: 50%; color: var(--navy); background: rgba(255,255,255,0.94); transform: translate(-50%, -50%); box-shadow: 0 10px 30px rgba(18,19,46,0.28); transition: transform 0.25s var(--ease-out), background 0.25s ease; }
.welcome-video-poster:hover .welcome-video-poster-play { background: #fff; transform: translate(-50%, -50%) scale(1.08); }
.welcome-video-poster-caption { position: absolute; right: 0.85rem; bottom: 0.85rem; padding: 0.28rem 0.5rem; border-radius: 4px; color: #fff; background: rgba(18, 19, 46, 0.82); font-size: 0.72rem; font-weight: 700; }

.welcome-video-dialog { width: min(100% - 2rem, 1080px); max-height: min(94svh, 760px); margin: auto; padding: 0; border: 0; border-radius: 16px; color: var(--ink); background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.welcome-video-dialog::backdrop { background: rgba(18,19,46,.78); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.welcome-video-dialog-inner { padding: clamp(1rem, 2.4vw, 1.6rem); }
.welcome-video-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin: 0 0 1rem; }
.welcome-video-dialog-heading .eyebrow { font-size: .66rem; }
.welcome-video-dialog-heading h2 { margin-top: .45rem; font: 700 clamp(1.3rem, 2.5vw, 1.8rem) / 1.1 var(--font-display); letter-spacing: -.02em; }
.welcome-video-close { display: grid; flex: 0 0 auto; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); transition: background .2s ease, color .2s ease; }
.welcome-video-close:hover { color: #fff; background: var(--navy); }
.welcome-video-player-wrap { overflow: hidden; border-radius: 9px; background: #05060f; aspect-ratio: 16 / 9; }
.welcome-video-player { display: block; width: 100%; height: 100%; background: #05060f; }
body.has-welcome-video-dialog { overflow: hidden; }

/* ---------- Marcelo Antoniazzi testimonial ---------- */
.testimonial-video-section { max-width: 1200px; margin: 0 auto; padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3rem); }
.testimonial-video-card { display: grid; gap: clamp(1.5rem, 3vw, 3rem); overflow: hidden; padding: clamp(1.35rem, 3.4vw, 2.7rem); border: 1px solid rgba(5, 147, 141, .2); border-radius: 20px; background: var(--bg-2); box-shadow: 0 20px 55px rgba(38, 40, 90, .1); }
.testimonial-video-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.testimonial-video-copy h2 { max-width: 15ch; margin-top: 1rem; color: var(--ink); font: 750 clamp(1.9rem, 3.8vw, 3.4rem) / 1.06 var(--font-display); letter-spacing: -.025em; }
.testimonial-video-subtitle { max-width: 40ch; margin-top: 1rem; color: var(--ink-soft); font-weight: 700; }
.testimonial-video-button { display: inline-flex; align-items: center; gap: .7rem; min-height: 48px; margin-top: 1.6rem; padding: .75rem 1.1rem .75rem .78rem; border-radius: 999px; color: #fff; font-size: .92rem; font-weight: 700; background: var(--navy); box-shadow: 0 10px 24px rgba(38, 40, 90, .18); transition: transform .25s var(--ease-out), box-shadow .25s ease, background .25s ease; }
.testimonial-video-button:hover { background: var(--grad-strong); box-shadow: 0 14px 32px rgba(5, 147, 141, .25); transform: translateY(-2px); }
.testimonial-video-button-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: var(--navy); background: #fff; }
.testimonial-video-poster { position: relative; display: block; width: 100%; min-height: 215px; overflow: hidden; border-radius: 13px; background: var(--deep); box-shadow: 0 16px 35px rgba(18, 19, 46, .2); }
.testimonial-video-poster img { width: 100%; height: 100%; min-height: 215px; object-fit: cover; transition: transform .5s var(--ease-out); }
.testimonial-video-poster:hover img { transform: scale(1.035); }
.testimonial-video-poster-overlay { position: absolute; inset: 0; background: linear-gradient(125deg, rgba(18, 19, 46, .22), rgba(5, 147, 141, .03) 65%, rgba(18, 19, 46, .28)); }
.testimonial-video-poster-play { position: absolute; top: 50%; left: 50%; display: grid; width: 62px; height: 62px; place-items: center; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; color: var(--navy); background: rgba(255,255,255,.94); transform: translate(-50%, -50%); box-shadow: 0 10px 30px rgba(18,19,46,.28); transition: transform .25s var(--ease-out), background .25s ease; }
.testimonial-video-poster:hover .testimonial-video-poster-play { background: #fff; transform: translate(-50%, -50%) scale(1.08); }
.testimonial-video-poster-caption { position: absolute; right: .85rem; bottom: .85rem; padding: .28rem .5rem; border-radius: 4px; color: #fff; background: rgba(18, 19, 46, .82); font-size: .72rem; font-weight: 700; }
.testimonial-video-dialog { width: min(100% - 2rem, 1080px); max-height: min(94svh, 760px); margin: auto; padding: 0; border: 0; border-radius: 16px; color: var(--ink); background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.testimonial-video-dialog::backdrop { background: rgba(18,19,46,.78); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.testimonial-video-dialog-inner { padding: clamp(1rem, 2.4vw, 1.6rem); }
.testimonial-video-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin: 0 0 1rem; }
.testimonial-video-dialog-heading .eyebrow { font-size: .66rem; }
.testimonial-video-dialog-heading h2 { margin-top: .45rem; font: 700 clamp(1.3rem, 2.5vw, 1.8rem) / 1.1 var(--font-display); letter-spacing: -.02em; }
.testimonial-video-close { display: grid; flex: 0 0 auto; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); transition: background .2s ease, color .2s ease; }
.testimonial-video-close:hover { color: #fff; background: var(--navy); }
.testimonial-video-player-wrap { overflow: hidden; border-radius: 9px; background: #05060f; aspect-ratio: 16 / 9; }
.testimonial-video-player { display: block; width: 100%; height: 100%; background: #05060f; }
body.has-testimonial-video-dialog { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2.1rem;
  border-radius: 999px;
  font-size: 0.92rem; font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease,
              transform 0.35s var(--ease-out), filter 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}
/* navy core + official gradient ring; hover sweeps to AA-safe gradient */
.btn-primary {
  background: linear-gradient(var(--navy), var(--navy)) padding-box, var(--grad) border-box;
  border: 1.5px solid transparent;
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--grad-strong) border-box;
  box-shadow: 0 12px 30px rgba(5, 147, 141, 0.28);
}
.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--accent); }
/* white pill for deep-navy contrast zones */
.btn-light {
  background: #ffffff;
  color: var(--navy);
}
.btn-light:hover {
  box-shadow: 0 14px 40px rgba(24, 156, 216, 0.35);
  filter: brightness(0.98);
}
.btn-xl { padding: 1.25rem 3rem; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
  background: var(--bg-2);
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-chunk {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  color: var(--muted);
  white-space: nowrap;
  padding-right: 0.6rem;
}
.marquee-chunk i {
  font-style: normal;
  padding: 0 0.6rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(5rem, 11vw, 9.5rem) clamp(1.25rem, 4vw, 3rem) 0;
}
.section-head {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2.2rem;
}
/* ascending-arrow motif on the section number marker */
.section-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
}
.section-number::after {
  content: "↗";
  margin-left: 0.35rem;
  color: var(--blue);
  font-size: 0.85em;
}
.section-label {
  display: inline-flex; align-items: center;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.section-label::after {
  content: ""; display: inline-block;
  width: 3rem; height: 1px; margin-left: 1rem;
  background: linear-gradient(90deg, var(--accent-line), transparent);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.8vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 20ch;
}
.section-lead {
  margin-top: 1.4rem;
  max-width: 620px;
  color: var(--ink-soft);
  font-weight: 400;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}

/* ---------- Manifesto ---------- */
.manifesto-grid {
  margin-top: 3.5rem;
  display: grid; grid-template-columns: 1fr; gap: 3rem;
}
.manifesto-text p { color: var(--ink-soft); max-width: 62ch; }
.manifesto-text p + p { margin-top: 1.2rem; }
.manifesto-text strong { color: var(--ink); font-weight: 500; }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  align-content: start;
}
.stat {
  border-left: 2px solid transparent;
  border-image: linear-gradient(180deg, var(--green), var(--teal), var(--blue)) 1;
  padding-left: 1.3rem;
}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  display: block; margin-top: 0.55rem;
  font-size: 0.85rem; color: var(--muted);
  line-height: 1.45;
}

/* ---------- Quote ---------- */
.quote-section {
  margin-top: clamp(5rem, 11vw, 9.5rem);
  padding: clamp(5rem, 10vw, 8rem) clamp(1.25rem, 4vw, 3rem);
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(247, 249, 252, 0.95)),
    url("../img/hero-bg-light.jpg") center 30% / cover no-repeat,
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.quote-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.quote-mark { margin: 0 auto 2rem; color: var(--teal); opacity: 0.9; }
.quote-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.2vw, 2.4rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.quote-author {
  display: block; margin-top: 2rem;
  font-style: normal;
  font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}

/* ---------- About (Sobre) ---------- */
.about-cards {
  margin-top: 3.5rem;
  display: grid; grid-template-columns: 1fr; gap: 1.2rem;
}
.about-card {
  position: relative;
  padding: 2.2rem 2rem 2.4rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}
.about-card::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
.about-card:hover { transform: translateY(-5px); box-shadow: var(--card-shadow-hover); }
.about-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.9rem;
}
.about-card p { color: var(--ink-soft); font-size: 0.97rem; }

/* Bio */
.bio {
  margin-top: clamp(4rem, 8vw, 6.5rem);
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  align-items: start;
}
.bio-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow-hover);
  border: 1px solid var(--line);
  max-width: 420px;
}
.bio-photo img { width: 100%; height: auto; }
.bio-name {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  letter-spacing: -0.015em;
}
.bio-role {
  margin-top: 0.35rem;
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.bio-text p:not(.eyebrow):not(.bio-role) {
  margin-top: 1.2rem;
  color: var(--ink-soft);
  max-width: 62ch;
}
.bio-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  margin-top: 1.6rem;
  font-weight: 500; font-size: 0.95rem;
  color: var(--accent);
  border-bottom: 1px solid var(--accent-line);
  padding-bottom: 0.2rem;
  transition: color 0.3s ease, border-color 0.3s ease, gap 0.3s var(--ease-out);
}
.bio-link:hover { color: var(--blue); border-color: var(--blue); gap: 0.75rem; }

/* Team grid (Nosso Ecossistema) */
.team {
  margin-top: clamp(4rem, 8vw, 6.5rem);
  /* Keeps the destination title visible below the fixed header for native anchors. */
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.team-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  letter-spacing: -0.015em;
}
.team-lead { margin-top: 0.8rem; color: var(--ink-soft); max-width: 56ch; }
.team-grid {
  margin-top: 2.8rem;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem;
}
.team-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.team-card img {
  width: 100%;
  aspect-ratio: 400 / 380;
  object-fit: cover;
}
.team-info { padding: 1.2rem 1.2rem 1.4rem; }
.team-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
}
.team-role {
  margin-top: 0.25rem;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.team-power {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.team-power span {
  font-weight: 500;
  color: var(--accent);
}
.team-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  border-bottom: 1px solid var(--accent-line);
  padding-bottom: 0.15rem;
  transition: color 0.25s ease, border-color 0.25s ease, gap 0.25s var(--ease-out);
}
.team-link:hover { color: var(--blue); border-color: var(--blue); gap: 0.6rem; }
.team-link:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
  border-radius: 2px;
}
.ecosystem-agents-cta { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:1.2rem; margin-top:2rem; padding:1.35rem; border:1px solid var(--accent-line); border-radius:16px; background:var(--accent-soft); }
.ecosystem-agents-cta p { max-width:58ch; color:var(--ink-soft); }

/* ---------- Services ---------- */
.services-grid {
  margin-top: 3.5rem;
  display: grid; grid-template-columns: 1fr; gap: 1.2rem;
}
.service-card {
  position: relative;
  padding: 2.4rem 2rem 2.2rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}
.service-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 0%, rgba(24, 156, 216, 0.08), transparent 55%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
/* gradient top hairline, echoing the logo's ascending line */
.service-card::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  pointer-events: none;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.service-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { transform: scaleX(1); }
.service-card .service-link {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 44px;
  margin-top: 1.5rem;
  padding: .5rem .2rem;
  color: var(--accent);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  pointer-events: auto;
  touch-action: manipulation;
}
.service-card .service-link > span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.service-card .service-link > span i { font-style: normal; }
.service-card .service-link:hover > span { text-decoration: underline; text-underline-offset: .22em; }
.service-card .service-link:focus-visible { outline: 3px solid var(--blue); outline-offset: -7px; border-radius: 16px; }
.service-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem; color: var(--accent);
}
.service-title {
  position: relative;
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.service-desc {
  position: relative;
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.service-tags {
  position: relative;
  margin-top: 1.6rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.service-tags li {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.32rem 0.85rem;
}

/* ---------- Ecosystem ---------- */
.ecosystem-title { max-width: 14ch; }
.pillars {
  margin-top: 3.5rem;
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid var(--line);
}
.pillar {
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease-out);
}
.pillar:hover { padding-left: 1rem; }
.pillar-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pillar p { margin-top: 0.7rem; max-width: 56ch; color: var(--ink-soft); }

/* ---------- Voices / slider ---------- */
.slider { margin-top: 3rem; }
.slider-viewport { overflow: hidden; cursor: grab; }
.slider-viewport.is-dragging { cursor: grabbing; }
.slider-track {
  display: flex;
  transition: transform 0.65s var(--ease-out);
  will-change: transform;
}
.slider-track.no-anim { transition: none; }
.slide {
  flex: 0 0 100%;
  padding: 0.5rem 0.25rem 1rem;
  user-select: none;
}
.slide-quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.8vw, 2.1rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  max-width: 26ch;
}
.slide-author {
  margin-top: 1.8rem;
  font-weight: 500; font-size: 1rem;
  color: var(--accent);
}
.slide-role { margin-top: 0.2rem; font-size: 0.88rem; color: var(--muted); }
.slider-controls {
  margin-top: 2.2rem;
  display: flex; align-items: center; gap: 1.4rem;
}
.slider-btn {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  background: #ffffff;
  transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.slider-btn:hover { border-color: var(--teal); color: var(--accent); box-shadow: var(--card-shadow); }
.slider-dots { display: flex; gap: 0.55rem; }
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.3s ease, transform 0.3s ease;
}
.slider-dot.is-active { background: var(--blue); transform: scale(1.35); }

/* ---------- Partners & Clients ---------- */
.partners {
  margin-top: clamp(5rem, 11vw, 9.5rem);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partners-inner { padding-bottom: clamp(4.5rem, 9vw, 7.5rem); }
.logo-group { margin-top: 3rem; }
.logo-group-title {
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.8rem;
}
.logo-grid {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 2.2rem clamp(2.2rem, 5vw, 4rem);
}
.logo-grid li { display: inline-flex; }
.logo-grid img {
  height: 44px; width: auto;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s var(--ease-out);
}
.logo-grid li:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-3px);
}
/* MOL acompanha a ativação dos demais logos: ganha cor, presença e elevação no hover. */

/* ---------- Insights ---------- */
.insights-grid {
  margin-top: 3.5rem;
  display: grid; grid-template-columns: 1fr; gap: 1.2rem;
}
.insight-card {
  display: block;
  position: relative;
  padding: 2.2rem 2rem 2.4rem;
  border-top: 1px solid var(--line);
  transition: background 0.4s ease;
}
.insight-card:hover { background: var(--bg-2); }
.insight-card:focus-visible { outline-offset: -4px; }
.insight-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem; color: var(--accent);
}
.insight-cat {
  margin-top: 1.2rem;
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.insight-title {
  margin-top: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}
.insight-card:hover .insight-title { color: var(--accent); }
.insight-excerpt { margin-top: 0.9rem; color: var(--ink-soft); font-size: 0.95rem; max-width: 46ch; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 3rem; max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.6rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  transition: color 0.3s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover, .faq-item[open] summary { color: var(--accent); }
.faq-icon {
  position: relative; flex: 0 0 auto;
  width: 18px; height: 18px;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: var(--teal);
  transition: transform 0.35s var(--ease-out);
}
.faq-icon::before { width: 18px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1.5px; height: 18px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-answer { padding: 0 0 1.8rem; max-width: 68ch; }
.faq-answer p { color: var(--ink-soft); }

/* ---------- Big CTA (deep-navy contrast zone) ---------- */
.big-cta {
  margin-top: clamp(5rem, 11vw, 9.5rem);
  padding: clamp(5.5rem, 12vw, 10rem) clamp(1.25rem, 4vw, 3rem);
  text-align: center;
  background:
    radial-gradient(ellipse 65% 90% at 50% -10%, rgba(24, 156, 216, 0.22), transparent 62%),
    radial-gradient(ellipse 55% 70% at 85% 110%, rgba(0, 140, 57, 0.16), transparent 60%),
    var(--deep);
}
.big-cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 5.8vw, 4.7rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #f2f4fa;
  max-width: 18ch;
  margin: 0 auto 3rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 3.5rem;
}
.newsletter { margin-top: 3rem; padding-top: 2.4rem; border-top: 1px solid var(--line); }
.newsletter-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
}
.newsletter-text { margin-top: 0.5rem; color: var(--ink-soft); font-size: 0.95rem; }
.newsletter-form {
  margin-top: 1.4rem;
  display: flex; gap: 0.7rem; flex-wrap: wrap;
}
.newsletter-form input { flex: 1 1 220px; }

input, textarea {
  width: 100%;
  padding: 0.95rem 1.15rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(24, 156, 216, 0.12);
}
textarea { resize: vertical; min-height: 130px; }

.contact-form {
  padding: clamp(1.6rem, 3.4vw, 2.8rem);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
}
.field + .field { margin-top: 1.3rem; }
.field label {
  display: block; margin-bottom: 0.5rem;
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.contact-form .btn-full { margin-top: 1.8rem; }
.form-consent {
  display: flex; align-items: flex-start; gap: 0.6rem; width: 100%;
  margin-top: 1.1rem; color: var(--muted); font-size: 0.78rem; line-height: 1.5;
}
.form-consent input {
  width: 1rem; height: 1rem; min-width: 1rem; margin: 0.15rem 0 0;
  accent-color: var(--blue);
}
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-consent + .btn-full { margin-top: 1.4rem; }
.form-feedback {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--accent);
  min-height: 1.4em;
}

/* ---------- Consentimento de cookies ---------- */
.cookie-consent { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 500; width: min(100% - 2rem, 440px); padding: 1.1rem; border: 1px solid var(--accent-line); border-radius: 14px; color: var(--ink); background: rgba(255,255,255,.98); box-shadow: 0 16px 42px rgba(18,19,46,.2); }
.cookie-consent__title { font: 700 1rem/1.2 var(--font-display); }
.cookie-consent__text { margin-top: .45rem; color: var(--ink-soft); font-size: .83rem; line-height: 1.5; }
.cookie-consent__text a { color: var(--accent); text-decoration: underline; text-underline-offset: .18em; }
.cookie-consent__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; }
.cookie-consent__button { min-height: 40px; padding: .55rem .85rem; border: 1px solid var(--accent-line); border-radius: 999px; color: var(--accent); background: #fff; font-weight: 700; }
.cookie-consent__button--accept { color: #fff; border-color: transparent; background: var(--grad-strong); }

/* ---------- Footer (deep-navy contrast zone) ---------- */
.site-footer {
  margin-top: clamp(5rem, 11vw, 9.5rem);
  background: var(--deep);
}
.footer-inner {
  max-width: 1320px; margin: 0 auto;
  padding: 3.5rem clamp(1.25rem, 4vw, 3rem);
  display: flex; flex-direction: column; align-items: center; gap: 1.8rem;
  text-align: center;
}
.footer-brand { display: inline-flex; }
.footer-logo { height: 120px; width: auto; }
.footer-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem;
}
.footer-nav a {
  font-size: 0.85rem; color: rgba(242, 244, 250, 0.65);
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}
.footer-nav a:hover { color: #3fd2ca; }
.footer-note { font-size: 0.82rem; color: rgba(242, 244, 250, 0.45); }

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .welcome-video-card { grid-template-columns: minmax(0, .95fr) minmax(330px, 1.05fr); align-items: stretch; }
  .welcome-video-poster, .welcome-video-poster img { min-height: 300px; }
  .testimonial-video-card { grid-template-columns: minmax(0, .95fr) minmax(330px, 1.05fr); align-items: stretch; }
  .testimonial-video-poster, .testimonial-video-poster img { min-height: 300px; }
  .manifesto-grid { grid-template-columns: 1.15fr 0.85fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-cards { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .pillar { border-bottom: 0; padding: 2.2rem 0 0; }
  .insights-grid { grid-template-columns: repeat(3, 1fr); }
  .slide { flex-basis: 80%; }
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 5rem; }
  .bio { grid-template-columns: 0.75fr 1.25fr; gap: 4.5rem; }
  .team-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 860px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
/* The complete desktop navigation has eight choices; tighten its rhythm before
   the mobile-menu breakpoint so no option wraps or disappears. */
@media (min-width: 1121px) and (max-width: 1320px) {
  .header-inner { padding: 0 1.5rem; }
  .main-nav ul { gap: clamp(0.65rem, 1.3vw, 1rem); }
  .nav-link { font-size: 0.74rem; letter-spacing: 0.04em; }
  .nav-cta { padding: 0.48rem 0.9rem; }
}
@media (min-width: 861px) and (max-width: 1120px) {
  .header-inner { padding: 0 1.25rem; }
  .brand-logo { height: 31px; }
  .main-nav ul { gap: 0.72rem; }
  .nav-link { font-size: 0.7rem; letter-spacing: 0.035em; }
  .nav-cta { padding: 0.45rem 0.75rem; }
}
@media (max-width: 719px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:last-child { grid-column: 1 / -1; }
}

/* ---------- 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;
  }
  .marquee-track { animation: none; }
  .scroll-line { animation: none; }
  .network-canvas { display: none; }
  .hero-video { display: none; }
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* V2 editorial links and compliance */
.service-link,.insight-link{display:inline-flex;margin-top:1.3rem;color:var(--accent);font-weight:700;font-size:.88rem;gap:.35rem}.service-link{position:relative;z-index:10;align-items:center;min-height:44px;padding:.5rem .2rem;pointer-events:auto;touch-action:manipulation}.service-link:hover,.insight-link:hover{text-decoration:underline;text-underline-offset:.22em}.service-link:focus-visible{outline:3px solid var(--blue);outline-offset:4px;border-radius:3px}.insight-meta{margin-top:.5rem;color:var(--muted);font-size:.76rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.insight-link{margin-top:1rem}.insights-all{margin-top:2rem}.form-consent a{color:var(--accent);text-decoration:underline;text-underline-offset:.16em}.form-consent--optional{color:var(--muted);font-size:.78rem}.footer-social{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1.25rem;color:rgba(255,255,255,.82);font-size:.8rem;font-weight:700}.footer-social a:hover{color:#fff;text-decoration:underline;text-underline-offset:.18em}.legal-page{padding:calc(var(--header-h) + 5rem) clamp(1.25rem,5vw,3rem) 6rem;min-height:80vh}.legal-inner{max-width:820px;margin:0 auto}.legal-inner h1{font:700 clamp(2.3rem,6vw,4.8rem)/1 var(--font-display);letter-spacing:-.045em;margin:1rem 0 1.5rem}.legal-inner h2{font:700 clamp(1.3rem,2.5vw,1.8rem)/1.2 var(--font-display);margin:2.75rem 0 .85rem}.legal-inner p,.legal-inner li{color:var(--ink-soft);max-width:72ch}.legal-inner ul{list-style:disc;padding-left:1.35rem}.legal-updated{color:var(--muted);font-size:.9rem}@media(max-width:720px){.footer-social{justify-content:center}.legal-page{padding-top:calc(var(--header-h) + 3rem)}}

/* Conteúdo migrado da V1: usa o mesmo sistema visual da V2. */
.content-hero{padding:calc(var(--header-h) + clamp(4rem,9vw,7rem)) clamp(1.25rem,4vw,3rem) clamp(3.5rem,7vw,6rem);background:linear-gradient(145deg,#fff 0%,#f2f8f9 48%,#eef5fb 100%);border-bottom:1px solid var(--line)}.content-shell{width:min(100%,920px);margin:0 auto}.content-hero h1{max-width:17ch;margin-top:1rem;font:800 clamp(2.65rem,6vw,5.6rem)/1.04 var(--font-display);letter-spacing:-.035em;color:var(--ink)}.content-lead{max-width:64ch;margin-top:1.4rem;color:var(--ink-soft);font-size:clamp(1.05rem,1.8vw,1.25rem)}.content-article{padding:clamp(3.5rem,8vw,7rem) 0}.content-article h2{max-width:26ch;margin:clamp(2.7rem,5vw,4.5rem) 0 1rem;font:700 clamp(1.7rem,3.2vw,2.7rem)/1.12 var(--font-display);letter-spacing:-.025em}.content-article h2:first-child{margin-top:0}.content-article h3{margin:2rem 0 .7rem;font:700 clamp(1.25rem,2.4vw,1.65rem)/1.22 var(--font-display)}.content-article p,.content-article li{max-width:74ch;color:var(--ink-soft);font-size:1.02rem}.content-article p+p{margin-top:1.1rem}.content-article ul{max-width:74ch;margin:1.1rem 0 1.6rem;padding-left:1.25rem;list-style:disc}.content-article li+li{margin-top:.55rem}.content-article blockquote{max-width:68ch;margin:2rem 0;padding:1.25rem 1.5rem;border-left:3px solid var(--teal);background:var(--accent-soft);font:600 clamp(1.15rem,2.2vw,1.5rem)/1.42 var(--font-display);color:var(--ink)}.parity-grid{display:grid;grid-template-columns:1fr;gap:1.2rem}.parity-card{display:block;min-height:240px;padding:clamp(1.5rem,3.5vw,2.35rem);border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--card-shadow);transition:transform .3s var(--ease-out),box-shadow .3s ease}.parity-card:hover{transform:translateY(-5px);box-shadow:var(--card-shadow-hover)}.parity-card h2{margin:1.3rem 0 .75rem;font:700 clamp(1.45rem,2.8vw,2rem)/1.14 var(--font-display);letter-spacing:-.02em}.parity-card p{color:var(--ink-soft)}.text-link{display:inline-block;margin-top:1.4rem;color:var(--accent);font-weight:700}.content-cta{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:clamp(2rem,5vw,4rem) max(1.25rem,calc((100vw - 920px)/2));background:var(--deep);color:#fff}.content-cta h2{max-width:23ch;margin-top:.55rem;font:700 clamp(1.65rem,3vw,2.6rem)/1.1 var(--font-display)}.site-footer{padding:1.25rem max(1.25rem,calc((100vw - 920px)/2));background:#0d0e22;color:rgba(255,255,255,.75);font-size:.85rem}.footer-inner{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}.site-footer a{color:#fff}@media(min-width:720px){.parity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:719px){.content-cta{align-items:flex-start;flex-direction:column}.content-article{padding-left:1.25rem;padding-right:1.25rem}}
