:root {
  --navy: #061522;
  --navy-2: #0a2236;
  --graphite: #17212b;
  --blue: #2bb5ff;
  --blue-dark: #087eb8;
  --green: #12854a;
  --white: #fff;
  --paper: #f4f7f9;
  --muted: #5f6c78;
  --line: #dce4e9;
  --radius: 26px;
  --shadow: 0 24px 70px rgba(6, 21, 34, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--graphite); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 112px 0; }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 999; padding: 12px 18px; border-radius: 8px; background: var(--white); color: var(--navy); transition: top .2s; }
.skip-link:focus { top: 16px; }

.eyebrow { margin: 0 0 16px; color: var(--blue-dark); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-light { color: #74cbfa; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.1; letter-spacing: -.035em; }
h1 { max-width: 760px; margin-bottom: 24px; color: var(--white); font-size: clamp(2.55rem, 5.2vw, 5rem); }
h2 { margin-bottom: 20px; font-size: clamp(2rem, 3.7vw, 3.55rem); }
h3 { font-size: 1.28rem; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid rgba(255,255,255,.08); color: var(--white); transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(6,21,34,.95); box-shadow: 0 12px 35px rgba(0,0,0,.18); backdrop-filter: blur(18px); }
.header-inner { display: flex; align-items: center; min-height: 82px; gap: 28px; }
.brand { display: inline-flex; flex-direction: column; flex: 0 0 auto; line-height: 1; }
.brand-name { color: var(--white); font-size: 1.8rem; font-weight: 900; letter-spacing: .12em; }
.brand-subtitle { margin-top: 6px; color: #a9c0d0; font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 21px; margin-left: auto; }
.main-nav a { color: #d8e3ea; font-size: .82rem; font-weight: 600; transition: color .2s; }
.main-nav a:hover { color: var(--blue); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 13px; background: transparent; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: var(--white); }

.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-size: .9rem; font-weight: 800; transition: transform .22s, background .22s, border-color .22s, box-shadow .22s; }
.button:hover { transform: translateY(-3px); }
.button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { background: var(--blue); color: var(--navy); box-shadow: 0 13px 35px rgba(43,181,255,.25); }
.button-primary:hover { background: #65caff; }
.button-ghost { border-color: rgba(255,255,255,.28); color: var(--white); background: rgba(255,255,255,.05); }
.button-ghost:hover { border-color: var(--blue); background: rgba(43,181,255,.09); }
.button-secondary { border-color: var(--navy); color: var(--navy); }
.button-small { min-height: 44px; padding-inline: 18px; color: var(--navy); background: var(--blue); font-size: .78rem; }
.button-small svg { width: 15px; }

.hero { position: relative; min-height: 830px; padding: 155px 0 95px; overflow: hidden; color: #c6d4de; background-color: var(--navy); background-image: linear-gradient(90deg, rgba(4,16,27,.97) 0%, rgba(4,16,27,.9) 42%, rgba(4,16,27,.7) 68%, rgba(4,16,27,.84) 100%), url("../images/instalacao-camera-cliente.jpg"); background-position: center; background-size: cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 76% 35%, rgba(43,181,255,.18), transparent 33%); }
.hero::after { content: ""; position: absolute; right: -9%; bottom: -155px; left: -9%; height: 230px; border-radius: 50% 50% 0 0; background: var(--white); }
.hero-grid-pattern, .cta-grid { position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(to bottom, black, transparent 78%); }
.hero-orb { position: absolute; border: 1px solid rgba(43,181,255,.24); border-radius: 50%; }
.hero-orb-one { width: 400px; height: 400px; right: 2%; top: 12%; }
.hero-orb-two { width: 130px; height: 130px; left: 46%; bottom: 16%; }
.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 72px; }
.hero-text { max-width: 650px; margin-bottom: 32px; color: #bfd0db; font-size: 1.08rem; }
.eyebrow-dot, .pulse-dot { display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 7px rgba(43,181,255,.12); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 35px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255,255,255,.1); list-style: none; font-size: .8rem; font-weight: 650; }
.hero-benefits span { color: var(--blue); }
.hero-visual { position: relative; padding: 24px; }
.visual-frame { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 38px 38px 120px 38px; background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.035)); box-shadow: 0 40px 90px rgba(0,0,0,.3); backdrop-filter: blur(12px); }
.visual-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,16,27,.63), transparent 52%); box-shadow: inset 0 0 90px rgba(43,181,255,.13); pointer-events: none; }
.visual-frame img { width: 100%; height: 550px; object-fit: cover; object-position: center; filter: brightness(.78) saturate(.85); transition: transform .6s ease; }
.visual-frame:hover img { transform: scale(1.035); }
.visual-label { position: absolute; z-index: 2; top: 24px; left: 26px; display: flex; align-items: center; padding: 10px 14px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; background: rgba(6,21,34,.72); color: #e9f5fb; font-size: .72rem; font-weight: 700; }
.floating-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; min-width: 210px; padding: 14px; border: 1px solid rgba(255,255,255,.19); border-radius: 18px; background: rgba(8,29,45,.92); box-shadow: 0 20px 45px rgba(0,0,0,.3); backdrop-filter: blur(12px); }
.floating-card strong, .floating-card span { display: block; }
.floating-card strong { color: var(--white); font-size: .8rem; }
.floating-card span { color: #9eb4c2; font-size: .66rem; }
.floating-icon { display: grid !important; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 13px; background: rgba(43,181,255,.14); color: var(--blue) !important; }
.floating-icon svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.camera-card { right: -12px; bottom: 82px; }
.fence-card { left: -18px; bottom: -5px; }

.trust-strip { position: relative; z-index: 5; padding: 22px 0 25px; background: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { display: flex; align-items: center; gap: 16px; min-height: 86px; padding: 0 34px; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border: 0; }
.trust-number { color: var(--blue-dark); font-size: .7rem; font-weight: 900; letter-spacing: .12em; }
.trust-item strong, .trust-item span { display: block; }
.trust-item strong { color: var(--navy); font-size: .9rem; }
.trust-item div span { color: var(--muted); font-size: .78rem; }

.section-heading { display: grid; grid-template-columns: 1.2fr .6fr; align-items: end; gap: 80px; margin-bottom: 55px; }
.section-heading h2 { max-width: 790px; margin-bottom: 0; }
.section-heading > p, .center-heading > p:last-child { color: var(--muted); }
.services { background: var(--paper); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 610px; padding: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .28s, box-shadow .28s, border-color .28s; }
.service-card:hover { transform: translateY(-7px); border-color: #a9dff9; box-shadow: var(--shadow); }
.service-card::after { content: ""; position: absolute; right: -55px; bottom: -70px; width: 180px; height: 180px; border: 1px solid #cdeefd; border-radius: 50%; pointer-events: none; }
.service-card-featured { background: linear-gradient(145deg, #fff, #eaf8ff); }
.service-card-dark { color: #b9cbd6; background: var(--navy-2); border-color: var(--navy-2); }
.service-card-dark h3, .service-card-dark .service-topline { color: var(--white); }
.service-topline { display: flex; justify-content: space-between; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.service-image { height: 225px; margin: 18px 0 20px; overflow: hidden; border-radius: 18px; background: #dce7ed; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.service-image-detail img { object-position: 68% center; }
.service-card:hover .service-image img { transform: scale(1.055); }
.service-icon { display: grid; width: 50px; height: 50px; margin: 0 0 18px; place-items: center; border-radius: 15px; color: var(--blue-dark); background: #e9f7fe; }
.service-icon svg { width: 31px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.service-card-dark .service-icon { color: var(--blue); background: rgba(43,181,255,.11); }
.service-card p { max-width: 510px; color: var(--muted); }
.service-card-dark p { color: #a9bdc9; }
.text-link { position: absolute; z-index: 2; bottom: 25px; left: 24px; color: var(--navy); font-size: .82rem; font-weight: 850; }
.service-card-dark .text-link { color: var(--blue); }

.needs { position: relative; overflow: hidden; color: #bfd0db; background: var(--navy); }
.needs::before { content: ""; position: absolute; width: 520px; height: 520px; left: -180px; top: -220px; border: 1px solid rgba(43,181,255,.18); border-radius: 50%; }
.needs-layout { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 100px; }
.needs-copy h2 { color: var(--white); }
.needs-copy p:not(.eyebrow) { margin-bottom: 30px; }
.needs-panel { padding: 8px 30px; border: 1px solid rgba(255,255,255,.12); border-radius: 30px; background: rgba(255,255,255,.045); }
.need-row { display: grid; grid-template-columns: 45px 1fr; align-items: center; min-height: 82px; border-bottom: 1px solid rgba(255,255,255,.09); }
.need-row:last-child { border: 0; }
.need-row span { color: var(--blue); font-size: .7rem; font-weight: 900; }
.need-row p { margin: 0; color: #e8f1f5; font-size: .95rem; }

.center-heading { max-width: 750px; margin: 0 auto 55px; text-align: center; }
.differences-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.difference-card { padding: 28px; border: 1px solid var(--line); border-radius: 22px; transition: transform .25s, box-shadow .25s; }
.difference-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(6,21,34,.1); }
.difference-icon { display: grid; width: 50px; height: 50px; margin-bottom: 30px; place-items: center; border-radius: 15px; color: var(--blue-dark); background: #eaf8ff; }
.difference-icon svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.difference-card p { margin-bottom: 0; color: var(--muted); font-size: .86rem; }

.process { background: var(--paper); }
.process-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; }
.process-intro { position: sticky; top: 125px; align-self: start; }
.process-intro > p { color: var(--muted); }
.process-contact { margin-top: 42px; padding-top: 25px; border-top: 1px solid var(--line); }
.process-contact span { display: block; color: var(--muted); font-size: .75rem; }
.process-contact a { color: var(--blue-dark); font-size: 1.12rem; font-weight: 850; }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-step { display: grid; grid-template-columns: 88px 1fr; min-height: 155px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.step-number { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; color: var(--navy); background: var(--blue); font-size: .72rem; font-weight: 900; }
.process-step p { margin-bottom: 0; color: var(--muted); }

.about { border-top: 1px solid var(--line); }
.about-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 75px; align-items: center; }
.about-copy h2 { margin-bottom: 0; }
.about-text { margin-top: 30px; padding-left: 25px; border-left: 2px solid var(--blue); }
.about-text p { color: var(--muted); }
.about-text p:last-child { margin-bottom: 0; }
.about-image { position: relative; height: 560px; margin: 0; overflow: hidden; border-radius: 34px 34px 110px 34px; background: var(--paper); box-shadow: var(--shadow); }
.about-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,21,34,.52), transparent 45%); pointer-events: none; }
.about-image img { width: 100%; height: 100%; object-fit: cover; object-position: 38% center; transition: transform .6s ease; }
.about-image:hover img { transform: scale(1.035); }
.about-image figcaption { position: absolute; z-index: 2; right: 22px; bottom: 18px; color: rgba(255,255,255,.82); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.local { background: linear-gradient(135deg, #eef7fc, var(--paper)); }
.local-layout { display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: 90px; }
.local-heading { padding-top: 10px; }
.local-heading h2 { margin-bottom: 0; }
.local-copy > p:not(.eyebrow) { color: var(--muted); }
.location-card { display: flex; gap: 15px; margin: 30px 0 20px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.location-icon { color: var(--blue-dark); }
.location-icon svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.location-card span { color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.location-card address { color: var(--navy); font-size: .88rem; font-style: normal; font-weight: 700; }
.local-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.local-tags span { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .72rem; }

.faq { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 100px; }
.faq-intro > p { color: var(--muted); }
.accordion details { border-bottom: 1px solid #cad5dc; }
.accordion summary { position: relative; padding: 25px 52px 25px 0; color: var(--navy); font-weight: 800; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span::before, .accordion summary span::after { content: ""; position: absolute; right: 7px; top: 35px; width: 14px; height: 2px; background: var(--navy); transition: transform .2s; }
.accordion summary span::after { transform: rotate(90deg); }
.accordion details[open] summary span::after { transform: rotate(0); }
.accordion details p { max-width: 700px; padding: 0 52px 24px 0; color: var(--muted); }

.final-cta { position: relative; padding: 115px 0; overflow: hidden; color: #bdd0dc; background: linear-gradient(135deg, var(--navy), #0d3550); text-align: center; }
.cta-content { position: relative; z-index: 2; max-width: 900px; }
.cta-content h2 { color: var(--white); }
.cta-content > p:not(.eyebrow) { max-width: 650px; margin: 0 auto 30px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta-phone { display: inline-block; margin-top: 25px; color: var(--white); font-size: 1rem; font-weight: 850; }

.site-footer { padding: 75px 0 25px; color: #9cb0be; background: #04101a; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1.2fr .75fr; gap: 55px; }
.footer-brand p { max-width: 300px; margin-top: 22px; font-size: .82rem; }
.footer-column { display: flex; flex-direction: column; gap: 8px; }
.footer-column h2 { margin-bottom: 15px; color: var(--white); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-column a, .footer-column p, .footer-column address { margin: 0; font-size: .78rem; font-style: normal; }
.footer-column a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.09); font-size: .7rem; }
.footer-bottom p { margin: 0; }

.whatsapp-float { position: fixed; z-index: 90; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 17px; border-radius: 999px; color: white; background: var(--green); box-shadow: 0 15px 35px rgba(0,0,0,.25); font-size: .75rem; font-weight: 800; transition: transform .2s; }
.whatsapp-float:hover { transform: translateY(-4px); }
.whatsapp-float svg { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: rgba(255,255,255,.14); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.reveal.reveal-pending { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.reveal-pending.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s !important; }
.reveal-delay-2 { transition-delay: .16s !important; }
.reveal-delay-3 { transition-delay: .24s !important; }

@media (max-width: 1100px) {
  .main-nav { gap: 14px; }
  .main-nav a:nth-last-child(n+6) { display: none; }
  .hero-layout { gap: 25px; }
  .differences-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .container { width: min(100% - 30px, 680px); }
  .section { padding: 82px 0; }
  .header-cta { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav { position: fixed; inset: 82px 0 auto; display: grid; gap: 0; max-height: 0; overflow: hidden; margin: 0; padding: 0 20px; background: rgba(6,21,34,.98); transition: max-height .32s, padding .32s; }
  .main-nav.open { max-height: calc(100vh - 82px); padding-block: 16px 24px; }
  .main-nav a, .main-nav a:nth-last-child(n+6) { display: block; padding: 13px 5px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .hero { min-height: 0; padding: 130px 0 150px; }
  .hero-layout, .needs-layout, .process-layout, .about-layout, .local-layout, .faq-layout { grid-template-columns: 1fr; gap: 55px; }
  .about-text { padding-left: 22px; }
  .hero-visual { width: min(100%, 590px); margin-inline: auto; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { padding: 12px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .process-intro { position: static; }
  .faq-intro { max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 26px); }
  h1 { font-size: clamp(2.45rem, 12vw, 3.5rem); }
  h2 { font-size: 2.1rem; }
  .hero { padding-top: 118px; }
  .hero-actions, .hero-actions .button, .cta-actions .button { width: 100%; }
  .hero-benefits { display: grid; }
  .hero-visual { padding: 0 4px; }
  .visual-frame { border-radius: 25px 25px 75px 25px; }
  .visual-label { top: 14px; left: 14px; font-size: .61rem; }
  .floating-card { min-width: 175px; padding: 10px; }
  .camera-card { right: -4px; bottom: 40px; }
  .fence-card { left: -5px; bottom: -31px; }
  .services-grid, .differences-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 610px; padding: 22px; }
  .text-link { left: 22px; }
  .needs-panel { padding: 6px 18px; }
  .needs-layout { gap: 42px; }
  .process-step { grid-template-columns: 68px 1fr; }
  .about-image { height: 430px; border-radius: 28px 28px 80px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { display: grid; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
