/* Nosso Brasil Inteligente — design system */
:root {
  --nbi-blue: #2a3ea0;        /* deep blue from heart bg */
  --nbi-cyan: #0ea5c7;        /* teal-cyan from lamp bg */
  --nbi-green: #0e8a4a;       /* house green */
  --nbi-yellow: #fdc400;      /* sun yellow */
  --nbi-orange: #f08a2d;      /* faixas orange */
  --nbi-pink: #e94199;        /* faixas pink */
  --nbi-red: #e63946;         /* heart red */
  --nbi-ink: #1a1a1a;
  --nbi-ink-soft: #3a3a3a;
  --nbi-paper: #fafaf7;
  --nbi-paper-warm: #f4efe6;
  --nbi-line: #e8e4d9;

  --font-display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --max-w: 1280px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--nbi-paper);
  color: var(--nbi-ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
body { overflow-x: hidden; }

h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p { text-wrap: pretty; }
a { color: inherit; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.nav.scrolled {
  background: rgba(250, 250, 247, 0.88);
  backdrop-filter: saturate(1.2) blur(14px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
  padding: 10px 0;
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 36px; }
.nav-links {
  display: flex; gap: 28px; align-items: center;
  font-size: 14px; font-weight: 500;
}
.nav-links a {
  text-decoration: none; color: var(--nbi-ink);
  position: relative; padding: 6px 0;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--nbi-blue); }
.nav-cta {
  background: var(--nbi-ink);
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: 999px;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease;
}
.nav-cta:hover { background: var(--nbi-blue); transform: translateY(-1px); }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span {
  display: block; width: 22px; height: 2px; background: var(--nbi-ink);
  margin: 5px 0; transition: transform .25s ease, opacity .25s ease;
}
.nav-burger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2){ opacity: 0; }
.nav-burger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; gap: 18px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--nbi-paper);
    padding: 24px;
    border-top: 1px solid var(--nbi-line);
  }
  .nav-links.mobile-open .nav-cta { align-self: flex-start; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  background: var(--nbi-paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero { padding: 120px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--nbi-blue);
  background: rgba(42,62,160,0.08);
  padding: 8px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--nbi-green);
  box-shadow: 0 0 0 0 rgba(14,138,74,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(14,138,74,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(14,138,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(14,138,74,0); }
}
.hero h1 {
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.hero h1 .accent-pink { color: var(--nbi-pink); }
.hero h1 .accent-blue { color: var(--nbi-blue); }
.hero h1 .accent-green { color: var(--nbi-green); }
.hero h1 .accent-orange { color: var(--nbi-orange); }
.hero p.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--nbi-ink-soft);
  max-width: 540px;
  margin: 0 0 32px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  border: 0; cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn-primary {
  background: var(--nbi-ink); color: #fff;
}
.btn-primary:hover { background: var(--nbi-blue); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(42,62,160,0.5); }
.btn-outline {
  background: transparent; color: var(--nbi-ink);
  border: 1.5px solid var(--nbi-ink);
}
.btn-outline:hover { background: var(--nbi-ink); color: #fff; }
.btn-arrow { transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* Hero mosaic */
.hero-mosaic {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 10px;
}
.m-tile { border-radius: 18px; overflow: hidden; position: relative; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.m-tile:hover { transform: translateY(-4px) rotate(-1deg); }
.m-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-heart { grid-column: 1/3; grid-row: 1/3; background: var(--nbi-blue); display: flex; align-items: center; justify-content: center; }
.m-heart svg { width: 60%; height: 60%; }
.m-photo1 { grid-column: 3/5; grid-row: 1/4; }
.m-sun { grid-column: 5/7; grid-row: 1/3; background: linear-gradient(180deg, var(--nbi-orange) 50%, var(--nbi-yellow) 50%); position: relative; }
.m-sun::after {
  content: ""; position: absolute; right: -15%; top: 35%;
  width: 60%; aspect-ratio: 1;
  background: var(--nbi-yellow);
  border-radius: 50%;
  box-shadow: inset -10px 0 0 rgba(240,138,45,0.6);
}
.m-house { grid-column: 1/3; grid-row: 3/5; background: var(--nbi-yellow); position: relative; overflow: hidden; }
.m-house::before {
  content: ""; position: absolute; inset: 12% 0 0 0;
  background: var(--nbi-green);
  clip-path: polygon(50% 0%, 100% 20%, 100% 100%, 0 100%, 0 20%);
}
.m-house::after {
  content: ""; position: absolute; bottom: 0; left: 42%;
  width: 16%; height: 55%;
  background: var(--nbi-paper);
  border-radius: 40% 40% 0 0;
}
.m-photo2 { grid-column: 5/7; grid-row: 3/5; }
.m-road { grid-column: 3/5; grid-row: 4/7; background: var(--nbi-cyan); position: relative; overflow: hidden; }
.m-road::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 15%, var(--nbi-yellow) 22%, transparent 22.5%),
              radial-gradient(circle at 85% 88%, var(--nbi-yellow) 22%, transparent 22.5%);
}
.m-road::after {
  content: ""; position: absolute; top: 20%; left: 0; right: 0; bottom: 20%;
  background:
    linear-gradient(115deg, transparent 47%, #fff 47%, #fff 49%, transparent 49%),
    linear-gradient(115deg, transparent 62%, #fff 62%, #fff 64%, transparent 64%);
}
.m-stripes { grid-column: 1/3; grid-row: 5/7; background: repeating-linear-gradient(90deg, var(--nbi-pink) 0 20px, var(--nbi-blue) 20px 40px); }
.m-photo3 { grid-column: 5/7; grid-row: 5/7; }

/* floating shapes */
.hero-float {
  position: absolute; pointer-events: none;
}
.hero-float.f1 {
  top: 18%; right: -30px; width: 80px; height: 80px;
  background: var(--nbi-yellow); border-radius: 50%;
  animation: float 7s ease-in-out infinite;
}
.hero-float.f2 {
  bottom: 10%; left: 4%; width: 60px; height: 60px;
  background: var(--nbi-pink); border-radius: 50%;
  animation: float 9s ease-in-out infinite -2s;
}
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-24px) rotate(8deg); }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--nbi-ink); color: #fff;
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}
.marquee-track {
  display: flex; gap: 48px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--font-display);
  font-size: 28px; font-weight: 800;
  letter-spacing: -0.02em;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-dot {
  width: 14px; height: 14px; border-radius: 50%; background: var(--nbi-yellow); display: inline-block;
}
.marquee-dot.pink { background: var(--nbi-pink); }
.marquee-dot.green { background: var(--nbi-green); }
.marquee-dot.cyan { background: var(--nbi-cyan); }
.marquee-dot.orange { background: var(--nbi-orange); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section base ---------- */
section.sec { padding: 120px 0; position: relative; }
@media (max-width: 720px) { section.sec { padding: 80px 0; } }

.sec-head {
  display: grid; grid-template-columns: auto 1fr; gap: 32px;
  align-items: end; margin-bottom: 56px;
}
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; } }
.sec-kicker {
  font-family: var(--font-display); font-weight: 700;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--nbi-blue);
}
.sec-title {
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1; letter-spacing: -0.03em;
}
.sec-lede { font-size: 18px; line-height: 1.55; color: var(--nbi-ink-soft); max-width: 480px; }

