/* ══════════════════════════════════════
   GFM CUSTOS — Brand System CSS
   Cores: #1E4E79 (Azul Marinho), #3A7CA5 (Azul Médio)
   Tipografia: Montserrat + Open Sans
══════════════════════════════════════ */

/* ── RESET & BASE ─────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #1E4E79;
  --blue:      #3A7CA5;
  --blue-light:#5B9DC4;
  --blue-dark: #163B5C;
  --gray-50:   #F8FAFC;
  --gray-100:  #F1F5F9;
  --gray-200:  #E2E8F0;
  --gray-400:  #94A3B8;
  --gray-600:  #475569;
  --gray-800:  #1E293B;
  --green:     #16A34A;
  --green-light:#DCFCE7;
  --red:       #DC2626;
  --red-light: #FEE2E2;
  --yellow:    #D97706;
  --yellow-light:#FEF3C7;
  --white:     #FFFFFF;

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:     0 4px 16px rgba(0,0,0,.10);
  --shadow-md:  0 8px 30px rgba(0,0,0,.12);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.15);
  --shadow-navy:0 8px 30px rgba(30,78,121,.30);

  --transition: .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.25; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

.section { padding: 96px 0; }
.section--dark { background: var(--navy); }
.section--gray { background: var(--gray-50); }

/* ── SCROLL ANIMATION ─────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
[data-animate="fade-left"]  { transform: translateX(32px); }
[data-animate="fade-right"] { transform: translateX(-32px); }
[data-animate].visible {
  opacity: 1;
  transform: translate(0);
}

/* ── BUTTONS ─────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--sm { padding: 8px 18px; font-size: .83rem; }
.btn--full { width: 100%; justify-content: center; }

.btn--primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: var(--shadow-navy);
}
.btn--primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(30,78,121,.35); }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn--white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--white:hover { background: var(--gray-100); transform: translateY(-2px); }

.btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--outline-white:hover { background: rgba(255,255,255,.12); border-color: var(--white); transform: translateY(-2px); }

/* ── SECTION HEADER ─────────────────── */
.section__header { text-align: center; max-width: 680px; margin: 0 auto 56px; }

.section__badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 99px;
  background: rgba(30,78,121,.1);
  color: var(--navy);
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section__badge--light { background: rgba(255,255,255,.15); color: var(--white); }

.section__title { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--gray-800); margin-bottom: 16px; }
.section__title--light { color: var(--white); }

.section__subtitle { color: var(--gray-600); font-size: 1.05rem; }
.section__subtitle--light { color: rgba(255,255,255,.75); }

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 32px;
}

