/* ==========================================================================
   Lume Engenharia — folha de estilos
   Conceito: "luz sobre a estrutura". Faixas marinho (diagnóstico) alternadas
   com faixas marfim/brancas (leitura), dourado só para destacar.
   Identidade única (não muda com tema claro/escuro do sistema).
   ========================================================================== */

:root {
  /* Cor */
  --navy-900: #08101D;
  --navy-800: #0B1424;
  --navy-700: #14213A;
  --navy-600: #1E2F4F;
  --gold-500: #C9A45C;
  --gold-300: #E2C690;
  --gold-700: #9C7A35;
  --ivory: #F6F3EC;
  --white: #FFFFFF;
  --ink: #18202E;
  --ink-soft: #4A5466;
  --line-dark: rgba(226, 198, 144, .18);
  --line-light: #E3DDD0;
  --on-navy: #E9ECF2;
  --on-navy-soft: #A9B2C3;
  --danger: #B3261E;

  /* Tipografia */
  --f-display: "Marcellus", "Optima", "Candara", Georgia, serif;
  --f-body: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --fs-xs: .78rem;
  --fs-sm: .9rem;
  --fs-md: 1.05rem;
  --fs-lg: 1.25rem;
  --fs-h3: 1.2rem;
  --fs-h2: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 4vw, 4.4rem);

  /* Layout */
  --maxw: 1180px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --sec-y: clamp(4rem, 3rem + 5vw, 7.5rem);
  --header-h: 76px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

/* -------- Base -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-md);
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink);
  background: var(--navy-800);
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--navy-800);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold-500); color: var(--navy-900); padding: .6rem 1rem; font-weight: 500;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * 16px);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}

.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico--svc { width: 40px; height: 40px; color: var(--gold-500); }
.ico--diff { width: 30px; height: 30px; color: var(--gold-700); }
.ico--xl { width: 42px; height: 42px; opacity: .55; }
.ico--quote { width: 26px; height: 26px; color: var(--gold-500); }

/* Marcador de conteúdo provisório: para ocultar todos de uma vez,
   adicione a classe "no-ph" no <body>. */
.ph {
  display: inline-block;
  font-family: var(--f-mono); font-size: .72em; font-weight: 500; letter-spacing: .02em;
  color: #7A4B00; background: #FFE7A8; border: 1px dashed #C08A1E;
  padding: .05em .45em; border-radius: 3px; vertical-align: .08em; line-height: 1.5;
}
.no-ph .ph { display: none; }

/* -------- Tipografia comum -------- */
.eyebrow {
  font-family: var(--f-mono); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300);
  display: flex; align-items: center; gap: .75rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--dark { color: var(--gold-700); }

.h2 { font-family: var(--f-display); font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -.005em; }
.h2 em, .hero__title em, .cta em { font-style: normal; color: var(--gold-500); }
.section--ivory .h2 em, .section--white .h2 em { color: var(--gold-700); }

.link {
  display: inline-flex; gap: .4rem; align-items: center;
  font-weight: 500; font-size: var(--fs-sm); color: var(--gold-700);
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: gap .25s var(--ease);
}
.link:hover { gap: .7rem; }
.link--light { color: var(--gold-300); }

