:root {
  --bg: #020602;
  --bg-soft: #071007;
  --card: rgba(255,255,255,.055);
  --card-strong: rgba(255,255,255,.09);
  --text: #ffffff;
  --muted: rgba(255,255,255,.68);
  --line: rgba(49,234,61,.20);
  --green: #31ea3d;
  --green-2: #78ff82;
  --shadow: 0 35px 110px rgba(49,234,61,.16);
  --radius: 30px;
}

body.white-mode {
  --bg: #f6f8f2;
  --bg-soft: #ffffff;
  --card: rgba(7,37,4,.055);
  --card-strong: rgba(7,37,4,.09);
  --text: #071007;
  --muted: rgba(7,16,7,.66);
  --line: rgba(7,37,4,.14);
  --shadow: 0 35px 110px rgba(7,37,4,.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background .35s ease, color .35s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(circle at 15% 10%, rgba(49,234,61,.17), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(49,234,61,.09), transparent 28%),
    linear-gradient(180deg, var(--bg), var(--bg-soft));
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: .13;
  background-image: linear-gradient(rgba(49,234,61,.20) 1px, transparent 1px), linear-gradient(90deg, rgba(49,234,61,.16) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.cursor-light {
  position: fixed;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -2;
  background: radial-gradient(circle, rgba(49,234,61,.20), transparent 67%);
  transform: translate(-50%, -50%);
}

.orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(35px);
  opacity: .45;
  pointer-events: none;
  z-index: -2;
  animation: float 9s ease-in-out infinite;
}
.orb-one { width: 280px; height: 280px; left: -90px; top: 25%; background: rgba(49,234,61,.22); }
.orb-two { width: 360px; height: 360px; right: -120px; bottom: 5%; background: rgba(49,234,61,.16); animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-35px) scale(1.06); } }

a { color: inherit; text-decoration: none; }

.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px 12px 20px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(22px);
  border-radius: 999px;
  z-index: 20;
  box-shadow: 0 20px 80px rgba(0,0,0,.22);
}

