/* ==========================================================================
   alarmesresidenciais · Apoio Evolution
   Sistema "Placas": placas esmaltadas preto/carmim, letreiro condensado,
   réguas de 1px, cantos retos, estados por inversão.
   ========================================================================== */

@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-800-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #0b0b0c;
  --ink-2: #161618;
  --ink-3: #26262a;
  --red: #a1151d;
  --red-dark: #7a0f15;
  --paper: #ffffff;
  --fog: #f2f2f1;
  --rule: #d9d9d9;
  --rule-dark: #3a3a3e;
  --steel: #55555a;
  --mist: #b9b9be;
  --wa: #25d366;

  --font-sign: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-text: "Barlow", "Segoe UI", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 96px;
  --section: clamp(72px, 9vw, 136px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
  accent-color: var(--red);
  scrollbar-color: var(--ink-3) var(--fog);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  caret-color: var(--red);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.on-dark :focus-visible, .plate :focus-visible { outline-color: #fff; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.section-fog { background: var(--fog); }
.section-ink { background: var(--ink); color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lead { margin-top: 20px; }
.split { display: grid; gap: clamp(32px, 5vw, 80px); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.split .section-head { margin-bottom: 0; }

/* ---------- Tipografia ---------- */
.display {
  font-family: var(--font-sign);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 5.4vw, 5.25rem);
  line-height: 0.92;
  letter-spacing: 0.002em;
}
.title {
  font-family: var(--font-sign);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: 0.004em;
}
.subtitle {
  font-family: var(--font-sign);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.lead { font-size: clamp(1.125rem, 1.4vw, 1.3rem); line-height: 1.5; color: var(--steel); max-width: 62ch; }
.on-dark .lead, .section-ink .lead { color: var(--mist); }
.small-note { font-size: 0.9375rem; color: var(--steel); max-width: 70ch; margin-top: 28px; }
.on-dark .small-note { color: var(--mist); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }

/* ---------- Placas (sinalização) ---------- */
.plate { position: relative; background: var(--ink); color: #fff; }
.plate::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255, 255, 255, 0.62); pointer-events: none; }

/* ---------- Ícones ---------- */
.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon-sm { width: 0.95em; height: 0.95em; }
.icon-wa { width: 1.25em; height: 1.25em; }

/* ---------- Botões ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0.9em 1.35em;
  border: 0;
  border-radius: 0;
  font-family: var(--font-sign);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.1;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  max-width: 100%;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.btn::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(255, 255, 255, 0.55); pointer-events: none; transition: border-color 0.18s ease; }
.btn .icon { transition: transform 0.25s var(--ease-out); }
.btn:hover .icon:not(.icon-wa) { transform: translateX(4px); }
.btn-sm { white-space: nowrap; min-height: 44px; font-size: 1rem; padding: 0.7em 1.05em; }
.btn-lg { min-height: 60px; font-size: 1.25rem; padding: 1em 1.6em; }
.btn-block { display: flex; width: 100%; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--ink); }
.on-dark .btn-red:hover, .plate .btn-red:hover { background: #fff; color: var(--ink); }
.on-dark .btn-red:hover::after, .plate .btn-red:hover::after { border-color: rgba(11, 11, 12, 0.5); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--red); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-line::after { display: none; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-line-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.9); }
.btn-line-light::after { display: none; }
.btn-line-light:hover { background: #fff; color: var(--ink); }
.btn .icon-wa { color: var(--wa); }
.btn-red .icon-wa { color: #fff; }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; cursor: progress; }
.link-button { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { flex: none; display: block; margin-block: 4px; }
.brand img { width: 88px; height: 88px; object-fit: contain; }
.main-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 12px;
  font-family: var(--font-sign); font-weight: 700; font-size: 1.0625rem;
  letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none;
  background: none; border: 0; color: var(--ink);
  transition: background-color 0.15s, color 0.15s;
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-sub-toggle[aria-expanded="true"] { background: var(--ink); color: #fff; }
.nav-sub { position: relative; }
.nav-sub-toggle .icon { transition: transform 0.2s; }
.nav-sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-panel {
  position: absolute; top: calc(100% + 12px); left: 0; width: 340px;
  background: var(--ink); color: #fff; padding: 20px 20px 16px;
  visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s var(--ease-out), visibility 0.18s;
}
.nav-panel::after { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(255, 255, 255, 0.5); pointer-events: none; }
.nav-sub.is-open .nav-panel { visibility: visible; opacity: 1; transform: none; }
.nav-panel-title { font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9375rem; color: var(--mist); margin: 0 0 6px; padding: 0 8px; }
.nav-panel ul { list-style: none; }
.nav-panel a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 8px; border-top: 1px solid var(--rule-dark);
  font-family: var(--font-sign); font-weight: 700; font-size: 1.1875rem; text-transform: uppercase; letter-spacing: 0.03em;
  text-decoration: none; position: relative; z-index: 1;
}
.nav-panel a:hover, .nav-panel a[aria-current="page"] { background: #fff; color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { font-family: var(--font-sign); font-weight: 700; font-size: 1.125rem; letter-spacing: 0.03em; text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--red); }
.menu-toggle {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
  background: var(--ink); color: #fff; border: 0;
  font-family: var(--font-sign); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1rem;
}
.nav-mobile-actions { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: #070a12; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4, 6, 12, 0.72) 0%, rgba(4, 6, 12, 0.35) 42%, rgba(4, 6, 12, 0) 64%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 6.2fr) minmax(0, 1.6fr) minmax(0, 4.2fr);
  align-items: end;
  min-height: min(calc(100svh - var(--header-h)), 820px);
  padding-top: clamp(72px, 12vh, 140px);
  padding-bottom: 56px;
}
.hero-plate { grid-column: 1; padding: clamp(32px, 3.6vw, 52px); max-width: 640px; container-type: inline-size; }
.hero-plate .display { font-size: clamp(2.1rem, 12.6cqi, 4.5rem); text-wrap: wrap; }
.hero-sub { margin: 22px 0 0; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); color: #e4e4e8; max-width: 46ch; position: relative; z-index: 1; }
.hero-plate .actions { position: relative; z-index: 1; margin-top: 30px; }
.hero-wa { margin: 22px 0 0; position: relative; z-index: 1; }
.hero-wa a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; }
.hero-wa .icon-wa { color: var(--wa); }
.hero .direction-sign { grid-column: 3; margin-bottom: -300px; }
.hero .sign-face { min-height: 0; }

/* ---------- Placa de direção (seletor de imóvel) ---------- */
.direction-sign { position: relative; z-index: 2; perspective: 1400px; color: #fff; }
.sign-face {
  position: relative;
  background: var(--ink);
  padding: 26px 26px 22px;
  min-height: 470px;
  transform-origin: 50% 0%;
}
.sign-face::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255, 255, 255, 0.62); pointer-events: none; }
.sign-face.is-turning { animation: sign-turn 0.34s var(--ease-out); }
@keyframes sign-turn { from { transform: rotateX(-82deg); opacity: 0.2; } to { transform: rotateX(0); opacity: 1; } }
.sign-title { font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; font-size: clamp(1.75rem, 2.4vw, 2.25rem); line-height: 0.95; margin: 0 4px; outline: none; }
.sign-sub { margin: 8px 4px 16px; color: var(--mist); font-size: 0.9375rem; }
.sign-list { list-style: none; position: relative; z-index: 1; }
.sign-row {
  display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center;
  padding: 11px 6px 11px 8px; border-top: 1px solid var(--rule-dark);
  text-decoration: none; color: #fff;
  transition: background-color 0.15s, color 0.15s;
}
.sign-list li:last-child .sign-row { border-bottom: 1px solid var(--rule-dark); }
.sign-row-label { font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; font-size: 1.3125rem; letter-spacing: 0.02em; line-height: 1.1; }
.sign-row-hint { grid-column: 1; font-size: 0.875rem; color: var(--mist); line-height: 1.3; }
.sign-arrow { grid-column: 2; grid-row: 1 / span 2; width: 1.6em; height: 1.6em; transition: transform 0.25s var(--ease-out); }
.sign-row:hover, .sign-row:focus-visible { background: #fff; color: var(--ink); outline-offset: -3px; }
.sign-row:hover .sign-row-hint, .sign-row:focus-visible .sign-row-hint { color: var(--steel); }
.sign-row:hover .sign-arrow { transform: translateX(4px); }
.sign-back { display: flex; flex-direction: column; }
.sign-back[hidden], .sign-front[hidden] { display: none; }
.sign-return {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; color: var(--mist); padding: 6px 4px; margin-bottom: 10px;
  font-family: var(--font-sign); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.9375rem;
  position: relative; z-index: 1;
}
.sign-return:hover { color: #fff; }
.sign-reco { list-style: none; margin: 0 4px 22px; position: relative; z-index: 1; }
.sign-reco li { position: relative; padding: 9px 0 9px 26px; border-top: 1px solid var(--rule-dark); font-size: 0.98rem; line-height: 1.4; }
.sign-reco li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 12px; height: 2px; background: currentColor; }
.sign-reco li::after { content: ""; position: absolute; left: 8px; top: calc(1.05em - 4px); width: 6px; height: 6px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.sign-back .btn { margin-top: auto; z-index: 1; }
.sign-note { margin: 12px 4px 0; font-size: 0.8125rem; color: var(--mist); position: relative; z-index: 1; }

/* ---------- Faixa "meio-fio" após o hero ---------- */
.curb { background: #fff; border-bottom: 1px solid var(--rule); }
.curb-inner { padding-block: 40px 44px; display: grid; grid-template-columns: minmax(0, 7.8fr) minmax(0, 4.2fr); align-content: start; min-height: 284px; }
.curb-title, .curb-list { grid-column: 1; }
.curb-title { font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1.05; margin: 0 0 14px; }
.curb-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 0; max-width: 680px; }
.curb-list li { font-size: 1rem; color: var(--steel); }
.curb-list li:not(:last-child)::after { content: "·"; margin: 0 10px; color: var(--rule); }
.curb-list a { color: var(--ink); font-weight: 600; }
.curb-list a:hover { color: var(--red); }

/* ---------- Diretório de serviços ---------- */
.directory { list-style: none; border-bottom: 1px solid var(--ink); }
.directory-row {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; gap: 24px; align-items: center;
  padding: 22px 16px; border-top: 1px solid var(--ink); text-decoration: none;
  transition: background-color 0.18s, color 0.18s;
}
.directory-name { font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 2.4vw, 2.125rem); line-height: 1; letter-spacing: 0.01em; }
.directory-desc { color: var(--steel); font-size: 1rem; line-height: 1.45; }
.directory-arrow { width: 1.8em; height: 1.8em; transition: transform 0.25s var(--ease-out); }
.directory-row:hover, .directory-row:focus-visible { background: var(--ink); color: #fff; outline-offset: -3px; }
.directory-row:hover .directory-desc, .directory-row:focus-visible .directory-desc { color: var(--mist); }
.directory-row:hover .directory-arrow { transform: translateX(6px); color: #fff; }

/* ---------- Processo (marcos da via) ---------- */
.route { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; align-items: end; }
.route::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); }
.route-step { position: relative; padding: 0 28px 40px 0; }
.route-step:nth-child(2) { margin-bottom: 36px; }
.route-step:nth-child(3) { margin-bottom: 72px; }
.route-step:nth-child(4) { margin-bottom: 108px; }
.route-step::after { content: ""; position: absolute; left: 30px; bottom: -40px; width: 2px; height: 40px; background: var(--ink); }
.route-step:nth-child(2)::after { height: 76px; bottom: -76px; }
.route-step:nth-child(3)::after { height: 112px; bottom: -112px; }
.route-step:nth-child(4)::after { height: 148px; bottom: -148px; }
.route-marker {
  position: relative; display: inline-grid; place-items: center; width: 62px; height: 62px; margin-bottom: 20px;
  background: var(--ink); color: #fff; font-family: var(--font-sign); font-weight: 800; font-size: 1.75rem;
}
.route-marker::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(255, 255, 255, 0.6); }
.route-title { font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; font-size: 1.625rem; line-height: 1; margin-bottom: 10px; }
.route-step p { color: var(--steel); font-size: 1rem; margin: 0; max-width: 32ch; }
.process .actions { margin-top: 56px; }

/* ---------- Feature (imagem + texto) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.feature-reverse .feature-media { order: 2; }
.feature-media { margin: 0; position: relative; }
.feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-body .title { margin-bottom: 20px; }
.feature-body .lead { margin-bottom: 28px; }

/* ---------- Perímetro (foto + placa de direção) ---------- */
.perimeter { position: relative; isolation: isolate; color: #fff; background: var(--ink); }
.perimeter-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.perimeter-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 45%; }
.perimeter-grid { display: grid; grid-template-columns: minmax(0, 6.6fr) minmax(0, 5.4fr); padding-block: clamp(72px, 9vw, 128px); }
.perimeter-plate { grid-column: 2; padding: clamp(28px, 3vw, 40px); }
.perimeter-title { position: relative; z-index: 1; margin: 0 4px; font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 3.2vw, 2.875rem); line-height: 0.95; }
.perimeter-lead { position: relative; z-index: 1; margin: 14px 4px 22px; color: var(--mist); max-width: 52ch; }

/* ---------- Listas com réguas ---------- */
.ruled-list { margin: 0; }
.ruled-list > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px; padding: 16px 0; border-top: 1px solid var(--rule); }
.ruled-list > div:last-child { border-bottom: 1px solid var(--rule); }
.ruled-list dt { font-family: var(--font-sign); font-weight: 700; text-transform: uppercase; font-size: 1.25rem; line-height: 1.1; letter-spacing: 0.02em; }
.ruled-list dd { margin: 0; color: var(--steel); font-size: 1rem; }
.on-dark .ruled-list > div { border-color: var(--rule-dark); }
.on-dark .ruled-list dd { color: var(--mist); }