/* -------- Botões -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.5rem;
  font-weight: 500; font-size: .95rem; letter-spacing: .01em; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold-500); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-300); }
.btn--ghost { border-color: rgba(226, 198, 144, .55); color: var(--on-navy); background: transparent; }
.btn--ghost:hover { border-color: var(--gold-300); color: var(--gold-300); }

/* -------- Header -------- */
.header {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-solid, .header.is-open {
  background: rgba(8, 16, 29, .94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--line-dark);
}
/* backdrop-filter cria um bloco de contenção para o menu fixo: desligado com o menu aberto */
.header.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--navy-900); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--gold-500); }
.brand__mark { width: 40px; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-display); font-size: 1.45rem; letter-spacing: .14em; color: var(--gold-300); }
.brand__sub { font-size: .56rem; letter-spacing: .42em; color: var(--on-navy-soft); margin-top: .3rem; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; gap: 1.75rem; }
.nav__list a {
  color: var(--on-navy); text-decoration: none; font-size: .95rem; font-weight: 400;
  padding: .4rem 0; position: relative;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__list a:hover::after, .nav__list a.is-current::after { transform: scaleX(1); }
.nav__cta { min-height: 42px; padding: .6rem 1.1rem; font-size: .9rem; }

.burger {
  display: none; width: 46px; height: 46px; background: transparent; border: 1px solid var(--line-dark);
  border-radius: var(--radius); cursor: pointer; padding: 0; position: relative;
}
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--gold-300); transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* -------- Hero -------- */
.hero {
  position: relative; color: var(--on-navy);
  background:
    radial-gradient(60% 70% at 78% 30%, rgba(201, 164, 92, .10), transparent 70%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  padding-top: calc(var(--header-h) + clamp(2.5rem, 2rem + 4vw, 5rem));
  padding-bottom: 2.5rem;
  overflow: hidden;
}
.hero { min-height: calc(var(--header-h) + 41.7vw + 4rem); display: flex; flex-direction: column; justify-content: center; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 46%) 1fr; align-items: center; }
.hero__copy { position: relative; z-index: 2; text-shadow: 0 2px 28px rgba(8, 16, 29, .7); min-width: 0; display: flex; flex-direction: column; gap: 1.6rem; }
.hero__title { font-family: var(--f-display); font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -.01em; color: var(--white); }
.hero__lead { font-size: var(--fs-lg); color: var(--on-navy-soft); max-width: 34ch; line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: .4rem; }

/* Foto da fachada: ocupa o lado direito do topo e se funde ao azul à esquerda */
.hero__plate {
  position: absolute; z-index: 0; top: var(--header-h); right: 0; width: 74%; aspect-ratio: 1671 / 941; margin: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
.hero__img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 82%, transparent 100%);
}

.hero__strip {
  position: relative; z-index: 2;
  margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  display: flex; flex-wrap: wrap; gap: .4rem 0;
  border-top: 1px solid var(--line-dark); padding-top: 1.2rem;
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-soft);
}
.hero__strip li { display: flex; align-items: center; }
.hero__strip li + li::before { content: "◆"; color: var(--gold-500); font-size: .5rem; margin: 0 1rem; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* -------- Seções -------- */
.section { padding-block: var(--sec-y); }
.section--ivory { background: var(--ivory); color: var(--ink); }
.section--white { background: var(--white); color: var(--ink); }
.section--navy { background: var(--navy-800); color: var(--on-navy); }
.section--navy .h2 { color: var(--white); }

.section__head { display: flex; flex-direction: column; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.75rem); }
.section__head--split { max-width: none; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.section__head--split > div:first-child { display: flex; flex-direction: column; gap: 1rem; max-width: 36rem; min-width: 0; }
.section__lead { color: var(--ink-soft); font-size: var(--fs-md); max-width: 60ch; }
.section--navy .section__lead { color: var(--on-navy-soft); max-width: 38ch; }

/* Revelação suave ao rolar: o estado de repouso é visível */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal.is-pending { opacity: 0; transform: translateY(18px); }
  .js .reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
}

/* -------- Sinais -------- */
.signs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-light); }
.sign {
  display: flex; flex-direction: column; gap: .8rem;
  padding: 1.8rem 1.5rem 1.8rem 0; border-right: 1px solid var(--line-light);
}
.sign + .sign { padding-left: 1.5rem; }
.sign:last-child { border-right: 0; }
.sign h3 { font-family: var(--f-display); font-size: 1.3rem; line-height: 1.25; }
.sign p { color: var(--ink-soft); font-size: .97rem; flex: 1; }
.sign .link { align-self: flex-start; }

