/* ==========================================================================
   High Quality — Marcenaria & Carpintaria · folha de estilos v2
   Sistema visual próprio: branco + grafite + vermelho da marca, Archivo,
   formas arredondadas, cabeçalho em cápsula e motivos de "cota" (medida).
   Complementa o Bootstrap 5.3 (grelha, offcanvas, modal, accordion).
   --------------------------------------------------------------------------
   1. Tokens e base        4. Cabeçalho e menus      7. Páginas interiores
   2. Tipografia e botões  5. Cookies e flutuantes   8. Formulários e legais
   3. Motivos e movimento  6. Página inicial         9. Responsivo e impressão
   ========================================================================== */

/* 1. Tokens e base --------------------------------------------------------- */
:root {
  --c-white: #ffffff;
  --c-paper: #f4f4f2;
  --c-fog: #e9eae7;
  --c-line: #e1e2de;
  --c-line-strong: #cdcfca;
  --c-ink: #121416;
  --c-ink-2: #1b1e21;
  --c-ink-3: #2a2e33;
  --c-steel: #5b6168;
  --c-steel-light: #a7adb3;
  --c-red: #b3261e;
  --c-red-deep: #8f1d17;
  --c-red-tint: #f8e9e7;
  --c-red-glow: #ff7a6e;
  --c-error: #b3261e;

  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;

  --sh-float: 0 22px 60px -28px rgba(18, 20, 22, .32), 0 2px 6px rgba(18, 20, 22, .04);
  --sh-card: 0 1px 2px rgba(18, 20, 22, .05), 0 18px 44px -26px rgba(18, 20, 22, .24);

  --gutter: clamp(18px, 4vw, 56px);
  --max: 1440px;
  --section: clamp(88px, 10vw, 150px);
  --hdr-h: 72px;
  --hdr-top: 14px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  --bs-body-font-family: var(--f-sans);
  --bs-body-font-size: 1.0625rem;
  --bs-body-line-height: 1.65;
  --bs-body-color: var(--c-ink);
  --bs-body-color-rgb: 18, 20, 22;
  --bs-body-bg: var(--c-white);
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-emphasis-color: var(--c-ink);
  --bs-secondary-color: var(--c-steel);
  --bs-link-color: var(--c-ink);
  --bs-link-color-rgb: 18, 20, 22;
  --bs-link-hover-color: var(--c-red);
  --bs-link-hover-color-rgb: 179, 38, 30;
  --bs-border-color: var(--c-line);
  --bs-border-radius: var(--r-md);
  --bs-focus-ring-color: rgba(179, 38, 30, .3);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr-h) + var(--hdr-top) + 24px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-ink);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection { background: var(--c-red); color: #fff; }
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--c-red); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 2px solid var(--c-red); outline-offset: 3px; border-radius: 4px; }

