/* ==========================================================================
   Clarit Tecnologia — Stylesheet
   Identidade: laranja #F5821F, grafite #6E6E6E, cinza claro #D6D6D6
   Tema escuro (padrão) + tema claro. Sem dependências externas.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
  --brand:        #F5821F;
  --brand-2:      #FF8E1C;
  --brand-3:      #FFB067;
  --brand-deep:   #C96410;
  --gray-brand:   #6E6E6E;
  --light-brand:  #D6D6D6;

  --bg:           #0A0B0D;
  --bg-alt:       #0D0F12;
  --bg-elev:      #121419;
  --surface:      rgba(255, 255, 255, .035);
  --surface-2:    rgba(255, 255, 255, .06);
  --line:         rgba(255, 255, 255, .09);
  --line-2:       rgba(255, 255, 255, .17);

  --txt:          #F2F3F5;
  --txt-2:        #C6CBD3;
  --muted:        #8B93A0;

  /* gradiente que continua legível em textos longos (nunca some no branco) */
  --grad: linear-gradient(110deg, var(--brand-2) 0%, var(--brand-3) 45%, var(--brand-2) 100%);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .75);
  --shadow-sm: 0 8px 24px -12px rgba(0, 0, 0, .6);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;

  --container: 1200px;
  --header-h: 88px;

  --font-display: 'Jost', 'Century Gothic', 'Futura', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

[data-theme="light"] {
  --bg:          #FFFFFF;
  --bg-alt:      #F5F6F8;
  --bg-elev:     #FFFFFF;
  --surface:     #FFFFFF;
  --surface-2:   #FAFBFC;
  --line:        rgba(10, 11, 13, .10);
  --line-2:      rgba(10, 11, 13, .18);

  --txt:         #0A0B0D;
  --txt-2:       #31363D;
  --muted:       #636B77;

  --shadow:      0 22px 55px -26px rgba(10, 11, 13, .28);
  --shadow-sm:   0 6px 20px -12px rgba(10, 11, 13, .22);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0;
  color: var(--txt);
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------- layout */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}
.section-label::before {
  content: ''; width: 26px; height: 2px; border-radius: 2px;
  background: var(--brand);
}

.section-head { max-width: 720px; margin-bottom: 54px; }

.section-title {
  font-size: clamp(30px, 4.2vw, 50px);
  margin-bottom: 18px;
}
.section-sub { color: var(--muted); font-size: 17px; max-width: 620px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.lead { color: var(--txt-2); font-size: 17px; margin-bottom: 16px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: #fff;
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(120deg, var(--brand-2), var(--brand));
  box-shadow: 0 10px 26px -12px rgba(245, 130, 31, .75);
}
.btn-primary:hover {
  background: linear-gradient(120deg, var(--brand), var(--brand-deep));
  box-shadow: 0 16px 34px -14px rgba(245, 130, 31, .9);
}

.btn-ghost {
  background: transparent; color: var(--txt);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: rgba(245, 130, 31, .07); }

.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  color: var(--brand);
  margin-top: 30px;
  transition: gap .25s var(--ease);
}
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.link-arrow:hover { gap: 14px; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}

.header-inner { display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo {
  width: 150px; height: auto;
  transition: opacity .25s var(--ease);
}
.footer-logo { width: 176px; height: auto; }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  display: inline-block; padding: 9px 14px;
  font-family: var(--font-display); font-weight: 500; font-size: 15px;
  color: var(--txt-2);
  border-radius: 999px;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-link:hover { color: var(--txt); }
.nav-link.is-active { color: var(--brand); }
.nav-link.is-active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--brand);
}

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav + .header-actions { margin-left: 0; }

.icon-btn {
  width: 40px; height: 40px; flex: none;
  display: inline-grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 50%; cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

#themeToggle .ico-sun { display: none; }
[data-theme="light"] #themeToggle .ico-moon { display: none; }
[data-theme="light"] #themeToggle .ico-sun { display: block; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; cursor: pointer;
  padding: 0; place-items: center;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--txt); margin: 3px auto;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* menu mobile */