/* -------- Sobre -------- */
.about { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: clamp(2.5rem, 6vw, 6.5rem); align-items: start; }
.about__photo { margin: 0; align-self: center; position: relative; display: flex; flex-direction: column; gap: 1rem; width: 100%; max-width: 320px; }
.about__frame { position: relative; aspect-ratio: 3 / 4; max-width: 100%; }
.about__frame::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold-500); z-index: 0;
}
.about__crop { position: absolute; inset: 0; overflow: hidden; z-index: 1; background: var(--navy-700); }
.about__crop img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.about__photo figcaption { display: flex; flex-direction: column; margin-top: 1.4rem; font-size: var(--fs-sm); color: var(--ink-soft); }
.about__photo figcaption strong { font-weight: 500; color: var(--ink); font-size: 1rem; }

.about__copy { min-width: 0; display: flex; flex-direction: column; gap: 1.3rem; }
.about__copy > p { color: var(--ink-soft); max-width: 62ch; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: .6rem 0 0; border-block: 1px solid var(--line-light); }
.facts > div { padding: 1.2rem 1rem 1.2rem 0; }
.facts > div + div { padding-left: 1.2rem; border-left: 1px solid var(--line-light); }
.facts dt { font-family: var(--f-display); font-size: 2.1rem; line-height: 1; color: var(--gold-700); font-variant-numeric: tabular-nums; }
.facts dd { margin: .45rem 0 0; font-size: .86rem; color: var(--ink-soft); line-height: 1.4; }

.mvv { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: .4rem 0 0; }
.mvv dt, .values__t { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700); margin-bottom: .4rem; }
.mvv dd { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.values ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.values li { font-size: .85rem; padding: .35rem .8rem; border: 1px solid var(--line-light); background: var(--ivory); border-radius: 100px; color: var(--ink); }

/* -------- Serviços -------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.service {
  background: var(--navy-800); padding: 2.2rem 2rem; display: flex; flex-direction: column; gap: 1rem;
  position: relative; transition: background-color .35s var(--ease);
}
.service::after {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--gold-700), var(--gold-300));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.service:hover { background: var(--navy-700); }
.service:hover::after { transform: scaleX(1); }
.service h3 { font-family: var(--f-display); font-size: 1.45rem; color: var(--white); }
.service p { color: var(--on-navy-soft); font-size: .96rem; }
.service > p:not(.service__ref) { flex: 1; }
.service__ref { font-family: var(--f-mono); font-size: .72rem !important; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-300) !important; }
.service__btn {
  align-self: flex-start; color: var(--on-navy); text-decoration: none; font-size: .92rem; font-weight: 500;
  display: inline-flex; gap: .45rem; padding-bottom: 3px; border-bottom: 1px solid var(--gold-500);
  transition: gap .25s var(--ease), color .25s;
}
.service__btn:hover { gap: .75rem; color: var(--gold-300); }
.service--cta { background: linear-gradient(160deg, var(--navy-600), var(--navy-700)); justify-content: center; }
.service--cta .service__q { font-family: var(--f-display); font-size: 1.45rem; color: var(--white); flex: 0; }
.service--cta p { flex: 0; }
.service--cta .btn { align-self: flex-start; margin-top: .4rem; }
.service.is-target { background: var(--navy-700); }
.service.is-target::after { transform: scaleX(1); }

/* -------- Diferenciais -------- */
.diffs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.75rem 3rem; }
.diff { display: grid; grid-template-columns: auto 1fr; column-gap: 1.1rem; row-gap: .4rem; align-items: start; }
.diff .ico { grid-row: span 2; margin-top: .15rem; }
.diff h3 { font-family: var(--f-display); font-size: var(--fs-h3); }
.diff p { color: var(--ink-soft); font-size: .95rem; }