.brand img { width: 72px; display: block; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { color: var(--muted); font-size: 13px; font-weight: 800; transition: .25s ease; }
.nav a:hover { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { padding: 14px 19px; border-radius: 999px; background: var(--green); color: #021401; font-weight: 900; font-size: 13px; }

.theme-toggle {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  height: 46px;
  min-width: 106px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px;
  cursor: pointer;
  font-weight: 900;
}
.toggle-ball { width: 24px; height: 24px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px rgba(49,234,61,.65); }
.menu-btn { display: none; border: 0; background: transparent; flex-direction: column; gap: 6px; }
.menu-btn span { width: 26px; height: 2px; background: var(--text); }

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 46px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 150px 0 70px;
}
.eyebrow, .section-head span, .lead-box span, .person-content span {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 12px;
  font-weight: 900;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 20px var(--green); }
.hero h1 {
  font-size: clamp(52px, 7.2vw, 104px);
  line-height: .88;
  letter-spacing: -.08em;
  max-width: 850px;
  font-weight: 950;
}
.hero p { color: var(--muted); font-size: 18px; line-height: 1.8; max-width: 640px; margin: 28px 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.btn { border: 1px solid var(--line); border-radius: 999px; padding: 18px 26px; font-weight: 950; cursor: pointer; font-size: 14px; transition: .25s ease; }
.btn.primary { background: var(--green); color: #021401; box-shadow: 0 20px 70px rgba(49,234,61,.25); border-color: transparent; }
.btn.ghost { background: var(--card); color: var(--text); }
.btn:hover { transform: translateY(-4px); }
.trust-row { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-row div { min-width: 150px; padding: 18px; border: 1px solid var(--line); background: var(--card); border-radius: 20px; }
.trust-row strong { display: block; color: var(--green); font-size: 26px; }
.trust-row span { color: var(--muted); font-size: 12px; font-weight: 700; }

.hero-visual { min-height: 560px; display: grid; place-items: center; }
.mind-panel { position: relative; width: min(460px, 100%); aspect-ratio: 1; border: 1px solid var(--line); background: linear-gradient(140deg, var(--card), transparent); border-radius: 42px; box-shadow: var(--shadow); overflow: hidden; }
.mind-panel::before { content: ""; position: absolute; inset: 12%; border: 1px solid var(--line); border-radius: 50%; animation: pulse 3s infinite; }
.mind-panel::after { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(49,234,61,.28), transparent 35%); animation: spin 7s linear infinite; }
.panel-top { position: absolute; top: 22px; left: 22px; right: 22px; z-index: 3; display: flex; justify-content: space-between; font-family: 'Readex Pro'; }
.panel-top span { font-weight: 800; }
.panel-top small { color: var(--green); font-weight: 900; }
.radar { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; }
.radar b { font-size: 90px; letter-spacing: -.12em; color: var(--text); }
.radar span { position: absolute; border: 1px solid var(--line); border-radius: 50%; animation: pulse 4s infinite; }
.radar span:nth-child(1){ width: 130px; height: 130px; }
.radar span:nth-child(2){ width: 220px; height: 220px; animation-delay: .5s; }
.radar span:nth-child(3){ width: 320px; height: 320px; animation-delay: 1s; }
.radar span:nth-child(4){ width: 410px; height: 410px; animation-delay: 1.5s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .35; transform: scale(1.06); } }
.floating-card { position: absolute; z-index: 4; padding: 14px 17px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 76%, transparent); backdrop-filter: blur(15px); border-radius: 18px; font-weight: 900; box-shadow: 0 16px 50px rgba(0,0,0,.22); animation: float 4s ease-in-out infinite; }
.card-a { left: -20px; top: 32%; }
.card-b { right: -35px; top: 55%; animation-delay: -1s; }
.card-c { left: 34%; bottom: -18px; animation-delay: -2s; }

.strip { width: min(1180px, calc(100% - 32px)); margin: 0 auto 70px; padding: 20px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; display: flex; justify-content: space-around; gap: 18px; flex-wrap: wrap; color: var(--muted); font-weight: 900; }
.strip span { color: var(--green); }

.section { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 86px 0; }
.section-head { max-width: 820px; margin-bottom: 36px; }
.section-head h2, .lead-box h2 { font-size: clamp(38px, 5vw, 76px); line-height: .95; letter-spacing: -.06em; margin: 14px 0 18px; }
.section-head p, .lead-box p { color: var(--muted); line-height: 1.8; font-size: 17px; }

.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.person-card { min-height: 450px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); display: grid; grid-template-columns: .9fr 1fr; box-shadow: var(--shadow); }
.tech-card { grid-template-columns: 1fr; }
.person-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.95); }
.tech-card img { height: 260px; object-position: center 34%; }
.person-content { padding: 34px; display: flex; flex-direction: column; justify-content: center; }
.person-content h3 { font-size: clamp(34px, 4vw, 58px); line-height: .98; letter-spacing: -.05em; margin: 16px 0; }
.person-content p { color: var(--muted); line-height: 1.8; font-weight: 600; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { min-height: 300px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: .25s ease; }
.service-card:hover { transform: translateY(-8px); background: var(--card-strong); box-shadow: var(--shadow); }
.service-card b { color: var(--green); font-size: 13px; letter-spacing: .2em; }
.service-card h3 { font-size: 25px; margin: 52px 0 16px; letter-spacing: -.04em; }
.service-card p { color: var(--muted); line-height: 1.7; }
.service-card.wide { grid-column: span 2; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.timeline div { padding: 34px; border-right: 1px solid var(--line); min-height: 280px; }
.timeline div:last-child { border-right: 0; }
.timeline strong { color: var(--green); }
.timeline h3 { margin: 58px 0 14px; font-size: 26px; }
.timeline p { color: var(--muted); line-height: 1.7; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); min-height: 310px; }
.testimonial span { color: var(--green); font-size: 68px; line-height: .6; }
.testimonial p { color: var(--muted); line-height: 1.75; margin: 18px 0 28px; }
.testimonial strong, .testimonial small { display: block; }
.testimonial small { color: var(--muted); margin-top: 6px; }

.lead-box { display: grid; grid-template-columns: .8fr 1fr; gap: 34px; align-items: center; border: 1px solid var(--line); background: linear-gradient(145deg, var(--card-strong), var(--card)); border-radius: 42px; padding: 42px; box-shadow: var(--shadow); }
form { display: grid; gap: 14px; }
input, .select-trigger { width: 100%; height: 60px; border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 18px; padding: 0 18px; font: 800 15px 'Montserrat'; outline: none; }
input::placeholder { color: var(--muted); }
.custom-select { position: relative; }
.select-trigger { text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.select-trigger::after { content: "⌄"; color: var(--green); font-size: 22px; }
.select-options { position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: none; z-index: 5; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 94%, black); border-radius: 18px; overflow: hidden; box-shadow: 0 22px 70px rgba(0,0,0,.28); }
.custom-select.open .select-options { display: block; }
.select-options button { width: 100%; text-align: left; border: 0; background: transparent; color: var(--text); padding: 16px 18px; font: 800 15px 'Montserrat'; cursor: pointer; }
.select-options button:hover { background: var(--green); color: #021401; }

.faq-list { display: grid; gap: 14px; }
details { border: 1px solid var(--line); border-radius: 22px; background: var(--card); padding: 0 22px; }
summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 950; display: flex; justify-content: space-between; }
summary::after { content: "+"; color: var(--green); }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); line-height: 1.7; padding: 0 0 24px; }

