/* ============================================================
   PredMax — Manutenção Preditiva | Sistema de Design
   Industrial + Tecnológico
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
  /* base — TEMA CLARO: off-white da marca como fundo do site.
     (os nomes "ink/on-dark" são mantidos por compatibilidade, mas agora
      representam tons claros de fundo e texto escuro) */
  --ink:        #fbfaf5;
  --ink-2:      #f1efe6;
  --ink-3:      #e9e6da;
  --surface:    #e4e1d4;
  --surface-2:  #dbd7c8;
  --line-dark:  rgba(14,63,24,0.16);
  --line-dark-2:rgba(14,63,24,0.085);

  /* verde institucional */
  --green:      #0e3f18;
  --green-2:    #385a42;

  /* papel — off-white da marca (#efeee6) */
  --paper:      #efeee6;
  --paper-2:    #e3e1d6;
  --paper-3:    #d7d4c7;
  --line-light: rgba(14,63,24,0.14);
  --line-light-2: rgba(14,63,24,0.07);

  /* texto (agora escuro, sobre fundo claro) */
  --on-dark:    #112218;
  --on-dark-mut:#51604f;
  --on-dark-dim:#7c8779;
  --on-light:   #10231a;
  --on-light-mut:#4b5a4f;

  /* destaque — laranja da marca (#f55d14) */
  --orange:     #f55d14;
  --orange-2:   #ff6f24;
  --orange-soft:rgba(245,93,20,0.12);
  --orange-line:rgba(245,93,20,0.34);

  /* aço (secundário técnico) */
  --steel:      #6f7d72;
  --steel-2:    #93a098;

  /* status (leituras de sensor) */
  --ok:         #46b478;
  --warn:       #e8a317;
  --alarm:      #f55d14;

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 72px);
  --radius: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--on-dark);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--orange); color: #fff; }

/* ---------- helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--orange);
  transform: rotate(45deg);
  flex: none;
}
.eyebrow.mut { color: var(--on-dark-mut); }
.eyebrow.mut::before { background: var(--steel); }
.eyebrow.on-light { color: var(--orange); }

h1,h2,h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; }
.display {
  font-size: clamp(40px, 7vw, 92px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.h2 { font-size: clamp(30px, 4.6vw, 58px); text-transform: uppercase; letter-spacing: -0.02em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--on-dark-mut); line-height: 1.6; max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 15px 24px;
  border-radius: var(--radius);
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-2); transform: translateY(-2px); box-shadow: 0 10px 28px -10px rgba(226,84,28,.7); }
.btn-ghost { color: var(--on-dark); border: 1px solid var(--line-dark); }
.btn-ghost:hover { border-color: var(--on-dark); background: rgba(14,63,24,.05); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-2px); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay:.08s } .reveal[data-d="2"]{ transition-delay:.16s }
.reveal[data-d="3"]{ transition-delay:.24s } .reveal[data-d="4"]{ transition-delay:.32s }
@media (prefers-reduced-motion: reduce){ .reveal{opacity:1;transform:none;transition:none} html{scroll-behavior:auto} }

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center;
  height: 76px;
  transition: background .3s ease, border-color .3s ease, height .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(251,250,245,0.86);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-dark);
  height: 66px;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 20px; padding-inline: clamp(16px, 2.5vw, 32px); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { height: 34px; width: auto; display: block; transition: height .3s ease; }
.site-header.scrolled .brand-logo { height: 30px; }
.brand-name { display: block; font-family: var(--font-display); font-weight: 800; font-size: 21px; line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; white-space: nowrap; }
.brand-name b { color: var(--orange); font-weight: 800; }
.brand-tag { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; color: var(--on-dark-dim); text-transform: uppercase; margin-top: 2px; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 2px; flex: none; }
.nav a {
  font-size: 14px; font-weight: 500; color: var(--on-dark-mut); white-space: nowrap;
  padding: 9px 12px; border-radius: var(--radius); transition: color .18s ease;
}
.nav a:hover { color: var(--on-dark); }
.header-cta { display: flex; align-items: center; gap: 14px; }

.menu-toggle { display: none; width: 42px; height: 42px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.menu-toggle span { width: 22px; height: 2px; background: var(--on-dark); transition: transform .25s ease, opacity .2s ease; }
.menu-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2){ opacity: 0; }
.menu-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: var(--pad);
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.mobile-nav.open { transform: none; }
.mobile-nav a { font-family: var(--font-display); font-weight: 700; font-size: 30px; text-transform: uppercase; color: var(--on-dark); padding: 8px 0; border-bottom: 1px solid var(--line-dark-2); }
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav .btn { margin-top: 24px; align-self: flex-start; }

/* ===========================================================
   HERO
   =========================================================== */
