/* =========================================================
   LTECH Tecnologia — folha de estilos
   Organização: tokens · base · componentes · seções · responsivo
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Cores */
  --ink: #070D1A;          /* fundo escuro principal */
  --ink-2: #0C1628;        /* superfícies sobre o escuro */
  --ink-line: #1C2A45;     /* linhas sobre o escuro */
  --paper: #F3F5F9;        /* fundo claro alternado */
  --white: #FFFFFF;
  --text: #0B1324;         /* texto principal */
  --text-2: #4A566B;       /* texto secundário */
  --text-3: #7A869A;       /* texto terciário */
  --line: #E1E6EF;         /* bordas claras */
  --blue: #0B6B30;         /* verde LTECH — destaque */
  --blue-600: #085224;
  --blue-300: #4FBF78;     /* verde sobre fundo escuro */
  --blue-50: #EAF7EF;
  --cyan: #B6F36B;
  --ok: #34D399;
  --wa: #25D366;
  --on-dark: #E8EEF9;
  --on-dark-2: #9AA8C0;

  /* Tipografia */
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Geist", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Escala */
  --fs-xs: .78rem;
  --fs-sm: .9rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.3rem;
  --fs-h3: 1.15rem;
  --fs-h2: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  --fs-h1: clamp(2.5rem, 1.4rem + 4.6vw, 4.6rem);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 10px;
  --radius-sm: 6px;
  --header-h: 72px;
  --section-y: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); line-height: 1.08; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
section[id], [id="certificado"] { scroll-margin-top: calc(var(--header-h) + 8px); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); letter-spacing: 0; }
.nowrap { white-space: nowrap; }
.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: var(--fs-xs); font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em; color: var(--blue);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.eyebrow-dark { color: var(--blue-300); }
.eyebrow-light { color: #CDF3DA; }
.eyebrow .pulse + * {}
.h2 { font-size: var(--fs-h2); font-weight: 700; font-variation-settings: "wdth" 112; letter-spacing: -.02em; }
.muted-h { color: var(--text-3); }
.lead { font-size: var(--fs-md); color: var(--text-2); max-width: 58ch; line-height: 1.6; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--blue); --fg: #fff; --bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; min-height: 46px;
  border: 1px solid var(--bd); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--fg);
  font-family: var(--f-body); font-weight: 600; font-size: .95rem; line-height: 1.2;
  cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 24px -10px rgba(11,107,48,.7); }
.btn-primary:hover { --bg: var(--blue-600); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 12px 30px -10px rgba(11,107,48,.85); }
.btn-ghost { --bg: rgba(255,255,255,.04); --fg: var(--on-dark); --bd: rgba(255,255,255,.18); }
.btn-ghost:hover { --bg: rgba(255,255,255,.1); --bd: rgba(255,255,255,.35); }
.btn-white { --bg: #fff; --fg: var(--blue-600); }
.btn-white:hover { --bg: #E6F6EC; }
.btn-wa { --bg: transparent; --fg: var(--on-dark); --bd: rgba(255,255,255,.22); }
.btn-wa .ic { color: var(--wa); }
.btn-wa:hover { --bg: rgba(37,211,102,.1); --bd: var(--wa); }
.btn-sm { min-height: 40px; padding: 9px 16px; font-size: .9rem; }
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: 1rem; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); margin-top: 28px; }
.link-arrow .ic { transition: transform .3s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(7, 13, 26, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: rgba(255,255,255,.08);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.brand-logo { height: 38px; width: auto; }
.site-footer .brand-logo { height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 125; font-size: 1.28rem; letter-spacing: .01em; }
.brand-text small { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .34em; text-transform: uppercase; color: var(--on-dark-2); margin-top: 4px; }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav ul a {
  position: relative; display: block; padding: 8px 12px; border-radius: var(--radius-sm);
  color: var(--on-dark-2); font-size: .93rem; font-weight: 500; transition: color .2s;
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px;
  background: var(--blue-300); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav ul a:hover, .main-nav ul a.is-active { color: #fff; }
.main-nav ul a.is-active::after, .main-nav ul a:hover::after { transform: scaleX(1); }

.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-sm); background: transparent; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 500px at 78% 38%, rgba(11,107,48,.20), transparent 60%),
    radial-gradient(600px 400px at 8% 100%, rgba(182,243,107,.07), transparent 60%),
    var(--ink);
  color: var(--on-dark);
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(40px, 7vw, 96px));
  padding-bottom: clamp(64px, 8vw, 112px);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .7; }