/* ---------- Quem somos ---------- */
.about { background: var(--nbi-paper-warm); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px){ .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.about-visual {
  aspect-ratio: 4/5; position: relative;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--nbi-blue);
}
.about-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-visual .tag {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(0,0,0,0.6); color: #fff;
  backdrop-filter: blur(8px);
  padding: 10px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
}
.about-text h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.02; margin-bottom: 20px; }
.about-text p { font-size: 17px; line-height: 1.6; color: var(--nbi-ink-soft); margin: 0 0 18px; }
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 36px;
  padding-top: 28px; border-top: 1px solid var(--nbi-line);
}
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 3.5vw, 44px); color: var(--nbi-blue); letter-spacing: -0.03em; line-height: 1; }
.stat-label { font-size: 13px; color: var(--nbi-ink-soft); margin-top: 6px; line-height: 1.3; }

/* ---------- Pillars ---------- */
.pillars { background: var(--nbi-ink); color: #fff; }
.pillars .sec-kicker { color: var(--nbi-yellow); }
.pillars .sec-lede { color: rgba(255,255,255,0.7); }
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 900px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars-grid { grid-template-columns: 1fr; } }
.pillar {
  background: #222;
  border-radius: var(--radius-lg);
  padding: 28px;
  min-height: 280px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .3s ease;
  cursor: default;
}
.pillar:hover { transform: translateY(-6px); }
.pillar.v1 { background: var(--nbi-blue); }
.pillar.v2 { background: var(--nbi-green); }
.pillar.v3 { background: var(--nbi-orange); }
.pillar.v4 { background: var(--nbi-pink); }
.pillar.v5 { background: var(--nbi-cyan); }
.pillar.v6 { background: #4c359a; }
.pillar-icon {
  width: 52px; height: 52px; border-radius: 16px;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800;
  font-size: 22px;
}
.pillar h3 { font-size: 24px; line-height: 1.1; margin-top: 24px; }
.pillar p { color: rgba(255,255,255,0.82); font-size: 14px; line-height: 1.5; margin: 10px 0 0; }

/* ---------- Smart Cities ---------- */
.smart { background: var(--nbi-paper); }
.smart-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .smart-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .smart-grid { grid-template-columns: 1fr; } }
.smart-card {
  background: #fff; border: 1px solid var(--nbi-line);
  border-radius: var(--radius-lg); padding: 22px;
  min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  position: relative; overflow: hidden;
}
.smart-card:hover { transform: translateY(-4px); border-color: var(--nbi-blue); box-shadow: 0 20px 40px -20px rgba(42,62,160,0.25); }
.smart-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.smart-card h4 { font-size: 20px; margin-top: 16px; line-height: 1.15; }
.smart-card p { font-size: 14px; color: var(--nbi-ink-soft); line-height: 1.5; margin: 8px 0 0; }

/* ---------- ODS Grid ---------- */
.ods { background: var(--nbi-paper-warm); }
.ods-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
}
@media (max-width: 1100px){ .ods-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 680px){ .ods-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 420px){ .ods-grid { grid-template-columns: repeat(2, 1fr); } }
.ods-tile {
  aspect-ratio: 1;
  border-radius: 14px;
  padding: 14px; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
  cursor: pointer;
  transition: transform .25s ease;
  border: 0; text-align: left; font-family: inherit;
}
.ods-tile:hover { transform: scale(1.04); z-index: 2; }
.ods-tile.active { outline: 3px solid var(--nbi-ink); outline-offset: 3px; }
.ods-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800; line-height: 1;
  letter-spacing: -0.03em;
}
.ods-label {
  font-size: 11px; font-weight: 600; line-height: 1.15;
  text-transform: uppercase; letter-spacing: 0.02em;
}
.ods-detail {
  background: #fff; border-radius: var(--radius-lg);
  padding: 32px; margin-top: 24px;
  display: grid; grid-template-columns: auto 1fr; gap: 28px;
  align-items: center;
  border: 1px solid var(--nbi-line);
}
@media (max-width: 720px) { .ods-detail { grid-template-columns: 1fr; gap: 16px; } }
.ods-detail-badge {
  width: 72px; height: 72px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display);
  font-weight: 800; font-size: 32px;
}
.ods-detail h4 { font-size: 22px; line-height: 1.15; margin-bottom: 6px; }
.ods-detail p { margin: 0; color: var(--nbi-ink-soft); line-height: 1.55; font-size: 15px; }

