/* ============================================================
   RIGI AI — marketing site
   Design tokens ported from the RIGI AI design system
   (_ds/rigi-ai-…/tokens/{colors,typography,spacing}.css)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=Raleway:wght@400;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand */
  --brand-blue-deep: #0B1F3A;
  --brand-blue-medium: #719DBE;
  --brand-blue-light: #C0D4E2;

  /* Neutrals (cool blue-grays) */
  --neutral-0: #FFFFFF;
  --neutral-25: #F8FAFC;
  --neutral-100: #E3EBF2;
  --neutral-200: #D1D9E0;
  --neutral-600: #314554;
  --neutral-700: #22303A;
  --neutral-900: #121A20;

  --primary-500: var(--brand-blue-medium);
  --primary-a10: rgba(113, 157, 190, 0.1);

  --shadow-card: 0px 8px 28px 0px rgba(26, 42, 58, 0.12);

  --font-ui: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-micro: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #ffffff;
  color: var(--neutral-900);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: #4A7A9E; text-decoration: none; }
a:hover { color: var(--brand-blue-deep); }
::selection { background: var(--brand-blue-medium); color: #fff; }

img { max-width: 100%; }

/* ---------- Buttons (ported from DS Button.jsx) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.15s ease, transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
}
.btn:hover { filter: brightness(0.96); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(11, 31, 58, .16); }
.btn:active { transform: translateY(0) scale(0.98); box-shadow: none; }

:focus-visible { outline: 2px solid #4A7A9E; outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--brand-blue-deep);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

.btn-primary { background: var(--primary-500); color: #fff; }
.btn-outline { background: transparent; color: var(--neutral-900); border-color: var(--neutral-200); }
.btn-lg { height: 52px; padding: 0 30px; font-size: 16px; border-radius: 10px; }

.btn-outline.btn-lg { padding: 0 26px; border-color: var(--brand-blue-light); color: var(--brand-blue-deep); }

.btn-ghost-light {
  height: 52px;
  padding: 0 26px;
  font-size: 16px;
  border-radius: 10px;
  background: rgba(11, 31, 58, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  align-self: flex-start;
}

/* ---------- Shared layout helpers ---------- */

.pad { padding-left: 48px; padding-right: 48px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-micro);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--brand-blue-medium);
  font-weight: 600;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: currentColor;
  flex-shrink: 0;
  opacity: .7;
}
#plataforma .eyebrow, #contato .eyebrow { justify-content: center; }

/* ---------- Nav ---------- */

#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  transition: background .45s ease, box-shadow .45s ease, padding .35s ease, backdrop-filter .45s ease;
}
#nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 rgba(11, 31, 58, 0.06), 0 10px 30px rgba(26, 42, 58, 0.06);
  padding: 13px 48px;
}

#nav .brand { display: flex; align-items: center; gap: 8px; line-height: 0; }
#nav .brand img { height: 30px; display: block; }
#nav .brand .logo-dark { display: none; }
#nav .brand .logo-light { display: block; }
#nav.scrolled .brand .logo-dark { display: block; }
#nav.scrolled .brand .logo-light { display: none; }

#nav .nav-right { display: flex; align-items: center; gap: 36px; }