.hero-grid {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--ok); animation: ping 2.4s var(--ease) infinite; }
.eyebrow .pulse { order: -1; }
.hero .eyebrow::before { display: none; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }

.hero-title {
  font-size: var(--fs-h1); font-weight: 800; font-variation-settings: "wdth" 118;
  letter-spacing: -.035em; line-height: .98; color: #fff; text-transform: uppercase;
}
.hero-title .hl {
  background: linear-gradient(92deg, #fff 0%, var(--blue-300) 45%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { margin-top: 24px; font-size: var(--fs-lg); line-height: 1.55; color: var(--on-dark-2); max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-pillars { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--ink-line); }
.hero-pillars li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--on-dark); }
.hero-pillars .ic { color: var(--blue-300); }

.hero-visual { position: relative; }
.console {
  position: relative;
  background: linear-gradient(180deg, rgba(20,34,62,.72), rgba(10,18,36,.72));
  border: 1px solid rgba(79,191,120,.18);
  border-radius: 14px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.02) inset;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}
.console-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: .74rem; color: var(--on-dark-2); }
.console-bar .dots { display: flex; gap: 6px; }
.console-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #25324D; }
.console-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--ok); }
.console-bar .live i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: blink 1.8s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }

.topology { width: 100%; height: auto; padding: 8px 8px 0; }
.topology .links path { stroke: rgba(79,191,120,.22); stroke-width: 1; fill: none; }
.topology .flows path { stroke: var(--blue-300); stroke-width: 1.6; fill: none; stroke-dasharray: 6 180; stroke-linecap: round; animation: flow 3.2s linear infinite; }
.topology .flows path:nth-child(2) { animation-delay: -.6s; }
.topology .flows path:nth-child(3) { animation-delay: -1.3s; }
.topology .flows path:nth-child(4) { animation-delay: -2s; }
.topology .flows path:nth-child(5) { animation-delay: -2.5s; }
.topology .flows path:nth-child(6) { animation-delay: -.9s; }
@keyframes flow { to { stroke-dashoffset: -186; } }
.topology .core rect { fill: #0C2A20; stroke: var(--blue); stroke-width: 1.4; }
.topology .core-t { font-family: var(--f-display); font-weight: 800; font-size: 15px; fill: #fff; letter-spacing: .04em; }
.topology .core-s { font-family: var(--f-mono); font-size: 8.5px; fill: var(--blue-300); }
.topology .node circle { fill: #0F1B33; stroke: rgba(79,191,120,.35); stroke-width: 1; }
.topology .node use { color: var(--on-dark); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.topology .node text { font-family: var(--f-mono); font-size: 10px; fill: var(--on-dark-2); }

.status { padding: 6px 16px 14px; }
.status li { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px dashed rgba(255,255,255,.08); font-size: .84rem; color: var(--on-dark); }
.status .mono { font-size: .72rem; color: var(--on-dark-2); }
.status b { font-weight: 500; font-size: .76rem; font-family: var(--f-mono); display: inline-flex; align-items: center; gap: 6px; }
.status b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ok { color: var(--ok); }
.run { color: var(--cyan); }

.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px; font-size: .8rem; font-weight: 500; color: #fff;
  background: rgba(16,28,54,.8); border: 1px solid rgba(79,191,120,.25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.6);
  animation: float 7s ease-in-out infinite;
}
.float-chip .ic { color: var(--blue-300); width: 1.1em; height: 1.1em; }
.chip-a { top: 16%; left: -28px; }
.chip-b { bottom: -18px; right: 28px; animation-delay: -3.5s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Seções ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section-white { background: var(--white); }
.section-paper { background: var(--paper); }
.section-ink { background: var(--ink); color: var(--on-dark); }
.section-ink .h2 { color: #fff; }
.section-ink .lead { color: var(--on-dark-2); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .h2 { max-width: 20ch; }
.section-head.center { justify-content: center; text-align: center; }
.section-head.center .h2 { margin-inline: auto; }

/* Desafio */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split-head .h2 { margin-bottom: 20px; }
.problem-list { border-top: 1px solid var(--line); }
.pl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); transition: background .3s var(--ease); }
.pl-q { color: var(--text-2); font-size: .98rem; }
.pl-a { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--text); }
.pl-a .ic { color: var(--blue); width: 22px; height: 22px; }
.pl-row:hover .pl-a { color: var(--blue-600); }

/* Sobre */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-copy .h2 { margin-bottom: 20px; }
.about-copy .lead { margin-bottom: 16px; color: var(--text); }
.about-copy > p:not(.lead):not(.eyebrow) { color: var(--text-2); max-width: 58ch; }
.about-actions { margin-top: 32px; }
.method { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 30px 60px -40px rgba(11,19,36,.25); }
.method-label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); margin-bottom: 8px; }
.steps { position: relative; }
.steps li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; }
.steps li + li { border-top: 1px solid var(--line); }
.step-n { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; font-size: .78rem; font-weight: 500; color: var(--blue); background: var(--blue-50); }
.steps h3 { font-size: var(--fs-h3); font-weight: 700; font-variation-settings: "wdth" 108; margin-bottom: 4px; }
.steps p { color: var(--text-2); font-size: .95rem; }