/* ---------- Founder ---------- */
.founder { background: var(--nbi-blue); color: #fff; overflow: hidden; position: relative; }
.founder-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: end; }
@media (max-width: 900px){ .founder-grid { grid-template-columns: 1fr; gap: 24px; align-items: start; } }
.founder-photo {
  position: relative;
  height: 560px;
  display: flex; align-items: flex-end; justify-content: center;
}
.founder-photo-bg {
  position: absolute; inset: 60px 10% 0 10%;
  background: var(--nbi-yellow); border-radius: 220px 220px 24px 24px;
}
.founder-photo img { position: relative; height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom; z-index: 2; }
.founder-text .sec-kicker { color: var(--nbi-yellow); }
.founder-text h2 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1; margin: 16px 0 24px; }
.founder-text p { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.88); margin: 0 0 14px; max-width: 540px; }
.founder-quote {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15;
  color: #fff;
  border-left: 4px solid var(--nbi-yellow);
  padding-left: 20px; margin: 30px 0;
  max-width: 540px;
}
.founder-role { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 6px; }

/* ---------- Projects ---------- */
.projects { background: var(--nbi-paper); }
.projects-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px){ .projects-row { grid-template-columns: 1fr; } }
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden; position: relative;
  min-height: 420px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
  cursor: pointer;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.project-card:hover { transform: translateY(-6px); }
.project-card::before {
  content: ""; position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .6s ease;
}
.project-card:hover::before { transform: scale(1.06); }
.project-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,0.8) 100%);
}
.project-card > * { position: relative; z-index: 2; }
.project-card .meta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 24px 24px 0;
}
.project-card .meta-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nbi-yellow); }
.project-card h4 { font-size: 24px; padding: 8px 24px; line-height: 1.15; }
.project-card p { font-size: 14px; color: rgba(255,255,255,0.88); padding: 0 24px 24px; line-height: 1.5; margin: 0; }

.p1::before { background-image: url('assets/brasil-1.webp'); }
.p2::before { background-image: url('assets/brasil-2.jpg'); }
.p3::before { background-image: url('assets/brasil-5.jpg'); }

/* ---------- Partners ---------- */
.partners { background: var(--nbi-paper-warm); }
.partners-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 900px){ .partners-grid { grid-template-columns: repeat(2, 1fr); } }
.partner-card {
  background: #fff; border: 1px solid var(--nbi-line);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  display: flex; align-items: center; justify-content: center;
  min-height: 110px;
  transition: border-color .3s ease, transform .3s ease;
}
.partner-card:hover { border-color: var(--nbi-blue); transform: translateY(-2px); }
.partner-card img { max-height: 48px; max-width: 80%; opacity: 0.9; }
.partner-card .placeholder {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  color: var(--nbi-ink-soft); letter-spacing: -0.02em;
  text-align: center;
}

