@font-face{font-family:"Archivo";src:url("../fonts/archivo-latin-standard-normal.woff2") format("woff2");font-weight:100 900;font-stretch:62% 125%;font-style:normal;font-display:swap}
@font-face{font-family:"Inter";src:url("../fonts/inter-latin-wght-normal.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
/* =========================================================
   Morganti Eletrônica e Informática — site
   Paleta e tipografia seguem o manual de marca v1.0
   ========================================================= */

:root {
  /* cores da marca */
  --g0: #0D1512;          /* Grafite Bancada — fundo */
  --g1: #111B17;          /* painel (grafite um passo acima) */
  --g2: #17231E;
  --paper: #F1F3EF;       /* Bancada — texto sobre escuro */
  --solda: #8A9A93;       /* Cinza Solda — texto secundário e fios */
  --sinal: #00D25A;       /* Verde Sinal — só sobre escuro */
  --wait: #F2A93B;        /* status: aguardando */
  --dead: #3A4843;        /* traço "sem sinal" */
  --dim: #243029;         /* traço apagado (antes de acender) */
  --rule: rgba(138, 154, 147, .18);
  --rule-2: rgba(138, 154, 147, .36);
  --grid: rgba(138, 154, 147, .085);

  /* tipografia */
  --display: "Archivo", Arial, sans-serif;
  --text: "Inter", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, "Courier New", monospace;

  /* layout */
  --wrap: 1240px;
  --gut: clamp(20px, 4.5vw, 56px);
  --header-h: 76px;

  color-scheme: dark;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: inherit; }

html {
  background: var(--g0);
  height: 100%;
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--g0);
  color: var(--paper);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (min-width: 1100px) { body { font-size: 18px; } }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-stretch: 118%;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gut));
  margin-inline: auto;
  padding-inline: var(--gut);
}

.sr-only {
  position: absolute; 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: -9999px; top: 12px; z-index: 100;
  background: var(--sinal); color: var(--g0); padding: 10px 16px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { left: 16px; }

:focus-visible { outline: 2px solid var(--sinal); outline-offset: 3px; }

.mono { font-family: var(--mono); font-weight: 500; letter-spacing: 0; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px;
  font: 600 16px/1.1 var(--text);
  text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; border-radius: 2px;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--sinal); color: var(--g0); }
.btn-primary:hover { background: var(--paper); }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--rule-2); }
.btn-ghost:hover { border-color: var(--paper); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-sm svg { width: 18px; height: 18px; }
.btn-xs { min-height: 38px; padding: 0 14px; gap: 8px; font-size: 14px; }
.btn-xs svg { width: 16px; height: 16px; }

.link {
  color: var(--paper); font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--sinal);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.link:hover { color: var(--sinal); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--g0);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.header-inner { display: flex; align-items: center; gap: 36px; height: var(--header-h); }
.brand { flex: none; display: block; width: clamp(184px, 18vw, 232px); }
.brand img { width: 100%; height: auto; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  font-size: 15px; font-weight: 500; color: var(--solda);
  text-decoration: none; padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); border-bottom-color: var(--sinal); }
.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--rule-2); border-radius: 2px;
  color: var(--paper); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle[aria-expanded="true"] .i-open, .nav-toggle[aria-expanded="false"] .i-close { display: none; }

