/* ==========================================================================
   Techpon | Sistema de design
   Paleta extraida do logo oficial: laranja #FF8D00 -> #FF5F11, azul #004D80
   ========================================================================== */

@font-face {
  font-family: 'Eudoxus Sans';
  src: url('../fonts/eudoxussans-regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Eudoxus Sans';
  src: url('../fonts/eudoxussans-bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --bg:            #070B11;
  --bg-2:          #0B1119;
  --surface:       #111A26;
  --surface-2:     #16212F;
  --line:          rgba(255,255,255,.09);
  --line-strong:   rgba(255,255,255,.16);

  --text:          #EAF0F7;
  --muted:         #93A3B5;
  --dim:           #6B7C90;

  --orange:        #FF8D00;
  --orange-deep:   #FF5F11;
  --blue:          #004D80;
  --blue-lit:      #2A8FD4;

  --grad: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);

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

  --wrap: 1200px;
  --gut:  clamp(20px, 5vw, 40px);
  --sec:  clamp(72px, 10vw, 128px);

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

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: 'Eudoxus Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; }

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

/* ---------- tipografia ---------- */
h1, h2, h3, h4 { line-height: 1.14; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { color: var(--muted); }
strong { color: var(--text); font-weight: 700; }

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

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--sec); position: relative; }
.section--alt { background: var(--bg-2); }
.section--line { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }

.head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow::before { display: none; }
.head p { margin-top: 18px; font-size: 1.06rem; }

/* ---------- botoes ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 100px;
  font-weight: 700; font-size: .97rem; letter-spacing: -.01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--primary { background: var(--grad); color: #FFFFFF; box-shadow: 0 6px 24px -8px rgba(255,110,20,.7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(255,110,20,.85); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn--ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.txt-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--orange); font-weight: 700; font-size: .95rem;
}
.txt-link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.txt-link:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(7,11,17,.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.header__inner { display: flex; align-items: center; gap: 28px; height: 78px; }
.header__logo { display: flex; align-items: center; gap: 11px; flex: none; }
.header__logo img { height: 33px; width: auto; }
.header__logo span { font-weight: 700; font-size: 1.2rem; letter-spacing: .05em; line-height: 1; }

.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav__link { font-size: .95rem; font-weight: 400; color: var(--muted); transition: color .2s; position: relative; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--text); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px;
  height: 2px; background: var(--grad); border-radius: 2px;
}

.drop { position: relative; }
.drop__btn { display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; color: var(--muted); transition: color .2s; }
.drop__btn:hover, .drop.is-open .drop__btn { color: var(--text); }
.drop__btn svg { width: 11px; height: 11px; transition: transform .25s var(--ease); }
.drop.is-open .drop__btn svg { transform: rotate(180deg); }
.drop__menu {
  position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 0;
  min-width: 264px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 24px 50px -14px rgba(0,0,0,.75);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.drop.is-open .drop__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.drop__menu a { display: block; padding: 11px 14px; border-radius: var(--r-sm); font-size: .93rem; transition: background-color .2s; }
.drop__menu a:hover { background: rgba(255,255,255,.06); }
.drop__menu span { display: block; font-size: .8rem; color: var(--dim); margin-top: 2px; line-height: 1.4; }

.burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.burger span {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(140px, 19vw, 210px) clamp(72px, 10vw, 118px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 78% 12%, rgba(255,141,0,.20), transparent 65%),
    radial-gradient(760px 480px at 8% 74%, rgba(0,77,128,.42), transparent 65%),
    linear-gradient(180deg, rgba(7,11,17,.62) 0%, rgba(7,11,17,.86) 52%, var(--bg) 100%);
}
.hero__inner { position: relative; z-index: 1; max-width: 900px; }
.hero h1 { margin-bottom: 24px; }
.hero__sub { font-size: clamp(1.02rem, 1.7vw, 1.18rem); max-width: 680px; margin-bottom: 38px; }

.hero__strip {
  display: flex; flex-wrap: wrap; gap: 12px 34px; align-items: center;
  margin-top: 48px; padding-top: 30px; border-top: 1px solid var(--line);
}
/* Sem icone: os tres itens sao rotulos curtos, nao objetos identificaveis.
   Um filete laranja marca o item sem competir com o texto. */
.hero__strip li { display: flex; align-items: center; gap: 12px; font-size: .87rem; color: var(--dim); }
.hero__strip li::before { content: ""; flex: none; width: 20px; height: 2px; border-radius: 2px; background: var(--grad); }

/* ---------- grid de cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.card {
  position: relative; padding: 32px 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--grad); opacity: 0; transition: opacity .3s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: .96rem; }

.card__ico {
  width: 48px; height: 48px; border-radius: 13px; margin-bottom: 20px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(255,141,0,.17), rgba(255,95,17,.09));
  border: 1px solid rgba(255,141,0,.24);
  color: var(--orange);
}
.card__ico svg { width: 23px; height: 23px; }

.card__list { margin-top: 16px; display: grid; gap: 9px; }
.card__list li { display: flex; gap: 10px; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.card__list li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 9px; border-radius: 50%; background: var(--orange); }

.card--link { display: flex; flex-direction: column; }
.card--link .txt-link { margin-top: auto; padding-top: 20px; }

/* ---------- numeros ---------- */
/* 3 colunas, nao 6: numeros como "+3.400" nao cabiam numa celula de ~186px
   e eram cortados pelo overflow:hidden que arredonda as bordas do bloco. */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--bg-2); padding: 38px 28px; text-align: center; }
