/* ═══════════════════════════════════════════════════════
   ONVOID — Minimal Futurism
   ═══════════════════════════════════════════════════════ */

:root {
  --bg:       #020508;
  --surface:  #060D18;
  --text:     #E1E2E1;
  --text-dim: #6A7E92;
  --text-xdim:#55708A;
  --accent:   #4E8ACB;
  --accent-dim:rgba(20, 45, 85, 0.18);
  --border:   rgba(38, 55, 75, 0.2);
  --font:     'Inter', -apple-system, sans-serif;
  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background: var(--bg);
}

body {
  font-family: var(--font);
  background:
    radial-gradient(ellipse 80% 40% at 10% 8%, rgba(78,138,203,0.045) 0%, transparent 60%),
    radial-gradient(ellipse 50% 35% at 92% 25%, rgba(108,92,231,0.035) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 50% 55%, rgba(0,184,148,0.025) 0%, transparent 55%),
    radial-gradient(ellipse 55% 35% at 8% 80%, rgba(162,155,254,0.03) 0%, transparent 55%),
    radial-gradient(ellipse 50% 30% at 85% 75%, rgba(78,138,203,0.03) 0%, transparent 55%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, video, svg { max-width: 100%; height: auto; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--bg); }


/* ═══════════════════════════════════════════════════════
   AMBIENT ATMOSPHERE — depth, texture, visual richness
   ═══════════════════════════════════════════════════════ */

/* Faint dot grid — will-change promotes to GPU layer, avoids repaint cascade */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: radial-gradient(circle 1px, rgba(78,138,203,0.5) 0%, transparent 100%);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 75%);
  will-change: transform;
  contain: strict;
}

/* Vignette — darkens viewport edges, GPU-composited layer */
html::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: radial-gradient(ellipse 75% 70% at 50% 50%, transparent 55%, rgba(2,5,8,0.45) 100%);
  will-change: transform;
  contain: strict;
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}


/* ═══════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem clamp(2rem, 5vw, 5rem);
  background: linear-gradient(to bottom, rgba(2,5,8,0.85), transparent);
  transition: background 0.4s, backdrop-filter 0.4s;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 28px;
  width: auto;
  filter: invert(1);
  transition: opacity 0.3s var(--ease);
}

.nav-logo:hover .nav-logo-img {
  opacity: 0.7;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { width: 100%; }


.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 22px;
  z-index: 110;
}

.nav-burger span {
  display: block;
  height: 1px;
  background: var(--text);
  transition: all 0.3s var(--ease);
}

.nav-burger.open span:first-child { transform: rotate(45deg) translate(2.5px, 2.5px); }
.nav-burger.open span:last-child  { transform: rotate(-45deg) translate(2.5px, -2.5px); }

.mob-menu {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.mob-menu.open { opacity: 1; visibility: visible; }

.mob-menu a {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  transition: color 0.3s;
}

.mob-menu a:hover { color: var(--text); }


/* ═══════════════════════════════════════════════════════
   HERO — IMMERSIVE
   ═══════════════════════════════════════════════════════ */

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  contain: layout style;
  will-change: transform;
}

#simCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}

.hero-center {
  text-align: center;
}

.hero-tag {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeIn 1.5s var(--ease) 1.8s forwards;
  text-shadow: 0 0 20px rgba(78, 138, 203, 0.3);
}

.hero-title {
  margin-bottom: 2rem;
  line-height: 1;
}

.hero-logo-img {
  height: clamp(3rem, 10vw, 8rem);
  width: auto;
  filter: invert(1);
  opacity: 0;
  animation: fadeIn 1.5s var(--ease) 2.2s forwards;
}

.hero-logo-svg {
  height: clamp(3.5rem, 12vw, 10rem);
  width: auto;
  color: var(--text);
  opacity: 0;
  animation: fadeIn 1.5s var(--ease) 2.2s forwards;
}

.char-wrap {
  display: block;
  overflow: hidden;
}

.char-wrap span {
  display: inline-block;
  transform: translateY(120%) scale(0.8);
  opacity: 0;
  animation: charUp 1.2s var(--ease) forwards;
}

.hero-title .char-wrap span:nth-child(1) { animation-delay: 2.2s; }
.hero-title .char-wrap span:nth-child(2) { animation-delay: 2.3s; }
.hero-title .char-wrap span:nth-child(3) { animation-delay: 2.4s; }
.hero-title .char-wrap span:nth-child(4) { animation-delay: 2.5s; }
.hero-title .char-wrap span:nth-child(5) { animation-delay: 2.6s; }
.hero-title .char-wrap span:nth-child(6) { animation-delay: 2.7s; }

@keyframes charUp {
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.hero-sub {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  opacity: 0;
  animation: fadeIn 2s var(--ease) 3.2s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Hero — dual CTA buttons */
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
  opacity: 0;
  animation: fadeIn 2s var(--ease) 3.6s forwards;
  pointer-events: auto;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.4s var(--ease);
}

.hero-btn--primary {
  background: #25D366;
  color: #fff;
}

.hero-btn--primary svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hero-btn--primary:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3);
}

.hero-btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.hero-btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Hero — inline metrics */
.hero-metrics {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
  pointer-events: auto;
  opacity: 0;
  animation: fadeIn 2s var(--ease) 4s forwards;
}

.hero-metric {
  text-align: center;
}