@media (max-width: 1020px) {
  :root { --header-h: 66px; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: fixed; left: 0; right: 0;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    flex-direction: column; gap: 0;
    background: var(--g0); border-bottom: 1px solid var(--rule);
    padding: 4px var(--gut) 28px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav a {
    font-family: var(--display); font-stretch: 118%; font-weight: 600;
    font-size: 22px; color: var(--paper);
    padding: 16px 0; border-bottom: 1px solid var(--rule);
  }
  .nav a[aria-current="page"] { color: var(--sinal); border-bottom-color: var(--rule); }
}

/* ---------- traço de sinal ---------- */
.trace {
  --sym-h: 96px;
  display: flex; align-items: flex-end;
  width: 100%; height: var(--sym-h);
  color: var(--sinal);
}
.trace-bar { height: calc(var(--sym-h) * 0.18326); display: block; }
.trace-dead { flex: 1 1 auto; background: var(--dead); margin-right: -1px; }
.trace-sym { flex: none; height: var(--sym-h); width: calc(var(--sym-h) * 1.86299); }
.trace-sym path { fill: currentColor; }
.trace-live { flex: 0 0 var(--live, 22%); background: currentColor; margin-left: -1px; }
.trace--alive .trace-dead { background: currentColor; }
.trace--dim { color: var(--dim); }
.trace--dim .trace-dead { background: var(--dim); }

/* tela de osciloscópio (hero) */
.scope {
  --sym-h: clamp(54px, 9.2vw, 148px);
  position: relative;
  height: calc(var(--sym-h) * 1.95);
  border-block: 1px solid var(--rule);
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: calc(var(--sym-h) * .5625) calc(var(--sym-h) * .5625);
  background-position: -1px calc(50% + var(--sym-h) * .0916);
  overflow: hidden;
}
.scope .trace {
  --sym-h: inherit;
  position: absolute; left: 0; right: 0;
  bottom: calc(50% - var(--sym-h) * .0916);
}
.scope .trace-live { --live: 20%; }
.beam { display: none; }

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] .trace { clip-path: inset(0 100% 0 0); }
  [data-reveal].is-ready .trace {
    animation: sweep 2.1s cubic-bezier(.62, .02, .32, 1) .2s forwards;
  }
  [data-reveal] .beam {
    display: block; position: absolute; top: 0; bottom: 0; left: 0;
    width: 2px; background: var(--sinal); opacity: 0;
  }
  [data-reveal].is-ready .beam {
    animation: beam 2.1s cubic-bezier(.62, .02, .32, 1) .2s forwards;
  }
}
@keyframes sweep { to { clip-path: inset(0 0 0 0); } }
@keyframes beam {
  0% { left: 0; opacity: 1; }
  92% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(32px, 6vh, 76px); }
.hero-title { display: block; }
.hero-kicker {
  display: block;
  font-family: var(--text); font-stretch: 100%; font-weight: 500;
  font-size: clamp(15px, 1.35vw, 18px); line-height: 1.45; letter-spacing: 0;
  color: var(--solda); max-width: 40ch; margin-bottom: clamp(18px, 2.4vw, 28px);
}
.hero-line {
  display: block;
  font-size: clamp(38px, 7.35vw, 104px);
  line-height: .98; letter-spacing: -.014em;
}
.hero-line--off { color: var(--solda); }
.hero-scope { margin-top: clamp(28px, 4.6vw, 56px); }
.hero-foot {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 56px; align-items: end;
  margin-top: clamp(28px, 4vw, 48px);
}
.hero-lead { margin: 0; max-width: 50ch; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 880px) { .hero-foot { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .hero-ctas .btn { flex: 1 1 100%; } }

.storebar {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--rule);
}
.storebar-item {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px;
  padding: 20px 0; text-decoration: none;
}
.storebar-item + .storebar-item { padding-left: 28px; border-left: 1px solid var(--rule); }
.storebar-name { font-family: var(--display); font-stretch: 118%; font-weight: 600; font-size: 17px; }
.storebar-item:hover .storebar-name { color: var(--sinal); }
@media (max-width: 700px) {
  .storebar { grid-template-columns: 1fr; }
  .storebar-item + .storebar-item { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
}

.status {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; line-height: 1.35; color: var(--solda);
}
.status::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--solda); }
.status[data-state="open"] { color: var(--paper); }
.status[data-state="open"]::before { background: var(--sinal); }
.status[data-state="pause"]::before { background: var(--wait); }
.status:empty { display: none; }

/* ---------- seções ---------- */
.section { padding-block: clamp(76px, 11vw, 148px); }
.section--rule { border-top: 1px solid var(--rule); }
.section--panel { background: var(--g1); border-block: 1px solid var(--rule); }