.stat__n { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.08; padding-inline: .1em; }
.stat__l { margin-top: 11px; font-size: .87rem; color: var(--muted); line-height: 1.45; }
.stats-note { margin-top: 22px; text-align: center; font-size: .95rem; color: var(--dim); font-style: italic; }

/* ---------- passos ---------- */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); counter-reset: s; }
.step { position: relative; padding: 32px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); counter-increment: s; }
.step::before {
  content: counter(s, decimal-leading-zero);
  display: block; font-size: 1.9rem; font-weight: 700; letter-spacing: -.04em;
  margin-bottom: 16px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: .95rem; }

/* BUG CORRIGIDO: .flow e um <ol> e o reset so zerava <ul>, entao o marcador
   decimal nativo do navegador continuava sendo desenhado a esquerda, atras do
   circulo do ::before. Era o "numero fantasma" cortado na borda do container.

   Layout: passos na horizontal, tres por linha. A lista vertical deixava a
   secao alta e vazia, e o trilho horizontal mostra a sequencia de relance. */
.flow {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px;
  counter-reset: f;
}
.flow--center { max-width: 1000px; margin-inline: auto; }
.flow li { counter-increment: f; position: relative; padding-top: 62px; }
.flow li::before {
  content: counter(f, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid rgba(255,141,0,.38);
  color: var(--orange); font-size: .84rem; font-weight: 700;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
/* trilho que liga um passo ao seguinte, dentro da mesma linha */
.flow li::after {
  content: ""; position: absolute; top: 21px; left: 58px; right: -28px; height: 2px;
  background: linear-gradient(90deg, rgba(255,141,0,.5), rgba(255,141,0,.06));
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .8s var(--ease) .1s;
}
.flow.in li::after { transform: scaleX(1); }
.flow li:nth-child(3n)::after, .flow li:last-child::after { display: none; }
.flow li:hover::before {
  background: var(--grad); border-color: transparent; color: #1A0A00;
  box-shadow: 0 10px 26px -8px rgba(255,110,20,.85);
}
.flow strong { display: block; margin-bottom: 7px; font-size: 1.06rem; }
.flow span { font-size: .95rem; color: var(--muted); display: block; }

/* ---------- segmentos ---------- */
/* Ladrilho de foto: o ambiente do cliente identifica o segmento melhor que um
   pictograma generico, entao o icone saiu e a foto entrou. */
/* Mosaico assimetrico: Servicos ja e uma grade de cards iguais com foto no
   topo. Aqui a foto e sangrada e os ladrilhos tem pesos diferentes, para as
   duas secoes nao lerem como a mesma coisa duas vezes. */
.segs { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 196px; grid-auto-flow: dense; }
.segs > .seg:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.segs > .seg:nth-child(3) { grid-column: span 2; }
.segs > .seg:nth-child(7) { grid-column: span 2; }
/* recorte de cada foto pensado para o ladrilho que ela ocupa */
.segs > .seg:nth-child(3) .ph img { object-position: 50% 58%; }
.segs > .seg:nth-child(4) .ph img { object-position: 62% 30%; }
.segs > .seg:nth-child(7) .ph img { object-position: 50% 66%; }
.seg {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 0; display: flex; align-items: flex-end;
  padding: 26px 24px; border-radius: var(--r-lg);
  border: 1px solid var(--line);
  transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.seg:hover { border-color: rgba(255,141,0,.42); transform: translateY(-6px); box-shadow: 0 26px 50px -26px rgba(0,0,0,.9); }
.seg > .seg__ph { position: absolute; inset: 0; z-index: -1; }
.seg__txt { position: relative; max-width: 640px; }

.seg h3 { font-size: 1.06rem; margin-bottom: 8px; }
.segs > .seg:nth-child(1) h3 { font-size: 1.5rem; }
.segs > .seg:nth-child(1) p { max-height: 10em; opacity: 1; }
.seg p {
  font-size: .92rem; line-height: 1.55; color: var(--muted);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .5s var(--ease), opacity .4s var(--ease);
}
.seg:hover p, .seg:focus-within p { max-height: 10em; opacity: 1; }
.seg__txt::before {
  content: ""; display: block; width: 30px; height: 2px; border-radius: 2px;
  background: var(--grad); margin-bottom: 14px;
  transition: width .45s var(--ease);
}
.seg:hover .seg__txt::before { width: 58px; }

/* ---------- faixa destaque ---------- */
.band {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(0,77,128,.30) 100%);
  padding: clamp(34px, 5vw, 56px);
}
.band__grid { display: grid; gap: 40px; align-items: center; grid-template-columns: 1.1fr .9fr; }
.band h2 { margin-bottom: 18px; }
.band p + p { margin-top: 14px; }
.band__media { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }

.pill-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.pill { padding: 8px 15px; border-radius: 100px; border: 1px solid var(--line-strong); font-size: .85rem; color: var(--muted); }

.split { display: grid; gap: clamp(32px, 5vw, 60px); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
/* O mesmo icone de check repetido linha a linha nao identificava nada: era um
   marcador de lista disfarcado de icone. Virou marcador de CSS. */
.checks { display: grid; gap: 13px; }
.checks li { position: relative; padding-left: 27px; font-size: .95rem; color: var(--muted); line-height: 1.55; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 9px; height: 9px; border-radius: 2px;
  background: var(--grad); transform: rotate(45deg);
}

/* ---------- contato ---------- */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 56px); grid-template-columns: 1fr 1.15fr; align-items: start; }

.info-list { display: grid; gap: 14px; }
.info {
  display: flex; gap: 15px; align-items: flex-start; padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
a.info:hover { border-color: rgba(255,141,0,.36); transform: translateX(3px); }
.info__ico { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,141,0,.13); border: 1px solid rgba(255,141,0,.25); color: var(--orange); }
.info__ico svg { width: 18px; height: 18px; }
.info__l { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); font-weight: 700; }
.info__v { font-size: .96rem; margin-top: 3px; word-break: break-word; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 38px); }
.form__row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: .84rem; font-weight: 700; color: var(--muted); }
.field .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--text); font: inherit; font-size: .95rem;
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 118px; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393A3B5' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 15px; padding-right: 40px;
}
.field option { background: #0B1119; color: #EAF0F7; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: var(--surface-2); }
.form .btn { width: 100%; margin-top: 6px; }
.form__note { margin-top: 18px; font-size: .82rem; color: var(--dim); line-height: 1.6; }
.form__note a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- rodape ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: clamp(52px, 7vw, 76px) 32px; }
.footer__top { display: grid; gap: 40px; grid-template-columns: 1.4fr 1fr 1fr; margin-bottom: 48px; }
.footer__logo { display: inline-flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.footer__logo img { height: 44px; width: auto; }
.footer__logo span { font-weight: 700; font-size: 1.5rem; letter-spacing: .05em; line-height: 1; }
.footer__tag { font-size: .95rem; max-width: 340px; }
.footer__meta { margin-top: 16px; font-size: .85rem; color: var(--dim); line-height: 1.7; }
.footer h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .13em; color: var(--dim); margin-bottom: 16px; }
.footer__nav { display: grid; gap: 10px; }
.footer__nav a { font-size: .93rem; color: var(--muted); transition: color .2s; }
.footer__nav a:hover { color: var(--orange); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--muted);
  transition: color .25s, border-color .25s, transform .25s var(--ease);
}
.socials a:hover { color: var(--orange); border-color: rgba(255,141,0,.4); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__bar { border-top: 1px solid var(--line); padding-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .84rem; color: var(--dim); }

/* ---------- whatsapp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #06281A;
  box-shadow: 0 10px 30px -8px rgba(37,211,102,.6);
  transition: transform .28s var(--ease);
}
.wa-float:hover { transform: scale(1.09) translateY(-2px); }
.wa-float svg { width: 29px; height: 29px; }

/* ---------- pagina interna ---------- */
.pagehero { position: relative; padding-block: clamp(132px, 17vw, 178px) clamp(48px, 7vw, 74px); overflow: hidden; border-bottom: 1px solid var(--line); }
.pagehero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 400px at 82% 0%, rgba(255,141,0,.15), transparent 62%),
    radial-gradient(640px 380px at 4% 100%, rgba(0,77,128,.34), transparent 62%);
}
.pagehero .wrap { position: relative; z-index: 1; }
.pagehero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 20px; }
.pagehero p { font-size: clamp(1.02rem, 1.7vw, 1.16rem); max-width: 640px; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .84rem; color: var(--dim); margin-bottom: 22px; }
.crumbs a { color: var(--muted); transition: color .2s; }
.crumbs a:hover { color: var(--orange); }
.crumbs svg { width: 12px; height: 12px; opacity: .5; }

