:root {
  --navy: #0A1A2F;
  --navy-deep: #071322;
  --teal: #12A8B4;
  --teal-light: #0E9AA7;
  --teal-bright: #3ED0D8;
  --border: #E7EEF2;
  --border-soft: #E3EDF1;
  --border-mid: #E1EAEF;
  --text-body: #44596C;
  --text-muted: #5A6E7E;
  --text-nav: #3C5164;
  --text-dark-muted: #A9BFCD;
  --text-dark-faint: #8FA9BA;
  --text-dark-label: #5F7688;
  --text-scale-label: #7A8B98;
  --text-card-label: #93A6B2;
  --bg-tint: #F4FAFB;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--teal-light); text-decoration: none; }
a:hover { color: var(--navy); }

h1, h2, h3, h4, p, ul, li { margin: 0; padding: 0; }
ul { list-style: none; }

img { display: block; max-width: 100%; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

@keyframes fx-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link { display: flex; align-items: center; }
.logo { height: 26px; width: auto; display: block; }

.nav-desktop { display: flex; align-items: center; gap: 34px; }

.nav-list { display: flex; gap: 30px; align-items: center; }
.nav-list a {
  color: var(--text-nav);
  font-size: 14.5px;
  font-weight: 500;
  transition: color .15s ease;
}
.nav-list a:hover { color: var(--navy); }
.nav-list a.active { color: var(--navy); font-weight: 600; }

.btn-primary {
  background: var(--teal);
  color: var(--white);
  font-size: 14.5px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 10px;
  white-space: nowrap;
  display: inline-block;
  transition: background .15s ease;
}
.btn-primary:hover { background: var(--navy); color: var(--white); }
.btn-lg { font-size: 16px; padding: 17px 30px; border-radius: 12px; }
.btn-block { display: block; text-align: center; }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-mid);
  background: var(--white);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
  font-size: 18px;
  line-height: 1;
}

.nav-mobile {
  border-top: 1px solid var(--border);
  background: var(--white);
  padding: 14px 24px 20px;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile-list { display: flex; flex-direction: column; gap: 2px; }
.nav-mobile-list a {
  display: block;
  padding: 12px 0;
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
}
.nav-mobile .btn-primary { margin-top: 12px; padding: 15px 20px; }

/* ---------- Eyebrow / typography helpers ---------- */
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--teal);
  text-transform: uppercase;
}
.eyebrow-dark { color: var(--teal-bright); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-tint) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  padding: clamp(56px, 7vw, 100px) 24px clamp(52px, 6vw, 88px);
  animation: fx-rise .7s ease both;
}
.hero h1 {
  margin-top: 18px;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 800;
  max-width: 920px;
  text-wrap: balance;
}
.hero-lead {
  margin-top: 22px;
  font-size: clamp(16.5px, 1.35vw, 19px);
  line-height: 1.6;
  color: var(--text-body);
  max-width: 660px;
}

/* ---------- Vision section ---------- */
.section-vision { padding: clamp(64px, 8vw, 116px) 24px; }

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.vision-sticky { position: sticky; top: 112px; }
.vision-sticky h2 {
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 800;
  text-wrap: balance;
}
.vision-text { display: flex; flex-direction: column; gap: 22px; }
.vision-text p { font-size: 17px; line-height: 1.7; color: var(--text-body); }