/* ---------- News ---------- */
.news { background: var(--nbi-paper); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px){ .news-grid { grid-template-columns: 1fr; } }
.news-card {
  background: #fff; border: 1px solid var(--nbi-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s ease, border-color .3s ease;
  cursor: pointer;
}
.news-card:hover { transform: translateY(-4px); border-color: var(--nbi-blue); }
.news-cover { aspect-ratio: 16/10; background-size: cover; background-position: center; }
.news-body { padding: 22px; }
.news-cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--nbi-blue); }
.news-card h4 { font-size: 19px; margin-top: 10px; line-height: 1.22; }
.news-card p { font-size: 14px; color: var(--nbi-ink-soft); margin-top: 8px; line-height: 1.5; }
.news-meta { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 12px; color: #888; }

/* ---------- Contact ---------- */
.contact { background: var(--nbi-ink); color: #fff; position: relative; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
@media (max-width: 900px){ .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact h2 { font-size: clamp(36px, 4.5vw, 64px); line-height: 1; margin-bottom: 20px; }
.contact-left p { color: rgba(255,255,255,0.7); font-size: 17px; line-height: 1.6; margin: 0 0 28px; max-width: 440px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.12); }
.contact-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.contact-item-icon {
  width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.contact-item .label { font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-item .value { font-size: 16px; font-weight: 500; margin-top: 2px; }

.form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px){ .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12px; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; font-weight: 500; }
.form-control {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  padding: 13px 14px;
  border-radius: 10px;
  font-family: inherit; font-size: 15px;
  transition: border-color .2s ease, background .2s ease;
  outline: none;
}
.form-control:focus { border-color: var(--nbi-yellow); background: rgba(255,255,255,0.09); }
.form-control.error { border-color: #ff6b6b; }
.error-text { color: #ff9b9b; font-size: 12px; margin-top: 4px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip {
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 13px; cursor: pointer; color: #fff;
  transition: all .2s ease;
}
.chip.active { background: var(--nbi-yellow); color: var(--nbi-ink); border-color: var(--nbi-yellow); }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-submit { margin-top: 12px; width: 100%; justify-content: center; background: var(--nbi-yellow); color: var(--nbi-ink); font-weight: 700; }
.form-submit:hover { background: #fff; }
.form-success {
  display: flex; align-items: center; gap: 12px;
  background: rgba(14,138,74,0.18);
  color: #b8f0ce;
  border: 1px solid rgba(14,138,74,0.4);
  padding: 14px 16px; border-radius: 12px;
  margin-top: 12px; font-size: 14px;
}

/* ---------- Footer ---------- */
.foot { background: #0a0a0a; color: rgba(255,255,255,0.7); padding: 60px 0 30px; }
.foot-top { display: grid; grid-template-columns: 1.2fr 0.9fr 0.9fr 0.9fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 900px){ .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .foot-top { grid-template-columns: 1fr; } }
.foot h5 { color: #fff; font-family: var(--font-display); font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.foot a { color: rgba(255,255,255,0.7); text-decoration: none; display: block; padding: 4px 0; font-size: 14px; }
.foot a:hover { color: var(--nbi-yellow); }
.foot-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.foot-logo-name { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; font-size: 18px; color: #fff; }
.foot-bot { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* ===================================================================
   V2 — Hero / About / Features (estrutura inspirada em landings cinemáticas,
   adaptada para a paleta NBI: creme + azul/amarelo/rosa)
   =================================================================== */

/* ---------- Hero V2: full-viewport com inset arredondado ---------- */
.hero-v2 {
  position: relative;
  height: 100vh;
  min-height: 640px;
  padding: 16px;
  background: var(--nbi-paper);
}
@media (min-width: 768px) { .hero-v2 { padding: 24px; } }

.hero-v2-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #1a1a1a;
}
@media (min-width: 768px) { .hero-v2-frame { border-radius: 32px; } }

.hero-v2-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-v2-grain {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.55;
}
.hero-v2-fade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.05) 35%,
    rgba(0,0,0,0.15) 70%,
    rgba(0,0,0,0.65) 100%);
}

/* Nav em ilha — fixed no topo da viewport com glass blur */
.hero-v2-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 8px 18px;
  display: flex; align-items: center; gap: 14px;
  white-space: nowrap;
  max-width: calc(100% - 32px);
  box-shadow:
    0 12px 32px -10px rgba(0, 0, 0, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  /* Aparece com leve fade ao carregar */
  animation: hero-nav-in .7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@media (min-width: 768px) {
  .hero-v2-nav { top: 22px; padding: 8px 28px; gap: 32px; }
}
@keyframes hero-nav-in {
  from { opacity: 0; transform: translate(-50%, -12px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
@media (min-width: 1024px) { .hero-v2-nav { gap: 56px; } }
.hero-v2-nav a {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(254, 250, 240, 0.78);
  text-decoration: none;
  transition: color .2s ease;
}
@media (min-width: 640px) { .hero-v2-nav a { font-size: 12px; } }
@media (min-width: 768px) { .hero-v2-nav a { font-size: 13px; } }
.hero-v2-nav a:hover { color: var(--nbi-yellow); }

/* Conteúdo do hero, ancorado embaixo */
.hero-v2-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 5;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  align-items: end;
}
@media (min-width: 768px) { .hero-v2-content { padding: 40px 36px; gap: 32px; } }
@media (min-width: 1024px) { .hero-v2-content { padding: 48px 56px; } }

.hero-v2-title-wrap {
  grid-column: 1 / -1;
  position: relative;
}
@media (min-width: 1024px) { .hero-v2-title-wrap { grid-column: 1 / span 8; } }

.hero-v2-eyebrow {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--nbi-paper-warm);
  opacity: 0.85;
  margin-bottom: 8px;
}
@media (min-width: 768px) { .hero-v2-eyebrow { font-size: 13px; margin-bottom: 12px; } }

.hero-v2-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22vw;
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: var(--nbi-paper);
  margin: 0;
  position: relative;
  display: block;
}
@media (min-width: 640px) { .hero-v2-title { font-size: 20vw; } }
@media (min-width: 768px) { .hero-v2-title { font-size: 18vw; } }
@media (min-width: 1024px) { .hero-v2-title { font-size: 16vw; } }
@media (min-width: 1280px) { .hero-v2-title { font-size: 15vw; } }

.hero-v2-title .star {
  display: inline-block;
  font-size: 0.34em;
  font-weight: 500;
  color: var(--nbi-yellow);
  font-family: var(--font-display);
  vertical-align: super;
  line-height: 1;
  margin-left: 0.04em;
  position: relative;
  top: 0.05em;
}

.hero-v2-title .word {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
}
.hero-v2-title .word-inner {
  display: inline-block;
  transform: translateY(105%);
  opacity: 0;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-v2-title.in .word-inner { transform: translateY(0); opacity: 1; }
.hero-v2-title.in .word:nth-child(1) .word-inner { transition-delay: 0.05s; }
.hero-v2-title.in .word:nth-child(2) .word-inner { transition-delay: 0.13s; }
.hero-v2-title.in .word:nth-child(3) .word-inner { transition-delay: 0.21s; }

.hero-v2-side {
  grid-column: 1 / -1;
  display: flex; flex-direction: column;
  gap: 18px;
  max-width: 420px;
}
@media (min-width: 1024px) {
  .hero-v2-side { grid-column: 9 / span 4; padding-bottom: 12px; }
}

.hero-v2-lede {
  color: rgba(254, 250, 240, 0.78);
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s,
              transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}
@media (min-width: 640px) { .hero-v2-lede { font-size: 14px; } }
@media (min-width: 768px) { .hero-v2-lede { font-size: 16px; line-height: 1.45; } }
.hero-v2-content.in .hero-v2-lede { opacity: 1; transform: translateY(0); }

.hero-v2-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  background: var(--nbi-paper);
  color: var(--nbi-ink);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 0; cursor: pointer;
  transition: gap .25s ease, background .25s ease, transform .25s ease;
  opacity: 0;
  transform: translateY(20px);
}
@media (min-width: 768px) { .hero-v2-cta { font-size: 15px; padding: 6px 6px 6px 24px; } }
.hero-v2-content.in .hero-v2-cta {
  opacity: 1; transform: translateY(0);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s,
              transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s,
              gap .25s ease, background .25s ease;
}
.hero-v2-cta:hover { gap: 16px; background: var(--nbi-yellow); }
.hero-v2-cta-circle {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--nbi-ink);
  color: var(--nbi-paper);
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
  transition: transform .25s ease;
}
@media (min-width: 768px) { .hero-v2-cta-circle { width: 42px; height: 42px; } }
.hero-v2-cta:hover .hero-v2-cta-circle { transform: scale(1.08) rotate(-8deg); }

/* ---------- About V2 (sobre — card escuro tipo "I am Marcus Chen") ---------- */
.about-v2 {
  background: var(--nbi-paper);
  padding: 100px 16px;
}
@media (min-width: 768px) { .about-v2 { padding: 140px 32px; } }

.about-v2-card {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--nbi-blue);
  color: var(--nbi-paper);
  border-radius: 32px;
  padding: 64px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .about-v2-card { padding: 96px 56px; border-radius: 40px; } }

.about-v2-kicker {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--nbi-yellow);
  margin-bottom: 28px;
}
@media (min-width: 768px) { .about-v2-kicker { font-size: 12px; } }

.about-v2-headline {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 880px;
  margin: 0 auto 48px;
}
@media (min-width: 640px) { .about-v2-headline { font-size: 38px; } }
@media (min-width: 768px) { .about-v2-headline { font-size: 48px; } }
@media (min-width: 1024px) { .about-v2-headline { font-size: 60px; line-height: 0.92; } }
@media (min-width: 1280px) { .about-v2-headline { font-size: 72px; } }

.about-v2-headline .seg-italic {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--nbi-yellow);
}

/* word pull-up animation */
.about-v2-headline .word {
  display: inline-block;
  overflow: hidden;
  margin-right: 0.22em;
  vertical-align: top;
}
.about-v2-headline .word-inner {
  display: inline-block;
  transform: translateY(105%);
  opacity: 0;
  transition: transform .9s cubic-bezier(0.16, 1, 0.3, 1),
              opacity .9s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-v2-headline.in .word-inner { transform: translateY(0); opacity: 1; }

/* Body com revelação caractere-por-caractere via scroll */
.about-v2-body {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--nbi-paper);
}
@media (min-width: 768px) { .about-v2-body { font-size: 17px; } }
.about-v2-body .ch {
  opacity: 0.22;
  transition: opacity .35s linear;
}
.about-v2-body .ch.lit { opacity: 1; }

/* ---------- Features V2 (4-col grid: 1 visual + 3 numbered) ---------- */
.features-v2 {
  background: var(--nbi-ink);
  color: var(--nbi-paper);
  padding: 100px 16px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .features-v2 { padding: 140px 32px; } }

.features-v2::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.18'/></svg>");
  opacity: 0.18;
  pointer-events: none;
}

.features-v2-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

.features-v2-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.features-v2-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}
@media (min-width: 640px) { .features-v2-head h2 { font-size: 26px; } }
@media (min-width: 768px) { .features-v2-head h2 { font-size: 32px; } }
@media (min-width: 1024px) { .features-v2-head h2 { font-size: 38px; } }
.features-v2-head .line-1 { color: var(--nbi-paper); }
.features-v2-head .line-2 { color: rgba(254, 250, 240, 0.45); display: block; margin-top: 4px; }
.features-v2-head .word { display: inline-block; overflow: hidden; margin-right: 0.22em; vertical-align: top; }
.features-v2-head .word-inner {
  display: inline-block; transform: translateY(105%); opacity: 0;
  transition: transform .9s cubic-bezier(0.16, 1, 0.3, 1),
              opacity .9s cubic-bezier(0.16, 1, 0.3, 1);
}
.features-v2-head.in .word-inner { transform: translateY(0); opacity: 1; }