.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico--xs { width: 12px; height: 12px; }
.ico--fill { fill: currentColor; stroke: none; }

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 3000;
  padding: 12px 20px; border-radius: 999px;
  background: var(--c-ink); color: #fff; font-weight: 600; font-size: .9rem;
  transition: top .3s var(--ease-out);
}
.skip:focus { top: 16px; color: #fff; }

.container-x {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { position: relative; padding-block: var(--section); }
.section--flush { padding-top: 0; }
.bg-paper { background: var(--c-paper); }
.bg-ink { background: var(--c-ink); color: #fff; }
.bg-red { background: var(--c-red); color: #fff; }

/* 2. Tipografia e botões ---------------------------------------------------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--f-sans); color: inherit; }
.h-display {
  font-size: clamp(2.9rem, 7.4vw, 7.6rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.045em;
}
.h-1 { font-size: clamp(2.3rem, 4.6vw, 4.6rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.h-2 { font-size: clamp(1.8rem, 3.1vw, 3.1rem); font-weight: 700; line-height: 1.08; letter-spacing: -.032em; }
.h-3 { font-size: clamp(1.35rem, 1.8vw, 1.7rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.lead { font-size: clamp(1.08rem, 1.25vw, 1.25rem); line-height: 1.6; color: var(--c-steel); max-width: 38em; }
.on-dark .lead, .lead--light { color: rgba(255, 255, 255, .78); }
.bg-red .lead { color: rgba(255, 255, 255, .88); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 1.4rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-steel);
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c-red); flex: none; }
.kicker--light, .on-dark .kicker { color: rgba(255, 255, 255, .7); }
.bg-red .kicker::before { background: #fff; }

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 1.6rem; padding: 7px 16px 7px 12px;
  border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-white);
  font-size: .86rem; font-weight: 500; color: var(--c-ink);
}
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-red); box-shadow: 0 0 0 4px var(--c-red-tint); flex: none; }

.u-mark,
.u-mark .split-w > span {
  color: var(--c-red);
  text-decoration-line: underline;
  text-decoration-thickness: .055em;
  text-underline-offset: .12em;
  text-decoration-color: rgba(179, 38, 30, .32);
}
.on-dark .u-mark, .on-dark .u-mark .split-w > span { color: var(--c-red-glow); text-decoration-color: rgba(255, 122, 110, .4); }
.bg-red .u-mark, .bg-red .u-mark .split-w > span,
.cta-x .u-mark, .cta-x .u-mark .split-w > span { color: #fff; text-decoration-color: rgba(255, 255, 255, .55); }

.shead {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem 3rem; margin-bottom: clamp(40px, 5vw, 72px);
}
.shead__title { max-width: 17ch; }
.shead__text { max-width: 30rem; color: var(--c-steel); margin: 0; }
.on-dark .shead__text { color: rgba(255, 255, 255, .72); }

.btn-x {
  --b-bg: var(--c-ink); --b-fg: #fff; --b-bd: var(--c-ink); --b-hover: var(--c-ink-3); --b-ico-bg: rgba(255, 255, 255, .14); --b-ico-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 8px 0 26px;
  border: 1px solid var(--b-bd); border-radius: 999px;
  background: var(--b-bg); color: var(--b-fg);
  font-family: var(--f-sans); font-size: .98rem; font-weight: 600; letter-spacing: -.005em; line-height: 1.1;
  cursor: pointer; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease-out);
}
.btn-x:not(:has(.btn-x__ico)) { padding: 0 26px; }
.btn-x:hover { background: var(--b-hover); border-color: var(--b-hover); color: var(--b-fg); }
.btn-x:active { transform: scale(.98); }
.btn-x__ico {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--b-ico-bg); color: var(--b-ico-fg);
  transition: transform .45s var(--ease-out);
}
.btn-x__ico .ico { width: 16px; height: 16px; }
.btn-x:hover .btn-x__ico { transform: rotate(-45deg); }
.btn-x > .ico { width: 18px; height: 18px; }
.btn-x--red { --b-bg: var(--c-red); --b-bd: var(--c-red); --b-hover: var(--c-red-deep); --b-ico-bg: #fff; --b-ico-fg: var(--c-red); }
.btn-x--ink { --b-bg: var(--c-ink); --b-bd: var(--c-ink); --b-hover: var(--c-red); --b-ico-bg: #fff; --b-ico-fg: var(--c-ink); }
.btn-x--light { --b-bg: #fff; --b-fg: var(--c-ink); --b-bd: #fff; --b-hover: var(--c-paper); --b-ico-bg: var(--c-red); --b-ico-fg: #fff; }
.btn-x--ghost { --b-bg: transparent; --b-fg: var(--c-ink); --b-bd: var(--c-line-strong); --b-hover: var(--c-paper); }
.btn-x--ghost:hover { border-color: var(--c-ink); }
.btn-x--ghost-light { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255, 255, 255, .45); --b-hover: rgba(255, 255, 255, .12); }
.btn-x--sm { min-height: 44px; padding: 0 18px; font-size: .9rem; }
.btn-x[disabled] { opacity: .5; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 2rem; }
.btn-row--center { justify-content: center; }

.link-x {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 0 3px;
  border: 0; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  color: var(--c-ink); font-weight: 600; font-size: .98rem; cursor: pointer;
  transition: color .25s var(--ease), background-size .45s var(--ease-out);
}
.link-x:hover { color: var(--c-red); background-size: 0 1.5px; background-position: 100% 100%; }
.link-x .ico { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.link-x:hover .ico { transform: translateX(3px); }
.link-x--sm { font-size: .88rem; }
.on-dark .link-x { color: #fff; }

.circ {
  display: inline-grid; place-items: center; width: 52px; height: 52px; padding: 0;
  border: 1px solid var(--c-line-strong); border-radius: 50%; background: var(--c-white); color: var(--c-ink);
  transition: background-color .3s, color .3s, border-color .3s;
}
.circ:hover { background: var(--c-red); border-color: var(--c-red); color: #fff; }
.circ[disabled] { opacity: .35; pointer-events: none; }
.navbtns { display: flex; gap: 10px; }

/* 3. Motivos (cotas, régua, molduras) e movimento --------------------------- */
.frame { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--c-fog); isolation: isolate; }
.frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.frame--land { aspect-ratio: 4 / 3; }
.frame--portrait { aspect-ratio: 4 / 5; }
.frame__cap { margin-top: 12px; font-size: .86rem; color: var(--c-steel); }

/* Cota horizontal com etiqueta (como num desenho técnico) */
.cota {
  position: absolute; z-index: 3; left: 24px; right: 24px; top: 22px; height: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; pointer-events: none;
}
.cota::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; opacity: .85; transform-origin: 50% 50%; }
.cota::after { content: ""; position: absolute; inset: 0; border-inline: 1px solid currentColor; opacity: .85; }
.cota > span {
  position: relative; padding: 5px 12px; border-radius: 999px;
  background: rgba(18, 20, 22, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
/* Cota vertical discreta, junto à margem direita da imagem */
.cota--media { left: auto; right: 20px; top: 24px; bottom: 24px; width: 14px; height: auto; }
.cota--media::before { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
.cota--media::after { border-inline: 0; border-block: 1px solid currentColor; }

/* Régua (marcas de 12 em 12 px e de 120 em 120 px) */
.ruler {
  height: 18px; margin-top: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid rgba(18, 20, 22, .35);
  background-image:
    repeating-linear-gradient(90deg, rgba(18, 20, 22, .32) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(90deg, rgba(18, 20, 22, .75) 0 1px, transparent 1px 120px);
  background-size: 100% 7px, 100% 18px;
  background-position: 0 100%, 0 100%;
  background-repeat: repeat-x;
}
.ruler--light {
  border-bottom-color: rgba(255, 255, 255, .5);
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .8) 0 1px, transparent 1px 120px);
}

[data-parallax] { transform: translate3d(0, var(--py, 0px), 0) scale(1.12); will-change: transform; }

/* Véu de entrada/saída entre páginas: branco com o telhado da marca */
.veil {
  position: fixed; inset: 0; z-index: 2500; display: grid; place-items: center;
  background: var(--c-white); pointer-events: none;
  animation: veil-out .7s var(--ease) .15s both;
}
.veil__mark { width: 84px; height: 84px; border-radius: 22px; animation: veil-mark .7s var(--ease) both; }
html.is-leaving .veil { animation: veil-in .38s var(--ease) both; }
html.is-leaving .veil__mark { animation: none; opacity: 1; }
@keyframes veil-out { from { opacity: 1; visibility: visible; } to { opacity: 0; visibility: hidden; } }
@keyframes veil-in { from { opacity: 0; visibility: visible; } to { opacity: 1; visibility: visible; } }
@keyframes veil-mark { from { opacity: 0; transform: translateY(6px); } 40% { opacity: 1; transform: none; } to { opacity: 0; } }

/* Mudança de língua: breve atenuação enquanto os textos são trocados */
html.is-translating main, html.is-translating .hdr, html.is-translating .ftr { transition: opacity .18s var(--ease); opacity: .35; }

@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; animation: failsafe .01s linear 3.2s forwards; }
  [data-reveal="up"] { transform: translate3d(0, 28px, 0); }
  [data-reveal="clip"] { opacity: 1; clip-path: inset(12% 6% 12% 6% round var(--r-xl)); }
  [data-reveal="clip"] img { transform: scale(1.12); transition: transform 1.8s var(--ease-out); }
  html.reveal-ready [data-reveal] { animation: none; }
  [data-reveal].is-in {
    opacity: 1; transform: none;
    transition: opacity 1s var(--ease-out) var(--d, 0s), transform 1.2s var(--ease-out) var(--d, 0s);
  }
  /* o recorte arredondado só se aplica às imagens (nos textos cortaria as primeiras letras) */
  [data-reveal="clip"].is-in {
    clip-path: inset(0 0 0 0 round var(--r-xl));
    transition: clip-path 1.3s var(--ease-out) var(--d, 0s);
  }
  [data-reveal="clip"].is-in img { transform: none; }
  .split-w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .12em 0; margin: 0 -.06em -.12em 0; }
  .split-w > span { display: inline-block; transform: translate3d(0, 110%, 0); transition: transform 1.1s var(--ease-out) var(--d, 0s); }
  [data-split].is-in .split-w > span { transform: none; }
  .in-1, .in-2, .in-3 { animation: rise 1.1s var(--ease-out) both; }
  .in-1 { animation-delay: .3s; }
  .in-2 { animation-delay: .6s; }
  .in-3 { animation-delay: .75s; }
  .cota::before { animation: cota-draw 1.4s var(--ease-io) .9s both; }
  .cota--media::before { animation-name: cota-draw-v; }
}
@keyframes failsafe { to { opacity: 1; transform: none; clip-path: none; } }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
@keyframes cota-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes cota-draw-v { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes fade-up { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }

/* 4. Cabeçalho em cápsula e menus ------------------------------------------- */
.hdr {
  position: fixed; inset: var(--hdr-top) 0 auto 0; z-index: 1000; pointer-events: none;
  transition: transform .6s var(--ease-out);
}
.hdr.is-hidden { transform: translate3d(0, calc(-100% - var(--hdr-top) - 10px), 0); }
.hdr__wrap { position: relative; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: calc(var(--gutter) - 8px); }
.hdr__pill {
  pointer-events: auto; position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  height: var(--hdr-h); padding: 0 10px 0 12px;
  border: 1px solid rgba(18, 20, 22, .06); border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(170%) blur(18px); backdrop-filter: saturate(170%) blur(18px);
  box-shadow: var(--sh-float);
  transition: box-shadow .4s var(--ease), background-color .4s var(--ease);
}
.hdr.is-scrolled .hdr__pill { background: rgba(255, 255, 255, .94); }

/* Marca: ícone HQ + logótipo, com as imagens originais do cliente (assets/img/icone-red.png e logo.png).
   As imagens nunca são rodadas nem ampliadas por CSS: o navegador reamostra o bitmap e as linhas finas do
   monograma e do logótipo perdem nitidez. Ao passar o rato só aparece um halo à volta do ícone. */
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; line-height: 0; }
.brand__icon {
  display: block; width: 46px; height: 46px; flex: none; border-radius: 14px;
  /* o vermelho do próprio ícone aparece enquanto a imagem (grande) carrega */
  background: linear-gradient(135deg, #be2b21, #af0b00);
  transition: box-shadow .4s var(--ease);
}
.brand:hover .brand__icon { box-shadow: 0 0 0 3px rgba(179, 38, 30, .16), 0 10px 20px -10px rgba(179, 38, 30, .7); }
/* O logo.png tem margem transparente à volta do desenho (36 / 29 / 41 / 24 px em 1682 x 422 px). As margens
   negativas, proporcionais à altura (--logo-h), fazem a caixa coincidir com o desenho e alinhar com o ícone.
   Altura do desenho visível = --logo-h x 0,874. */
.brand__logo {
  --logo-h: 45.5px;
  display: block; width: auto; height: var(--logo-h); max-width: none; flex: none;
  margin: calc(var(--logo-h) * -.0687) calc(var(--logo-h) * -.0972) calc(var(--logo-h) * -.0569) calc(var(--logo-h) * -.0853);
}
.brand--ftr { gap: 12px; }
.brand--ftr .brand__icon { width: 54px; height: 54px; border-radius: 16px; }
.brand--ftr .brand__logo { --logo-h: 54px; }
/* Entre 1200 e 1299 px a marca, o menu e as ações não cabem todos na cápsula: o telefone sai do cabeçalho
   (continua no menu móvel, no painel vermelho e no rodapé) */
@media (min-width: 1200px) and (max-width: 1299.98px) {
  .hdr__call { display: none !important; }
}
/* 1300–1399 px (portáteis de 1366): logótipo um pouco menor para o telefone caber em todas as línguas */
@media (min-width: 1300px) and (max-width: 1399.98px) {
  .hdr .brand__logo { --logo-h: 40px; }
}

.hnav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.hnav__item { position: relative; display: flex; align-items: center; }
.hnav__link {
  display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 999px;
  color: var(--c-ink); font-size: .95rem; font-weight: 500;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.hnav__link:hover { background: var(--c-paper); color: var(--c-ink); }
.hnav__link[aria-current="page"] { background: var(--c-ink); color: #fff; }
.hnav__item[data-mega-item] .hnav__link { padding-right: 6px; }
.hnav__toggle {
  display: inline-grid; place-items: center; width: 30px; height: 30px; margin-left: -2px; margin-right: 6px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--c-steel);
}
.hnav__toggle:hover { background: var(--c-paper); color: var(--c-ink); }
.hnav__toggle .ico { transition: transform .4s var(--ease-out); }
.hdr.mega-open .hnav__toggle .ico { transform: rotate(180deg); }

.hdr__actions { display: flex; align-items: center; gap: 8px; }
.hdr__call {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px;
  color: var(--c-ink); font-size: .92rem; font-weight: 600; white-space: nowrap;
}
.hdr__call:hover { background: var(--c-paper); color: var(--c-ink); }
.hdr__call .ico { width: 16px; height: 16px; color: var(--c-red); }
.hdr__menu {
  display: inline-grid; place-items: center; width: 50px; height: 50px; padding: 0;
  border: 0; border-radius: 50%; background: var(--c-ink); color: #fff;
}
.hdr__menu-lines { position: relative; width: 18px; height: 10px; }
.hdr__menu-lines::before, .hdr__menu-lines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
}
.hdr__menu-lines::before { top: 0; }
.hdr__menu-lines::after { bottom: 0; }

/* Seletor de idioma */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px;
  border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-white);
  color: var(--c-ink); font-size: .86rem; font-weight: 700; letter-spacing: .04em;
  transition: border-color .25s, background-color .25s;
}
.lang__btn:hover, .lang__btn[aria-expanded="true"] { border-color: var(--c-ink); }
.lang__btn > .ico:first-child { width: 17px; height: 17px; color: var(--c-red); }
.lang__btn .ico--xs { transition: transform .35s var(--ease-out); }
.lang__btn[aria-expanded="true"] .ico--xs { transform: rotate(180deg); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 12px); z-index: 5; min-width: 220px; margin: 0; padding: 8px;
  list-style: none; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-white);
  box-shadow: var(--sh-float); animation: fade-up .3s var(--ease-out);
}
.lang__menu[hidden] { display: none; }
.lang__opt {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px;
  border: 0; border-radius: 12px; background: transparent; color: var(--c-ink); font-size: .95rem; text-align: left;
}
.lang__opt:hover { background: var(--c-paper); }
.lang__opt-code {
  display: grid; place-items: center; width: 36px; height: 26px; border-radius: 8px;
  background: var(--c-paper); font-size: .74rem; font-weight: 700; letter-spacing: .05em;
}
.lang__opt[aria-current="true"] { font-weight: 600; }
.lang__opt[aria-current="true"] .lang__opt-code { background: var(--c-red); color: #fff; }

/* Menu de serviços com imagens */
.mega {
  position: absolute; left: calc(var(--gutter) - 8px); right: calc(var(--gutter) - 8px); top: calc(100% + 12px);
  pointer-events: auto; opacity: 0; visibility: hidden; transform: translate3d(0, -8px, 0);
  transition: opacity .35s var(--ease-out), transform .5s var(--ease-out), visibility 0s linear .35s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__card {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr); gap: 32px;
  padding: 28px; border: 1px solid var(--c-line); border-radius: var(--r-xl); background: var(--c-white); box-shadow: var(--sh-float);
}
.mega__intro { display: flex; flex-direction: column; justify-content: space-between; padding: 8px 4px; }
.mega__title { margin: 0 0 1.4rem; font-size: 1.45rem; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.mega__tile { position: relative; display: grid; gap: 4px; padding: 8px; border-radius: var(--r-lg); color: var(--c-ink); transition: background-color .25s; }
.mega__tile:hover { background: var(--c-paper); color: var(--c-ink); }
.mega__img { display: block; aspect-ratio: 16 / 10; margin-bottom: 8px; overflow: hidden; border-radius: var(--r-md); background: var(--c-fog); }
.mega__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.mega__tile:hover .mega__img img { transform: scale(1.06); }
.mega__num { position: absolute; left: 18px; top: 18px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: .72rem; font-weight: 700; }
.mega__name { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.mega__tile:hover .mega__name { color: var(--c-red); }
.mega__desc { font-size: .84rem; color: var(--c-steel); }

/* Menu móvel */
.mmenu.offcanvas { --bs-offcanvas-width: min(100vw, 520px); --bs-offcanvas-bg: var(--c-white); border: 0; z-index: 1600; }
.mmenu__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 8px 20px; flex: none; }
.mmenu__close {
  display: grid; place-items: center; width: 50px; height: 50px; padding: 0;
  border: 1px solid var(--c-line); border-radius: 50%; background: var(--c-white); color: var(--c-ink);
}
.mmenu__body { display: flex; flex-direction: column; gap: 28px; padding: 16px 20px 32px; overflow-y: auto; }
.mmenu__list { margin: 0; padding: 0; list-style: none; }
.mmenu__list li { border-bottom: 1px solid var(--c-line); }
.mmenu__list a {
  display: flex; align-items: baseline; gap: 14px; padding: 12px 0;
  color: var(--c-ink); font-size: clamp(1.8rem, 7vw, 2.4rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.1;
  opacity: 0; transform: translate3d(24px, 0, 0); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.mmenu__list a[aria-current="page"] { color: var(--c-red); }
.mmenu.showing .mmenu__list a, .mmenu.show .mmenu__list a { opacity: 1; transform: none; }
.mmenu__list li:nth-child(2) a { transition-delay: .04s; }
.mmenu__list li:nth-child(3) a { transition-delay: .08s; }
.mmenu__list li:nth-child(4) a { transition-delay: .12s; }
.mmenu__list li:nth-child(5) a { transition-delay: .16s; }
.mmenu__n { font-size: .78rem; font-weight: 700; color: var(--c-red); letter-spacing: .04em; min-width: 22px; }
.mmenu__langs { display: flex; flex-wrap: wrap; gap: 8px; }
.mmenu__lang {
  min-width: 52px; height: 40px; padding: 0 14px; border: 1px solid var(--c-line); border-radius: 999px;
  background: var(--c-white); color: var(--c-ink); font-size: .82rem; font-weight: 700; letter-spacing: .05em;
}
.mmenu__lang[aria-current="true"] { background: var(--c-red); border-color: var(--c-red); color: #fff; }
.mmenu__svc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 0; padding: 0; list-style: none; font-size: .95rem; }
.mmenu__svc a { color: var(--c-steel); }
.mmenu__foot { display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid var(--c-line); font-weight: 600; }
.mmenu__foot a { display: inline-flex; align-items: center; gap: 10px; color: var(--c-ink); }
.mmenu__foot .ico { color: var(--c-red); }

/* 5. Cookies, modal, botões flutuantes e lightbox -------------------------------- */
.ckb {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1500; max-width: 440px;
  padding: 24px; border: 1px solid var(--c-line); border-radius: var(--r-xl); background: var(--c-white);
  box-shadow: var(--sh-float); opacity: 0; transform: translate3d(0, 20px, 0);
  transition: opacity .5s var(--ease-out), transform .7s var(--ease-out);
}
.ckb[hidden] { display: none; }
.ckb.is-visible { opacity: 1; transform: none; }
@media (min-width: 576px) { .ckb { left: 24px; right: auto; bottom: 24px; } }
.ckb__title { margin-bottom: .4rem; font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
.ckb__text { color: var(--c-steel); font-size: .9rem; line-height: 1.55; }
.ckb__text a { color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; }
.ckb__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.ckb__more { grid-column: 1 / -1; justify-self: center; padding: 6px; border: 0; background: none; color: var(--c-steel); font-size: .88rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.ckb__more:hover { color: var(--c-ink); }

.ckm .modal-content { border: 0; border-radius: var(--r-xl); box-shadow: var(--sh-float); }
.ckm .modal-header, .ckm .modal-footer { border-color: var(--c-line); padding: 20px 26px; }
.ckm .modal-title { font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; }
.ckm .modal-body { padding: 6px 26px 14px; }
.ckm .modal-footer { gap: 8px; }
.ckm .modal-footer .btn-x { flex: 1 1 auto; margin: 0; }
.ckm__row { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--c-line); }
.ckm__row:last-child { border-bottom: 0; }
.ckm__title { margin-bottom: 4px; font-weight: 700; }
.ckm__text { color: var(--c-steel); font-size: .9rem; line-height: 1.55; }
.form-switch .form-check-input { width: 2.8em; height: 1.5em; cursor: pointer; }
.form-switch .form-check-input:checked { background-color: var(--c-red); border-color: var(--c-red); }
.form-switch .form-check-input:focus { box-shadow: 0 0 0 4px rgba(179, 38, 30, .2); border-color: var(--c-red); }

.fab { position: fixed; right: 16px; bottom: 16px; z-index: 1400; display: flex; flex-direction: column; gap: 10px; transition: opacity .4s; }
html.cookie-open .fab { opacity: 0; pointer-events: none; }
@media (min-width: 768px) { html.cookie-open .fab { opacity: 1; pointer-events: auto; } }
.fab__btn {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; padding: 0;
  border: 0; border-radius: 50%; box-shadow: var(--sh-float);
  transition: transform .4s var(--ease-out), opacity .35s, background-color .3s;
}
.fab__btn .ico { width: 22px; height: 22px; }
.fab__btn--wa { background: var(--c-red); color: #fff; box-shadow: 0 0 0 3px #fff, var(--sh-float); }
.fab__btn--wa:hover { background: var(--c-red-deep); color: #fff; transform: translateY(-2px); }
.fab__btn--top { background: var(--c-white); color: var(--c-ink); opacity: 0; pointer-events: none; transform: translate3d(0, 10px, 0); }
.fab__btn--top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.fab__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.fab__ring circle { fill: none; stroke: var(--c-red); stroke-width: 2; stroke-dasharray: 163.36; stroke-dashoffset: var(--ring, 163.36); }

.lbx {
  position: fixed; inset: 0; z-index: 2100; display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgba(12, 13, 14, .985); color: #fff; opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.lbx.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lbx__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--gutter); font-size: .9rem; font-weight: 600; }
.lbx__count { color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
.lbx__stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 clamp(12px, 7vw, 120px); touch-action: pan-y; }
.lbx__img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--r-md); user-select: none; -webkit-user-drag: none; transition: opacity .3s var(--ease), transform .5s var(--ease-out); }
.lbx__img.is-loading { opacity: 0; transform: scale(.985); }
.lbx__btn { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; transition: background-color .3s, color .3s; }
.lbx__btn:hover { background: #fff; color: var(--c-ink); }
.lbx__prev, .lbx__next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; }
.lbx__prev { left: clamp(10px, 2.4vw, 36px); }
.lbx__next { right: clamp(10px, 2.4vw, 36px); }
.lbx__bottom { padding: 14px var(--gutter) 22px; text-align: center; color: rgba(255, 255, 255, .7); font-size: .88rem; }
html.lb-open, html.lb-open body { overflow: hidden; }
@media (max-width: 767.98px) {
  .lbx__prev, .lbx__next { top: auto; bottom: -72px; transform: none; }
  .lbx__stage { padding: 0 8px; }
  .lbx__bottom { padding-bottom: 92px; }
}

/* 6. Página inicial ------------------------------------------------------------ */
.hx { padding-top: calc(var(--hdr-h) + var(--hdr-top) + clamp(40px, 6vw, 88px)); padding-bottom: clamp(24px, 3vw, 40px); }
.hx__top {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: end;
  gap: clamp(24px, 4vw, 72px); margin-bottom: clamp(32px, 4vw, 56px);
}
.hx__title { max-width: 12.5ch; }
.hx__aside .lead { margin-bottom: 0; }
.hx__aside .btn-row { margin-top: 1.6rem; }
.hx__media {
  position: relative; overflow: hidden; height: clamp(420px, 70vh, 780px);
  border-radius: calc(var(--r-xl) + 8px); background: var(--c-ink); color: #fff; isolation: isolate;
}
.hx__slides { position: absolute; inset: 0; z-index: -1; }
.hx__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.hx__slide.is-active { opacity: 1; z-index: 1; }
.hx__slide img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hx__slide.is-active img { animation: kenburns 9s var(--ease) forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hx__media::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 20, 22, .35) 0%, rgba(18, 20, 22, 0) 22%, rgba(18, 20, 22, 0) 62%, rgba(18, 20, 22, .6) 100%);
}
.hx__caption {
  position: absolute; left: 22px; bottom: 22px; z-index: 2; margin: 0; padding: 9px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--c-ink); font-size: .86rem; font-weight: 600;
  transition: opacity .4s var(--ease);
}
.hx__caption.is-changing { opacity: 0; }
.hx__controls {
  position: absolute; right: 22px; bottom: 22px; z-index: 2; display: flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(18, 20, 22, .55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hx__count { font-size: .82rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.hx__bars { display: flex; gap: 6px; }
.hx__bar { position: relative; width: 34px; height: 20px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.hx__bar::before, .hx__bar span { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; }
.hx__bar::before { background: rgba(255, 255, 255, .3); }
.hx__bar span { background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.hx__ctrl { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--c-ink); }
.hx__ctrl .ico { width: 14px; height: 14px; }
.hx__ctrl .i-play { display: none; }
.hx.is-paused .hx__ctrl .i-play, [data-hero].is-paused .hx__ctrl .i-play { display: block; }
.hx.is-paused .hx__ctrl .i-pause, [data-hero].is-paused .hx__ctrl .i-pause { display: none; }

.stats { padding-block: clamp(40px, 5vw, 72px) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.stat { display: grid; gap: 8px; padding-top: 18px; border-top: 2px solid var(--c-ink); }
.stat__num { font-size: clamp(2.6rem, 4.4vw, 4.2rem); font-weight: 700; line-height: 1; letter-spacing: -.045em; color: var(--c-red); }
.stat__label { max-width: 16em; color: var(--c-steel); font-size: .98rem; line-height: 1.45; }

.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 20vw, 310px); gap: 16px; }
.bento .tile--0 { grid-column: span 2; grid-row: span 2; }
.bento .tile--1 { grid-row: span 2; }
.bento .tile--4, .bento .tile--5 { grid-column: span 2; }
.bento--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(280px, 26vw, 400px); }
.tile {
  position: relative; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  padding: 24px; border-radius: var(--r-xl); background: var(--c-ink); color: #fff;
}
.tile:hover { color: #fff; }
.tile__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.tile:hover .tile__img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 20, 22, 0) 38%, rgba(18, 20, 22, .78) 100%); }
.tile__num {
  position: absolute; left: 20px; top: 20px; padding: 5px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--c-ink); font-size: .76rem; font-weight: 700;
}
.tile__go {
  position: absolute; right: 18px; top: 18px; display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--c-ink);
  transition: background-color .35s, color .35s, transform .5s var(--ease-out);
}
.tile:hover .tile__go { background: var(--c-red); color: #fff; transform: rotate(45deg); }
.tile__body { display: grid; gap: 6px; max-width: 30em; }
.tile__title { font-size: clamp(1.35rem, 2vw, 1.9rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.tile__text { color: rgba(255, 255, 255, .8); font-size: .92rem; line-height: 1.45; }

.split-x { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 110px); }
.split-x--rev .split-x__media { order: -1; }
.split-x__text .h-1 { margin-bottom: 1.4rem; }
.split-x__text .lead { margin-bottom: 1.6rem; }
.checks { display: grid; gap: 10px; margin: 0 0 2rem; padding: 0; list-style: none; }
.checks li { display: flex; align-items: flex-start; gap: 12px; }
.checks .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--c-red); color: #fff; stroke-width: 2.4; margin-top: 2px; }

.t3d { display: grid; gap: 16px; }
.seg {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; justify-self: start; padding: 5px;
  border-radius: 999px; background: rgba(255, 255, 255, .1);
}
.seg__btn {
  position: relative; z-index: 1; height: 42px; padding: 0 20px; border: 0; border-radius: 999px;
  background: transparent; color: rgba(255, 255, 255, .8); font-size: .92rem; font-weight: 600; white-space: nowrap;
  transition: color .35s var(--ease);
}
.seg__btn.is-active { color: var(--c-ink); }
.seg__thumb {
  position: absolute; left: 5px; top: 5px; bottom: 5px; width: calc(50% - 5px); border-radius: 999px; background: #fff;
  transition: transform .5s var(--ease-out);
}
.seg[data-active="1"] .seg__thumb { transform: translateX(100%); }
.t3d__stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-xl); background: #0b0c0d; }
.t3d__fig { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s var(--ease); }
.t3d__fig.is-active { opacity: 1; z-index: 1; }
.t3d__fig img { width: 100%; height: 100%; object-fit: cover; }
.t3d__img--contain { object-position: 50% 62%; }
.t3d__note { margin: 0; color: rgba(255, 255, 255, .6); font-size: .86rem; }

.tl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.tl__step { position: relative; display: flex; flex-direction: column; padding-top: 22px; border-top: 2px solid var(--c-line); }
.tl__step::before { content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 0; background: var(--c-red); transition: width 1.2s var(--ease-io) var(--d, 0s); }
.tl__step.is-in::before { width: 100%; }
.tl__num { order: -2; margin-bottom: 18px; font-size: .86rem; font-weight: 700; color: var(--c-red); letter-spacing: .04em; }
.tl__img { order: -1; aspect-ratio: 4 / 3; margin-bottom: 20px; overflow: hidden; border-radius: var(--r-lg); background: var(--c-fog); }
.tl__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.tl__step:hover .tl__img img { transform: scale(1.05); }
.tl__title { margin-bottom: .6rem; font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.tl__text { margin: 0; color: var(--c-steel); font-size: .98rem; }
.on-dark .tl__step { border-top-color: rgba(255, 255, 255, .16); }
.on-dark .tl__text { color: rgba(255, 255, 255, .7); }
.on-dark .tl__num { color: var(--c-red-glow); }
.on-dark .tl__step::before { background: var(--c-red-glow); }

.ws { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(40px, 6vw, 100px); }
.ws__text .h-1 { margin-bottom: 1.4rem; }
.ws__text .lead { margin-bottom: 2rem; }
.ws__media { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(380px, 44vw, 600px); }
.ws__img { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--c-red-deep); }
.ws__img img { width: 100%; height: 100%; object-fit: cover; }
.ws__img--a { grid-row: span 2; }

.dtrack {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab;
  padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
  overscroll-behavior-x: contain;
}
.dtrack::-webkit-scrollbar { display: none; }
.dtrack.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.dcard { flex: 0 0 clamp(250px, 24vw, 360px); margin: 0; scroll-snap-align: start; }
.dcard__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-xl); background: var(--c-fog); }
.dcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); -webkit-user-drag: none; user-select: none; }
.dcard:hover .dcard__img img { transform: scale(1.05); }
.dcard figcaption { display: flex; align-items: baseline; gap: 10px; padding: 14px 4px 0; font-weight: 600; }
.dcard__n { font-size: .8rem; color: var(--c-red); }
.dprog { position: relative; height: 3px; margin-top: 36px; border-radius: 3px; background: var(--c-line); overflow: hidden; }
.dprog span { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 20%); border-radius: 3px; background: var(--c-red); transition: width .25s linear; }

