/* ==========================================================================
   BEN & BER Comércio Geral — folha de estilos
   Estilo "Engenharia e Tecnologia": azul escuro, branco, azul claro em detalhe.
   Mobile-first. Sem dependências.
   ========================================================================== */

:root {
  /* Cores da marca */
  --navy-950: #00132b;
  --navy-900: #001c3d;
  --navy-800: #002b5c;   /* azul do logótipo */
  --navy-700: #0b3b74;
  --navy-600: #1a4f8e;
  --sky-400: #5cc4ff;    /* azul claro: apenas detalhes */
  --sky-300: #97d8ff;
  --sky-100: #e7f5ff;

  --ink: #0c1a2c;
  --text: #2d3d53;
  --muted: #56667d;
  --line: #dde4ee;
  --line-strong: #c6d1df;
  --bg: #ffffff;
  --bg-soft: #f3f6fa;
  --on-navy: #ffffff;
  --on-navy-muted: #b9c8dc;
  --focus: #5cc4ff;
  --ok: #0f7b4b;
  --err: #b42318;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0, 28, 61, .06), 0 1px 3px rgba(0, 28, 61, .06);
  --shadow: 0 10px 30px -12px rgba(0, 28, 61, .22);
  --shadow-lg: 0 30px 60px -20px rgba(0, 20, 45, .35);

  --gutter: 16px;
  --header-h: 68px;
  --section: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --grid-light: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px) 0 0 / 40px 40px,
                linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px) 0 0 / 40px 40px;
  --grid-dark: linear-gradient(rgba(0,43,92,.05) 1px, transparent 1px) 0 0 / 40px 40px,
               linear-gradient(90deg, rgba(0,43,92,.05) 1px, transparent 1px) 0 0 / 40px 40px;
}
@media (min-width: 640px) { :root { --gutter: 24px; --section: 80px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --section: 104px; --header-h: 76px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.65 var(--font); font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.35rem + 3.1vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.45rem); }
h3, .h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sky-100); color: var(--navy-900); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }
main:focus { outline: none; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Tipografia auxiliar ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 500 .75rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy-700); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--sky-400); }
.eyebrow--light { color: var(--sky-300); }
.eyebrow .dot { display: none; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); line-height: 1.6; color: var(--on-navy-muted); max-width: 62ch; }
.lead-dark { font-size: 1.1rem; color: var(--text); max-width: 68ch; }
.muted { color: var(--muted); }
.muted-light { color: var(--on-navy-muted); font-size: .95rem; }
.req { color: var(--err); }
.opt { color: var(--muted); font-weight: 500; font-size: .85em; }

/* ---------- Botões ---------- */
.btn {
  --b-bg: var(--navy-800); --b-fg: #fff; --b-bd: var(--navy-800);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.35em; border-radius: var(--radius-sm);
  background: var(--b-bg); color: var(--b-fg); border: 1.5px solid var(--b-bd);
  font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); color: var(--b-fg); }