/* Serviços */
.filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.filter { border: 0; background: transparent; padding: 8px 14px; border-radius: 7px; font-size: .88rem; font-weight: 500; color: var(--text-2); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.filter:hover { color: var(--text); }
.filter.is-active { background: var(--white); color: var(--text); box-shadow: 0 1px 3px rgba(11,19,36,.12); }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.service {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 2.6vw, 34px); background: var(--white);
  transition: background .35s var(--ease);
}
.service::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease);
  background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(11,107,48,.07), transparent 70%);
}
.service:hover::before { opacity: 1; }
.service-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.service-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 10px; background: var(--blue-50); color: var(--blue); transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.service-ic .ic { width: 24px; height: 24px; }
.service:hover .service-ic { background: var(--blue); color: #fff; transform: translateY(-2px); }
.tag { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); }
.service h3 { font-size: 1.25rem; font-weight: 700; font-variation-settings: "wdth" 110; letter-spacing: -.01em; }
.service p { color: var(--text-2); font-size: .95rem; flex: 1; }
.service p .mono { font-size: .82rem; color: var(--text); }
.service-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--blue); margin-top: 6px; align-self: flex-start; }
.service-link .ic { transition: transform .3s var(--ease); }
.service-link:hover .ic { transform: translateX(4px); }
.service.is-hidden { display: none; }

/* Certificado */
.cert { color: #fff; overflow: hidden; isolation: isolate; background: #0A5C2A; }
.cert-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 400px at 85% 20%, rgba(182,243,107,.28), transparent 60%),
    radial-gradient(600px 500px at 0% 100%, rgba(7,13,26,.55), transparent 60%),
    linear-gradient(135deg, #0B6B30 0%, #0A5C2A 55%, #063A1B 100%);
}
.cert-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.cert-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.cert .h2 { color: #fff; max-width: 17ch; }
.cert .lead { color: #D8F4E1; margin-top: 20px; }
.cert-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 36px; }
.cert-tags li { padding: 7px 14px; border-radius: 6px; font-size: .86rem; font-weight: 500; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); }
.cert-tags li:nth-child(-n+2) { font-family: var(--f-mono); background: rgba(255,255,255,.18); }
.cert .btn-white .ic { color: var(--wa); }

