@import url("https://fonts.googleapis.com/css2?family=Familjen+Grotesk:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --blue: #0000f5;
  --blue-soft: #3333ff;
  --blue-glow: rgba(0, 0, 245, 0.35);
  --black: #050505;
  --gray-950: #0c0c0f;
  --gray-900: #141418;
  --gray-800: #1e1e24;
  --gray-700: #3a3a44;
  --gray-500: #6b6b78;
  --gray-300: #d4d4dc;
  --gray-100: #f4f4f8;
  --white: #ffffff;
  --max: 1180px;
  --header: 76px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Familjen Grotesk", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.85rem;
  font: 600 0.95rem/1 "Familjen Grotesk", sans-serif;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 32px var(--blue-glow);
}
.btn-primary:hover { background: var(--blue-soft); box-shadow: 0 16px 40px var(--blue-glow); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-outline-dark {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline-dark:hover { background: var(--blue); color: var(--white); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: var(--header);
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  position: relative;
  height: 42px;
}
.logo img {
  height: 40px;
  width: auto;
  transition: opacity 0.25s ease;
}
.logo-dark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
}
.logo-light { opacity: 1; }
.site-header.is-scrolled .logo-light { opacity: 0; }
.site-header.is-scrolled .logo-dark { opacity: 1; }
.nav-desktop { display: flex; gap: 2.25rem; align-items: center; }
.nav-desktop a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  transition: color 0.2s;
}
.site-header:not(.is-scrolled) .nav-desktop a {
  color: rgba(255, 255, 255, 0.92);
}
.site-header:not(.is-scrolled) .nav-desktop a:hover,
.site-header:not(.is-scrolled) .nav-desktop a.is-active {
  color: var(--white);
}
.nav-desktop a:hover, .nav-desktop a.is-active { color: var(--blue); }
.nav-desktop a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.site-header:not(.is-scrolled) .nav-desktop a.is-active::after {
  background: var(--white);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform 0.25s, opacity 0.25s, background 0.25s;
}
.site-header:not(.is-scrolled) .nav-toggle span {
  background: var(--white);
}
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header);
  left: 0; right: 0;
  background: var(--white);
  padding: 1.25rem 1.5rem 1.5rem;
  border-bottom: 1px solid var(--gray-300);
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: var(--shadow);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  padding: 0.85rem 0;
  font-weight: 500;
  border-bottom: 1px solid var(--gray-100);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header) + 3rem) 0 4rem;
  color: var(--white);
  overflow: hidden;
  background: var(--gray-950);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: right center;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.74) 34%,
      rgba(0, 0, 0, 0.28) 56%,
      rgba(0, 0, 0, 0.06) 70%,
      transparent 84%
    );
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 38rem) 1fr;
  grid-template-rows: auto auto;
  gap: 1.75rem 2.5rem;
  align-items: start;
}
.hero-copy {
  grid-column: 1;
  grid-row: 1;
}
.hero-copy h1 {
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero-copy h1 .accent { color: var(--blue-soft); display: block; }
.hero-copy p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.82);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.hero-badge span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue-soft);
  box-shadow: 0 0 12px var(--blue);
}
.hero-card {
  grid-column: 1;
  grid-row: 2;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  max-width: 100%;
  margin-left: 0;
  align-self: start;
}
.hero-card h3 { font-size: 1.125rem; margin-bottom: 1rem; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hero-stat {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(0,0,0,0.25);
}
.hero-stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--blue-soft);
  margin-bottom: 0.15rem;
}
.hero-stat span { font-size: 0.8125rem; color: rgba(255,255,255,0.7); }