.principles-grid {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.principle-card { background: var(--white); padding: 32px 28px; }
.principle-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--teal);
  letter-spacing: .06em;
}
.principle-card h3 {
  margin-top: 14px;
  font-size: 18.5px;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--navy);
}
.principle-card p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------- Dark "who we are" section ---------- */
.section-dark {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section-who::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(45% 60% at 80% 0%, rgba(18, 168, 180, .18), rgba(10, 26, 47, 0) 70%);
}
.who-grid {
  position: relative;
  padding: clamp(56px, 7vw, 96px) 24px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.who-grid h2 {
  margin-top: 18px;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 800;
  text-wrap: balance;
}
.who-text { font-size: 17px; line-height: 1.7; color: var(--text-dark-muted); }

/* ---------- Proof section ---------- */
.section-proof {
  background: var(--bg-tint);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proof-grid {
  padding: clamp(64px, 8vw, 110px) 24px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.proof-grid h2 {
  margin-top: 18px;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 800;
  text-wrap: balance;
}
.proof-lead {
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 440px;
}
.scale-list {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.scale-value {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy);
}
.scale-label {
  margin-top: 3px;
  font-size: 13.5px;
  color: var(--text-scale-label);
}
.btn-dark {
  display: inline-block;
  margin-top: 28px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  padding: 15px 24px;
  border-radius: 12px;
  transition: background .15s ease;
}
.btn-dark:hover { background: var(--teal); color: var(--white); }

.criterion-card {
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: clamp(28px, 3vw, 40px);
  background: var(--white);
}
.criterion-card h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--text-card-label);
  text-transform: uppercase;
}
.criterion-card p {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body);
}

/* ---------- CTA section ---------- */
.section-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 65% at 50% 100%, rgba(18, 168, 180, .22), rgba(10, 26, 47, 0) 70%);
}
.cta-inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(76px, 9vw, 128px) 24px;
  text-align: center;
}
.cta-inner h2 {
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.07;
  letter-spacing: -.035em;
  font-weight: 800;
  text-wrap: balance;
}
.cta-inner .btn-primary {
  margin-top: 30px;
  background: var(--teal);
}
.cta-inner .btn-primary:hover { background: var(--white); color: var(--navy); }

/* ---------- WhatsApp flutuante ---------- */
#fx-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.4);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--white); }
.footer-grid {
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.footer-brand .logo { align-self: flex-start; }
.footer-brand p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dark-faint);
  max-width: 280px;
}
.footer-email { font-size: 14.5px; color: var(--teal-bright); }
.footer-email:hover { color: var(--white); }

.footer-grid h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--text-dark-label);
  text-transform: uppercase;
}
.footer-grid ul { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.footer-grid ul a { font-size: 14.5px; color: var(--text-dark-muted); }
.footer-grid ul a:hover { color: var(--white); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .07); }
.footer-bottom .container {
  padding: 18px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--text-dark-label);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-desktop { display: none !important; }
  .burger { display: flex !important; }

  .vision-grid { grid-template-columns: 1fr !important; }
  .vision-sticky { position: static !important; }
  .principles-grid { grid-template-columns: repeat(2, 1fr) !important; }

  .who-grid { grid-template-columns: 1fr !important; }
  .proof-grid { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 620px) {
  .principles-grid { grid-template-columns: 1fr !important; }
}

/* =========================================================
   Shared components (Home, Soluções, Cases, Onde Atuamos,
   Contato, Case RB)
   ========================================================= */

.sticky-col { position: sticky; top: 112px; }

@keyframes fx-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.btn-outline {
  display: inline-block;
  background: var(--white);
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 26px;
  border-radius: 12px;
  border: 1px solid #DCE7EC;
  transition: border-color .15s ease, color .15s ease;
}
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }

.btn-invert { transition: background .15s ease, color .15s ease; }
.section-dark .btn-invert:hover { background: var(--white); color: var(--navy); }

/* Theme variants for repeated section blocks (area/case cards) */
.theme-light {
  --a-bg: #FFFFFF; --a-fg: var(--navy); --a-muted: var(--text-muted); --a-body: var(--text-body);
  --a-accent: var(--teal); --a-line: var(--border); --a-card: #FFFFFF; --a-soft: #7A8B98;
}
.theme-soft {
  --a-bg: var(--bg-tint); --a-fg: var(--navy); --a-muted: var(--text-muted); --a-body: var(--text-body);
  --a-accent: var(--teal); --a-line: var(--border-soft); --a-card: #FFFFFF; --a-soft: #7A8B98;
}
.theme-dark {
  --a-bg: var(--navy); --a-fg: #FFFFFF; --a-muted: var(--text-dark-muted); --a-body: #C8D8E2;
  --a-accent: var(--teal-bright); --a-line: rgba(255, 255, 255, .12); --a-card: var(--navy); --a-soft: #8FA9BA;
}