.hero { position: relative; padding-top: 140px; padding-bottom: 0; background: var(--ink); overflow: hidden; }
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line-dark-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark-2) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 30%, transparent 80%);
          mask-image: radial-gradient(120% 90% at 70% 0%, #000 30%, transparent 80%);
}
.hero .wrap { position: relative; }
.hero-top { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: end; padding-bottom: 44px; }
.hero h1 { margin: 22px 0 0; }
.hero h1 .accent { color: var(--orange); }
.hero h1 .outline { -webkit-text-stroke: 1.5px var(--on-dark-mut); color: transparent; }
.hero-right { padding-bottom: 6px; }
.hero-right .lead { margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* readout panel */
.readout {
  margin-top: 8px;
  border: 1px solid var(--line-dark); border-radius: 8px;
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  overflow: hidden;
}
.readout-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--line-dark-2); font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-dim); }
.live-dot { display: inline-flex; align-items: center; gap: 7px; color: var(--ok); }
.live-dot::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(70,180,120,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(70,180,120,.5)} 70%{box-shadow:0 0 0 8px rgba(70,180,120,0)} 100%{box-shadow:0 0 0 0 rgba(70,180,120,0)} }
.readout-row { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 14px; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--line-dark-2); }
.readout-row:last-child { border-bottom: none; }
.ro-label { font-family: var(--font-mono); font-size: 12px; color: var(--on-dark-mut); letter-spacing: .02em; }
.ro-bar { height: 6px; border-radius: 3px; background: var(--surface); overflow: hidden; }
.ro-bar i { display: block; height: 100%; border-radius: 3px; transition: width 1s cubic-bezier(.2,.7,.2,1); }
.ro-val { font-family: var(--font-mono); font-size: 13px; font-weight: 600; text-align: right; min-width: 92px; }
.st-ok { color: var(--ok); } .st-warn { color: var(--warn); } .st-alarm { color: var(--alarm); }
.bar-ok { background: var(--ok); } .bar-warn { background: var(--warn); } .bar-alarm { background: var(--alarm); }

/* hero image strip */
.hero-strip {
  position: relative; margin-top: 4px;
  border-top: 1px solid var(--line-dark);
}
.ph {
  position: relative; overflow: hidden; background: var(--ink-2);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 11px);
  display: grid; place-items: center; isolation: isolate;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--on-dark-dim); padding: 6px 11px; border: 1px solid var(--line-dark);
  background: var(--ink); border-radius: 3px; max-width: 80%; text-align: center;
}
.ph.light { background-color: var(--paper-2); background-image: repeating-linear-gradient(135deg, rgba(12,13,15,.05) 0 2px, transparent 2px 11px); }
.ph.light::after { color: var(--on-light-mut); border-color: var(--line-light); background: var(--paper); }
/* real image variant */
.ph.has-img { background-image: none; }
.ph.has-img::after { display: none; }
.ph.has-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-ph { height: clamp(280px, 42vw, 540px); border-radius: 0; }
.hero-ph::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 40%, rgba(12,13,15,.85));
}
.hero-ph .ph-tag {
  position: absolute; z-index: 2; left: 0; bottom: 0; width: 100%;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  padding: 28px var(--pad);
}
.ph-tag .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px,2.4vw,30px); text-transform: uppercase; letter-spacing: -.01em; }
.ph-tag .sub { font-family: var(--font-mono); font-size: 12px; color: var(--on-dark-mut); }
/* texto sobre a foto do hero permanece claro (gradiente escuro por baixo) */
.hero-ph .ph-tag .big { color: #fff; }
.hero-ph .ph-tag .sub { color: rgba(255,255,255,.82); }

/* ===========================================================
   MARQUEE / marcas
   =========================================================== */
.marquee { background: var(--ink-2); border-block: 1px solid var(--line-dark); padding: 22px 0; overflow: hidden; }
.marquee-inner { display: flex; gap: 56px; align-items: center; width: max-content; animation: scrollx 32s linear infinite; }
.marquee:hover .marquee-inner { animation-play-state: paused; }
@keyframes scrollx { to { transform: translateX(-50%); } }
.mq-item { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-mut); white-space: nowrap; }
.mq-item b { color: var(--on-dark); font-weight: 600; font-family: var(--font-display); letter-spacing: 0; }
.mq-item .dot { width: 5px; height: 5px; background: var(--orange); transform: rotate(45deg); }