.prose { max-width: 720px; }
.prose p { font-size: 1.04rem; }
.prose p + p { margin-top: 16px; }

.cta-box {
  text-align: center; padding: clamp(38px, 6vw, 62px);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(0,77,128,.28) 100%);
  border: 1px solid var(--line); border-radius: var(--r-lg);
}
.cta-box h2 { margin-bottom: 14px; }
.cta-box p { max-width: 540px; margin: 0 auto 28px; }
.cta-box .btn-row { justify-content: center; }

/* ---------- reveal ----------
   Escondido SOMENTE quando o JS confirmou que roda (classe .js na raiz).
   Sem isso, uma falha de JS deixaria o site inteiro invisivel. */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .rv.in { opacity: 1; transform: none; transition: none; }
  .btn, .card, .info, .socials a, .wa-float { transition: none; }
}

/* ---------- responsivo ---------- */
@media (max-width: 980px) {
  .band__grid { grid-template-columns: 1fr; }
  .band__media { aspect-ratio: 16/9; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 78px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 14px var(--gut) 26px;
    background: rgba(7,11,17,.97);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - 78px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav__link[aria-current="page"]::after { display: none; }
  .drop { border-bottom: 1px solid var(--line); }
  .drop__btn { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 1rem; }
  .drop__menu {
    position: static; translate: none; transform: none; min-width: 0; width: 100%;
    background: none; border: 0; box-shadow: none; padding: 0 0 10px;
    display: none; opacity: 1; visibility: visible;
  }
  .drop.is-open .drop__menu { display: block; }
  .drop__menu a { padding: 11px 0 11px 14px; border-left: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin-top: 18px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 34px; }
  .btn-row .btn { width: 100%; }
  .hero__strip { gap: 12px 22px; }
  .wa-float { right: 16px; bottom: 16px; }
}

/* ==========================================================================
   CAMADA VISUAL 2 | fotografia, movimento e textura tecnica
   Tudo aqui degrada com seguranca: sem JS o site continua legivel e estatico,
   e todo movimento e desligado em prefers-reduced-motion (fim do arquivo).
   ========================================================================== */

/* o conteudo precisa ficar acima das texturas de fundo das secoes */
.section > .wrap { position: relative; z-index: 1; }

/* ancora: sem isso o header fixo de 78px cobria o titulo da secao */
section[id] { scroll-margin-top: 96px; }

/* ---------- tratamento unico de foto ----------
   Foto de banco vira foto do site: dessaturada, puxada para o azul do logo nas
   sombras e para o laranja nas altas, com scrim para o texto nunca disputar. */
.ph { position: relative; overflow: hidden; background: var(--surface-2); }
.ph img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.42) contrast(1.1) brightness(.76);
  transform: scale(1.04);
  transition: transform 1.1s var(--ease), filter .7s var(--ease);
}
.ph::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(145deg, rgba(0,77,128,.66) 0%, rgba(7,11,17,.04) 54%, rgba(255,95,17,.36) 100%);
  transition: opacity .7s var(--ease);
}
.ph::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,11,17,.12) 0%, rgba(7,11,17,.28) 58%, rgba(7,11,17,.86) 100%);
}
/* ladrilho: o texto fica em cima da foto, entao o scrim precisa ser mais forte */
.ph--tile::after {
  background: linear-gradient(180deg, rgba(7,11,17,.24) 0%, rgba(7,11,17,.70) 52%, rgba(7,11,17,.95) 100%);
}
.ph--tile::before {
  background: linear-gradient(160deg, rgba(0,77,128,.72) 0%, rgba(7,11,17,.10) 62%, rgba(42,143,212,.30) 100%);
}
.ph--tile img { filter: saturate(.2) contrast(1.12) brightness(.8); }
.seg:hover .ph--tile img { filter: saturate(.9) contrast(1.04) brightness(.95); }