.navlinks { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 500; }
.navlinks a { position: relative; padding: 4px 0; color: #d6e2ea; }
.navlinks a:hover { color: #ffffff; }
#nav.scrolled .navlinks a { color: var(--neutral-700); }
#nav.scrolled .navlinks a:hover { color: var(--brand-blue-deep); }
.navlinks a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 2px;
  background: var(--brand-blue-medium);
  border-radius: 2px;
  transition: right .25s ease;
}
.navlinks a:hover::after, .navlinks a.active::after { right: 0; }
.navlinks a.active { color: #ffffff; }
#nav.scrolled .navlinks a.active { color: var(--brand-blue-deep); }

/* Hamburger (mobile) */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px 6px;
}
.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 2.5px 0;
  border-radius: 2px;
  background: #d6e2ea;
  transition: transform .3s ease, opacity .3s ease, background .3s ease;
}
#nav.scrolled .menu-btn span, .menu-btn.open span { background: var(--neutral-700); }
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 190;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 92px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  transform: translateY(-102%);
  transition: transform .35s cubic-bezier(.22, .61, .36, 1);
  box-shadow: 0 20px 40px rgba(11, 31, 58, .12);
}
.mobile-menu.open { transform: none; }
.mobile-menu a { font-size: 18px; font-weight: 600; color: var(--brand-blue-deep); }
.mobile-menu a.btn { font-size: 15px; color: #fff; margin-top: 6px; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  font-family: var(--font-micro);
  padding: 5px 4px;
}
.lang-toggle button {
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  padding: 2px 6px;
  color: #7e95a7;
  font-weight: 500;
}
.lang-toggle button.active { color: #ffffff; font-weight: 700; }
#nav.scrolled .lang-toggle button { color: #94a5b1; }
#nav.scrolled .lang-toggle button.active { color: var(--brand-blue-deep); }
.lang-toggle .sep { color: #5f7a8c; }
#nav.scrolled .lang-toggle .sep { color: #B2C0CC; }

/* ---------- Hero — regulatory data constellation ---------- */

@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: .85; }
  50%      { transform: translateY(9px); opacity: .35; }
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(90% 90% at 72% 40%, #16355c 0%, rgba(22, 53, 92, 0) 60%),
    linear-gradient(180deg, #0B1F3A 0%, #0d2342 55%, #0B1F3A 100%);
}

#constellation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: pan-y;   /* horizontal drag spins the graph, vertical still scrolls */
}

/* let pointer events fall through to the canvas except on real controls */
.hero-grid { pointer-events: none; }
.hero-copy a, .hero-copy .btn { pointer-events: auto; }

.hero-grid {
  position: relative;
  width: 100%;
  max-width: 1276px;
  margin: 0 auto;
  padding-top: 96px;
  padding-bottom: 64px;
}

.hero-copy { max-width: 620px; }

.hero-copy .hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-micro);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #9db9ce;
  font-weight: 600;
  margin-bottom: 24px;
  animation: heroRise .7s cubic-bezier(.22, .61, .36, 1) both;
}
.hero-copy .hero-eyebrow::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: currentColor;
  opacity: .7;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 62px;
  line-height: 1.06;
  letter-spacing: -.02em;
  color: #ffffff;
  margin: 0 0 24px;
  animation: heroRise .7s cubic-bezier(.22, .61, .36, 1) .12s both;
}

.hero-copy .sub {
  font-size: 18px;
  line-height: 1.65;
  color: #c8d6e1;
  max-width: 540px;
  margin: 0 0 36px;
  animation: heroRise .7s cubic-bezier(.22, .61, .36, 1) .24s both;
}

.hero-copy .ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: heroRise .7s cubic-bezier(.22, .61, .36, 1) .36s both;
}

.hero-copy .hero-note {
  margin-top: 46px;
  font-family: var(--font-micro);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #5f7a8c;
  font-weight: 600;
  animation: heroRise .7s cubic-bezier(.22, .61, .36, 1) .5s both;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  pointer-events: none;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: heroRise .7s cubic-bezier(.22, .61, .36, 1) .65s both;
}
.scroll-cue span {
  font-family: var(--font-micro);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8ea6b8;
}
.scroll-cue .arrow { animation: cue 1.8s ease-in-out infinite; }


/* ---------- Sections ---------- */

section { scroll-margin-top: 76px; }

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--brand-blue-deep);
  margin: 0 0 18px;
}