.features-v2-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 768px) { .features-v2-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
@media (min-width: 1024px) {
  .features-v2-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    height: 480px;
  }
}

.feat-card {
  background: #212121;
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity .8s cubic-bezier(0.22, 1, 0.36, 1),
              transform .8s cubic-bezier(0.22, 1, 0.36, 1);
  min-height: 380px;
}
@media (min-width: 1024px) { .feat-card { min-height: 0; height: 100%; } }
.feat-card.in { opacity: 1; transform: scale(1); }
.feat-card.in:nth-child(1) { transition-delay: 0s; }
.feat-card.in:nth-child(2) { transition-delay: 0.15s; }
.feat-card.in:nth-child(3) { transition-delay: 0.30s; }
.feat-card.in:nth-child(4) { transition-delay: 0.45s; }

/* Visual card (primeiro card — foto/colagem em vez de vídeo) */
.feat-card.visual {
  padding: 0;
  background: var(--nbi-blue);
}
.feat-card.visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.feat-card.visual .feat-visual-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.65) 100%);
}
.feat-card.visual .feat-visual-label {
  position: relative;
  margin-top: auto;
  padding: 24px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.15;
  color: var(--nbi-paper);
}
@media (min-width: 768px) { .feat-card.visual .feat-visual-label { font-size: 20px; padding: 28px; } }