.rev {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px);
  padding: clamp(32px, 5vw, 72px); border-radius: calc(var(--r-xl) + 8px); background: var(--c-white); box-shadow: var(--sh-card);
}
.rev__score { display: flex; flex-direction: column; align-items: flex-start; }
.rev__num { font-size: clamp(5.5rem, 11vw, 9.5rem); font-weight: 700; line-height: .85; letter-spacing: -.06em; color: var(--c-red); }
.rev__stars { display: flex; gap: 4px; margin: 18px 0 10px; color: var(--c-red); }
.rev__stars .ico { width: 22px; height: 22px; }
.rev__label { margin: 0; color: var(--c-steel); }
.rev__label strong { color: var(--c-ink); }
.rev__body { display: flex; flex-direction: column; justify-content: center; gap: 1.3rem; }
.rev__body .lead { margin: 0; }
.rev__body .link-x { align-self: flex-start; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 2rem; padding: 0; list-style: none; }
.pills li { padding: 8px 16px; border: 1px solid var(--c-line-strong); border-radius: 999px; font-size: .88rem; font-weight: 500; background: var(--c-white); }
.on-dark .pills li, .pills--light li { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; }
.pills--light { margin-top: 2rem; margin-bottom: 0; }

/* Painel final e rodapé ------------------------------------------------------------ */
.cta-x { padding-block: clamp(24px, 4vw, 48px) clamp(56px, 7vw, 100px); }
.cta-x__panel {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; align-items: end;
  gap: 32px 56px; padding: clamp(36px, 6vw, 88px) clamp(28px, 6vw, 88px) clamp(28px, 4vw, 56px);
  border-radius: calc(var(--r-xl) + 12px); background: var(--c-red); color: #fff; overflow: hidden;
}
.cta-x__title { max-width: 14ch; margin-bottom: 1.2rem; }
.cta-x__text { max-width: 34em; margin: 0; color: rgba(255, 255, 255, .86); font-size: 1.1rem; }
.cta-x__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-x .ruler { grid-column: 1 / -1; margin-top: 8px; }