.nav__logo-img {
  height: 68px;
  width: auto;
  display: block;
  transition: opacity var(--transition);
}
.nav__logo:hover .nav__logo-img { opacity: .8; }
.footer__logo-img {
  filter: brightness(0) invert(1);
  opacity: .9;
}
.sobre__logo-img {
  height: 110px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--gray-800);
}
.nav__logo-icon {
  width: 38px; height: 38px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  color: var(--white);
  font-size: 1rem;
}
.nav__logo-text strong { color: var(--navy); }

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  color: var(--gray-600);
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  transition: all var(--transition);
}
.nav__link:hover, .nav__link.active { color: var(--navy); background: rgba(30,78,121,.07); }
.nav__cta { margin-left: 8px; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, var(--blue-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 24px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 99px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero__badge i { color: #4ade80; }

.hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero__title--highlight {
  background: linear-gradient(90deg, #93C5FD, #67E8F9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 28px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  width: fit-content;
}
.hero__stat { text-align: center; }
.hero__stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}
.hero__stat-number i { font-size: 1.5rem; color: rgba(255,255,255,.9); }
.hero__stat-label { font-size: .75rem; color: rgba(255,255,255,.7); }
.hero__stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.2); }

.hero__scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  font-family: var(--font-head);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ══════════════════════════════════════
   HERO DUAL VISUAL
══════════════════════════════════════ */
.hero__dual-wrap {
  position: relative;
  padding-bottom: 110px;
}

/* Site peek — floating browser over bottom-right of dashboard */
.hero__site-peek {
  position: absolute;
  bottom: 0; right: -16px;
  width: 58%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 28px 72px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.12);
  transform: rotate(-1.5deg);
  z-index: 5;
  font-family: var(--font-body);
}
.hsp__chrome {
  background: #EFEFEF; border-bottom: 1px solid #DDD;
  padding: 7px 10px; display: flex; align-items: center; gap: 8px;
}
.hsp__dots { display: flex; gap: 4px; }
.hsp__dots span { width: 8px; height: 8px; border-radius: 50%; }
.hsp__dots span:nth-child(1) { background: #FF5F57; }
.hsp__dots span:nth-child(2) { background: #FFBD2E; }
.hsp__dots span:nth-child(3) { background: #28C840; }
.hsp__url {
  flex: 1; background: #fff; border-radius: 5px; padding: 3px 8px;
  font-size: .56rem; color: #6B7280; display: flex; align-items: center; gap: 4px;
}
.hsp__url i { color: #10B981; font-size: .48rem; }
.hsp__nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; background: #0F1C2E;
}
.hsp__logo { font-weight: 800; font-size: .72rem; color: #fff; }
.hsp__nav-links { display: flex; gap: 10px; }
.hsp__nav-links span { font-size: .54rem; color: rgba(255,255,255,.6); font-weight: 600; }
.hsp__nav-cta {
  background: #3A7CA5; color: #fff;
  font-size: .52rem; font-weight: 700; padding: 4px 9px; border-radius: 14px;
}
.hsp__hero-body { background: #F0F6FF; padding: 12px 14px 20px; position: relative; }
.hsp__tag {
  font-size: .46rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  color: #1E4E79; background: rgba(30,78,121,.1);
  display: inline-block; padding: 2px 8px; border-radius: 12px; margin-bottom: 6px;
}
.hsp__headline {
  font-family: var(--font-head); font-size: .88rem; font-weight: 900;
  color: #111827; line-height: 1.2; margin-bottom: 9px;
}
.hsp__btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: #1E4E79; color: #fff; font-size: .58rem; font-weight: 700;
  padding: 5px 11px; border-radius: 7px;
}
.hsp__fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 48px;
  background: linear-gradient(to bottom, transparent, #F0F6FF);
  pointer-events: none;
}

/* ══════════════════════════════════════
   DASHBOARD PRO
══════════════════════════════════════ */
.dash-pro {
  display: grid;
  grid-template-columns: 54px 1fr;
  background: #0F1C2E;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0,0,0,.5),
    0 0 0 1px rgba(255,255,255,.07),
    inset 0 1px 0 rgba(255,255,255,.06);
  font-family: var(--font-head);
  position: relative;
}

/* ── Sidebar ─────────────────────────── */
.dash-pro__sidebar {
  background: #080F1C;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0 12px;
  border-right: 1px solid rgba(255,255,255,.06);
  gap: 2px;
}
.dash-pro__brand {
  color: #5B9DC4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-bottom: 14px;
}
.dash-pro__brand i   { font-size: .9rem; }
.dash-pro__brand span {
  font-size: .44rem;
  font-weight: 800;
  letter-spacing: .12em;
  opacity: .8;
  text-transform: uppercase;
}
.dash-pro__nav { display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 0 5px; }
.dash-pro__nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7px 4px;
  border-radius: 8px;
  color: rgba(255,255,255,.28);
  font-size: .4rem;
  font-weight: 600;
  gap: 3px;
  letter-spacing: .02em;
}
.dash-pro__nav-item i { font-size: .72rem; }
.dash-pro__nav-item--active {
  background: rgba(58,124,165,.18);
  color: #7FC0E8;
  border: 1px solid rgba(58,124,165,.2);
}
.dash-pro__live-badge {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,.28);
  font-size: .38rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.dash-pro__live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 2px rgba(74,222,128,.25);
  animation: dashLivePulse 2s ease-in-out infinite;
}
@keyframes dashLivePulse {
  0%,100% { box-shadow: 0 0 0 2px rgba(74,222,128,.25); }
  50%      { box-shadow: 0 0 0 5px rgba(74,222,128,.1); }
}

/* ── Main area ───────────────────────── */
.dash-pro__main {
  background: #111E30;
  padding: 13px 13px 11px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

/* Top bar */
.dash-pro__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dash-pro__page-title { display: flex; flex-direction: column; gap: 1px; }
.dash-pro__page-title span {
  font-size: .66rem; font-weight: 700; color: #fff; letter-spacing: .01em;
}
.dash-pro__page-title small {
  font-size: .5rem; color: rgba(255,255,255,.38); font-weight: 500;
}
.dash-pro__period-btn {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: .48rem;
  color: rgba(255,255,255,.55);
  display: flex; align-items: center; gap: 4px;
}

/* KPI cards */
.dash-pro__kpis {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 5px;
}
.dash-pro__kpi {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  padding: 7px 7px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.dash-pro__kpi-icon {
  width: 24px; height: 24px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .62rem;
}
.dash-pro__kpi--1 .dash-pro__kpi-icon { background: rgba(74,222,128,.12);  color: #4ADE80; }
.dash-pro__kpi--2 .dash-pro__kpi-icon { background: rgba(248,113,113,.12);  color: #F87171; }
.dash-pro__kpi--3 .dash-pro__kpi-icon { background: rgba(125,211,252,.12);  color: #7DD3FC; }
.dash-pro__kpi--4 .dash-pro__kpi-icon { background: rgba(252,211,77,.12);   color: #FCD34D; }
.dash-pro__kpi-label {
  font-size: .44rem; color: rgba(255,255,255,.38); font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; line-height: 1; margin-bottom: 2px;
}
.dash-pro__kpi-value {
  font-size: .78rem; font-weight: 800; color: #fff; line-height: 1.1;
}
.dash-pro__kpi-delta {
  font-size: .42rem; font-weight: 700; margin-top: 2px;
}
.dash-pro__kpi-delta--up   { color: #4ADE80; }
.dash-pro__kpi-delta--down { color: #F87171; }

/* Line chart card */
.dash-pro__chart-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 9px 10px 7px;
}
.dash-pro__chart-hd {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px;
}
.dash-pro__chart-title {
  font-size: .52rem; font-weight: 700;
  color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .07em;
}
.dash-pro__legend {
  display: flex; gap: 10px;
  font-size: .46rem; color: rgba(255,255,255,.42);
}
.dash-pro__ldot {
  display: inline-block;
  width: 10px; height: 2px; border-radius: 2px;
  vertical-align: middle; margin-right: 3px;
}
.dash-pro__ldot--blue  { background: #3A7CA5; }
.dash-pro__ldot--green { background: #16A34A; }

.dash-pro__chart-body { position: relative; }
.dash-pro__svg { display: block; width: 100%; height: 58px; }

/* SVG line animation */
.dash-pro__line {
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: dpDrawLine 1.6s cubic-bezier(.4,0,.2,1) forwards;
}
.dash-pro__line--blue  { stroke: #3A7CA5; animation-delay: .4s; }
.dash-pro__line--green { stroke: #16A34A; animation-delay: .7s; }
@keyframes dpDrawLine {
  to { stroke-dashoffset: 0; }
}

.dash-pro__dot {
  opacity: 0;
  animation: dpDotFade .4s ease forwards;
}
.dash-pro__dot--blue  { animation-delay: 2s; }
.dash-pro__dot--green { animation-delay: 2.1s; }
@keyframes dpDotFade { to { opacity: 1; } }

.dash-pro__xlabels {
  display: flex; justify-content: space-between;
  padding: 4px 0 0;
  font-size: .43rem; color: rgba(255,255,255,.28); font-weight: 600;
}

/* Bottom row */
.dash-pro__bottom {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 5px;
}

/* Cost bars */
.dash-pro__costs {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 8px 10px;
}
.dash-pro__section-title {
  font-size: .48rem; font-weight: 700;
  color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .07em;
  margin-bottom: 7px;
}
.dash-pro__cost-row {
  display: grid;
  grid-template-columns: 52px 1fr 22px;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
  font-size: .46rem;
  color: rgba(255,255,255,.45);
}
.dash-pro__cost-track {
  height: 4px;
  background: rgba(255,255,255,.07);
  border-radius: 99px;
  overflow: hidden;
}
.dash-pro__cost-fill {
  height: 100%;
  width: 0;
  background: var(--cc, #1E4E79);
  border-radius: 99px;
  animation: dpGrowBar .9s cubic-bezier(.4,0,.2,1) forwards;
}
.dash-pro__cost-row:nth-child(2) .dash-pro__cost-fill { animation-delay: .5s; }
.dash-pro__cost-row:nth-child(3) .dash-pro__cost-fill { animation-delay: .7s; }
.dash-pro__cost-row:nth-child(4) .dash-pro__cost-fill { animation-delay: .9s; }
@keyframes dpGrowBar { to { width: var(--cw, 0%); } }
.dash-pro__cost-pct {
  text-align: right; font-weight: 700; color: rgba(255,255,255,.65);
}

/* Donut card */
.dash-pro__donut-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex; flex-direction: column; align-items: center;
}
.dash-pro__donut {
  position: relative;
  width: 56px; height: 56px;
  margin: 3px auto 4px;
}
.dash-pro__donut svg { width: 100%; height: 100%; }
.dash-pro__donut-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  text-align: center; pointer-events: none;
}
.dash-pro__donut-center strong {
  display: block; font-size: .78rem; font-weight: 800; color: #fff; line-height: 1;
}
.dash-pro__donut-center span {
  font-size: .36rem; color: rgba(255,255,255,.38);
  text-transform: uppercase; letter-spacing: .06em;
}
.dash-pro__donut-legend {
  display: flex; flex-direction: column; gap: 4px; width: 100%;
}
.dash-pro__donut-legend span {
  display: flex; align-items: center; gap: 5px;
  font-size: .43rem; color: rgba(255,255,255,.42);
}
.dash-pro__donut-legend em {
  display: inline-block;
  width: 7px; height: 7px; border-radius: 2px; flex-shrink: 0;
}

/* ── Logo subtitle ───────────────────── */
.nav__logo-sub {
  display: block;
  font-size: .58rem;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 1px;
}
.footer__logo .nav__logo-sub { color: rgba(255,255,255,.35); }

/* ══════════════════════════════════════
   TICKER
══════════════════════════════════════ */
.ticker {
  background: var(--navy);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker__track { overflow: hidden; }
.ticker__items {
  display: inline-flex;
  gap: 48px;
  animation: ticker-scroll 22s linear infinite;
}
.ticker__items span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.75);
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.ticker__items span i { color: rgba(255,255,255,.4); }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   SOBRE
══════════════════════════════════════ */
.sobre__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sobre__card-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sobre__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  padding: 28px;
}
.sobre__card--main {
  grid-column: 1 / -1;
}
.sobre__card--main i {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 12px;
  display: block;
}
.sobre__card--main h3 { font-size: 1rem; margin-bottom: 8px; color: var(--navy); }
.sobre__card--main p  { font-size: .9rem; color: var(--gray-600); }

.sobre__card--float {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
  background: var(--navy);
  border: none;
  animation: float1 4s ease-in-out infinite;
}
.sobre__card--float-2 { animation-duration: 4.5s; animation-delay: .4s; }
.sobre__card--float i { font-size: 1.1rem; }
@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

.sobre__content { }
.sobre__content .section__badge { display: inline-block; margin-bottom: 12px; }
.sobre__content .section__title { margin-bottom: 20px; }
.sobre__text { color: var(--gray-600); margin-bottom: 16px; font-size: .98rem; }
.sobre__pillars { display: flex; flex-direction: column; gap: 10px; margin: 24px 0 32px; }
.sobre__pillars li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-700);
}
.sobre__pillars li i { color: var(--green); font-size: .9rem; }

/* ══════════════════════════════════════
   PROBLEMAS
══════════════════════════════════════ */
.problemas__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.problema-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.problema-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--red);
  opacity: 0;
  transition: opacity var(--transition);
}
.problema-card:hover { border-color: rgba(220,38,38,.25); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.problema-card:hover::before { opacity: 1; }

.problema-card__icon {
  width: 48px; height: 48px;
  background: var(--red-light);
  border-radius: var(--radius);
  display: grid; place-items: center;
  font-size: 1.2rem;
  color: var(--red);
  margin-bottom: 14px;
}
.problema-card h3 { font-size: .95rem; color: var(--gray-800); margin-bottom: 8px; }
.problema-card p  { font-size: .85rem; color: var(--gray-600); line-height: 1.6; }

.problemas__cta {
  text-align: center;
  padding: 36px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.problemas__cta p {
  color: rgba(255,255,255,.9);
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
}

/* ══════════════════════════════════════
   SERVIÇOS
══════════════════════════════════════ */
.servicos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.servicos__grid--4col {
  grid-template-columns: repeat(4, 1fr);
}
.servicos__grid--5 {
  grid-template-columns: repeat(6, 1fr);
}
.servicos__grid--5 .service-card:nth-child(-n+3) { grid-column: span 2; }
.servicos__grid--5 .service-card:nth-child(4)    { grid-column: span 3; }
.servicos__grid--5 .service-card:nth-child(5)    { grid-column: span 3; }

/* 3 cards + 1 wide card layout */
.servicos__grid--4op {
  grid-template-columns: repeat(3, 1fr);
}
.servicos__grid--4op .service-card:nth-child(4) {
  grid-column: 1 / -1;
}

/* Wide card horizontal layout */
.service-card--wide { padding: 32px 36px; }
.service-card__wide-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.service-card__wide-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
}
.service-card__pillar {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .92rem;
  color: rgba(255,255,255,.8);
}
.service-card__pillar i {
  color: #7FC0E8;
  font-size: .85rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.service-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: all var(--transition);
  cursor: default;
}
.service-card:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.service-card--featured {
  background: rgba(58,124,165,.25);
  border-color: rgba(58,124,165,.5);
}

.service-card__badge {
  position: absolute;
  top: -12px; right: 20px;
  background: var(--yellow);
  color: var(--white);
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.service-card__icon-wrap {
  width: 54px; height: 54px;
  border-radius: var(--radius);
  display: grid; place-items: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
  color: var(--white);
}
.service-card__icon-wrap--blue   { background: #3A7CA5; }
.service-card__icon-wrap--teal   { background: #0D9488; }
.service-card__icon-wrap--indigo { background: #4F46E5; }
.service-card__icon-wrap--yellow { background: #D97706; }
.service-card__icon-wrap--green  { background: #16A34A; }

.service-card__title { font-size: 1.05rem; color: var(--white); margin-bottom: 10px; }
.service-card__desc  { font-size: .88rem; color: rgba(255,255,255,.65); margin-bottom: 18px; line-height: 1.6; }
.service-card__list  { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.service-card__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .84rem;
  color: rgba(255,255,255,.8);
}
.service-card__list li i { color: #4ade80; font-size: .75rem; }

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.6);
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  transition: color var(--transition);
}
.service-card__link:hover { color: var(--white); }

/* ══════════════════════════════════════
   SEGMENTOS
══════════════════════════════════════ */

/* Selector */
.seg-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 44px;
}

.seg-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray-600);
  transition: all var(--transition);
  min-width: 86px;
  line-height: 1;
}
.seg-btn__emoji { font-size: 1.5rem; line-height: 1; }
.seg-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.seg-btn--active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-navy);
  transform: translateY(-2px);
}

/* Panels */
.seg-panel { display: none; }
.seg-panel--active {
  display: block;
  animation: segFadeIn .35s ease;
}
@keyframes segFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.seg-panel__inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Compact intro row */
.seg-panel__intro-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--gray-200);
}
.seg-panel__emoji { font-size: 2.2rem; line-height: 1; flex-shrink: 0; }
.seg-panel__title {
  font-size: 1.2rem;
  font-family: var(--font-head);
  color: var(--gray-800);
  margin-bottom: 5px;
}
.seg-panel__desc {
  color: var(--gray-600);
  line-height: 1.65;
  font-size: .88rem;
}

/* Dual visual row */
.seg-panel__visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.seg-panel__visual-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.seg-panel__visual-block .seg-dash { position: relative; top: auto; }
.seg-panel__visual-title {
  display: flex; align-items: center; gap: 8px;
  font-size: .68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; color: var(--navy);
}
.seg-panel__visual-title i { color: var(--blue); font-size: .75rem; }

/* Solutions grid */
.seg-solutions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.seg-solution {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px 16px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.seg-solution:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--blue-light);
}
.seg-solution__icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(30,78,121,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  font-size: .88rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.seg-solution h4 {
  font-size: .82rem;
  font-family: var(--font-head);
  color: var(--gray-800);
  margin-bottom: 8px;
}
.seg-solution ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.seg-solution ul li {
  font-size: .76rem;
  color: var(--gray-600);
  padding-left: 12px;
  position: relative;
  line-height: 1.4;
}
.seg-solution ul li::before {
  content: '▸';
  position: absolute; left: 0;
  color: var(--navy); font-size: .65rem; top: 1px;
}
.seg-panel__cta { margin-top: 4px; }

/* ── Segment Dashboard (sd__) ───────── */
.seg-dash {
  display: grid;
  grid-template-columns: 54px 1fr;
  background: #0F1C2E;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.07), inset 0 1px 0 rgba(255,255,255,.05);
  font-family: var(--font-head);
  position: sticky;
  top: 100px;
}

/* Sidebar */
.sd__sidebar {
  background: #080F1C;
  display: flex; flex-direction: column; align-items: center;
  padding: 14px 0 12px;
  border-right: 1px solid rgba(255,255,255,.06);
  gap: 2px;
}
.sd__brand {
  color: #5B9DC4;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  margin-bottom: 12px;
}
.sd__brand i { font-size: .9rem; }
.sd__brand span { font-size: .44rem; font-weight: 800; letter-spacing: .12em; opacity: .8; text-transform: uppercase; }
.sd__nav { display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 0 5px; }
.sd__nav-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 7px 4px; border-radius: 8px;
  color: rgba(255,255,255,.28); font-size: .4rem; font-weight: 600; gap: 3px; letter-spacing: .02em;
}
.sd__nav-item i { font-size: .72rem; }
.sd__nav-item--active { background: rgba(58,124,165,.18); color: #7FC0E8; border: 1px solid rgba(58,124,165,.2); }
.sd__live {
  margin-top: auto;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: rgba(255,255,255,.28); font-size: .38rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
}
.sd__live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #4ADE80;
  box-shadow: 0 0 0 2px rgba(74,222,128,.25);
  animation: dashLivePulse 2s ease-in-out infinite;
}

/* Main */
.sd__main {
  background: #111E30;
  padding: 13px 13px 11px;
  display: flex; flex-direction: column; gap: 9px;
}

/* Topbar */
.sd__topbar { display: flex; justify-content: space-between; align-items: center; }
.sd__page-title { display: flex; flex-direction: column; gap: 1px; }
.sd__page-title span { font-size: .66rem; font-weight: 700; color: #fff; }
.sd__page-title small { font-size: .5rem; color: rgba(255,255,255,.38); font-weight: 500; }
.sd__period-btn {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); border-radius: 6px;
  padding: 4px 8px; font-size: .48rem; color: rgba(255,255,255,.55);
  display: flex; align-items: center; gap: 4px;
}

/* KPIs */
.sd__kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; }
.sd__kpi {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px; padding: 7px; display: flex; align-items: center; gap: 6px;
}
.sd__kpi-icon {
  width: 24px; height: 24px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .6rem;
}
.sd__kpi--1 .sd__kpi-icon { background: rgba(74,222,128,.12);  color: #4ADE80; }
.sd__kpi--2 .sd__kpi-icon { background: rgba(125,211,252,.12);  color: #7DD3FC; }
.sd__kpi--3 .sd__kpi-icon { background: rgba(252,211,77,.12);   color: #FCD34D; }
.sd__kpi--4 .sd__kpi-icon { background: rgba(248,113,113,.12);  color: #F87171; }
.sd__kpi-label { font-size: .43rem; color: rgba(255,255,255,.38); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.sd__kpi-value { font-size: .76rem; font-weight: 800; color: #fff; line-height: 1.1; }
.sd__kpi-delta { font-size: .42rem; font-weight: 700; margin-top: 1px; }
.sd__kpi-delta--up   { color: #4ADE80; }
.sd__kpi-delta--down { color: #F87171; }

/* Chart card */
.sd__chart-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px; padding: 9px 10px 6px;
}
.sd__chart-hd { margin-bottom: 6px; }
.sd__chart-title { font-size: .5rem; font-weight: 700; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .07em; }
.sd__chart-legend { display: flex; gap: 10px; font-size: .45rem; color: rgba(255,255,255,.4); margin-top: 3px; }
.sd__ldot { display: inline-block; width: 10px; height: 2px; border-radius: 2px; vertical-align: middle; margin-right: 3px; }
.sd__chart-body { position: relative; }
.sd__svg { display: block; width: 100%; }

/* SVG line animation */
.sd__line {
  stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: dpDrawLine 1.8s cubic-bezier(.4,0,.2,1) forwards;
  animation-delay: .5s;
}
.sd__xlabels { display: flex; justify-content: space-between; padding: 3px 0 0; font-size: .43rem; color: rgba(255,255,255,.28); font-weight: 600; }

/* Bottom row */
.sd__bottom { display: grid; grid-template-columns: 1.6fr 1fr; gap: 6px; }

/* Top list */
.sd__top-list {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px; padding: 8px 10px;
}
.sd__section-title { font-size: .48rem; font-weight: 700; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 7px; }
.sd__top-item { display: grid; grid-template-columns: 60px 1fr 36px; align-items: center; gap: 6px; margin-bottom: 5px; }
.sd__top-name { font-size: .46rem; color: rgba(255,255,255,.55); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd__top-track { height: 4px; background: rgba(255,255,255,.07); border-radius: 99px; overflow: hidden; }
.sd__top-fill { height: 100%; border-radius: 99px; }
.sd__top-val { font-size: .46rem; color: rgba(255,255,255,.65); font-weight: 700; text-align: right; }

/* Donut card */
.sd__donut-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px; padding: 8px 10px;
  display: flex; flex-direction: column; align-items: center;
}
.sd__donut { position: relative; width: 58px; height: 58px; margin: 3px auto 4px; }
.sd__donut svg { width: 100%; height: 100%; }
.sd__donut-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  text-align: center; pointer-events: none;
}
.sd__donut-center strong { display: block; font-size: .8rem; font-weight: 800; color: #fff; line-height: 1; }
.sd__donut-center span { font-size: .36rem; color: rgba(255,255,255,.38); text-transform: uppercase; letter-spacing: .06em; }
.sd__donut-legend { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.sd__donut-legend span { display: flex; align-items: center; gap: 5px; font-size: .43rem; color: rgba(255,255,255,.42); }
.sd__donut-legend em { display: inline-block; width: 7px; height: 7px; border-radius: 2px; flex-shrink: 0; }

/* SVG bar chart animation */
.sd__bar {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: sdBarGrow .7s cubic-bezier(.4,0,.2,1) both;
}
@keyframes sdBarGrow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

/* ERP Badge — hero and segment dashboards */
.erp-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(16,185,129,.14); border: 1px solid rgba(16,185,129,.28);
  color: #10B981; font-size: .44rem; font-weight: 800;
  padding: 3px 8px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .06em; white-space: nowrap;
}
.erp-badge i { font-size: .44rem; }
.dash-pro__topbar .erp-badge,
.sd__topbar .erp-badge { margin-left: auto; margin-right: 6px; }

/* ══════════════════════════════════════
   SITE MOCK — Browser preview
══════════════════════════════════════ */
.site-mock-wrap {
  margin-top: 40px; padding-top: 36px;
  border-top: 2px dashed rgba(30,78,121,.1);
}
.site-mock-label {
  display: flex; align-items: center; gap: 9px;
  font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; color: var(--navy); margin-bottom: 16px;
}
.site-mock-label i { color: var(--blue); font-size: .85rem; }
.site-mock-label span { color: #64748B; font-size: .64rem; font-weight: 600; text-transform: none; letter-spacing: 0; }

/* Browser frame */
.site-mock {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 56px rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.07);
  overflow: hidden;
  font-family: var(--font-body);
}
.site-mock__chrome {
  background: #EFEFEF; border-bottom: 1px solid #DCDCDC;
  padding: 9px 14px; display: flex; align-items: center; gap: 10px;
}
.site-mock__dots { display: flex; gap: 5px; }
.site-mock__dot { width: 10px; height: 10px; border-radius: 50%; }
.site-mock__dot--red   { background: #FF5F57; }
.site-mock__dot--amber { background: #FFBD2E; }
.site-mock__dot--green { background: #28C840; }
.site-mock__url-bar {
  flex: 1; background: #fff; border-radius: 6px; border: 1px solid #DCDCDC;
  padding: 4px 10px; display: flex; align-items: center; gap: 6px;
  max-width: 340px; margin: 0 auto;
}
.site-mock__url-bar i { color: #10B981; font-size: .58rem; }
.site-mock__url-bar span { font-size: .64rem; color: #6B7280; font-weight: 500; }

/* Mini website inside browser */
.smk__nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px; border-bottom: 1px solid rgba(0,0,0,.07);
  background: var(--smk-header-bg, #fff);
}
.smk__logo {
  font-family: var(--font-head); font-size: .78rem; font-weight: 800;
  color: var(--smk-color, #1E4E79);
}
.smk__links { display: flex; gap: 16px; }
.smk__link { font-size: .58rem; color: rgba(255,255,255,.65); font-weight: 600; }
.smk__nav-cta {
  background: var(--smk-color, #1E4E79); color: #fff;
  font-size: .6rem; font-weight: 700; padding: 5px 13px; border-radius: 20px;
}

/* Hero section */
.smk__hero {
  display: grid; grid-template-columns: 1fr 80px;
  gap: 16px; align-items: center;
  padding: 20px 20px 16px;
  background: var(--smk-hero-bg, #F8FAFC);
}
.smk__tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--smk-color-10, rgba(30,78,121,.09));
  color: var(--smk-color, #1E4E79);
  font-size: .5rem; font-weight: 800; padding: 3px 9px; border-radius: 20px;
  margin-bottom: 7px; letter-spacing: .05em; text-transform: uppercase;
}
.smk__headline {
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 900;
  color: #111827; line-height: 1.2; margin-bottom: 7px;
}
.smk__sub { font-size: .58rem; color: #6B7280; line-height: 1.55; margin-bottom: 11px; }
.smk__cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--smk-color, #1E4E79); color: #fff;
  font-size: .64rem; font-weight: 700; padding: 7px 15px; border-radius: 8px;
}
.smk__hero-icon {
  width: 80px; height: 80px; border-radius: 16px; flex-shrink: 0;
  background: var(--smk-color-10, rgba(30,78,121,.09));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
}

/* Cards row */
.smk__cards {
  display: grid; grid-template-columns: repeat(3,1fr);
  border-top: 1px solid rgba(0,0,0,.07);
}
.smk__card {
  padding: 12px 16px; border-right: 1px solid rgba(0,0,0,.07);
}
.smk__card:last-child { border-right: none; }
.smk__card-icon {
  width: 28px; height: 28px; border-radius: 8px; margin-bottom: 7px;
  background: var(--smk-color-10, rgba(30,78,121,.09));
  display: flex; align-items: center; justify-content: center;
  color: var(--smk-color, #1E4E79); font-size: .7rem;
}
.smk__card-title { font-size: .62rem; font-weight: 800; color: #111827; margin-bottom: 3px; }
.smk__card-desc  { font-size: .55rem; color: #6B7280; line-height: 1.45; }

/* Responsive */
@media (max-width: 1024px) {
  .seg-panel__intro-row { grid-template-columns: auto 1fr; }
  .seg-panel__intro-row .seg-panel__cta { grid-column: 1 / -1; }
  .seg-panel__visuals { grid-template-columns: 1fr; gap: 24px; }
  .seg-dash { position: static; }
  .sd__kpis { grid-template-columns: repeat(2,1fr); }
  .sd__bottom { grid-template-columns: 1fr; }
  .smk__links { display: none; }
}
@media (max-width: 640px) {
  .seg-solutions { grid-template-columns: 1fr; }
  .seg-btn { min-width: 72px; padding: 10px 12px; font-size: .72rem; }
  .seg-btn__emoji { font-size: 1.3rem; }
}

/* ══════════════════════════════════════
   DIFERENCIAIS
══════════════════════════════════════ */
.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.diferencial-item {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.diferencial-item:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.diferencial-item__icon {
  width: 52px; height: 52px;
  background: rgba(30,78,121,.1);
  border-radius: var(--radius);
  display: grid; place-items: center;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 16px;
}
.diferencial-item h3 { font-size: 1rem; color: var(--gray-800); margin-bottom: 8px; }
.diferencial-item p  { font-size: .88rem; color: var(--gray-600); line-height: 1.6; }

/* ══════════════════════════════════════
   RESULTADOS
══════════════════════════════════════ */
.resultados__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.resultados__list { display: flex; flex-direction: column; gap: 28px; }
.resultado-item { display: flex; align-items: flex-start; gap: 18px; }
.resultado-item__icon {
  width: 50px; height: 50px;
  border-radius: var(--radius);
  display: grid; place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--white);
}
.resultado-item__icon--green  { background: var(--green); }
.resultado-item__icon--blue   { background: var(--blue); }
.resultado-item__icon--indigo { background: #4F46E5; }
.resultado-item__icon--yellow { background: var(--yellow); }
.resultado-item h3 { font-size: 1rem; color: var(--gray-800); margin-bottom: 5px; }
.resultado-item p  { font-size: .88rem; color: var(--gray-600); line-height: 1.6; }

/* Results Dashboard */
.results-dashboard {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  padding: 28px;
}
.results-dashboard__title {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.metric-bar { margin-bottom: 20px; }
.metric-bar__label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.metric-bar__pct { color: var(--navy); font-weight: 800; }
.metric-bar__track {
  height: 8px;
  background: var(--gray-100);
  border-radius: 99px;
  overflow: hidden;
}
.metric-bar__fill {
  height: 100%;
  width: var(--w);
  border-radius: 99px;
  animation: fillBar 1.5s ease forwards;
}
@keyframes fillBar {
  from { width: 0; }
  to   { width: var(--w); }
}
.metric-bar__fill--green  { background: var(--green); }
.metric-bar__fill--blue   { background: var(--blue); }
.metric-bar__fill--indigo { background: #4F46E5; }
.metric-bar__fill--yellow { background: var(--yellow); }

.results-dashboard__footer {
  display: flex;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
  margin-top: 8px;
}
.results-kpi { display: flex; flex-direction: column; }
.results-kpi span { font-size: .74rem; color: var(--gray-400); font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.results-kpi strong { font-size: 1.3rem; color: var(--navy); font-family: var(--font-head); font-weight: 800; }

/* ══════════════════════════════════════
   SOLUÇÕES
══════════════════════════════════════ */
.solucoes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.solucao-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  background: var(--white);
}
.solucao-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.solucao-card__preview {
  padding: 16px;
}
.solucao-card__preview--financial { background: linear-gradient(135deg, #EBF5FF 0%, #DBEAFE 100%); }
.solucao-card__preview--production { background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%); }
.solucao-card__preview--costs { background: linear-gradient(135deg, #FFF7ED 0%, #FEF3C7 100%); }
.solucao-card__preview--commercial { background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 100%); }

.preview-header {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.preview-dot { width: 8px; height: 8px; border-radius: 50%; }
.preview-dot--red    { background: #FF5F57; }
.preview-dot--yellow { background: #FEBC2E; }
.preview-dot--green  { background: #28C840; }
.preview-title {
  margin-left: 6px;
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  color: var(--gray-600);
}

.preview-kpis { display: flex; gap: 6px; margin-bottom: 12px; }
.preview-kpi {
  flex: 1;
  padding: 8px;
  border-radius: var(--radius-sm);
  text-align: center;
}
.preview-kpi--green  { background: rgba(22,163,74,.12); }
.preview-kpi--blue   { background: rgba(58,124,165,.12); }
.preview-kpi--red    { background: rgba(220,38,38,.1); }
.preview-kpi--yellow { background: rgba(217,119,6,.12); }
.preview-kpi__label { font-size: .6rem; font-family: var(--font-head); font-weight: 700; color: var(--gray-500); text-transform: uppercase; }
.preview-kpi__val   { font-size: .88rem; font-family: var(--font-head); font-weight: 800; color: var(--gray-800); }
.preview-kpi__tag   { font-size: .6rem; font-family: var(--font-head); font-weight: 700; color: var(--green); }

.preview-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
  padding: 0 4px;
}
.preview-bar {
  flex: 1;
  background: rgba(58,124,165,.25);
  border-radius: 3px 3px 0 0;
}
.preview-bar--highlight { background: var(--navy); }

.preview-donut-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 8px 0;
}
.preview-donut {
  width: 55px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.preview-donut svg { width: 50px; height: 50px; transform: rotate(-90deg); }
.preview-donut span { font-size: .68rem; font-family: var(--font-head); font-weight: 700; color: var(--gray-700); }

.preview-cost-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.preview-cost-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--gray-700);
}
.preview-cost-item > span:first-child { width: 80px; flex-shrink: 0; }
.preview-cost-bar {
  flex: 1;
  height: 6px;
  background: rgba(0,0,0,.07);
  border-radius: 99px;
  overflow: hidden;
}
.preview-cost-bar > div { height: 100%; border-radius: 99px; }

.preview-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,.08);
  font-size: .78rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--gray-700);
}
.preview-total strong { color: var(--navy); font-size: .95rem; }

.preview-line-chart { height: 60px; }
.preview-line-chart svg { width: 100%; height: 100%; }

.solucao-card__info {
  padding: 18px 20px;
  border-top: 1px solid var(--gray-100);
}
.solucao-card__info h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.solucao-card__info h3 i { color: var(--blue); }
.solucao-card__info p { font-size: .84rem; color: var(--gray-600); }

/* ══════════════════════════════════════
   CTA
══════════════════════════════════════ */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  overflow: hidden;
  padding: 96px 0;
}
.cta-section__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.06) 0%, transparent 40%);
}
.cta-section__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.cta-section__badge {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 99px;
  color: rgba(255,255,255,.9);
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cta-section__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 16px;
}
.cta-section__subtitle { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 36px; }
.cta-section__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.cta-features { display: flex; flex-direction: column; gap: 14px; }
.cta-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.9);
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
}
.cta-feature i { color: #4ade80; font-size: 1rem; }

/* ══════════════════════════════════════
   CONTATO
══════════════════════════════════════ */
.contato__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contato__channels { display: flex; flex-direction: column; gap: 16px; }

.contact-channel {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.contact-channel:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }

.contact-channel--whatsapp:hover  { border-color: #25D366; }
.contact-channel--email:hover     { border-color: var(--navy); }
.contact-channel--instagram:hover { border-color: #E1306C; }

.contact-channel__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: grid; place-items: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.contact-channel--whatsapp  .contact-channel__icon { background: #DCF8C6; color: #25D366; }
.contact-channel--email     .contact-channel__icon { background: rgba(30,78,121,.1); color: var(--navy); }
.contact-channel--instagram .contact-channel__icon { background: #FDEEF4; color: #E1306C; }

.contact-channel__info h3 { font-size: .95rem; color: var(--gray-800); margin-bottom: 3px; }
.contact-channel__info p  { font-size: .83rem; color: var(--gray-500); margin-bottom: 4px; }
.contact-channel__action  {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.contact-form__title {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  color: var(--gray-700);
  letter-spacing: .02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(58,124,165,.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-group textarea { resize: vertical; }
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233A7CA5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
  cursor: pointer;
}
.form-group select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231E4E79' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='18 15 12 9 6 15'%3E%3C/polyline%3E%3C/svg%3E");
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: var(--gray-800);
  color: var(--gray-400);
}
.footer__container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding: 64px 24px 48px;
}
.footer__logo .nav__logo-icon { background: var(--blue); }
.footer__logo .nav__logo-text { color: var(--white); }
.footer__logo .nav__logo-text strong { color: #93C5FD; }

.footer__tagline { font-size: .88rem; color: var(--gray-400); margin-top: 12px; margin-bottom: 20px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  color: var(--gray-400);
  font-size: .95rem;
  transition: all var(--transition);
}
.footer__social a:hover { background: var(--blue); color: var(--white); }

.footer__links h4, .footer__contact h4 {
  font-size: .78rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}
.footer__links ul, .footer__contact ul { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: .88rem; color: var(--gray-400); transition: color var(--transition); }
.footer__links a:hover { color: var(--white); }
.footer__contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--gray-400);
}
.footer__contact li i { color: var(--blue); width: 14px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 18px 24px;
  text-align: center;
  font-size: .8rem;
  color: var(--gray-400);
}

/* ══════════════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  z-index: 999;
  transition: all var(--transition);
}
.whatsapp-float:hover {
  background: #1DA851;
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}
.whatsapp-float__tooltip {
  position: absolute;
  right: 70px;
  background: var(--gray-800);
  color: var(--white);
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.whatsapp-float__tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-left-color: var(--gray-800);
}
.whatsapp-float:hover .whatsapp-float__tooltip { opacity: 1; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .servicos__grid--4col { grid-template-columns: repeat(2, 1fr); }
  .servicos__grid--5 { grid-template-columns: repeat(4, 1fr); }
  .servicos__grid--5 .service-card:nth-child(-n+3) { grid-column: span 2; }
  .servicos__grid--5 .service-card:nth-child(4),
  .servicos__grid--5 .service-card:nth-child(5)    { grid-column: span 2; }
  .servicos__grid--4op { grid-template-columns: repeat(2, 1fr); }
  .servicos__grid--4op .service-card:nth-child(4)  { grid-column: 1 / -1; }
  .service-card__wide-inner { grid-template-columns: 1fr; gap: 24px; }

  .hero__container { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero__subtitle   { margin: 0 auto 36px; }
  .hero__actions    { justify-content: center; }
  .hero__stats      { margin: 0 auto; }
  .hero__visual     { max-width: 520px; margin: 0 auto; }

  .sobre__container { grid-template-columns: 1fr; gap: 48px; }
  .sobre__card-stack { max-width: 400px; margin: 0 auto; }

  .resultados__layout { grid-template-columns: 1fr; }
  .contato__grid { grid-template-columns: 1fr; }

  .cta-section__container { grid-template-columns: 1fr; }

  .footer__container { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .nav__list {
    position: fixed;
    top: 70px; right: 0;
    width: 100%; max-width: 320px;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-left: 1px solid var(--gray-200);
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
  }
  .nav__list.open { transform: translateX(0); }
  .nav__link { width: 100%; padding: 12px 16px; }
  .nav__cta { margin-left: 0; margin-top: 8px; }
  .nav__hamburger { display: flex; }

  .hero__title { font-size: 1.9rem; }
  .hero__stats  { flex-direction: column; gap: 16px; width: 100%; }
  .hero__stat-divider { width: 60px; height: 1px; }

  .form-row { grid-template-columns: 1fr; }
  .footer__container { grid-template-columns: 1fr; }

  .service-card { padding: 24px 20px; }
  .dash-pro__kpis { grid-template-columns: repeat(2,1fr); }
  .dash-pro__bottom { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }

  .sobre__card-stack { gap: 12px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .btn--lg { width: 100%; justify-content: center; }
  .cta-section__actions { flex-direction: column; }
  .servicos__grid,
  .servicos__grid--4col,
  .servicos__grid--5,
  .servicos__grid--4op { grid-template-columns: 1fr; }
  .servicos__grid--5 .service-card:nth-child(-n+3),
  .servicos__grid--5 .service-card:nth-child(4),
  .servicos__grid--5 .service-card:nth-child(5),
  .servicos__grid--4op .service-card:nth-child(4) { grid-column: span 1; }
  .diferenciais__grid { grid-template-columns: 1fr; }
  .solucoes__grid { grid-template-columns: 1fr; }
  .problemas__grid { grid-template-columns: 1fr; }
  .problemas__cta { flex-direction: column; text-align: center; }
}

/* ══════════════════════════════════════
   MOBILE TAB NAVIGATION (≤ 768px only)
══════════════════════════════════════ */

/* Tab bar — hidden on desktop */
.mobile-tab-bar { display: none; }

@media (max-width: 768px) {

  /* ── Tab bar ────────────────────────── */
  .mobile-tab-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 20px rgba(0,0,0,.10);
    height: 62px;
  }
  .mobile-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-400);
    font-family: var(--font-head);
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .03em;
    padding: 6px 4px;
    transition: color var(--transition);
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-tab i {
    font-size: 1.1rem;
    transition: color var(--transition);
  }
  .mobile-tab--active {
    color: var(--navy);
  }
  .mobile-tab--active i {
    color: var(--navy);
  }

  /* ── Tab panels ────────────────────── */
  .tab-panel {
    display: none;
  }
  .tab-panel--active {
    display: block;
  }

  /* ── Footer only shows in contato tab ─ */
  .footer {
    display: none;
  }
  .footer--visible {
    display: block;
  }

  /* ── Bottom padding so content clears tab bar ─ */
  .tab-panel--active > section:last-child,
  .tab-panel--active > .cta-section,
  .footer--visible {
    padding-bottom: 80px;
  }

  /* ── Hide desktop nav links on mobile ─ */
  .nav__list { display: none; }
  .nav__hamburger { display: none; }

  /* ── WhatsApp float above tab bar ──── */
  .whatsapp-float {
    bottom: 74px;
  }
}

/* ══════════════════════════════════════
   PLANILHA / SPREADSHEET MOCK
══════════════════════════════════════ */

.seg-panel__visual-block--full { grid-column: 1 / -1; }

/* ── Outer wrapper ── */
.xls-mock {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid #1D6A38;
  background: #fff;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: .78rem;
}

/* ── Chrome (title bar) ── */
.xls__chrome {
  background: #1D6A38;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 14px;
}
.xls__chrome-left { display: flex; align-items: center; gap: 10px; }
.xls__dots { display: flex; gap: 5px; }
.xls__dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.xls__dot--r { background: #FF5F57; }
.xls__dot--a { background: #FFBD2E; }
.xls__dot--g { background: #28CA41; }
.xls__filename { font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.9); }
.xls__vba-badge {
  display: flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 99px;
  padding: 3px 10px;
  font-size: .68rem; font-weight: 700; color: #fff;
}

/* ── Formula bar ── */
.xls__formulabar {
  display: flex; align-items: center;
  background: #F3F3F3;
  border-bottom: 1px solid #D0D0D0;
  padding: 5px 10px; gap: 8px;
}
.xls__cellref {
  font-size: .7rem; font-weight: 700; color: #1D6A38;
  padding: 2px 6px; border: 1px solid #C8C8C8;
  border-radius: 3px; background: #fff; min-width: 30px; text-align: center;
}
.xls__fx {
  font-size: .78rem; font-style: italic; font-weight: 700; color: #555;
  padding-right: 8px; border-right: 1px solid #D0D0D0;
}
.xls__formulatext {
  font-family: 'Courier New', monospace;
  font-size: .72rem; color: #1A1A1A; font-weight: 600;
}
.xls__auto-note {
  margin-left: auto;
  font-size: .65rem; font-weight: 600;
  color: #1D6A38;
  display: flex; align-items: center; gap: 4px;
  white-space: nowrap;
}

/* ── Table ── */
.xls__grid { overflow-x: auto; }
.xls__table { width: 100%; border-collapse: collapse; }

/* Column letter row */
.xls__colrow { background: #E8E8E8; }
.xls__colhd {
  padding: 4px 6px; text-align: center;
  font-weight: 700; font-size: .68rem; color: #555;
  border: 1px solid #D0D0D0; background: #E8E8E8;
  min-width: 90px;
}
.xls__colhd--auto { background: #D6EED6; color: #1D6A38; }

/* Row numbers */
.xls__rownum {
  padding: 5px 8px; text-align: center;
  font-size: .65rem; color: #888;
  background: #F0F0F0; border: 1px solid #D8D8D8;
  min-width: 30px; user-select: none;
}

/* Cells */
.xls__cell { padding: 6px 10px; border: 1px solid #E4E4E4; white-space: nowrap; }
.xls__cell--center { text-align: center; }
.xls__cell--label  { min-width: 170px; color: #1A1A1A; font-weight: 500; }
.xls__cell--input  { background: #fff; color: #1A1A1A; }

/* Auto-calculated columns (green tint) */
.xls__cell--auto   { background: #F0FAF0; }

/* Header row */
.xls__cell--head {
  background: #E2EFDA; font-weight: 700; color: #1D6A38;
  font-size: .72rem;
}
.xls__cell--head.xls__cell--auto { background: #CCE8CC; }
.xls__auto-pill {
  display: inline-block; margin-left: 4px;
  background: #1D6A38; color: #fff;
  font-size: .55rem; font-weight: 700;
  padding: 1px 5px; border-radius: 99px;
  vertical-align: middle; letter-spacing: .04em;
}

/* Alternating rows */
.xls__row--alt { background: #FAFAFA; }
.xls__row--alt .xls__cell--auto { background: #EAF5EA; }

/* Margin % pill */
.xls__margin {
  display: inline-block;
  font-weight: 700; font-size: .72rem;
  color: var(--xls-accent);
}

/* Status badges */
.xls__status-badge {
  display: inline-block;
  padding: 2px 8px; border-radius: 99px;
  font-size: .65rem; font-weight: 700;
}
.xls__status-badge--ok   { background: #DCFCE7; color: #166534; }
.xls__status-badge--warn { background: #FEF3C7; color: #92400E; }
.xls__status-badge--auto { background: #DBEAFE; color: #1D4ED8; }

/* Total row */
.xls__row--total { border-top: 2px solid #1D6A38; }
.xls__cell--total       { background: #F8FFF8; font-weight: 700; color: #1A1A1A; }
.xls__cell--total-label { background: #F8FFF8; font-weight: 700; color: #1D6A38; font-style: italic; }
.xls__row--total .xls__cell--auto { background: #E8F5E8; }

/* ── Macro output bar ── */
.xls__macro-bar {
  display: flex; align-items: center; gap: 8px;
  background: #F0FAF0;
  border-top: 1px solid #C8E6C8;
  padding: 7px 14px;
  font-size: .72rem; color: #1A3A1A;
}
.xls__macro-bar strong { color: #1D6A38; }

/* ── Sheet tabs ── */
.xls__sheetbar {
  display: flex; align-items: stretch;
  background: #EBEBEB;
  border-top: 1px solid #D0D0D0;
  padding: 0 8px; gap: 2px;
}
.xls__tab {
  padding: 5px 14px;
  font-size: .68rem; font-weight: 600; color: #666;
  cursor: pointer; border-right: 1px solid #D4D4D4;
}
.xls__tab--active {
  background: #fff; color: #1D6A38;
  border-top: 2px solid #1D6A38;
  margin-top: -1px;
}

/* ── Dashboard disclaimer ─────────── */
.dash-disclaimer {
  font-size: .68rem;
  color: var(--gray-400);
  font-style: italic;
  margin-top: 8px;
  text-align: left;
}
.dash-disclaimer--center { text-align: center; margin-top: 16px; }