/* Cards de feature numerados */
.feat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px;
  color: #111;
  margin-bottom: 24px;
  flex: none;
}
.feat-card.f-edu .feat-icon { background: var(--nbi-yellow); }
.feat-card.f-cid .feat-icon { background: var(--nbi-cyan); color: #fff; }
.feat-card.f-inc .feat-icon { background: var(--nbi-pink); color: #fff; }

.feat-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--nbi-paper);
  margin: 0 0 4px;
}
@media (min-width: 768px) { .feat-title { font-size: 20px; } }
.feat-num {
  font-size: 11px;
  font-weight: 500;
  color: rgba(254, 250, 240, 0.45);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.feat-list {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 12px;
  flex-grow: 1;
}
.feat-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; line-height: 1.4;
  color: rgba(254, 250, 240, 0.62);
}
.feat-list .check {
  flex: none;
  width: 16px; height: 16px;
  margin-top: 2px;
  color: var(--nbi-paper-warm);
}

.feat-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  color: var(--nbi-paper);
  text-decoration: none;
  transition: gap .25s ease;
}
.feat-link:hover { gap: 12px; }
.feat-link .arrow {
  display: inline-flex;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(254, 250, 240, 0.08);
  align-items: center; justify-content: center;
  transition: background .25s ease, transform .25s ease;
}
.feat-link:hover .arrow { background: rgba(254, 250, 240, 0.18); transform: rotate(8deg); }

/* ===================================================================
   V2 SHARED — Brand decoration + reusable head (linguagem unificada)
   =================================================================== */

/* Logo dentro da pílula do nav */
.hero-v2-nav-logo {
  display: inline-flex;
  align-items: center;
  margin-right: 4px;
  padding-right: 14px;
  border-right: 1px solid rgba(254, 250, 240, 0.18);
}
.hero-v2-nav-logo img {
  height: 22px;
  width: auto;
  display: block;
}
@media (min-width: 768px) { .hero-v2-nav-logo img { height: 24px; } }

/* Floating brand shapes — usadas em vários lugares */
.brand-deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 4;
}
.brand-deco img,
.brand-deco svg { width: 100%; height: 100%; display: block; }
.brand-deco.float-a { animation: brand-float 9s ease-in-out infinite; }
.brand-deco.float-b { animation: brand-float 11s ease-in-out infinite -3s; }
.brand-deco.float-c { animation: brand-float 13s ease-in-out infinite -6s; }
@keyframes brand-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-14px) rotate(5deg); }
}

/* Decorações específicas do hero */
.hero-v2 .brand-deco.h-sol {
  top: 10%; right: 6%;
  width: 90px; height: 90px;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.4));
}
.hero-v2 .brand-deco.h-vaso {
  bottom: 18%; left: 4%;
  width: 90px; height: 90px;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.5));
}
.hero-v2 .brand-deco.h-faixa {
  top: 18%; left: 12px;
  width: 60px; height: 60px;
  transform: rotate(-8deg);
  border-radius: 14px;
  background: var(--nbi-pink);
  box-shadow: 0 12px 32px rgba(233, 65, 153, 0.35);
}
.hero-v2 .brand-deco.h-faixa-2 {
  top: 28%; left: 32px;
  width: 40px; height: 40px;
  transform: rotate(-8deg);
  border-radius: 10px;
  background: var(--nbi-orange);
}
.hero-v2 .brand-deco.h-casa {
  bottom: 22%; right: 8%;
  width: 100px; height: 100px;
}
@media (max-width: 767px) {
  .hero-v2 .brand-deco.h-sol  { width: 60px; height: 60px; top: 12%; right: 4%; }
  .hero-v2 .brand-deco.h-vaso { width: 56px; height: 56px; bottom: 30%; left: 4%; }
  .hero-v2 .brand-deco.h-casa { width: 64px; height: 64px; bottom: 28%; right: 6%; }
  .hero-v2 .brand-deco.h-faixa  { width: 44px; height: 44px; top: 16%; left: 8px; }
  .hero-v2 .brand-deco.h-faixa-2 { width: 30px; height: 30px; top: 24%; left: 24px; }
}

/* "Wedge" brand-color row — 7 pontinhos / círculos das cores NBI */
.brand-dots {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
}
.brand-dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.brand-dots .d-blue   { background: var(--nbi-blue); }
.brand-dots .d-yellow { background: var(--nbi-yellow); }
.brand-dots .d-pink   { background: var(--nbi-pink); }
.brand-dots .d-green  { background: var(--nbi-green); }
.brand-dots .d-orange { background: var(--nbi-orange); }
.brand-dots .d-cyan   { background: var(--nbi-cyan); }
.brand-dots .d-red    { background: var(--nbi-red); }

/* ---------- Reusable BrandHead (centered, asterisk, italic-serif accent) ---------- */
.brand-head {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 56px;
}
.brand-head .kicker {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 18px;
}
.brand-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 34px;
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 0;
}
@media (min-width: 640px) { .brand-head h2 { font-size: 44px; } }
@media (min-width: 768px) { .brand-head h2 { font-size: 56px; } }
@media (min-width: 1024px) { .brand-head h2 { font-size: 68px; } }
.brand-head .seg-italic {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
}
.brand-head .lede {
  margin: 22px auto 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.78;
}
@media (min-width: 768px) { .brand-head .lede { font-size: 17px; } }
.brand-head .word { display: inline-block; overflow: hidden; vertical-align: top; margin-right: 0.22em; }
.brand-head .word-inner {
  display: inline-block;
  transform: translateY(105%); opacity: 0;
  transition: transform .9s cubic-bezier(0.16, 1, 0.3, 1),
              opacity .9s cubic-bezier(0.16, 1, 0.3, 1);
}
.brand-head.in .word-inner { transform: translateY(0); opacity: 1; }