.area-section { background: var(--a-bg); color: var(--a-fg); border-bottom: 1px solid var(--a-line); }
.area-kicker { color: var(--a-accent); }
.area-lead { color: var(--a-muted); }
.area-label { color: var(--a-accent); }

/* Divider list — used for stacks, problems, features, points, delivered items */
.divided-list {
  display: flex; flex-direction: column; gap: 1px;
  background: var(--a-line, var(--border)); border: 1px solid var(--a-line, var(--border));
  border-radius: 16px; overflow: hidden;
}
.divided-list-item {
  background: var(--a-card, var(--white)); color: var(--a-body, var(--text-body));
  padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start;
}
.divided-list.cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; }
.dl-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); margin-top: 8px; flex: none; }

/* Pills */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  cursor: pointer; user-select: none; font-size: 14px; font-weight: 500;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--border-mid);
  background: var(--white); color: var(--text-nav); transition: all .18s ease;
}
.pill.active { border-color: var(--teal); background: var(--teal); color: var(--white); }
.pill-static {
  border: 1px solid var(--border-mid); background: var(--white); color: var(--text-nav);
  font-size: 14.5px; font-weight: 500; padding: 10px 18px; border-radius: 999px; display: block;
  transition: border-color .15s, color .15s;
}
.pill-static:hover { border-color: var(--teal); color: var(--navy); }

/* Metrics grid */
.metrics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--a-line, var(--border)); border: 1px solid var(--a-line, var(--border));
  border-radius: 14px; overflow: hidden;
}
.metric-card { background: var(--a-card, var(--white)); padding: 24px 22px; }
.metric-value { font-size: clamp(19px, 2.1vw, 28px); font-weight: 800; letter-spacing: -.02em; }
.metric-label { margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: var(--a-soft, var(--text-scale-label)); }

/* Content blocks (Contexto / Problema / Solução / Impacto) */
.content-block { padding-left: 20px; border-left: 2px solid var(--border-soft); }
.content-block h3 {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .1em;
  color: var(--teal); text-transform: uppercase;
}
.content-block p { margin-top: 10px; font-size: 16px; line-height: 1.65; color: var(--text-body); }

/* Two-column checklist / items grid */
.checklist-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.checklist-item { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--a-body, var(--text-body)); }

/* Segments grid (home) */
.segments-grid { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.segment-card {
  background: var(--white); border: 1px solid var(--border-soft); border-radius: 16px;
  padding: 28px 26px; display: flex; flex-direction: column; gap: 10px;
  transition: border-color .25s, transform .25s;
}
.segment-card:hover { border-color: var(--teal); transform: translateY(-3px); }
.segment-card h3 { font-size: 19px; font-weight: 700; color: var(--navy); letter-spacing: -.015em; line-height: 1.3; }
.segment-card p { font-size: 14.5px; line-height: 1.55; color: var(--text-muted); }
.link-arrow { font-size: 15.5px; font-weight: 600; color: var(--teal); border-bottom: 1px solid #BFE3E7; padding-bottom: 3px; }
.link-arrow:hover { color: var(--navy); border-color: var(--navy); }

/* Process steps (home) */
.process-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.process-item { border-top: 2px solid var(--teal); padding-top: 16px; }
.process-num { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #B7C7D0; }
.process-item h3 { margin-top: 10px; font-size: 16.5px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.process-item p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--text-muted); }

.builds-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 3.4vw, 48px); }
.problems-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 72px); }