.hero-metric-value {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 200;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-metric-suffix {
  font-size: 0.6em;
  color: var(--accent);
}

.hero-metric-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* Hero footer */
.hero-foot {
  position: absolute;
  bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.3rem;
  border-radius: 50px;
  background: #25D366;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.hero-whatsapp svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hero-whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3);
}


/* ═══════════════════════════════════════════════════════
   PAGE HEADER (inner pages)
   ═══════════════════════════════════════════════════════ */

.page-header {
  padding-top: clamp(8rem, 16vw, 14rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(400px, 50vw, 800px);
  height: clamp(300px, 40vw, 600px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78,138,203,0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}

.page-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 700px;
}

.page-desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 550px;
  margin-top: 1.5rem;
}

.page-header--center .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.page-header--center .page-title {
  margin-left: auto;
  margin-right: auto;
}
.page-header--center .page-desc {
  margin-left: auto;
  margin-right: auto;
}


/* ═══════════════════════════════════════════════════════
   STATEMENT
   ═══════════════════════════════════════════════════════ */

.statement {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.statement-text {
  font-size: clamp(1.25rem, 3vw, 2.25rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 800px;
}

.statement-sub {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 600px;
  margin-top: 1.5rem;
}


/* ═══════════════════════════════════════════════════════
   FEATURES GRID — service cards
   ═══════════════════════════════════════════════════════ */

/* ── Service Showcase — full-width list rows ── */
.svc-showcase {
  display: flex;
  flex-direction: column;
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--border);
}

.svc-item {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: clamp(1.2rem, 2.5vw, 1.8rem) 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  text-decoration: none;
  color: inherit;
}

/* GPU-only: scaleX instead of width (no layout thrashing) */
.svc-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
}

.svc-item--ia::before { background: linear-gradient(90deg, rgba(162,155,254,0.08) 0%, transparent 100%); }
.svc-item--sw::before { background: linear-gradient(90deg, rgba(85,239,196,0.08) 0%, transparent 100%); }
.svc-item--dt::before { background: linear-gradient(90deg, rgba(225,112,85,0.08) 0%, transparent 100%); }
.svc-item--hw::before { background: linear-gradient(90deg, rgba(116,185,255,0.08) 0%, transparent 100%); }
.svc-item--ux::before { background: linear-gradient(90deg, rgba(253,203,110,0.08) 0%, transparent 100%); }
.svc-item--st::before { background: linear-gradient(90deg, rgba(0,184,148,0.08) 0%, transparent 100%); }

.svc-item:hover::before {
  transform: scaleX(1);
  opacity: 1;
}

.svc-num {
  font-size: clamp(0.65rem, 1vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-xdim);
  min-width: 2rem;
  transition: color 0.3s var(--ease);
}

.svc-ico {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  will-change: transform;
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.svc-item--ia .svc-ico { color: #A29BFE; }
.svc-item--sw .svc-ico { color: #55EFC4; }
.svc-item--dt .svc-ico { color: #FAB1A0; }
.svc-item--hw .svc-ico { color: #74B9FF; }
.svc-item--ux .svc-ico { color: #FDCB6E; }
.svc-item--st .svc-ico { color: #00B894; }

.svc-info {
  flex: 1;
  min-width: 0;
}

.svc-name {
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.3rem;
}

/* Text always in DOM flow — just fades via opacity (no max-height layout thrash) */
.svc-text {
  font-size: clamp(0.72rem, 1.1vw, 0.82rem);
  font-weight: 300;
  color: var(--text-xdim);
  line-height: 1.6;
  margin-top: 0.3rem;
}

.svc-arrow {
  font-size: 1rem;
  color: var(--text-xdim);
  opacity: 0;
  transform: translateX(-8px);
  will-change: transform, opacity;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  flex-shrink: 0;
}

/* Hover — GPU-only props: transform + opacity */
.svc-item:hover .svc-ico {
  transform: scale(1.15);
}

.svc-item:hover .svc-arrow {
  opacity: 1;
  transform: translateX(0);
}

.svc-item--ia:hover .svc-num { color: #A29BFE; }
.svc-item--sw:hover .svc-num { color: #55EFC4; }
.svc-item--dt:hover .svc-num { color: #FAB1A0; }
.svc-item--hw:hover .svc-num { color: #74B9FF; }
.svc-item--ux:hover .svc-num { color: #FDCB6E; }
.svc-item--st:hover .svc-num { color: #00B894; }

.svc-item--ia:hover .svc-arrow { color: #A29BFE; }
.svc-item--sw:hover .svc-arrow { color: #55EFC4; }
.svc-item--dt:hover .svc-arrow { color: #FAB1A0; }
.svc-item--hw:hover .svc-arrow { color: #74B9FF; }
.svc-item--ux:hover .svc-arrow { color: #FDCB6E; }
.svc-item--st:hover .svc-arrow { color: #00B894; }


/* ── Site Previews — category summaries ── */
.site-previews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.site-pv {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-pv::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(162,155,254,0.6));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.site-pv:hover {
  border-color: rgba(78, 138, 203, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.site-pv:hover::before {
  opacity: 1;
}

.site-pv-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.site-pv-ico {
  font-size: 0.9rem;
  color: var(--accent);
}

.site-pv-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.site-pv-title {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.site-pv-desc {
  font-size: clamp(0.75rem, 1.2vw, 0.85rem);
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.6;
}

.site-pv-link {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
  transition: gap 0.4s var(--ease);
}

.site-pv-link i {
  font-size: 0.65rem;
  transition: transform 0.4s var(--ease);
}

.site-pv:hover .site-pv-link i {
  transform: translateX(4px);
}


/* ═══════════════════════════════════════════════════════
   CINEMA PANELS — cinematic service showcase
   ═══════════════════════════════════════════════════════ */

.cinema-panels {
  display: flex;
  flex-direction: column;
  gap: clamp(0.8rem, 1.5vw, 1.2rem);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}

.cinema-panel {
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  width: 100%;
  min-height: clamp(260px, 38vh, 380px);
  background: #000;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
}

/* Media — full bleed background */
.cinema-panel-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cinema-panel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(0.7);
  transition: transform 1.8s var(--ease), filter 1.8s var(--ease);
  will-change: transform;
}

.cinema-panel:hover .cinema-panel-img {
  transform: scale(1.06);
  filter: brightness(0.3) saturate(1);
}

/* Directional gradient — odd panels: text on left */
.cinema-panel-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2,5,8,0.88) 0%, rgba(2,5,8,0.55) 40%, transparent 70%);
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}

/* Even panels: gradient from right */
.cinema-panel:nth-child(even) .cinema-panel-grad {
  background: linear-gradient(270deg, rgba(2,5,8,0.88) 0%, rgba(2,5,8,0.55) 40%, transparent 70%);
}


/* Content — positioned on alternating sides */
.cinema-panel-body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 480px;
  z-index: 2;
}

/* Odd panels: text left */
.cinema-panel:nth-child(odd) .cinema-panel-body {
  margin-right: auto;
}

/* Even panels: text right */
.cinema-panel:nth-child(even) .cinema-panel-body {
  margin-left: auto;
  text-align: right;
}

.cinema-panel:nth-child(even) .cinema-panel-body::before {
  margin-left: auto;
}

.cinema-panel:nth-child(even) .cinema-panel-cta {
  justify-content: flex-end;
}

/* Decorative accent line */
.cinema-panel-body::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 1.5rem;
  transition: width 0.8s var(--ease);
}

.cinema-panel:hover .cinema-panel-body::before {
  width: 64px;
}


.cinema-panel-body h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
  line-height: 1.15;
}

.cinema-panel-body p {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.cinema-panel-cta {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.5s var(--ease);
}

.cinema-panel-cta .arrow {
  transition: transform 0.5s var(--ease);
}

.cinema-panel:hover .cinema-panel-cta {
  gap: 0.9rem;
}

.cinema-panel:hover .cinema-panel-cta .arrow {
  transform: translateX(4px);
}


/* ═══════════════════════════════════════════════════════
   PORTFOLIO BENTO — asymmetric grid
   ═══════════════════════════════════════════════════════ */

.portfolio-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 240px 240px;
  grid-template-areas:
    "a a b c"
    "d e e f"
    "g h i i";
  gap: 6px;
}

.pf-a { grid-area: a; }
.pf-b { grid-area: b; }
.pf-c { grid-area: c; }
.pf-d { grid-area: d; }
.pf-e { grid-area: e; }
.pf-f { grid-area: f; }
.pf-g { grid-area: g; }
.pf-h { grid-area: h; }
.pf-i { grid-area: i; }

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 8px;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.75);
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
}

.portfolio-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.22) saturate(1);
}

/* Accent line — top border reveal */
.portfolio-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  z-index: 3;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.portfolio-item:hover::before {
  transform: scaleX(1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.2rem, 2.5vw, 2rem);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  z-index: 2;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-cat {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.portfolio-overlay h3 {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.portfolio-overlay p {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.6;
  margin-top: 0.5rem;
}


/* ═══════════════════════════════════════════════════════
   WHY — Flowing List (Home)
   ═══════════════════════════════════════════════════════ */

.why-flow {
  position: relative;
}

.why-row {
  display: flex;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.4s var(--ease);
  position: relative;
}

.why-row:first-child {
  border-top: 1px solid var(--border);
}

.why-row:hover {
  padding-left: 0.8rem;
}

.why-num {
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.18em;
  flex-shrink: 0;
  padding-top: 0.2rem;
  min-width: 3rem;
  font-family: 'Inter', monospace;
  transition: color 0.4s var(--ease);
}

.why-row:hover .why-num {
  color: var(--text);
}

.why-body h3 {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.why-body p {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 520px;
}


/* ═══════════════════════════════════════════════════════
   VOID BANNER — Video Background
   ═══════════════════════════════════════════════════════ */

.void-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92vh;
  padding: clamp(6rem, 12vw, 10rem) 0;
}

.void-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.void-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.16,1,0.3,1);
  will-change: opacity;
  background: #02050a;
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: paint;
}

.void-video.active {
  opacity: 1;
}

.void-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      var(--bg, #020508) 0%,
      rgba(2,5,8,0.7) 12%,
      rgba(2,5,8,0.45) 30%,
      rgba(2,5,8,0.45) 70%,
      rgba(2,5,8,0.7) 88%,
      var(--bg, #020508) 100%
    );
}


.void-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.void-content .sec-label {
  border-bottom: none;
  margin-bottom: 1.5rem;
  padding-bottom: 0;
  color: rgba(255,255,255,0.85);
  background-image: none;
}

.void-content .why-title {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #fff;
}

.void-content .sec-subtitle {
  max-width: 100%;
  margin: 0 auto;
  color: rgba(255,255,255,0.7);
}


/* ═══════════════════════════════════════════════════════
   METRICS
   ═══════════════════════════════════════════════════════ */

.metrics {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.metric {
  padding: 1.5rem 0;
}

.metric-value {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 200;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.metric-suffix {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 200;
  color: var(--accent);
}

.metric-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}


/* ═══════════════════════════════════════════════════════
   SECTIONS — SHARED
   ═══════════════════════════════════════════════════════ */

.sec {
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}

.sec + .sec {
  padding-top: clamp(4rem, 8vw, 6rem);
}

/* Alternating ambient glows on sections */
.sec:nth-of-type(odd)::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -10%;
  width: clamp(300px, 40vw, 600px);
  height: clamp(300px, 40vw, 600px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78,138,203,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.sec:nth-of-type(even)::before {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: clamp(250px, 35vw, 500px);
  height: clamp(250px, 35vw, 500px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,92,231,0.035) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.sec-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-xdim);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  padding-bottom: 0.75rem;
  border-bottom: none;
  background-image: linear-gradient(to right, rgba(78,138,203,0.25), rgba(108,92,231,0.15), transparent);
  background-size: 100% 1px;
  background-position: bottom;
  background-repeat: no-repeat;
}

.why-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 200;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: -1.5rem;
  margin-bottom: 1.5rem;
}

.sec-subtitle {
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: clamp(3rem, 6vw, 4rem);
}


/* ═══════════════════════════════════════════════════════
   DIVISIONS — 4 cápsulas em grid 2x2
   ═══════════════════════════════════════════════════════ */

.divisions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
  margin-top: 0;
}

.page-header + .sec:has(.divisions-grid) {
  padding-top: clamp(1rem, 2vw, 1.5rem);
}

.page-header:has(+ .sec .divisions-grid) {
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.division-capsule {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(1.85rem, 3vw, 2.75rem);
  background: linear-gradient(180deg, #05090f 0%, #02050a 100%);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease), background 0.5s var(--ease);
}

/* 3D stage — Three.js canvas occupying top of card */
.capsule-stage {
  position: relative;
  width: calc(100% + clamp(3.7rem, 6vw, 5.5rem));
  margin: calc(-1 * clamp(1.85rem, 3vw, 2.75rem)) calc(-1 * clamp(1.85rem, 3vw, 2.75rem)) 0.75rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 70% at 50% 55%, #06121f 0%, #02050a 75%);
}

.capsule-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.18) blur(20px);
  transform: scale(1.15);
  z-index: 0;
  pointer-events: none;
  transition: filter 0.8s var(--ease);
}

.division-capsule:hover .capsule-bg {
  filter: brightness(0.25) blur(16px);
}

.capsule-3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

.capsule-stage-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(2,5,8,0) 0%, rgba(2,5,8,0) 55%, rgba(5,9,15,0.85) 100%),
    radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(2,5,8,0.2) 100%);
  pointer-events: none;
}

.division-capsule::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 60% at 50% 0%, rgba(78,138,203,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  z-index: -1;
  pointer-events: none;
}

.division-capsule::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: width 0.9s var(--ease);
  z-index: 1;
}

.division-capsule:hover {
  border-color: rgba(78, 138, 203, 0.35);
  transform: translateY(-6px);
  background: linear-gradient(180deg, #060a10 0%, #030709 100%);
}

.division-capsule:hover::before {
  opacity: 1;
}

.division-capsule:hover::after {
  width: 100%;
}

.capsule-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.25rem;
}

.capsule-num {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.3em;
}

.capsule-kind {
  font-size: 0.58rem;
  font-weight: 500;
  color: var(--text-xdim);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.capsule-title {
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0.25rem 0 0;
  line-height: 1.05;
  transition: transform 0.5s var(--ease);
}

.division-capsule:hover .capsule-title {
  transform: translateX(4px);
}

.capsule-subtitle {
  font-size: 0.85rem;
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  margin: 0 0 0.65rem;
  opacity: 0.85;
}

.capsule-desc {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.7;
  color: #9AB0C4;
  margin: 0 0 0.5rem;
}

.capsule-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
}

.capsule-stack li {
  font-size: 0.65rem;
  font-weight: 400;
  color: #8FA3B8;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease), background 0.4s var(--ease);
}

.division-capsule:hover .capsule-stack li {
  border-color: rgba(78, 138, 203, 0.3);
  color: var(--text);
  background: rgba(78, 138, 203, 0.05);
}

.capsule-deliverables {
  list-style: none;
  padding: 1.25rem 0 0;
  margin: 0 0 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: border-top-color 0.5s var(--ease);
}

.division-capsule:hover .capsule-deliverables {
  border-top-color: rgba(78, 138, 203, 0.25);
}

.capsule-deliverables li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.5;
  color: #9AB0C4;
  transition: color 0.4s var(--ease);
}

.capsule-deliverables li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 1px;
  background: var(--accent);
  opacity: 0.45;
  transition: opacity 0.4s var(--ease), width 0.4s var(--ease);
}

.division-capsule:hover .capsule-deliverables li {
  color: var(--text);
}

.division-capsule:hover .capsule-deliverables li::before {
  opacity: 1;
  width: 14px;
}

.capsule-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  transition: color 0.4s var(--ease), border-top-color 0.4s var(--ease), letter-spacing 0.4s var(--ease);
}

.capsule-cta .arrow {
  display: inline-block;
  transition: transform 0.4s var(--ease);
  font-size: 0.9rem;
}

.division-capsule:hover .capsule-cta {
  color: var(--accent);
  border-top-color: rgba(78, 138, 203, 0.35);
  letter-spacing: 0.24em;
}

.division-capsule:hover .capsule-cta .arrow {
  transform: translateX(8px);
}

@media (max-width: 900px) {
  .divisions-grid { grid-template-columns: 1fr; }
  .division-capsule { border-radius: 20px; }
}


/* ═══════════════════════════════════════════════════════
   DIVISION SHOWCASE (full-screen sections) — legacy, kept for compat
   ═══════════════════════════════════════════════════════ */

.div-showcase {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Fade edges — smooth transitions between sections */
.div-showcase::before,
.div-showcase::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 120px;
  z-index: 1;
  pointer-events: none;
}

.div-showcase::before {
  top: 0;
  background: linear-gradient(to bottom, #020508, transparent);
}

.div-showcase::after {
  bottom: 0;
  background: linear-gradient(to top, #020508, transparent);
}

/* First showcase connects to page header */
.div-showcase:first-of-type::before {
  background: linear-gradient(to bottom, var(--bg), #020508);
  height: 160px;
}

.div-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.div-showcase-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(6rem, 12vw, 10rem) 0;
}

.div-showcase-num {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.div-showcase-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.div-showcase-desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.div-showcase .div-tags {
  margin-bottom: 1.5rem;
}

.div-showcase .div-deliverables {
  margin-bottom: 2.5rem;
}

.div-showcase .cta-btn {
  pointer-events: auto;
}


/* ═══════════════════════════════════════════════════════
   DIVISIONS (legacy list style)
   ═══════════════════════════════════════════════════════ */

.div-intro {
  max-width: 600px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.div-intro p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-dim);
}

.div-list {
  display: flex;
  flex-direction: column;
}

.div-item {
  display: grid;
  grid-template-columns: 40px 1fr 30px;
  gap: 2rem;
  align-items: start;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.5s var(--ease);
  scroll-margin-top: 6rem;
}

.div-item:first-child {
  border-top: 1px solid var(--border);
}

.div-item:hover {
  padding-left: 1rem;
}

.div-num {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-xdim);
  padding-top: 0.2rem;
  transition: color 0.4s var(--ease);
}

.div-body h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.div-body p {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.div-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.div-tags span {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  border: 1px solid rgba(78, 138, 203, 0.1);
}

/* Deliverables list */
.div-deliverables {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.div-deliverables li {
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--text-dim);
  padding-left: 1rem;
  position: relative;
}

.div-deliverables li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  opacity: 0.5;
}

.div-arrow {
  font-size: 1rem;
  color: var(--text-xdim);
  padding-top: 0.15rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.4s var(--ease);
}

.div-item:hover .div-arrow {
  opacity: 1;
  transform: translateX(0);
}

.div-item:hover .div-num {
  color: var(--accent);
}


/* ═══════════════════════════════════════════════════════
   PROCESS (with timeline)
   ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   MIND MAP — SVG network visualization
   ═══════════════════════════════════════════════════════ */

.mindmap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  overflow: hidden;
}

.mindmap-svg {
  width: 100%;
  height: auto;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

/* Main curved branches */
.mm-branch {
  stroke: rgba(78, 138, 203, 0.55);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  transition: stroke-dashoffset 1.8s var(--ease);
  filter: drop-shadow(0 0 6px rgba(78, 138, 203, 0.25));
}

.mindmap.vis .mm-branch {
  stroke-dashoffset: 0;
}

/* Sub-branch twigs */
.mm-twig {
  stroke: rgba(78, 138, 203, 0.35);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1.2s var(--ease) 0.6s;
}

.mindmap.vis .mm-twig {
  stroke-dashoffset: 0;
}

/* Flow dot — travels along each branch to show sequence */
.mm-flow {
  fill: var(--accent);
  filter: drop-shadow(0 0 8px rgba(78, 138, 203, 0.9));
  opacity: 0;
  transition: opacity 0.8s var(--ease) 1.8s;
}

.mindmap.vis .mm-flow {
  opacity: 1;
}

/* Hub — central circle */
.mm-hub-glow {
  fill: rgba(78, 138, 203, 0.08);
  animation: mmPulse 3.5s ease-in-out infinite;
}

@keyframes mmPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.15); }
}

.mm-hub-glow {
  transform-origin: 700px 300px;
  transform-box: fill-box;
}

.mm-hub-circle {
  fill: var(--surface);
  stroke: rgba(78, 138, 203, 0.55);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 12px rgba(78, 138, 203, 0.3));
}

/* Node background rects */
.mm-node-bg {
  fill: rgba(78, 138, 203, 0.1);
  stroke: rgba(78, 138, 203, 0.35);
  stroke-width: 1;
  transition: fill 0.4s var(--ease), stroke 0.4s var(--ease);
}

.mm-node-group:hover .mm-node-bg {
  fill: rgba(78, 138, 203, 0.22);
  stroke: rgba(78, 138, 203, 0.7);
}

.mm-node-group {
  cursor: default;
}

/* Junction & leaf dots */
.mm-leaf-dot {
  fill: rgba(78, 138, 203, 0.55);
  animation: mmLeafPulse 4s ease-in-out infinite;
}

.mm-leaf-dot:nth-child(even) { animation-delay: 1s; }
.mm-leaf-dot:nth-child(3n) { animation-delay: 2s; }

@keyframes mmLeafPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* Text styles */
.mm-hub-title {
  fill: var(--text);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mm-hub-sub {
  fill: var(--accent);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
}

.mm-node-label {
  fill: var(--text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.mm-node-num {
  fill: var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  opacity: 0.85;
}

.mm-time-label {
  fill: var(--accent);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.05em;
  opacity: 0.6;
}

.mm-leaf-text {
  fill: var(--text-dim);
  font-size: 11px;
  font-weight: 300;
  opacity: 0;
  transition: opacity 0.6s var(--ease) 1.2s, fill 0.3s var(--ease);
}

.mindmap.vis .mm-leaf-text {
  opacity: 1;
}

.mm-node-group:hover ~ .mm-leaf-text,
.mm-node-group:hover .mm-leaf-text {
  fill: var(--text);
}

/* Mobile fallback */
.mindmap-mobile {
  display: none;
}

.mmf-item {
  padding: 1.5rem;
  border-left: 2px solid var(--border);
  position: relative;
  transition: border-color 0.4s var(--ease);
}

.mmf-item:hover {
  border-left-color: var(--accent);
}

.mmf-item + .mmf-item {
  margin-top: 0.5rem;
}

.mmf-num {
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.6rem;
  opacity: 0.5;
}

.mmf-item h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.mmf-item ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.8rem 0;
}

.mmf-item li {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.6;
  padding-left: 1rem;
  position: relative;
}

.mmf-item li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 1px;
  background: var(--border);
}

.mmf-time {
  font-size: 0.55rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
  opacity: 0.5;
}


/* ═══════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════ */

.about-hero {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.about-headline {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.about-main {
  max-width: 700px;
}

.about-text {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.about-text-dim {
  margin-top: 1.5rem;
  color: var(--text-dim);
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.val {
  position: relative;
  padding-left: 1rem;
  border-left: 1px solid var(--border);
  transition: border-color 0.4s var(--ease);
}

.val:hover {
  border-left-color: var(--accent);
}

.val-num {
  font-size: 0.55rem;
  color: var(--text-xdim);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.4s var(--ease);
}

.val:hover .val-num {
  color: var(--accent);
}

.val h4 {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.val p {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.5;
}


/* ═══════════════════════════════════════════════════════
   MILESTONES
   ═══════════════════════════════════════════════════════ */

.milestones {
  display: flex;
  flex-direction: column;
}

.milestone {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.4s var(--ease);
}

.milestone:first-child {
  border-top: 1px solid var(--border);
}

.milestone:hover {
  padding-left: 0.5rem;
}

.milestone-year {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 200;
  color: var(--accent);
  opacity: 0.5;
  transition: opacity 0.4s var(--ease);
}

.milestone:hover .milestone-year {
  opacity: 1;
}

.milestone-content h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.milestone-content p {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.55;
}




/* QUOTE */
.quote {
  padding: clamp(3rem, 6vw, 4rem) 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.quote:last-of-type {
  padding-bottom: clamp(6rem, 12vw, 10rem);
}

.quote blockquote {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 300;
  line-height: 1.6;
  font-style: normal;
  max-width: 650px;
  margin: 0 auto 1.5rem;
}

.quote cite {
  font-size: 0.7rem;
  font-weight: 400;
  font-style: normal;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}


/* ═══════════════════════════════════════════════════════
   CALENDÁRIO DISPONIBILIDADE
   ═══════════════════════════════════════════════════════ */

.cal-wrap {
  max-width: 720px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  background: #ffffff;
  border: none;
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 2.8rem);
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.25);
}

.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cal-month {
  font-weight: 700;
  font-size: 1.25rem;
  color: #1a1a1a;
  text-transform: capitalize;
  letter-spacing: -0.01em;
}

.cal-nav {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 50%;
  color: #666;
  cursor: pointer;
  font-size: 0.8rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cal-nav:hover {
  background: #DC3545;
  border-color: #DC3545;
  color: #fff;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.72rem;
  color: #999;
  font-weight: 600;
  padding: 0.75rem 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 0.5rem;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-day {
  aspect-ratio: 1;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #555;
  background: transparent;
  cursor: default;
  border: none;
  padding: 0;
  font-family: var(--font);
  font-weight: 400;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.cal-day--today {
  color: #DC3545;
  font-weight: 700;
  background: rgba(220, 53, 69, 0.08);
}

.cal-day--event {
  background: rgba(220, 53, 69, 0.1);
  color: #333;
  cursor: pointer;
  font-weight: 500;
}
.cal-day--event:hover {
  background: rgba(220, 53, 69, 0.2);
  transform: scale(1.08);
}

.cal-day--selected {
  background: #DC3545 !important;
  color: #fff !important;
  font-weight: 600;
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(220, 53, 69, 0.35);
}

.cal-events {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f0f0f0;
  display: none;
}
.cal-events.active {
  display: block;
}

.cal-event-item {
  padding: 0.7rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.cal-event-item + .cal-event-item {
  border-top: 1px solid #f0f0f0;
}

.cal-event-time {
  font-size: 0.78rem;
  color: #DC3545;
  font-weight: 600;
  white-space: nowrap;
  min-width: 55px;
}

.cal-event-title {
  font-size: 0.88rem;
  color: #333;
}

.cal-no-events {
  font-size: 0.82rem;
  color: #aaa;
  text-align: center;
  padding: 0.5rem 0;
}

.cal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f0f0f0;
}

.cal-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.cal-btn:hover {
  transform: translateY(-2px);
}

.cal-btn--primary {
  background: #DC3545;
  color: #fff;
  border: none;
}
.cal-btn--primary:hover {
  background: #c82333;
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.35);
}

.cal-btn--secondary {
  background: transparent;
  color: #555;
  border: 1px solid #e0e0e0;
}
.cal-btn--secondary:hover {
  border-color: #ccc;
  background: #fafafa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}


/* ═══════════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════════ */

.cta {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(400px, 50vw, 700px);
  height: clamp(300px, 35vw, 500px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78,138,203,0.05) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.cta.cta-hero {
  padding-top: clamp(10rem, 18vw, 16rem);
  background: transparent;
  border: none;
}

.cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.cta-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.cta-btn {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 0.9rem 2.5rem;
  border-radius: 2px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.cta-btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.cta-btn:hover {
  box-shadow: 0 0 30px rgba(78, 138, 203, 0.2);
}

/* Ensure text is above ::before */
.cta-btn {
  position: relative;
  z-index: 0;
}

.cta-btn::before {
  z-index: -1;
}


/* ═══════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(6rem, 12vw, 10rem);
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.contact-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 380px;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.c-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.4s var(--ease);
}

.c-row:first-child {
  border-top: 1px solid var(--border);
}

a.c-row:hover {
  padding-left: 0.5rem;
}

.c-label {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-xdim);
}

.c-value {
  font-size: 0.85rem;
  font-weight: 400;
}

.c-socials {
  display: flex;
  gap: 1.25rem;
}

.c-socials a {
  font-size: 0.8rem;
  color: var(--text-dim);
  transition: color 0.3s;
  position: relative;
}

.c-socials a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.c-socials a:hover { color: var(--accent); }
.c-socials a:hover::after { width: 100%; }


/* ═══════════════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════════════ */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 0;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  outline: none;
  transition: border-color 0.4s var(--ease);
  border-radius: 0;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-bottom-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-xdim);
  opacity: 1;
}

.form-group select {
  color: var(--text-xdim);
  cursor: pointer;
}

.form-group select option {
  background: var(--surface);
  color: var(--text);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-feedback {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--accent);
  min-height: 1.2em;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.form-feedback.show {
  opacity: 1;
}


/* ═══════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════ */

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text);
  transition: color 0.3s var(--ease);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  font-size: 1.2rem;
  font-weight: 200;
  color: var(--text-dim);
  transition: transform 0.4s var(--ease), color 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), padding 0.5s var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.6;
  padding-bottom: 1.25rem;
}


/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */

.footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-xdim);
}

.footer-logo-img {
  height: 16px;
  width: auto;
  filter: invert(1);
  opacity: 0.5;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.6rem;
  color: var(--text-xdim);
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--text-dim); }


/* ═══════════════════════════════════════════════════════
   NAV SCROLL STATE
   ═══════════════════════════════════════════════════════ */

.nav.scrolled {
  background: rgba(2, 5, 8, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}


/* ═══════════════════════════════════════════════════════
   SPLIT TEXT — word-by-word reveal
   ═══════════════════════════════════════════════════════ */

.split-text .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.split-text.active .word {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════════════
   GLOW SEPARATOR
   ═══════════════════════════════════════════════════════ */

.glow-sep {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(78, 138, 203, 0.25), transparent);
  margin: 0;
}


/* ═══════════════════════════════════════════════════════
   GRADIENT TEXT
   ═══════════════════════════════════════════════════════ */

.grad-text {
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ═══════════════════════════════════════════════════════
   REVEAL
   ═══════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.vis {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal variants */
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-left.vis {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-scale.vis {
  opacity: 1;
  transform: scale(1);
}


/* page-dark class no longer needed — global bg is now #020508 */


/* ═══════════════════════════════════════════════════════
   ABOUT — Open Layout
   ═══════════════════════════════════════════════════════ */

.about-open {
  position: relative;
}

.about-open-text {
  max-width: 650px;
}

.about-lead {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.about-secondary {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.7;
}

.about-stats {
  display: flex;
  gap: clamp(2.5rem, 5vw, 4rem);
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.about-stat-num {
  display: block;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 200;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.about-stat-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  margin-top: 0.3rem;
}


/* ═══════════════════════════════════════════════════════
   ABOUT — Hero (video storytelling)
   ═══════════════════════════════════════════════════════ */

.about-hero-video {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.5;
  will-change: opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: paint;
  background: #02050a;
}

.about-hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(2,5,8,0.35), rgba(2,5,8,0.85) 70%, rgba(2,5,8,1)),
    linear-gradient(180deg, rgba(2,5,8,0.6) 0%, rgba(2,5,8,0) 30%, rgba(2,5,8,0) 70%, rgba(2,5,8,0.9) 100%);
  pointer-events: none;
}

.about-hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(78,138,203,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78,138,203,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, #000 30%, transparent 75%);
  pointer-events: none;
}

.about-hero-wrap {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(2rem, 6vw, 4rem);
  max-width: 1100px;
}

.about-hero-title {
  font-size: clamp(2rem, 5.5vw, 4.4rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 1.25rem 0 1.5rem;
  color: var(--text);
}

.about-hero-title .grad-text {
  font-weight: 400;
}

.about-hero-sub {
  max-width: 620px;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-dim);
  letter-spacing: -0.005em;
}

.about-hero-sub em {
  font-style: italic;
  color: var(--text);
  font-weight: 400;
}

.about-hero-foot {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: flex;
  align-items: center;
  gap: 1rem;
}


/* ═══════════════════════════════════════════════════════
   MANIFESTO — origin + differentiator
   ═══════════════════════════════════════════════════════ */

.manifesto-sec {
  padding-top: clamp(2rem, 5vw, 4rem);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  position: relative;
}

.manifesto-grid::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--border) 20%, var(--border) 80%, transparent 100%);
  transform: translateX(-50%);
}

.manifesto-col > .sec-label {
  margin-bottom: 1.75rem;
}

.manifesto-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.manifesto-lead em {
  font-style: italic;
  color: var(--accent);
}

.manifesto-body {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-dim);
}

.manifesto-body strong {
  color: var(--text);
  font-weight: 500;
}

/* Origem — single focused block */
.origem-block {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(1rem, 3vw, 2rem) 0;
}

.origem-block > .sec-label {
  display: inline-block;
  margin-bottom: 1.75rem;
}

.origem-lead {
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0;
  position: relative;
}

.origem-lead::before,
.origem-lead::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
  margin: 1.25rem auto;
}


/* ═══════════════════════════════════════════════════════
   TECNOLOGIA — 4 capability pillars
   ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   FLOWCHART SVG — "Como Trabalhamos" (Pyramid)
   ═══════════════════════════════════════════════════════ */

.fc-map {
  max-width: 1600px;
  margin: clamp(3rem, 6vw, 5rem) auto clamp(4rem, 8vw, 7rem);
  padding: 0 1rem;
}

.fc-svg {
  width: 100%;
  height: auto;
  font-family: 'Inter', sans-serif;
}

/* Vertical spine between levels */
.fc-spine {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
}

/* Curved twigs from node to leaves */
.fc-twig {
  stroke-width: 1.5;
  stroke-linecap: round;
  fill: none;
}

.fc-twig--ia { stroke: rgba(108, 92, 231, 0.35); }
.fc-twig--sw { stroke: rgba(0, 184, 148, 0.35); }
.fc-twig--dt { stroke: rgba(225, 112, 85, 0.35); }
.fc-twig--ps { stroke: rgba(78, 138, 203, 0.35); }
.fc-twig--pb { stroke: rgba(255, 107, 107, 0.35); }
.fc-twig--sl { stroke: rgba(0, 184, 148, 0.35); }
.fc-twig--cl { stroke: rgba(108, 92, 231, 0.35); }

/* Hub */
.fc-hub-glow {
  fill: rgba(78, 138, 203, 0.08);
}

.fc-hub-circle {
  fill: var(--surface, #141414);
  stroke: rgba(78, 138, 203, 0.5);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 12px rgba(78, 138, 203, 0.3));
}

/* Leaf dots */
.fc-leaf--ia { fill: rgba(108, 92, 231, 0.6); }
.fc-leaf--sw { fill: rgba(0, 184, 148, 0.6); }
.fc-leaf--dt { fill: rgba(225, 112, 85, 0.6); }

/* Hub text */
.fc-hub-title {
  fill: var(--text, #fff);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fc-hub-sub {
  fill: var(--accent, #4E8ACB);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Node pills */
.fc-node-bg { stroke-width: 1; transition: fill 0.3s var(--ease), stroke 0.3s var(--ease); }
.fc-node-bg--ia { fill: rgba(108, 92, 231, 0.1); stroke: rgba(108, 92, 231, 0.35); }
.fc-node-bg--sw { fill: rgba(0, 184, 148, 0.1); stroke: rgba(0, 184, 148, 0.35); }
.fc-node-bg--dt { fill: rgba(225, 112, 85, 0.1); stroke: rgba(225, 112, 85, 0.35); }
.fc-node-bg--ps { fill: rgba(78, 138, 203, 0.1); stroke: rgba(78, 138, 203, 0.35); }
.fc-node-bg--pb { fill: rgba(255, 107, 107, 0.1); stroke: rgba(255, 107, 107, 0.35); }
.fc-node-bg--sl { fill: rgba(0, 184, 148, 0.1); stroke: rgba(0, 184, 148, 0.35); }
.fc-node-bg--cl { fill: rgba(108, 92, 231, 0.1); stroke: rgba(108, 92, 231, 0.35); }

.fc-node-group { cursor: default; }
.fc-node-group:hover .fc-node-bg--ia { fill: rgba(108, 92, 231, 0.22); stroke: rgba(108, 92, 231, 0.7); }
.fc-node-group:hover .fc-node-bg--sw { fill: rgba(0, 184, 148, 0.22); stroke: rgba(0, 184, 148, 0.7); }
.fc-node-group:hover .fc-node-bg--dt { fill: rgba(225, 112, 85, 0.22); stroke: rgba(225, 112, 85, 0.7); }
.fc-node-group:hover .fc-node-bg--ps { fill: rgba(78, 138, 203, 0.22); stroke: rgba(78, 138, 203, 0.7); }
.fc-node-group:hover .fc-node-bg--pb { fill: rgba(255, 107, 107, 0.22); stroke: rgba(255, 107, 107, 0.7); }
.fc-node-group:hover .fc-node-bg--sl { fill: rgba(0, 184, 148, 0.22); stroke: rgba(0, 184, 148, 0.7); }
.fc-node-group:hover .fc-node-bg--cl { fill: rgba(108, 92, 231, 0.22); stroke: rgba(108, 92, 231, 0.7); }

/* Node text */
.fc-node-num {
  fill: var(--accent, #4E8ACB);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.25em;
  opacity: 0.8;
}

.fc-node-label {
  fill: var(--text, #fff);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.fc-node-sub {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0.6;
}
.fc-node-sub--ia { fill: #A29BFE; }
.fc-node-sub--sw { fill: #55EFC4; }
.fc-node-sub--dt { fill: #FAB1A0; }
.fc-node-sub--ps { fill: #74B9FF; }
.fc-node-sub--pb { fill: #FF6B6B; }
.fc-node-sub--sl { fill: #55EFC4; }
.fc-node-sub--cl { fill: #A29BFE; }

/* Leaf text */
.fc-leaf-text {
  fill: var(--text-dim, #999);
  font-size: 14px;
  font-weight: 400;
}

.fc-hub-logo {
  filter: brightness(0) invert(1);
}

/* Flowchart CTA (legacy) */
.fc-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.fc-cta-text {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-dim);
  text-align: center;
}

/* WhatsApp CTA */
.wa-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(2.5rem, 5vw, 4rem) 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.wa-cta-robot {
  position: relative;
  font-size: 2.8rem;
  color: var(--accent, #4E8ACB);
  line-height: 1;
  perspective: 400px;
}

#waRobotIcon {
  display: inline-block;
  transition: color 0.2s ease, filter 0.2s ease;
  transform-style: preserve-3d;
  will-change: transform, color, filter;
}

.robot-overheat {
  animation: robotShake 0.12s linear infinite;
}

@keyframes robotShake {
  0%, 100% { translate: 0 0; }
  25% { translate: -1.5px 1px; }
  50% { translate: 1.5px -1px; }
  75% { translate: -1px -1.5px; }
}

.wa-cta-title {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 600;
  color: var(--text, #fff);
  margin: 0;
}

.wa-cta-desc {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--text-dim);
  max-width: 420px;
  margin: 0;
}

.wa-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.2);
  margin-top: 0.5rem;
}

.wa-cta-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.wa-cta-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Mobile tree */
.fc-mobile { display: none; }

.fc-m-hub {
  width: fit-content;
  margin: 0 auto;
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  background: rgba(78, 138, 203, 0.15);
  border: 1.5px solid rgba(78, 138, 203, 0.4);
  text-align: center;
  line-height: 0;
}

.fc-m-hub-logo {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
}

.fc-m-trunk {
  width: 2px;
  height: 32px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.12);
}

.fc-m-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fc-m-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.fc-m-icon {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}
.fc-m-icon--ia { color: #A29BFE; }
.fc-m-icon--sw { color: #55EFC4; }
.fc-m-icon--dt { color: #FAB1A0; }

.fc-m-num {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.15em;
}

.fc-m-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  display: inline-block;
}
.fc-m-branch--ia .fc-m-label { background: rgba(108, 92, 231, 0.15); border: 1px solid rgba(108, 92, 231, 0.35); }
.fc-m-branch--sw .fc-m-label { background: rgba(0, 184, 148, 0.15); border: 1px solid rgba(0, 184, 148, 0.35); }
.fc-m-branch--dt .fc-m-label { background: rgba(225, 112, 85, 0.15); border: 1px solid rgba(225, 112, 85, 0.35); }

.fc-m-sub {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 0.15rem;
}
.fc-m-branch--ia .fc-m-sub { color: #A29BFE; }
.fc-m-branch--sw .fc-m-sub { color: #55EFC4; }
.fc-m-branch--dt .fc-m-sub { color: #FAB1A0; }

.fc-m-stem {
  width: 2px;
  height: 24px;
  margin: 0.4rem auto;
}
.fc-m-branch--ia .fc-m-stem { background: rgba(108, 92, 231, 0.35); }
.fc-m-branch--sw .fc-m-stem { background: rgba(0, 184, 148, 0.35); }
.fc-m-branch--dt .fc-m-stem { background: rgba(225, 112, 85, 0.35); }

.fc-m-leaves {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  padding-left: 1.2rem;
}

.fc-m-leaves::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
}
.fc-m-branch--ia .fc-m-leaves::before { background: rgba(108, 92, 231, 0.25); }
.fc-m-branch--sw .fc-m-leaves::before { background: rgba(0, 184, 148, 0.25); }
.fc-m-branch--dt .fc-m-leaves::before { background: rgba(225, 112, 85, 0.25); }

.fc-m-leaves li {
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  position: relative;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.fc-m-leaves li::before {
  content: '';
  position: absolute;
  left: -1.2rem;
  top: 50%;
  width: 1.2rem;
  height: 2px;
}
.fc-m-branch--ia .fc-m-leaves li::before { background: rgba(108, 92, 231, 0.25); }
.fc-m-branch--sw .fc-m-leaves li::before { background: rgba(0, 184, 148, 0.25); }
.fc-m-branch--dt .fc-m-leaves li::before { background: rgba(225, 112, 85, 0.25); }

.fc-m-leaves li i {
  font-size: 0.85rem;
  width: 1rem;
  text-align: center;
  flex-shrink: 0;
}
.fc-m-branch--ia .fc-m-leaves li i { color: #A29BFE; }
.fc-m-branch--sw .fc-m-leaves li i { color: #55EFC4; }
.fc-m-branch--dt .fc-m-leaves li i { color: #FAB1A0; }

/* Process branches (divisions page) */
.fc-m-icon--ps { color: #74B9FF; }
.fc-m-icon--pb { color: #FF6B6B; }
.fc-m-icon--sl { color: #55EFC4; }
.fc-m-icon--cl { color: #A29BFE; }

.fc-m-branch--ps .fc-m-label { background: rgba(78, 138, 203, 0.15); border: 1px solid rgba(78, 138, 203, 0.35); }
.fc-m-branch--pb .fc-m-label { background: rgba(255, 107, 107, 0.15); border: 1px solid rgba(255, 107, 107, 0.35); }
.fc-m-branch--sl .fc-m-label { background: rgba(0, 184, 148, 0.15); border: 1px solid rgba(0, 184, 148, 0.35); }
.fc-m-branch--cl .fc-m-label { background: rgba(108, 92, 231, 0.15); border: 1px solid rgba(108, 92, 231, 0.35); }

.fc-m-branch--ps .fc-m-sub { color: #74B9FF; }
.fc-m-branch--pb .fc-m-sub { color: #FF6B6B; }
.fc-m-branch--sl .fc-m-sub { color: #55EFC4; }
.fc-m-branch--cl .fc-m-sub { color: #A29BFE; }

.fc-m-branch--ps .fc-m-stem { background: rgba(78, 138, 203, 0.35); }
.fc-m-branch--pb .fc-m-stem { background: rgba(255, 107, 107, 0.35); }
.fc-m-branch--sl .fc-m-stem { background: rgba(0, 184, 148, 0.35); }
.fc-m-branch--cl .fc-m-stem { background: rgba(108, 92, 231, 0.35); }

.fc-m-branch--ps .fc-m-leaves::before { background: rgba(78, 138, 203, 0.25); }
.fc-m-branch--pb .fc-m-leaves::before { background: rgba(255, 107, 107, 0.25); }
.fc-m-branch--sl .fc-m-leaves::before { background: rgba(0, 184, 148, 0.25); }
.fc-m-branch--cl .fc-m-leaves::before { background: rgba(108, 92, 231, 0.25); }

.fc-m-branch--ps .fc-m-leaves li::before { background: rgba(78, 138, 203, 0.25); }
.fc-m-branch--pb .fc-m-leaves li::before { background: rgba(255, 107, 107, 0.25); }
.fc-m-branch--sl .fc-m-leaves li::before { background: rgba(0, 184, 148, 0.25); }
.fc-m-branch--cl .fc-m-leaves li::before { background: rgba(108, 92, 231, 0.25); }

.fc-m-branch--ps .fc-m-leaves li i { color: #74B9FF; }
.fc-m-branch--pb .fc-m-leaves li i { color: #FF6B6B; }
.fc-m-branch--sl .fc-m-leaves li i { color: #55EFC4; }
.fc-m-branch--cl .fc-m-leaves li i { color: #A29BFE; }


/* ── Process grid (divisions page — tablet/mobile fallback) ── */
.proc-grid-wrap { display: none; }

.proc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.proc-card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.proc-card:hover {
  transform: translateY(-4px);
}

.proc-card--ps:hover { border-color: rgba(78, 138, 203, 0.4); box-shadow: 0 8px 32px rgba(78, 138, 203, 0.08); }
.proc-card--pb:hover { border-color: rgba(255, 107, 107, 0.4); box-shadow: 0 8px 32px rgba(255, 107, 107, 0.08); }
.proc-card--sl:hover { border-color: rgba(0, 184, 148, 0.4); box-shadow: 0 8px 32px rgba(0, 184, 148, 0.08); }
.proc-card--cl:hover { border-color: rgba(108, 92, 231, 0.4); box-shadow: 0 8px 32px rgba(108, 92, 231, 0.08); }

.proc-step {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-xdim);
  margin-bottom: 1rem;
}

.proc-icon {
  width: clamp(40px, 6vw, 52px);
  height: clamp(40px, 6vw, 52px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 1.25rem;
  transition: transform 0.4s var(--ease);
}

.proc-card:hover .proc-icon { transform: scale(1.1); }

.proc-icon--ps { background: rgba(78, 138, 203, 0.12); color: #74B9FF; }
.proc-icon--pb { background: rgba(255, 107, 107, 0.12); color: #FF6B6B; }
.proc-icon--sl { background: rgba(0, 184, 148, 0.12); color: #55EFC4; }
.proc-icon--cl { background: rgba(108, 92, 231, 0.12); color: #A29BFE; }

.proc-title {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.proc-sub {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.proc-card--ps .proc-sub { color: #74B9FF; }
.proc-card--pb .proc-sub { color: #FF6B6B; }
.proc-card--sl .proc-sub { color: #55EFC4; }
.proc-card--cl .proc-sub { color: #A29BFE; }

.proc-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.proc-items li {
  font-size: clamp(0.72rem, 1.2vw, 0.82rem);
  font-weight: 300;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.3s var(--ease);
}

.proc-items li:last-child { border-bottom: none; }

.proc-card:hover .proc-items li { color: var(--text); }

.proc-items li i {
  font-size: clamp(0.7rem, 1.1vw, 0.85rem);
  width: 1.2em;
  text-align: center;
  flex-shrink: 0;
}

.proc-card--ps .proc-items li i { color: #74B9FF; }
.proc-card--pb .proc-items li i { color: #FF6B6B; }
.proc-card--sl .proc-items li i { color: #55EFC4; }
.proc-card--cl .proc-items li i { color: #A29BFE; }


.tech-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: clamp(2rem, 4vw, 3rem);
}

/* Featured pillar — spans both columns (full row) */
.tech-pillar--wide {
  grid-column: 1 / -1;
}

/* Image-first cinematic card — minimal text overlay */
.tech-pillar {
  position: relative;
  display: block;
  min-height: clamp(280px, 32vw, 380px);
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Background image */
.tech-pillar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(0.85) brightness(0.78);
  transition: transform 1.1s var(--ease), filter 0.7s var(--ease);
}

.tech-pillar:hover .tech-pillar-img {
  transform: scale(1.05);
  filter: saturate(1) brightness(0.88);
}

/* Gradient veil for text legibility */
.tech-pillar-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2,5,8,0.15) 0%, rgba(2,5,8,0.4) 55%, rgba(2,5,8,0.95) 100%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(78,138,203,0.08), transparent 70%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}

/* Top accent line — slides in on hover */
.tech-pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(78,138,203,0.4) 60%, transparent 100%);
  transition: width 0.9s var(--ease);
  z-index: 3;
}

.tech-pillar:hover::before {
  width: 100%;
}

/* Large faded number — top right */
.tech-pillar-num {
  position: absolute;
  top: clamp(1.5rem, 2.5vw, 2rem);
  right: clamp(1.5rem, 2.5vw, 2rem);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 200;
  letter-spacing: -0.05em;
  color: rgba(225,226,225,0.18);
  line-height: 1;
  z-index: 2;
  pointer-events: none;
  transition: color 0.6s var(--ease), transform 0.7s var(--ease);
}

.tech-pillar:hover .tech-pillar-num {
  color: rgba(78,138,203,0.55);
  transform: translateX(-6px);
}

/* Bottom info block — only tag + title */
.tech-pillar-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  z-index: 2;
  transition: transform 0.6s var(--ease);
}

.tech-pillar:hover .tech-pillar-info {
  transform: translateY(-4px);
}

.tech-pillar-tag {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  position: relative;
  padding-left: 1.25rem;
}

.tech-pillar-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.75rem;
  height: 1px;
  background: var(--accent);
  transform: translateY(-50%) scaleX(1);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.tech-pillar:hover .tech-pillar-tag::before {
  transform: translateY(-50%) scaleX(2);
}

.tech-pillar h3 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
  line-height: 1.15;
}

/* Wide variant — landscape aspect */
.tech-pillar--wide {
  min-height: clamp(220px, 25vw, 320px);
}


/* ═══════════════════════════════════════════════════════
   PRINCÍPIOS — 3 visual cards with animated SVG glyphs
   ═══════════════════════════════════════════════════════ */

.principles-sec > .container {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.principles-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.principle-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #04080f 0%, #02050a 100%);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(360px, 42vh, 480px);
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease), background 0.5s var(--ease);
}

.principle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: width 0.9s var(--ease);
  z-index: 2;
}

.principle-card:hover {
  border-color: rgba(78, 138, 203, 0.3);
  transform: translateY(-4px);
  background: linear-gradient(180deg, #05090f 0%, #030709 100%);
}

.principle-card:hover::before {
  width: 100%;
}

/* SVG visual area — fills the top of the card */
.principle-vis {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}

.principle-vis::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent, rgba(2,5,8,0.3) 80%);
  pointer-events: none;
  z-index: 1;
}

.principle-svg {
  width: 100%;
  max-width: 240px;
  height: auto;
  position: relative;
  z-index: 0;
}

/* Card footer — minimal info: num + title + en */
.principle-card-info {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  transition: border-top-color 0.5s var(--ease);
}

.principle-card:hover .principle-card-info {
  border-top-color: rgba(78, 138, 203, 0.3);
}

.principle-card h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
  transition: transform 0.5s var(--ease);
}

.principle-card:hover h3 {
  transform: translateX(4px);
}

.principle-card-en {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-xdim);
  transition: color 0.5s var(--ease);
}

.principle-card:hover .principle-card-en {
  color: var(--accent);
}

/* ─── Precision: sonar pulse with target + crosshair ─── */
.precision-cross {
  stroke: rgba(78, 138, 203, 0.18);
  stroke-width: 1;
  stroke-dasharray: 2 4;
}

.precision-target {
  fill: none;
  stroke: rgba(78, 138, 203, 0.55);
  stroke-width: 1;
}

.precision-core {
  fill: var(--accent);
  filter: drop-shadow(0 0 10px rgba(78, 138, 203, 0.9));
  transform-origin: 100px 100px;
  transform-box: fill-box;
  animation: precisionCorePulse 2.4s ease-in-out infinite;
}

@keyframes precisionCorePulse {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.6); opacity: 1; }
}

.pulse-ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  opacity: 0;
  transform-origin: 100px 100px;
  transform-box: view-box;
  animation: precisionRing 3.6s ease-out infinite;
}

.pulse-ring:nth-child(3) { animation-delay: 0s; }
.pulse-ring:nth-child(4) { animation-delay: 1.2s; }
.pulse-ring:nth-child(5) { animation-delay: 2.4s; }

@keyframes precisionRing {
  0% { transform: scale(0.4); opacity: 0; }
  10% { opacity: 0.9; }
  100% { transform: scale(3.5); opacity: 0; }
}

/* ─── Scalability: nested squares growing outward ─── */
.scale-square {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  transform-origin: 100px 100px;
  transform-box: view-box;
  opacity: 0;
  animation: scaleGrow 4.2s ease-in-out infinite;
}

.scale-square:nth-child(1) { animation-delay: 0s; }
.scale-square:nth-child(2) { animation-delay: 0.9s; }
.scale-square:nth-child(3) { animation-delay: 1.8s; }
.scale-square:nth-child(4) { animation-delay: 2.7s; }

@keyframes scaleGrow {
  0%   { transform: scale(0.2); opacity: 0; }
  15%  { opacity: 0.9; }
  60%  { opacity: 0.4; }
  100% { transform: scale(1.1); opacity: 0; }
}

/* ─── Reliability: steady wave + traveling pulse dot ─── */
.reliability-axis {
  stroke: rgba(78, 138, 203, 0.18);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}

.reliability-wave {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  animation: reliabilityDraw 3.4s ease-in-out infinite;
}

@keyframes reliabilityDraw {
  0%   { stroke-dashoffset: 360; }
  45%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -360; }
}

.reliability-dot {
  fill: var(--accent);
  filter: drop-shadow(0 0 8px rgba(78, 138, 203, 0.9));
  offset-path: path("M 20 100 Q 35 100 42 75 T 65 100 Q 80 100 92 60 T 115 100 Q 130 100 142 80 T 180 100");
  offset-rotate: 0deg;
  animation: reliabilityTrace 3.4s linear infinite;
}

@keyframes reliabilityTrace {
  0%   { offset-distance: 0%;  opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* Hover boost — animations speed up subtly */
.principle-card:hover .pulse-ring,
.principle-card:hover .scale-square {
  animation-duration: 2.4s;
}

.principle-card:hover .reliability-wave,
.principle-card:hover .reliability-dot {
  animation-duration: 2.2s;
}



/* ═══════════════════════════════════════════════════════
   SECTION DESC — subtitle under main headings
   ═══════════════════════════════════════════════════════ */

.section-desc {
  max-width: 640px;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-dim);
  margin-top: 1.25rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}


/* ═══════════════════════════════════════════════════════
   TEAM — unified card system
   ═══════════════════════════════════════════════════════ */

/* ── Uniform card variant ── */
.team-card--uniform {
  border-radius: 2px;
}

.team-card--uniform .team-card-portrait {
  aspect-ratio: 3 / 4;
}

.team-card--uniform .team-card-body {
  padding: clamp(0.6rem, 1.2vw, 0.9rem);
  gap: 0.25rem;
  align-items: center;
  text-align: center;
}

.team-card--uniform h3 {
  font-size: 0.5rem;
  font-weight: 300;
  color: var(--text-xdim);
}

.team-card--uniform .team-card-role {
  font-size: clamp(0.55rem, 0.85vw, 0.7rem);
}


/* ═══════════════════════════════════════════════════════
   TIME — centralized layout (centered title, founder, leadership)
   ═══════════════════════════════════════════════════════ */

.team-sec-centered > .container > .sec-label,
.team-sec-centered > .container > .why-title,
.team-sec-centered > .container > .section-desc {
  text-align: center;
}

.team-sec-centered > .container > .sec-label {
  display: block;
}

.team-sec-centered > .container > .why-title {
  margin-left: auto;
  margin-right: auto;
}

.team-sec-centered > .container > .section-desc {
  margin-left: auto;
  margin-right: auto;
  max-width: 560px;
}

/* ── Section groups — each group = label + uniform grid ── */
.team-section-group {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.team-group-header {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1rem;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  padding-bottom: 0.75rem;
}

.team-group-label {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--text);
}

.team-group-count {
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--text-xdim);
  letter-spacing: 0.1em;
}

/* ── Colaboradores ── */
.team-section-group--collab {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--border);
  text-align: center;
}

.collab-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.6;
  margin-top: 0.75rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.collab-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 2.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font);
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.collab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(78, 138, 203, 0.35);
  background: #3d7abb;
}

/* ── Uniform grids ── */
.team-uniform-grid {
  display: grid;
  gap: clamp(0.6rem, 1.2vw, 1rem);
}

.team-uniform-grid--1 {
  grid-template-columns: minmax(0, 280px);
  justify-content: center;
}

.team-uniform-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.team-dept-rows {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
}

.team-dept-rows .team-section-group {
  margin-bottom: 0;
}

.team-uniform-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(180deg, #05090f 0%, #030609 100%);
  transition: border-color 0.5s var(--ease), transform 0.6s var(--ease);
}

.team-card:hover {
  border-color: rgba(78,138,203,0.3);
  transform: translateY(-4px);
}

.team-card-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #02050a;
}

.team-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: transform 0.8s var(--ease), filter 0.6s var(--ease);
}

.team-card:hover .team-card-photo {
  transform: scale(1.04);
  filter: saturate(1.1);
}

.team-card-portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(78,138,203,0.22), transparent 55%),
              linear-gradient(160deg, rgba(78,138,203,0.12), transparent 55%),
              radial-gradient(ellipse at 80% 100%, rgba(78,138,203,0.18), transparent 60%);
  filter: blur(0.5px);
}

.team-portrait-01::before {
  background: radial-gradient(circle at 50% 35%, rgba(78,138,203,0.28), transparent 55%),
              linear-gradient(160deg, rgba(78,138,203,0.14), transparent 55%);
}

.team-portrait-02::before {
  background: radial-gradient(circle at 50% 40%, rgba(130,110,200,0.24), transparent 55%),
              linear-gradient(200deg, rgba(78,138,203,0.14), transparent 55%);
}

.team-portrait-03::before {
  background: radial-gradient(circle at 50% 30%, rgba(78,160,170,0.26), transparent 55%),
              linear-gradient(140deg, rgba(78,138,203,0.14), transparent 55%);
}

.team-card-mask {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(2,5,8,0.0) 0px, rgba(2,5,8,0.0) 2px, rgba(2,5,8,0.35) 3px, rgba(2,5,8,0.0) 4px),
    linear-gradient(180deg, transparent 50%, rgba(2,5,8,0.9) 100%);
  pointer-events: none;
}

.team-card-portrait::after {
  content: attr(data-initial);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 200;
  color: rgba(225, 226, 225, 0.06);
  letter-spacing: -0.05em;
  z-index: 1;
}

.team-portrait-01::after { content: '01'; }
.team-portrait-02::after { content: '02'; }
.team-portrait-03::after { content: '03'; }

.team-card-body {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.team-card-role {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.team-card h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
}

.team-card p {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0;
}

.team-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: 0.35rem;
}

.team-card-meta span {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--text-xdim);
  text-transform: uppercase;
}

.team-card-meta span:not(:last-child)::after {
  content: '·';
  margin-left: 0.5rem;
  color: var(--border);
}




/* ═══════════════════════════════════════════════════════
   IMPACT — real data + institutional validation
   ═══════════════════════════════════════════════════════ */

.impact-sec .metrics-grid {
  margin-top: clamp(2rem, 4vw, 3rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.validation-block {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.validation-block > .sec-label {
  display: block;
  margin-bottom: 1.5rem;
}

.validation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.validation-mark {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-left: 1px solid var(--border);
  transition: border-color 0.4s var(--ease);
}

.validation-mark:hover {
  border-left-color: var(--accent);
}

.validation-tag {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.validation-mark h4 {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 0.6rem;
}

.validation-mark p {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0;
}


/* ═══════════════════════════════════════════════════════
   CTA — dual action variant
   ═══════════════════════════════════════════════════════ */

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

.cta-btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.cta-btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}


/* ═══════════════════════════════════════════════════════
   VALUES — Flowing List (no cards)
   ═══════════════════════════════════════════════════════ */

.values-flow {
  position: relative;
  overflow: hidden;
}

.value-row {
  display: flex;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.4s var(--ease);
  position: relative;
  z-index: 1;
}

.value-row:first-of-type {
  border-top: 1px solid var(--border);
}

.value-row:hover {
  padding-left: 0.8rem;
}

.value-num {
  font-size: 0.55rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.12em;
  flex-shrink: 0;
  padding-top: 0.15rem;
  transition: color 0.4s var(--ease);
}

.value-row:hover .value-num {
  color: var(--text);
}

.value-body h3 {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.value-body p {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 520px;
}


/* ═══════════════════════════════════════════════════════
   QUOTES — Flowing Testimonials (no cards)
   ═══════════════════════════════════════════════════════ */

.quotes-flow {
  position: relative;
}

.quote-item {
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--border);
}

.quote-item:first-child {
  border-top: 1px solid var(--border);
}

.quote-item blockquote {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.6;
  font-style: normal;
  max-width: 700px;
  color: var(--text);
}

.quote-credit {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.quote-dash {
  color: var(--accent);
  font-weight: 300;
}

.quote-author {
  font-size: 0.82rem;
  font-weight: 500;
}

.quote-role {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--text-dim);
}


/* ═══════════════════════════════════════════════════════
   TIMELINE
   ═══════════════════════════════════════════════════════ */

.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline-line {
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

/* Animated fill — grows as user scrolls */
.timeline-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--accent);
  transition: height 0.6s var(--ease);
}

.timeline-item {
  position: relative;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 0.3rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  z-index: 2;
}

.timeline-item:hover .timeline-dot {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(78, 138, 203, 0.3);
}

.timeline-year {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.timeline-content h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.timeline-content p {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 480px;
}


/* ═══════════════════════════════════════════════════════
   CONTACT — Open Layout (no cards)
   ═══════════════════════════════════════════════════════ */

.contact-open {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.contact-form-area {
  /* No card container — just the form */
}

.form-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-xdim);
  margin-bottom: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Info area — flowing, no cards */
.contact-info-area {
  position: sticky;
  top: 6rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
}

.contact-detail {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.4s var(--ease);
}

.contact-detail:first-child {
  border-top: 1px solid var(--border);
}

.contact-detail:hover {
  padding-left: 0.5rem;
}

.contact-detail-label {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-xdim);
}

.contact-detail-value {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text);
}

a.contact-detail-value {
  transition: color 0.3s var(--ease);
}

a.contact-detail-value:hover {
  color: var(--accent);
}


/* ═══════════════════════════════════════════════════════
   CONTACT — channels block (WhatsApp / Instagram / Gmail)
   ═══════════════════════════════════════════════════════ */

.contact-channels {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--border);
}

.contact-channels > .contact-detail-label {
  display: block;
  margin-bottom: 1.25rem;
}

.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease);
}

.contact-channel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--channel-glow, transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: -1;
}

.contact-channel:hover {
  transform: translateX(4px);
}

.contact-channel:hover::before {
  opacity: 0.04;
}

.contact-channel-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.contact-channel-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.contact-channel:hover .contact-channel-icon {
  transform: scale(1.06);
}

/* Brand colors */
.contact-channel--whatsapp {
  --channel-color: #25D366;
  --channel-glow: #25D366;
}
.contact-channel--whatsapp .contact-channel-icon {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.18);
}
.contact-channel--whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.55);
}
.contact-channel--whatsapp:hover .contact-channel-icon {
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.contact-channel--instagram {
  --channel-color: #E1306C;
  --channel-glow: #E1306C;
}
.contact-channel--instagram .contact-channel-icon {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.18);
}
.contact-channel--instagram:hover {
  border-color: rgba(225, 48, 108, 0.55);
}
.contact-channel--instagram:hover .contact-channel-icon {
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.45);
}

.contact-channel--gmail {
  --channel-color: #EA4335;
  --channel-glow: #EA4335;
}
.contact-channel--gmail .contact-channel-icon {
  background: linear-gradient(135deg, #EA4335 0%, #FBBC05 50%, #34A853 100%);
  box-shadow: 0 4px 14px rgba(234, 67, 53, 0.18);
}
.contact-channel--gmail:hover {
  border-color: rgba(234, 67, 53, 0.55);
}
.contact-channel--gmail:hover .contact-channel-icon {
  box-shadow: 0 6px 20px rgba(234, 67, 53, 0.45);
}

.contact-channel-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.contact-channel-name {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.005em;
}

.contact-channel-handle {
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Honeypot — invisivel pra humanos, visivel pra bots */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* WhatsApp icon inside the submit button */
.contact-submit-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  margin-right: 0.55rem;
  vertical-align: middle;
  color: #25D366;
}

.contact-submit-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* #contactSubmit handled by .ct-submit */


/* ═══════════════════════════════════════════════════════
   CONTACT PAGE — redesigned
   ═══════════════════════════════════════════════════════ */

.ct-header {
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.ct-sec {
  padding-top: 0;
}

/* Layout: form card + info panel */
.ct-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

/* ---- Glass form card ---- */
.ct-card {
  position: relative;
  background: rgba(6, 13, 24, 0.6);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(2rem, 4vw, 3rem);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.ct-card-glow {
  position: absolute;
  top: -40%;
  right: -30%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(78,138,203,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.ct-card-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.ct-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ct-label {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-xdim);
}

.ct-input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
  -webkit-appearance: none;
}

.ct-input:focus {
  border-color: var(--accent);
  background: rgba(78,138,203,0.04);
  box-shadow: 0 0 0 3px rgba(78,138,203,0.08);
}

.ct-input::placeholder {
  color: var(--text-xdim);
  opacity: 1;
}

select.ct-input {
  color: var(--text-xdim);
  cursor: pointer;
}

select.ct-input option {
  background: var(--surface);
  color: var(--text);
}

textarea.ct-input {
  resize: vertical;
  min-height: 100px;
}

/* ---- WhatsApp submit button ---- */
.ct-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem 2rem;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  margin-top: 0.5rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.ct-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

.ct-submit:active {
  transform: translateY(0);
}

.ct-submit-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.ct-submit-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---- Info panel ---- */
.ct-info {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

.ct-info-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ct-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.4s var(--ease);
}

.ct-info-item:first-child {
  border-top: 1px solid var(--border);
}

.ct-info-item:hover {
  padding-left: 0.5rem;
}

.ct-info-item > i {
  font-size: 1rem;
  color: var(--accent);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.ct-info-item > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.ct-info-label {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-xdim);
}

.ct-info-value {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

a.ct-info-value:hover {
  color: var(--accent);
}

.ct-social {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ---- FAQ section title ---- */
.ct-faq-title {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.ct-faq-sec {
  padding-top: clamp(2rem, 4vw, 3rem);
}

.ct-faq {
  max-width: 800px;
}


/* ═══════════════════════════════════════════════════════
   WIDE SCREENS — expand content for large viewports
   ═══════════════════════════════════════════════════════ */

@media (min-width: 1200px) {
  .container { max-width: 1300px; }
  .cinema-panel { min-height: clamp(300px, 42vh, 420px); }
  .cinema-panel-body h3 { font-size: clamp(2rem, 3.5vw, 2.8rem); }
  .statement-text { max-width: 950px; }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — small screens
   ═══════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .container { padding: 0 clamp(1.5rem, 5vw, 2.5rem); }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .hero-title { letter-spacing: 0.08em; }
  .hero-actions { flex-direction: column; align-items: center; gap: 0.75rem; }
  .hero-btn { width: 100%; max-width: 280px; justify-content: center; }
  .hero-metrics { gap: clamp(1.5rem, 4vw, 2.5rem); }
  .hero-metric-value { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* Services showcase — mobile tweaks */
  .svc-arrow { opacity: 1; transform: translateX(0); }
  .site-previews { grid-template-columns: 1fr; }

  /* Center all titles on mobile */
  .sec-label { text-align: center; background-image: linear-gradient(to right, transparent, rgba(78,138,203,0.25), rgba(108,92,231,0.15), transparent); }
  .why-title { text-align: center; }
  .sec-subtitle { text-align: center; margin-left: auto; margin-right: auto; }
  .page-label { text-align: center; }
  .page-title { text-align: center; margin-left: auto; margin-right: auto; }
  .page-desc { text-align: center; margin-left: auto; margin-right: auto; }

  /* Tighten section spacing on mobile */
  .sec { padding: clamp(2.5rem, 6vw, 4rem) 0; }
  .sec + .sec { padding-top: clamp(2.5rem, 6vw, 4rem); }
  .page-header { padding-top: clamp(6rem, 14vw, 10rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
  .void-banner { min-height: 60vh; padding: clamp(4rem, 8vw, 6rem) 0; }
  .cta { padding: clamp(3rem, 6vw, 4.5rem) 0; }

  .cinema-panel { min-height: clamp(300px, 45vh, 400px); }
  .cinema-panel-grad {
    background: linear-gradient(0deg, rgba(2,5,8,0.9) 0%, rgba(2,5,8,0.5) 50%, transparent 100%) !important;
  }
  .cinema-panel:nth-child(odd) .cinema-panel-body,
  .cinema-panel:nth-child(even) .cinema-panel-body {
    margin: auto 0 0 0;
    text-align: left;
    max-width: 100%;
  }
  .cinema-panel:nth-child(even) .cinema-panel-body::before { margin-left: 0; }
  .cinema-panel:nth-child(even) .cinema-panel-cta { justify-content: flex-start; }
  .cinema-panel-body { padding: clamp(1.5rem, 5vw, 2rem); }
  .cinema-panel-body h3 { font-size: 1.3rem; }
  .portfolio-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "a a"
      "b c"
      "d e"
      "f g"
      "h i";
  }
  .portfolio-item { min-height: 140px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .mindmap { display: none; }
  .mindmap-mobile { display: block; }
  .fc-map { display: none; }
  .proc-grid-wrap { display: block; }
  .proc-grid { grid-template-columns: repeat(2, 1fr); }
  .proc-card { text-align: center; align-items: center; }
  .proc-items li { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-open { grid-template-columns: 1fr; }
  .contact-info-area { position: static; }
  .form-row { grid-template-columns: 1fr; }

  /* Contact page redesign */
  .ct-layout { grid-template-columns: 1fr; }
  .ct-info { position: static; }
  .ct-row { grid-template-columns: 1fr; }
  .ct-card { border-radius: 12px; }
  .div-item { grid-template-columns: 1fr 24px; }
  .div-num { display: none; }
  .div-showcase { min-height: auto; padding: 0; }
  .div-showcase-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .milestone { grid-template-columns: 70px 1fr; gap: 1rem; }

  .footer-inner { flex-direction: column; align-items: center; gap: 0.5rem; }
  .footer-links { gap: 1rem; }

  /* About page — mobile layouts */
  .about-hero-video { min-height: 80vh; }
  .about-hero-title { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .manifesto-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .manifesto-grid::before { display: none; }
  .tech-pillars { grid-template-columns: 1fr; }
  .tech-pillar-num { font-size: 2.5rem; }
  .fc-map { display: none; }
  .fc-mobile { display: flex; flex-direction: column; align-items: center; padding-top: 1rem; }
  .team-dept-rows { grid-template-columns: 1fr; }
  .team-uniform-grid--4 { grid-template-columns: repeat(2, 1fr); }

  .validation-grid { grid-template-columns: 1fr; }
  .validation-mark { border-left: none; border-top: 1px solid var(--border); padding-top: 1.25rem; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .cta-btn { width: 100%; max-width: 320px; text-align: center; }

  /* Principles — stack 3 cards vertically on mobile */
  .principles-trio { grid-template-columns: 1fr; }
  .principle-card { min-height: clamp(320px, 60vw, 420px); }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .team-uniform-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .team-uniform-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .validation-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-bento {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
      "a a b"
      "c d e"
      "f g g"
      "h i i";
  }
  .portfolio-item { min-height: 140px; }
  .tech-pillars { grid-template-columns: repeat(2, 1fr); }
  .fc-map { display: none; }
  .fc-mobile { display: flex; flex-direction: column; align-items: center; padding-top: 1rem; }
  .proc-grid-wrap { display: block; }
  .proc-grid { grid-template-columns: repeat(2, 1fr); }
  .proc-card { text-align: center; align-items: center; }
  .proc-items li { justify-content: center; }
  .principles-trio { grid-template-columns: repeat(2, 1fr); }
  .principle-card:last-child { grid-column: 1 / -1; max-width: 50%; justify-self: center; }
  .contact-open { grid-template-columns: 1fr; }
  .ct-layout { grid-template-columns: 1fr; }
  .ct-info { position: static; }
}


@media (max-width: 480px) {
  .container { padding: 0 1.5rem; }

  /* Hero */
  .hero-logo-svg { height: clamp(2rem, 14vw, 3.5rem); }
  .hero-sub { font-size: 0.65rem; letter-spacing: 0.1em; padding: 0 1.5rem; }
  .hero-tag { font-size: 0.5rem; }
  .hero-actions { margin-top: 1.5rem; }
  .hero-btn { font-size: 0.65rem; padding: 0.6rem 1.2rem; }
  .hero-metrics { bottom: 1.5rem; gap: 1.5rem; }
  .hero-metric-value { font-size: clamp(1.2rem, 5vw, 1.5rem); }
  .hero-metric-label { font-size: 0.5rem; }

  /* Services showcase — small mobile */
  .svc-item { gap: 0.75rem; }
  .svc-num { display: none; }
  .svc-name { font-size: 0.95rem; }
  .svc-text { font-size: 0.7rem; }
  .site-pv { padding: 1.2rem; }
  .site-pv-title { font-size: 1rem; }

  /* Page header */
  .page-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .page-desc { font-size: 0.8rem; }

  /* Statement */
  .statement-text { font-size: clamp(1.1rem, 5vw, 1.5rem); }

  /* Metrics */
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric-value { font-size: clamp(2rem, 10vw, 2.5rem); }

  /* Cinema panels */
  .cinema-panels { padding: 0 0.75rem; gap: 0.5rem; }
  .cinema-panel { min-height: 240px; }
  .cinema-panel-body h3 { font-size: 1.1rem; }
  .cinema-panel-body p { font-size: 0.8rem; margin-bottom: 1rem; }

  /* Void banner */
  .void-banner { min-height: 50vh; padding: clamp(3rem, 6vw, 5rem) 0; }
  .void-content .sec-subtitle { font-size: 0.78rem; }

  /* Tighter spacing */
  .sec { padding: clamp(2rem, 5vw, 3rem) 0; }
  .sec + .sec { padding-top: clamp(2rem, 5vw, 3rem); }
  .why-title { margin-top: -1rem; margin-bottom: 1rem; }
  .cta { padding: clamp(3rem, 6vw, 4rem) 0; }

  /* Divisions capsules */
  .capsule-title { font-size: clamp(1.5rem, 7vw, 2rem); }
  .capsule-desc { font-size: 0.82rem; }
  .capsule-stack li { font-size: 0.58rem; padding: 0.3rem 0.6rem; }
  .capsule-deliverables li { font-size: 0.78rem; }
  .division-capsule { padding: clamp(1.2rem, 4vw, 1.5rem); border-radius: 16px; }
  .capsule-stage { width: calc(100% + clamp(2.4rem, 8vw, 3rem)); margin: calc(-1 * clamp(1.2rem, 4vw, 1.5rem)) calc(-1 * clamp(1.2rem, 4vw, 1.5rem)) 0.5rem; }

  /* Process grid — 1 column on small mobile */
  .proc-grid { grid-template-columns: 1fr; }
  .proc-card { text-align: center; align-items: center; }
  .proc-items li { justify-content: center; }

  /* Flowchart mobile (about page) */
  .fc-m-hub { font-size: 0.78rem; padding: 0.5rem 1.2rem; }
  .fc-m-trunk { height: 24px; }
  .fc-m-icon { font-size: 1.3rem; }
  .fc-m-label { font-size: 0.95rem; padding: 0.3rem 1rem; }
  .fc-m-leaves li { font-size: 0.78rem; padding: 0.25rem 0.6rem; }
  .fc-m-leaves li i { font-size: 0.75rem; }

  /* Títulos — não encostam na borda */
  .sec-label { margin-left: 0; }
  .why-title { font-size: clamp(1.3rem, 6vw, 1.8rem); }
  .about-hero-wrap { padding: 0 1.5rem; }
  .origem-lead { font-size: clamp(1rem, 4.5vw, 1.3rem); padding-right: 1rem; }
  .page-desc { padding-right: 0.5rem; }
  .cta-title { font-size: clamp(1.3rem, 6vw, 1.8rem); }

  /* Team */
  .team-dept-rows { grid-template-columns: 1fr; }
  .team-uniform-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .team-uniform-grid--4 { grid-template-columns: repeat(2, 1fr); }

  /* About hero */
  .about-hero-video { min-height: 70vh; }
  .about-hero-title { font-size: clamp(1.4rem, 6vw, 2rem); }
  .about-hero-sub { font-size: 0.8rem; }

  /* Principles */
  .principle-card { min-height: 280px; }

  /* Contact */
  .contact-detail-value { font-size: 0.8rem; word-break: break-word; }
  .ct-card { padding: 1.5rem; }
  .ct-card-glow { width: 200px; height: 200px; }
  .ct-info-value { font-size: 0.8rem; word-break: break-word; }
  .ct-submit { font-size: 0.72rem; padding: 0.9rem 1.5rem; }
  .ct-faq-title { font-size: clamp(1.2rem, 5vw, 1.6rem); }

  /* FAQ */
  .faq-question span:first-child { font-size: 0.85rem; }

  /* Footer */
  .footer-inner { padding: 1.5rem 1rem; gap: 0.4rem; }
  .footer-inner span { font-size: 0.6rem; text-align: center; }

  /* CTA */
  .cta-title { font-size: clamp(1.4rem, 6vw, 2rem); }
  .cta-desc { font-size: 0.8rem; }

  /* Calendar */
  .cal-wrap { padding: 1.2rem; border-radius: 18px; }
  .cal-day { font-size: 0.78rem; border-radius: 10px; }
  .cal-grid { gap: 4px; }
  .cal-month { font-size: 1rem; }
  .cal-nav { width: 34px; height: 34px; font-size: 0.7rem; }
  .cal-weekdays { font-size: 0.6rem; }
}

/* ── Contact FAB + Modal ── */
.contact-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(78,138,203,0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(78,138,203,0.5);
}
.contact-fab svg { width: 24px; height: 24px; }

.contact-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(2,5,8,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.contact-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal {
  position: relative;
  width: 90%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s var(--ease);
}
.contact-modal-overlay.active .contact-modal {
  transform: translateY(0) scale(1);
}

.contact-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}
.contact-modal-close:hover { color: #fff; }

.contact-modal-title {
  display: block;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

@media (max-width: 480px) {
  .contact-fab { bottom: 1.2rem; right: 1.2rem; width: 48px; height: 48px; }
  .contact-fab svg { width: 20px; height: 20px; }
  .contact-modal { padding: 1.2rem; border-radius: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .char-wrap span { transform: none; animation: none; opacity: 1; }
  .hero-tag, .hero-sub { opacity: 1; animation: none; }
  .reveal, .reveal-left, .reveal-scale { opacity: 1; transform: none; transition: none; }
  .split-text .word { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; }
}
