/* ==========================================================================
   M.A INSTALAÇÕES — Elétrica e Hidráulica
   Design System "Industrial Premium"
   ========================================================================== */

/* ---------- 0. Fonte (self-hosted: elimina 2 conexões externas) ---------- */
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("../fonts/raleway-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("../fonts/raleway-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;
}

/* ---------- 1. Tokens ---------- */
:root {
  /* Superfícies */
  --bg: #0a0a0a;
  --surface: #121212;
  --card: #161616;
  --card-2: #1c1c1c;
  --border: #262626;
  --border-strong: #3a3a3a;

  /* Marca */
  --yellow: #ffd100;
  --yellow-dim: #e6bc00;
  --yellow-soft: rgba(255, 209, 0, 0.12);
  --silver: #c0c0c0;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;

  /* Texto */
  --text: #ffffff;
  --text-2: #b5b5b5;
  --text-3: #7d7d7d;

  /* Tipografia */
  --font: "Raleway", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Espaçamento */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 120px;

  /* Formas */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-full: 999px;

  /* Efeitos */
  --glow: 0 0 24px rgba(255, 209, 0, 0.22);
  --glow-strong: 0 0 34px rgba(255, 209, 0, 0.38);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.55);

  /* Layout */
  --wrap: 1200px;
  --header-h: 72px;
  --topbar-h: 36px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset ---------- */
*,
*::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;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, picture, svg, video { display: block; max-width: 100%; }

/* ---------- Ícones ----------
   Traço: Lucide (ISC) · Marcas: Simple Icons (CC0).
   A cor vem de `color` porque os symbols usam currentColor.
   fill/stroke ficam nos próprios <symbol>, não aqui. */
svg { flex: none; }

img { height: auto; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  /* palavras longas (INSTALAÇÃO, HIDRÁULICA) nunca estouram o container */
  overflow-wrap: break-word;
  word-break: break-word;
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

figure { margin: 0; }

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--yellow); color: #000; }

/* ---------- 3. Utilitários ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding-block: var(--space-9); position: relative; }
.section--tight { padding-block: var(--space-8); }
.section--alt { background: var(--surface); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--yellow);
  color: #000;
  padding: 12px 20px;
  font-weight: 800;
}
.skip-link:focus { left: 12px; top: 12px; }

.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;
}

/* Eyebrow / chip */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-full);
  background: rgba(255, 209, 0, 0.06);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 10px var(--yellow);
}

/* Título de seção */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
  margin-bottom: var(--space-8);
}
.section-head--left {
  align-items: flex-start;
  text-align: left;
}
.section-title {
  font-size: clamp(30px, 4.6vw, 44px);
}
.section-title em {
  font-style: normal;
  color: var(--yellow);
}
.section-sub {
  max-width: 62ch;
  color: var(--text-2);
  font-size: 17px;
}

/* Divisor com raio */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 340px;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  box-shadow: 0 0 6px rgba(255, 209, 0, 0.6);
}
.divider svg { width: 18px; height: 18px; color: var(--yellow); flex: none; }