/* -------- Processo -------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: s; }
.step { display: flex; flex-direction: column; gap: .55rem; position: relative; padding-top: 1.6rem; border-top: 1px solid var(--line-light); }
.step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--gold-500); transform: rotate(45deg); }
.step__n { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; color: var(--gold-700); }
.step h3 { font-family: var(--f-display); font-size: 1.35rem; }
.step p { color: var(--ink-soft); font-size: .95rem; }

/* -------- Trabalhos -------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter {
  background: transparent; color: var(--on-navy-soft); border: 1px solid var(--line-dark);
  padding: .5rem 1rem; border-radius: 100px; font-size: .86rem; cursor: pointer; min-height: 40px;
  transition: all .25s var(--ease);
}
.filter:hover { color: var(--gold-300); border-color: var(--gold-500); }
.filter.is-active { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); font-weight: 500; }

.works { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.work a { display: flex; flex-direction: column; text-decoration: none; color: inherit; height: 100%; }
.work img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center;
  background: var(--navy-700); transition: transform .6s var(--ease), filter .4s;
}
.work img.work__img--top { object-position: center 18%; }
.work a > img { border: 1px solid var(--line-dark); }
.work a:hover img { filter: brightness(1.08); }
.work__body { display: flex; flex-direction: column; gap: .35rem; padding-top: .9rem; }
.tag { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); }
.work__t { font-size: 1rem; color: var(--on-navy); line-height: 1.35; }
.work a:hover .work__t { color: var(--gold-300); }
.work[hidden] { display: none; }
.works__empty { color: var(--on-navy-soft); padding: 2rem 0; }
.works__more { margin-top: 2.5rem; }

/* -------- Depoimentos -------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.quote { display: flex; flex-direction: column; gap: 1rem; padding: 2rem; background: var(--white); border: 1px solid var(--line-light); }
.quote p { font-family: var(--f-display); font-size: 1.12rem; line-height: 1.5; color: var(--ink); flex: 1; }
.quote__who { font-size: .85rem; color: var(--ink-soft); }
.quote--empty { border-style: dashed; background: transparent; }
.quote--empty p { color: var(--ink-soft); }
.quote--featured { grid-column: span 2; }
.quote__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.quote__stars { color: var(--gold-500); letter-spacing: .15em; font-size: 1.05rem; }
.quote__text { margin: 0; display: flex; flex-direction: column; gap: .8rem; }
.quote__text p { flex: none; font-size: 1.05rem; }
.quote__who strong { font-weight: 500; color: var(--ink); }

/* -------- CTA -------- */
.cta {
  background:
    radial-gradient(50% 120% at 10% 50%, rgba(201, 164, 92, .16), transparent 70%),
    var(--navy-700);
  color: var(--on-navy); padding-block: clamp(3.5rem, 3rem + 3vw, 5.5rem);
  border-block: 1px solid var(--line-dark);
}
.cta__inner { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
.cta__mark { width: 84px; height: 84px; }
.cta__copy { min-width: 0; display: flex; flex-direction: column; gap: .6rem; }
.cta .h2 { color: var(--white); font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); }
.cta__copy p { color: var(--on-navy-soft); max-width: 52ch; }
.cta__actions { display: flex; flex-direction: column; gap: .7rem; }

