/* ============================================================
   BeC System — Design System
   Stack: Outfit (sans) + Instrument Serif (display)
   Palette: --bec #2563eb (blue) over dark #080c14 / white #fff
   ============================================================ */

:root {
  /* Brand */
  --bec: #2563eb;
  --bec-dark: #1d4ed8;
  --bec-light: #dbeafe;
  --bec-pale: #eff6ff;
  --bec-glow: rgba(37, 99, 235, .14);

  /* Light text/surface */
  --ink: #0c1224;
  --slate: #334155;
  --muted: #64748b;
  --faint: #94a3b8;
  --surface: #f8fafb;
  --white: #ffffff;
  --border: #e2e8f0;

  /* Dark sections */
  --dark: #080c14;
  --dark-2: #0f172a;
  --dark-border: rgba(255, 255, 255, .08);
  --dark-muted: #94a3b8;
  --dark-faint: #64748b;

  /* Shadows */
  --sh-sm: 0 1px 4px rgba(0, 0, 0, .06);
  --sh-md: 0 4px 20px rgba(0, 0, 0, .08);
  --sh-lg: 0 12px 48px rgba(0, 0, 0, .13);
  --sh-xl: 0 24px 64px rgba(0, 0, 0, .18);

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;

  /* Transitions */
  --t: .22s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--white);
  color: var(--slate);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ── */
.serif { font-family: 'Instrument Serif', serif; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; }

/* ── Layout ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bec);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--bec);
  border-radius: 2px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--t);
  padding: 14px 28px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--bec);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 99, 235, .35);
}
.btn-primary:hover {
  background: var(--bec-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 99, 235, .4);
}

.btn-ghost-dark {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, .22);
}
.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .4);
}

.btn-outline {
  background: transparent;
  color: var(--bec);
  border: 1.5px solid var(--bec);
}
.btn-outline:hover {
  background: var(--bec-pale);
}

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 9999;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
  /* starts transparent over dark hero */
  background: transparent;
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: var(--sh-sm);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 38px;
  width: auto;
  transition: filter var(--t);
}

/* logo branco no dark, escuro quando nav scrollada */
#navbar.scrolled .nav-logo img { filter: invert(1) brightness(.15); }

.nav-logo span {
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  transition: color var(--t);
}
#navbar.scrolled .nav-logo span { color: var(--ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  font-size: .86rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .75);
  padding: 8px 13px;
  border-radius: 8px;
  transition: all var(--t);
}
.nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }

#navbar.scrolled .nav-links a { color: var(--muted); }
#navbar.scrolled .nav-links a:hover { color: var(--bec); background: var(--bec-pale); }

.nav-cta {
  background: var(--bec) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 100px !important;
  font-weight: 700 !important;
  margin-left: 8px;
}
.nav-cta:hover {
  background: var(--bec-dark) !important;
  transform: translateY(-1px);
}

/* Language dropdown */
.nav-lang {
  position: relative;
  margin-left: 4px;
}
.nav-lang-btn {
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .65);
  background: none;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  padding: 6px 11px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: all var(--t);
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-lang-btn:hover { border-color: rgba(255, 255, 255, .4); color: var(--white); }
#navbar.scrolled .nav-lang-btn { color: var(--muted); border-color: var(--border); }
#navbar.scrolled .nav-lang-btn:hover { color: var(--ink); }

.nav-lang-drop {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-lg);
  overflow: hidden;
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--t);
}
.nav-lang:hover .nav-lang-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-lang-drop a {
  display: block;
  font-size: .83rem;
  color: var(--muted) !important;
  padding: 10px 16px;
  background: none !important;
  transition: background var(--t), color var(--t) !important;
}
.nav-lang-drop a:hover { background: var(--surface) !important; color: var(--ink) !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--t);
}
#navbar.scrolled .nav-hamburger span { background: var(--ink); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 72px; left: 0;
  width: 100%;
  background: var(--dark-2);
  border-top: 1px solid var(--dark-border);
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  z-index: 9998;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .75);
  padding: 12px 16px;
  border-radius: var(--r-sm);
  transition: all var(--t);
}
.nav-mobile a:hover { color: var(--white); background: rgba(255, 255, 255, .07); }
.nav-mobile .nav-cta {
  text-align: center;
  justify-content: center;
  margin-top: 8px;
}

