/* ============================================================
   C2R ENGENHARIA & TECNOLOGIA — Sistema visual
   Base: preto + verde #00DAB8 + branco · Tipografia: Montserrat
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --green: #00DAB8;
  --green-dim: #06b99c;
  --green-soft: rgba(0, 218, 184, 0.12);
  --black: #000000;
  --ink: #050606;          /* base escura levemente acima do preto puro */
  --panel: #0c0e0e;        /* painéis escuros */
  --panel-2: #121515;      /* painéis escuros (alt) */
  --white: #F8F8F8;
  --gray-100: #D9D9D9;
  --gray-300: #8A8A8A;
  --gray-700: #373737;

  /* Texto sobre escuro */
  --txt-d: #F8F8F8;
  --txt-d-soft: #b9bcbc;
  --txt-d-mute: #7e8282;

  /* Texto sobre claro */
  --txt-l: #0a0c0c;
  --txt-l-soft: #4a4f4f;
  --txt-l-mute: #8A8A8A;

  /* Bordas/vidro */
  --line-d: rgba(255, 255, 255, 0.10);
  --line-d-2: rgba(255, 255, 255, 0.06);
  --glass-d: rgba(255, 255, 255, 0.035);
  --glass-d-hi: rgba(255, 255, 255, 0.06);
  --line-l: rgba(8, 12, 12, 0.10);
  --glass-l: rgba(8, 12, 12, 0.018);

  --font: "Montserrat", system-ui, sans-serif;
  --mono: "Space Mono", "Courier New", monospace;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--txt-d);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
input, select, textarea { font-family: inherit; }
::selection { background: var(--green); color: #00231e; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(72px, 10vw, 132px); }
.section--tight { padding-block: clamp(56px, 7vw, 92px); }
.section--dark { background: var(--ink); color: var(--txt-d); }
.section--panel { background: var(--panel); color: var(--txt-d); }
.section--light { background: var(--white); color: var(--txt-l); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* Grade estrutural sutil de fundo */
.grid-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-d-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-d-2) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 35%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 35%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.section--light.grid-bg::before {
  background-image:
    linear-gradient(rgba(8,12,12,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,12,12,0.05) 1px, transparent 1px);
}
.grid-bg > * { position: relative; z-index: 1; }

/* Brilho verde decorativo */
.glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.5; pointer-events: none; z-index: 0; }
.glow--green { background: rgba(0, 218, 184, 0.22); }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.display {
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.h2 { font-weight: 700; font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.025em; }
.h3 { font-weight: 700; font-size: clamp(1.35rem, 2.2vw, 1.9rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--txt-d-soft); font-weight: 400; line-height: 1.55; text-wrap: pretty; }
.section--light .lead { color: var(--txt-l-soft); }
.muted { color: var(--txt-d-mute); }
.section--light .muted { color: var(--txt-l-mute); }
.tnum { font-variant-numeric: tabular-nums; }

/* Eyebrow / selo */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--green); display: inline-block;
}
.eyebrow--center::after {
  content: ""; width: 26px; height: 1px; background: var(--green); display: inline-block;
}
.eyebrow--plain::before { display: none; }

.section-head { max-width: 740px; }
.section-head.center { margin-inline: auto; }
.section-head .h2 { margin-top: 18px; }
.section-head .lead { margin-top: 18px; }

