:root {
  color-scheme: dark;
  --bg: #101111;
  --panel: #161717;
  --ink: #f8f5ee;
  --muted: #b9b8b2;
  --gold: #efbf61;
  --gold-light: #ffd78a;
  --line: #33302a;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  --body: "Inter", Arial, sans-serif;
  font: 16px/1.6 var(--body);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
::selection { background: var(--gold); color: #13110f; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
svg { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.whatsapp-icon { display: inline-block; width: 1.25em; height: 1.25em; flex: none; background: currentColor; mask: url("assets/whatsapp.png") center / contain no-repeat; }
.symbols { position: absolute; overflow: hidden; width: 0; height: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 5px; }
section[id] { scroll-margin-top: 80px; }
.wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 20; padding: 10px 16px; color: #181411; background: var(--gold); transform: translateY(-160%); }
.skip:focus { transform: none; }

.header { position: sticky; top: 0; z-index: 5; background: #101111; border-bottom: 1px solid #2e2921; }
.header-inner { min-height: 82px; display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: 12px; align-items: center; flex-shrink: 0; }
.brand img { object-fit: contain; }
.brand > span { font: 800 26px/.83 var(--display); letter-spacing: .045em; text-transform: uppercase; }
.brand small { display: block; margin-top: 7px; color: var(--gold); font: 700 9px/1 var(--body); letter-spacing: .34em; }
nav { display: flex; gap: clamp(21px, 3.2vw, 54px); align-items: center; }
nav a { padding-block: 10px; color: #d4d0c6; font-size: .86rem; font-weight: 600; transition: color .18s; }
nav a:hover { color: var(--gold); }
.menu-toggle { display: none; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 19px; border: 1px solid transparent; border-radius: 4px; font-size: .88rem; font-weight: 700; line-height: 1.3; transition: background .18s, border-color .18s, color .18s; }
.button-header { min-height: 42px; color: var(--gold-light); border-color: #83683e; background: #1b1710; }
.button-header:hover, .button-outline:hover { background: #36291a; border-color: #dfb766; }
.button-gold { color: #19140c; border-color: #f8ce7b; background: #efbf61; }
.button-gold:hover { background: #ffdc96; }
.button-outline { color: var(--ink); border-color: #8b8070; background: #181716a8; }
.trailing { margin-left: 9px; }

.hero { position: relative; isolation: isolate; background: #0d0e0e; overflow: hidden; border-bottom: 1px solid #3e3527; }
.hero-media, .hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero-media { left: 18%; background: url("assets/hero-poster.webp") center right/cover; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: center right; display: block; }
.hero-shade { background: linear-gradient(90deg, #0c0d0e 11%, #0c0d0ef5 20%, #0c0d0edc 36%, #0c0d0e78 54%, #0c0d0e18 77%, #0c0d0e2e), linear-gradient(0deg, #0c0d0ed9, transparent 46%); }
.hero-inner { position: relative; min-height: clamp(570px, 48vw, 720px); display: flex; align-items: center; padding-block: 74px 84px; }
.hero-copy { max-width: 770px; }
.label { display: flex; align-items: center; gap: 11px; color: var(--gold-light); font-size: .72rem; line-height: 1.45; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.label::before { content: ""; width: 27px; height: 1px; flex: none; background: #d6a758; }
.label svg { width: 16px; height: 16px; margin-right: -4px; }
h1, h2 { font-family: var(--display); text-transform: uppercase; font-weight: 800; letter-spacing: -.012em; line-height: .92; }
h1 { margin: 21px 0 25px; font-size: clamp(48px, 7.1vw, 112px); }
h2 { margin-top: 13px; font-size: clamp(42px, 5vw, 72px); }
h1 em, h2 em { color: var(--gold); font-style: normal; }
.hero-description { color: #e2ded5; max-width: 405px; font-size: 1.08rem; line-height: 1.68; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.video-toggle { position: absolute; right: 48px; bottom: 29px; display: grid; place-items: center; width: 43px; height: 43px; color: var(--ink); border: 1px solid #bfad8b82; border-radius: 4px; background: #111212b5; }
.video-toggle:hover { border-color: var(--gold); color: var(--gold); }
.benefits { background: #1a1814; border-bottom: 1px solid #342e24; }
.benefits-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.benefits-inner > div { min-height: 98px; display: flex; align-items: center; justify-content: center; gap: 16px; border-inline-start: 1px solid #383228; padding: 16px; }
.benefits-inner > div:last-child { border-inline-end: 1px solid #383228; }
.benefits svg { color: var(--gold); width: 29px; height: 29px; }
.benefits strong, .benefits small { display: block; }
.benefits strong { font-size: .95rem; }
.benefits small { color: var(--muted); font-size: .76rem; margin-top: 2px; }

.section { padding-block: clamp(65px, 7vw, 106px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.section-head > p { max-width: 348px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.service { position: relative; isolation: isolate; min-height: 237px; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(16px, 1.75vw, 26px); background: var(--panel); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; transition: border-color .2s; }
.service:hover, .service:focus-within { border-color: #95703b; }
.service::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(0deg, #151616 1%, #151616cf 44%, #1516164d 100%),
    linear-gradient(90deg, #151616ed 0%, #1516169c 45%, #1516162e 100%),
    var(--service-photo) right 45% / cover no-repeat;
}
.card-feature { grid-column: span 2; }
.card-feature::before {
  background:
    linear-gradient(90deg, #151616fa 10%, #151616e6 37%, #1516164d 82%),
    linear-gradient(0deg, #151616, transparent 60%),
    url("assets/cftv.webp") right 47% / cover;
}
.card-access { --service-photo: url("assets/servico-acesso.webp"); }
.card-tracking { --service-photo: url("assets/servico-rastreamento.webp"); }
.card-alarm { --service-photo: url("assets/servico-alarmes.webp"); }
.card-guard { --service-photo: url("assets/servico-seguranca.webp"); }
.card-maintenance { --service-photo: url("assets/servico-manutencao.webp"); }
.card-cleaning { --service-photo: url("assets/servico-limpeza.webp"); }
.card-icon { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 17px; color: var(--gold); background: #282217; border: 1px solid #453824; border-radius: 4px; }
.card-icon svg { width: 23px; height: 23px; }
.service h3 { margin-bottom: 6px; font-size: 1rem; line-height: 1.3; }
.service p { max-width: 275px; color: var(--muted); font-size: .83rem; line-height: 1.6; }
.card-feature p { max-width: 245px; }
.service a { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 15px; color: var(--gold-light); font-size: .77rem; font-weight: 700; }
.service a:hover { text-decoration: underline; text-underline-offset: 4px; }

.about { background: #191919; border-block: 1px solid #2a2722; }
.about-inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 6.4vw, 96px); align-items: center; }
.about-film {
  display: grid;
  justify-items: center;
  gap: 13px;
  padding: clamp(19px, 3vw, 34px);
  border: 1px solid #5a4830;
  border-radius: 5px;
  background: linear-gradient(120deg, #1d1a15f0, #131313dc), url("assets/central.webp") center / cover;
}
.about-film figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; width: min(100%, 254px); font-size: .82rem; font-weight: 700; }
.about-film figcaption span { color: var(--gold-light); font-size: .7rem; font-weight: 500; }
.film-player { position: relative; width: min(100%, 254px); overflow: hidden; border: 1px solid #746041; border-radius: 5px; background: #101111; box-shadow: 0 16px 30px #0006; }
.film-player video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; }
.film-play { position: absolute; inset: 50% auto auto 50%; display: grid; place-items: center; width: 66px; height: 66px; translate: -50% -50%; color: #19140c; background: var(--gold); border: 1px solid var(--gold-light); border-radius: 50%; box-shadow: 0 2px 20px #0008; }
.film-play:hover { background: var(--gold-light); }
.film-play svg { width: 29px; height: 29px; margin-left: 2px; fill: currentColor; }
.about-action { margin-top: 25px; }
.about-copy > p:not(.label) { margin-top: 21px; color: var(--muted); max-width: 520px; }
.about-list { display: grid; gap: 13px; list-style: none; margin: 24px 0 0; padding: 0; }
.about-list li { display: flex; align-items: center; gap: 10px; color: #e5e1d8; font-size: .89rem; }
.about-list svg { color: var(--gold); }

.contact-inner { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(28px, 8vw, 115px); align-items: start; }
.contact-summary { margin-top: 20px; color: var(--muted); max-width: 380px; }
.contact-links { display: grid; gap: 16px; margin-top: 28px; }
.contact-links a { display: flex; align-items: center; gap: 12px; width: fit-content; font-size: .9rem; font-weight: 600; }
.contact-links a:hover { color: var(--gold-light); }
.contact-links svg, .contact-links .contact-icon { width: 38px; height: 38px; color: var(--gold); border: 1px solid var(--line); border-radius: 4px; }
.contact-links svg { padding: 8px; }
.contact-links .contact-icon { display: grid; place-items: center; }
.contact-links small { display: block; color: var(--muted); font-size: .72rem; font-weight: 400; }
#quote-form { scroll-margin-top: 92px; display: grid; gap: 16px; padding: clamp(20px, 3vw, 40px); background: var(--panel); border: 1px solid #4a3b29; border-radius: 5px; }
#quote-form h3 { font-size: 1.2rem; line-height: 1.3; }
#quote-form p { margin-top: -8px; color: var(--muted); font-size: .85rem; }
#quote-form .button { width: 100%; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.fields label { display: block; font-size: .81rem; font-weight: 600; }
.fields label > span { color: var(--muted); font-weight: 400; }
.full { grid-column: 1 / -1; }
input, select, textarea { width: 100%; margin-top: 5px; padding: 10px 12px; border: 1px solid #3f3c35; border-radius: 4px; background: #101111; color: var(--ink); font-weight: 400; }
input, select { min-height: 44px; }
textarea { display: block; min-height: 86px; resize: vertical; }
select:invalid, ::placeholder { color: #a9a69f; opacity: 1; }
footer { background: #0b0c0c; border-top: 1px solid var(--line); }
.footer-inner { min-height: 118px; padding-right: 34px; display: flex; align-items: center; gap: 20px; justify-content: space-between; }
.footer-inner p { color: var(--muted); text-align: center; font-size: .76rem; }
.social { display: grid; place-items: center; color: var(--gold); width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 4px; }
.social:hover { background: #282217; }
.whatsapp-float {
  position: fixed;
  right: calc(24px + env(safe-area-inset-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 4;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid #47ce83;
  border-radius: 50%;
  background: #117840;
  box-shadow: 0 4px 20px #0007;
  color: #fff;
  transition: background .18s;
}
.whatsapp-float:hover { background: #0b6333; }
.whatsapp-float .whatsapp-icon { width: 32px; height: 32px; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 72px); }
}
@media (max-width: 850px) {
  .wrap { width: calc(100% - 44px); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { align-items: start; flex-direction: column; gap: 16px; }
  .section-head > p { max-width: 440px; }
  .video-toggle { right: 65px; }
  .footer-inner { padding-right: 60px; }
  .hero-media { left: 5%; }
  .hero-shade { background: linear-gradient(90deg, #0c0d0ef2, #0c0d0ecf 29%, #0c0d0e31 83%), linear-gradient(0deg, #0c0d0ecc, transparent 64%); }
}
@media (max-width: 680px) {
  section[id] { scroll-margin-top: 67px; }
  .header-inner { min-height: 67px; flex-wrap: wrap; gap: 0 16px; }
  .brand img { width: 45px; height: 45px; }
  .brand > span { font-size: 23px; }
  .button-header { display: none; }
  .has-js .menu-toggle { display: flex; flex-direction: column; gap: 5px; align-items: center; justify-content: center; width: 43px; height: 43px; background: #171612; border: 1px solid #51422d; border-radius: 4px; color: var(--gold-light); }
  .menu-toggle span { display: block; width: 17px; height: 1.5px; background: currentColor; }
  nav { width: 100%; flex-wrap: wrap; gap: 0 15px; padding-bottom: 6px; }
  .has-js nav { display: none; }
  .has-js nav.is-open { display: flex; flex-direction: column; gap: 0; align-items: stretch; padding-bottom: 10px; }
  .has-js nav a { border-top: 1px solid var(--line); }
  .hero-inner { min-height: 640px; align-items: end; padding-block: 154px 82px; }
  .hero-media { inset: 0; background-position: 58% center; }
  .hero-media video { object-position: 58% center; }
  .hero-shade { background: linear-gradient(0deg, #0c0d0e 0%, #0c0d0ef7 17%, #0c0d0ebd 51%, #0c0d0e21 91%), linear-gradient(90deg, #0c0d0e48, transparent); }
  h1 { font-size: clamp(47px, 10.2vw, 66px); margin-block: 16px 19px; }
  .hero-description { font-size: .95rem; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .button { min-height: 47px; }
  .video-toggle { right: 64px; bottom: 20px; }
  .whatsapp-float {
    right: calc(16px + env(safe-area-inset-right, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 54px;
    height: 54px;
  }
  .whatsapp-float .whatsapp-icon { width: 29px; height: 29px; }
  .benefits-inner { grid-template-columns: 1fr; }
  .benefits-inner > div, .benefits-inner > div:last-child { justify-content: flex-start; min-height: 62px; border: 0; padding: 10px 2px; }
  .benefits-inner > div + div { border-top: 1px solid #383228; }
  .benefits svg { width: 23px; height: 23px; }
  .benefits small { margin-top: 0; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { min-height: 100px; flex-wrap: wrap; gap: 17px; padding-block: 20px; }
  .footer-inner p { order: 1; text-align: left; flex-basis: 100%; }
}
@media (max-width: 410px) {
  .wrap { width: calc(100% - 32px); }
  .hero-inner { min-height: 615px; }
  .hero-actions .button { padding-inline: 11px; font-size: .75rem; }
  .hero-actions .trailing { display: none; }
  .service { min-height: 238px; }
  .card-feature { min-height: 210px; }
  .fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
