/* ==========================================================================
   Covas de Oliveira Tecnologia — site institucional (v2)
   Mesma linguagem do site MFlux v2: tokens, claro/escuro, Inter.
   Identidade: azul Covas #0b72e3 -> #0052cc (o mesmo gradiente do logo).
   Tema controlado por [data-theme] no <html> (script no <head>).
   ========================================================================== */

:root {
  --brand:       #0b72e3;
  --brand-600:   #0052cc;
  --brand-700:   #003d99;
  --brand-400:   #3d8ff0;
  --brand-300:   #7fb4f5;
  --brand-soft:  #e8f2fe;
  --accent:      #22c55e;

  --navy-1:      #0c1e3d;
  --navy-2:      #081630;
  --navy-3:      #050e22;

  --bg:          #ffffff;
  --bg-alt:      #f4f7fc;
  --surface:     #ffffff;
  --surface-2:   #f7f9fd;
  --border:      #e3e9f3;
  --text:        #0d1a2e;
  --text-2:      #4a5a72;
  --text-3:      #8494ad;

  --ok:          #16a34a;  --ok-soft:   #dcfce7;
  --warn:        #d97706;  --warn-soft: #fef3c7;
  --info:        #0b72e3;  --info-soft: #e0edff;

  --header-bg:   rgba(255, 255, 255, .84);
  --shadow-sm:   0 1px 2px rgba(15, 23, 42, .06), 0 1px 1px rgba(15, 23, 42, .04);
  --shadow:      0 6px 24px rgba(15, 23, 42, .08);
  --shadow-lg:   0 24px 60px rgba(5, 14, 34, .30);

  --wrap:        1180px;
  --radius:      16px;
  --radius-lg:   24px;
  --ease:        cubic-bezier(.4, 0, .2, 1);
  --font:        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  color-scheme: light;
}

[data-theme="dark"] {
  --brand-soft:  #10274a;
  --bg:          #070f1f;
  --bg-alt:      #0a1427;
  --surface:     #0f1b33;
  --surface-2:   #14233f;
  --border:      #223456;
  --text:        #e7eefa;
  --text-2:      #a2b3cf;
  --text-3:      #6a7c9c;
  --ok-soft:     #0f3a24;
  --warn-soft:   #3d2a08;
  --info-soft:   #10274a;
  --header-bg:   rgba(7, 15, 31, .82);
  --shadow-sm:   0 1px 2px rgba(0, 0, 0, .3);
  --shadow:      0 6px 24px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

/* --------------------------------- reset -------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background .25s, color .25s;
}

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.025em; font-weight: 750; }
p  { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
img, svg { max-width: 100%; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
[data-theme="dark"] a { color: var(--brand-300); }

svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 2px; border-radius: 6px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: #fff; padding: .75rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* -------------------------------- layout -------------------------------- */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap-narrow { max-width: 820px; }

.section { padding: 104px 0; }
.section-alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-block; margin: 0 0 14px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand);
}
[data-theme="dark"] .eyebrow { color: var(--brand-300); }

.section-head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.section-head h2, .split-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
.section-head p, .split-head p { color: var(--text-2); font-size: 1.06rem; margin: 0; }

.grad {
  background: linear-gradient(135deg, var(--brand-400), var(--brand-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
[data-theme="dark"] .grad { background-image: linear-gradient(135deg, #8cc0ff, var(--brand-400)); }

/* -------------------------------- botões -------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: .98rem; line-height: 1.2; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-sm { padding: 10px 16px; font-size: .9rem; border-radius: 10px; }

.btn-primary, [data-theme="dark"] .btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-600));
  color: #fff; box-shadow: 0 8px 22px rgba(11, 114, 227, .32);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(11, 114, 227, .42); }

.btn-ghost, [data-theme="dark"] .btn-ghost {
  background: var(--surface); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--brand-300); }

.btn-glass, [data-theme="dark"] .btn-glass {
  background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .14); }

.btn-light, [data-theme="dark"] .btn-light { background: #fff; color: var(--brand-700); box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }

.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 10px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text-2); cursor: pointer; transition: color .2s, border-color .2s, background .2s;
}
.icon-btn:hover { color: var(--brand); border-color: var(--brand-300); }
.icon-btn svg { width: 19px; height: 19px; }

/* --------------------------------- marca -------------------------------- */

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); }
.brand:hover { text-decoration: none; }
[data-theme="dark"] .brand { color: var(--text); }
.brand-mark { display: inline-grid; width: 38px; height: 38px; flex-shrink: 0; }
.brand-mark svg { width: 100%; height: 100%; stroke: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.02rem; letter-spacing: -.02em; }
.brand-sub  { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }

/* -------------------------------- header -------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, background .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a {
  padding: 8px 12px; border-radius: 8px; color: var(--text-2); font-size: .93rem; font-weight: 550;
}
.site-nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
[data-theme="dark"] .site-nav a { color: var(--text-2); }
[data-theme="dark"] .site-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; }

.theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-sun  { display: none; }
[data-theme="dark"] .theme-toggle .i-moon { display: block; }

/* --------------------------------- hero --------------------------------- */

.hero {
  position: relative; overflow: hidden;
  padding: 88px 0 96px;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(11, 114, 227, .16), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(0, 82, 204, .10), transparent 60%),
    var(--bg);
}
[data-theme="dark"] .hero {
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(11, 114, 227, .28), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(0, 82, 204, .18), transparent 60%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  font-size: .85rem; font-weight: 600; color: var(--text-2);
}
.pill-dot {
  display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
}
.pill-dot svg { width: 13px; height: 13px; stroke-width: 2.6; }

.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); letter-spacing: -.035em; margin-bottom: 22px; }
.hero-lead { font-size: 1.15rem; color: var(--text-2); max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }

.hero-facts { display: flex; flex-wrap: wrap; gap: 36px; margin: 0; padding: 0; list-style: none; }
.hero-facts strong { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.hero-facts span { font-size: .88rem; color: var(--text-3); }

/* painel ilustrativo do hero */
.mock { position: relative; }
.mock-window {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 8px; padding: 14px 18px;
  border-bottom: 1px solid var(--border); background: var(--surface-2);
  font-size: .82rem; font-weight: 650; color: var(--text-2);
}
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock-bar i:nth-child(1) { background: #f87171; }
.mock-bar i:nth-child(2) { background: #fbbf24; }
.mock-bar i:nth-child(3) { background: #34d399; }
.mock-bar span { margin-left: 8px; }
.mock-body { padding: 20px; display: grid; gap: 16px; }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.kpi small { display: block; font-size: .72rem; color: var(--text-3); font-weight: 600; }
.kpi b { font-size: 1.25rem; letter-spacing: -.02em; }

.chart { display: flex; align-items: flex-end; gap: 7px; height: 84px; padding: 4px 2px 0; }
.chart span {
  flex: 1; border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--brand-400), var(--brand-600)); opacity: .85;
}
.chart span:nth-child(odd) { opacity: .55; }

.rows { display: grid; gap: 8px; }
.row {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface);
}
.row-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.row-ico svg { width: 17px; height: 17px; }
.row b { display: block; font-size: .86rem; font-weight: 650; }
.row small { font-size: .76rem; color: var(--text-3); }
.tag {
  font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.tag-ok   { background: var(--ok-soft);   color: var(--ok); }
.tag-warn { background: var(--warn-soft); color: var(--warn); }
.tag-info { background: var(--info-soft); color: var(--info); }
[data-theme="dark"] .tag-ok   { color: #4ade80; }
[data-theme="dark"] .tag-warn { color: #fbbf24; }
[data-theme="dark"] .tag-info { color: var(--brand-300); }

.float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow); font-size: .82rem; font-weight: 650; white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.float svg { width: 18px; height: 18px; color: var(--ok); }
.float code { font-size: .78rem; color: var(--text-3); font-weight: 500; }
.float-1 { top: -18px; right: -14px; }
.float-2 { bottom: -22px; left: -30px; animation-delay: -3s; }
.float-2 svg { color: var(--brand); }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ------------------------------- clientes ------------------------------- */

.logos { padding: 44px 0; border-block: 1px solid var(--border); background: var(--surface); }
.logos p { text-align: center; font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 26px; }
.logo-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; align-items: center; }
.logo-item { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.logo-tile {
  display: grid; place-items: center; width: 100%; max-width: 168px; height: 76px; padding: 12px 16px;
  border-radius: 14px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.logo-item:hover .logo-tile { transform: translateY(-2px); box-shadow: var(--shadow); }
[data-theme="dark"] .logo-tile { border-color: transparent; }
.logo-tile img { max-height: 48px; width: auto; max-width: 100%; object-fit: contain; }
.logo-item span { font-size: .78rem; color: var(--text-3); font-weight: 550; line-height: 1.3; }

/* ------------------------------- soluções ------------------------------- */

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 26px 24px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-300); }
.card-ico {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px;
  border-radius: 12px; background: var(--brand-soft); color: var(--brand);
}
[data-theme="dark"] .card-ico { color: var(--brand-300); }
.card-ico svg { width: 23px; height: 23px; }
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { font-size: .93rem; color: var(--text-2); margin-bottom: 14px; }
.card ul { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 6px; }
.card li { position: relative; padding-left: 22px; font-size: .86rem; color: var(--text-2); }
.card li::before {
  content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg);
}
[data-theme="dark"] .card li::before { border-color: var(--brand-300); }
.card-badge {
  position: absolute; top: 18px; right: 18px; font-size: .7rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand);
}
[data-theme="dark"] .card-badge { color: var(--brand-300); }
.card-link { margin-top: 14px; font-size: .9rem; font-weight: 650; }