/* ---------- 4. Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: none;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), box-shadow .22s var(--ease),
              transform .12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 19px; height: 19px; flex: none; }

.btn--primary {
  background: var(--yellow);
  color: #0a0a0a;
}
.btn--primary:hover {
  background: var(--yellow-dim);
  box-shadow: var(--glow);
}

.btn--ghost {
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  box-shadow: var(--glow);
}

.btn--wa {
  background: var(--whatsapp);
  color: #fff;
}
.btn--wa:hover {
  background: var(--whatsapp-dark);
  box-shadow: 0 0 24px rgba(37, 211, 102, 0.35);
}

.btn--dark {
  background: #0a0a0a;
  color: var(--yellow);
}
.btn--dark:hover { background: #1a1a1a; }

.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 13px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .22s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 5. Topbar ---------- */
.topbar {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  background: #060606;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-3);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar__list { display: flex; gap: 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar__item svg { width: 14px; height: 14px; color: var(--yellow); }
.topbar__emergency { color: var(--text); font-weight: 700; }
.topbar__emergency strong { color: var(--yellow); }
@media (max-width: 900px) { .topbar { display: none; } }

/* ---------- 6. Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .28s var(--ease), border-color .28s var(--ease),
              backdrop-filter .28s var(--ease);
}
.header.is-stuck {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--border);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.brand__name span { color: var(--yellow); }
.brand__tag {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-3);
}

.nav { display: flex; align-items: center; gap: 24px; }
.nav a {
  position: relative;
  padding-block: 6px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-2);
  transition: color .2s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: none;
  cursor: pointer;
}
.burger svg { width: 22px; height: 22px; color: var(--text); }

@media (max-width: 1140px) {
  .nav, .header__actions .btn--ghost { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 860px) {
  .header__actions .btn { display: none; }
  .brand__tag { display: none; }
}

/* Menu mobile */
.menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  background: #0a0a0a;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .34s var(--ease), visibility .34s;
}
.menu.is-open { transform: none; visibility: visible; }
.menu__top {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 20px;
  border-bottom: 1px solid var(--border);
}
.menu__close {
  width: 46px; height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: none;
  cursor: pointer;
}
.menu__close svg { width: 22px; height: 22px; color: var(--text); }
.menu__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-6) 20px;
  overflow-y: auto;
}
.menu__nav a {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.menu__nav a:hover { color: var(--yellow); }
.menu__foot {
  display: grid;
  gap: 10px;
  padding: 20px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(40px, 5.5vw, 76px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
  filter: saturate(0.62) brightness(0.52) contrast(1.06);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, #0a0a0a 2%, rgba(10,10,10,.94) 34%, rgba(10,10,10,.55) 72%, rgba(10,10,10,.8) 100%),
    radial-gradient(70% 90% at 88% 6%, rgba(255,209,0,.16), transparent 62%);
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}
.hero__title {
  margin-top: var(--space-4);
  font-size: clamp(31px, 3.9vw, 50px);
  text-wrap: balance;
}
.hero__title em { font-style: normal; color: var(--yellow); }
.hero__lead {
  margin-top: var(--space-4);
  padding-left: 16px;
  border-left: 2px solid var(--yellow);
  max-width: 46ch;
  color: var(--text-2);
  font-size: clamp(15.5px, 1.4vw, 17px);
  line-height: 1.7;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-5);
}
.hero__trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: #d2d2d2;
  line-height: 1.3;
}
.hero__trust svg { width: 17px; height: 17px; color: var(--yellow); }

/* Card de orçamento no hero — captura acima da dobra */
.hero__form {
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  background: rgba(17, 17, 17, 0.93);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: 0 26px 60px rgba(0,0,0,.62), 0 0 0 1px rgba(255,209,0,.09);
}
.hero__form-head { margin-bottom: var(--space-5); }
.hero__form-head h2 {
  font-size: clamp(19px, 1.7vw, 23px);
  letter-spacing: -0.01em;
}
.hero__form-head h2 em { font-style: normal; color: var(--yellow); }
.hero__form-head p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.5;
}
.hero__form .field label { font-size: 10.5px; }
.hero__form .field input,
.hero__form .field select { min-height: 50px; }
.hero__form .btn { margin-top: 4px; }
.hero__form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
  color: var(--text-3);
  font-size: 11.5px;
  text-align: center;
}
.hero__form-note svg { width: 14px; height: 14px; color: var(--yellow); }

@media (max-width: 1040px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__form { max-width: 560px; }
  .hero__bg img { object-position: 55% 35%; }
}
@media (max-width: 620px) {
  /* Hero mais compacto: o formulário precisa chegar rápido no polegar */
  .hero { padding-block: 28px 34px; }
  .hero__title { margin-top: 12px; }
  .hero__lead { margin-top: 14px; font-size: 15px; line-height: 1.6; }
  .hero__cta { margin-top: 18px; gap: 10px; }
  .hero__cta .btn { width: 100%; }
  .hero__trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    margin-top: 18px;
    padding-top: 18px;
  }
  .hero__trust li { font-size: 10.5px; letter-spacing: .03em; align-items: flex-start; }
  .hero__trust svg { width: 15px; height: 15px; margin-top: 1px; }
  .hero__form { padding: 20px 18px; }
  .hero__form-head { margin-bottom: 18px; }
}