.nav-overlay {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(3px);
  animation: fade .3s var(--ease);
}
.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 120;
  width: min(84vw, 360px);
  background: var(--bg-elev);
  border-left: 1px solid var(--line);
  padding: 22px 26px 30px;
  display: flex; flex-direction: column; gap: 26px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .38s var(--ease), visibility .38s var(--ease);
  box-shadow: var(--shadow);
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav-title {
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; font-size: 12px; color: var(--muted);
}
.mobile-nav-list { display: grid; gap: 2px; }
.mobile-nav-list a {
  display: block; padding: 13px 4px;
  font-family: var(--font-display); font-size: 21px; font-weight: 600;
  border-bottom: 1px solid var(--line);
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.mobile-nav-list a:hover { color: var(--brand); padding-left: 10px; }
.mobile-nav-cta { margin-top: auto; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(56px, 8vw, 104px)) 0 clamp(48px, 6vw, 72px);
  overflow: hidden;
}
[data-theme="light"] .hero {
  background: linear-gradient(180deg, #F1F3F6 0%, var(--bg) 78%);
  border-bottom: 1px solid var(--line);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.glow-1 {
  width: 620px; height: 620px; top: -240px; right: -140px;
  background: radial-gradient(circle, rgba(245, 130, 31, .55), transparent 66%);
}
.glow-2 {
  width: 520px; height: 520px; bottom: -280px; left: -180px;
  background: radial-gradient(circle, rgba(110, 110, 110, .45), transparent 68%);
}
[data-theme="light"] .glow { opacity: .3; }

.pattern-layer {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='340' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M92.1 98.3A50 50 0 1 1 92.1 21.7' stroke='%236E6E6E' stroke-width='9'/%3E%3Cpath d='M85.1 89.9A39 39 0 1 1 85.1 30.1' stroke='%23F5821F' stroke-width='8'/%3E%3Cpath d='M78 81.4A28 28 0 1 1 78 38.6' stroke='%23D6D6D6' stroke-width='7'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 340px 340px;
  opacity: .05;
  mask-image: radial-gradient(ellipse 70% 55% at 78% 6%, #000 0%, rgba(0, 0, 0, .35) 45%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 78% 6%, #000 0%, rgba(0, 0, 0, .35) 45%, transparent 75%);
}
[data-theme="light"] .pattern-layer { opacity: .035; }

.grid-layer {
  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: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 62% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 62% at 50% 0%, #000 30%, transparent 78%);
}
[data-theme="light"] .grid-layer {
  background-image:
    linear-gradient(rgba(10, 11, 13, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 11, 13, .05) 1px, transparent 1px);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface);
  font-size: 13px; color: var(--txt-2);
  margin-bottom: 26px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(245, 130, 31, .2);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(38px, 5.6vw, 66px);
  line-height: 1.06;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}
.hero-text {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--txt-2);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-text strong { color: var(--txt); font-weight: 600; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero-badges li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--muted);
}
.hero-badges svg { width: 16px; height: 16px; fill: none; stroke: var(--brand); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* painel do hero */
.hero-panel { position: relative; }
.panel-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(420px 200px at 100% 0%, rgba(245, 130, 31, .13), transparent 70%);
  pointer-events: none;
}
.panel-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 18px; margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.panel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
  animation: pulse 2.4s ease-in-out infinite;
}
.panel-title {
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
}
.panel-tag {
  margin-left: auto;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand);
  border: 1px solid rgba(245, 130, 31, .35);
  border-radius: 999px; padding: 3px 10px;
}

.stack-list { display: grid; }
.stack-list li {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}
.stack-list li:last-child { border-bottom: 0; }
.stack-key { font-size: 14px; color: var(--muted); }
.stack-val {
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  color: var(--txt);
  text-align: right;
}
.stack-val--text {
  font-family: var(--font-body); font-weight: 500; font-size: 15px;
  color: var(--txt-2); text-align: left; line-height: 1.5;
}
.tick {
  flex: none;
  width: 23px; height: 23px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(245, 130, 31, .13);
  border: 1px solid rgba(245, 130, 31, .32);
  margin-top: 1px;
}
.tick svg {
  width: 12px; height: 12px;
  fill: none; stroke: var(--brand); stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
}

.panel-foot { margin-top: 20px; }
.panel-foot-label {
  display: inline-block;
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 7px;
}
.panel-foot p { font-size: 14px; color: var(--muted); }