/* Sections */
.section { padding: 6rem 0; }
.section-dark { background: var(--gray-950); color: var(--white); }
.section-soft { background: var(--gray-100); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.875rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.section-title .blue { color: var(--blue); }
.section-lead { margin-top: 1rem; color: var(--gray-700); font-size: 1rem; }
.section-dark .section-lead { color: rgba(255,255,255,0.72); }

/* Feature split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split-image:not(.photo-frame) img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.split-image.portrait img {
  aspect-ratio: 3 / 4;
  object-position: center 12%;
}
.photo-frame,
.split-image--headshot,
.ceo-photo {
  position: relative;
  width: 100%;
  min-width: 0;
  max-height: min(520px, 70vh);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #000;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 12%;
  box-shadow: none;
}
.photo-frame--ceo,
.ceo-photo {
  aspect-ratio: 819 / 1024;
}
.photo-frame--profile {
  aspect-ratio: 641 / 1024;
  background-position: center center;
}
.split-image.photo-frame,
.split-image.split-image--headshot {
  box-shadow: none;
}
.photo-frame img,
.split-image--headshot img,
.ceo-photo img {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.split-content h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.split-content p { color: var(--gray-700); margin-bottom: 1.5rem; }

/* Cards */
.cards-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.card-image {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  color: var(--white);
  background: linear-gradient(160deg, #12121a 0%, #050508 100%);
}
.card-image-bg {
  position: absolute;
  inset: 0;
  background-color: #050508;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease);
}
.card-image:hover .card-image-bg { transform: scale(1.05); }
.card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.45) 42%, rgba(0,0,0,0.12) 100%);
}
.card-image-content { position: relative; z-index: 1; }
.card-image h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.2;
}
.card-image--brand {
  background:
    linear-gradient(145deg, var(--blue) 0%, #0000a8 38%, #080812 68%, var(--gray-950) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  isolation: isolate;
}
.card-image--brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(102, 102, 255, 0.55) 0%, transparent 42%),
    radial-gradient(circle at 8% 92%, rgba(0, 0, 245, 0.35) 0%, transparent 38%);
  pointer-events: none;
}
.card-image--brand .card-image-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.08) 55%, transparent 100%);
}
.card-image--brand:hover {
  box-shadow: 0 24px 48px rgba(0, 0, 245, 0.22);
}
.card-image--brand .card-image-kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.card-image--brand h3 .accent {
  color: var(--blue-soft);
}
.card-image--graphite {
  background:
    linear-gradient(145deg, #1a1a22 0%, #0a0a0c 42%, #050508 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  isolation: isolate;
}
.card-image--graphite::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 86%, rgba(0, 0, 245, 0.32) 0%, transparent 42%),
    radial-gradient(circle at 88% 14%, rgba(102, 102, 255, 0.2) 0%, transparent 38%);
  pointer-events: none;
}
.card-image--graphite .card-image-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.1) 55%, transparent 100%);
}
.card-image--graphite:hover {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.cards-note {
  text-align: center;
  max-width: 760px;
  margin: 2.5rem auto 0;
  color: var(--gray-700);
}
.cards-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2.5rem 0;
}
.pillar {
  padding: 1.5rem 1rem;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.25s;
}
.pillar:hover { border-color: var(--blue); transform: translateY(-3px); }
.pillar small {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 0.35rem;
}
.pillar strong { font-size: 1.2rem; color: var(--blue); }

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.stat {
  background: var(--gray-900);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s;
}
.stat:hover { border-color: rgba(0,0,245,0.5); transform: translateY(-4px); }
.stat-num {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--blue-soft);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.stat-label { font-size: 0.875rem; color: rgba(255,255,255,0.72); }

/* DIA */
.dia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.dia-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.dia-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 20px 40px rgba(0,0,245,0.08);
}
.dia-card h4 { font-size: 1.125rem; color: var(--blue); margin-bottom: 0.75rem; }
.dia-card p { color: var(--gray-700); font-size: 0.95rem; }

/* Logos marquee */
.logos-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 35s linear infinite;
}
.logos-track img {
  height: 36px;
  width: auto;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity 0.25s, filter 0.25s;
}
.logos-track img:hover { opacity: 1; filter: none; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* CEO */
.ceo {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: center;
}
.ceo-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.ceo h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.ceo p { color: var(--gray-700); margin-bottom: 1rem; }

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--header) + 4rem) 0 4rem;
  background: var(--gray-950);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, var(--blue-glow), transparent 45%);
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 720px;
  line-height: 1.08;
}
.page-hero p {
  margin-top: 1rem;
  max-width: 560px;
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
}