.btn:active { transform: none; }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--primary:hover { --b-bg: var(--navy-900); --b-bd: var(--navy-900); box-shadow: var(--shadow); }
.btn--light { --b-bg: #fff; --b-fg: var(--navy-900); --b-bd: #fff; }
.btn--light:hover { --b-bg: var(--sky-100); --b-bd: var(--sky-100); --b-fg: var(--navy-900); }
.btn--outline { --b-bg: transparent; --b-fg: var(--navy-800); --b-bd: var(--line-strong); }
.btn--outline:hover { --b-bd: var(--navy-800); --b-bg: var(--navy-800); --b-fg: #fff; }
.btn--outline-light { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255,255,255,.4); }
.btn--outline-light:hover { --b-bg: rgba(255,255,255,.1); --b-bd: #fff; --b-fg: #fff; }
.btn--ghost { --b-bg: transparent; --b-fg: var(--navy-800); --b-bd: transparent; }
.btn--text { --b-bg: transparent; --b-bd: transparent; --b-fg: var(--navy-700); padding: .2em 0; min-height: 0; }
.btn--text:hover { transform: none; text-decoration: underline; }
.btn--text .icon { transition: transform .2s var(--ease); }
.btn--text:hover .icon { transform: translateX(3px); }
.btn--lg { min-height: 54px; padding: .85em 1.6em; font-size: 1.02rem; }
.btn--sm { min-height: 40px; padding: .5em 1em; font-size: .9rem; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions--center { justify-content: center; margin-top: 40px; }
@media (max-width: 479px) { .actions > .btn { flex: 1 1 100%; } }

/* ---------- Barra superior e cabeçalho ---------- */
.topbar { display: none; background: var(--navy-950); color: var(--on-navy-muted); font-size: .82rem; }
.topbar__inner { display: flex; gap: 28px; align-items: center; min-height: 38px; }
.topbar__inner > * { display: inline-flex; align-items: center; gap: 8px; }
.topbar__inner > :nth-child(3) { margin-left: auto; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--sky-300); }
.topbar .icon { width: 15px; height: 15px; color: var(--sky-400); }
@media (min-width: 1100px) { .topbar { display: block; } }

.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
@supports (backdrop-filter: blur(8px)) { .header { background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); } }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,28,61,.45); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); flex: none; }
.brand__mark { width: 40px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-size: 1.22rem; font-weight: 800; letter-spacing: .02em; color: #1f2a37; }
.brand__text small { font-size: .82rem; font-weight: 600; color: #6b7280; margin-top: 4px; letter-spacing: .01em; }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text small { color: var(--on-navy-muted); }
@media (min-width: 1024px) { .brand__mark { width: 44px; } }

.nav { display: none; margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; }
.nav a { position: relative; display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: var(--radius-sm); }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--sky-400); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--navy-800); }
@media (min-width: 1100px) { .nav { display: block; } }

.header__cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (min-width: 1100px) { .nav + .header__cta { margin-left: 8px; } }
.header__cta .btn { display: none; }
@media (min-width: 640px) { .header__cta .btn { display: inline-flex; min-height: 44px; padding: .6em 1.1em; font-size: .92rem; } }
.burger { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--navy-900); }
.burger .icon { width: 24px; height: 24px; grid-area: 1 / 1; }
.burger__close { opacity: 0; transform: rotate(-90deg); transition: .2s var(--ease); }
.burger__open { transition: .2s var(--ease); }
.burger[aria-expanded="true"] .burger__open { opacity: 0; transform: rotate(90deg); }
.burger[aria-expanded="true"] .burger__close { opacity: 1; transform: none; }
@media (min-width: 1100px) { .burger { display: none; } }