.cert-visual { position: relative; min-height: 320px; display: grid; place-items: center; }
.cert-card {
  position: relative; z-index: 2; width: min(100%, 380px);
  padding: 24px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(255,255,255,.2), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 40px 70px -30px rgba(4,30,16,.7);
  transform: rotate(-3deg);
  transition: transform .6s var(--ease);
}
.cert-visual:hover .cert-card:not(.back) { transform: rotate(0deg) translateY(-4px); }
.cert-card.back { position: absolute; z-index: 1; transform: rotate(6deg) translate(34px, -20px); opacity: .55; min-height: 220px; }
.cc-head { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; color: #DDF6E6; }
.cc-chip { width: 42px; height: 32px; border-radius: 6px; background: linear-gradient(135deg, #F8D77A, #C9A13C); position: relative; }
.cc-chip::after { content: ""; position: absolute; inset: 7px 10px; border: 1px solid rgba(90,60,0,.35); border-radius: 3px; }
.cc-type { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 125; font-size: 2.1rem; letter-spacing: -.01em; margin: 22px 0 16px; }
.cc-fields { margin: 0; display: grid; gap: 10px; }
.cc-fields div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: center; }
.cc-fields dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: #BDEBCB; }
.cc-fields dd { margin: 0; font-size: .86rem; font-weight: 500; }
.cc-ok { display: inline-flex; align-items: center; gap: 6px; color: #A7F3D0; }
.cc-ok .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.cc-foot { display: flex; align-items: center; gap: 8px; margin-top: 20px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); font-size: .75rem; color: #DDF6E6; }

/* Card de destaque nos serviços */
.service-featured .service-ic { background: var(--blue); color: #fff; }
.service-featured .tag { color: var(--blue); }

/* Por que */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 48px) clamp(24px, 3vw, 40px); }
.why-item { padding-top: 24px; border-top: 1px solid var(--line); position: relative; }
.why-item::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--blue); transition: width .5s var(--ease); }
.why-item:hover::before { width: 64px; }
.why-item .ic { width: 28px; height: 28px; color: var(--blue); margin-bottom: 18px; }
.why-item h3 { font-size: var(--fs-h3); font-weight: 700; font-variation-settings: "wdth" 110; margin-bottom: 8px; }
.why-item p { color: var(--text-2); font-size: .95rem; max-width: 36ch; }