/* ── HERO ── */
.hero {
  background: var(--dark);
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

/* grid pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* radial glow */
.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(37, 99, 235, .13) 0%, transparent 68%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .74rem;
  font-weight: 700;
  color: #93c5fd;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid rgba(147, 197, 253, .22);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.07;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -.02em;
}

.hero h1 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: #93c5fd;
  font-weight: 400;
}

.hero-sub {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.72;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.metric-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: 8px 16px;
  border-radius: 100px;
}
.metric-chip strong { color: #60a5fa; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ── CLIENTS STRIP ── */
.clients-strip {
  background: #0b1120;
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  padding: 32px 0;
}

.clients-label {
  font-size: .72rem;
  font-weight: 600;
  color: var(--dark-faint);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 24px;
}

.clients-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px 48px;
  opacity: .5;
  filter: grayscale(1) brightness(1.8);
  transition: opacity var(--t), filter var(--t);
}
.clients-grid:hover { opacity: .75; filter: grayscale(.3) brightness(1.4); }
.clients-grid img { height: 28px; width: auto; object-fit: contain; }

/* Logo escuro que precisa de inversão no fundo dark */
.logo-invert img { filter: grayscale(1) invert(1) brightness(1.4) !important; }
.logo-invert img:hover { filter: grayscale(0) invert(0) brightness(1) !important; }

/* ── WHY BEC ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.why-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--bec-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-icon svg { width: 18px; height: 18px; color: var(--bec); }

.why-text strong { display: block; font-weight: 700; color: var(--ink); margin-bottom: 2px; font-size: .95rem; }
.why-text span { font-size: .88rem; color: var(--muted); }

.why-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--sh-xl);
}
.why-img img { width: 100%; height: 480px; object-fit: cover; }
.why-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(8, 12, 20, .4) 100%);
}

/* ── PORTFOLIO ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.portfolio-card {
  border: 1.5px solid var(--bec);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--white);
  transition: transform var(--t), box-shadow var(--t);
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(37, 99, 235, .12);
}

.portfolio-img {
  height: 200px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}
.portfolio-img img { max-height: 100%; object-fit: contain; transition: transform .4s; }
.portfolio-card:hover .portfolio-img img { transform: scale(1.05); }

.portfolio-body { padding: 24px; }
.portfolio-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 700;
  color: #059669;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.portfolio-status::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.portfolio-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.portfolio-market { font-size: .8rem; color: var(--bec); font-weight: 600; margin-bottom: 10px; }
.portfolio-body p { font-size: .86rem; color: var(--muted); line-height: 1.6; }

/* ── SERVICES ── */
.services-section { background: var(--surface); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--bec);
  box-shadow: var(--sh-md);
}

.service-icon {
  width: 44px;
  height: 44px;
  background: var(--bec-pale);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 22px; height: 22px; color: var(--bec); }

.service-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.service-card p { font-size: .86rem; color: var(--muted); margin-bottom: 18px; line-height: 1.6; }

.service-list { display: flex; flex-direction: column; gap: 7px; }
.service-list li {
  font-size: .82rem;
  color: var(--slate);
  padding-left: 16px;
  position: relative;
}
.service-list li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--bec);
  font-weight: 700;
}

/* ── BRIDGE STRIP (dark) ── */
.bridge-section {
  background: var(--dark-2);
  padding: 80px 0;
}

.bridge-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 48px;
}

.bridge-side { text-align: center; }
.bridge-flag { font-size: 2.5rem; margin-bottom: 12px; }
.bridge-title { font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.bridge-desc { font-size: .86rem; color: var(--dark-muted); line-height: 1.6; }

.bridge-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.bridge-arrow svg { width: 32px; height: 32px; color: var(--bec); opacity: .7; }

.bridge-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--dark-border);
}

.bridge-stat { text-align: center; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-md); padding: 32px 20px; }
.bridge-stat .num {
  font-size: 3rem;
  font-weight: 800;
  color: #60a5fa;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
  margin-bottom: 10px;
}
.bridge-stat .lbl { font-size: .88rem; color: var(--dark-muted); line-height: 1.5; }
.bridge-stat .src { font-size: .72rem; color: var(--dark-faint); margin-top: 6px; }