footer { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0 70px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-weight: 800; }
footer img { width: 70px; }

.reveal { opacity: 0; transform: translateY(34px); transition: .8s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .nav { display: none; position: absolute; top: 86px; left: 0; right: 0; padding: 18px; border: 1px solid var(--line); background: var(--bg); border-radius: 24px; flex-direction: column; }
  .nav.active { display: flex; }
  .menu-btn { display: flex; }
  .header-cta { display: none; }
  .hero, .about-grid, .lead-box { grid-template-columns: 1fr; }
  .hero-visual { min-height: 440px; }
  .service-grid, .testimonial-grid, .timeline { grid-template-columns: 1fr; }
  .service-card.wide { grid-column: auto; }
  .timeline div { border-right: 0; border-bottom: 1px solid var(--line); }
  .timeline div:last-child { border-bottom: 0; }
  .person-card { grid-template-columns: 1fr; }
  .founder-card img { height: 420px; }
}

@media (max-width: 560px) {
  .header { top: 12px; width: calc(100% - 20px); }
  .theme-toggle { min-width: 82px; }
  .theme-label { display: none; }
  .hero { padding-top: 130px; }
  .hero h1 { font-size: 54px; }
  .mind-panel { width: 100%; }
  .floating-card { display: none; }
  .lead-box, .person-content { padding: 24px; }
  footer { flex-direction: column; align-items: flex-start; }
}


/* ===== CORREÇÃO DO HERO VISUAL / MIND ENGINE ===== */
.hero-visual {
  min-height: 560px;
  width: 100%;
  overflow: hidden;
}

.mind-panel {
  width: min(520px, 100%);
  aspect-ratio: 1;
  padding: 28px;
  overflow: hidden;
  isolation: isolate;
}

.panel-top {
  z-index: 10;
}

.radar {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.radar::before {
  content: "";
  position: absolute;
  width: 64%;
  height: 64%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49,234,61,.20), rgba(49,234,61,.04) 45%, transparent 70%);
  filter: blur(2px);
  z-index: 1;
}

.radar-core {
  position: relative;
  z-index: 5;
  width: 156px;
  height: 156px;
  border-radius: 42px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.38);
  border: 1px solid rgba(49,234,61,.20);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.05),
    0 25px 80px rgba(0,0,0,.35),
    0 0 70px rgba(49,234,61,.22);
  backdrop-filter: blur(18px);
}

.radar-core img {
  width: 112px;
  max-width: 112px;
  height: auto;
  display: block;
  object-fit: contain;
}

.radar span {
  position: absolute;
  border: 1px solid rgba(49,234,61,.18);
  border-radius: 50%;
  z-index: 2;
  animation: pulse 4s infinite;
}

.radar span:nth-child(1){ width: 140px; height: 140px; }
.radar span:nth-child(2){ width: 240px; height: 240px; animation-delay: .5s; }
.radar span:nth-child(3){ width: 350px; height: 350px; animation-delay: 1s; }
.radar span:nth-child(4){ width: 470px; height: 470px; animation-delay: 1.5s; }

.floating-card {
  display: none;
}

.orbit-chip {
  position: absolute;
  z-index: 8;
  min-width: 150px;
  padding: 14px 16px;
  border-radius: 999px;
  border: 1px solid rgba(49,234,61,.24);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0,0,0,.28);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  animation: softFloat 4.5s ease-in-out infinite;
}

.orbit-chip small {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #021401;
  background: var(--green);
  font-weight: 950;
  font-size: 11px;
}