/* marquee de tecnologias */
.marquee {
  margin-top: clamp(48px, 6vw, 76px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 26px;
  overflow: hidden;
}
.marquee-label {
  flex: none;
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.marquee-track {
  display: flex; align-items: center; gap: 22px;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  animation: scroll-x 34s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
  color: var(--txt-2); opacity: .75;
}
.marquee-track i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand); opacity: .8;
}

/* ---------------------------------------------------------------- sobre */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(40px, 6vw, 76px);
  align-items: start;
}

.about-list { display: grid; gap: 20px; margin-top: 34px; }
.about-list li { display: flex; gap: 14px; }
.check {
  flex: none;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(245, 130, 31, .13);
  border: 1px solid rgba(245, 130, 31, .3);
  margin-top: 2px;
}
.check svg { width: 14px; height: 14px; fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.about-list strong { display: block; font-family: var(--font-display); font-size: 17px; font-weight: 600; margin-bottom: 3px; }
.about-list span { color: var(--muted); font-size: 15px; }

.about-side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  position: sticky; top: calc(var(--header-h) + 24px);
}
.stat-card {
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.stat-num {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: 34px; line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 8px;
}
/* números que são palavras (ex.: nome de ERP) */
.stat-num--sm { font-size: 25px; letter-spacing: -.01em; }
.stat-label { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; }

/* visual da seção "quem somos" */
.about-visual {
  position: relative;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.about-arcs {
  position: absolute;
  right: -78px; top: -78px;
  width: 230px; height: 230px;
  opacity: .38;
  pointer-events: none;
}
.about-visual-body { position: relative; z-index: 1; }
.about-visual-lead {
  font-family: var(--font-display);
  font-size: 21px; font-weight: 700; line-height: 1.24;
  color: var(--txt);
  max-width: 200px;
  margin-bottom: 12px;
}
.about-visual-text { font-size: 14.5px; color: var(--muted); max-width: 215px; }

/* declaração do método */
.method-statement {
  position: relative;
  margin-top: 30px;
  padding: 26px 30px 26px 58px;
  border-left: 2px solid var(--brand);
  border-radius: 0 var(--r) var(--r) 0;
  background: var(--surface);
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 500; line-height: 1.5;
  color: var(--txt);
}

.cert-lead {
  font-size: 15px; color: var(--txt-2); line-height: 1.5;
  margin-bottom: 16px; padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.cert-card {
  grid-column: 1 / -1;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(160deg, var(--surface-2), transparent);
}
.cert-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cert-head svg { width: 18px; height: 18px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linejoin: round; flex: none; }
.cert-head strong { font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.cert-list { display: grid; gap: 9px; }
.cert-list li {
  font-size: 14px; color: var(--txt-2);
  padding-left: 18px; position: relative;
}
.cert-list li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
}

/* ---------------------------------------------------------------- cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.card {
  position: relative;
  padding: 30px 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.card::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--line-2); background: var(--surface-2); }
.card:hover::after { transform: scaleX(1); }

.card-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 20px;
  border-radius: 14px;
  background: rgba(245, 130, 31, .11);
  border: 1px solid rgba(245, 130, 31, .26);
}
.card-icon svg {
  width: 25px; height: 25px;
  fill: none; stroke: var(--brand); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }

.card-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.card-tags li {
  font-size: 12px; color: var(--txt-2);
  padding: 4px 11px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg);
}

/* ---------------------------------------------- comparativo antes x depois */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}
.compare-col {
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.compare-col--new {
  border-color: rgba(245, 130, 31, .34);
  background: linear-gradient(150deg, rgba(245, 130, 31, .09), transparent 62%);
}
.compare-title {
  display: flex; align-items: center; gap: 12px;
  font-size: 19px; margin-bottom: 22px;
}
.compare-mark {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line);
}
.compare-mark svg {
  width: 15px; height: 15px;
  fill: none; stroke: var(--muted); stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.compare-col--new .compare-mark {
  background: rgba(245, 130, 31, .14);
  border-color: rgba(245, 130, 31, .34);
}
.compare-col--new .compare-mark svg { stroke: var(--brand); }

.compare-list { display: grid; gap: 13px; }
.compare-list li {
  position: relative; padding-left: 23px;
  font-size: 15px; color: var(--muted); line-height: 1.5;
}
.compare-col--old .compare-list li::before {
  content: ''; position: absolute; left: 3px; top: 8px;
  width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid var(--line-2);
}
.compare-col--new .compare-list li { color: var(--txt-2); }
.compare-col--new .compare-list li::before {
  content: ''; position: absolute; left: 4px; top: 9px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
}

.compare-highlight {
  position: relative;
  padding: 26px 30px 26px 58px;
  border-left: 2px solid var(--brand);
  border-radius: 0 var(--r) var(--r) 0;
  background: var(--surface);
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 500; line-height: 1.5;
  color: var(--txt);
}
.quote-mark {
  position: absolute; left: 20px; top: 14px;
  font-family: var(--font-display);
  font-size: 48px; line-height: 1;
  color: var(--brand); opacity: .45;
}

/* ------------------------------------------------- cadeia do método (Elo) */
.chain {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.chain-step {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.chain-step:hover { border-color: rgba(245, 130, 31, .4); transform: translateY(-4px); }
/* seta entre as etapas */
.chain-step:not(:last-child)::after {
  content: '';
  position: absolute; top: 44px; right: -14px;
  width: 9px; height: 9px;
  border-top: 1.5px solid var(--line-2);
  border-right: 1.5px solid var(--line-2);
  transform: rotate(45deg);
  z-index: 2;
}
.chain-num {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  color: var(--brand);
  background: rgba(245, 130, 31, .12);
  border: 1px solid rgba(245, 130, 31, .28);
  margin-bottom: 16px;
}
.chain-step h3 { font-size: 19px; margin-bottom: 9px; }
.chain-step p { font-size: 14.5px; color: var(--muted); }

.chain-cta {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  margin-top: 36px;
}
.chain-cta-note { font-size: 14.5px; color: var(--muted); }

/* selo "Método Elo" nos cards de serviço */
.method-tag {
  display: inline-block; align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 11px; border-radius: 999px;
  font-family: var(--font-display);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand);
  background: rgba(245, 130, 31, .1);
  border: 1px solid rgba(245, 130, 31, .28);
}

/* ---------------------------------------------------------------- ERP */
.erp {
  position: relative;
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.erp-bg { position: absolute; inset: 0; pointer-events: none; }
.glow-3 {
  width: 720px; height: 720px; top: -220px; left: -240px;
  background: radial-gradient(circle, rgba(245, 130, 31, .2), transparent 66%);
}
[data-theme="light"] .glow-3 { opacity: .5; }

.erp-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 76px);
  align-items: center;
}
.erp-copy .btn { margin-top: 30px; }

.erp-list { display: grid; gap: 13px; }
.erp-list li {
  display: flex; align-items: flex-start; gap: 15px;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.erp-list li:hover { border-color: rgba(245, 130, 31, .4); transform: translateX(3px); }
.erp-ico {
  flex: none; width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(245, 130, 31, .11);
  border: 1px solid rgba(245, 130, 31, .26);
}
.erp-ico svg {
  width: 19px; height: 19px;
  fill: none; stroke: var(--brand); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.erp-list li > span:last-child { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.erp-list strong {
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  color: var(--txt); display: block; margin-bottom: 2px;
}

/* bloco "em desenvolvimento" */
.erp-next {
  margin-top: 26px;
  padding: 30px 32px;
  border: 1px dashed rgba(245, 130, 31, .42);
  border-radius: var(--r-lg);
  background: linear-gradient(140deg, rgba(245, 130, 31, .09), transparent 65%);
}
.badge-soft {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--brand);
  border: 1px solid rgba(245, 130, 31, .4);
  background: rgba(245, 130, 31, .1);
  border-radius: 999px; padding: 5px 13px;
  margin-bottom: 16px;
}
.badge-soft .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  animation: pulse 2.4s ease-in-out infinite;
}
.erp-next h3 { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 12px; }
.erp-next p { color: var(--muted); font-size: 15.5px; max-width: 780px; }
.erp-next p strong { color: var(--txt); font-weight: 600; }
.erp-next .link-arrow { margin-top: 20px; }

/* ---------------------------------------------------------------- processo */
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px;
  position: relative;
  margin-bottom: 58px;
}
/* linha do tempo: sai do centro de cada círculo e chega no centro do próximo */
.step { position: relative; display: flex; flex-direction: column; }
.step::after {
  content: '';
  position: absolute;
  top: 33px;
  left: 33px;
  width: calc(100% + 26px);
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.step:last-child::after { display: none; }
.step-dot {
  width: 66px; height: 66px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--line-2);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.step:hover .step-dot { border-color: var(--brand); background: rgba(245, 130, 31, .07); }
.step-num {
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  color: var(--brand);
  letter-spacing: .02em;
}
.step-tag {
  display: inline-block;
  font-family: var(--font-display); font-size: 10.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.step h3 { font-size: 18px; margin-bottom: 9px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* garantias */
.garantias {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, rgba(245, 130, 31, .07), transparent 62%);
}
.garantia { display: flex; gap: 14px; align-items: flex-start; }
.garantia-ico {
  flex: none; width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(245, 130, 31, .12);
  border: 1px solid rgba(245, 130, 31, .28);
}
.garantia-ico svg {
  width: 19px; height: 19px;
  fill: none; stroke: var(--brand); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.garantia-body { display: block; }
.garantia-body strong {
  display: block;
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  color: var(--txt); margin-bottom: 4px;
}
.garantia-body p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------------------------------------------------------------- casos */
.cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 20px;
}
.case {
  display: flex; flex-direction: column;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.case:hover { transform: translateY(-5px); border-color: var(--line-2); }
.case-head { margin-bottom: 16px; }
.case-tag {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand);
  background: rgba(245, 130, 31, .1);
  border: 1px solid rgba(245, 130, 31, .24);
  border-radius: 999px;
  padding: 4px 11px;
  margin-bottom: 14px;
}
.case h3 { font-size: 24px; margin-bottom: 4px; }
.case-text { color: var(--muted); font-size: 15px; margin-bottom: 20px; }

.case-list { display: grid; gap: 10px; margin-bottom: 22px; }
.case-list li {
  position: relative; padding-left: 24px;
  font-size: 14.5px; color: var(--txt-2);
}
.case-list li::before {
  content: ''; position: absolute; left: 2px; top: 8px;
  width: 9px; height: 5px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.case-foot {
  margin-top: auto; padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: .04em;
  color: var(--brand);
}

/* ---------------------------------------------------------------- contato */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}

.contact-form {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: var(--txt-2);
  margin-bottom: 8px;
}
.field label span { color: var(--brand); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--txt);
  font-family: var(--font-body); font-size: 15px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
  appearance: none;
}
.field textarea { resize: vertical; min-height: 118px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238B93A0' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--muted) 72%, transparent); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--bg-elev);
}
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #E05252; }
.error { color: #F07A7A; font-size: 12.5px; margin-top: 6px; min-height: 0; }
[data-theme="light"] .error { color: #C4363F; }

.form-note { margin-top: 14px; font-size: 14px; color: var(--muted); min-height: 20px; }
.form-note.is-ok { color: #4ADE80; }
.form-note.is-err { color: #F07A7A; }

/* continuação pelo WhatsApp depois do envio */
.form-next {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(37, 211, 102, .32);
  border-radius: var(--r);
  background: rgba(37, 211, 102, .07);
  text-align: center;
}
.form-next p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.form-next .btn { color: var(--txt); }
.form-next .btn:hover { border-color: #25D366; color: #25D366; }

.contact-side { display: grid; gap: 16px; }

.wa-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: linear-gradient(140deg, rgba(37, 211, 102, .14), rgba(37, 211, 102, .04));
  border: 1px solid rgba(37, 211, 102, .32);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.wa-card:hover { transform: translateY(-3px); border-color: rgba(37, 211, 102, .6); box-shadow: var(--shadow-sm); }
.wa-icon {
  flex: none; width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(37, 211, 102, .18);
}
.wa-icon svg { width: 26px; height: 26px; fill: #25D366; }
.wa-text { display: grid; gap: 4px; }
.wa-text strong { font-family: var(--font-display); font-size: 17px; }
.wa-text > span { font-size: 14px; color: var(--muted); }
.wa-number {
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
  color: #25D366; margin-top: 4px;
}
.wa-arrow {
  width: 20px; height: 20px; flex: none; margin-left: auto;
  fill: none; stroke: #25D366; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  align-self: center;
}

.contact-list { display: grid; gap: 12px; }
.contact-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  transition: border-color .25s var(--ease);
}
.contact-list li:hover { border-color: var(--line-2); }
.c-icon {
  flex: none; width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.c-icon svg { width: 19px; height: 19px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-list span:last-child { display: grid; gap: 2px; }
.contact-list small { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .09em; }
.contact-list strong, .contact-list a { font-family: var(--font-display); font-weight: 600; font-size: 15.5px; }
.contact-list a:hover { color: var(--brand); }

/* ---------------------------------------------------------------- footer */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding-top: clamp(52px, 6vw, 76px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr 1.2fr;
  gap: clamp(28px, 4vw, 52px);
  padding-bottom: 44px;
}
.footer-logo { width: 168px; height: auto; margin-bottom: 18px; }
.footer-desc { font-size: 14.5px; color: var(--muted); max-width: 330px; margin-bottom: 14px; }
.footer-cnpj {
  font-family: var(--font-display); font-size: 12px; letter-spacing: .08em;
  color: var(--txt-2);
  padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px;
  display: inline-block;
}
.footer-col h4 {
  font-size: 13px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--txt); margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col li { font-size: 14.5px; color: var(--muted); }
.footer-col a:hover { color: var(--brand); }
.footer-contact li { line-height: 1.5; }
.footer-col .btn { margin-top: 20px; }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}
.footer-legal a:hover { color: var(--brand); }

/* ---------------------------------------------------------------- flutuantes */
.fab-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .25s var(--ease);
}
.fab-wa:hover { transform: scale(1.07); }
.fab-wa svg { width: 30px; height: 30px; fill: #fff; }
.fab-tip {
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 8px 14px;
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-display); font-size: 13.5px; font-weight: 600;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  box-shadow: var(--shadow-sm);
}
.fab-wa:hover .fab-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

.to-top {
  position: fixed; right: 30px; bottom: 94px; z-index: 89;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-elev); border: 1px solid var(--line);
  color: var(--txt);
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, border-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { border-color: var(--brand); color: var(--brand); }
.to-top svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- reveal */
/* Animações de entrada só existem quando há JS para controlá-las.
   Sem JS (ou com JS quebrado) o conteúdo aparece normalmente. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- keyframes */
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 3px rgba(245, 130, 31, .22); }
  50% { opacity: .55; box-shadow: 0 0 0 7px rgba(245, 130, 31, 0); }
}
@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------------------------------------------------------- responsivo */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { max-width: 520px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-side { position: static; }  .contact-grid { grid-template-columns: 1fr; }
  .erp-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .compare { grid-template-columns: 1fr; }
  .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chain-step:not(:last-child)::after { display: none; }

  /* linha do tempo vira blocos */
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 26px; }
  .step::after { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 74px; }
  .nav, .header-cta { display: none; }
  .nav-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .brand-logo { width: 132px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 32px, var(--container)); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .about-side { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .marquee { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-cta .btn { width: 100%; }
  .fab-wa { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .to-top { right: 22px; bottom: 82px; }
  .footer-bottom { flex-direction: column; }
  .garantias { padding: 22px 20px; }
  .chain { grid-template-columns: 1fr; }
  .compare-col { padding: 24px 20px; }
  .compare-highlight { padding: 22px 20px 22px 46px; }
  .quote-mark { left: 14px; font-size: 40px; }

  /* linha do tempo vertical */
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .step { padding-left: 82px; }
  .step::after {
    display: block;
    top: 56px; bottom: -30px;
    left: 27px;
    width: 1px; height: auto;
    background: var(--line);
  }
  .step:last-child::after { display: none; }
  .step-dot {
    position: absolute; left: 0; top: 0;
    width: 56px; height: 56px; margin: 0;
  }
  .step-num { font-size: 17px; }
}

/* ---------------------------------------------------------------- preferências */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

@media print {
  .site-header, .mobile-nav, .nav-overlay, .fab-wa, .to-top, .hero-bg { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding: 24px 0; }
}