.section-head {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 20px 72px; align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head h2 { font-size: clamp(32px, 4.6vw, 62px); }
.section-head p { margin: 0; color: var(--solda); max-width: 52ch; }
@media (max-width: 880px) { .section-head { grid-template-columns: 1fr; } }

/* serviços */
.svc-list { list-style: none; padding: 0; border-top: 1px solid var(--rule); }
.svc {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 8px 72px; align-items: baseline;
  padding: 28px 0; border-bottom: 1px solid var(--rule);
}
.svc h3 { font-size: clamp(22px, 2.4vw, 31px); font-weight: 650; }
.svc p { margin: 0; color: var(--solda); max-width: 56ch; }
.svc .link { display: inline-block; margin-top: 12px; }
.svc--no h3 { color: var(--solda); }
.svc--no p { color: var(--paper); }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; padding: 24px 0; } }

/* informática */
.info-grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 48px 80px; align-items: start;
}
.info-grid h2 { font-size: clamp(34px, 5.2vw, 70px); }
.info-copy p { color: var(--solda); max-width: 46ch; margin-top: 28px; }
.info-copy .btn { margin-top: 12px; }
.info-copy .link { display: inline-block; margin: 26px 0 0 22px; }
@media (max-width: 520px) { .info-copy .link { margin-left: 0; } }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } }

.checklist { list-style: none; padding: 0; border-top: 1px solid var(--rule); }
.checklist li { position: relative; padding: 15px 0 15px 30px; border-bottom: 1px solid var(--rule); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: calc(15px + .8em);
  width: 14px; height: 3px; background: var(--sinal);
}

/* como funciona */
.proc { position: relative; }
.proc-trace { position: relative; --sym-h: clamp(40px, 5.6vw, 76px); height: var(--sym-h); }
.proc-trace .trace { position: absolute; inset: 0; --sym-h: inherit; }
.proc-trace .trace-live { --live: 3%; }
.proc-trace .trace--on { clip-path: inset(0 calc((1 - var(--p, 0)) * 100%) 0 0); }
.steps {
  list-style: none; padding: 0; margin-top: 36px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
}
.step-n {
  display: block; font-family: var(--mono); font-weight: 500; font-size: 15px;
  color: var(--solda); transition: color .3s ease;
}
.step.is-on .step-n { color: var(--sinal); }
.step h3 { font-size: clamp(20px, 1.9vw, 24px); margin: 12px 0 12px; font-weight: 650; }
.step p { margin: 0; color: var(--solda); font-size: 16px; }
.proc-note { margin: 44px 0 0; color: var(--solda); font-size: 15px; max-width: 70ch; }
.proc-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule); }
.proc-notes p { margin: 0; color: var(--solda); font-size: 15px; max-width: 60ch; }
.proc-notes strong { color: var(--paper); font-weight: 600; }
@media (max-width: 760px) { .proc-notes { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* marcas */
.brand-grid {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(214px, 1fr));
  border-top: 1px solid var(--rule); border-left: 1px solid var(--rule);
}
.brand-grid li { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.brand-grid a, .brand-grid .brand-more {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  min-height: 104px; padding: 20px 22px; height: 100%;
  text-decoration: none; transition: background-color .15s ease;
}
.brand-grid a:hover { background: var(--g1); }
.brand-grid a:hover .bn { color: var(--sinal); }
.bn { font-family: var(--display); font-stretch: 118%; font-weight: 650; font-size: 21px; line-height: 1.1; }
.bc { font-size: 14px; color: var(--solda); line-height: 1.35; }
.brands-also { margin: 32px 0 0; color: var(--solda); max-width: 72ch; }
@media (max-width: 520px) {
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-grid a { min-height: 92px; padding: 16px; }
  .bn { font-size: 18px; }
}

/* 54 anos */
.anos { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px 64px; align-items: end; }
.anos-num {
  font-family: var(--display); font-stretch: 125%; font-weight: 700;
  font-size: clamp(172px, 27vw, 372px); line-height: .76; letter-spacing: -.045em;
  margin-left: -.04em;
}
.anos-label { font-size: clamp(26px, 3vw, 40px); margin-bottom: 22px; }
.anos p { color: var(--solda); max-width: 54ch; }
.anos p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .anos { grid-template-columns: 1fr; } }

/* na loja */
.shop-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 80px; }
.shop-grid h2 { font-size: clamp(32px, 4.6vw, 62px); }
.shop-copy p { color: var(--solda); max-width: 46ch; margin-top: 24px; }
.shop-copy .btn { margin-top: 8px; }
.shop-hi { color: var(--paper) !important; }
.cat-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; align-content: start; }
.cat-list li { padding: 13px 0; border-bottom: 1px solid var(--rule); }
.cat-list li:nth-child(-n+2) { border-top: 1px solid var(--rule); }
@media (max-width: 900px) { .shop-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cat-list { grid-template-columns: 1fr; } .cat-list li:nth-child(2) { border-top: 0; } }