/* brilho que varre a foto e cantoneiras tecnicas */
.sheen { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.sheen::before {
  content: ""; position: absolute; inset: -20% -60%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.17) 50%, transparent 60%);
  transform: translateX(-115%);
}
.sheen::after {
  content: ""; position: absolute; inset: 12px;
  border: 1px solid rgba(255,255,255,.18);
  -webkit-mask-image:
    linear-gradient(90deg, #000 26px, transparent 26px, transparent calc(100% - 26px), #000 calc(100% - 26px)),
    linear-gradient(180deg, #000 26px, transparent 26px, transparent calc(100% - 26px), #000 calc(100% - 26px));
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, #000 26px, transparent 26px, transparent calc(100% - 26px), #000 calc(100% - 26px)),
    linear-gradient(180deg, #000 26px, transparent 26px, transparent calc(100% - 26px), #000 calc(100% - 26px));
  mask-composite: intersect;
  opacity: 0; transition: opacity .45s var(--ease);
}

.card--media:hover .ph img, .seg:hover .ph img {
  transform: scale(1.11);
  filter: saturate(.95) contrast(1.04) brightness(.92);
}
.card--media:hover .ph::before, .seg:hover .ph::before { opacity: .5; }
.card--media:hover .sheen::before, .seg:hover .sheen::before { transform: translateX(115%); transition: transform 1.05s var(--ease); }
.card--media:hover .sheen::after, .seg:hover .sheen::after { opacity: 1; }

/* ---------- card com foto (servicos) ---------- */
.card--media { padding: 0; display: flex; flex-direction: column; }
.card--media .card__media { aspect-ratio: 16 / 9; flex: none; }
.card--media .card__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.card--media .card__body > .txt-link { margin-top: auto; padding-top: 20px; }
.card--media h3 { margin-bottom: 10px; }

/* foco do ponteiro: realce radial que segue o mouse dentro do card */
.card { --mx: 50%; --my: 0%; }
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,141,0,.13), transparent 62%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.card:hover::after { opacity: 1; }
.card--media:hover { transform: translateY(-7px); box-shadow: 0 30px 56px -30px rgba(0,0,0,.92); }

/* ---------- cards do modelo, sem pictograma generico ----------
   "Engenharia propria", "execucao credenciada" e "garantia unica" sao conceitos:
   nenhum pictograma os identifica. O numero organiza sem fingir icone. */
.card__n {
  display: block; font-size: 2.5rem; font-weight: 700; letter-spacing: -.05em;
  line-height: 1; margin-bottom: 18px; color: transparent;
  background: linear-gradient(135deg, rgba(255,141,0,.9), rgba(255,95,17,.2));
  -webkit-background-clip: text; background-clip: text;
  transition: transform .4s var(--ease);
}
.card:hover .card__n { transform: translateY(-3px); }

/* ---------- faixa com foto, espelhada ---------- */
.band--rev .band__grid { grid-template-columns: .9fr 1.1fr; }
.band--rev .band__media { order: -1; }
.band__media { position: relative; }
.band__media .ph { position: absolute; inset: 0; }

/* ---------- entregaveis ----------
   Era uma lista de checks solta num fundo chapado. Virou grade de blocos: a
   mesma informacao, com peso visual compativel com o resto da pagina. */
.deliv { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 196px), 1fr)); counter-reset: d; }
.deliv li {
  counter-increment: d; position: relative; overflow: hidden;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 24px 20px 24px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  font-size: .95rem; color: var(--text); line-height: 1.5;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.deliv li::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad); transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .4s var(--ease);
}
/* o numero e um item do flex, nao uma marca d agua: assim nunca encosta no
   texto, por mais longo que o entregavel seja */