/* Positioning */
#plataforma { padding: 130px 48px 110px; background: #ffffff; }
#plataforma .center { max-width: 1000px; margin: 0 auto; text-align: center; }
#plataforma .eyebrow { margin-bottom: 22px; }
#plataforma h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--brand-blue-deep);
  margin: 0 0 30px;
  text-wrap: balance;
}
#plataforma .lead { font-size: 18px; line-height: 1.7; color: var(--neutral-600); max-width: 820px; margin: 0 auto 20px; }
#plataforma .body { font-size: 16px; line-height: 1.75; color: #5a6b78; max-width: 820px; margin: 0 auto; }
#plataforma .quote-band {
  max-width: 900px;
  margin: 64px auto 0;
  border-top: 1px solid var(--neutral-100);
  border-bottom: 1px solid var(--neutral-100);
  padding: 40px 24px;
  text-align: center;
}
#plataforma .quote-band .qmark { height: 26px; opacity: .85; margin-bottom: 16px; }
#plataforma .quote-band p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.3;
  color: var(--brand-blue-deep);
  margin: 0;
  letter-spacing: -.01em;
  text-wrap: balance;
}

/* Features */
#funcionalidades { padding: 110px 48px; background: #F4F7F9; }
#funcionalidades .wrap { max-width: 1180px; margin: 0 auto; }
#funcionalidades .section-head { max-width: 720px; margin-bottom: 56px; }
#funcionalidades .eyebrow { margin-bottom: 16px; }
#funcionalidades .section-head p { font-size: 17px; line-height: 1.65; color: #5a6b78; margin: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.feature-card {
  background: #fff;
  border: 1px solid var(--neutral-100);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 28px rgba(26, 42, 58, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 42, 58, .12);
  border-color: var(--brand-blue-light);
}
.feature-card:hover .icon-chip { background: rgba(113, 157, 190, .18); }
.feature-card .icon-chip {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--primary-a10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background .25s ease;
}
.feature-card h3 { font-size: 19px; font-weight: 600; color: var(--brand-blue-deep); margin: 0 0 12px; }
.feature-card p { font-size: 15px; line-height: 1.65; color: #5a6b78; margin: 0; }

.feature-cta {
  background: linear-gradient(160deg, #0B1F3A, #274863);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  box-shadow: 0 8px 28px rgba(26, 42, 58, .18);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(26, 42, 58, .26);
}
.feature-cta .label {
  font-family: var(--font-micro);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9db9ce;
  font-weight: 600;
  margin-bottom: 14px;
}
.feature-cta h3 { font-size: 21px; font-weight: 600; line-height: 1.3; margin: 0 0 12px; }
.feature-cta p { font-size: 15px; line-height: 1.6; color: #c8d6e1; margin: 0 0 24px; }

/* AI + human curation split */
#ia-curadoria { padding: 110px 48px; background: #ffffff; }
.split {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
#ia-curadoria .eyebrow { margin-bottom: 16px; }
#ia-curadoria h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--brand-blue-deep);
  margin: 0 0 22px;
}
#ia-curadoria .p1 { font-size: 17px; line-height: 1.7; color: var(--neutral-600); margin: 0 0 18px; }
#ia-curadoria .p2 { font-size: 16px; line-height: 1.7; color: #5a6b78; margin: 0 0 28px; }

.points { display: flex; flex-direction: column; gap: 14px; }
.points .point { display: flex; gap: 12px; align-items: flex-start; }
.points .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-blue-medium);
  margin-top: 7px;
  flex-shrink: 0;
}
.points span { font-size: 15px; color: var(--neutral-600); line-height: 1.55; }

.photo-block { position: relative; }
.photo-block .photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(11, 31, 58, .22);
  aspect-ratio: 4 / 5;
  background: url('../assets/photos/telescope-web.jpg') center 30% / cover no-repeat;
}
.photo-block .float-badge {
  position: absolute;
  left: -18px; bottom: -18px;
  background: #fff;
  border: 1px solid var(--neutral-100);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 12px 30px rgba(26, 42, 58, .14);
  max-width: 230px;
}
.photo-block .float-badge .big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--brand-blue-deep);
  letter-spacing: -.01em;
}
.photo-block .float-badge .small { font-size: 13px; color: #5a6b78; line-height: 1.4; margin-top: 2px; }

/* Beliefs */
#acreditamos { padding: 110px 48px; background: #F4F7F9; }
#acreditamos .wrap { max-width: 1180px; margin: 0 auto; }
#acreditamos .section-head { max-width: 720px; margin-bottom: 56px; }
#acreditamos .eyebrow { margin-bottom: 16px; }
#acreditamos .section-head h2 { margin: 0; }

.belief-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--neutral-100);
  border: 1px solid var(--neutral-100);
  border-radius: 16px;
  overflow: hidden;
}
.belief { background: #fff; padding: 36px; transition: background .25s ease; }
.belief:hover { background: #F8FBFD; }
.belief .head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.belief h3 { font-size: 18px; font-weight: 600; color: var(--brand-blue-deep); margin: 0; }
.belief p { font-size: 15px; line-height: 1.65; color: #5a6b78; margin: 0; }

/* Horizon — the Rigi panorama above the clouds */
#horizonte {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 48px;
}
#horizonte .horizon-bg {
  position: absolute;
  inset: -48px 0;
  background: url('../assets/photos/panorama.jpg') center 52% / cover no-repeat;
  will-change: transform;
}
#horizonte .horizon-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 58, .38) 0%, rgba(11, 31, 58, .12) 45%, rgba(11, 31, 58, .42) 100%);
}
#horizonte .horizon-quote { position: relative; max-width: 820px; }
#horizonte .horizon-quote img { width: 54px; opacity: .9; margin-bottom: 20px; }
#horizonte .horizon-quote .eyebrow {
  justify-content: center;
  color: #d7e6f0;
  margin-bottom: 18px;
  text-shadow: 0 1px 10px rgba(11, 31, 58, .5);
}
#horizonte .horizon-quote p {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: #ffffff;
  margin: 0;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(11, 31, 58, .55);
}