/* Texto verde inline */
.hl { color: var(--green); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  padding: 15px 26px; border-radius: 100px;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--green); color: #00231e; box-shadow: 0 8px 30px -10px rgba(0,218,184,.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(0,218,184,.7); }
.btn--ghost { border: 1px solid var(--line-d); color: var(--txt-d); background: var(--glass-d); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.section--light .btn--ghost { border-color: var(--line-l); color: var(--txt-l); background: transparent; }
.section--light .btn--ghost:hover { border-color: var(--green); color: var(--green-dim); }
.btn--dark { background: #0c0e0e; color: var(--white); }
.btn--dark:hover { transform: translateY(-2px); background: #000; }
.btn--sm { padding: 11px 18px; font-size: 0.85rem; }
.btn--lg { padding: 18px 32px; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* link com seta */
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.92rem; color: var(--green);
}
.arrow-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---------- Glass card ---------- */
.glass {
  background: var(--glass-d);
  border: 1px solid var(--line-d);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.section--light .glass { background: var(--glass-l); border-color: var(--line-l); }
.glass--hover:hover { transform: translateY(-5px); border-color: rgba(0,218,184,.4); background: var(--glass-d-hi); }
.section--light .glass--hover:hover { background: #fff; border-color: rgba(0,218,184,.5); box-shadow: 0 20px 50px -24px rgba(8,12,12,.25); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), border-color .3s var(--ease), height .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5,6,6,0.72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line-d);
  height: 70px;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 16px; font-size: 0.92rem; font-weight: 500;
  color: var(--txt-d-soft); border-radius: 8px; transition: color .2s var(--ease);
}
.nav a:hover { color: var(--white); }
.nav a.active { color: var(--white); }
.nav a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px;
  background: var(--green); border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-d); align-items: center; justify-content: center; }
.nav-toggle span { position: relative; width: 20px; height: 2px; background: var(--white); transition: .3s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--white); transition: .3s var(--ease); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(5,6,6,0.97); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: var(--gutter);
  transform: translateX(100%); transition: transform .4s var(--ease);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { font-size: 1.6rem; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line-d-2); color: var(--white); }
.mobile-nav a.active { color: var(--green); }
.mobile-nav .btn { margin-top: 24px; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: clamp(16px, 3vw, 30px); bottom: clamp(16px, 3vw, 30px); z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green); color: #00231e;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 36px -8px rgba(0,218,184,.7);
  transition: transform .3s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08) translateY(-2px); }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--green); animation: wa-pulse 2.4s var(--ease) infinite;
}
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Stack flutuante (link + WhatsApp) ---------- */
.float-stack {
  position: fixed; right: clamp(16px, 3vw, 30px); bottom: clamp(16px, 3vw, 30px); z-index: 90;
  display: flex; align-items: center; gap: 13px;
}
.float-stack .wa-float { position: relative; right: auto; bottom: auto; }
.float-link {
  display: inline-flex; align-items: center; gap: 9px; height: 54px; padding: 0 22px; border-radius: 30px;
  background: #fff; color: #05231e; font-weight: 700; font-size: 0.92rem; white-space: nowrap;
  box-shadow: 0 10px 34px -12px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.float-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.float-link:hover { transform: translateY(-3px); box-shadow: 0 16px 44px -12px rgba(0,0,0,.65), 0 0 0 1px var(--green); }
@media (max-width: 560px) {
  .float-link span { display: none; }
  .float-link { padding: 0; width: 54px; justify-content: center; border-radius: 50%; }
}

/* ---------- Placeholder de imagem ---------- */
.ph {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0e1111 0%, #161a1a 100%);
  border: 1px solid var(--line-d);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.022) 0 2px, transparent 2px 11px);
}
.ph::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
}
.ph__label {
  position: relative; z-index: 1;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--txt-d-mute); text-align: center; padding: 14px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.ph__label svg { width: 26px; height: 26px; opacity: .5; }
.section--light .ph { background: linear-gradient(135deg, #ececec 0%, #e1e3e3 100%); border-color: var(--line-l); }
.section--light .ph::before { background-image: repeating-linear-gradient(45deg, rgba(8,12,12,0.03) 0 2px, transparent 2px 11px); }
.section--light .ph::after { background-image: linear-gradient(rgba(8,12,12,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(8,12,12,0.05) 1px, transparent 1px); }
.section--light .ph__label { color: var(--txt-l-mute); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--txt-d); border-top: 1px solid var(--line-d); position: relative; }
.footer-top { padding-block: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-brand img { height: 34px; margin-bottom: 22px; }
.footer-brand p { color: var(--txt-d-soft); font-size: 0.92rem; max-width: 300px; }
.footer-col h4 { font-size: 0.78rem; font-family: var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; font-weight: 700; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li { color: var(--txt-d-soft); font-size: 0.92rem; transition: color .2s; }
.footer-col a:hover { color: var(--green); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.footer-contact svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { border-top: 1px solid var(--line-d-2); padding-block: 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-bottom p { color: var(--txt-d-mute); font-size: 0.82rem; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-d); display: flex; align-items: center; justify-content: center; color: var(--txt-d-soft); transition: .25s var(--ease); }
.socials a:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Decorativo: marcadores técnicos ---------- */
.tick-corner { position: relative; }
.tick-corner::before, .tick-corner::after {
  content: ""; position: absolute; width: 12px; height: 12px; border-color: var(--green); border-style: solid; opacity: .8;
}
.tick-corner::before { top: 0; left: 0; border-width: 1px 0 0 1px; }
.tick-corner::after { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

/* ============================================================
   COMPONENTES DE SEÇÃO
   ============================================================ */

/* Imagem cobrindo container */
.media { position: relative; overflow: hidden; border-radius: var(--radius); }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* HERO */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding-top: var(--header-h); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__bg .ph { position: absolute; inset: 0; border: none; border-radius: 0; align-items: flex-end; justify-content: flex-end; }
.hero__bg .ph__label { position: absolute; right: 24px; bottom: 22px; padding: 0; opacity: .7; }
.hero__bg .ph__label svg { display: none; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,6,6,.72) 0%, rgba(5,6,6,.82) 50%, var(--ink) 100%), linear-gradient(90deg, rgba(5,6,6,.9), rgba(5,6,6,.3)); }
.hero__inner { position: relative; z-index: 2; padding-block: clamp(40px, 8vh, 90px); width: 100%; }
.hero__title { margin-top: 26px; max-width: 17ch; }
.hero__sub { margin-top: 26px; max-width: 60ch; }
.hero__cta { margin-top: 38px; }
.hero__scroll { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--txt-d-mute); font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; }
.hero__scroll .bar { width: 1px; height: 46px; background: linear-gradient(var(--green), transparent); }

/* Page hero (interno) */
.page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(50px, 8vw, 96px)); padding-bottom: clamp(50px, 8vw, 96px); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.28; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,6,6,.55) 0%, rgba(5,6,6,.78) 60%, var(--ink) 100%), linear-gradient(90deg, rgba(5,6,6,.85), rgba(5,6,6,.35)); }
.page-hero > .container { position: relative; z-index: 2; }
.page-hero .crumb { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--txt-d-mute); margin-bottom: 22px; }
.page-hero .crumb a:hover { color: var(--green); }
.page-hero .crumb .sep { color: var(--green); margin-inline: 8px; }
.page-hero h1 { font-weight: 800; font-size: clamp(2.4rem, 5.2vw, 4.2rem); letter-spacing: -0.03em; max-width: 18ch; }
.page-hero .lead { margin-top: 22px; max-width: 64ch; }