.deliv li::after {
  content: counter(d, decimal-leading-zero);
  margin-left: auto; align-self: flex-start;
  font-size: 1.55rem; font-weight: 700; letter-spacing: -.04em; line-height: 1.1;
  color: rgba(255,255,255,.09);
  transition: color .4s var(--ease), transform .4s var(--ease);
}
.deliv li:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--surface-2); }
.deliv li:hover::before { transform: scaleY(1); transform-origin: 50% 0; }
.deliv li:hover::after { color: rgba(255,141,0,.55); transform: translateY(-2px); }

/* ---------- textura tecnica das secoes alternadas ---------- */
.section--alt::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 0%, #000 15%, transparent 76%);
  mask-image: radial-gradient(ellipse 78% 62% at 50% 0%, #000 15%, transparent 76%);
}

/* ---------- carrossel de servicos ----------
   Trilho com scroll-snap: funciona no toque, no teclado e na roda do mouse
   mesmo sem JS. O JS so acrescenta as setas e os pontos. */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  /* folga vertical: o card sobe 7px no hover e overflow-x recorta o eixo Y */
  padding: 10px 0 22px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__track:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: var(--r); }

.carousel__nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 6px; }
.carousel__arrows { display: flex; gap: 10px; margin-left: auto; }
.carousel__btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--text);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), opacity .25s var(--ease);
}
.carousel__btn svg { width: 18px; height: 18px; }
.carousel__btn:hover:not(:disabled) { background: var(--grad); border-color: transparent; color: #FFFFFF; transform: translateY(-2px); }
.carousel__btn:disabled { opacity: .3; cursor: default; }

.carousel__dots { display: flex; align-items: center; gap: 9px; }
.carousel__dot {
  width: 30px; height: 4px; border-radius: 4px;
  background: var(--line-strong);
  transition: background-color .3s var(--ease), width .3s var(--ease);
}
.carousel__dot[aria-current="true"] { width: 50px; background: var(--grad); }

@media (max-width: 980px) {
  .carousel__track { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (max-width: 680px) {
  /* mostra um pedaco do proximo card: indica que da para arrastar */
  .carousel__track { grid-auto-columns: 84%; gap: 14px; }
  /* um card por vez = oito grupos: com os pontos em barra a linha estourava a
     largura da tela, entao aqui eles viram bolinhas */
  .carousel__nav { flex-wrap: wrap; gap: 14px; }
  .carousel__dot { width: 8px; height: 8px; border-radius: 50%; }
  .carousel__dot[aria-current="true"] { width: 22px; border-radius: 4px; }
  .carousel__dots { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel__track { scroll-behavior: auto; }
  .carousel__btn, .carousel__dot { transition: none; }
}

/* ---------- barra de progresso da leitura, no header ---------- */
.header::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--grad); transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
  opacity: 0; transition: opacity .3s var(--ease);
}
.header.is-stuck::after { opacity: 1; }

/* ---------- hero: malha tecnica, aurora e parallax ---------- */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 74px 74px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 20%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 20%, #000, transparent 72%);
}
.hero__bg img { will-change: transform; }
.hero__aurora { position: absolute; inset: -18% -10%; z-index: 0; pointer-events: none; overflow: hidden; }
.hero__aurora i { position: absolute; display: block; border-radius: 50%; filter: blur(78px); opacity: .5; }
.hero__aurora i:nth-child(1) { width: 46vw; height: 46vw; left: 58%; top: -12%; background: rgba(255,141,0,.30); animation: drift1 22s ease-in-out infinite alternate; }
.hero__aurora i:nth-child(2) { width: 40vw; height: 40vw; left: -8%; top: 42%; background: rgba(0,77,128,.55); animation: drift2 27s ease-in-out infinite alternate; }
.hero__aurora i:nth-child(3) { width: 26vw; height: 26vw; left: 34%; top: 62%; background: rgba(42,143,212,.24); animation: drift1 19s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-7%, 9%, 0) scale(1.14); } }
@keyframes drift2 { from { transform: translate3d(0,0,0) scale(1.08); } to { transform: translate3d(9%, -8%, 0) scale(.94); } }