/* Origin story */
#origem { padding: 110px 48px; background: #ffffff; }
#origem .center { max-width: 820px; margin: 0 auto; text-align: center; }
#origem .eyebrow { margin-bottom: 22px; justify-content: center; }
#origem .lead { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.5; color: var(--brand-blue-deep); max-width: 780px; margin: 0 auto 22px; text-wrap: balance; }
#origem .body { font-size: 16px; line-height: 1.8; color: #5a6b78; max-width: 780px; margin: 0 auto 22px; }
#origem .lead:last-child { margin-bottom: 0; }

/* Team */
#quem-somos { padding: 110px 48px; background: #ffffff; }
#quem-somos .wrap { max-width: 1180px; margin: 0 auto; }
#quem-somos .section-head { max-width: 760px; margin-bottom: 56px; }
#quem-somos .eyebrow { margin-bottom: 16px; }
#quem-somos .section-head p { font-size: 17px; line-height: 1.65; color: #5a6b78; margin: 0; }
#quem-somos .grid-3 { gap: 28px; }

.member .photo-slot {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(26, 42, 58, .1);
  transition: transform .3s ease, box-shadow .3s ease;
  background: linear-gradient(165deg, var(--neutral-100), #cdd9e3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.member:hover .photo-slot {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(26, 42, 58, .16);
}
.member .photo-slot img.symbol { width: 44px; opacity: .45; }
.member .photo-slot img.photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.member .photo-slot .ph-label {
  font-family: var(--font-micro);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #7d93a5;
  font-weight: 600;
}
.member h3 { font-size: 19px; font-weight: 600; color: var(--brand-blue-deep); margin: 0 0 3px; }
.member .role {
  font-family: var(--font-micro);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand-blue-medium);
  font-weight: 600;
  margin-bottom: 14px;
}
.member .bio { font-size: 14px; line-height: 1.65; color: #5a6b78; margin: 0; }

/* Trust */
#confianca {
  position: relative;
  padding: 120px 48px;
  background: var(--brand-blue-deep);
  overflow: hidden;
}
#confianca .bg-photo {
  position: absolute;
  inset: 0;
  background: url('../assets/photos/clouds.jpg') center 60% / cover no-repeat;
  opacity: .16;
}
#confianca .bg-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 58, .86), rgba(11, 31, 58, .94));
}
#confianca .wrap { position: relative; max-width: 1180px; margin: 0 auto; }
#confianca .section-head { max-width: 760px; margin-bottom: 56px; }
#confianca .eyebrow { color: #9db9ce; margin-bottom: 16px; }
#confianca h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0 0 18px;
}
#confianca .section-head p { font-size: 17px; line-height: 1.7; color: #c8d6e1; margin: 0; }