/* ── CTA SECTION ── */
.cta-section {
  background: #071020;
  border-top: 1px solid rgba(37,99,235,.18);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 50% 110%, rgba(37,99,235,.22), transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 0%, rgba(37,99,235,.08), transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.cta-section h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: #93c5fd;
  font-weight: 400;
}
.cta-section p {
  font-size: 1rem;
  color: #94a3b8;
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: #040810;
  border-top: 2px solid rgba(37,99,235,.15);
  padding: 60px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand img { height: 44px; width: auto; margin-bottom: 16px; }
.footer-brand p {
  font-size: .83rem;
  color: var(--dark-muted);
  line-height: 1.65;
  max-width: 220px;
}

.footer-col h4 {
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: .85rem;
  color: var(--dark-muted);
  margin-bottom: 10px;
  transition: color var(--t);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: .76rem; color: var(--dark-faint); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: .76rem; color: var(--dark-faint); transition: color var(--t); }
.footer-bottom-links a:hover { color: var(--white); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--dark);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 680px; }
.page-hero h1 {
  font-size: clamp(2.2rem,5vw,3.8rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.page-hero h1 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: #93c5fd;
  font-weight: 400;
}
.page-hero p {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.72;
  max-width: 540px;
}

/* ── CONTACT PAGE ── */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.contact-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  transition: border-color var(--t), box-shadow var(--t);
  display: flex;
  flex-direction: column;
}
.contact-card .btn { margin-top: auto; }
.contact-card:hover { border-color: var(--bec); box-shadow: var(--sh-lg); }
.contact-card.featured { border-color: var(--bec); background: var(--bec-pale); }
.contact-card-icon {
  width: 48px; height: 48px;
  background: var(--bec-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.contact-card.featured .contact-card-icon { background: rgba(37,99,235,.15); }
.contact-card-icon svg { width: 24px; height: 24px; color: var(--bec); }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.contact-card-price { font-size: .85rem; font-weight: 700; color: var(--bec); margin-bottom: 12px; }
.contact-card p { font-size: .87rem; color: var(--muted); line-height: 1.65; margin-bottom: 24px; }

.steps-section { background: var(--surface); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 24px;
  position: relative;
}
.step-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--bec);
  opacity: .15;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -.04em;
}
.step-card h3 { font-size: .98rem; margin-bottom: 8px; }
.step-card p { font-size: .83rem; color: var(--muted); line-height: 1.6; }

/* ── NOSOTROS PAGE ── */
.about-bio-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}
.about-photo {
  width: 280px; height: 320px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--bec-pale), #dbeafe);
  border: 2px solid var(--bec-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; font-weight: 900;
  color: var(--bec); letter-spacing: -.06em;
  overflow: hidden; flex-shrink: 0;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-bio-text h2 { font-size: clamp(1.7rem,3vw,2.4rem); font-weight: 800; margin-bottom: 6px; letter-spacing: -.02em; }
.about-bio-title { font-size: .9rem; color: var(--bec); font-weight: 600; margin-bottom: 20px; }
.about-bio-text p { font-size: .95rem; color: var(--muted); line-height: 1.78; margin-bottom: 14px; max-width: 520px; }
.about-stats { display: flex; gap: 20px; flex-wrap: wrap; margin: 24px 0; }
.about-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 20px 24px; min-width: 110px; }
.about-stat .n { font-size: 1.9rem; font-weight: 800; color: var(--bec); line-height: 1; }
.about-stat .l { font-size: .75rem; color: var(--muted); margin-top: 4px; line-height: 1.4; }