.orbit-chip strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 950;
}

.chip-a {
  left: 34px;
  top: 33%;
}

.chip-b {
  right: 28px;
  top: 54%;
  animation-delay: -1.2s;
}

.chip-c {
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  animation-delay: -2s;
}

@keyframes softFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@media (max-width: 980px) {
  .mind-panel {
    width: min(460px, 100%);
  }

  .radar-core {
    width: 132px;
    height: 132px;
    border-radius: 34px;
  }

  .radar-core img {
    width: 92px;
    max-width: 92px;
  }

  .orbit-chip {
    min-width: auto;
    padding: 12px 14px;
  }

  .orbit-chip strong {
    font-size: 13px;
  }

  .chip-a { left: 18px; }
  .chip-b { right: 18px; }
  .chip-c { bottom: 24px; }
}

@media (max-width: 560px) {
  .hero-visual {
    min-height: 380px;
  }

  .mind-panel {
    border-radius: 30px;
  }

  .radar-core {
    width: 116px;
    height: 116px;
    border-radius: 30px;
  }

  .radar-core img {
    width: 78px;
    max-width: 78px;
  }

  .orbit-chip {
    transform: scale(.86);
    transform-origin: center;
  }

  .chip-a {
    left: 8px;
    top: 31%;
  }

  .chip-b {
    right: 8px;
    top: 57%;
  }

  .chip-c {
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%) scale(.86);
  }
}

/* =========================================================
   FINAL - PARCEIROS COM PNG, EQUIPE INTERATIVA,
   RESPONSIVO, MENU PREMIUM E DARK/WHITE COM LOGO ESCURA
========================================================= */

body.dark-mode .toggle-ball {
  background: var(--green);
  box-shadow: 0 0 20px rgba(49,234,61,.85);
}

body.white-mode .toggle-ball {
  background: #071007;
  box-shadow: 0 0 0 4px rgba(7,16,7,.08);
}

body.white-mode .theme-toggle {
  background: rgba(7,37,4,.08);
  border-color: rgba(7,37,4,.18);
}

body.white-mode .theme-label {
  color: #071007;
}

body.white-mode .brand img,
body.white-mode footer img {
  filter: none;
}

/* Menu hambúrguer premium */
.menu-btn {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--card);
  cursor: pointer;
  transition: .25s ease;
}

.menu-btn span {
  transition: .25s ease;
  transform-origin: center;
}

.menu-btn.active span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-btn.active span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.menu-btn:hover {
  border-color: var(--green);
}

/* Parceiros */
.partners {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 70px;
  padding: 26px 0 20px;
  overflow: hidden;
}

.partners-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 20px;
}

.partners-head span {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 12px;
  font-weight: 950;
}

.partners-head p {
  color: var(--muted);
  font-weight: 700;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  padding: 16px 0;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: logoScroll 30s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.partner-logo {
  min-width: 220px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--card) 82%, transparent);
  transition: .35s ease;
}

.partner-logo img {
  max-width: 165px;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: .78;
  filter: grayscale(100%) brightness(.95);
  transition: .35s ease;
}

.partner-logo:hover {
  border-color: var(--green);
  background: rgba(49,234,61,.08);
  transform: translateY(-3px);
}

.partner-logo:hover img {
  opacity: 1;
  filter: none;
  transform: scale(1.05);
}

body.white-mode .partner-logo {
  background: rgba(7,37,4,.045);
}

body.white-mode .partner-logo img {
  filter: grayscale(100%) contrast(1.03);
  opacity: .72;
}

body.white-mode .partner-logo:hover img {
  filter: none;
  opacity: 1;
}

@keyframes logoScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Equipe interativa */
.about-grid,
.person-card,
.tech-card {
  display: none !important;
}

.team-switch {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  align-items: stretch;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--card-strong), var(--card));
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.team-photo {
  height: 430px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .35s ease;
}

.team-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-content > span {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 12px;
  font-weight: 950;
}

.team-content h3 {
  font-size: clamp(38px, 5vw, 72px);
  line-height: .92;
  letter-spacing: -.06em;
  margin: 14px 0 18px;
}

.team-content p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 17px;
  max-width: 680px;
  font-weight: 600;
}

.team-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.team-tab {
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  color: var(--text);
  padding: 18px;
  text-align: left;
  cursor: pointer;
  transition: .25s ease;
}