.ftr { position: relative; overflow: hidden; background: var(--c-paper); border-top: 1px solid var(--c-line); padding-top: clamp(64px, 7vw, 100px); }
/* A coluna de contactos é mais larga para os emails caberem numa só linha */
.ftr__grid {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px; padding-bottom: clamp(48px, 6vw, 80px);
}
.ftr__text { max-width: 26rem; margin: 1.4rem 0 1rem; color: var(--c-steel); }
.ftr__address { margin: 0; color: var(--c-ink); font-style: normal; font-size: .95rem; line-height: 1.6; }
.ftr__areas { margin: .9rem 0 0; max-width: 26rem; color: var(--c-steel); font-size: .84rem; line-height: 1.6; }
.ftr__h { margin-bottom: 1.1rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-steel); }
.ftr__h--gap { margin-top: 1.8rem; }
.ftr__links, .ftr__contact, .ftr__social { margin: 0; padding: 0; list-style: none; }
.ftr__links li { margin-bottom: .55rem; }
.ftr__links a { color: var(--c-ink); font-weight: 500; }
.ftr__links a:hover { color: var(--c-red); }
/* Contactos com o mesmo tamanho e peso das ligações das outras colunas */
.ftr__contact li { margin-bottom: .9rem; }
.ftr__contact a { color: var(--c-ink); font-weight: 500; white-space: nowrap; }
.ftr__contact a:hover { color: var(--c-red); }
.ccard__value { overflow-wrap: anywhere; }
.ftr__note { display: block; margin-top: 1px; color: var(--c-steel); font-size: .78rem; }
.ftr__hours { display: block; color: var(--c-ink); font-weight: 500; }
/* Onde 4 colunas não dão espaço aos emails: a marca passa para uma linha própria e ficam 3 colunas */
@media (min-width: 992px) and (max-width: 1299.98px) {
  .ftr__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.25fr); }
  .ftr__brand { grid-column: 1 / -1; }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .ftr__grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 359.98px) {
  .ftr__contact a { white-space: normal; }
  /* telemóveis de 320 px: a marca encolhe para o idioma e o menu caberem na cápsula */
  .hdr .brand, .mmenu .brand { gap: 8px; }
  .hdr .brand__icon, .mmenu .brand__icon { width: 38px; height: 38px; border-radius: 11px; }
  .hdr .brand__logo, .mmenu .brand__logo { --logo-h: 26px; }
}
.ftr__social { display: flex; flex-wrap: wrap; gap: 8px; }
.ftr__social a {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--c-line-strong);
  border-radius: 999px; color: var(--c-ink); font-size: .84rem; font-weight: 600; background: var(--c-white);
}
.ftr__social a:hover { border-color: var(--c-red); color: var(--c-red); }
.ftr__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 22px 0;
  border-top: 1px solid var(--c-line); color: var(--c-steel); font-size: .88rem;
}
.ftr__legal p { margin: 0; }
.ftr__legal nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ftr__legal a, .ftr__legal button { padding: 0; border: 0; background: none; color: var(--c-steel); font: inherit; }
.ftr__legal a:hover, .ftr__legal button:hover { color: var(--c-ink); }
/* Entre 992 e ~1540 px os botões flutuantes ficam por cima da margem direita do rodapé: reserva-se esse espaço */
@media (min-width: 992px) and (max-width: 1539.98px) {
  .ftr__legal, .ftr__base { padding-right: 64px; }
}
.ftr__base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px 48px; padding-bottom: 28px;
}
.ftr__ral { flex: 1 1 520px; max-width: 72em; margin: 0; color: var(--c-steel); font-size: .8rem; line-height: 1.6; }
.ftr__ral a { color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; }
.ftr__credit {
  display: inline-flex; align-items: center; gap: 14px; flex: none;
  padding: 10px 16px 10px 18px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-white);
  color: var(--c-steel); transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.ftr__credit:hover { border-color: var(--c-line-strong); box-shadow: var(--sh-card); color: var(--c-ink); }