.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.office-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px 28px;
  transition: border-color var(--t), box-shadow var(--t);
}
.office-card:hover { border-color: var(--bec); box-shadow: var(--sh-md); }
.office-flag { font-size: 2.4rem; margin-bottom: 14px; }
.office-city { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.office-role { font-size: .8rem; color: var(--bec); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; }
.office-card p { font-size: .85rem; color: var(--muted); line-height: 1.6; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.value-card {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 28px 24px;
  border-left: 3px solid var(--bec);
}
.value-card h3 { font-size: 1rem; margin-bottom: 8px; }
.value-card p { font-size: .86rem; color: var(--muted); line-height: 1.65; }

/* ── CASOS PAGE ── */
.casos-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.caso-producto-card {
  border: 1.5px solid var(--bec);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  display: grid;
  grid-template-columns: 180px 1fr;
  transition: box-shadow var(--t), transform var(--t);
}
.caso-producto-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(37,99,235,.12); }
.caso-producto-img {
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.caso-producto-img img { max-width: 100%; max-height: 120px; object-fit: contain; }
.caso-producto-body { padding: 28px 24px; }
.caso-producto-body .portfolio-status { margin-bottom: 8px; }
.caso-producto-body h3 { font-size: 1.1rem; margin-bottom: 4px; }
.caso-producto-body .portfolio-market { margin-bottom: 10px; }
.caso-producto-body p { font-size: .85rem; color: var(--muted); line-height: 1.6; }
.caso-resultado {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 700;
  color: #059669;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 100px;
  padding: 4px 12px;
  margin-top: 10px;
}

.casos-clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.caso-client-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.caso-client-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.caso-client-img {
  height: 240px;
  background: #0a1628;
  background-image: radial-gradient(ellipse 80% 60% at 50% 110%, rgba(37,99,235,.22), transparent 70%);
  display: flex; align-items: center; justify-content: center;
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
}
.caso-client-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(10,22,40,.45) 100%);
  pointer-events: none;
}
.caso-client-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,.3)) brightness(1.08);
  transition: transform .3s ease;
}
/* Full-cover variant for screenshot cards */
.caso-client-img.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: none;
  max-height: none;
  max-width: none;
}
.caso-client-card:hover .caso-client-img img { transform: scale(1.04); }
.caso-client-body { padding: 24px; }
.caso-client-tag {
  font-size: .68rem; font-weight: 700;
  color: var(--faint); letter-spacing: .07em;
  text-transform: uppercase; margin-bottom: 6px;
}
.caso-client-body h3 { font-size: 1.05rem; margin-bottom: 10px; }
.caso-client-body p { font-size: .84rem; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.caso-deliverable {
  font-size: .78rem; color: var(--bec); font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.caso-deliverable::before { content: '→'; }

/* ── RESPONSIVE — inner pages ── */
@media (max-width: 900px) {
  .contact-cards { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .about-bio-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-photo { width: 160px; height: 190px; }
  .offices-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .casos-portfolio-grid { grid-template-columns: 1fr; }
  .caso-producto-card { grid-template-columns: 1fr; }
  .caso-producto-img { height: 160px; }
  .casos-clients-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr; }
  .about-stats { gap: 10px; }
}

/* ── COMPARISON (Las 3 trampas) ── */
.comparison-section { background: var(--surface); overflow: hidden; }
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
  align-items: end;   /* todos os fundos na mesma linha */
}

/* Base card */
.comparison-card {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px 20px;
  background: var(--white);
  position: relative;
  transition: box-shadow .2s ease, opacity .2s ease;
}

/* Escada por min-height crescente — fundos alinhados, topos em degrau */
.comparison-grid .comparison-card:nth-child(1) { min-height: 260px; opacity: .70; }
.comparison-grid .comparison-card:nth-child(2) { min-height: 320px; opacity: .80; }
.comparison-grid .comparison-card:nth-child(3) { min-height: 380px; opacity: .90; }

/* BeC — mais alto, sem opacidade, destaque total */
.comparison-card.highlight {
  min-height: 440px;
  border: 2px solid var(--bec);
  background: var(--white);
  opacity: 1;
  box-shadow: 0 20px 60px rgba(37,99,235,.16), 0 0 0 4px rgba(37,99,235,.07);
  z-index: 2;
  padding: 28px 24px;
}

.comparison-card:not(.highlight):hover {
  opacity: 1;
  box-shadow: var(--sh-md);
}
.comparison-card-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}
.comparison-card.highlight .comparison-card-label { color: var(--bec); }
.comparison-card h3 { font-size: .98rem; margin-bottom: 6px; }
.comparison-card .comparison-sub {
  font-size: .78rem;
  color: var(--faint);
  margin-bottom: 18px;
  line-height: 1.45;
}
.comparison-cons,
.comparison-pros { display: flex; flex-direction: column; gap: 8px; }
.comparison-con,
.comparison-pro {
  font-size: .8rem;
  line-height: 1.45;
  padding-left: 18px;
  position: relative;
  color: var(--muted);
}
.comparison-con::before {
  content: '✕';
  position: absolute; left: 0; top: 0;
  color: #ef4444;
  font-size: .7rem;
  font-weight: 900;
}
.comparison-pro::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--bec);
  font-weight: 700;
}
.comparison-pro { color: var(--slate); }