/* ---------- 8. Faixa de emergência ---------- */
.emergency {
  background: var(--yellow);
  color: #0a0a0a;
  padding-block: 22px;
}
.emergency .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.emergency__text { display: flex; align-items: center; gap: 16px; }
.emergency__text > svg { width: 34px; height: 34px; color: #0a0a0a; flex: none; }
.emergency__text p:first-child {
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 700;
  line-height: 1.2;
}
.emergency__text p:last-child {
  font-size: clamp(17px, 2.4vw, 23px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.15;
}
@media (max-width: 640px) {
  .emergency .wrap { flex-direction: column; align-items: stretch; }
  .emergency .btn { width: 100%; }
}

/* ---------- 9. Serviços ---------- */
.grid-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--card);
  transition: border-color .26s var(--ease), box-shadow .26s var(--ease),
              transform .26s var(--ease), background .26s var(--ease);
}
.card:hover {
  border-color: var(--yellow);
  background: var(--card-2);
  box-shadow: var(--glow);
  transform: translateY(-4px);
}
.card__ico {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 209, 0, 0.28);
  border-radius: var(--r-md);
  background: var(--yellow-soft);
}
.card__ico svg { width: 25px; height: 25px; color: var(--yellow); }
.card h3 { font-size: 19px; letter-spacing: -0.01em; }
.card p { color: var(--text-2); font-size: 15.5px; line-height: 1.6; }
.card .link-arrow { margin-top: auto; padding-top: 6px; }

@media (max-width: 900px) { .grid-services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .grid-services { grid-template-columns: 1fr; }
  .card { padding: 24px 20px; }
}

/* ---------- 10. Destaque (quadros de comando) ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split__media { position: relative; }
.split__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.split__media::before {
  content: "";
  position: absolute;
  top: -14px; left: -14px;
  width: 84px; height: 84px;
  border-top: 3px solid var(--yellow);
  border-left: 3px solid var(--yellow);
  border-top-left-radius: var(--r-lg);
}
.split__media::after {
  content: "";
  position: absolute;
  bottom: -14px; right: -14px;
  width: 84px; height: 84px;
  border-bottom: 3px solid var(--yellow);
  border-right: 3px solid var(--yellow);
  border-bottom-right-radius: var(--r-lg);
}
.checklist { display: grid; gap: 14px; margin-top: var(--space-5); }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-2);
  font-size: 16px;
}
.checklist svg { width: 21px; height: 21px; color: var(--yellow); flex: none; margin-top: 2px; }
.checklist strong { color: var(--text); font-weight: 700; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
}

/* ---------- 11. Processo ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--yellow), rgba(255,209,0,.25));
}
.step { position: relative; text-align: center; }
.step__num {
  position: relative;
  z-index: 1;
  width: 56px; height: 56px;
  margin: 0 auto var(--space-4);
  display: grid;
  place-items: center;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  background: var(--bg);
  color: var(--yellow);
  font-size: 17px;
  font-weight: 900;
}
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .steps::before { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--yellow), rgba(255,209,0,.25)); }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; text-align: left; }
  .step__num { margin: 0; }
}

/* ---------- 12. Diferenciais ---------- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.tile {
  padding: 28px 22px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--yellow);
  border-radius: var(--r-md);
  background: var(--card);
}
.tile svg { width: 26px; height: 26px; color: var(--yellow); margin-bottom: 14px; }
.tile h3 { font-size: 15.5px; margin-bottom: 8px; }
.tile p { color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }

/* ---------- 13. Galeria ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: var(--space-6);
}
.filter {
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-full);
  background: none;
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .22s var(--ease);
}
.filter:hover { border-color: var(--yellow); color: var(--text); }
.filter.is-active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #0a0a0a;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.shot {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--card);
  cursor: zoom-in;
}
.shot img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .55s var(--ease), filter .35s var(--ease);
  filter: saturate(0.85) brightness(0.9);
}
.shot:hover img { transform: scale(1.06); filter: saturate(1) brightness(1); }
.shot figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.9));
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.shot figcaption span { display: block; color: var(--yellow); font-size: 10px; letter-spacing: 0.14em; margin-bottom: 3px; }
.shot[hidden] { display: none; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(1000px, 92vw);
  max-height: 84vh;
  width: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--border-strong);
}
.lightbox__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: rgba(20,20,20,.8);
  cursor: pointer;
}
.lightbox__close svg { width: 22px; height: 22px; color: #fff; }

/* ---------- 14. Área atendida ---------- */
.areas { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.areas__map {
  position: relative;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 50% 45%, rgba(255,209,0,.1), transparent 62%),
    var(--card);
}
.areas__map svg { width: 100%; height: auto; }
.areas__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin-top: var(--space-5);
}
.areas__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 8px;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  font-size: 15px;
}
.areas__list svg { width: 15px; height: 15px; color: var(--yellow); flex: none; }
@media (max-width: 900px) {
  .areas { grid-template-columns: 1fr; }
  .areas__map { display: none; }
}