.ftr__credit-label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.ftr__credit img { display: block; width: auto; height: 34px; }

/* Assinatura gigante: SVG com o texto ajustado à largura — nunca fica cortada */
.ftr__word {
  max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto;
  padding: 4px var(--gutter) clamp(18px, 2.6vw, 40px);
  pointer-events: none; user-select: none;
}
.ftr__word svg { display: block; width: 100%; height: auto; overflow: visible; }
.ftr__word text { fill: var(--c-fog); font-family: var(--f-sans); font-size: 150px; font-weight: 800; letter-spacing: -.02em; }

/* 7. Páginas interiores ----------------------------------------------------------- */
.phero { padding-top: calc(var(--hdr-h) + var(--hdr-top) + clamp(28px, 4vw, 56px)); padding-bottom: clamp(56px, 7vw, 104px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 clamp(28px, 4vw, 48px); padding: 0; list-style: none; font-size: .86rem; color: var(--c-steel); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; margin-right: 4px; }
.crumbs a { color: var(--c-steel); }
.crumbs a:hover { color: var(--c-red); }
.crumbs [aria-current] { color: var(--c-ink); font-weight: 600; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(36px, 5vw, 88px); }
.phero__grid--portrait { grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); }
.phero__title { margin-bottom: 1.4rem; max-width: 13ch; }
.phero__text .lead { margin-bottom: 0; }
.phero__media { position: relative; margin: 0; aspect-ratio: 5 / 4; overflow: hidden; border-radius: calc(var(--r-xl) + 6px); background: var(--c-fog); isolation: isolate; }
.phero__grid--portrait .phero__media { aspect-ratio: 4 / 5; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__num {
  position: absolute; left: 22px; bottom: 16px; z-index: 2; color: #fff;
  font-size: clamp(3rem, 6vw, 5.4rem); font-weight: 800; line-height: 1; letter-spacing: -.05em;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .3);
}
.phero--wide .phero__wide-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: 24px 64px; margin-bottom: clamp(32px, 4vw, 56px); }
.phero--wide .phero__title { max-width: 14ch; margin-bottom: 0; }
.phero__banner { position: relative; aspect-ratio: 21 / 9; margin: 0; border-radius: calc(var(--r-xl) + 8px); }
.phero--legal .phero__title { max-width: 18ch; }
.legal-meta { margin-top: 1rem; color: var(--c-steel); font-size: .9rem; }