/* Menu mobile */
.mnav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--navy-900); background-image: var(--grid-light); color: #fff; overflow-y: auto; overscroll-behavior: contain; padding: 12px var(--gutter) 32px; display: flex; flex-direction: column; }
.mnav[hidden] { display: none; }
.mnav.is-open { animation: mnav-in .28s var(--ease); }
@keyframes mnav-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mnav ul { list-style: none; }
.mnav li { border-bottom: 1px solid rgba(255,255,255,.1); }
.mnav nav a { display: flex; align-items: center; gap: 16px; padding: 18px 4px; color: #fff; text-decoration: none; font-size: 1.25rem; font-weight: 700; }
.mnav nav a .icon { margin-left: auto; color: var(--sky-400); width: 20px; height: 20px; }
.mnav nav a[aria-current="page"] { color: var(--sky-300); }
.mnav__n { font: 500 .75rem var(--mono); color: var(--sky-400); width: 22px; }
.mnav__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.mnav__foot .btn { width: 100%; }
.mnav__tel { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; padding: 6px 0; }
.mnav__tel .icon { color: var(--sky-400); }
.mnav__foot p { margin: 4px 0 0; color: var(--on-navy-muted); font-size: .9rem; }
body.menu-open { overflow: hidden; }
@media (min-width: 1100px) { .mnav { display: none !important; } }

/* ---------- Hero (página inicial) ---------- */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--grid-light); z-index: -1; mask-image: linear-gradient(180deg, #000 30%, transparent 95%); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%); }
.hero::after { content: ""; position: absolute; width: 720px; height: 720px; right: -240px; top: -260px; background: radial-gradient(closest-side, rgba(92,196,255,.18), transparent); z-index: -1; }
.hero__grid { display: grid; gap: 40px; padding-block: 48px 56px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; max-width: 18ch; }
.hero .lead { margin-bottom: 0; }
.hero__facts { list-style: none; display: grid; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.hero__facts li { display: flex; align-items: center; gap: 12px; color: var(--on-navy-muted); font-size: .94rem; }
.hero__facts .icon { color: var(--sky-400); width: 22px; height: 22px; }
.hero__media { position: relative; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 64px; padding-block: 80px 96px; }
  .hero__facts { grid-template-columns: 1fr 1fr; }
}

.hero__strip { position: relative; border-top: 1px solid rgba(255,255,255,.1); background: rgba(0,19,43,.55); }
.hero__strip ul { list-style: none; display: flex; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.hero__strip ul::-webkit-scrollbar { display: none; }
.hero__strip li { flex: 1 0 auto; }
.hero__strip a { display: flex; align-items: center; gap: 10px; padding: 18px 20px; color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; border-right: 1px solid rgba(255,255,255,.08); transition: background-color .2s; }
.hero__strip li:first-child a { padding-left: 0; }
.hero__strip a:hover { background: rgba(255,255,255,.05); color: var(--sky-300); }
.hero__strip .icon { color: var(--sky-400); }
@media (min-width: 1024px) { .hero__strip ul { justify-content: space-between; } .hero__strip li:last-child a { border-right: 0; } }

/* Moldura técnica para imagens (cantos de engenharia) */
.frame { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy-800); box-shadow: var(--shadow-lg); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--hero { aspect-ratio: 4 / 3.4; overflow: visible; background: transparent; box-shadow: none; }
.frame--hero img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.frame--hero::before, .frame--hero::after { content: ""; position: absolute; width: 56px; height: 56px; border: 2px solid var(--sky-400); pointer-events: none; }
.frame--hero::before { top: -12px; left: -12px; border-right: 0; border-bottom: 0; }
.frame--hero::after { bottom: -12px; right: -12px; border-left: 0; border-top: 0; }
.frame__tag { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: rgba(0,19,43,.82); color: #fff; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-sm); font: 500 .75rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.frame__tag .icon { color: var(--sky-400); width: 16px; height: 16px; }
.frame--dark { box-shadow: 0 30px 60px -25px rgba(0,0,0,.6); }

/* ---------- Secções ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy-900); background-image: var(--grid-light); color: var(--on-navy-muted); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head > p:last-child { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-head h2 { margin-bottom: .4em; }
.section-head--split { max-width: none; display: grid; gap: 12px; align-items: end; }
.section-head--split > p { color: var(--muted); font-size: 1.05rem; margin: 0; max-width: 56ch; }
.section-head--split h2 { margin: 0; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.1fr 1fr; gap: 48px; margin-bottom: 48px; } }
.section--navy .section-head > p:last-child { color: var(--on-navy-muted); }

/* Áreas de actuação */
.areas { display: grid; gap: 16px; }
@media (min-width: 640px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .areas { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.area { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.area:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.area__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.area__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--navy-800); color: #fff; }
.area__ic .icon { width: 26px; height: 26px; }
.area__n { font: 500 .8rem var(--mono); color: var(--muted); letter-spacing: .08em; }
.area h3 { margin-bottom: 8px; }
.area h3 a { color: inherit; text-decoration: none; }
.area h3 a::after { content: ""; position: absolute; inset: 0; }
.area > p { color: var(--muted); font-size: .96rem; }
.area ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; position: relative; z-index: 1; }
.area li a { display: inline-block; padding: 5px 10px; font-size: .82rem; font-weight: 600; color: var(--navy-700); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.area li a:hover { background: var(--sky-100); border-color: var(--sky-300); }
.area--cta { background: var(--navy-800); background-image: var(--grid-light); border-color: var(--navy-800); color: var(--on-navy-muted); display: flex; flex-direction: column; justify-content: center; }
.area--cta h3 { color: #fff; }
.area--cta > p { color: var(--on-navy-muted); }
.area--cta .btn { align-self: flex-start; margin-top: 8px; }

/* Porquê nós */
.why { display: grid; gap: 40px; }
.why__intro > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.why__img { margin-top: 28px; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.why__list { list-style: none; display: grid; gap: 16px; align-content: start; }
.why__item { display: flex; gap: 20px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.why__item h3 { margin-bottom: 6px; }
.why__item p { margin: 0; color: var(--muted); }
.why__ic { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--navy-800); color: var(--navy-800); position: relative; }
.why__ic::after { content: ""; position: absolute; width: 8px; height: 8px; top: 2px; right: 2px; border-radius: 50%; background: var(--sky-400); }
.why__ic .icon { width: 24px; height: 24px; }
@media (min-width: 960px) { .why { grid-template-columns: .9fr 1.1fr; gap: 64px; } .why__intro { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }

/* Portefólio (resumo) */
.pgrid { display: grid; gap: 16px; }
@media (min-width: 640px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pgrid { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 260px; gap: 20px; } .pcard--wide { grid-row: span 2; } }
.pcard { position: relative; display: block; min-height: 280px; border-radius: var(--radius); overflow: hidden; background: var(--navy-800); color: #fff; text-decoration: none; isolation: isolate; }
@media (min-width: 1024px) { .pcard { min-height: 0; } .pgrid .pcard:nth-child(4) { grid-column: 2 / span 2; } }
.pcard figure { position: absolute; inset: 0; margin: 0; z-index: -2; }
.pcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,19,43,0) 35%, rgba(0,19,43,.9) 100%); }
.pcard:hover img { transform: scale(1.04); }
.pcard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.pcard__meta { font: 500 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sky-300); }
.pcard h3 { color: #fff; margin: 6px 0 0; font-size: 1.15rem; }
.pcard--wide h3 { font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); }
.pcard:hover { color: #fff; }

/* Faixa Delivery */
.delivery-band { background: var(--navy-900); background-image: var(--grid-light); color: var(--on-navy-muted); padding-block: var(--section); overflow: hidden; }
.delivery-band__grid { display: grid; gap: 40px; align-items: center; }
.delivery-band h2 { color: #fff; }
.delivery-band__media .frame { aspect-ratio: 4 / 3; }
@media (min-width: 960px) { .delivery-band__grid { grid-template-columns: 1fr 1fr; gap: 72px; } }

.ticks { list-style: none; display: grid; gap: 12px; margin: 24px 0 0; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .icon { margin-top: 2px; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--sky-100); color: var(--navy-800); stroke-width: 2.4; }
.ticks--light li { color: #fff; }
.ticks--light .icon { background: rgba(92,196,255,.16); color: var(--sky-300); }
.bullets { list-style: none; display: grid; gap: 10px; }
.bullets li { position: relative; padding-left: 22px; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--sky-400); }

/* Processo */
.steps { list-style: none; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; } .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 28px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.section--soft .step { background: #fff; }
.step::before { content: ""; position: absolute; top: -1px; left: 24px; width: 40px; height: 3px; background: var(--sky-400); border-radius: 0 0 3px 3px; }
.step__n { position: absolute; top: 22px; right: 22px; font: 500 .8rem var(--mono); color: var(--muted); }
.step__ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: var(--radius-sm); background: var(--sky-100); color: var(--navy-800); }
.step__ic .icon { width: 24px; height: 24px; }
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Depoimentos */
.quotes { display: grid; gap: 20px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
.quote { margin: 0; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.quote blockquote { margin: 0 0 16px; font-size: 1.05rem; color: var(--ink); }
.quote figcaption { display: grid; font-size: .9rem; color: var(--muted); }
.quote strong { color: var(--ink); }

/* Faixa CTA */
.cta-band { background: var(--navy-800); background-image: var(--grid-light), radial-gradient(900px 400px at 100% 0, rgba(92,196,255,.16), transparent); color: var(--on-navy-muted); padding-block: calc(var(--section) * .8); }
.cta-band__inner { display: grid; gap: 28px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; max-width: 60ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-band__phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; text-decoration: none; padding: 8px 4px; }
.cta-band__phone .icon { color: var(--sky-400); }
.cta-band__phone:hover { color: var(--sky-300); }
@media (min-width: 960px) { .cta-band__inner { grid-template-columns: 1.2fr 1fr; gap: 56px; } .cta-band__actions { justify-content: flex-end; } }
@media (max-width: 479px) { .cta-band__actions .btn { flex: 1 1 100%; } }

/* ---------- Cabeçalho de páginas interiores ---------- */
.page-hero { position: relative; background: var(--navy-900); color: var(--on-navy-muted); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--grid-light); z-index: -1; }
.page-hero::after { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -300px; background: radial-gradient(closest-side, rgba(92,196,255,.16), transparent); z-index: -1; }
.page-hero__inner { padding-block: 40px 56px; display: grid; gap: 32px; align-items: center; }
.page-hero h1 { color: #fff; max-width: 22ch; margin-bottom: 16px; }
.page-hero .lead { margin: 0; }
.page-hero__icon { display: none; }
.page-hero__media { aspect-ratio: 4 / 3; }
@media (min-width: 960px) {
  .page-hero__inner { padding-block: 64px 80px; }
  .page-hero__inner--split { grid-template-columns: 1.4fr .6fr; gap: 64px; }
  .page-hero__inner--split:has(.page-hero__media) { grid-template-columns: 1.1fr .9fr; }
  .page-hero__icon { display: grid; place-items: center; justify-self: end; width: 200px; height: 200px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; color: var(--sky-400); position: relative; }
  .page-hero__icon::before { content: ""; position: absolute; inset: 18px; border: 1px dashed rgba(92,196,255,.35); border-radius: 50%; }
  .page-hero__icon .icon { width: 84px; height: 84px; stroke-width: 1.2; }
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; margin-bottom: 22px; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--on-navy-muted); }
.crumbs li + li::before { content: "/"; color: rgba(255,255,255,.35); }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--sky-300); text-decoration: underline; }

/* Navegação por áreas */
.chips { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.chips ul { list-style: none; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.chips ul::-webkit-scrollbar { display: none; }
.chips a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.chips a:hover, .chips a.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.chips .icon { width: 18px; height: 18px; }
.svc-group { scroll-margin-top: calc(var(--header-h) + 70px); }

/* Cartões de serviço */
.cards { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.card { position: relative; display: flex; flex-direction: column; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.card:not(.card--static):hover { border-color: var(--navy-800); box-shadow: var(--shadow); transform: translateY(-3px); }
.card__ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: var(--radius-sm); background: var(--sky-100); color: var(--navy-800); transition: background-color .25s, color .25s; }
.card:not(.card--static):hover .card__ic { background: var(--navy-800); color: #fff; }
.card__ic .icon { width: 26px; height: 26px; }
.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card__link { color: inherit; text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__link:focus-visible { outline: none; }
.card__link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 3px; }
.card p { color: var(--muted); font-size: .95rem; margin: 0 0 18px; }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--navy-700); }
.card__more .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.card:hover .card__more .icon { transform: translateX(4px); }

/* Fotografias de serviços */
.svc-media { display: grid; gap: 20px; }
.svc-photo { aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.svc-photo img { object-position: 50% 22%; }
.svc-photo--wide { aspect-ratio: 16 / 10; margin: 32px 0 8px; }
@media (min-width: 640px) { .cards--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .svc-media { grid-template-columns: 380px 1fr; gap: 24px; align-items: start; }
  .svc-media .svc-photo { aspect-ratio: 3 / 4; position: sticky; top: calc(var(--header-h) + 90px); }
  .cards--2 { grid-template-columns: repeat(2, 1fr); }
}

/* Página de serviço */
.svc { display: grid; gap: 40px; }
.svc__main h2 { margin-bottom: 14px; }
.svc__cols { display: grid; gap: 32px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .svc__cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .svc { grid-template-columns: 1fr 380px; gap: 64px; } .svc__aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.quote-card { display: grid; gap: 12px; padding: 28px; border-radius: var(--radius-lg); background: var(--navy-900); background-image: var(--grid-light); color: var(--on-navy-muted); box-shadow: var(--shadow-lg); }
.quote-card h2 { color: #fff; margin: 0; }
.quote-card p { margin: 0 0 6px; }
.quote-card .eyebrow { margin-bottom: 0; }
.quote-card .btn { width: 100%; }
.quote-card__tel { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px; color: #fff; font-weight: 700; text-decoration: none; }
.quote-card__tel .icon { color: var(--sky-400); }
.quote-card__hours { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: .85rem; border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; margin: 4px 0 0 !important; }
.quote-card__hours .icon { width: 16px; height: 16px; color: var(--sky-400); }

/* ---------- Sobre ---------- */
.split { display: grid; gap: 40px; align-items: start; }
.split--center { align-items: center; }
.split__text > p:not(.eyebrow) { font-size: 1.04rem; }
.split__media .frame { aspect-ratio: 4 / 3; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.logo-card { margin: 0; padding: 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); display: grid; place-items: center; background-image: var(--grid-dark); }
.logo-card img { width: min(320px, 100%); mix-blend-mode: multiply; }
.facts { margin: 20px 0 0; display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.facts div:last-child { border-bottom: 0; }
.facts dt { font: 500 .75rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; }
.mvv { display: grid; gap: 16px; }
@media (min-width: 900px) { .mvv { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.mvv__card { padding: 32px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); border-top: 3px solid var(--navy-800); }
.mvv__card p { color: var(--muted); margin: 0; }
.mvv__ic { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 50%; background: var(--sky-100); color: var(--navy-800); }
.features { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 30px 28px; background: #fff; }
.feature h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }
.feature__ic { display: inline-grid; margin-bottom: 16px; color: var(--navy-800); }
.feature__ic .icon { width: 30px; height: 30px; }
.spec { margin: 0; display: grid; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(0,19,43,.4); }
.spec div { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 22px; border-bottom: 1px dashed rgba(255,255,255,.14); }
.spec div:last-child { border-bottom: 0; }
.spec dt { font: 500 .75rem/1.8 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--sky-300); }
.spec dd { margin: 0; color: #fff; font-weight: 700; }

/* ---------- Projetos ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter { min-height: 44px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font-weight: 600; font-size: .92rem; color: var(--ink); transition: .2s; }
.filter:hover { border-color: var(--navy-800); }
.filter[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.projects { display: grid; gap: 56px; }
.project[hidden] { display: none; }
.project__head { display: grid; gap: 20px; margin-bottom: 24px; }
.project__head h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); margin-bottom: 10px; }
.project__head p { color: var(--muted); max-width: 70ch; margin: 0; }
.project__head .btn { justify-self: start; }
.project__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .88rem; margin-bottom: 12px !important; }
.project__meta .icon { width: 16px; height: 16px; color: var(--navy-700); }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--sky-100); color: var(--navy-800); font: 500 .72rem var(--mono); letter-spacing: .06em; text-transform: uppercase; }
@media (min-width: 900px) { .project__head { grid-template-columns: 1fr auto; align-items: end; gap: 40px; } }
.gallery { list-style: none; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.gallery li:first-child { grid-column: 1 / -1; }
@media (max-width: 899px) { .gallery li:last-child:nth-child(even) { grid-column: 1 / -1; } .gallery li:last-child:nth-child(even) .gallery__item { aspect-ratio: 16 / 9; } }
.gallery__item { position: relative; display: block; height: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); background: var(--bg-soft); }
.gallery li:first-child .gallery__item { aspect-ratio: 16 / 9; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__zoom { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(0,19,43,.72); color: #fff; opacity: 0; transition: opacity .2s; }
.gallery__item:hover .gallery__zoom, .gallery__item:focus-visible .gallery__zoom { opacity: 1; }
.gallery__zoom .icon { width: 18px; height: 18px; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 12px; }
  .gallery li:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery__item, .gallery li:first-child .gallery__item { aspect-ratio: auto; }
  .gallery--3 { grid-template-columns: 2fr 1fr; grid-auto-rows: 200px; }
  .gallery--3 li:first-child { grid-column: 1; }
}
.clients { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.client { display: grid; place-items: center; gap: 8px; min-height: 120px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.client img { max-height: 56px; width: auto; }
.client span { font-size: .8rem; color: var(--muted); }
.empty-refs { display: grid; gap: 20px; padding: 32px; background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--radius); align-items: center; }
.empty-refs h3 { margin-bottom: 6px; }
.empty-refs p { margin: 0; color: var(--muted); }
.empty-refs__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--sky-100); color: var(--navy-800); }
@media (min-width: 800px) { .empty-refs { grid-template-columns: auto 1fr auto; gap: 28px; } }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0,12,28,.96); color: #fff; }
.lightbox::backdrop { background: rgba(0,12,28,.9); }
.lightbox[open] { display: grid; place-items: center; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.lightbox figure { margin: 0; padding: 64px 16px 72px; display: grid; gap: 14px; justify-items: center; max-width: 100%; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100dvh - 170px); width: auto; height: auto; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox figcaption { max-width: 80ch; text-align: center; color: var(--on-navy-muted); font-size: .92rem; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; }
.lightbox__btn:hover { background: rgba(255,255,255,.16); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 699px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; } .lightbox__prev { left: calc(50% - 60px); } .lightbox__next { right: calc(50% - 60px); } }
.lightbox__count { position: absolute; top: 24px; left: 20px; margin: 0; font: 500 .8rem var(--mono); color: var(--on-navy-muted); }

/* ---------- Delivery ---------- */
.pillars { list-style: none; display: grid; gap: 16px; }
@media (min-width: 800px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.pillar { padding: 30px 28px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.03); }
.pillar p { margin: 0; }
.pillar__ic { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 50%; background: rgba(92,196,255,.14); color: var(--sky-300); }
.pillar__ic .icon { width: 26px; height: 26px; }

/* ---------- Formulários ---------- */
.form-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .form-layout { grid-template-columns: 1fr 380px; gap: 48px; align-items: start; } .form-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.form-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
@media (min-width: 640px) { .form-card { padding: 40px; } }
.form fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.form legend { padding: 0; margin-bottom: 18px; font: 500 .78rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--navy-700); display: flex; align-items: center; gap: 10px; width: 100%; }
.form legend::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.grid-2 { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; margin-bottom: 18px; min-width: 0; }
.form-layout > *, .grid-2 > * { min-width: 0; }
.field label, .field .label { font-weight: 700; font-size: .92rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; max-width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23002b5c' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field input::placeholder, .field textarea::placeholder { color: #8391a5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy-600); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-800); box-shadow: 0 0 0 4px rgba(92,196,255,.3); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--err); }
.field__err { color: var(--err); font-size: .85rem; font-weight: 600; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.field--check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; accent-color: var(--navy-800); }
.field--check label { font-weight: 500; color: var(--text); font-size: .93rem; }
.field--check .field__err { grid-column: 2; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.upload { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); background: var(--bg-soft); cursor: pointer; transition: border-color .2s, background-color .2s; font-weight: 500 !important; }
.upload:hover, .upload.is-drag { border-color: var(--navy-800); background: var(--sky-100); }
.upload > .icon { width: 30px; height: 30px; color: var(--navy-800); }
.upload strong { display: block; color: var(--ink); }
.upload small { display: block; color: var(--muted); font-size: .84rem; font-weight: 500; margin-top: 2px; }
.field .upload__input { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.upload__input:focus-visible + .upload__list, .upload__input:focus-visible { outline: none; }
.field:has(.upload__input:focus-visible) .upload { outline: 3px solid var(--focus); outline-offset: 3px; }
.upload__list { list-style: none; display: grid; gap: 6px; }
.upload__list li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .88rem; }
.upload__list li span:last-child { margin-left: auto; color: var(--muted); font-family: var(--mono); font-size: .78rem; }
.upload__list .icon { color: var(--navy-700); width: 18px; height: 18px; }
.upload__list .is-error { border-color: var(--err); color: var(--err); }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.form__note { margin: 0; color: var(--muted); font-size: .88rem; }
@media (max-width: 479px) { .form__submit .btn { width: 100%; } }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }
.btn[aria-busy="true"] .icon { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-error { margin-top: 16px; padding: 16px 18px; border: 1px solid #f1c3bf; background: #fdf3f2; border-radius: var(--radius-sm); color: #7a1a12; font-size: .93rem; }
.form-error p { margin: 0 0 6px; }
.form-error p:last-child { margin: 0; }
.form-error a:not(.btn) { color: #7a1a12; font-weight: 700; }
.form-error .btn { margin: 6px 0 4px; }
.form-success { text-align: center; padding: 24px 0; }
.form-success:focus { outline: none; }
.form-success__ic { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #e6f5ee; color: var(--ok); margin-bottom: 20px; }
.form-success__ic .icon { width: 36px; height: 36px; stroke-width: 2.2; }
.form-success p { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.form-success .actions { justify-content: center; }

.aside-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.aside-card + .aside-card { margin-top: 20px; }
.aside-card--navy { background: var(--navy-900); background-image: var(--grid-light); border-color: var(--navy-900); color: var(--on-navy-muted); }
.aside-card--navy h2 { color: #fff; }
.aside-card--navy > .btn { width: 100%; margin: 4px 0 20px; }
.mini-steps { list-style: none; counter-reset: m; display: grid; gap: 18px; }
.mini-steps li { counter-increment: m; display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; }
.mini-steps li::before { content: counter(m, decimal-leading-zero); grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sky-100); color: var(--navy-800); font: 500 .75rem var(--mono); }
.mini-steps strong { color: var(--ink); }
.mini-steps span { color: var(--muted); font-size: .92rem; }

/* Lista de contactos */
.contact-list { list-style: none; display: grid; gap: 16px; }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.contact-list .icon { color: var(--navy-700); margin-top: 3px; }
.contact-list span { display: block; font: 500 .72rem/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list p { color: var(--ink); font-weight: 700; text-decoration: none; margin: 0; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.contact-list--light { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.contact-list--light .icon { color: var(--sky-400); }
.contact-list--light span { color: var(--on-navy-muted); }
.contact-list--light a, .contact-list--light p { color: #fff; }

/* Contactos */
.contact-cards { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }
.ccard { display: grid; gap: 6px; align-content: start; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.ccard > .icon { width: 30px; height: 30px; color: var(--navy-800); margin-bottom: 10px; }
.ccard > span { font: 500 .72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ccard a, .ccard p { color: var(--ink); font-weight: 800; font-size: 1.08rem; text-decoration: none; margin: 0; overflow-wrap: anywhere; }
.ccard a:hover { color: var(--navy-700); text-decoration: underline; }
.ccard .ccard__sub { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .88rem; font-weight: 700; color: var(--navy-700); }
.ccard__sub .icon { width: 16px; height: 16px; }
.map-block { display: grid; gap: 28px; align-items: center; }
.actions--tight { margin-top: 0; }
.map-block__note { font-size: .9rem; margin: 12px 0 0; }
.map-block address { font-style: normal; font-size: 1.1rem; font-weight: 600; color: var(--ink); margin-bottom: 24px; line-height: 1.6; }
.map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 900px) { .map-block { grid-template-columns: .8fr 1.2fr; gap: 56px; } .map { aspect-ratio: 16 / 10; } }

/* Texto legal */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.3rem; margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; display: grid; gap: 8px; }
.prose li::marker { color: var(--navy-700); }

/* ---------- Rodapé ---------- */
.footer { background: var(--navy-950); color: var(--on-navy-muted); font-size: .94rem; padding-top: 64px; }
.footer__grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.5fr .9fr .9fr 1.3fr; gap: 48px; } }
.footer__brand > p { margin: 20px 0; max-width: 42ch; }
.footer__legal { margin: 0; display: grid; gap: 6px; font-size: .85rem; }
.footer__legal div { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__legal dt { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--sky-300); }
.footer__legal dd { margin: 0; color: #fff; }
.footer__title { font: 500 .75rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sky-300); margin-bottom: 18px; }
.footer__links { list-style: none; display: grid; gap: 10px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--sky-300); text-decoration: underline; }
.footer__contacts { list-style: none; display: grid; gap: 14px; }
.footer__contacts li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.footer__contacts .icon { width: 18px; height: 18px; color: var(--sky-400); margin-top: 3px; }
.footer__contacts a, .footer__contacts span { overflow-wrap: anywhere; }
.footer__contacts small { color: var(--sky-300); font-size: .82rem; }
.footer__social { list-style: none; display: flex; gap: 16px; margin-top: 16px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px 96px; position: relative; font-size: .85rem; }
.footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255,255,255,.1); }
.footer__bottom p { margin: 0; }
.footer__bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__bottom .linklike { color: #fff; text-decoration: none; }
.footer__bottom .linklike:hover { color: var(--sky-300); text-decoration: underline; }
@media (min-width: 1024px) { .footer__bottom { padding-bottom: 28px; } }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--navy-800); color: #fff; box-shadow: 0 12px 28px -8px rgba(0,28,61,.6), 0 0 0 4px rgba(92,196,255,.28); transition: transform .2s var(--ease), background-color .2s; }
.wa-float .icon { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.06); background: var(--navy-900); color: #fff; }
@media (min-width: 1024px) { .wa-float { right: 28px; bottom: 28px; } }
body.menu-open .wa-float { display: none; }

/* Aviso de cookies */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 95; display: grid; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: .9rem; max-width: 560px; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }
.cookie__actions { display: flex; gap: 10px; justify-content: flex-end; }
@media (min-width: 640px) { .cookie { left: 24px; right: auto; bottom: 24px; grid-template-columns: 1fr auto; align-items: center; } }

/* Animação de entrada */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* Impressão */
@media print {
  .topbar, .header, .footer, .wa-float, .cookie, .cta-band, .chips, .filters { display: none !important; }
  .page-hero, .hero, .section--navy { background: none !important; color: #000; }
  .page-hero h1, .hero h1 { color: #000; }
}
