/* ==========================================================
   Alerta Serviços — Segurança Eletrônica
   Folha de estilos do site (substitui o template Securix)
   ========================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable.woff2") format("woff2-variations"),
       url("../fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Cores */
  --ink: #0f1b2d;          /* azul-grafite da central */
  --ink-2: #18263b;
  --ink-3: #24354f;
  --paper: #ffffff;
  --mist: #f1f3f6;
  --line: #dde2e9;
  --line-dark: rgba(255, 255, 255, .12);
  --text: #1b2432;
  --muted: #5b6676;
  --muted-dark: #a8b3c3;
  --brand: #c8461e;        /* laranja do logotipo, ajustado para contraste */
  --brand-hover: #a93a17;
  --brand-light: #f07a4e;  /* versão para fundo escuro */
  --live: #34c77b;
  --rec: #ef3b2d;

  /* Tipografia */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --fs-2xl: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem);
  --fs-3xl: clamp(2.25rem, 1.5rem + 2.8vw, 3.5rem);

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 7.5rem);
  --radius-sm: 4px;
  --radius: 10px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  font-stretch: 112%;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-3xl); line-height: 1.04; letter-spacing: -.025em; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); font-stretch: 105%; letter-spacing: -.005em; }

:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 3px; border-radius: 2px; }

.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-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: #dfe5ee; }
.section--ink h2, .section--ink h3 { color: #fff; }

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head p { color: var(--muted); font-size: var(--fs-lg); line-height: 1.55; margin: 1rem 0 0; }
.section--ink .section-head p { color: var(--muted-dark); }
.kicker {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand);
  margin-bottom: .875rem;
}
.section--ink .kicker { color: var(--brand-light); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: .8rem 1.4rem;
  font: 600 var(--fs-sm)/1.2 var(--font);
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-hover); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--ink); }
.btn--block { width: 100%; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(10px); }
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }
.brand { flex: none; display: block; line-height: 0; }
.brand img { height: 56px; width: auto; }

.menu { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  position: relative;
  text-decoration: none; font-size: var(--fs-sm); font-weight: 500; color: var(--text);
  padding: .5rem .8rem; border-radius: var(--radius-sm);
}
.nav a:hover { color: var(--brand); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .15rem;
  height: 2px; background: var(--brand);
}
.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: .5rem;
  text-decoration: none; font-weight: 600; font-size: var(--fs-sm); color: var(--ink);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; color: var(--brand); }
.header-actions .btn { min-height: 44px; padding: .6rem 1.1rem; }

.menu-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; cursor: pointer; align-items: center; justify-content: center; color: var(--ink);
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .i-close, .menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 1020px) {
  .header-phone span { display: none; }
}
@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .brand img { height: 44px; }
  .menu-toggle { display: inline-flex; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 1.25rem;
    background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.5rem;
    box-shadow: 0 24px 40px -24px rgba(15,27,45,.35);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-header.is-open .menu { display: flex; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: .95rem 0; font-size: var(--fs-base); border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--brand); }
  .header-actions { flex-direction: column; align-items: stretch; gap: 1rem; }
  .header-phone { justify-content: center; padding: .5rem 0; }
  .header-phone span { display: inline; }
  .header-actions .btn { min-height: 50px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: #dfe5ee;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}
.hero::before { /* grade sutil de fundo, como a de um monitor */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { color: #fff; }
.hero-lead { font-size: var(--fs-lg); line-height: 1.55; color: var(--muted-dark); max-width: 34em; margin: 1.5rem 0 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.status {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: var(--fs-sm); font-weight: 600; color: #fff;
  margin-bottom: 1.5rem;
}
.status-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--live); }
.status-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--live); opacity: 0; animation: ping 2.4s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* Painel de câmeras (multiview de DVR) */
.monitor {
  background: #060c16;
  border: 1px solid var(--ink-3);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
}
.monitor-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 2px 4px 10px;
  font-size: var(--fs-xs); font-weight: 600; font-stretch: 85%;
  letter-spacing: .02em; color: #c3ccd9; font-variant-numeric: tabular-nums;
}
.monitor-bar .rec { display: inline-flex; align-items: center; gap: .45rem; color: #fff; }
.monitor-bar .rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rec); animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.feeds { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.feed { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0b1424; border-radius: 3px; }
.feed-img {
  position: absolute; inset: 0;
  background: #0b1424 center / cover no-repeat;
  filter: saturate(.9) contrast(1.04);
}
/* Imagens de dia (padrão) e de noite (classe is-night no <html>, definida pelo horário) */
.feed-img--entrada      { background-image: url("../img/site/feed-entrada.webp"); }
.feed-img--recepcao     { background-image: url("../img/site/feed-recepcao.webp"); }
.feed-img--corredor     { background-image: url("../img/site/feed-corredor.webp"); }
.feed-img--almoxarifado { background-image: url("../img/site/feed-almoxarifado.webp"); }
.is-night .feed-img--entrada      { background-image: url("../img/site/feed-entrada-noite.webp"); }
.is-night .feed-img--recepcao     { background-image: url("../img/site/feed-recepcao-noite.webp"); }
.is-night .feed-img--corredor     { background-image: url("../img/site/feed-corredor-noite.webp"); }
.is-night .feed-img--almoxarifado { background-image: url("../img/site/feed-almoxarifado-noite.webp"); }
.feed::after { /* sinal "conectando" ao carregar a página */
  content: ""; position: absolute; inset: 0; z-index: 3; background: #0b1424;
  animation: signal .5s ease-out forwards; animation-delay: var(--d, .2s);
}
@keyframes signal { to { opacity: 0; visibility: hidden; } }
.feed::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 45%; z-index: 1; pointer-events: none;
  background: linear-gradient(rgba(4,9,18,.6), transparent);
}
.feed-label {
  position: absolute; left: 8px; top: 7px; z-index: 2;
  font-size: 11px; font-weight: 650; font-stretch: 80%; letter-spacing: .04em;
  color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.8);
}
.feed:nth-child(1) { --d: .25s; }
.feed:nth-child(2) { --d: .45s; }
.feed:nth-child(3) { --d: .65s; }
.feed:nth-child(4) { --d: .85s; }