.team-tab strong,
.team-tab small {
  display: block;
}

.team-tab strong {
  font-size: 18px;
  font-weight: 950;
}

.team-tab small {
  color: var(--muted);
  margin-top: 6px;
  font-weight: 800;
}

.team-tab.active,
.team-tab:hover {
  background: var(--green);
  color: #021401;
  border-color: transparent;
  transform: translateY(-4px);
}

.team-tab.active small,
.team-tab:hover small {
  color: rgba(2,20,1,.70);
}

/* Responsivo tablet */
@media (max-width: 1180px) {
  .header { width: calc(100% - 28px); }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 140px;
    gap: 32px;
  }

  .hero-copy { max-width: 840px; }
  .hero-visual { min-height: 500px; }
  .mind-panel { width: min(520px, 100%); }

  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.wide { grid-column: span 2; }

  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline div:nth-child(2) { border-right: 0; }
  .timeline div:nth-child(1),
  .timeline div:nth-child(2) { border-bottom: 1px solid var(--line); }

  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid .testimonial:last-child { grid-column: span 2; }
}

@media (max-width: 980px) {
  .header {
    height: 68px;
    padding: 10px 10px 10px 16px;
  }

  .brand img { width: 64px; }

  .nav {
    top: 80px;
    padding: 12px;
    gap: 8px;
    background: color-mix(in srgb, var(--bg) 96%, black);
    box-shadow: 0 30px 90px rgba(0,0,0,.32);
  }

  .nav a {
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    background: var(--card);
    color: var(--text);
  }

  .nav a:hover {
    background: var(--green);
    color: #021401;
  }

  .menu-btn { display: flex; }
  .theme-toggle { min-width: 98px; }

  .partners-head { display: block; }
  .partners-head p { margin-top: 8px; }

  .team-switch { grid-template-columns: 1fr; }
  .team-photo { height: 360px; }
  .team-content { padding: 22px; }

  .lead-box { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 640px) {
  .header {
    top: 10px;
    width: calc(100% - 20px);
    gap: 8px;
  }

  .header-actions { gap: 6px; }

  .theme-toggle {
    min-width: 48px;
    width: 48px;
    justify-content: center;
    padding: 0;
  }

  .theme-label { display: none; }

  .toggle-ball {
    width: 23px;
    height: 23px;
  }

  .hero {
    width: calc(100% - 24px);
    padding-top: 126px;
    padding-bottom: 46px;
  }

  .eyebrow {
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: .14em;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 68px);
    letter-spacing: -.075em;
  }

  .hero p { font-size: 16px; }

  .hero-actions { display: grid; }
  .btn { width: 100%; text-align: center; }

  .trust-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-visual { min-height: 380px; }
  .mind-panel { width: 100%; border-radius: 28px; }
  .panel-top { font-size: 12px; }

  .orbit-chip { padding: 10px 11px; gap: 7px; }
  .orbit-chip small { width: 25px; height: 25px; font-size: 10px; }
  .orbit-chip strong { font-size: 12px; }

  .chip-a { left: 8px; top: 32%; }
  .chip-b { right: 8px; top: 56%; }
  .chip-c { bottom: 16px; }

  .strip {
    width: calc(100% - 24px);
    border-radius: 26px;
    justify-content: flex-start;
  }

  .partners,
  .section,
  footer {
    width: calc(100% - 24px);
  }

  .partner-logo {
    min-width: 150px;
    height: 64px;
    padding: 12px 16px;
  }

  .partner-logo img {
    max-width: 112px;
    max-height: 42px;
  }

  .section { padding: 66px 0; }

  .section-head h2,
  .lead-box h2 {
    font-size: clamp(36px, 12vw, 50px);
  }

  .team-switch {
    padding: 12px;
    border-radius: 24px;
  }

  .team-photo {
    height: 310px;
    border-radius: 18px;
  }

  .team-content h3 { font-size: 42px; }
  .team-tabs { grid-template-columns: 1fr; }

  .service-grid,
  .timeline,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .service-card.wide,
  .testimonial-grid .testimonial:last-child {
    grid-column: auto;
  }

  .timeline div,
  .timeline div:nth-child(1),
  .timeline div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline div:last-child { border-bottom: 0; }

  .lead-box {
    padding: 22px;
    border-radius: 26px;
  }

  .select-options {
    position: static;
    margin-top: 8px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