/* ===========================================================
   generic section
   =========================================================== */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section.light { background: var(--paper); color: var(--on-light); }
.section.light .lead { color: var(--on-light-mut); }
.section-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px,5vw,80px); align-items: start; margin-bottom: 56px; }
.section-num { font-family: var(--font-mono); font-size: 13px; color: var(--orange); letter-spacing: .1em; padding-top: 8px; white-space: nowrap; }
.section-head h2 { margin-top: 14px; max-width: 16ch; }
.section.light .section-head h2 { color: var(--on-light); }
.section-head .lead { margin-top: 18px; }

/* ===========================================================
   O QUE É (comparison)
   =========================================================== */
.compare { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: start; }
.compare-tabs { display: flex; flex-direction: column; gap: 10px; }
.ctab {
  text-align: left; border: 1px solid var(--line-light); border-radius: 6px;
  background: var(--paper); padding: 20px 22px; transition: all .2s ease; position: relative;
}
.ctab:hover { border-color: var(--on-light-mut); }
.ctab.active { background: #0c1c12; border-color: #0c1c12; color: var(--paper); }
.ctab .ct-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-light-mut); display: block; margin-bottom: 6px; }
.ctab.active .ct-k { color: var(--orange); }
.ctab .ct-t { font-family: var(--font-display); font-weight: 700; font-size: 21px; text-transform: uppercase; letter-spacing: -.01em; }
.ctab .ct-cost { font-family: var(--font-mono); font-size: 12px; margin-top: 8px; color: var(--on-light-mut); }
.ctab.active .ct-cost { color: rgba(236,234,228,.7); }
.compare-panel {
  border: 1px solid var(--line-light); border-radius: 8px; background: var(--paper);
  padding: clamp(28px,4vw,44px); min-height: 340px;
}
.cp-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line-light); margin-bottom: 24px; }
.cp-top h3 { font-size: clamp(26px,3.4vw,40px); text-transform: uppercase; }
.cp-badge { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; }
.b-red { background: rgba(226,84,28,.12); color: var(--orange); }
.b-amber { background: rgba(232,163,23,.15); color: #a9760b; }
.b-green { background: rgba(70,180,120,.14); color: #2f7d53; }
.cp-desc { font-size: 17px; color: var(--on-light-mut); max-width: 64ch; line-height: 1.65; }
.cp-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 30px; }
.cp-stat { border-top: 2px solid var(--green); padding-top: 12px; }
.cp-stat .v { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px,3vw,34px); letter-spacing: -.02em; }
.cp-stat .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-light-mut); margin-top: 4px; }

/* ===========================================================
   SOBRE (mission / vision / values)
   =========================================================== */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px,5vw,64px); align-items: center; }
.mvv { display: grid; gap: 0; border: 1px solid var(--line-dark); border-radius: 8px; overflow: hidden; }
.mvv-item { padding: 28px 30px; border-bottom: 1px solid var(--line-dark); display: grid; grid-template-columns: 50px 1fr; gap: 20px; transition: background .25s ease; }
.mvv-item:last-child { border-bottom: none; }
.mvv-item:hover { background: var(--ink-2); }
.mvv-k { font-family: var(--font-mono); font-size: 12px; color: var(--orange); letter-spacing: .1em; padding-top: 4px; }
.mvv-item h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 7px; }
.mvv-item p { color: var(--on-dark-mut); font-size: 15.5px; }
.about-visual { position: relative; }
.about-visual .ph { height: clamp(360px,46vw,520px); border-radius: 8px; }
.about-float {
  position: absolute; left: -24px; bottom: 28px; z-index: 3;
  background: var(--orange); color: #fff; padding: 22px 26px; border-radius: 8px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.6); max-width: 230px;
}
.about-float .v { font-family: var(--font-display); font-weight: 900; font-size: 46px; line-height: 1; }
.about-float .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; margin-top: 6px; opacity: .92; }