/* Missão / Visão / Valores */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.mv-block { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(28px, 3.4vw, 44px); }
.mv-label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .14em; color: var(--blue); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.mv-label::before { content: ""; width: 8px; height: 8px; background: var(--blue); border-radius: 2px; }
.mv-text { font-family: var(--f-display); font-weight: 600; font-variation-settings: "wdth" 104; font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); line-height: 1.25; letter-spacing: -.015em; text-wrap: balance; }
.mv-detail { color: var(--text-2); margin-top: 18px; font-size: .95rem; }
.values { margin-top: clamp(48px, 6vw, 72px); }
.values-label { margin-bottom: 24px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.value { background: var(--white); padding: 28px 24px; transition: background .3s var(--ease); }
.value:hover { background: #FAFBFE; }
.value .ic { width: 26px; height: 26px; color: var(--blue); margin-bottom: 20px; }
.value h3 { font-size: var(--fs-h3); font-weight: 700; font-variation-settings: "wdth" 110; margin-bottom: 8px; }
.value p { color: var(--text-2); font-size: .93rem; }

/* Clientes — carrossel contínuo */
.logos-marquee {
  position: relative; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logos-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.logos-marquee:hover .logos-track { animation-play-state: paused; }
.logos-track li {
  flex: none; width: 220px; height: 110px; margin-right: 20px;
  display: grid; place-items: center; padding: 18px 26px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.logos-track img {
  max-height: 64px; max-width: 100%; width: auto; height: auto; object-fit: contain;
  filter: grayscale(1) contrast(1.1); opacity: .75;
  transition: filter .35s var(--ease), opacity .35s var(--ease), transform .35s var(--ease);
}
.logos-track li:hover { border-color: #C9D5EE; box-shadow: 0 16px 30px -20px rgba(11,19,36,.3); }
.logos-track li:hover img { filter: none; opacity: 1; transform: scale(1.05); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* CTA final */
.cta-final { background: var(--white); padding-bottom: var(--section-y); }
.cta-box {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
  padding: clamp(36px, 6vw, 72px);
  border-radius: 18px; color: var(--on-dark);
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(11,107,48,.45), transparent 60%),
    radial-gradient(400px 300px at 0% 100%, rgba(182,243,107,.12), transparent 60%),
    var(--ink);
}
.cta-box::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  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: 40px 40px;
  mask-image: linear-gradient(90deg, transparent, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
}
.cta-box .h2 { color: #fff; max-width: 16ch; }
.cta-box .lead { color: var(--on-dark-2); margin-top: 18px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }

/* Contato */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-info .h2 { margin-bottom: 16px; }
.contact-list { margin: 32px 0 28px; display: grid; gap: 4px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.cl-ic { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); color: var(--blue); }
.cl-label { display: block; font-family: var(--f-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: 2px; }
.contact-list a, .contact-list address { font-weight: 500; color: var(--text); word-break: break-word; }
.contact-list a:hover { color: var(--blue); }


.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 3.5vw, 40px); box-shadow: 0 40px 80px -50px rgba(11,19,36,.35); display: grid; gap: 18px; }
.contact-form h3 { font-size: 1.4rem; font-weight: 700; font-variation-settings: "wdth" 110; margin-bottom: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .86rem; font-weight: 500; color: var(--text); }
.field label span { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #FBFCFE;
  font-size: .95rem; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #C9D3E4; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(11,107,48,.12); }
.field.has-error input, .field.has-error textarea { border-color: #D93A3A; }
.err { font-size: .8rem; color: #C62828; min-height: 0; }
.err:empty { display: none; }
.form-note { font-size: .82rem; color: var(--text-3); text-align: center; }
.form-note a { color: var(--blue); font-weight: 500; }
.form-status { font-size: .88rem; text-align: center; color: #0F7A4F; font-weight: 500; display: grid; gap: 10px; justify-items: center; }
.btn-wa-solid { --bg: var(--wa); --fg: #fff; }
.btn-wa-solid:hover { --bg: #1EBE5A; }
.form-status:empty { display: none; }
.contact-form .btn .ic { color: #fff; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-2); padding-top: clamp(56px, 7vw, 88px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin: 20px 0; font-size: .92rem; max-width: 40ch; }
.social { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--ink-line); color: var(--on-dark); transition: border-color .2s, color .2s; }
.social:hover { border-color: var(--blue-300); color: var(--blue-300); }
.footer-col h3 { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--on-dark); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col address, .footer-col p { font-size: .92rem; }
.footer-col p { margin-top: 10px; }
.footer-col a:hover, .footer-bottom a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid var(--ink-line); font-size: .84rem; }
.legal { display: flex; gap: 20px; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  display: inline-flex; align-items: center; gap: 0; height: 56px; padding: 0 16px;
  border-radius: 999px; background: var(--wa); color: #fff;
  box-shadow: 0 14px 30px -10px rgba(37,211,102,.6), 0 4px 10px rgba(0,0,0,.12);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), gap .3s var(--ease);
}
.wa-float .ic { width: 26px; height: 26px; }
.wa-label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: .92rem; transition: max-width .4s var(--ease); }
.wa-float:hover { transform: translateY(-2px); gap: 10px; }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { max-width: 140px; }

/* ---------- Animações de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero-copy > * { animation: rise .8s var(--ease) both; }
.js .hero-copy > *:nth-child(2) { animation-delay: .08s; }
.js .hero-copy > *:nth-child(3) { animation-delay: .16s; }
.js .hero-copy > *:nth-child(4) { animation-delay: .24s; }
.js .hero-copy > *:nth-child(5) { animation-delay: .32s; }
.js .hero-visual { animation: rise 1s .2s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .chip-a { left: -8px; }
}

@media (max-width: 920px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
    padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
    background: rgba(7,13,26,.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    overflow-y: auto;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { padding: 16px 4px; font-size: 1.3rem; font-family: var(--f-display); font-weight: 600; color: var(--on-dark); border-bottom: 1px solid var(--ink-line); border-radius: 0; }
  .main-nav ul a::after { display: none; }
  .nav-cta { min-height: 52px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background: var(--ink); }

  .hero-inner, .split, .about, .cert-inner, .contact, .cta-box { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .cert-visual { min-height: 280px; }
  .section-head .h2 { max-width: 24ch; }
}

@media (max-width: 640px) {
  .services, .why, .mv, .field-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .pl-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .hero-title { font-variation-settings: "wdth" 105; }
  .hero-lead { font-size: var(--fs-md); }
  .hero-actions .btn { flex: 1 1 100%; }
  .float-chip { display: none; }
  .status li { grid-template-columns: 52px 1fr auto; gap: 8px; font-size: .78rem; }
  .logos-track li { width: 170px; height: 90px; margin-right: 14px; padding: 14px 18px; }
  .logos-track { animation-duration: 24s; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-actions .btn { white-space: normal; }
  .filters { width: 100%; }
  .filter { flex: 1 1 auto; }
  .brand-logo { height: 32px; }
  .wa-float { right: 16px; height: 54px; padding: 0 14px; }
  .cc-fields div { grid-template-columns: 78px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .logos-marquee { mask-image: none; -webkit-mask-image: none; }
  .logos-track { animation: none !important; width: auto; flex-wrap: wrap; justify-content: center; gap: 14px; }
  .logos-track li { margin-right: 0; }
  .logos-track li[aria-hidden="true"] { display: none; }
  .hero-canvas { display: none; }
}
.footer-col h3 + p { margin-top: 0; }

/* ---------- Aviso de cookies (discreto) ---------- */
.cookie-banner {
  position: fixed; z-index: 120; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  max-width: calc(100% - 110px);
  display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 16px;
  background: rgba(12, 22, 40, .92); color: var(--on-dark-2);
  border: 1px solid var(--ink-line); border-radius: 10px;
  box-shadow: 0 12px 30px -16px rgba(0,0,0,.6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .8rem; line-height: 1.4;
  opacity: 0; transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.cookie-banner.is-visible { opacity: 1; transform: none; }
.cookie-banner a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 4px; flex: none; }
.cookie-actions button { border: 0; cursor: pointer; font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 6px; transition: background .2s, color .2s; }
.cookie-reject { background: transparent; color: var(--on-dark-2); }
.cookie-reject:hover { color: #fff; background: rgba(255,255,255,.06); }
.cookie-accept { background: var(--blue); color: #fff; }
.cookie-accept:hover { background: var(--blue-600); }
@media (max-width: 640px) {
  .cookie-banner { left: 12px; right: 84px; max-width: none; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); flex-wrap: wrap; gap: 6px 10px; padding: 10px 10px 10px 14px; }
  .cookie-actions { margin-left: auto; }
}

/* ---------- Área de atendimento ---------- */
.area {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.area-visual { border-right: 1px solid var(--line); background: #FAFBFD; }
.area-map { width: 100%; height: auto; display: block; }
.area-map .am-ring { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; fill: var(--blue); }
.area-map .am-city circle { fill: var(--white); stroke: var(--blue); stroke-width: 1.5; }
.area-map .am-city text { font-family: var(--f-body); font-size: 11.5px; fill: var(--text-2); }
.area-map .am-hub circle { fill: var(--blue); }
.area-map .am-hub .am-pulse { fill: var(--blue); opacity: .35; transform-box: fill-box; transform-origin: center; animation: am-pulse 2.4s var(--ease) infinite; }
.area-map .am-hub text { font-family: var(--f-display); font-weight: 800; font-size: 15px; fill: var(--text); }
@keyframes am-pulse { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(3.2); opacity: 0; } }
.area-info { padding: clamp(24px, 3.5vw, 44px); display: grid; gap: 14px; justify-items: start; }
.area-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); background: var(--blue-50); padding: 5px 10px; border-radius: 999px; }
.area-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.area-info h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); font-weight: 700; font-variation-settings: "wdth" 112; letter-spacing: -.02em; }
.area-info p { color: var(--text-2); max-width: 46ch; }
.area-cities { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.area-cities li { font-size: .82rem; padding: 5px 10px; border-radius: 6px; background: var(--paper); border: 1px solid var(--line); color: var(--text-2); }
.area-cities .is-main { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.area-info .link-arrow { margin-top: 6px; }
@media (max-width: 920px) {
  .area { grid-template-columns: 1fr; }
  .area-visual { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .area-map .am-city text { font-size: 17px; }
  .area-map .am-hub text { font-size: 21px; }
  .area-map .am-ring { font-size: 13px; }
}

/* Contato: colunas alinhadas */
.contact { align-items: stretch; row-gap: clamp(28px, 3vw, 40px); }
.contact-info { display: flex; flex-direction: column; }
.contact-quick {
  margin-top: auto; padding: 20px 22px; border-radius: 12px;
  background: var(--white); border: 1px solid var(--line);
}
.cq-title { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.cq-steps { display: grid; gap: 12px; }
.cq-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.cq-steps .mono { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: .72rem; color: var(--blue); background: var(--blue-50); }
.cq-steps p { font-size: .88rem; color: var(--text-2); line-height: 1.45; }
.cq-steps strong { color: var(--text); font-weight: 600; }
@media (max-width: 920px) { .contact-quick { margin-top: 24px; } }