/* ---------- 15. Formulário ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__info { display: grid; gap: var(--space-5); }
.contact__rows { display: grid; gap: 4px; margin-top: var(--space-2); }
.contact__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact__row .ico {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: var(--card);
  flex: none;
}
.contact__row .ico svg { width: 19px; height: 19px; color: var(--yellow); }
.contact__row small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 2px;
}
.contact__row strong { font-size: 16.5px; font-weight: 700; }
.contact__row a:hover { color: var(--yellow); }

.form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 3.4vw, 38px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow);
}
.form-campos { display: grid; gap: 14px; }
.field { display: grid; gap: 8px; }
.field label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: #101010;
  color: var(--text);
  font-size: 16px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 108px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffd100'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 22px;
  padding-right: 46px;
}
.field input::placeholder,
.field textarea::placeholder { color: #5c5c5c; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 1px var(--yellow), 0 0 14px rgba(255,209,0,.18);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-3);
  font-size: 12.5px;
  text-align: center;
}
.form__note svg { width: 15px; height: 15px; color: var(--yellow); flex: none; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- 16. FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--card);
  transition: border-color .22s var(--ease);
}
.faq details[open] { border-color: rgba(255, 209, 0, 0.45); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 16.5px;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 22px; height: 22px;
  flex: none;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffd100'%3E%3Cpath d='M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .26s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .faq__body { padding: 0 22px 22px; color: var(--text-2); font-size: 15.5px; line-height: 1.7; }

/* ---------- 17. CTA final ---------- */
.cta-final {
  position: relative;
  padding-block: clamp(56px, 8vw, 96px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 209, 0, 0.16), transparent 58%),
    var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-final h2 { font-size: clamp(28px, 5vw, 50px); }
.cta-final h2 em { font-style: normal; color: var(--yellow); }
.cta-final p { max-width: 56ch; margin: var(--space-5) auto 0; color: var(--text-2); }
.cta-final .hero__cta { justify-content: center; }

/* ---------- 18. Rodapé ---------- */
.footer {
  border-top: 2px solid var(--yellow);
  background: #060606;
  padding-block: var(--space-8) 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer h4 {
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--yellow);
}
.footer li { margin-bottom: 10px; }
.footer a, .footer p { color: var(--text-2); font-size: 14.5px; }
.footer a:hover { color: var(--yellow); }
.footer__brand img { width: 150px; height: auto; margin-bottom: 18px; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  transition: all .22s var(--ease);
}
.footer__social svg { width: 18px; height: 18px; color: var(--text-2); transition: color .22s var(--ease); }
.footer__social a:hover { border-color: var(--yellow); background: var(--yellow-soft); }
.footer__social a:hover svg { color: var(--yellow); }
.footer__bottom {
  margin-top: var(--space-8);
  padding-block: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-3);
  font-size: 12.5px;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .footer { padding-bottom: 76px; } }

/* ---------- 19. Ações fixas ---------- */
.fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 0 0 rgba(37,211,102,.55);
  animation: pulse 2.6s infinite;
}
.fab svg { width: 30px; height: 30px; color: #fff; }
@keyframes pulse {
  0%   { box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 0 0 rgba(37,211,102,0); }
}

.actionbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: none;
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom);
  background: #0a0a0a;
}
.actionbar a {
  flex: 1;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.actionbar svg { width: 20px; height: 20px; }
.actionbar__wa { background: var(--whatsapp); color: #fff; }
.actionbar__wa svg { color: #fff; }
.actionbar__call { background: var(--yellow); color: #0a0a0a; }
.actionbar__call svg { color: #0a0a0a; }
@media (max-width: 860px) {
  .actionbar { display: flex; }
  .fab { display: none; }
}

/* ---------- 20. Animação de entrada ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 21. Páginas internas ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 12% 0%, rgba(255,209,0,.1), transparent 55%),
    var(--surface);
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-5);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.crumbs a:hover { color: var(--yellow); }
.page-hero h1 { font-size: clamp(30px, 5vw, 52px); max-width: 20ch; }
.page-hero h1 em { font-style: normal; color: var(--yellow); }
.page-hero p { margin-top: var(--space-5); max-width: 60ch; color: var(--text-2); }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: var(--space-4); }
.prose h3 { font-size: 19px; margin: var(--space-6) 0 var(--space-3); }
.prose p { color: var(--text-2); margin-bottom: var(--space-4); }