.brand-head.on-light { color: var(--nbi-ink); }
.brand-head.on-light .kicker { color: var(--nbi-blue); }
.brand-head.on-light .seg-italic { color: var(--nbi-pink); }
.brand-head.on-light .lede { color: var(--nbi-ink-soft); }

.brand-head.on-dark { color: var(--nbi-paper); }
.brand-head.on-dark .kicker { color: var(--nbi-yellow); }
.brand-head.on-dark .seg-italic { color: var(--nbi-yellow); }
.brand-head.on-dark .lede { color: rgba(254, 250, 240, 0.7); }

/* Quando o brand-head fica dentro de uma sec.* legacy, restaura layout */
.sec .brand-head { margin-bottom: 56px; }

/* ---------- Decorações do About ---------- */
.about-v2 { position: relative; }
.about-v2 .brand-deco.a-sol {
  top: 60px; left: 8%;
  width: 70px; height: 70px;
}
.about-v2 .brand-deco.a-vaso {
  top: 45%; right: 6%;
  width: 70px; height: 70px;
}
.about-v2 .brand-deco.a-casa {
  bottom: 60px; right: 10%;
  width: 70px; height: 70px;
}
.about-v2 .brand-deco.a-poste {
  bottom: 100px; left: 5%;
  width: 70px; height: 70px;
}
@media (max-width: 900px) {
  .about-v2 .brand-deco { display: none; }
}

.about-v2-card {
  position: relative;
  z-index: 2;
}
.about-v2-card .brand-dots {
  margin-top: 36px;
}
.about-v2-card .brand-dots span { background: rgba(254, 250, 240, 0.4); }
.about-v2-card .brand-dots .d-yellow { background: var(--nbi-yellow); }
.about-v2-card .brand-dots .d-pink   { background: var(--nbi-pink); }
.about-v2-card .brand-dots .d-orange { background: var(--nbi-orange); }
.about-v2-card .brand-dots .d-green  { background: var(--nbi-green); }
.about-v2-card .brand-dots .d-cyan   { background: var(--nbi-cyan); }
.about-v2-card .brand-dots .d-red    { background: var(--nbi-red); }

/* ---------- Features: substituir números por imagens de marca ---------- */
.feat-icon-img {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  flex: none;
  position: relative;
  overflow: hidden;
}
.feat-icon-img img {
  width: 70%; height: 70%;
  object-fit: contain;
  position: relative; z-index: 1;
}
.feat-card.f-edu .feat-icon-img { background: var(--nbi-yellow); }
.feat-card.f-cid .feat-icon-img { background: var(--nbi-cyan); }
.feat-card.f-inc .feat-icon-img { background: var(--nbi-pink); }

/* Decorações do features */
.features-v2 .brand-deco.f-faixa {
  top: 12%; right: -40px;
  width: 200px; height: 28px;
  border-radius: 999px;
  background: var(--nbi-orange);
  transform: rotate(-12deg);
  opacity: 0.85;
}
.features-v2 .brand-deco.f-faixa-2 {
  top: 17%; right: -40px;
  width: 160px; height: 16px;
  border-radius: 999px;
  background: var(--nbi-pink);
  transform: rotate(-12deg);
}
@media (max-width: 900px) {
  .features-v2 .brand-deco.f-faixa,
  .features-v2 .brand-deco.f-faixa-2 { display: none; }
}

/* ===================================================================
   Acompanhamento das outras sections (Smart, ODS, Founder, etc.)
   Mantém o layout existente, só atualiza headers e adiciona ritmo.
   =================================================================== */

/* ODS — número + ícone no topo, label embaixo */
.ods-tile {
  padding: 14px 14px 14px 14px;
  overflow: visible !important; /* deixa o balão sair */
}
.ods-tile-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.ods-icon {
  width: 32px; height: 32px;
  flex: none;
  opacity: 0.92;
}
@media (min-width: 768px) {
  .ods-icon { width: 38px; height: 38px; }
}

/* O grid precisa permitir overflow pra o balão escapar */
.ods-grid { overflow: visible; }

/* Tile: pequena elevação no hover, sem balão flutuante */
.ods-tile {
  z-index: 1;
  transition: transform .35s cubic-bezier(.2, .9, .25, 1),
              box-shadow .35s ease;
}
.ods-tile:hover, .ods-tile:focus-visible {
  z-index: 50;
  transform: scale(1.06) translateY(-4px);
  box-shadow: 0 24px 40px -18px rgba(0,0,0,0.35);
}

/* Card descritivo — sai do centro do tile, escuro e refinado.
   Nota: começa em visibility:hidden pra navegador NÃO computar backdrop-filter
   nem layout em 17 elementos escondidos (era o gargalo de perf). */
.ods-tip {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 240px;
  max-width: calc(100vw - 48px);
  background: rgba(18, 18, 18, 0.96);
  color: var(--nbi-paper);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 18px 20px 20px;
  text-align: left;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 12px));
  transition: opacity .28s cubic-bezier(.2, .9, .25, 1),
              transform .35s cubic-bezier(.2, .9, .25, 1),
              visibility 0s linear .28s;
  z-index: 200;
  will-change: opacity, transform;
}
.ods-tile:hover .ods-tip,
.ods-tile:focus-visible .ods-tip {
  visibility: visible;
  transition: opacity .28s cubic-bezier(.2, .9, .25, 1),
              transform .35s cubic-bezier(.2, .9, .25, 1),
              visibility 0s linear 0s;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  background: rgba(18, 18, 18, 0.85);
}
.ods-tip-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.ods-tip-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  /* color setado inline pela cor do ODS */
}
.ods-tip-title {
  font-family: "Instrument Serif", "Archivo", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.05;
  color: var(--nbi-paper);
  letter-spacing: -0.01em;
}
.ods-tip-desc {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(254, 250, 240, 0.7);
  margin: 0;
}