@media (max-width: 520px) { .hero-actions .btn { flex: 1 1 100%; } }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero::before { mask-image: none; -webkit-mask-image: none; opacity: .6; }
}

/* ---------- Faixa de confiança ---------- */
.trust { border-bottom: 1px solid var(--line); }
.trust .wrap {
  display: grid; grid-template-columns: repeat(2, auto); align-items: center; justify-content: space-between;
  gap: 1.25rem 2.5rem; padding-top: 1.75rem; padding-bottom: 1.75rem;
}
@media (max-width: 760px) { .trust .wrap { grid-template-columns: 1fr; } }
.trust-item { display: flex; align-items: center; gap: .75rem; font-size: var(--fs-sm); color: var(--muted); }
.trust-item strong { color: var(--ink); font-weight: 650; }
.trust-item svg { width: 22px; height: 22px; color: var(--brand); flex: none; }

/* ---------- Serviços (grade) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.75rem 2rem; }
.service-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.service-card figure { margin: 0 0 1.25rem; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); background: var(--mist); }
.service-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover figure img { transform: scale(1.035); }
.service-card h3 { margin-bottom: .5rem; }
.service-card p { color: var(--muted); margin: 0 0 1rem; }
.link-more {
  margin-top: auto; display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: var(--fs-sm); color: var(--brand); text-decoration: none;
}
.link-more svg { width: 16px; height: 16px; transition: transform .18s ease; }
.service-card:hover .link-more svg, .link-more:hover svg { transform: translateX(3px); }
.service-card:hover h3 { color: var(--brand); }
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Central de monitoramento ---------- */
.central { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.central-photo { position: relative; border-radius: var(--radius); overflow: hidden; }
.central-photo img { width: 100%; aspect-ratio: 382 / 444; object-fit: cover; }
.flow { list-style: none; margin: 2.25rem 0 0; padding: 0; counter-reset: flow; }
.flow li {
  position: relative; counter-increment: flow;
  padding: 0 0 1.75rem 3.75rem;
}
.flow li:last-child { padding-bottom: 0; }
.flow li::before {
  content: counter(flow);
  position: absolute; left: 0; top: -.15rem;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--brand-light); color: #fff;
  font-weight: 700; font-size: var(--fs-sm);
  background: var(--ink);
}
.flow li:not(:last-child)::after {
  content: ""; position: absolute; left: calc(1.25rem - .75px); top: 2.5rem; bottom: .1rem;
  width: 1.5px; background: var(--ink-3);
}
.flow h3 { font-size: var(--fs-base); font-stretch: 100%; margin-bottom: .3rem; }
.flow p { margin: 0; color: var(--muted-dark); }
@media (max-width: 900px) {
  .central { grid-template-columns: 1fr; }
  .central-photo { max-width: 460px; }
}

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); }
.about-text p { color: var(--muted); font-size: var(--fs-lg); line-height: 1.6; }
.about-points { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.about-points li { display: grid; grid-template-columns: 2.25rem 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.about-points svg { width: 26px; height: 26px; color: var(--brand); margin-top: .1rem; }
.about-points h3 { font-size: var(--fs-base); font-stretch: 100%; margin-bottom: .25rem; }
.about-points p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* ---------- Dúvidas (FAQ) ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.faq .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0; font-weight: 600; font-size: var(--fs-lg); color: var(--ink);
  font-stretch: 103%;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--brand); }