/* Accordion (home "builds") */
.accordion { display: flex; flex-direction: column; gap: 6px; }
.accordion-item {
  cursor: pointer; border: 1px solid var(--border-soft); background: var(--white);
  border-radius: 14px; padding: 18px 20px; transition: border-color .2s, background .2s;
}
.accordion-item:hover { border-color: var(--teal); }
.accordion-item.active { border-color: var(--teal); background: #F7FCFC; }
.accordion-head { display: flex; align-items: center; gap: 14px; }
.accordion-num { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #B7C7D0; }
.accordion-item.active .accordion-num { color: var(--teal); }
.accordion-title { font-size: 17.5px; font-weight: 700; letter-spacing: -.015em; color: var(--navy); }
.accordion-body { display: none; margin-top: 9px; padding-left: 28px; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.accordion-item.active .accordion-body { display: block; }

.preview-panel {
  border-radius: 18px; border: 1px solid var(--border-mid); background: var(--navy);
  overflow: hidden; box-shadow: 0 40px 80px -55px rgba(10, 26, 47, .7);
}
.preview-bar { height: 38px; border-bottom: 1px solid rgba(255, 255, 255, .1); display: flex; align-items: center; gap: 8px; padding: 0 14px; }
.preview-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.preview-label { margin-left: 8px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #7E96A8; }
.preview-body { padding: clamp(26px, 3vw, 38px); background: var(--navy); }
.preview-headline { font-size: clamp(18px, 1.9vw, 23px); line-height: 1.45; font-weight: 700; letter-spacing: -.02em; color: var(--white); }
.preview-note { margin-top: 20px; font-size: 14.5px; line-height: 1.6; color: var(--text-dark-faint); }

/* Hero (home) */
.hero-home { position: relative; background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-tint) 100%); border-bottom: 1px solid var(--border); overflow: hidden; }
.hero-home-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(40px, 5vw, 64px); align-items: center; padding: clamp(56px, 6.5vw, 96px) 24px clamp(72px, 9vw, 128px); }
.badge-pill { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #CFE7EA; background: var(--white); border-radius: 999px; padding: 7px 14px 7px 10px; margin-bottom: 26px; }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: fx-pulse 2.4s ease-in-out infinite; }
.badge-text { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: .06em; color: var(--text-nav); text-transform: uppercase; }
.hero-home h1 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.hero-home h1 .accent { color: var(--teal); }
.hero-home-lead { margin-top: 24px; font-size: clamp(16.5px, 1.35vw, 19px); line-height: 1.6; color: var(--text-body); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-actions .btn-primary { box-shadow: 0 10px 24px -12px rgba(18, 168, 180, .9); }

.hero-stats { margin-top: 46px; padding-top: 30px; border-top: 1px solid #E2EDF0; }
.hero-stats-row { display: flex; align-items: flex-start; gap: clamp(32px, 4vw, 56px); }
.hero-stat-value { font-size: clamp(30px, 3vw, 40px); line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--teal); }
.hero-stat-label { margin-top: 9px; font-size: 13.5px; line-height: 1.4; color: var(--text-scale-label); }
.hero-stat-divider { width: 1px; align-self: stretch; background: #E2EDF0; }
.hero-note { margin-top: 26px; display: flex; align-items: center; gap: 9px; }
.hero-note-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); flex: none; }
.hero-note span.txt { font-size: 13px; color: #8A9DAA; }

.hero-visual { position: relative; }
.hero-visual-glow { position: absolute; inset: -12% -8%; background: radial-gradient(60% 55% at 60% 40%, rgba(18, 168, 180, .16), rgba(18, 168, 180, 0) 70%); pointer-events: none; }
.hero-card { position: relative; border-radius: 18px; border: 1px solid var(--border-mid); background: var(--white); box-shadow: 0 40px 80px -50px rgba(10, 26, 47, .55); padding: clamp(22px, 2.4vw, 32px); }
.hero-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid #EDF3F5; }
.hero-card-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .08em; color: var(--text-card-label); text-transform: uppercase; }
.hero-card-live { display: flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--teal); }
.hero-card-live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); animation: fx-pulse 2.4s ease-in-out infinite; }
.stack-list { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.stack-item { display: flex; align-items: center; gap: 14px; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; background: #FBFDFD; transition: border-color .25s, transform .25s; }
.stack-item:hover { border-color: var(--teal); transform: translateX(3px); }
.stack-num { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: #B7C7D0; flex: none; }
.stack-title { font-size: 15.5px; font-weight: 600; color: var(--navy); flex: none; }
.stack-line { flex: 1; height: 1px; background: linear-gradient(90deg, #DCE7EC, rgba(220, 231, 236, 0)); }
.stack-desc { font-size: 13.5px; color: var(--text-scale-label); text-align: right; }
.hero-card-footer { margin-top: 18px; display: flex; align-items: center; gap: 12px; background: var(--navy); border-radius: 12px; padding: 16px 18px; }
.hero-card-footer .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex: none; }
.hero-card-footer span.txt { font-size: 14.5px; color: var(--white); font-weight: 600; }

/* Case article (home) */
.section-cases-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.case-article { margin-top: 16px; border: 1px solid var(--border-soft); border-radius: 22px; overflow: hidden; background: var(--white); box-shadow: 0 40px 80px -60px rgba(10, 26, 47, .5); }
.section-cases-head + .case-article { margin-top: clamp(36px, 4vw, 52px); }
.case-article-grid { display: grid; grid-template-columns: .9fr 1.1fr; }
.case-article-left { padding: clamp(30px, 3.6vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.case-article-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.case-kicker { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .08em; color: var(--teal); text-transform: uppercase; }
.case-live { display: flex; align-items: center; gap: 7px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: #7A8B98; text-transform: uppercase; }
.case-live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.case-article-title { margin-top: 16px; font-size: clamp(24px, 2.7vw, 36px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; color: var(--navy); text-wrap: balance; }
.case-article-desc { margin-top: 16px; font-size: 16.5px; line-height: 1.65; color: var(--text-muted); max-width: 480px; }
.case-metrics { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 26px; }
.case-metric-value { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.case-metric-label { margin-top: 3px; font-size: 13px; color: var(--text-scale-label); }
.case-article-right { background: var(--navy); color: var(--white); padding: clamp(30px, 3.6vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.case-article-right h4 { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .1em; color: var(--teal-bright); text-transform: uppercase; }
.case-right-list { display: flex; flex-direction: column; gap: 1px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; overflow: hidden; }
.case-right-item { background: var(--navy); padding: 16px 18px; display: flex; align-items: center; gap: 14px; }
.case-right-item .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); flex: none; }
.case-right-item .title { font-size: 15px; font-weight: 600; flex: none; }
.case-right-item .line { flex: 1; height: 1px; background: rgba(255, 255, 255, .1); }
.case-right-item .desc { font-size: 13.5px; color: var(--text-dark-faint); text-align: right; }
.platform-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.platform-pill { border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); color: #D6E4EC; font-size: 14px; padding: 9px 15px; border-radius: 999px; }

/* CTA with points list (home) */
.cta-points-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.cta-points-list { display: flex; flex-direction: column; gap: 1px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; overflow: hidden; }
.cta-point-item { background: var(--navy); padding: 22px 24px; display: flex; gap: 14px; align-items: flex-start; }
.cta-point-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); margin-top: 8px; flex: none; }
.cta-point-title { font-size: 16px; font-weight: 700; }
.cta-point-desc { margin-top: 5px; font-size: 14.5px; line-height: 1.55; color: #9FB6C6; }

/* Split card (contact) */
.split-card { background: var(--white); border: 1px solid var(--border-soft); border-radius: 20px; box-shadow: 0 50px 90px -60px rgba(10, 26, 47, .5); display: grid; grid-template-columns: 1fr 1.3fr; overflow: hidden; animation: fx-rise .7s ease both; }
.split-card-aside { background: var(--navy); color: var(--white); padding: clamp(32px, 3.6vw, 50px); display: flex; flex-direction: column; justify-content: space-between; gap: 36px; }
.split-card-aside h1 { margin-top: 16px; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; }
.split-card-aside > div > p { margin-top: 16px; font-size: 16px; line-height: 1.65; color: var(--text-dark-muted); }
.split-card-main { padding: clamp(30px, 3.6vw, 50px); }
.promise-list { display: flex; flex-direction: column; gap: 14px; }
.promise-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: #C8D8E2; }
.contact-links { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.contact-links a { font-size: 15px; color: var(--teal-bright); }
.contact-links a:hover { color: var(--white); }

/* Form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 600; color: var(--text-nav); }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea {
  height: 50px; border: 1px solid #DDE8EC; border-radius: 11px; padding: 0 14px;
  font-size: 15px; color: var(--navy); outline: none; background: #FBFDFD; font-family: inherit;
}
.field textarea { height: auto; padding: 13px 14px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--teal); background: var(--white); }
.chip-toggle-list { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-toggle {
  cursor: pointer; user-select: none; font-size: 14px; font-weight: 500; padding: 10px 16px;
  border-radius: 999px; border: 1px solid #DDE8EC; background: var(--white); color: var(--text-nav);
  transition: all .18s ease;
}
.chip-toggle.active { border-color: var(--teal); background: var(--teal); color: var(--white); }
.form-submit {
  grid-column: 1 / -1; margin-top: 6px; height: 56px; border: none; border-radius: 12px;
  background: var(--teal); color: var(--white); font-size: 16px; font-weight: 700; cursor: pointer;
  box-shadow: 0 12px 26px -14px rgba(18, 168, 180, .95); transition: background .15s ease;
}
.form-submit:hover { background: var(--navy); }
.form-disclaimer { grid-column: 1 / -1; font-size: 12.5px; color: #8A9DAA; line-height: 1.5; }
.form-success { min-height: 380px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; }
.form-success[hidden] { display: none; }
.form-success-check { width: 46px; height: 46px; border-radius: 50%; background: #E8F7F8; color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 21px; font-weight: 700; }
.form-success h2 { font-size: 24px; font-weight: 700; color: var(--navy); }
.form-success p { font-size: 16px; line-height: 1.6; color: var(--text-muted); max-width: 420px; }

/* Case RB — hero images */
.case-hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.case-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 75% 10%, rgba(18, 168, 180, .24), rgba(10, 26, 47, 0) 70%); }
.case-hero-inner { position: relative; padding: clamp(40px, 5vw, 64px) 24px clamp(72px, 9vw, 120px); animation: fx-rise .7s ease both; }
.back-link { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: .06em; color: #7E96A8; }
.back-link:hover { color: var(--white); }
.case-hero-grid { margin-top: 34px; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
.case-hero-grid h1 { margin-top: 18px; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.case-hero-grid .lead { margin-top: 22px; font-size: clamp(16.5px, 1.35vw, 19px); line-height: 1.6; color: var(--text-dark-muted); max-width: 540px; }
.tag-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill { border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); color: #D6E4EC; font-size: 13.5px; padding: 8px 14px; border-radius: 999px; }
.case-hero-visual { position: relative; }
.hero-shot-frame { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .95); }
.hero-shot-frame img { display: block; width: 100%; height: auto; }
.float-phone { position: absolute; right: -4%; bottom: -16%; width: 23%; min-width: 108px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .2); background: var(--navy); padding: 4px; overflow: hidden; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .95); }
.float-phone img { display: block; width: 100%; height: auto; border-radius: 17px; }
@media (max-width: 1080px) { .float-phone { display: none !important; } }

/* Placeholder shot (used when a real screenshot asset isn't available yet) */
.shot-placeholder {
  width: 100%; height: 100%; min-height: 260px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0F2038, #16324f); color: #7E96A8;
  font-family: 'JetBrains Mono', monospace; font-size: 12.5px; letter-spacing: .06em; text-align: center; padding: 20px;
}

/* Screenshot browser-chrome frame with tabs (case-rb "product" viewer) */
.shot-viewer { border: 1px solid var(--border-mid); border-radius: 18px; overflow: hidden; background: var(--white); box-shadow: 0 40px 80px -55px rgba(10, 26, 47, .55); }
.shot-viewer-bar { height: 38px; border-bottom: 1px solid #EDF3F5; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #FAFCFD; }
.shot-viewer-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: #E3EAEE; }
.shot-viewer-bar .lbl { margin-left: 10px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-card-label); }
.shot-viewer-stage { aspect-ratio: 16/9; background: #061020; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.shot-viewer-stage img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.shot-viewer-stage img[hidden], .shot-viewer-stage .shot-placeholder[hidden] { display: none; }

/* App gallery (case-rb) */
.app-gallery { display: flex; gap: 18px; justify-content: center; align-items: flex-start; }
.app-gallery-item { width: 46%; min-width: 130px; border-radius: 26px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); overflow: hidden; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .9); }
.app-gallery-item img { display: block; width: 100%; height: auto; }
.app-gallery-item.offset { margin-top: 36px; }
.app-gallery-item .shot-placeholder { aspect-ratio: 9/19.5; min-height: 0; }

/* AI prompt list (case-rb) */
.ai-prompt-list { display: flex; flex-direction: column; gap: 10px; }
.ai-prompt-item { border: 1px solid var(--border-soft); background: var(--white); border-radius: 14px; padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start; transition: border-color .2s; }
.ai-prompt-item:hover { border-color: var(--teal); }
.ai-prompt-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); margin-top: 9px; flex: none; }
.ai-prompt-item span.txt { font-size: 16.5px; line-height: 1.5; color: var(--navy); font-weight: 500; }

.dual-card-grid { margin-top: clamp(48px, 6vw, 84px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-card { border: 1px solid var(--border-soft); border-radius: 18px; padding: clamp(28px, 3vw, 40px); background: #FAFCFD; }
.info-card h3 { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .1em; color: var(--text-card-label); text-transform: uppercase; }
.info-card-dark { border: 1px solid var(--navy); border-radius: 18px; padding: clamp(28px, 3vw, 40px); background: var(--navy); color: var(--white); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.info-card-dark h3 { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .1em; color: var(--teal-bright); text-transform: uppercase; }
.info-card-dark .headline { font-size: clamp(18px, 1.9vw, 24px); line-height: 1.4; font-weight: 700; letter-spacing: -.02em; text-wrap: pretty; }
.info-card-dark p.body { font-size: 15.5px; line-height: 1.65; color: var(--text-dark-muted); }

.cta-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-ghost-dark { border: 1px solid rgba(255, 255, 255, .24); color: var(--white); font-size: 16px; font-weight: 600; padding: 17px 30px; border-radius: 12px; transition: border-color .15s ease; }
.btn-ghost-dark:hover { border-color: var(--white); color: var(--white); }

/* Person credit (cases.html) */
.person-credit { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--a-line, var(--border)); }
.person-credit .name { font-size: 15px; font-weight: 700; }
.person-credit .role { font-size: 13.5px; color: var(--a-soft, var(--text-scale-label)); }
.note-quote { margin-top: 26px; border-left: 2px solid var(--teal); padding-left: 20px; }
.note-quote p { font-size: 16px; line-height: 1.6; color: var(--a-body, var(--text-body)); }

/* Legal pages (Privacidade / Termos) */
.legal-content { max-width: 760px; margin: 0 auto; padding: clamp(48px, 6vw, 80px) 24px clamp(80px, 9vw, 120px); }
.legal-content h1 { margin-top: 18px; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.legal-updated { margin-top: 14px; font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--text-scale-label); }
.legal-content h2 { margin-top: 44px; font-size: 22px; font-weight: 700; letter-spacing: -.015em; color: var(--navy); }
.legal-content h2:first-of-type { margin-top: 40px; }
.legal-content p { margin-top: 14px; font-size: 16px; line-height: 1.7; color: var(--text-body); }
.legal-content ul { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.legal-content ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.6; color: var(--text-body); }
.legal-content a { text-decoration: underline; text-underline-offset: 2px; }

/* Responsive */
@media (max-width: 1080px) {
  .hero-home-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .accordion-body { display: none; }
  .accordion-item.active .accordion-body { display: block; }
  .hero-home-grid,
  .cta-points-grid,
  .case-article-grid,
  .case-hero-grid,
  .split-card,
  .app-gallery,
  .checklist-grid,
  .dual-card-grid,
  .segments-grid,
  .process-grid,
  .metrics-grid,
  .builds-grid,
  .problems-grid,
  [data-area-grid],
  [data-case-head],
  [data-case-body],
  [data-contact-grid] { grid-template-columns: 1fr !important; }
  .segments-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .process-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .sticky-col { position: static !important; }
  .app-gallery-item.offset { margin-top: 0; }
}
@media (max-width: 620px) {
  .segments-grid, .metrics-grid, .process-grid, .checklist-grid, .divided-list.cols-2 { grid-template-columns: 1fr !important; }
  .form-grid { grid-template-columns: 1fr !important; }
}
