/* LH Sistemas de Segurança — estilos
   Compatível com Chrome, Edge, Firefox, Safari (macOS/iOS), Samsung Internet e Opera atuais.
   Sem frameworks e sem fontes externas: carregamento rápido (Core Web Vitals). */

:root {
  --navy-900: #0b1b2e;
  --navy-800: #12283f;
  --navy-700: #1b3756;
  --amber: #f5a623;
  --amber-dark: #c77d00;
  --wa: #1fa855;
  --wa-dark: #178a45;
  --ink: #142233;
  --muted: #4d5d70;
  --line: #dfe5ec;
  --bg: #ffffff;
  --bg-alt: #f3f6f9;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 27, 46, .06), 0 8px 24px rgba(11, 27, 46, .08);
  --wrap: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--amber-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy-900); letter-spacing: -.01em; }
h1 { font-size: 2rem; font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3rem); }
h2 { font-size: 1.6rem; font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--amber); color: var(--navy-900); padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.ico { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55em; padding: .8em 1.3em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; line-height: 1.2; cursor: pointer;
  -webkit-transition: background-color .2s, color .2s, border-color .2s, -webkit-transform .2s;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { -webkit-transform: translateY(-1px); transform: translateY(-1px); }
.btn-lg { font-size: 1.05rem; padding: .95em 1.5em; }
.btn-sm { font-size: .95rem; padding: .55em 1em; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-700); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- cabeçalho ---------- */
.site-header {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}
@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
  .site-header { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-900); font-weight: 800; font-size: 1.15rem; line-height: 1.05; }
.brand img { height: 44px; width: auto; }
.brand small { display: block; font-weight: 600; font-size: .8rem; color: var(--muted); letter-spacing: .02em; }

.menu-btn {
  display: none; align-items: center; gap: 6px;
  background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px;
  font: inherit; font-weight: 600; color: var(--navy-900); cursor: pointer;
}
.nav { display: flex; align-items: center; gap: 18px; }
.nav ul { display: flex; list-style: none; gap: 4px; }
.nav ul a {
  display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none;
  color: var(--ink); font-weight: 600; font-size: .95rem; white-space: nowrap;
}
.nav ul a:hover { background: var(--bg-alt); color: var(--navy-900); }
.nav ul a[aria-current="page"] { color: var(--navy-900); box-shadow: inset 0 -3px 0 var(--amber); border-radius: 8px 8px 0 0; }