/* ── MODES (Dos formas de trabajar) ── */
.modes-section { background: var(--white); }
.modes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.mode-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: border-color var(--t), box-shadow var(--t);
  display: flex;
  flex-direction: column;
}
.mode-card:hover { border-color: var(--bec); box-shadow: var(--sh-lg); }
.mode-card.featured { border-color: var(--bec); }
.mode-icon {
  width: 52px; height: 52px;
  background: var(--bec-pale);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.mode-icon svg { width: 26px; height: 26px; color: var(--bec); }
.mode-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.mode-price {
  font-size: .88rem;
  font-weight: 700;
  color: var(--bec);
  margin-bottom: 16px;
  letter-spacing: -.01em;
}
.mode-card > p { font-size: .9rem; color: var(--muted); margin-bottom: 20px; line-height: 1.65; }
.mode-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 28px; }
.mode-list li {
  font-size: .84rem;
  color: var(--slate);
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
}
.mode-list li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px;
  background: var(--bec);
  border-radius: 50%;
}
.mode-equity {
  font-size: .77rem;
  color: var(--faint);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  line-height: 1.55;
  margin-bottom: 20px;
}

/* ── FRAMEWORK 3R (dark) ── */
.framework-section { background: var(--dark); }
.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.filter-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-md);
  padding: 32px 28px;
  transition: border-color var(--t);
}
.filter-card:hover { border-color: rgba(96,165,250,.35); }
.filter-r {
  line-height: 1;
  margin-bottom: 18px;
}
.filter-r .filter-emoji {
  font-size: 2.8rem;
  line-height: 1;
  display: block;
}
.filter-card h3 { font-size: 1.05rem; color: var(--white); margin-bottom: 10px; }
.filter-card p { font-size: .86rem; color: var(--dark-muted); line-height: 1.65; }
.framework-proof {
  margin-top: 48px;
  padding: 36px 40px;
  background: rgba(37,99,235,.1);
  border: 1px solid rgba(96,165,250,.25);
  position: relative;
  overflow: hidden;
}

.framework-proof::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #60a5fa, transparent);
}

.framework-proof::after {
  content: '"';
  position: absolute;
  right: 32px; bottom: -20px;
  font-size: 8rem;
  font-family: 'Instrument Serif', serif;
  color: rgba(96,165,250,.08);
  line-height: 1;
  pointer-events: none;
}