/* revelacao do titulo, palavra a palavra (o JS injeta os .w) */
.js .hero h1 .w, .js .pagehero h1 .w { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(1.2deg); }
.js .hero h1.in .w, .js .pagehero h1.in .w {
  opacity: 1; transform: none;
  transition: opacity .62s var(--ease), transform .72s var(--ease);
  transition-delay: calc(var(--i, 0) * 52ms);
}

/* ---------- numeros: filete que acende ---------- */
.stat { position: relative; transition: background-color .4s var(--ease); }
.stat::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .5s var(--ease);
}
.stat:hover { background: var(--surface); }
.stat:hover::before { transform: scaleX(1); }

/* ---------- passos ---------- */
.step { overflow: hidden; transition: transform .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease); }
.step:hover { transform: translateY(-6px); border-color: var(--line-strong); background: var(--surface-2); }
.step::after {
  content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .55s var(--ease);
}
.step:hover::after { transform: scaleX(1); }

/* ---------- pagina interna com foto no topo ---------- */
.pagehero__bg { position: absolute; inset: 0; z-index: 0; }
.pagehero__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.5) brightness(.72) contrast(1.06); }
.pagehero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(7,11,17,.93) 0%, rgba(7,11,17,.72) 44%, rgba(7,11,17,.30) 100%),
    linear-gradient(180deg, rgba(7,11,17,.10) 0%, rgba(7,11,17,.05) 52%, var(--bg) 100%);
}
.pagehero__bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(620px 340px at 88% 18%, rgba(255,141,0,.18), transparent 66%),
    radial-gradient(520px 320px at 2% 92%, rgba(0,77,128,.42), transparent 68%);
}
.pagehero::before { z-index: 0; }