.content-block { padding: 5rem 0; }
.content-block p { color: var(--gray-700); margin-bottom: 1rem; }
.content-block h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.info-card {
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-300);
  background: var(--white);
}
.info-card h3 { font-size: 1.125rem; margin-bottom: 0.75rem; color: var(--blue); }
.info-card p { font-size: 0.95rem; margin: 0; }

.cta-band {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--blue) 0%, #0000aa 100%);
  color: var(--white);
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 1rem; }
.cta-band p { opacity: 0.88; margin-bottom: 1.5rem; max-width: 520px; margin-inline: auto; }

/* Footer */
.site-footer {
  background: var(--gray-950);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand img { height: 40px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9375rem; line-height: 1.6; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.9375rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  opacity: 0.55;
  text-align: center;
}

/* Notebook: tipografia mais contida (769px–1280px) */
@media (min-width: 769px) and (max-width: 1280px) {
  body { font-size: 16px; }

  .hero {
    min-height: auto;
    padding: calc(var(--header) + 2.5rem) 0 3.5rem;
  }
  .hero-copy h1 { font-size: clamp(2rem, 3.6vw, 2.85rem); }
  .hero-copy p { font-size: 0.975rem; margin-bottom: 1.5rem; }
  .hero-card { padding: 1.5rem; }
  .hero-card h3 { font-size: 1rem; }
  .hero-stat strong { font-size: 1.125rem; }

  .section { padding: 4.5rem 0; }
  .section-title { font-size: clamp(1.65rem, 2.8vw, 2.1rem); }
  .section-lead { font-size: 0.975rem; }

  .split { gap: 3rem; }
  .split-content h3 { font-size: 1.5rem; }

  .card-image {
    min-height: 340px;
    padding: 1.65rem;
  }
  .card-image h3 { font-size: 1.35rem; }

  .ceo { gap: 3rem; }
  .ceo h2 { font-size: 1.85rem; }

  .page-hero {
    padding: calc(var(--header) + 3rem) 0 3rem;
  }
  .page-hero h1 { font-size: clamp(1.85rem, 3.2vw, 2.35rem); }

  .content-block { padding: 4rem 0; }
  .content-block h2 { font-size: 1.4rem; }

  .stat-num { font-size: 1.45rem; }
  .pillar strong { font-size: 1.05rem; }

  .btn {
    padding: 0.8rem 1.55rem;
    font-size: 0.875rem;
  }
}

/* Hero mobile: fundo preto sólido, sem foto */
@media (max-width: 768px) {
  .hero {
    align-items: flex-start;
    min-height: auto;
    padding: calc(var(--header) + 1.25rem) 0 2.5rem;
    background: var(--black);
  }
  .hero-bg,
  .hero-overlay {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1.5rem;
  }
  .hero-copy h1 {
    font-size: clamp(1.75rem, 8.2vw, 2.25rem);
  }
  .hero-copy p {
    font-size: 1rem;
    margin-bottom: 1.35rem;
  }
  .hero-card {
    padding: 1.25rem;
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.05);
  }
  .hero-stat {
    padding: 0.75rem;
  }
  .hero-stat strong {
    font-size: 1.125rem;
  }
}

@media (max-width: 960px) {
  .split, .ceo, .cards-2, .footer-grid { grid-template-columns: 1fr; }
  .split-image { order: -1; }
  .split-image--headshot,
  .ceo-photo,
  .photo-frame {
    max-height: min(440px, 62vh);
  }
  .card-image { min-height: 300px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .stats-grid, .dia-grid, .content-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 4rem 0; }
}
@media (max-width: 480px) {
  .pillars { grid-template-columns: 1fr; }
}