/* stats e texto */
.framework-proof {
  border-radius: var(--r-md);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.framework-proof-stats {
  display: flex;
  gap: 0;
  flex-shrink: 0;
  border-right: 1px solid rgba(96,165,250,.15);
  padding-right: 40px;
}
.framework-proof-stat {
  padding: 0 24px;
  border-right: 1px solid rgba(96,165,250,.1);
}
.framework-proof-stat:first-child { padding-left: 0; }
.framework-proof-stat:last-child { border-right: none; }
.framework-proof-stat .n {
  font-size: 2.2rem;
  font-weight: 900;
  color: #60a5fa;
  line-height: 1;
  letter-spacing: -.03em;
}
.framework-proof-stat .l {
  font-size: .7rem;
  color: var(--dark-muted);
  margin-top: 6px;
  line-height: 1.4;
}
.framework-proof-text {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  padding-left: 8px;
}
.framework-proof-text strong { color: #93c5fd; font-weight: 700; }

/* ── TEAM WHY (Por qué equipo brasileño) ── */
.team-why-section { background: var(--white); }
.team-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.team-why-text p {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 480px;
}
.team-why-text p + p { margin-top: 16px; }
.office-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.office-chip {
  font-size: .78rem;
  font-weight: 600;
  color: var(--bec);
  background: var(--bec-pale);
  border: 1px solid var(--bec-light);
  border-radius: 100px;
  padding: 6px 14px;
}
.team-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.team-stat {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 24px 20px;
  border: 1px solid var(--border);
}
.team-stat .n { font-size: 1.9rem; font-weight: 800; color: var(--bec); line-height: 1; margin-bottom: 6px; }
.team-stat .l { font-size: .8rem; color: var(--muted); line-height: 1.45; }

/* ── FOUNDER (Carlos Brandão) ── */
.founder-section { background: var(--surface); }
.founder-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}
.founder-avatar {
  width: 240px;
  height: 280px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--bec-pale) 0%, #dbeafe 100%);
  border: 2px solid var(--bec-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--bec);
  letter-spacing: -.06em;
  overflow: hidden;
  flex-shrink: 0;
}
.founder-avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder-name { font-size: 2rem; font-weight: 800; margin-bottom: 4px; letter-spacing: -.02em; }
.founder-title { font-size: .88rem; color: var(--bec); font-weight: 600; margin-bottom: 20px; }
.founder-bio { font-size: .93rem; color: var(--muted); line-height: 1.78; margin-bottom: 24px; max-width: 100%; }
.founder-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.founder-result {
  background: var(--white);
  border: 1.5px solid var(--bec-light);
  border-top: 3px solid var(--bec);
  border-radius: var(--r-md);
  padding: 18px 20px;
}
.founder-result .n { font-size: 1.75rem; font-weight: 900; color: var(--bec); line-height: 1; margin-bottom: 6px; letter-spacing: -.02em; }
.founder-result .l { font-size: .74rem; color: var(--muted); line-height: 1.45; }
.founder-links { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── CASES (client cases) ── */
.cases-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 60px 0 0;
}
.cases-intro { padding-top: 48px; margin-bottom: 24px; }
.cases-intro .section-label { color: var(--muted); }
.cases-intro .section-label::before { background: var(--muted); }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.case-img {
  height: 220px;
  background: #0a1628;
  background-image: radial-gradient(ellipse 80% 60% at 50% 110%, rgba(37,99,235,.18), transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
}
.case-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(10,22,40,.6) 100%);
  pointer-events: none;
}
.case-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.35));
  transition: transform .3s ease;
}
.case-card:hover .case-img img { transform: scale(1.04); }
.case-body { padding: 20px; }
.case-client {
  font-size: .68rem;
  font-weight: 700;
  color: var(--faint);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.case-body h4 { font-size: .98rem; color: var(--ink); margin-bottom: 6px; }
.case-body p { font-size: .81rem; color: var(--muted); line-height: 1.55; }

/* ── Fade-in animation (sem CDN) ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: .1s; }
.fade-up.delay-2 { transition-delay: .2s; }
.fade-up.delay-3 { transition-delay: .3s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .why-grid { gap: 48px; }
  .why-img img { height: 380px; }
}

@media (max-width: 900px) {
  .nav-links, .nav-lang { display: none; }
  .nav-hamburger { display: flex; }

  section { padding: 72px 0; }

  .why-grid { grid-template-columns: 1fr; }
  .why-img { order: -1; }
  .why-img img { height: 280px; }

  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }

  .comparison-grid { grid-template-columns: 1fr 1fr; }
  .modes-grid { grid-template-columns: 1fr 1fr; }
  .framework-grid { grid-template-columns: 1fr; }
  .framework-proof { grid-template-columns: 1fr; gap: 20px; }
  .framework-proof-stats { flex-wrap: wrap; gap: 20px; }
  .team-why-grid { grid-template-columns: 1fr; gap: 48px; }
  .founder-grid { grid-template-columns: 1fr; gap: 32px; }
  .founder-avatar { width: 160px; height: 190px; }
  .cases-grid { grid-template-columns: 1fr 1fr; }

  .bridge-grid { grid-template-columns: 1fr; }
  .bridge-arrow { transform: rotate(90deg); }
  .bridge-stats { grid-template-columns: 1fr 1fr; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-metrics { gap: 8px; }
  .metric-chip { font-size: .74rem; padding: 6px 12px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { justify-content: center; }

  .clients-grid { gap: 20px 32px; }
  .clients-grid img { height: 22px; }

  .comparison-grid { grid-template-columns: 1fr; }
  .modes-grid { grid-template-columns: 1fr; }
  .team-stats { grid-template-columns: 1fr 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .founder-results { gap: 10px; }

  .bridge-stats { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom-links { flex-direction: column; gap: 8px; }

  .portfolio-grid { grid-template-columns: 1fr; }

  .cta-btns { flex-direction: column; align-items: center; }
}