/* ---------- parallax suave (JS escreve --py) ---------- */
[data-parallax] { will-change: transform; transform: translate3d(0, var(--py, 0px), 0) scale(var(--pscale, 1)); }
.hero__bg img[data-parallax], .pagehero__bg img[data-parallax] { --pscale: 1.26; }

/* ---------- responsivo das pecas novas ---------- */
@media (max-width: 980px) {
  .band--rev .band__grid { grid-template-columns: 1fr; }
  /* mobile: a foto vem antes do texto, como no resto do site */
  .band--rev .band__media { order: -1; }
  .seg p { max-height: 10em; opacity: 1; }

  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow li:nth-child(3n)::after { display: block; }
  .flow li:nth-child(2n)::after { display: none; }
  .flow li:last-child::after { display: none; }

  .segs { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .segs > .seg:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .segs > .seg:nth-child(3), .segs > .seg:nth-child(7) { grid-column: span 2; }
}

@media (max-width: 620px) {
  /* uma coluna: o trilho volta a ser vertical, ligando os passos de cima a baixo */
  .flow { grid-template-columns: 1fr; gap: 30px; }
  .flow li:nth-child(n)::after {
    display: block; top: 52px; bottom: -30px; left: 21px; right: auto;
    width: 2px; height: auto;
    background: linear-gradient(180deg, rgba(255,141,0,.5), rgba(255,141,0,.06));
    transform: scaleY(0); transform-origin: 50% 0;
  }
  .flow.in li::after { transform: scaleY(1); }
  .flow li:last-child::after { display: none; }

  .segs { grid-template-columns: 1fr; grid-auto-rows: 232px; }
  .segs > .seg:nth-child(1), .segs > .seg:nth-child(3), .segs > .seg:nth-child(7) { grid-column: span 1; grid-row: span 1; }
  .segs > .seg .ph img { object-position: 50% 50%; }
}
@media (max-width: 560px) {
  .sheen::after { display: none; }
}

/* ---------- movimento reduzido: nada se mexe ---------- */
@media (prefers-reduced-motion: reduce) {
  .ph img, .card--media:hover .ph img, .seg:hover .ph img { transform: none; transition: none; }
  .sheen, .hero__aurora { display: none; }
  .flow li::after { transform: scaleY(1); transition: none; }
  .js .hero h1 .w, .js .pagehero h1 .w { opacity: 1; transform: none; transition: none; }
  [data-parallax] { transform: none; }
  .seg p { max-height: 10em; opacity: 1; transition: none; }
  .deliv li, .step, .stat, .card--media, .seg, .flow li { transition: none; }
}