.mosaic { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 5 / 4; }
.mosaic__a { grid-row: span 2; }
.mosaic .frame img { height: 100%; }

.intro-x { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(36px, 6vw, 100px); }
.intro-x--rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; }
.intro-x__media { margin: 0; }
.intro-x__text .h-2 { margin-bottom: 1.4rem; }
.intro-x__p { margin-bottom: 2.4rem; color: var(--c-steel); }
.inc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.inc li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--c-paper); font-weight: 500; }
.inc .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--c-red-tint); color: var(--c-red); stroke-width: 2.2; }

.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pcard { padding: clamp(28px, 3vw, 40px); border-radius: var(--r-xl); background: var(--c-white); box-shadow: var(--sh-card); }
.pcard__ico { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 28px; border-radius: 18px; background: var(--c-red-tint); color: var(--c-red); }
.pcard__ico .ico { width: 28px; height: 28px; stroke-width: 1.5; }
.pcard__title { margin-bottom: .7rem; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.pcard__text { margin: 0; color: var(--c-steel); }

.sblock { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 100px); padding-block: clamp(40px, 5vw, 72px); }
.sblock + .sblock { border-top: 1px solid var(--c-line); }
.sblock:nth-child(even) .sblock__media { order: 2; }
.sblock__media { display: block; }
.sblock__media img { transition: transform 1.4s var(--ease-out); }
.sblock__media:hover img { transform: scale(1.04); }
.sblock__num { display: block; margin-bottom: 1rem; font-size: 1rem; font-weight: 700; color: var(--c-red); }
.sblock__text .h-2 { margin-bottom: 1.2rem; }
.sblock__text .lead { margin-bottom: 1.4rem; }
.sblock__text .pills { margin-bottom: 1.8rem; }

.gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 17vw, 280px); grid-auto-flow: dense; gap: 14px; }
.g-x { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); background: var(--c-fog); }
.g-x--tall { grid-row: span 2; }
.g-x--feature { grid-column: span 2; grid-row: span 2; }
.g-x img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.g-x:hover img { transform: scale(1.05); }
.g-x__zoom {
  position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; background: #fff; color: var(--c-ink); opacity: 0; transform: scale(.85);
  transition: opacity .3s, transform .45s var(--ease-out), background-color .3s, color .3s;
}
.g-x:hover .g-x__zoom, .g-x:focus-visible .g-x__zoom { opacity: 1; transform: none; }
.g-x:hover .g-x__zoom { background: var(--c-red); color: #fff; }
.g-x.is-extra { display: none; }
.gal.is-expanded .g-x.is-extra { display: block; animation: fade-up .7s var(--ease-out) both; }
.gal-more { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 48px); }
.gal-more .btn-x { padding-right: 22px; }

.faq-x { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-x__head { position: sticky; top: calc(var(--hdr-h) + var(--hdr-top) + 32px); }
.faq-x__head .h-1 { margin-bottom: 1.4rem; }
.faq-x__more { color: var(--c-steel); }
.acc-x { --bs-accordion-bg: transparent; --bs-accordion-border-width: 0; --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-active-bg: transparent; --bs-accordion-active-color: var(--c-ink); display: grid; gap: 10px; }
.acc-x .accordion-item { border: 0; border-radius: var(--r-lg) !important; background: var(--c-paper); overflow: hidden; }
.acc-x .accordion-button {
  gap: 20px; padding: 22px 24px; border-radius: var(--r-lg) !important; background: transparent; color: var(--c-ink);
  font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em; box-shadow: none;
}
.acc-x .accordion-button:focus-visible { outline: 2px solid var(--c-red); outline-offset: -2px; }
.acc-x .accordion-button::after {
  width: 34px; height: 34px; flex: none; border-radius: 50%; background-color: var(--c-white);
  background-image: linear-gradient(var(--c-ink), var(--c-ink)), linear-gradient(var(--c-ink), var(--c-ink));
  background-size: 12px 1.8px, 1.8px 12px; background-position: center; background-repeat: no-repeat;
  transition: transform .45s var(--ease-out), background-color .3s;
}
.acc-x .accordion-button:not(.collapsed)::after { transform: rotate(45deg); background-color: var(--c-red); background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff); }
.acc-x .accordion-body { padding: 0 24px 22px; color: var(--c-steel); }

.trio { display: grid; grid-template-columns: 1.7fr 1fr; grid-template-rows: repeat(2, clamp(180px, 18vw, 280px)); gap: 14px; }
.trio__a { grid-row: span 2; }