/* ===========================================================
   BENEFÍCIOS / ROI
   =========================================================== */
.roi-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 1px solid var(--line-light); border-radius: 8px; overflow: hidden; }
.roi-cell { padding: 34px 28px; border-right: 1px solid var(--line-light); transition: background .25s; }
.roi-cell:last-child { border-right: none; }
.roi-cell:hover { background: var(--paper-2); }
.roi-cell .v { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px,5vw,58px); line-height: 1; letter-spacing: -.03em; color: var(--on-light); }
.roi-cell .v .u { font-size: .5em; color: var(--orange); }
.roi-cell .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-light-mut); margin-top: 14px; }
.roi-cell p { font-size: 14px; color: var(--on-light-mut); margin-top: 8px; line-height: 1.5; }

/* ===========================================================
   SERVIÇOS
   =========================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 8px; overflow: hidden; }
.svc {
  background: var(--ink-2); padding: 32px 30px 30px; position: relative;
  transition: background .25s ease; min-height: 280px; display: flex; flex-direction: column;
}
.svc:hover { background: var(--surface); }
.svc-num { font-family: var(--font-mono); font-size: 12px; color: var(--on-dark-dim); letter-spacing: .1em; }
.svc-ico { width: 46px; height: 46px; margin: 18px 0 22px; color: var(--orange); }
.svc-ico svg { width: 100%; height: 100%; }
.svc h3 { font-size: 22px; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 10px; }
.svc p { color: var(--on-dark-mut); font-size: 15px; line-height: 1.55; }
.svc .svc-tag { margin-top: auto; padding-top: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-dim); display: flex; align-items: center; gap: 8px; }
.svc .svc-tag::before { content:""; width: 6px; height: 6px; background: var(--orange); transform: rotate(45deg); }
.svc::after { content:""; position: absolute; left: 0; top: 0; width: 0; height: 2px; background: var(--orange); transition: width .3s ease; }
.svc:hover::after { width: 100%; }

/* ===========================================================
   METODOLOGIA (process)
   =========================================================== */
.proc { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; counter-reset: step; }
.proc-step { position: relative; padding-top: 30px; border-top: 2px solid var(--line-light); }
.proc-step .pn { font-family: var(--font-mono); font-size: 13px; color: var(--orange); letter-spacing: .1em; }
.proc-step h3 { font-size: 22px; text-transform: uppercase; margin: 14px 0 10px; }
.proc-step p { font-size: 14.5px; color: var(--on-light-mut); line-height: 1.55; }
.proc-step ul { list-style: none; margin-top: 14px; display: grid; gap: 7px; }
.proc-step li { font-family: var(--font-mono); font-size: 12.5px; color: var(--on-light-mut); padding-left: 16px; position: relative; }
.proc-step li::before { content: "›"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }

/* ===========================================================
   DIRETORES
   =========================================================== */
.dir-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dir {
  border: 1px solid var(--line-dark); border-radius: 8px; overflow: hidden; background: var(--ink-2);
  transition: border-color .25s ease, background .25s ease;
}
.dir:hover { border-color: var(--orange-line); background: var(--ink-3); }
.dir-body { padding: 34px 32px; }
.dir-head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.dir-mono {
  width: 64px; height: 64px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: .02em;
  color: var(--orange); background: var(--orange-soft); border: 1px solid var(--orange-line);
}
.dir-body .role { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.dir-body h3 { font-size: 23px; text-transform: uppercase; margin: 7px 0 5px; letter-spacing: -.01em; line-height: 1.05; }
.dir-body .cred { font-family: var(--font-mono); font-size: 12px; color: var(--on-dark-dim); }
.dir-body p { font-size: 14.5px; color: var(--on-dark-mut); line-height: 1.55; }
.dir-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.dir-tags span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; padding: 5px 10px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--on-dark-mut); }

/* ===========================================================
   STATS BANNER
   =========================================================== */