.ods-tile:hover .ods-tip,
.ods-tile:focus-visible .ods-tip {
  opacity: 1;
  transform: translate(-50%, calc(-50% - 4px));
}

/* Como o tile está scaled, o card escala junto. Compensamos pra ele
   ficar do tamanho real previsto. */
.ods-tile:hover .ods-tip,
.ods-tile:focus-visible .ods-tip {
  transform: translate(-50%, calc(-50% - 4px)) scale(0.94);
}

/* Mobile: card menor */
@media (max-width: 640px) {
  .ods-tip {
    width: 200px;
    padding: 14px 16px 16px;
  }
  .ods-tip-title { font-size: 18px; }
  .ods-tip-desc { font-size: 12px; }
}

.ods-grid { overflow: visible; }

/* Smart cities — dá um upgrade nos cards */
.smart .smart-card { border-radius: 22px; padding: 26px; min-height: 240px; }
.smart .smart-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 22px; }

/* ODS — fundo creme quente continua, mas centraliza header */
.ods { padding-top: 100px; padding-bottom: 100px; }

/* Founder — card escuro com Sebastian saindo dos limites em 3D */
.founder { padding: 100px 16px 160px; }
@media (min-width: 768px) { .founder { padding: 140px 32px 200px; } }
.founder .container { max-width: 1100px; }
.founder-card {
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 32px;
  padding: 48px 28px;
  position: relative;
  overflow: visible; /* permite Sebastian sair */
}
@media (min-width: 768px) { .founder-card { padding: 72px 56px; border-radius: 40px; } }
.founder-card .founder-grid {
  gap: 40px;
  align-items: end;
  position: relative;
}

/* Photo container — Sebastian sai um pouco da esquerda mas com pés ancorados embaixo */
.founder-card .founder-photo {
  height: 560px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
@media (min-width: 768px) {
  .founder-card .founder-photo {
    height: 640px;
    margin-left: -32px;
  }
}

/* "Arco" amarelo de fundo */
.founder-card .founder-photo-bg {
  position: absolute;
  inset: 60px 8% 0 8%;
  border-radius: 220px 220px 32px 32px;
  background: var(--nbi-yellow);
  box-shadow:
    0 30px 60px -25px rgba(253, 196, 0, 0.4),
    0 50px 80px -40px rgba(0, 0, 0, 0.55);
}

/* Sebastian — grande, ancorado nos pés, com sombra 3D estática */
.founder-card .founder-photo img {
  position: relative;
  z-index: 2;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter:
    drop-shadow(0 18px 22px rgba(0, 0, 0, 0.4))
    drop-shadow(0 36px 50px rgba(0, 0, 0, 0.3));
}

/* Sombra "no chão" debaixo dos pés — estática, vende a presença 3D */
.founder-card .founder-photo::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 18%; right: 18%;
  height: 30px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 70%);
  filter: blur(10px);
  z-index: 1;
}

.founder-card .founder-text h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 60px);
  letter-spacing: -0.025em;
}
.founder-card .founder-text h2 .seg-italic {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  color: var(--nbi-yellow);
  font-weight: 400;
}

/* Projects — restyle: fundo escuro tipo features */
.projects {
  background: var(--nbi-ink);
  color: var(--nbi-paper);
  padding: 100px 16px;
}
@media (min-width: 768px) { .projects { padding: 140px 32px; } }
.projects .container { max-width: 1280px; }
.projects .projects-row { gap: 14px; }
.projects .project-card { border-radius: 24px; min-height: 460px; }
.projects .project-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 26px; }

/* News — cards mais arejados */
.news .news-card { border-radius: 24px; }
.news .news-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 22px; }

/* Contact — só o header centralizado */
.contact { padding: 100px 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.8,.2,1); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 35ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 70ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 105ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 140ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 175ms; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 210ms; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 245ms; }
.reveal-stagger.in > *:nth-child(n+9) { transition-delay: 280ms; }

/* Shape divider */
.divider-shapes { padding: 20px 0 0; overflow: hidden; }
.divider-shapes-row { display: flex; gap: 24px; align-items: center; justify-content: center; flex-wrap: wrap; }
.divider-shape { width: 44px; height: 44px; border-radius: 50%; }
.divider-shape.sq { border-radius: 8px; }

/* ---------- Founder / FIB tweaks ---------- */
.founder-text h2.founder-tagline {
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.3;
  margin: 0 0 20px;
  font-weight: 700;
  color: #fff;
  max-width: 520px;
}
.founder-text h2.founder-tagline .seg-italic {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--nbi-yellow);
}
.fib-block {
  margin-top: 18px;
  padding: 14px 18px;
  border-left: 3px solid var(--nbi-yellow);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 8px 8px 0;
}
.fib-block .fib-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--nbi-yellow);
  font-weight: 700;
  margin-bottom: 6px;
}
.fib-block p {
  margin: 0 !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.85) !important;
}
.founder-photo-caption {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  padding: 8px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.founder-photo-caption strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.founder-photo-caption span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--nbi-yellow);
  margin-top: 2px;
}
