/* =========================================================
   AlarVision — Sistemas de Segurança
   ========================================================= */
:root {
  --navy-950: #070a24;
  --navy-900: #0b1033;
  --navy-800: #121a52;
  --navy-700: #1a2470;
  --blue-600: #2541d6;
  --blue-500: #3557f0;
  --blue-400: #5b7cff;
  --blue-100: #e6ebff;
  --blue-50:  #f3f5ff;
  --ink:      #0f1430;
  --text:     #3c4363;
  --muted:    #6b7290;
  --line:     #e3e6f0;
  --white:    #ffffff;
  --whats:    #25d366;
  --whats-dk: #1ebe5b;
  --new:      #ffb020;

  --grad-brand: linear-gradient(135deg, #070a24 0%, #141a5c 55%, #2b2fbf 100%);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(11, 16, 51, .06);
  --shadow:    0 12px 32px rgba(11, 16, 51, .10);
  --shadow-lg: 0 24px 60px rgba(7, 10, 36, .28);
  --font-head: "Questrial", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 400; letter-spacing: .01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
strong { color: inherit; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.icon { width: 1.2em; height: 1.2em; flex: none; vertical-align: -.2em; }
.hide-sm { display: inline-flex; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font: 600 .98rem/1.2 var(--font-body); cursor: pointer; white-space: nowrap;
  transition: transform .2s, background .2s, box-shadow .2s, color .2s, border-color .2s;
}
.btn .icon { transition: transform .2s; }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--primary { background: var(--blue-500); color: #fff; box-shadow: 0 8px 22px rgba(53, 87, 240, .35); }
.btn--primary:hover { background: var(--blue-600); transform: translateY(-1px); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--outline { color: var(--navy-800); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue-500); color: var(--blue-600); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--whats { background: var(--whats); color: #fff; }
.btn--whats:hover { background: var(--whats-dk); transform: translateY(-1px); }
.btn--block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-950); color: #c7cdf0; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; color: inherit; }
.topbar a { color: #fff; font-weight: 600; white-space: nowrap; }
.topbar span { white-space: nowrap; }
.topbar .icon { color: var(--blue-400); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) {
  white-space: nowrap; color: var(--ink); font-weight: 500; font-size: .93rem; padding: 8px 12px; border-radius: 8px; position: relative;
  transition: color .2s, background .2s;
}
.nav a:not(.btn):hover { color: var(--blue-600); background: var(--blue-50); }
.nav em {
  font-style: normal; font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  background: var(--new); color: var(--navy-950); padding: 1px 5px; border-radius: 4px; vertical-align: 2px; margin-left: 2px;
}
.nav__cta { margin-left: 8px; padding: .7em 1.2em; }
.header__phone { display: none; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.header__phone small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; line-height: 1; }
.header__phone .icon { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--ink); padding: 8px; cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .i-close { display: none; }

/* ---------- Hero / Slider ---------- */
.hero { position: relative; background: var(--navy-950); }
.slider { position: relative; height: 760px; overflow: hidden; color: #fff; }
.slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.08); transition: transform 7s ease-out;
}
.slide.is-active .slide__bg { transform: scale(1); }
.slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(7,10,36,.94) 0%, rgba(11,16,51,.82) 42%, rgba(20,26,92,.45) 70%, rgba(43,47,191,.25) 100%);
}
.slide--rastreio .slide__bg { background: var(--grad-brand); transform: none; }
.slide--rastreio .slide__bg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide--rastreio::before { background: linear-gradient(90deg, rgba(7,10,36,.92) 0%, rgba(7,10,36,.5) 55%, transparent 100%); }
.slide--totem .slide__bg { background-position: 70% 30%; }
.slide--ia .slide__bg { background-position: 70% center; }
.slide__content { position: relative; z-index: 2; padding-top: 20px; padding-bottom: 80px; }
.slide__content > * { max-width: 560px; }
.slide h1, .slide h2 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin-bottom: .4em; }
.slide h1 strong, .slide h2 strong { font-weight: 400; background: linear-gradient(90deg, #8aa2ff, #c7d2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slide p { font-size: 1.12rem; color: #d3d8f5; max-width: 500px; }
.slide__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.slide.is-active .slide__content > * { animation: rise .8s both; }
.slide.is-active .slide__content > *:nth-child(2) { animation-delay: .1s; }
.slide.is-active .slide__content > *:nth-child(3) { animation-delay: .2s; }
.slide.is-active .slide__content > *:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.tag {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #dfe4ff;
}
.tag--new { background: var(--new); color: var(--navy-950); border-color: var(--new); text-transform: uppercase; font-size: .74rem; letter-spacing: .08em; }

.route { animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -52; } }

.slider__controls {
  position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); z-index: 5;
  display: flex; align-items: center; gap: 14px;
}
.slider__arrow {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); color: #fff; transition: background .2s;
}
.slider__arrow:hover { background: rgba(255,255,255,.2); }
.slider__dots { display: flex; gap: 8px; }
.slider__dots button {
  width: 10px; height: 10px; padding: 0; border-radius: 99px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.35); transition: width .3s, background .3s;
}
.slider__dots button[aria-selected="true"] { width: 34px; background: #fff; }

/* Formulário sobre o banner */
.hero__form-wrap {
  position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 6;
  display: flex; align-items: center; justify-content: flex-end; pointer-events: none;
}
.quote {
  pointer-events: auto; width: 410px; background: #fff; border-radius: var(--radius-lg);
  padding: 26px 26px 18px; box-shadow: var(--shadow-lg); position: relative;
}
.quote::before {
  content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 4px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--blue-500), #8aa2ff);
}
.quote__head h2 { font-size: 1.6rem; margin-bottom: 2px; }
.quote__head p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.field { margin-bottom: 11px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px; }
.field label, .field .label { display: block; font-size: .8rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.field input, .field select {
  width: 100%; height: 44px; padding: 0 13px; border: 1.5px solid var(--line); border-radius: 10px;
  font: 400 .95rem var(--font-body); color: var(--ink); background: #fbfcff; transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 36px;
  background: #fbfcff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7290' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(53,87,240,.12); background-color: #fff; }
.field input.is-invalid { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229,72,77,.1); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 500;
  border: 1.5px solid var(--line); color: var(--text); transition: all .2s; background: #fbfcff;
}
.chip input:checked + span { background: var(--blue-500); border-color: var(--blue-500); color: #fff; }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(53,87,240,.2); }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: .78rem; color: var(--muted); margin: 4px 0 12px; line-height: 1.4; cursor: pointer; }
.consent input { margin-top: 2px; accent-color: var(--blue-500); }
.consent.is-invalid { color: #e5484d; }
.quote__alt { text-align: center; font-size: .85rem; color: var(--muted); margin: 10px 0 0; }
.quote__alt a { color: #128c4a; font-weight: 600; display: inline-flex; gap: 5px; align-items: center; }
.quote__status:empty { display: none; }
.quote__status { margin-top: 10px; padding: 10px 12px; border-radius: 10px; font-size: .88rem; }
.quote__status.is-ok { background: #e8f8ee; color: #0f6b37; }
.quote__status.is-err { background: #fdecec; color: #a3272b; }
.quote__status a { font-weight: 600; }
.quote.is-sending button[type=submit] { opacity: .7; pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Trust ---------- */
.trust { background: var(--navy-900); color: #c7cdf0; border-top: 1px solid rgba(255,255,255,.06); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__grid div { padding: 26px 20px; display: flex; flex-direction: column; border-left: 1px solid rgba(255,255,255,.08); }
.trust__grid div:first-child { border-left: 0; }
.trust strong { font-family: var(--font-head); font-weight: 400; font-size: 2rem; color: #fff; line-height: 1.1; }
.trust span { font-size: .9rem; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--soft { background: var(--blue-50); }
.section--dark { background: var(--grad-brand); color: #c9cff2; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section__head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  color: var(--blue-500); margin-bottom: 12px;
}
.eyebrow--light { color: #8aa2ff; }
.muted { color: var(--muted); font-size: .95rem; }

/* Cards de serviço */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px 26px; transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--blue-50); color: var(--blue-600); transition: background .25s, color .25s;
}
.card__icon .icon { width: 28px; height: 28px; }
.card:hover .card__icon { background: var(--blue-500); color: #fff; }
.card p { color: var(--muted); font-size: .95rem; flex: 1; }
.card__link { font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.card__link .icon { transition: transform .2s; }
.card__link:hover .icon { transform: translateX(3px); }
.card--new { border-color: rgba(53,87,240,.35); background: linear-gradient(180deg, #f5f7ff, #fff 60%); }
.badge {
  position: absolute; top: 18px; right: 18px; background: var(--new); color: var(--navy-950);
  font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 4px 9px; border-radius: 6px;
}

/* Feature (rastreamento / totem / IA) */
.feature__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.feature__grid--rev { grid-template-columns: 1fr 1.05fr; }
.feature__text > p { font-size: 1.05rem; }
.feature__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.checks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.checks li { display: flex; gap: 12px; }
.checks .icon {
  width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.08);
  color: #8aa2ff; border: 1px solid rgba(255,255,255,.12);
}
.checks strong { display: block; color: #fff; font-size: .98rem; }
.checks span { font-size: .88rem; line-height: 1.45; display: block; }
.checks--light .icon { background: var(--blue-50); color: var(--blue-600); border-color: transparent; }
.checks--light strong { color: var(--ink); }
.checks--light span { color: var(--muted); }

/* Mock de celular */
.feature__visual { display: flex; justify-content: center; }
.phone-mock {
  width: 290px; padding: 12px; border-radius: 42px; background: #0d1030;
  box-shadow: 0 40px 80px rgba(0,0,0,.45), inset 0 0 0 2px rgba(255,255,255,.08); position: relative;
  transform: rotate(-3deg);
}
.phone-mock::before { content: ""; position: absolute; top: 20px; left: 50%; width: 80px; height: 20px; transform: translateX(-50%); background: #0d1030; border-radius: 20px; z-index: 2; }
.phone-mock__screen { border-radius: 32px; overflow: hidden; background: #fff; position: relative; }
.pm-top { display: flex; justify-content: space-between; padding: 44px 18px 12px; font-weight: 700; color: var(--ink); font-size: .9rem; }
.pm-live { color: #16a34a; font-size: .75rem; }
.pm-map { display: block; width: 100%; height: auto; }
.pm-card {
  position: absolute; left: 14px; right: 14px; bottom: 14px; background: #fff; border-radius: 16px; padding: 12px 14px;
  display: flex; gap: 12px; align-items: center; box-shadow: 0 10px 24px rgba(11,16,51,.18);
}
.pm-card strong { display: block; color: var(--ink); font-size: .9rem; line-height: 1.2; }
.pm-card span { color: var(--muted); font-size: .78rem; }
.pm-card__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--blue-500); color: #fff; display: grid; place-items: center; }

/* Totem */
.totem-photo { margin: 0; position: relative; max-width: 420px; }
.totem-photo::before {
  content: ""; position: absolute; inset: 40px -30px -30px 40px; border-radius: var(--radius-lg);
  background: var(--grad-brand); z-index: -1;
}
.totem-photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: auto; aspect-ratio: 9 / 14; object-fit: cover; object-position: center 40%; }

/* Passos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 30px 24px; box-shadow: var(--shadow-sm); }
.steps li > .icon { width: 30px; height: 30px; color: var(--blue-500); margin-bottom: 14px; }
.steps__n { position: absolute; top: 18px; right: 22px; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; color: var(--blue-100); }
.steps p { color: var(--muted); font-size: .93rem; margin: 0; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -16px; width: 10px; height: 10px; z-index: 1;
  border-top: 2px solid var(--blue-400); border-right: 2px solid var(--blue-400); transform: translateY(-50%) rotate(45deg);
}

/* IA */
.case { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-left: 3px solid var(--blue-400); border-radius: var(--radius); padding: 18px 20px; margin: 24px 0 28px; }
.case p { margin: 0; font-size: .95rem; }
.case__tag { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: #8aa2ff; margin-bottom: 6px; }
.ia-photo { margin: 0; position: relative; width: 100%; }
.ia-photo > img:first-child { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: auto; }
.ia-inset {
  position: absolute; right: -18px; bottom: 44px; width: 38%; max-width: 210px; border-radius: 16px;
  border: 4px solid #fff; box-shadow: var(--shadow-lg);
}
.ia-photo figcaption {
  position: absolute; left: 16px; top: 16px; display: inline-flex; gap: 8px; align-items: center;
  background: rgba(7,10,36,.8); color: #fff; font-size: .82rem; padding: 8px 12px; border-radius: 10px; backdrop-filter: blur(6px);
}
.ia-photo figcaption .icon { color: #4ade80; }

/* Quem somos */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about__brand {
  background: var(--blue-50); border-radius: var(--radius-lg); padding: 56px 40px; position: relative; overflow: hidden;
}
.about__brand::after {
  content: ""; position: absolute; width: 260px; height: 260px; right: -80px; bottom: -80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(53,87,240,.18), transparent 70%);
}
.about__brand img { max-width: 360px; width: 100%; margin: 0 auto 32px; }
.about__since { display: flex; align-items: baseline; align-items: last baseline; gap: 12px; justify-content: center; }
.about__since strong { font-family: var(--font-head); font-weight: 400; font-size: 3rem; color: var(--blue-600); line-height: 1; }
.about__since > span { color: var(--muted); }
.about__year { display: flex; flex-direction: column; align-items: center; }
.about__year small { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 4px; }
.pillars { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pillars li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); font-size: .95rem; }
.pillars .icon { color: var(--blue-500); }

/* CTA */
.cta { background: var(--grad-brand); color: #c9cff2; padding: 64px 0; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,124,255,.35), transparent 65%);
}
.cta__inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; max-width: 620px; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }

/* Contato */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: stretch; }
.contact__list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list .icon { width: 46px; height: 46px; padding: 12px; border-radius: 14px; background: var(--blue-50); color: var(--blue-600); }
.contact__list span { display: block; font-size: .8rem; color: var(--muted); }
.contact__list a, .contact__list strong { color: var(--ink); font-weight: 600; }
.contact__list a:hover { color: var(--blue-600); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact__map { border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; box-shadow: var(--shadow); background: var(--blue-50); }
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Rodapé */
.footer { background: var(--navy-950); color: #9aa2c8; padding: 64px 0 0; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer__logo { height: 52px; width: auto; margin-bottom: 16px; }
.footer h3 { color: #fff; font-family: var(--font-body); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: #c7cdf0; }
.footer a:hover { color: #fff; }
.footer__social { display: inline-flex; gap: 8px; align-items: center; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; padding-bottom: 26px; font-size: .83rem; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 100; display: flex; align-items: center;
  height: 62px; min-width: 62px; border-radius: 999px; background: var(--whats); color: #fff;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45); transition: transform .25s, background .25s;
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--whats); z-index: -1;
  animation: pulse 2.2s ease-out infinite;
}
.wa-float:hover { transform: scale(1.06); background: var(--whats-dk); }
.wa-float__icon { width: 34px; height: 34px; margin: 0 14px; flex: none; }
.wa-float__label {
  max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: .95rem;
  transition: max-width .35s ease, padding .35s ease;
}
.wa-float:hover .wa-float__label, .wa-float.is-peek .wa-float__label { max-width: 140px; padding-right: 22px; }
.wa-float:hover .wa-float__icon, .wa-float.is-peek .wa-float__icon { margin-right: 10px; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.55); opacity: 0; } }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1240px) {
  .header__inner { gap: 12px; }
  .nav a:not(.btn) { padding: 8px 8px; font-size: .88rem; }
}

@media (max-width: 1140px) {
  /* backdrop-filter faria o menu fixo ficar preso dentro do cabeçalho */
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-toggle { display: block; }
  .header__phone { display: flex; margin-left: auto; }
  .header__phone + .nav-toggle { margin-left: 0; }
  .nav {
    position: fixed; top: var(--nav-top, var(--header-h)); left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 16px 20px 32px; gap: 2px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__cta { margin: 16px 0 0; padding: 1em; }
  body.nav-open .nav-toggle .i-open { display: none; }
  body.nav-open .nav-toggle .i-close { display: block; }
  body.nav-open { overflow: hidden; }

  .slider { height: 560px; }
  .slide__content { padding-bottom: 90px; }
  .hero__form-wrap { position: relative; left: auto; transform: none; display: block; pointer-events: auto; margin-top: -40px; padding-bottom: 40px; }
  .hero { padding-bottom: 0; background: linear-gradient(var(--navy-950) 0 50%, var(--blue-50) 50%); }
  .quote { width: 100%; max-width: 640px; margin: 0 auto; }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .feature__grid, .feature__grid--rev, .about, .contact { grid-template-columns: 1fr; gap: 48px; }
  .feature__grid--rev .feature__visual { order: 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__grid div:nth-child(3) { border-left: 0; }
  .trust__grid div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .topbar .hide-sm { display: none; }
  .topbar__inner { font-size: .76rem; }
  .brand img { height: 34px; }
  .header__phone span { display: none; }
  .section { padding: 72px 0; }
  .slider { height: 600px; }
  .slide::before { background: linear-gradient(180deg, rgba(7,10,36,.55) 0%, rgba(7,10,36,.9) 55%, rgba(7,10,36,.96) 100%); }
  .slide { align-items: flex-end; }
  .slide__content { padding-bottom: 100px; }
  .slide p { font-size: 1rem; }
  .slide__actions .btn { flex: 1 1 auto; }
  .slider__controls { bottom: 56px; }
  .quote { padding: 22px 18px 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .cards { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .phone-mock { width: 250px; }
  .ia-inset { right: 8px; bottom: -24px; }
  .totem-photo::before { inset: 30px -12px -16px 30px; }
  .wa-float { right: 16px; bottom: 16px; height: 58px; min-width: 58px; }
  .wa-float__icon { width: 30px; height: 30px; }
  .about__brand { padding: 40px 24px; }
}

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