.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.trust-item { border-top: 1px solid rgba(157, 185, 206, .35); padding-top: 22px; transition: border-color .3s ease; }
.trust-item:hover { border-top-color: rgba(192, 212, 226, .85); }
.trust-item h3 { font-size: 17px; font-weight: 600; color: #fff; margin: 16px 0 8px; }
.trust-item p { font-size: 14px; line-height: 1.6; color: #a9bccb; margin: 0; }

/* Contact / final CTA */
#contato {
  padding: 120px 48px;
  background: radial-gradient(60% 50% at 50% 0%, rgba(113, 157, 190, .08), rgba(113, 157, 190, 0) 70%) #ffffff;
}
#contato .center { max-width: 900px; margin: 0 auto; text-align: center; }
#contato .eyebrow { margin-bottom: 20px; }
#contato h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--brand-blue-deep);
  margin: 0 0 24px;
  text-wrap: balance;
}
#contato p { font-size: 18px; line-height: 1.7; color: #5a6b78; max-width: 660px; margin: 0 auto 40px; }
#contato .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
#contato .ctas a { line-height: 0; }

/* Footer */
footer { background: var(--brand-blue-deep); padding: 64px 48px 40px; }
footer .top {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}
footer .brand-col { max-width: 320px; }
footer .brand-col img { height: 30px; margin-bottom: 18px; }
footer .brand-col p { font-size: 14px; line-height: 1.6; color: #8ea6b8; margin: 0; }
footer .cols { display: flex; gap: 56px; flex-wrap: wrap; }
footer .col { display: flex; flex-direction: column; gap: 12px; }
footer .col-title {
  font-family: var(--font-micro);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #5f7a8c;
  font-weight: 600;
}
footer .col a { font-size: 14px; color: #c8d6e1; }
footer .col a:hover { color: #ffffff; }
footer .bottom {
  max-width: 1180px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(157, 185, 206, .18);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
footer .bottom span { font-size: 13px; color: #5f7a8c; }

/* ---------- Scroll reveals ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.22, .61, .36, 1), transform .8s cubic-bezier(.22, .61, .36, 1);
}
[data-reveal].revealed { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

[data-parallax] { will-change: transform; }

@media (max-width: 900px) {
  .navlinks { display: none; }
  .menu-btn { display: flex; }
  .pad, #nav, #plataforma, #funcionalidades, #ia-curadoria, #acreditamos,
  #quem-somos, #confianca, #contato, #horizonte, footer { padding-left: 24px; padding-right: 24px; }
  #nav.scrolled { padding-left: 24px; padding-right: 24px; }
  .hero-copy h1 { font-size: 40px; }
  #horizonte .horizon-quote p { font-size: 28px; }
  #constellation { opacity: .55; }
  .hero-grid { padding-top: 120px; }
  .split { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .belief-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .trust-grid { grid-template-columns: 1fr; }
  #nav .btn { display: none; }
}

/* ---------- Reduced motion: static constellation, no entrance motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue .arrow { animation: none; }
  .hero-copy .hero-eyebrow, .hero-copy h1, .hero-copy .sub,
  .hero-copy .ctas, .hero-copy .hero-note, .scroll-cue { animation: none; opacity: 1; transform: none; }
  [data-parallax] { transform: none !important; }
  .btn, .feature-card, .feature-cta, .member .photo-slot, .mobile-menu { transition: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