@media (max-width: 1020px) {
  .js .menu-btn { display: inline-flex; }
  .nav { flex-wrap: wrap; }
  .js .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 12px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px; box-shadow: var(--shadow);
  }
  .js .nav.is-open { display: flex; }
  .js .nav ul { flex-direction: column; }
  .js .nav ul a { padding: 12px 10px; font-size: 1.05rem; }
  .js .nav ul a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--amber); border-radius: 0 8px 8px 0; }
  .header-inner { position: relative; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding: 10px 0; }
  html:not(.js) .nav ul { flex-wrap: wrap; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; color: #e8eef5; overflow: hidden;
  background-color: var(--navy-900);
  background-image:
    radial-gradient(ellipse at 85% 10%, rgba(245, 166, 35, .22), transparent 55%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: linear-gradient(rgba(255,255,255,1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 44px 44px;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 22ch; }
.hero-home { padding: 72px 0 80px; }
.hero-service { padding: 40px 0 64px; }
.hero-service h1 { max-width: 28ch; }
.hero .lead { font-size: 1.15rem; max-width: 60ch; color: #cfd9e5; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--amber); margin-bottom: 1em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }
.hero-note { font-size: .95rem; color: #b8c6d6; margin: 0; }
.hero-note strong { color: #fff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-badges { list-style: none; display: grid; gap: 12px; }
.hero-badges li {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-weight: 600;
}
.hero-badges .ico { color: var(--amber); width: 1.5em; height: 1.5em; }
.hero-icon {
  width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: rgba(245, 166, 35, .15); color: var(--amber); margin-bottom: 18px;
}
.hero-icon .ico { width: 30px; height: 30px; }

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; margin-bottom: 24px; color: #b8c6d6; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; opacity: .7; }
.breadcrumb a { color: #fff; }

/* ---------- seções ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { color: var(--muted); max-width: 60ch; margin-bottom: 32px; font-size: 1.1rem; }
.prose { max-width: 820px; }
.prose p { color: #2b3b4e; }
.center { text-align: center; margin: 0 auto; }

.cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  -webkit-transition: box-shadow .2s, border-color .2s, -webkit-transform .2s;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.card:hover { color: var(--ink); border-color: transparent; box-shadow: var(--shadow); -webkit-transform: translateY(-3px); transform: translateY(-3px); }
.card p { color: var(--muted); flex-grow: 1; }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--navy-900); color: var(--amber); margin: -46px 0 14px;
  position: relative; box-shadow: 0 0 0 4px #fff;
}
.card-icon .ico { width: 28px; height: 28px; }
.card-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy-700); }
.card:hover .arrow { -webkit-transform: translateX(3px); transform: translateX(3px); }
.arrow { -webkit-transition: -webkit-transform .2s; transition: transform .2s; }

.why { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.why .ico { width: 36px; height: 36px; color: var(--amber-dark); margin-bottom: 12px; }
.why p { color: var(--muted); margin: 0; }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.align-center { align-items: center; }
.panel { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.icon-list { list-style: none; display: grid; gap: 14px; }
.icon-list li { display: flex; gap: 12px; align-items: flex-start; }
.icon-list .ico { margin-top: .2em; }
.icon-list.ok .ico { color: var(--wa); }
.icon-list.warn .ico { color: var(--amber-dark); }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 6px 14px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
.area-box {
  display: flex; align-items: center; gap: 24px; padding: 36px; border-radius: var(--radius);
  background: var(--navy-900); color: #fff; font-size: 1.25rem; font-weight: 700; line-height: 1.5;
}
.area-box p { margin: 0; }
.area-box small { color: #b8c6d6; font-weight: 500; font-size: .9rem; }
.ico.big { width: 64px; height: 64px; color: var(--amber); }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: none; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps p { color: var(--muted); margin: 0; }
.step-n {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--amber); color: var(--navy-900); font-weight: 800; margin-bottom: 14px;
}

.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; color: var(--navy-900); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--amber-dark);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

.mini-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.mini-card {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 12px;
  border: 1px solid var(--line); text-decoration: none; color: var(--navy-900); font-weight: 700; background: #fff;
}
.mini-card span { flex-grow: 1; }
.mini-card .ico:first-child { color: var(--amber-dark); }
.mini-card:hover { border-color: var(--navy-700); color: var(--navy-900); }
.mini-card:hover .arrow { -webkit-transform: translateX(3px); transform: translateX(3px); }

.cta-band { background: var(--navy-900); color: #cfd9e5; padding: 56px 0; }
.cta-band h2 { color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-inner p { margin: 0; max-width: 56ch; }

/* ---------- rodapé ---------- */
.site-footer { background: #07131f; color: #a9b8c8; padding: 56px 0 24px; font-size: .97rem; padding-bottom: 96px; }
.site-footer a { color: #e3eaf2; }
.site-footer a:hover { color: var(--amber); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: .8em; }
.site-footer ul { list-style: none; display: grid; gap: 6px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 36px; padding-top: 20px; font-size: .88rem; }
.footer-bottom p { margin: 0; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}
.wa-float:hover { background: var(--wa-dark); color: #fff; }
.wa-float .ico { width: 32px; height: 32px; }

/* ---------- responsivo ---------- */
/* ---------- fotos ---------- */
.card-img {
  width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #dfe5ec;
  -webkit-transition: -webkit-transform .4s; transition: transform .4s;
}
.card:hover .card-img { -webkit-transform: scale(1.04); transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; flex-grow: 1; padding: 0 22px 22px; position: relative; background: #fff; }
.card-body h3, .card-body p { display: block; }

figure { margin: 0; }
.hero-svc-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-figure {
  border-radius: 18px; overflow: hidden; background: var(--navy-800);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .12);
}
.hero-photo, .photo-frame img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #dfe5ec; }
.credits { margin-top: 6px !important; opacity: .75; }

@media (max-width: 860px) {
  .hero-svc-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-grid, .two-col, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .hero-home { padding: 48px 0 56px; }
  .section { padding: 52px 0; }
  .hero-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .hero-actions .btn { width: 100%; }
  .hero-badges { grid-template-columns: minmax(0, 1fr); }
  .brand { font-size: 1rem; }
  .brand img { height: 38px; }
  .area-box { flex-direction: column; text-align: center; }
  .cta-inner .btn { width: 100%; }
}


/* ---------- telefone em destaque ---------- */
.topbar { background: var(--navy-900); color: #b8c6d6; font-size: .9rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 46px; }
.topbar-hours { display: inline-flex; align-items: center; gap: 8px; }
.topbar-hours .ico { color: var(--amber); width: 1.05em; height: 1.05em; }
.topbar-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; white-space: nowrap; }
.topbar-phone strong { color: var(--amber); font-size: 1.25rem; letter-spacing: .02em; }
.topbar-phone .ico { color: var(--amber); }
.topbar-phone:hover { color: #fff; }
.topbar-phone:hover strong { text-decoration: underline; }

.header-phone {
  display: none; align-items: center; gap: 10px; margin-left: auto;
  text-decoration: none; color: var(--navy-900); font-weight: 800; font-size: 1.15rem; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.header-phone .ico {
  width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--amber); color: var(--navy-900);
}
.header-phone-txt { display: flex; flex-direction: column; line-height: 1.1; }
.header-phone-txt small { font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.header-phone:hover { color: var(--amber-dark); }

.hero-phone {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 8px;
  padding: 12px 26px 12px 12px; border-radius: 999px; text-decoration: none;
  background: var(--amber); color: var(--navy-900); box-shadow: 0 10px 30px rgba(245, 166, 35, .35);
  -webkit-transition: -webkit-transform .2s; transition: transform .2s;
}
.hero-phone:hover { color: var(--navy-900); -webkit-transform: translateY(-2px); transform: translateY(-2px); }
.hero-phone-ico { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy-900); color: var(--amber); }
.hero-phone-ico .ico { width: 28px; height: 28px; }
.hero-phone small { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.hero-phone strong { display: block; font-size: 2rem; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem); line-height: 1.05; font-weight: 800; font-variant-numeric: tabular-nums; }

.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.cta-phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.7rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cta-phone .ico { color: var(--amber); width: 30px; height: 30px; }
.cta-phone:hover { color: var(--amber); }

/* ---------- banner com foto ---------- */
.hero-home { padding: 96px 0 104px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-home::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(11, 27, 46, .96) 0%, rgba(11, 27, 46, .88) 42%, rgba(11, 27, 46, .45) 75%, rgba(11, 27, 46, .25) 100%);
}
.hero-home::after { display: none; }
.hero-home-inner { position: relative; z-index: 2; }
.hero-copy { max-width: 640px; }

.badges-strip { background: var(--navy-800); padding: 18px 0; border-top: 3px solid var(--amber); }
.badges-strip .hero-badges { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.badges-strip .hero-badges li { background: transparent; border: 0; padding: 6px 0; font-size: .97rem; }

/* ---------- barra de contato no celular ---------- */
.mobile-bar { display: none; }

@media (max-width: 1020px) {
  .header-phone-txt small { display: none; }
}
@media (max-width: 860px) {
  .topbar-hours { display: none; }
  .topbar-inner { justify-content: center; }
  .badges-strip .hero-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-home { padding: 64px 0 72px; }
  .hero-home::before { background: linear-gradient(180deg, rgba(11, 27, 46, .80) 0%, rgba(11, 27, 46, .92) 55%, rgba(11, 27, 46, .97) 100%); }
}
@media (max-width: 700px) {
  .topbar { display: none; }
  .header-phone { display: inline-flex; }
  .header-phone-txt { display: none; }
  .header-phone .ico { width: 44px; height: 44px; padding: 11px; }
  .wa-float { display: none; }
  .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 -4px 20px rgba(0, 0, 0, .2);
  }
  .mobile-bar a {
    flex: 1 1 50%; display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 58px; font-weight: 800; text-decoration: none; font-size: 1rem;
  }
  .mb-call { background: var(--amber); color: var(--navy-900); flex-basis: 60% !important; }
  .mb-wa { background: var(--wa); color: #fff; }
  .mb-call:hover { color: var(--navy-900); } .mb-wa:hover { color: #fff; }
  .site-footer { padding-bottom: 96px; }
  .hero-phone { width: 100%; padding-right: 16px; }
}
@media (max-width: 520px) {
  .badges-strip .hero-badges { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 12px; }
  .badges-strip .hero-badges li { font-size: .88rem; gap: 8px; }
  .cta-actions { width: 100%; }
  .cta-phone { font-size: 1.5rem; }
}

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

@media print {
  .site-header, .wa-float, .cta-band, .hero-actions { display: none; }
  .hero { background: none; color: #000; }
  .hero h1, .hero .lead { color: #000; }
}