/* lojas */
.stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.store {
  display: flex; flex-direction: column;
  background: var(--g1); border: 1px solid var(--rule);
  padding: clamp(24px, 3.2vw, 44px);
}
.store-name { font-size: clamp(28px, 3vw, 38px); }
.store-name small {
  display: block; margin-bottom: 8px;
  font-family: var(--text); font-stretch: 100%; font-weight: 500;
  font-size: 15px; color: var(--solda); letter-spacing: 0;
}
.store .status { margin-top: 16px; }
.fields { margin: 26px 0 32px; }
.field { padding: 13px 0; border-bottom: 1px solid var(--rule); }
.field:first-child { border-top: 1px solid var(--rule); }
.field dt { font-size: 13px; color: var(--solda); margin-bottom: 3px; }
.field dd { margin: 0; }
.field a { text-decoration: none; }
.field a:hover { color: var(--sinal); }
.store-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.stores-note { margin: 28px 0 0; color: var(--solda); font-size: 15px; max-width: 72ch; }
@media (max-width: 880px) { .stores { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .store-actions .btn { flex: 1 1 100%; } }

/* dúvidas */
.faq { border-top: 1px solid var(--rule); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding: 22px 0;
  font-family: var(--display); font-stretch: 112%; font-weight: 600;
  font-size: clamp(18px, 1.8vw, 22px); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 1ch;
  font-family: var(--mono); font-weight: 400; font-size: 26px; line-height: 1;
  color: var(--sinal);
}
.faq details[open] summary::after { content: "\2013"; }
.faq summary:hover { color: var(--sinal); }
.faq .ans { padding: 0 48px 26px 0; color: var(--solda); max-width: 70ch; }
.faq .ans p:last-child { margin: 0; }

/* dúvidas em duas colunas */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 72px; align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 32px); }
.faq-head h2 { font-size: clamp(32px, 4.6vw, 62px); }
.faq-head p { margin: 20px 0 0; color: var(--solda); max-width: 40ch; }
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; } .faq-head { position: static; } }

/* aviso */
.notice {
  margin: 36px 0 0; padding: 16px 20px; max-width: 72ch;
  border-left: 3px solid var(--wait); background: var(--g1);
  font-size: 15px; color: var(--paper);
}

/* célula "outra marca" */
.brand-grid .brand-more { color: var(--solda); cursor: pointer; width: 100%; text-align: left; background: none; border: 0; font: inherit; }
.brand-grid .brand-more .bn { color: var(--paper); }
.brand-grid .brand-more:hover { background: var(--g1); }
.brand-grid .brand-more:hover .bn { color: var(--sinal); }

/* chamada final */
.closing { padding-block: clamp(88px, 13vw, 172px) 0; overflow: hidden; }
.closing h2 { font-size: clamp(40px, 7.2vw, 100px); line-height: .98; }
.closing p { color: var(--solda); margin: 26px 0 36px; max-width: 48ch; }
.closing-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.closing .trace { --sym-h: clamp(54px, 9.2vw, 148px); margin-top: clamp(64px, 9vw, 120px); }
.closing .trace-live { --live: 20%; }
@media (max-width: 520px) { .closing-ctas .btn { flex: 1 1 100%; } }

/* ---------- páginas internas ---------- */
.page-hero { padding-top: clamp(32px, 6vw, 80px); }
.crumbs { margin-bottom: 26px; font-size: 14px; color: var(--solda); }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { color: var(--solda); text-decoration: none; }
.crumbs a:hover { color: var(--paper); }
.page-hero h1 { font-size: clamp(34px, 5.8vw, 80px); max-width: 16ch; }
.page-hero .lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 56ch; margin: 26px 0 32px; }
.page-hero .trace { --sym-h: clamp(40px, 6vw, 92px); margin-top: clamp(48px, 7vw, 88px); }
.page-hero .trace-live { --live: 14%; }
.hero-ctas + .status { margin-top: 18px; }