/* 8. Contactos, formulários, sistema e páginas legais ---------------------------- */
.contact-x { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-x__info .lead { margin-bottom: 2rem; }
.ccards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ccard { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px; border-radius: var(--r-lg); background: var(--c-paper); }
.ccard__ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px; border-radius: 14px; background: var(--c-white); color: var(--c-red); }
.ccard__label { margin: 0; color: var(--c-steel); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ccard__value { margin: 0; color: var(--c-ink); font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; overflow-wrap: anywhere; }
.ccard__value--sm { font-size: 1rem; }
/* Email e morada ocupam a largura toda: os dois emails ficam cada um numa só linha */
.ccard--wide { grid-column: 1 / -1; }
.ccard__note { color: var(--c-steel); font-size: .78rem; margin-bottom: 6px; }
.ct-hours { display: inline-flex; align-items: center; gap: 10px; margin: -.6rem 0 1.8rem; padding: 8px 16px; border-radius: 999px; background: var(--c-paper); color: var(--c-ink); font-size: .92rem; font-weight: 600; }
.ct-hours .ico { width: 17px; height: 17px; color: var(--c-red); }
.contact-x__social { margin-top: 1.4rem; color: var(--c-steel); font-size: .92rem; }
.contact-x__social a { color: var(--c-ink); font-weight: 600; }

.fcard { padding: clamp(24px, 3.4vw, 48px); border-radius: calc(var(--r-xl) + 4px); background: var(--c-white); box-shadow: var(--sh-card); border: 1px solid var(--c-line); }
.fcard .h-3 { margin-bottom: .6rem; }
.fcard__text { margin-bottom: 1.8rem; color: var(--c-steel); }
.form-x .form-label { margin-bottom: 6px; color: var(--c-ink); font-size: .88rem; font-weight: 600; }
.form-x .form-control, .form-x .form-select {
  min-height: 52px; padding: 12px 16px; border: 1px solid var(--c-line-strong); border-radius: var(--r-md);
  background-color: var(--c-paper); color: var(--c-ink); font-size: 1rem;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form-x .form-control:focus, .form-x .form-select:focus { border-color: var(--c-red); background-color: var(--c-white); box-shadow: 0 0 0 4px rgba(179, 38, 30, .12); }
.form-x textarea.form-control { min-height: 150px; resize: vertical; }
.form-x .form-control::placeholder { color: #8b9096; }
.form-x .form-check { padding-left: 2.1em; }
.form-x .form-check-input { width: 1.25em; height: 1.25em; margin-left: -2.1em; margin-top: .2em; border-color: var(--c-line-strong); border-radius: 6px; }
.form-x .form-check-input:checked { background-color: var(--c-red); border-color: var(--c-red); }
.form-x .form-check-input:focus { box-shadow: 0 0 0 4px rgba(179, 38, 30, .15); border-color: var(--c-red); }
.form-x .form-check-label { color: var(--c-steel); font-size: .92rem; line-height: 1.5; }
.form-x .form-check-label a { color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; }
.form-x .invalid-feedback { color: var(--c-error); font-size: .84rem; font-weight: 500; }
.form-x.was-validated .form-control:invalid, .form-x.was-validated .form-select:invalid { border-color: var(--c-error); background-image: none; }
.form-x.was-validated .form-control:valid, .form-x.was-validated .form-select:valid { border-color: var(--c-line-strong); background-image: none; }
.form-x.was-validated .form-select:valid { background-image: var(--bs-form-select-bg-img); }
.form-x.was-validated .form-check-input:valid ~ .form-check-label { color: var(--c-steel); }
.form-x.was-validated .form-check-input:valid:checked { background-color: var(--c-red); border-color: var(--c-red); }
.form-x.was-validated .form-check-input:invalid { border-color: var(--c-error); }
.form-x.was-validated .form-check-input:invalid ~ .form-check-label { color: var(--c-error); }
.form-x__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 1.8rem; }
.form-x__legal { margin-top: 1.2rem; color: var(--c-steel); font-size: .84rem; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 20px; padding: 16px 18px; border-radius: var(--r-md); background: var(--c-red-tint); color: var(--c-ink); font-size: .95rem; }
.form-status[hidden] { display: none; }
.form-status a { color: var(--c-red); font-weight: 600; text-decoration: underline; }
.form-status--error { background: #fdecea; border: 1px solid rgba(179, 38, 30, .35); }

/* Erros indicados pelo servidor (api/enviar.php) e estado "a enviar" */
.form-x .form-control.is-invalid, .form-x .form-select.is-invalid { border-color: var(--c-error); background-image: none; }
.form-x.was-validated .form-select:invalid, .form-x .form-select.is-invalid { background-image: var(--bs-form-select-bg-img); }
.form-x .form-check-input.is-invalid { border-color: var(--c-error); }
.form-x .form-check-input.is-invalid ~ .form-check-label { color: var(--c-error); }
.form-x.is-sending .btn-x[disabled] { opacity: 1; cursor: progress; }
.form-x.is-sending [type="submit"] .btn-x__ico { position: relative; transform: none; }
.form-x.is-sending [type="submit"] .btn-x__ico .ico { opacity: 0; }
.form-x.is-sending [type="submit"] .btn-x__ico::after {
  content: ""; position: absolute; inset: 11px; border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%; animation: hq-spin .7s linear infinite;
}
@keyframes hq-spin { to { transform: rotate(360deg); } }

/* Separadores da página de contactos: Pedido de orçamento / Informações gerais */
.ftabs {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: clamp(26px, 3vw, 38px); padding: 5px;
  border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-paper);
}
.ftabs__btn {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent;
  color: var(--c-steel); font-size: .94rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; text-align: center;
  transition: color .35s var(--ease);
}
.ftabs__btn .ico { width: 18px; height: 18px; }
.ftabs__btn:hover { color: var(--c-ink); }
.ftabs__btn.is-active, .ftabs__btn.is-active:hover { color: #fff; }
.ftabs__btn:focus-visible { outline: 2px solid var(--c-red); outline-offset: 3px; }
.ftabs__thumb {
  position: absolute; left: 5px; top: 5px; bottom: 5px; width: calc(50% - 5px); border-radius: 999px;
  background: var(--c-ink); box-shadow: 0 10px 24px -12px rgba(18, 20, 22, .55);
  transition: transform .5s var(--ease-out);
}
.ftabs[data-active="1"] .ftabs__thumb { transform: translateX(100%); }
.ftabs__panel:not([hidden]) { animation: fade-up .55s var(--ease-out); }
.ftabs__panel:focus { outline: 0; }
@media (max-width: 440px) {
  .ftabs__btn { gap: 6px; padding: 0 8px; font-size: .84rem; }
  .ftabs__btn .ico { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ftabs__thumb { transition: none; }
  .ftabs__panel:not([hidden]) { animation: none; }
}
.ccard .ccard__value + .ccard__note:not(:last-child) { margin-bottom: 8px; }

.mapx { position: relative; aspect-ratio: 16 / 7; overflow: hidden; border-radius: calc(var(--r-xl) + 6px); background: var(--c-ink); color: #fff; }
.mapx__bg { position: absolute; inset: 0; opacity: .38; }
.mapx__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.mapx__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; }
.mapx__ph p { max-width: 34rem; margin: 0; color: rgba(255, 255, 255, .86); }
.mapx__ph[hidden] { display: none; }
.mapx__pin { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-red); }
.mapx__pin .ico { width: 24px; height: 24px; }
.mapx iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.sys { display: flex; align-items: center; min-height: 100svh; padding-top: calc(var(--hdr-h) + var(--hdr-top) + 40px); padding-bottom: 80px; }
.sys__title { max-width: 14ch; margin-bottom: 1.4rem; }
.sys__code { display: block; margin-bottom: 1.4rem; color: var(--c-red); font-size: clamp(5rem, 16vw, 12rem); font-weight: 800; line-height: .85; letter-spacing: -.06em; }
.sys__badge { display: block; width: 96px; height: 96px; margin-bottom: 2rem; border-radius: 28px; }

.legal-x { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.toc { position: sticky; top: calc(var(--hdr-h) + var(--hdr-top) + 28px); padding: 24px; border-radius: var(--r-xl); background: var(--c-paper); }
.toc ol { margin: 0; padding: 0; list-style: none; }
.toc a { display: flex; gap: 10px; padding: 8px 0; color: var(--c-steel); font-size: .92rem; line-height: 1.35; }
.toc a:hover { color: var(--c-ink); }
.toc__n { color: var(--c-red); font-weight: 700; font-size: .8rem; padding-top: 2px; }
.prose-x { max-width: 48rem; }
.prose-x h2 { margin: 3rem 0 1rem; font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 700; letter-spacing: -.02em; scroll-margin-top: calc(var(--hdr-h) + var(--hdr-top) + 24px); }
.prose-x h2:first-child { margin-top: 0; }
.prose-x h3 { margin: 1.6rem 0 .6rem; font-size: 1.05rem; font-weight: 700; }
.prose-x p, .prose-x li { color: #3a3f45; }
.prose-x ul { margin: 0 0 1.1em; padding-left: 1.2rem; }
.prose-x li { margin-bottom: .5rem; }
.prose-x li::marker { color: var(--c-red); }
.prose-x a { color: var(--c-red); text-decoration: underline; text-underline-offset: 3px; }
.table-wrap { overflow-x: auto; margin: 1.4rem 0 2rem; border: 1px solid var(--c-line); border-radius: var(--r-lg); }
.prose-x table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prose-x th, .prose-x td { padding: 12px 16px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.prose-x tr:last-child td { border-bottom: 0; }
.prose-x th { background: var(--c-paper); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-steel); }

/* 9. Responsivo e impressão ------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .brand__logo { --logo-h: 36px; }
  .mega { display: none; }
}
@media (max-width: 991.98px) {
  :root { --hdr-h: 66px; --hdr-top: 10px; }
  .hx__top, .phero__grid, .phero__grid--portrait, .split-x, .ws, .intro-x, .intro-x--rev, .sblock,
  .faq-x, .contact-x, .legal-x, .rev, .cta-x__panel, .phero--wide .phero__wide-head { grid-template-columns: 1fr; }
  .split-x--rev .split-x__media, .sblock:nth-child(even) .sblock__media { order: 0; }
  .phero__grid--portrait .phero__media { aspect-ratio: 4 / 5; max-height: 80vh; }
  .stats__grid, .tl { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(220px, 44vw, 320px); }
  .bento .tile--0 { grid-column: span 2; grid-row: span 1; }
  .bento .tile--1 { grid-row: span 1; }
  .bento .tile--4, .bento .tile--5 { grid-column: span 1; }
  .bento--3 { grid-template-columns: 1fr 1fr; }
  .cards3 { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
  /* espaço livre no fim da página para os botões flutuantes não taparem o rodapé */
  .ftr { padding-bottom: 120px; }
  .faq-x__head, .toc { position: static; }
  .hx__media { height: clamp(380px, 62vh, 620px); }
  .ws__media { height: clamp(320px, 70vw, 520px); }
  .phero__banner { aspect-ratio: 16 / 10; }
}
@media (max-width: 575.98px) {
  .brand__icon { width: 42px; height: 42px; border-radius: 12px; }
  .brand__logo { --logo-h: 31.5px; }
  .brand--ftr .brand__icon { width: 48px; height: 48px; border-radius: 14px; }
  .brand--ftr .brand__logo { --logo-h: 46px; }
  .hdr__pill { padding: 0 6px 0 8px; gap: 8px; }
  .lang__btn { padding: 0 10px; }
  .lang__btn .ico--xs { display: none; }
  .stats__grid, .tl, .inc, .ccards, .ftr__grid, .bento, .bento--3 { grid-template-columns: 1fr; }
  .bento .tile--0 { grid-column: span 1; }
  .gal { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; gap: 10px; }
  .g-x--feature { grid-column: span 2; }
  .mosaic { aspect-ratio: 1; }
  .trio { grid-template-columns: 1fr; grid-template-rows: none; }
  .trio > .frame { aspect-ratio: 4 / 3; grid-row: auto; }
  .hx__controls { left: 14px; right: 14px; bottom: 14px; justify-content: space-between; }
  .hx__caption { display: none; }
  .cota { left: 14px; right: 14px; top: 14px; }
  .mapx { aspect-ratio: 4 / 5; }
  .cta-x__actions .btn-x { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .veil { display: none; }
  [data-parallax] { transform: none; }
}
@media print {
  .hdr, .ftr, .ckb, .fab, .veil, .cta-x, .hx__controls { display: none !important; }
  .phero, .hx { padding-top: 0; }
}