/* -------- Contato -------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.contact__info { min-width: 0; display: flex; flex-direction: column; gap: 1.2rem; }
.contact__info > p { color: var(--ink-soft); max-width: 46ch; }
.channels { display: flex; flex-direction: column; margin-top: .8rem; border-top: 1px solid var(--line-light); }
.channels li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--line-light); }
.channels .ico { width: 22px; height: 22px; color: var(--gold-700); margin-top: .2rem; }
.channels li > div { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .75rem; min-width: 0; }
.channels__k { width: 100%; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.channels a, .channels__v { font-size: 1.05rem; font-weight: 400; color: var(--ink); text-decoration: none; word-break: break-word; }
.channels a:hover { color: var(--gold-700); }
.copy {
  background: none; border: 1px solid var(--line-light); color: var(--ink-soft); font-size: .75rem;
  padding: .15rem .6rem; border-radius: 100px; cursor: pointer;
}
.copy:hover { border-color: var(--gold-500); color: var(--gold-700); }

.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.25rem;
  background: var(--ivory); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border: 1px solid var(--line-light);
}
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; min-height: 48px;
  background: var(--white); color: var(--ink);
  border: 1px solid #D4CDBE; border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(201, 164, 92, .25);
}
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__err { font-size: .8rem; color: var(--danger); min-height: 1em; }
.field__err:empty { display: none; }
.form__foot { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form__note { font-size: .8rem; color: var(--ink-soft); flex: 1; min-width: 14rem; }
.form__status { font-size: .92rem; color: var(--ink); }
.form__status:empty { display: none; }
.form__status a { color: var(--gold-700); font-weight: 500; }

/* -------- Rodapé -------- */
.footer { background: var(--navy-900); color: var(--on-navy-soft); padding-top: clamp(3.5rem, 3rem + 2vw, 5rem); font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__brand { display: flex; flex-direction: column; gap: 1.2rem; max-width: 34ch; }
.footer__t { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 1rem; }
.footer ul { display: flex; flex-direction: column; gap: .55rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold-300); }
.social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line-dark); color: var(--gold-300); border-radius: 50%;
}
.social a:hover { border-color: var(--gold-500); background: rgba(201, 164, 92, .1); }
.social .ico { width: 20px; height: 20px; }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  border-top: 1px solid var(--line-dark); padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  font-size: .8rem;
}

/* -------- WhatsApp flutuante -------- */
.float-wa {
  position: fixed; z-index: 40;
  right: calc(18px + env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-500); color: var(--navy-900);
  box-shadow: 0 10px 30px rgba(8, 16, 29, .35);
  transition: transform .25s var(--ease), background-color .25s;
}
.float-wa .ico { width: 28px; height: 28px; }
.float-wa:hover { transform: scale(1.06); background: var(--gold-300); }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1080px) {
  .works { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .signs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sign, .sign + .sign { padding: 1.6rem 1.5rem 1.6rem 0; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .sign:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line-light); }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .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; gap: 2rem;
    padding: 2rem var(--gutter-r) calc(2rem + env(safe-area-inset-bottom, 0px)) var(--gutter);
    background: var(--navy-900); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .header.is-open .nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; font-family: var(--f-display); font-size: 1.6rem; padding: .9rem 0; border-bottom: 1px solid var(--line-dark); }
  .nav__list a::after { display: none; }
  .nav__cta { min-height: 52px; font-size: 1rem; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero__plate { position: relative; top: auto; width: 100vw; margin: 2rem 0 0 calc(50% - 50vw); -webkit-mask-image: none; mask-image: none; }
  .hero__img { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%); }
  .hero__lead { max-width: 46ch; }
  .about, .contact { grid-template-columns: 1fr; }
  .about__photo { max-width: 420px; margin-inline: auto; }
  .about__photo figcaption { align-items: center; text-align: center; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diffs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .quotes { grid-template-columns: 1fr; }
  .quote--featured { grid-column: auto; }
  .cta__inner { grid-template-columns: 1fr; }
  .cta__mark { width: 64px; height: 64px; }
  .cta__actions { flex-direction: row; flex-wrap: wrap; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__strip { font-size: .68rem; }
  .hero__strip li + li::before { margin: 0 .6rem; }
  .signs { grid-template-columns: 1fr; }
  .sign, .sign + .sign, .sign:nth-child(even) { padding: 1.5rem 0; border-left: 0; }
  .services, .diffs, .steps { grid-template-columns: 1fr; }
  .service { padding: 1.8rem 1.4rem; }
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .work__t { font-size: .92rem; }
  .mvv { grid-template-columns: 1fr; }
  .facts dt { font-size: 1.7rem; }
  .facts > div + div { padding-left: .8rem; }
  .form { grid-template-columns: 1fr; }
  .cta__actions .btn { flex: 1 1 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .about__frame::before { inset: 12px -12px -12px 12px; }
  .about__photo { max-width: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Sprite de ícones SVG (fora do fluxo) */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