/* STATS */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 30px 26px; }
.stat__num { font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; color: var(--white); line-height: 1; }
.section--light .stat__num { color: var(--txt-l); }
.stat__num .hl { color: var(--green); }
.stat__label { margin-top: 12px; color: var(--txt-d-soft); font-size: 0.9rem; line-height: 1.4; }
.section--light .stat__label { color: var(--txt-l-soft); }

/* CARD GENÉRICO */
.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { padding: 34px; display: flex; flex-direction: column; height: 100%; position: relative; }
.card:has(.arrow-link) { cursor: pointer; }
.card .arrow-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:has(.arrow-link:hover) { transform: translateY(-5px); border-color: rgba(0,218,184,.4); background: var(--glass-d-hi); }
.section--light .card:has(.arrow-link:hover) { background: #fff; border-color: rgba(0,218,184,.5); box-shadow: 0 20px 50px -24px rgba(8,12,12,.25); }
.card:has(.arrow-link:hover) .arrow-link svg { transform: translateX(4px); }
.card__icon { width: 54px; height: 54px; border-radius: 12px; border: 1px solid var(--line-d); display: flex; align-items: center; justify-content: center; color: var(--green); margin-bottom: 24px; background: var(--green-soft); }
.section--light .card__icon { border-color: rgba(0,218,184,.3); }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.card p { color: var(--txt-d-soft); font-size: 0.95rem; }
.section--light .card p { color: var(--txt-l-soft); }
.card .arrow-link { margin-top: 22px; }
.card__index { font-family: var(--mono); font-size: 0.8rem; color: var(--green); letter-spacing: 0.1em; margin-bottom: 18px; }

/* SELOS (chips de vidro) */
.seals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.seal { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; }
.seal__dot { width: 34px; height: 34px; border-radius: 9px; background: var(--green-soft); border: 1px solid rgba(0,218,184,.3); display: flex; align-items: center; justify-content: center; color: var(--green); flex-shrink: 0; }
.seal__dot svg { width: 18px; height: 18px; }
.seal p { font-size: 0.92rem; font-weight: 500; line-height: 1.35; }

/* SPLIT (texto + imagem) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--media-left { direction: rtl; }
.split--media-left > * { direction: ltr; }

/* PROCESSO / TIMELINE */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.process__line { position: absolute; top: 27px; left: 0; right: 0; height: 1px; background: var(--line-d); z-index: 0; }
.process__line span { position: absolute; left: 0; top: 0; height: 100%; background: var(--green); width: 0; transition: width 1.4s var(--ease); }
.step { position: relative; z-index: 1; padding-right: 22px; }
.step__node { width: 56px; height: 56px; border-radius: 50%; background: var(--panel); border: 1px solid var(--line-d); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700; color: var(--green); margin-bottom: 22px; transition: .4s var(--ease); }
.step.in .step__node { border-color: var(--green); box-shadow: 0 0 0 5px var(--green-soft); }
.step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: var(--txt-d-soft); }
.section--light .step__node { background: #fff; }
.section--light .step p { color: var(--txt-l-soft); }

/* SERVICE LIST (pilares) */
.pillar { padding: clamp(30px, 4vw, 48px); display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.pillar__head { max-width: 320px; position: sticky; top: 110px; }
.pillar__num { font-family: var(--mono); color: var(--green); font-size: 0.85rem; letter-spacing: 0.12em; }
.pillar h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 16px 0 16px; }
.pillar__head p { color: var(--txt-d-soft); font-size: 0.95rem; margin-bottom: 26px; }
.pillar__icon { width: 60px; height: 60px; border-radius: 14px; background: var(--green-soft); border: 1px solid rgba(0,218,184,.3); display: flex; align-items: center; justify-content: center; color: var(--green); margin-bottom: 24px; }
.pillar__icon svg { width: 30px; height: 30px; }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pillar__shot { grid-column: 1 / -1; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line-d); aspect-ratio: 16 / 7; margin-bottom: 6px; }
.pillar__shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.pillar:hover .pillar__shot img { transform: scale(1.04); }
.svc-item { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--line-d); border-radius: var(--radius-sm); background: var(--glass-d); transition: .3s var(--ease); }
.svc-item:hover { border-color: rgba(0,218,184,.4); background: var(--glass-d-hi); transform: translateX(4px); }
.svc-item__mk { color: var(--green); font-family: var(--mono); font-size: 0.8rem; flex-shrink: 0; }
.svc-item span:last-child { font-weight: 500; font-size: 0.96rem; }