.stats { background: var(--orange); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.stat { padding: 14px clamp(16px,3vw,40px); border-left: 1px solid rgba(255,255,255,.2); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat .v { font-family: var(--font-display); font-weight: 900; font-size: clamp(44px,6vw,76px); line-height: .95; letter-spacing: -.03em; }
.stat .k { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; margin-top: 12px; opacity: .92; max-width: 22ch; }

/* ===========================================================
   CTA / CONTATO
   =========================================================== */
.cta { background: var(--ink-2); position: relative; overflow: hidden; }
.cta .hero-grid-bg { opacity: .35; -webkit-mask-image: radial-gradient(100% 100% at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(100% 100% at 50% 0%, #000, transparent 75%); }
.cta-inner { position: relative; text-align: center; max-width: 820px; margin: 0 auto; }
.cta h2 { margin: 22px 0 0; }
.cta h2 .accent { color: var(--orange); }
.cta .lead { margin: 24px auto 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 38px; }
.cta-contacts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }
.cc {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 22px;
  border: 1px solid var(--line-dark); border-radius: 8px; background: var(--ink);
  font-family: var(--font-mono); font-size: 14px; transition: border-color .2s, transform .2s;
}
.cc:hover { border-color: var(--orange-line); transform: translateY(-2px); }
.cc .ico { width: 18px; height: 18px; color: var(--orange); }
.cc { max-width: 100%; }
.cc > span:last-child { min-width: 0; }
.cc .lbl { color: var(--on-dark-dim); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; display: block; }
.cc .val { color: var(--on-dark); overflow-wrap: anywhere; }

/* ===========================================================
   FOOTER
   =========================================================== */
.footer { background: var(--ink); border-top: 1px solid var(--line-dark); padding: 64px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line-dark-2); }
.footer .brand-name { font-size: 24px; }
.footer-logo { display: inline-block; background: var(--paper); border-radius: 10px; padding: 16px 22px; line-height: 0; }
.footer-logo img { width: 184px; height: auto; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-dim); margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; color: var(--on-dark-mut); font-size: 14.5px; margin-bottom: 10px; transition: color .18s; }
.footer-col a:hover { color: var(--orange); }
.footer p.fdesc { color: var(--on-dark-mut); font-size: 14.5px; max-width: 40ch; margin: 18px 0 0; line-height: 1.6; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 26px; font-family: var(--font-mono); font-size: 12px; color: var(--on-dark-dim); }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
/* collapse the header to the hamburger before the nav gets cramped */
@media (max-width: 900px) {
  .nav { display: none; }
  .header-cta .btn { display: none; }
  .menu-toggle { display: flex; }
}
@media (max-width: 1024px) {
  .hero-top { grid-template-columns: 1fr; gap: 30px; }
  .compare { grid-template-columns: 1fr; }
  .compare-tabs { flex-direction: row; flex-wrap: wrap; }
  .compare-tabs .ctab { flex: 1 1 150px; }
  .about-grid { grid-template-columns: 1fr; }
  .roi-grid { grid-template-columns: repeat(2,1fr); }
  .roi-cell:nth-child(2){ border-right: none; }
  .roi-cell:nth-child(-n+2){ border-bottom: 1px solid var(--line-light); }
  .svc-grid { grid-template-columns: repeat(2,1fr); }
  .proc { grid-template-columns: repeat(2,1fr); row-gap: 40px; }
  .dir-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); row-gap: 36px; }
  .stat:nth-child(3){ border-left: none; padding-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: flex; }
  .section-head { grid-template-columns: 1fr; gap: 4px; margin-bottom: 40px; }
  .section-num { padding-top: 0; }
  .roi-grid, .svc-grid, .proc, .stats-grid { grid-template-columns: 1fr; }
  .roi-cell { border-right: none; border-bottom: 1px solid var(--line-light); }
  .roi-cell:last-child { border-bottom: none; }
  .svc { min-height: 0; }
  .stat { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,.2); padding-top: 22px; }
  .stat:first-child { border-top: none; padding-top: 0; }
  .dir { grid-template-columns: 1fr; }
  .dir .ph { min-height: 180px; }
  .about-float { left: 16px; right: 16px; max-width: none; bottom: 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .hero-ph .ph-tag { flex-direction: column; align-items: flex-start; }
}