.faq-list .plus { position: relative; flex: none; width: 18px; height: 18px; }
.faq-list .plus::before, .faq-list .plus::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px;
  background: currentColor; transition: transform .2s ease;
}
.faq-list .plus::after { transform: rotate(90deg); }
.faq-list details[open] .plus::after { transform: rotate(0deg); }
.faq-list details p { margin: 0; padding: 0 2.5rem 1.5rem 0; color: var(--muted); max-width: 62ch; }
@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; }
  .faq .section-head { position: static; }
}

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; align-items: start; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-icon { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; background: #fbeee9; color: var(--brand); }
.contact-icon svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: var(--fs-xs); color: var(--muted); margin-bottom: .1rem; }
.contact-list a, .contact-list span { font-weight: 600; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.contact-list a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); }
.section--mist .form-card { border-color: transparent; }
.form-card h3 { font-size: var(--fs-xl); margin-bottom: .5rem; }
.form-card > p { color: var(--muted); margin-bottom: 1.75rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: .8rem .9rem; min-height: 50px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6676' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px; padding-right: 2.5rem;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9c2ce; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(200,70,30,.15); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .5rem; }
.form-foot small { color: var(--muted); font-size: var(--fs-xs); flex: 1 1 220px; }
.form-status { grid-column: 1 / -1; margin: 0; padding: .9rem 1rem; border-radius: var(--radius-sm); font-size: var(--fs-sm); font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status.is-ok { background: #e7f6ee; color: #14613a; }
.form-status.is-error { background: #fdecea; color: #962216; }
.hp { position: absolute !important; left: -9999px !important; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Chamada (CTA) ---------- */
.cta-band { background: var(--brand); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-top: clamp(2.75rem, 6vw, 4rem); padding-bottom: clamp(2.75rem, 6vw, 4rem); }
.cta-band h2 { color: #fff; font-size: var(--fs-xl); max-width: 22em; }
.cta-band p { margin: .5rem 0 0; color: rgba(255,255,255,.85); }
.cta-band .btn--light { background: #fff; color: var(--ink); }
.cta-band .btn--light:hover { background: var(--ink); color: #fff; }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.12); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Cabeçalho de página interna ---------- */
.page-hero { background: var(--ink); color: #dfe5ee; padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; font-size: var(--fs-2xl); max-width: 18em; }
.page-hero p { color: var(--muted-dark); font-size: var(--fs-lg); max-width: 36em; margin: 1.1rem 0 0; }
.crumbs { display: flex; gap: .5rem; font-size: var(--fs-sm); color: var(--muted-dark); margin-bottom: 1.25rem; list-style: none; padding: 0; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }

/* ---------- Página de serviços ---------- */
.service-index { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; list-style: none; padding: 0; }
.service-index a {
  display: inline-block; padding: .5rem .9rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
  font-size: var(--fs-sm); color: #fff; text-decoration: none;
}
.service-index a:hover { border-color: #fff; }
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; padding: clamp(3rem, 6vw, 4.5rem) 0; border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-row:nth-child(even) .service-media { order: 2; }
.service-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-body h2 { font-size: var(--fs-xl); margin-bottom: 1rem; }
.service-body > p { color: var(--muted); font-size: 1.0625rem; }
.checks { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 1.9rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8461e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
}
@media (max-width: 860px) {
  .service-row { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-media { order: 0; }
}

/* ---------- Mapa ---------- */
.map { line-height: 0; background: var(--mist); }
.map iframe { width: 100%; height: clamp(320px, 45vw, 460px); border: 0; filter: grayscale(.25); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-top: clamp(3.5rem, 7vw, 5rem); padding-bottom: 3rem; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 30ch; }
.site-footer h3 { color: #fff; font-size: var(--fs-sm); font-stretch: 100%; letter-spacing: 0; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer a { color: var(--muted-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: grid; grid-template-columns: 20px 1fr; gap: .7rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--brand-light); margin-top: .15rem; }
.footer-bottom { border-top: 1px solid var(--line-dark); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-top: 1.5rem; padding-bottom: 1.5rem; font-size: var(--fs-xs); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 24px -8px rgba(15,27,45,.5);
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Página 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; font-stretch: 125%; color: var(--brand); line-height: 1; margin-bottom: 1rem; }
.notfound p { color: var(--muted); max-width: 36ch; margin: 1rem auto 2rem; }
.notfound .actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .feed::after { animation-delay: 0s !important; }
}