/* PORTFOLIO */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proj { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-d); display: block; aspect-ratio: 4 / 3.2; background: #0e1111; }
.proj .ph { position: absolute; inset: 0; border: none; border-radius: 0; align-items: flex-start; justify-content: center; }
.proj .ph__label { margin-top: 26px; opacity: .6; }
.proj .ph__label svg { display: none; }
.proj__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform .6s var(--ease); }
.proj:hover .proj__img { transform: scale(1.06); }
.proj__overlay { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; background: linear-gradient(transparent 30%, rgba(0,0,0,.82)); transition: .4s var(--ease); }
.proj__tag { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.proj h3 { font-size: 1.15rem; line-height: 1.2; }
.proj__loc { color: var(--txt-d-soft); font-size: 0.85rem; margin-top: 8px; display: flex; align-items: center; gap: 6px; }
.proj__loc svg { width: 13px; height: 13px; color: var(--green); }
.proj::after { content: ""; position: absolute; inset: 0; z-index: 3; border: 2px solid transparent; border-radius: var(--radius); transition: .35s var(--ease); pointer-events: none; }
.proj:hover::after { border-color: var(--green); }
.proj:hover .proj__overlay { background: linear-gradient(transparent 10%, rgba(0,0,0,.88)); }
.proj__view { position: absolute; top: 18px; right: 18px; z-index: 4; width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: #00231e; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.6); transition: .35s var(--ease); }
.proj:hover .proj__view { opacity: 1; transform: scale(1); }
.proj__view svg { width: 18px; height: 18px; }

/* ACCORDION / FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.acc { border: 1px solid var(--line-d); border-radius: var(--radius-sm); background: var(--glass-d); overflow: hidden; transition: border-color .3s var(--ease); }
.section--light .acc { background: var(--glass-l); border-color: var(--line-l); }
.acc.open { border-color: rgba(0,218,184,.4); }
.acc__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; text-align: left; font-weight: 600; font-size: 1.02rem; }
.acc__q .ico { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-d); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: .35s var(--ease); position: relative; }
.acc__q .ico::before, .acc__q .ico::after { content: ""; position: absolute; background: var(--green); border-radius: 2px; transition: .35s var(--ease); }
.acc__q .ico::before { width: 12px; height: 2px; }
.acc__q .ico::after { width: 2px; height: 12px; }
.acc.open .acc__q .ico { background: var(--green); border-color: var(--green); }
.acc.open .acc__q .ico::before, .acc.open .acc__q .ico::after { background: #00231e; }
.acc.open .acc__q .ico::after { transform: scaleY(0); }
.acc__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc__a-inner { padding: 0 28px 26px; color: var(--txt-d-soft); font-size: 0.96rem; line-height: 1.65; max-width: 78ch; }
.section--light .acc__a-inner { color: var(--txt-l-soft); }

/* CTA FINAL */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(44px, 7vw, 84px); text-align: center; background: radial-gradient(120% 140% at 50% 0%, rgba(0,218,184,.16), transparent 60%), var(--panel); border: 1px solid var(--line-d); }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; max-width: 20ch; margin-inline: auto; }
.cta-band .lead { margin: 20px auto 34px; max-width: 56ch; }
.cta-band .btn-row { justify-content: center; }