/* ------------------------- produto: negativas -------------------------- */

.product {
  position: relative; overflow: hidden; color: #e7eefa;
  background:
    radial-gradient(800px 420px at 100% 0%, rgba(11, 114, 227, .35), transparent 60%),
    linear-gradient(180deg, var(--navy-1), var(--navy-3));
}
.product .eyebrow { color: var(--brand-300); }
.product h2 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.product-lead { color: #b5c4de; font-size: 1.08rem; max-width: 560px; }
.product-lead strong { color: #fff; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin: 32px 0 36px; padding: 0; list-style: none; }
.feats li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; }
.feats .fi {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: rgba(127, 180, 245, .12); color: var(--brand-300); border: 1px solid rgba(127, 180, 245, .18);
}
.feats .fi svg { width: 19px; height: 19px; }
.feats b { display: block; color: #fff; font-size: .95rem; font-weight: 650; margin-bottom: 2px; }
.feats span { font-size: .86rem; color: #9fb0cc; line-height: 1.5; }
.product-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* carta ilustrativa */
.letter-wrap { position: relative; }
.letter {
  position: relative; max-width: 440px; margin-left: auto;
  padding: 30px 30px 26px; border-radius: 18px; background: #fff; color: #1d2b42;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
  transform: rotate(1.2deg);
}
.letter-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.letter-head b { font-size: .95rem; }
.letter-head small { display: block; font-size: .72rem; color: #7c8aa3; }
.letter .ln { height: 8px; border-radius: 4px; background: #e8edf5; margin-bottom: 9px; }
.letter .ln.w80 { width: 80%; } .letter .ln.w60 { width: 60%; } .letter .ln.w90 { width: 90%; }
.letter-box {
  margin: 16px 0; padding: 12px 14px; border-radius: 10px; background: #f3f7fd; border: 1px solid #dfe8f5;
  font-size: .78rem; color: #3a4a64;
}
.letter-box b { color: #0d1a2e; }
.letter-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-size: .74rem; color: #7c8aa3; }
.letter-stamp {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  background: #e0edff; color: var(--brand-600); font-weight: 700;
}
.letter-stamp svg { width: 13px; height: 13px; stroke-width: 2.6; }
.letter-pdf {
  position: absolute; left: 0; bottom: -22px; transform: rotate(-1.2deg);
  display: flex; align-items: center; gap: 10px; padding: 11px 15px; border-radius: 14px;
  background: var(--navy-1); border: 1px solid rgba(127, 180, 245, .25); color: #fff;
  font-size: .82rem; font-weight: 650; box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
}
.letter-pdf svg { width: 18px; height: 18px; color: #4ade80; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 72px;
  border-radius: var(--radius); overflow: hidden; background: rgba(127, 180, 245, .16);
  border: 1px solid rgba(127, 180, 245, .16);
}
.stat { padding: 26px 22px; background: rgba(8, 22, 48, .85); text-align: center; }
.stat b { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.stat span { font-size: .86rem; color: #9fb0cc; }

/* ----------------------------- ecossistema ------------------------------ */

.eco { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split-head { margin-bottom: 0; }
.split-head p + p { margin-top: 14px; }

.hub { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
.hub-col { display: grid; gap: 12px; }
.node {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  font-size: .9rem; font-weight: 600;
}
.node svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }
[data-theme="dark"] .node svg { color: var(--brand-300); }
.node small { display: block; font-size: .74rem; color: var(--text-3); font-weight: 500; }
.hub-core {
  display: grid; place-items: center; width: 120px; height: 120px; border-radius: 28px;
  background: linear-gradient(135deg, var(--brand), var(--brand-600)); color: #fff;
  box-shadow: 0 18px 40px rgba(11, 114, 227, .35); text-align: center; font-size: .78rem; font-weight: 700;
  position: relative;
}
.hub-core svg { width: 40px; height: 40px; stroke: none; margin: 0 auto 6px; display: block; }
.hub-core::before, .hub-core::after {
  content: ""; position: absolute; top: 50%; width: 18px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand-300) 0 4px, transparent 4px 8px);
}
.hub-core::before { right: 100%; }
.hub-core::after  { left: 100%; }

/* --------------------------------- MFlux -------------------------------- */

.mflux {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  padding: 34px 36px; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--surface), var(--surface-2)); box-shadow: var(--shadow-sm);
}
.mflux-mark {
  display: grid; place-items: center; width: 68px; height: 68px; border-radius: 18px;
  background: #34528C; color: #fff;
}
.mflux-mark svg { width: 40px; height: 32px; stroke: none; }
.mflux h3 { font-size: 1.35rem; margin-bottom: 6px; }
.mflux p { color: var(--text-2); margin: 0; max-width: 620px; }

/* ------------------------------- projetos ------------------------------- */

.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project {
  padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.project-num { font-size: .8rem; font-weight: 800; letter-spacing: .1em; color: var(--brand); margin-bottom: 14px; display: block; }
[data-theme="dark"] .project-num { color: var(--brand-300); }
.project h3 { font-size: 1.12rem; }
.project p { color: var(--text-2); font-size: .94rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chips li {
  font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2);
}

/* --------------------------------- sobre -------------------------------- */

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.value { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.value .card-ico { margin-bottom: 14px; }
.value h3 { font-size: 1.05rem; }
.value p { color: var(--text-2); font-size: .94rem; margin: 0; }

/* ---------------------------------- CTA --------------------------------- */

.cta {
  position: relative; overflow: hidden; padding: 56px; border-radius: 28px; color: #fff;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(255, 255, 255, .18), transparent 60%),
    linear-gradient(135deg, var(--brand), var(--brand-700));
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  box-shadow: 0 26px 60px rgba(0, 82, 204, .35);
}
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.cta p { color: rgba(255, 255, 255, .85); margin: 0; max-width: 560px; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.cta-actions small { text-align: center; color: rgba(255, 255, 255, .8); font-size: .82rem; }

/* -------------------------------- rodapé -------------------------------- */

.site-footer { background: var(--navy-3); color: #9fb0cc; padding: 64px 0 28px; font-size: .92rem; }
.site-footer a { color: #c8d5ea; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.site-footer .brand, .site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: #7f93b5; }
.footer-about { margin-top: 16px; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid rgba(127, 180, 245, .14); font-size: .84rem;
}

/* ------------------------- WhatsApp e voltar ao topo -------------------- */

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 12px 28px rgba(37, 211, 102, .4);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; stroke: none; }

/* ------------------------------- páginas -------------------------------- */

.page-hero { padding: 72px 0 40px; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.page-hero p { color: var(--text-2); font-size: 1.1rem; max-width: 680px; margin: 0; }
.prose { padding: 56px 0 96px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; display: flex; align-items: center; gap: 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h2 .n {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  background: var(--brand-soft); color: var(--brand); font-size: .9rem; flex-shrink: 0;
}
[data-theme="dark"] .prose h2 .n { color: var(--brand-300); }
.prose p, .prose li { color: var(--text-2); }
.prose li { margin-bottom: .45em; }
.prose strong { color: var(--text); }
.prose-sign { margin-top: 2.5em; padding: 20px 24px; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--border); }

.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.error-code { font-size: clamp(5rem, 18vw, 8.5rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin: 18px 0 10px; }
.error-page p { color: var(--text-2); max-width: 520px; margin: 0 auto 30px; font-size: 1.08rem; }
.error-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* -------------------------------- reveal -------------------------------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float { animation: none; }
}

/* ------------------------------ responsivo ------------------------------ */

@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .logo-row { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
}

@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .hero-grid, .product-grid, .eco { grid-template-columns: 1fr; gap: 48px; }
  .mock { max-width: 560px; margin: 0 auto; width: 100%; }
  .float-2 { left: -8px; }
  .float-1 { right: -6px; }
  .letter { margin: 0 auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .projects, .values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mflux { grid-template-columns: 1fr; text-align: left; }
  .cta { grid-template-columns: 1fr; padding: 40px 32px; }

  .nav-burger { display: inline-grid; }
  .header-cta { display: none; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; gap: 2px;
    padding: 12px 16px 18px; margin: 0; background: var(--bg); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow); display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .header-actions { margin-left: auto; }
}

@media (max-width: 600px) {
  .wrap { padding-inline: 16px; }
  .hero { padding: 56px 0 72px; }
  .hero-facts { gap: 24px; }
  .cards, .feats { grid-template-columns: 1fr; }
  .logo-row { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .kpi { padding: 10px; }
  .kpi b { font-size: 1.05rem; }
  .hub { grid-template-columns: 1fr; justify-items: stretch; }
  .hub-core { margin: 0 auto; width: 100px; height: 100px; }
  .hub-core::before, .hub-core::after { display: none; }
  .float { display: none; }
  .letter { padding: 24px 22px; transform: none; }
  .letter-pdf { left: 10px; bottom: -20px; transform: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta { padding: 32px 22px; border-radius: 22px; }
  .brand-sub { display: none; }
}