.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 80px; }
.prose h2 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 18px; }
.prose p { color: var(--solda); max-width: 58ch; }
.prose p:last-child { margin-bottom: 0; }
@media (max-width: 880px) { .cols-2 { grid-template-columns: 1fr; } }

.blocks {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0 48px;
}
.block { padding: 24px 0 28px; border-top: 1px solid var(--rule); }
.block h3 { font-size: 22px; font-weight: 650; margin-bottom: 10px; }
.block p { margin: 0; color: var(--solda); }

.chip-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list a {
  display: inline-block; padding: 9px 15px;
  border: 1px solid var(--rule-2); border-radius: 2px;
  font-size: 15px; text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
.chip-list a:hover { border-color: var(--sinal); color: var(--sinal); }

.notfound { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
.legal h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 44px 0 14px; }
.legal p, .legal li { color: var(--solda); max-width: 70ch; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }

/* ---------- rodapé ---------- */
main:has(> .closing:last-child) + .site-footer { border-top: 0; }
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 64px 0 calc(44px + env(safe-area-inset-bottom, 0px));
  font-size: 15px; color: var(--solda);
}
.footer-logo { display: block; width: 224px; margin-bottom: 44px; }
.footer-logo img { width: 100%; height: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-h {
  font-family: var(--text); font-stretch: 100%; font-weight: 600;
  font-size: 14px; letter-spacing: 0; color: var(--paper); margin: 0 0 12px;
}
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin-bottom: 7px; }
.footer-grid a { color: var(--solda); text-decoration: none; }
.footer-grid a:hover { color: var(--paper); }
.footer-grid p { margin: 0 0 12px; }
.footer-store { margin-bottom: 22px; }
.footer-store p { margin-bottom: 10px; }
.footer-grid .footer-store .btn { color: var(--paper); }
.footer-grid .footer-store .btn:hover { border-color: var(--sinal); }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px;
  margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--rule);
  font-size: 13px;
}
.footer-legal button {
  background: none; border: 0; padding: 0; color: inherit; font: inherit;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.footer-legal a { color: inherit; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1020px) { .site-footer { padding-bottom: calc(124px + env(safe-area-inset-bottom, 0px)); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- escolha de loja (WhatsApp) ---------- */
.wa-dialog {
  padding: 0; border: 0; background: transparent; color: var(--paper);
  width: calc(100% - 32px); max-width: 520px;
}
.wa-dialog::backdrop { background: rgba(4, 8, 6, .76); }
.wa-card { background: var(--g1); border: 1px solid var(--rule-2); padding: clamp(22px, 4vw, 32px); }
.wa-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.wa-head h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.1; }
.wa-close {
  flex: none; width: 40px; height: 40px; margin: -6px -8px 0 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; color: var(--solda); cursor: pointer;
}
.wa-close:hover { color: var(--paper); }
.wa-close svg { width: 22px; height: 22px; }
.wa-note { margin: 12px 0 8px; color: var(--solda); font-size: 15px; }
.wa-option {
  display: grid; gap: 3px; margin-top: 12px; padding: 18px 20px;
  border: 1px solid var(--rule-2); text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.wa-option:hover { border-color: var(--sinal); background: var(--g2); }
.wa-option-name { font-family: var(--display); font-stretch: 118%; font-weight: 650; font-size: 20px; }
.wa-option-addr { color: var(--solda); font-size: 15px; }
.wa-option .status { margin-top: 6px; font-size: 14px; }

/* ---------- barra fixa (celular) ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--g0); border-top: 1px solid var(--rule);
  transform: translateY(110%); transition: transform .25s ease;
}
.mbar.is-on { transform: none; }
.mbar .btn { width: 100%; }
@media (min-width: 1021px) { .mbar { display: none; } }

/* ---------- cookies ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; z-index: 60;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: 460px;
  background: var(--g1); border: 1px solid var(--rule-2);
  padding: 20px 22px; font-size: 15px;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0 0 16px; color: var(--solda); }
.cookie a { color: var(--paper); }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions .btn { flex: 1; }

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