/* FORM */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--txt-d-soft); letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  background: var(--glass-d); border: 1px solid var(--line-d); border-radius: var(--radius-sm);
  padding: 15px 16px; color: var(--white); font-size: 0.95rem; transition: border-color .25s, background .25s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--txt-d-mute); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: var(--glass-d-hi); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%2300DAB8' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field select option { background: #0c0e0e; color: var(--white); }
.form-note { font-size: 0.8rem; color: var(--txt-d-mute); }

/* Info de contato */
.contact-info { display: flex; flex-direction: column; gap: 4px; }
.info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-d-2); align-items: flex-start; }
.info-item:last-child { border-bottom: none; }
.info-item__ico { width: 46px; height: 46px; border-radius: 11px; background: var(--green-soft); border: 1px solid rgba(0,218,184,.3); display: flex; align-items: center; justify-content: center; color: var(--green); flex-shrink: 0; }
.info-item__ico svg { width: 20px; height: 20px; }
.info-item h4 { font-size: 0.78rem; font-family: var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--txt-d-mute); margin-bottom: 6px; font-weight: 700; }
.info-item p, .info-item a { font-size: 1rem; font-weight: 500; color: var(--white); }
.info-item a:hover { color: var(--green); }

/* MAPA */
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-d); position: relative; min-height: 340px; }
.map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; position: relative; z-index: 1; filter: grayscale(1) invert(0.92) hue-rotate(150deg) contrast(0.9); }
.map-fallback { position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px; color: var(--txt-d-mute); background: linear-gradient(135deg, #0e1111, #161a1a); }
.map-fallback svg { width: 34px; height: 34px; color: var(--green); opacity: .7; }
.map-fallback span { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; max-width: 30ch; }

/* LIGHTBOX */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(3,4,4,0.86); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: clamp(20px, 5vw, 60px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease); }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__inner { width: min(960px, 100%); transform: scale(.96); transition: transform .35s var(--ease); }
.lightbox.open .lightbox__inner { transform: scale(1); }
.lightbox__media .ph { border-radius: var(--radius); }
.lightbox__cap { margin-top: 22px; }
.lightbox__cap .proj__tag { display: block; }
.lightbox__cap h3 { font-size: 1.5rem; margin-top: 4px; }
.lightbox__cap p { color: var(--txt-d-soft); margin-top: 8px; }
.lightbox__close { position: absolute; top: clamp(16px, 3vw, 30px); right: clamp(16px, 3vw, 30px); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-d); color: var(--white); font-size: 1.8rem; line-height: 1; display: flex; align-items: center; justify-content: center; transition: .25s var(--ease); }
.lightbox__close:hover { border-color: var(--green); color: var(--green); }

/* Valores (missão/visão/valores) */
.mvv__icon { width: 50px; height: 50px; border-radius: 12px; border: 1px solid rgba(0,218,184,.3); background: var(--green-soft); display: flex; align-items: center; justify-content: center; color: var(--green); margin-bottom: 22px; }
.mvv__icon svg { width: 24px; height: 24px; }
.values-list { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.values-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--txt-d-soft); font-size: 0.95rem; }
.values-list svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 3px; }

/* Logo-marquee (atuação / credibilidade) */
.locations { display: flex; flex-wrap: wrap; gap: 12px; }
.loc-chip { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border: 1px solid var(--line-d); border-radius: 100px; background: var(--glass-d); font-size: 0.9rem; font-weight: 500; }
.loc-chip svg { width: 15px; height: 15px; color: var(--green); }

/* Divisor rotulado */
.label-rule { display: flex; align-items: center; gap: 18px; margin-bottom: 40px; }
.label-rule__txt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--txt-d-mute); white-space: nowrap; }
.label-rule__line { height: 1px; background: var(--line-d); flex: 1; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .process__line { display: none; }
  .pillar { grid-template-columns: 1fr; }
  .pillar__head { position: static; max-width: none; }
}
@media (max-width: 860px) {
  .nav, .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .cards--3, .cards--2, .portfolio-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--media-left { direction: ltr; }
  .form-grid { grid-template-columns: 1fr; }
  .seals { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .stats { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .card { padding: 26px; }
  .btn-row { flex-direction: column; align-items: center; }
  .btn-row .btn { width: 100%; justify-content: center; }
}