.ruled-grid { display: grid; margin: 0; border-top: 2px solid var(--ink); }
.ruled-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ruled-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ruled-grid > div { padding: 26px 28px 30px 0; border-bottom: 1px solid var(--rule); }
.ruled-grid > div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
.ruled-grid-3 > div:nth-child(3n + 1), .ruled-grid-4 > div:nth-child(4n + 1) { padding-left: 0; border-left: 0; }
.ruled-grid dt { font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1.02; margin-bottom: 10px; }
.ruled-grid dd { margin: 0; color: var(--steel); font-size: 1rem; }

.area-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.area-list > div { padding: 14px 0; border-top: 1px solid var(--ink); }
.area-list dt { font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; line-height: 1.05; }
.area-list dd { margin: 4px 0 0; color: var(--steel); font-size: 0.9375rem; line-height: 1.45; }

.check-list { list-style: none; margin: 28px 0 0; }
.check-list li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--rule-dark); }
.check-list li:last-child { border-bottom: 1px solid var(--rule-dark); }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 14px; height: 2px; background: currentColor; }
.check-list li::after { content: ""; position: absolute; left: 9px; top: calc(1.15em - 4px); width: 6px; height: 6px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.section:not(.section-ink) .check-list li { border-color: var(--rule); }

/* ---------- Casa conectada ---------- */
.smart-grid { margin: 0 0 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.smart-grid > div { padding: 14px 0; border-top: 1px solid var(--rule-dark); }
.smart-grid dt { font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; line-height: 1.05; }
.smart-grid dd { margin: 4px 0 0; color: var(--mist); font-size: 0.9375rem; line-height: 1.45; }
.smart .feature-media img { aspect-ratio: 4 / 5; }

/* ---------- Tabela de sensores ---------- */
.sensor-table { border-top: 2px solid var(--ink); }
.sensor-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 28px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.sensor-head { padding: 12px 0; font-family: var(--font-sign); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9375rem; color: var(--steel); }
.sensor-name { font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; font-size: 1.375rem; line-height: 1.05; }
.sensor-where { color: var(--steel); }

/* ---------- Questionário ---------- */
.quote-grid { display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.quote-intro .lead { margin-top: 20px; }
.wizard { position: relative; background: #fff; color: var(--ink); padding: clamp(24px, 3.4vw, 44px); }
.wizard-progress { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.wizard-progress[hidden] { display: none; }
.wizard-count { margin: 0; font-family: var(--font-sign); font-weight: 800; font-size: 1.125rem; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wizard-route { list-style: none; display: flex; gap: 6px; flex: 1; }
.wizard-route li { flex: 1; height: 6px; background: var(--rule); transition: background-color 0.3s; }
.wizard-route li.is-done { background: var(--ink); }
.wizard-route li.is-current { background: var(--red); }
.wizard-step { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.wizard.is-enhanced .wizard-step { margin: 0; }
.wizard.is-enhanced .wizard-step:not(.is-active) { display: none; }
.wizard-step.is-active { animation: step-in 0.36s var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.wizard-q { font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1; padding: 0; margin-bottom: 18px; }
.wizard-help { margin: -8px 0 16px; color: var(--steel); font-size: 0.9375rem; }
.wizard-sublabel { margin: 4px 0 10px; font-weight: 600; }
.wizard-sublabel + .choice-grid { margin-bottom: 22px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; min-height: 56px; padding: 12px 16px;
  box-shadow: inset 0 0 0 2px var(--ink);
  font-family: var(--font-sign); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.125rem; line-height: 1.1;
  transition: background-color 0.15s, color 0.15s;
}
.choice:hover span { background: var(--fog); }
.choice input:checked + span { background: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 3px; }
.choice-sm span { min-height: 44px; padding: 8px 18px; font-size: 1rem; justify-content: center; }
.yn-list { display: grid; gap: 0; }
.yn-row { display: grid; grid-template-columns: 1fr 96px 96px; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--rule); }
.yn-row:last-child { border-bottom: 1px solid var(--rule); }
.yn-label { font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; font-size: 1.375rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.wizard-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-top: 28px; }
.wizard-nav [data-wizard-next], .wizard-nav [data-wizard-submit] { margin-left: auto; }
.wizard .btn-line-light { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.wizard .btn-line-light:hover { background: var(--ink); color: #fff; }
.wizard .btn-red:hover { background: var(--ink); color: #fff; }

/* ---------- Campos ---------- */
.field { display: grid; gap: 6px; }
.field > span { font-weight: 600; font-size: 0.9375rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: #fff; color: var(--ink);
  border: 0; border-radius: 0; box-shadow: inset 0 0 0 1px #8a8a90;
  transition: box-shadow 0.15s;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6c6c72; }
.field input:hover, .field select:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field.has-error input, .field.has-error select, [aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--red) !important; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; line-height: 1.45; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; }
.consent { margin-top: 18px; color: var(--steel); }
.on-dark .consent { color: var(--mist); }
.form-error { margin: 16px 0 0; padding: 12px 14px; background: #fbeced; color: var(--red-dark); font-weight: 600; font-size: 0.9375rem; }
.form-success { margin-top: 20px; padding: 22px; background: var(--fog); }
.form-success:focus { outline: none; }
.form-success-title { font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; margin-bottom: 6px; }
.wizard.is-sent .wizard-step, .wizard.is-sent .wizard-nav, .wizard.is-sent .wizard-progress, .lead-form.is-sent > :not(.form-success) { display: none !important; }

/* ---------- Formulário curto ---------- */
.lead-form { position: relative; background: #fff; color: var(--ink); padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 12px; }
.lead-form > * { min-width: 0; }
.lead-form-title { font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; font-size: 1.75rem; line-height: 1; margin: 0; }
.lead-form-sub { margin: -4px 0 4px; color: var(--steel); font-size: 0.9375rem; }
.lead-form .consent { margin-top: 4px; }

/* ---------- Página interna (topo) ---------- */
.page-hero { background: var(--ink); color: #fff; padding-block: clamp(40px, 6vw, 72px) clamp(56px, 7vw, 96px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4.4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.page-hero .display { font-size: clamp(2.5rem, 5vw, 4.75rem); margin-top: 28px; }
.page-hero .lead { margin-top: 22px; color: #dcdce0; }
.page-hero .actions { margin-top: 30px; }
.page-hero-simple .display { max-width: 18ch; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-family: var(--font-sign); font-weight: 700; font-size: 0.9375rem; text-transform: uppercase; letter-spacing: 0.06em; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--mist); }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs-sep { width: 0.9em; height: 0.9em; color: var(--mist); }
.crumbs-light li { color: var(--steel); }
.crumbs-light a { color: var(--ink); }

.benefits { padding-block: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--rule); }

.prose { max-width: 70ch; }
.prose h2 { font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; font-size: clamp(1.75rem, 2.8vw, 2.375rem); line-height: 1; margin: 1.6em 0 0.5em; }
.prose h3 { font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1.05; margin: 1.5em 0 0.4em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--ink); }
.prose a { color: var(--red); font-weight: 600; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 1px solid var(--ink); font-size: 1.125rem; }
.prose img { margin: 1.4em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); }

.content-list { list-style: none; border-top: 2px solid var(--ink); }
.content-list li { position: relative; padding: 14px 0 14px 32px; border-bottom: 1px solid var(--rule); }
.content-list li::before { content: ""; position: absolute; left: 2px; top: 1.3em; width: 14px; height: 2px; background: currentColor; }
.content-list li::after { content: ""; position: absolute; left: 9px; top: calc(1.3em - 4px); width: 6px; height: 6px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }

/* ---------- Regiões ---------- */
.regions { border-top: 1px solid var(--rule); }
.region-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.region-list a, .region-list span { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 12px; font-family: var(--font-sign); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1rem; text-decoration: none; box-shadow: inset 0 0 0 1px var(--rule); color: var(--steel); }
.region-list a { background: var(--ink); color: #fff; box-shadow: none; }
.region-list a:hover { background: var(--red); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-aside .title { margin-bottom: 18px; }
.faq-aside p { color: var(--steel); margin-bottom: 24px; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 4px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--red); }
.faq-icon { width: 1.4em; height: 1.4em; transition: transform 0.25s var(--ease-out); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 4px 22px; color: var(--steel); max-width: 68ch; }
.faq-answer p { margin: 0; }

/* ---------- Faixa de CTA ---------- */
.cta-band { background: var(--red); color: #fff; padding-block: clamp(56px, 7vw, 96px); position: relative; }
.cta-band::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255, 255, 255, 0.55); pointer-events: none; }
.cta-band-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; position: relative; z-index: 1; }
.cta-band-title { font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 0.92; margin-bottom: 16px; }
.cta-band p { margin: 0; font-size: 1.125rem; color: #fbe4e5; max-width: 50ch; }
.cta-band-actions { display: flex; flex-direction: column; gap: 10px; }
.cta-band .btn-ink:hover { background: #fff; color: var(--ink); }
.cta-band .btn-ink:hover::after { border-color: rgba(11, 11, 12, 0.5); }

/* ---------- Produtos ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter { display: inline-flex; align-items: center; min-height: 42px; padding: 6px 14px; font-family: var(--font-sign); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1rem; text-decoration: none; box-shadow: inset 0 0 0 1px var(--ink); }
.product-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.product-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; border-top: 2px solid var(--ink); padding-top: 16px; }
.product-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--fog); margin-bottom: 16px; transition: filter 0.3s; }
.product-card:hover img { filter: brightness(0.92); }
.product-meta { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 0.875rem; color: var(--steel); margin: 0 0 10px; }
.product-meta > span:not(:last-child)::after { content: "·"; margin: 0 8px; color: var(--rule); }
.product-name { font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1.02; margin-bottom: 8px; }
.product-card:hover .product-name { color: var(--red); }
.product-short { color: var(--steel); font-size: 0.9375rem; margin-bottom: 14px; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mode-tag { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 10px; background: var(--ink); color: #fff; font-family: var(--font-sign); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.875rem; }
.price { font-family: var(--font-sign); font-weight: 800; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.price-old { color: var(--steel); text-decoration: line-through; font-size: 1rem; margin-right: 8px; font-weight: 600; }
.product-detail { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: 24px; }
.product-detail-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--fog); }
.product-detail .display { font-size: clamp(2.2rem, 4vw, 3.5rem); margin: 18px 0 14px; }
.product-buy { margin-top: 26px; padding-top: 22px; border-top: 2px solid var(--ink); display: grid; gap: 10px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; font-size: 0.9375rem; }
.spec-table th { width: 40%; font-weight: 600; padding-right: 16px; }
.empty-state { padding: clamp(36px, 5vw, 64px); background: var(--fog); max-width: 760px; }
.empty-state .subtitle { margin-bottom: 12px; }

/* ---------- Blog ---------- */
.post-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; border-top: 2px solid var(--ink); padding-top: 16px; height: 100%; }
.post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; margin-bottom: 16px; }
.post-card-title { font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1.04; margin: 6px 0 10px; }
.post-card:hover .post-card-title { color: var(--red); }
.post-card p { color: var(--steel); font-size: 0.9375rem; }
.post-cat { font-size: 0.875rem; color: var(--steel); margin-top: auto; padding-top: 4px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.article-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 36px; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.next-step { position: relative; background: var(--ink); color: #fff; padding: 28px; }
.next-step::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255, 255, 255, 0.55); pointer-events: none; }
.next-step > * { position: relative; z-index: 1; }
.next-step-title { font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; font-size: 1.75rem; line-height: 1; margin-bottom: 10px; }
.next-step p { color: var(--mist); font-size: 0.9375rem; }
.next-step .btn + .btn { margin-top: 10px; }

/* ---------- Galeria ---------- */
.gallery-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gallery-grid figure { margin: 0; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-grid figcaption { padding-top: 10px; font-size: 0.9375rem; color: var(--steel); border-bottom: 1px solid var(--rule); padding-bottom: 10px; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-bottom: 48px; }
.quote { margin: 0; border-top: 2px solid var(--ink); padding-top: 18px; }
.quote blockquote { margin: 0 0 12px; font-size: 1.125rem; }
.quote figcaption { font-weight: 600; font-size: 0.9375rem; }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-lines { margin: 0; border-top: 2px solid var(--ink); }
.contact-lines > div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.contact-lines dt { font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; font-size: 1.125rem; }
.contact-lines dd { margin: 0; }
.map-frame { width: 100%; aspect-ratio: 4 / 3; border: 0; margin-top: 28px; }
.notice { padding: 14px 16px; background: var(--fog); margin-bottom: 20px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: #fff; padding-top: clamp(56px, 7vw, 96px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 3.2fr) repeat(4, minmax(0, 2fr)); gap: 40px 32px; padding-bottom: 56px; }
.logo-plate { display: inline-block; background: #fff; padding: 10px; margin-bottom: 20px; }
.logo-plate img { width: 104px; height: 104px; object-fit: contain; }
.footer-brand p { color: var(--mist); font-size: 0.9375rem; max-width: 34ch; }
.footer-area { color: #fff !important; font-weight: 600; }
.footer-title { font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; font-size: 1.125rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--rule-dark); }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a, .footer-col span { color: var(--mist); font-size: 0.9375rem; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-contact .icon-wa { color: var(--wa); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule-dark); font-size: 0.875rem; color: var(--mist); }
.footer-legal p { margin: 0; }
.footer-legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal a, .footer-legal .link-button { color: var(--mist); font-size: 0.875rem; }
.footer-legal a:hover, .footer-legal .link-button:hover { color: #fff; }

/* ---------- Ações flutuantes ---------- */
.float-actions { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.float-btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px;
  background: var(--ink); color: #fff; border: 0; text-decoration: none;
  font-family: var(--font-sign); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 1.0625rem;
  box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.45);
  transition: background-color 0.18s, color 0.18s, transform 0.25s var(--ease-out);
}
.float-btn::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(255, 255, 255, 0.5); pointer-events: none; }
.float-btn:hover { background: #fff; color: var(--ink); }
.float-btn:hover::after { border-color: rgba(11, 11, 12, 0.45); }
.float-wa { background: var(--ink); }
.float-wa .icon-wa { color: var(--wa); width: 1.5em; height: 1.5em; }
.float-chat { min-height: 44px; font-size: 0.9375rem; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink), 0 10px 28px -12px rgba(0, 0, 0, 0.35); }
.float-chat::after { display: none; }
.float-chat:hover { background: var(--ink); color: #fff; }
.mobile-bar { display: none; }

/* ---------- Chatbot ---------- */
.chatbot {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: min(400px, calc(100vw - 32px)); max-height: min(640px, calc(100vh - 120px));
  display: flex; flex-direction: column; background: #fff; color: var(--ink);
  box-shadow: 0 0 0 2px var(--ink), 0 24px 60px -20px rgba(0, 0, 0, 0.5);
}
.chatbot[hidden] { display: none; }
.chatbot.is-opening { animation: chat-in 0.3s var(--ease-out); }
@keyframes chat-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.chatbot-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--ink); color: #fff; padding: 14px 12px 14px 20px; }
.chatbot-title { margin: 0; font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; font-size: 1.375rem; letter-spacing: 0.02em; }
.chatbot-close { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: #fff; }
.chatbot-close:hover { background: #fff; color: var(--ink); }
.chatbot-body { overflow-y: auto; padding: 18px 20px; flex: 1; overscroll-behavior: contain; }
.chatbot-msg { margin: 0 0 14px; padding: 12px 14px; background: var(--fog); font-size: 0.9375rem; }
.chatbot-msg.is-user { background: var(--ink); color: #fff; margin-left: 32px; font-weight: 600; }
.chatbot-questions { list-style: none; display: grid; gap: 6px; }
.chatbot-questions button {
  width: 100%; text-align: left; background: #fff; border: 0; padding: 11px 12px; font-size: 0.9375rem; font-weight: 600; line-height: 1.35;
  box-shadow: inset 0 0 0 1px var(--rule);
}
.chatbot-questions button:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.chatbot-foot { padding: 14px 16px; border-top: 1px solid var(--rule); }

/* ---------- Aviso de cookies ---------- */
.cookie-banner { position: fixed; left: 20px; bottom: 20px; z-index: 70; width: min(560px, calc(100vw - 40px)); background: var(--ink); color: #fff; padding: 24px; }
.cookie-banner::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255, 255, 255, 0.5); pointer-events: none; }
.cookie-banner[hidden] { display: none; }
.cookie-inner { position: relative; z-index: 1; }
.cookie-inner p { font-size: 0.9375rem; color: #e2e2e6; }
.cookie-inner a { color: #fff; }
.cookie-prefs { display: grid; gap: 10px; margin: 0 0 16px; }
.cookie-prefs[hidden] { display: none; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Páginas comerciais, loja e conteúdo ---------- */
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 24px 0 0; }
.hero-points li { position: relative; padding-left: 22px; font-weight: 600; font-size: 0.98rem; color: #fff; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 12px; height: 2px; background: currentColor; }
.page-hero .lead-form { margin-top: 8px; }
.page-hero .crumbs-light li { color: var(--mist); }
.quote-page { padding-top: clamp(40px, 5vw, 64px); }
.quote-page .form-error { margin: 0 0 16px; }
.quote-page .form-error p { margin: 0; }
.about-logo img { width: 180px; height: 180px; object-fit: contain; }
.product-search { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-bottom: 20px; max-width: 640px; }
.product-search .field { flex: 1; min-width: 220px; }
.product-search .btn { min-height: 50px; }
.filter[aria-current="page"], .filter[aria-current="true"], .filter:hover { background: var(--ink); color: #fff; }
.product-noimg {
  display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; margin-bottom: 16px; background: var(--fog);
  font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.125rem; color: var(--steel);
  box-shadow: inset 0 0 0 1px var(--rule);
}
.product-noimg-lg { font-size: 1.75rem; margin: 0; }
.product-detail .lead { margin-bottom: 16px; }
.price-line { margin: 0 0 6px; }
.buy-form { display: grid; gap: 12px; }
.field-qty { max-width: 140px; }
.spec-title { margin-top: 36px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: 28px; }
.checkout-form { box-shadow: inset 0 0 0 1px var(--rule); }
.checkout-form .form-error p { margin: 0; }
.order-summary .price { font-size: 1.75rem; }
.legal-title { font-size: clamp(2.25rem, 4.5vw, 3.5rem); margin: 24px 0 32px; }
.article-title { font-size: clamp(2.2rem, 4.4vw, 3.75rem); margin: 24px 0 18px; }
.article-lead { margin-bottom: 14px; }
.article-byline { margin: 0 0 32px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 0.9375rem; color: var(--steel); }
.related-list { margin-top: 28px; }
.brand-products-title { margin: 48px 0 28px; }
.region-list-plain span { background: none; }

/* ---------- Animação de entrada (uma só, orquestrada no hero) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .page-home .hero-plate { animation: plate-in 0.7s var(--ease-out) both; }
  .page-home .hero .direction-sign { animation: plate-in 0.7s 0.12s var(--ease-out) both; }
  @keyframes plate-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .nav-link { padding: 0 9px; font-size: 1rem; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  :root { --header-h: 80px; }
  .brand img { width: 72px; height: 72px; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; margin: 0;
    background: #fff; overflow-y: auto; padding: 16px var(--gutter) 120px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.25s var(--ease-out), visibility 0.2s;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--rule); }
  .nav-link { width: 100%; justify-content: space-between; min-height: 56px; font-size: 1.375rem; padding: 0 4px; }
  .nav-panel { position: static; width: auto; visibility: visible; opacity: 1; transform: none; display: none; margin: 0 0 12px; }
  .nav-sub.is-open .nav-panel { display: block; }
  .nav-mobile-actions { display: grid; gap: 10px; margin-top: 24px; }
  .header-cta { display: none; }

  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 24px; min-height: 0; padding-bottom: 48px; }
  .hero .direction-sign { grid-column: 2; margin-bottom: -300px; }
  .curb-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 24px; min-height: 284px; }
  .perimeter-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }

  .split, .feature, .quote-grid, .faq-grid, .page-hero-grid, .contact-grid, .product-detail, .article-layout, .checkout-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-reverse .feature-media { order: 0; }
  .faq-aside, .article-aside { position: static; }
  .ruled-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ruled-grid-4 > div:nth-child(4n + 1) { padding-left: 28px; border-left: 1px solid var(--rule); }
  .ruled-grid-4 > div:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
  .product-grid, .post-list, .gallery-grid, .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band-inner { grid-template-columns: minmax(0, 1fr); }
  .cta-band-actions { flex-direction: row; flex-wrap: wrap; }
  .smart .feature-media img { aspect-ratio: 16 / 10; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .section { padding-block: clamp(56px, 14vw, 80px); }
  .header-inner { gap: 12px; }

  .hero { background: var(--ink); }
  .hero-media { position: relative; inset: auto; height: 46vh; min-height: 260px; max-height: 420px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(4, 6, 12, 0) 55%, rgba(11, 11, 12, 0.9) 100%); }
  .hero-media img { object-position: 64% 50%; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding: 0 var(--gutter) 24px; margin-top: -72px; gap: 16px; }
  .hero-plate { padding: 28px 24px; max-width: none; }
  .hero-plate .actions, .page-hero .actions { flex-direction: column; }
  .hero-plate .btn, .page-hero .btn { width: 100%; }
  .page-hero .lead-form { margin-inline: calc(var(--gutter) * -1 + 8px); }
  .hero .direction-sign { grid-column: 1; margin-bottom: 0; }
  .sign-face { min-height: 0; }
  .curb-inner { grid-template-columns: minmax(0, 1fr); padding-block: 32px; }

  .perimeter-media { position: relative; inset: auto; height: 56vw; min-height: 220px; max-height: 360px; }
  .perimeter-grid { grid-template-columns: minmax(0, 1fr); padding-block: 0 56px; margin-top: -56px; }
  .perimeter-plate { grid-column: 1; padding: 26px 20px; }

  .directory-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 18px 4px; }
  .directory-desc { grid-column: 1; grid-row: 2; font-size: 0.9375rem; }
  .directory-arrow { grid-column: 2; grid-row: 1 / span 2; }

  .route { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .route::before { left: 30px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .route-step, .route-step:nth-child(n) { margin: 0; padding: 0 0 32px 88px; min-height: 96px; }
  .route-step::after, .route-step:nth-child(n)::after { display: none; }
  .route-marker { position: absolute; left: 0; top: 0; }

  .ruled-grid-3, .ruled-grid-4 { grid-template-columns: minmax(0, 1fr); }
  .ruled-grid > div, .ruled-grid > div + div, .ruled-grid-4 > div:nth-child(n), .ruled-grid-3 > div:nth-child(n) { padding: 20px 0; border-left: 0; }
  .ruled-list > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .area-list, .smart-grid { grid-template-columns: minmax(0, 1fr); }
  .sensor-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .sensor-head { display: none; }

  .choice-grid, .choice-grid-3, .field-grid { grid-template-columns: minmax(0, 1fr); }
  .yn-row { grid-template-columns: 1fr 80px 80px; }
  .wizard { padding: 22px 18px; margin-inline: calc(var(--gutter) * -1 + 8px); }
  .wizard-nav { position: sticky; bottom: calc(64px + env(safe-area-inset-bottom)); background: #fff; padding-top: 12px; margin-top: 20px; }
  .wizard-nav .btn { flex: 1; }

  .product-grid, .post-list, .gallery-grid, .quotes { grid-template-columns: minmax(0, 1fr); }
  .contact-lines > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-legal { flex-direction: column; }

  .float-actions { display: none; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: flex;
    padding-bottom: env(safe-area-inset-bottom); background: var(--ink);
    box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, 0.5);
  }
  .mobile-bar a, .mobile-bar button {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 64px;
    border: 0; background: none; color: #fff; text-decoration: none;
    font-family: var(--font-sign); font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; font-size: 1.125rem;
  }
  .mobile-bar > * { flex: 1.25 1 0; }
  .mobile-bar > .mobile-bar-chat { flex: 0.9 1 0; }
  .mobile-bar-quote { background: var(--red) !important; }
  .mobile-bar-wa .icon-wa { color: var(--wa); }
  .mobile-bar-chat { border-left: 1px solid var(--rule-dark) !important; font-size: 1rem !important; }
  .chatbot { right: 8px; left: 8px; bottom: calc(72px + env(safe-area-inset-bottom)); width: auto; max-height: calc(100vh - 160px); }
  .cookie-banner { left: 8px; right: 8px; width: auto; bottom: calc(72px + env(safe-area-inset-bottom)); padding: 20px; }
}

@media print {
  .site-header, .float-actions, .mobile-bar, .chatbot, .cookie-banner, .cta-band { display: none !important; }
}
