/* ============================================================
   EC Eletro Construções — Design System
   Paleta extraída do logotipo: navy #152741 · laranja #FB8909
   ============================================================ */

:root {
  --navy: #152741;
  --navy-deep: #0B1C31;
  --navy-900: #081525;
  --orange: #FB8909;
  --orange-600: #E07700;
  --orange-soft: #FFF3E4;
  --ink: #223349;
  --muted: #5B6B7E;
  --line: #E5EAF0;
  --bg: #FFFFFF;
  --bg-tint: #F5F8FA;
  --sky: #DFEDF6;
  --font-head: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-1: 0 1px 2px rgba(11, 28, 49, .05), 0 10px 28px -14px rgba(11, 28, 49, .14);
  --shadow-2: 0 2px 4px rgba(11, 28, 49, .07), 0 20px 44px -18px rgba(11, 28, 49, .25);
  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; background: none; border: 0; cursor: pointer; padding: 0; color: inherit; }

::selection { background: var(--orange); color: #fff; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--orange);
  color: #14213A;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 10px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Ícones ---------- */
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--orange);
  color: #14213A;
}
.btn--primary:hover {
  background: var(--orange-600);
  box-shadow: 0 12px 26px -12px rgba(251, 137, 9, .65);
}

.btn--ghost {
  color: var(--navy);
  border-color: rgba(21, 39, 65, .28);
  background: rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--navy); background: #fff; }

.btn--ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.btn--outline {
  color: var(--navy);
  border-color: rgba(21, 39, 65, .25);
  background: #fff;
}
.btn--outline:hover { color: var(--orange-600); border-color: var(--orange); }

.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 17px 32px; font-size: 16px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.header.is-scrolled {
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(21, 39, 65, .07), 0 8px 24px -18px rgba(11, 28, 49, .25);
}
.header.is-scrolled:has(+ main .sequence:hover) { /* evita escurecer sobre a hero quando transparente não se aplica */ }

.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 46px; width: auto; }
.brand__logo--white { display: none; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 26px; }
.nav__link {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
  padding: 6px 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 10px;
}
.header__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .25s var(--ease), opacity .2s, background-color .25s;
}
.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(2) { opacity: 0; }
.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sequência / Hero ---------- */
.sequence { position: relative; height: 460vh; }

.sequence__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: linear-gradient(180deg, #DFEDF6 0%, #EAF1F4 55%, #E9EDE6 100%);
}

.sequence__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transition: opacity .6s var(--ease);
}
.sequence__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity .45s var(--ease);
  transform: translateZ(0);
}
.sequence__canvas.is-ready { opacity: 1; }
.sequence.is-live .sequence__fallback { opacity: 0; }

.sequence__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 28, 49, .34) 0%, rgba(11, 28, 49, .10) 30%, rgba(11, 28, 49, 0) 55%);
}

.stage-content {
  position: absolute;
  z-index: 3;
  left: clamp(20px, 7vw, 110px);
  right: clamp(20px, 4vw, 48px);
  top: 50%;
  transform: translateY(calc(-50% + var(--shift, 0px)));
  max-width: 580px;
  will-change: opacity, transform;
}
.stage-content--hero { max-width: none; }
/* o container impõe width:100% — aqui a caixa deve respeitar left/right */
.stage-content--hero.container { width: auto; }

/* escudo sutil de legibilidade atrás dos textos sobre a imagem */
@media (min-width: 860px) {
  .stage-content::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -56px -110px -72px -48px;
    background: radial-gradient(125% 115% at 0% 50%,
      rgba(228, 240, 248, .94) 0%,
      rgba(228, 240, 248, .60) 48%,
      rgba(228, 240, 248, 0) 78%);
    pointer-events: none;
  }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-600);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.15rem, 4.6vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--navy);
  margin-top: 18px;
}
.hero-sub {
  margin-top: 20px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  color: rgba(21, 39, 65, .82);
  max-width: 52ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(21, 39, 65, .75);
}
.hero-trust .icon { width: 18px; height: 18px; color: var(--orange-600); }

/* Estágios narrativos */
.stage-block {
  max-width: 520px;
  opacity: 0;
  pointer-events: none;
}
.stage-block.is-active { pointer-events: auto; }

.stage-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 14px;
}
.stage-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.1vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--navy);
}
.stage-text {
  margin-top: 16px;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.65;
  color: rgba(21, 39, 65, .82);
}
.stage-list {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.stage-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.stage-list li.on { opacity: 1; transform: none; }
.stage-list .icon { width: 19px; height: 19px; color: var(--orange-600); }
.stage-cta { margin-top: 24px; }

/* Indicadores */
.sequence__dots {
  position: absolute;
  z-index: 4;
  right: clamp(20px, 4vw, 48px);
  bottom: 30px;
  display: flex;
  gap: 10px;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .25);
  transition: transform .2s var(--ease), background-color .2s, border-color .2s;
  box-shadow: 0 1px 4px rgba(11, 28, 49, .3);
}
.dot:hover { transform: scale(1.25); }
.dot.active {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.2);
}

.scroll-hint {
  position: absolute;
  z-index: 4;
  left: clamp(20px, 7vw, 110px);
  bottom: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.scroll-hint__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(21, 39, 65, .6);
}
.scroll-hint__line {
  width: 2px;
  height: 34px;
  border-radius: 2px;
  background: rgba(21, 39, 65, .18);
  position: relative;
  overflow: hidden;
}
.scroll-hint__line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 100%;
  height: 40%;
  border-radius: 2px;
  background: var(--orange);
  animation: hint-slide 1.8s var(--ease) infinite;
}
@keyframes hint-slide {
  0% { top: -40%; }
  60%, 100% { top: 110%; }
}

/* ---------- Faixa de confiança ---------- */
.trustbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.trustbar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 24px;
  padding-block: 8px;
}
.trustbar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 16px;
  font-size: 14px;
  color: var(--navy);
}
.trustbar__item strong { font-weight: 600; }
.trustbar__item .icon { color: var(--orange-600); width: 21px; height: 21px; }

/* ---------- Seções ---------- */
.section { padding: clamp(76px, 9vw, 124px) 0; }
.section--tint { background: var(--bg-tint); }
.section--navy {
  background: var(--navy-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section--navy::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 137, 9, .12) 0%, rgba(251, 137, 9, 0) 65%);
  pointer-events: none;
}

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -.018em;
  color: var(--navy);
  margin-top: 16px;
}
.section-sub {
  margin-top: 16px;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: var(--muted);
  max-width: 62ch;
}
.section-head--light .section-title { color: #fff; }
.section-head--light .section-sub { color: rgba(255, 255, 255, .72); }
.section-head--light { margin-inline: auto; text-align: center; }
.section-head--light .eyebrow { justify-content: center; }

/* ---------- Serviços ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 137, 9, .55);
  box-shadow: var(--shadow-1);
}
.service-card__media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-tint);
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}
.service-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.service-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--orange-soft);
  color: var(--orange-600);
  flex-shrink: 0;
}
.service-card__icon .icon { width: 22px; height: 22px; }
.service-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}
.service-card__body > p { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }

.service-card__list { display: grid; gap: 9px; }
.service-card__list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--ink);
}
.service-card__list li::before,
.sys-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
}

.service-card__more { margin-top: auto; padding-top: 16px; }
.service-card__more summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange-600);
  cursor: pointer;
  list-style: none;
}
.service-card__more summary::-webkit-details-marker { display: none; }
.service-card__more summary .icon { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.service-card__more[open] summary .icon { transform: rotate(90deg); }
.service-card__more ul { display: grid; gap: 9px; margin: 12px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); }
.service-card__more ul li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--muted);
}

/* Faixa de segurança — Nossas soluções */
.services-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 22px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.services-note:hover {
  border-color: rgba(251, 137, 9, .45);
  box-shadow: var(--shadow-1);
}
.services-note__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-600);
  flex-shrink: 0;
}
.services-note__icon .icon { width: 21px; height: 21px; }
.services-note__text strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
}
.services-note__text p {
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Modos de contratar ---------- */
.modes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.mode-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(26px, 3.5vw, 38px);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.mode-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.mode-card--featured {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: #fff;
}
.mode-card__tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 20px;
}
.mode-card__tag--orange {
  color: #14213A;
  background: var(--orange);
  border-color: var(--orange);
}
.mode-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  line-height: 1.25;
  margin-bottom: 12px;
}
.mode-card p { font-size: 15.5px; color: var(--muted); max-width: 48ch; }
.mode-card--featured p { color: rgba(255, 255, 255, .78); }
.mode-card .btn { margin-top: 26px; }

/* ---------- Assistência técnica (blueprint) ---------- */
.plan-section {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 10vw, 148px) 0;
  background:
    linear-gradient(180deg, rgba(11, 28, 49, .35) 0%, rgba(11, 28, 49, 0) 28%, rgba(11, 28, 49, .30) 60%, rgba(11, 28, 49, .88) 86%, #0B1C31 100%),
    linear-gradient(90deg, #0B1C31 0%, #0B1C31 38%, rgba(11, 28, 49, .88) 53%, rgba(11, 28, 49, .34) 71%, rgba(11, 28, 49, .26) 84%, rgba(11, 28, 49, .44) 100%),
    url('../public/images/planta.png') center right / cover no-repeat,
    #0B1C31;
}

.plan-section__inner { position: relative; z-index: 2; }

.plan-section__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -.018em;
  color: #fff;
  margin-top: 16px;
  max-width: 24ch;
}
.br-lg { display: none; }

.plan-section__sub {
  margin-top: 18px;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.68;
  color: rgba(210, 224, 238, .88);
  max-width: 46ch;
}

.visit-badge {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 38px;
}
.visit-badge__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid rgba(251, 137, 9, .65);
  background: rgba(251, 137, 9, .08);
  color: var(--orange);
  flex-shrink: 0;
  box-shadow: 0 0 0 5px rgba(251, 137, 9, .05);
}
.visit-badge__icon .icon { width: 23px; height: 23px; }
.visit-badge__text strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.06rem;
  color: #fff;
}
.visit-badge__text p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(198, 213, 228, .82);
  max-width: 30ch;
}

/* Marcadores técnicos sobre a planta (decorativos) */
.plan-hotspots {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  display: none;
}
.hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 11px;
  pointer-events: auto;
}
.hotspot__dot {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  box-shadow:
    0 0 0 5px rgba(251, 137, 9, .16),
    0 0 24px rgba(251, 137, 9, .45),
    0 8px 20px rgba(4, 12, 22, .45);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.hotspot__dot .icon { width: 21px; height: 21px; }
.hotspot__label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  max-width: 120px;
  text-shadow: 0 1px 10px rgba(7, 18, 32, .9), 0 0 4px rgba(7, 18, 32, .7);
}
.hotspot:hover .hotspot__dot {
  transform: scale(1.06);
  box-shadow:
    0 0 0 7px rgba(251, 137, 9, .20),
    0 0 32px rgba(251, 137, 9, .55),
    0 8px 20px rgba(4, 12, 22, .45);
}

/* Cards dos sistemas */
.sys-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: clamp(44px, 6vw, 68px);
}
.sys-card {
  background: rgba(13, 31, 54, .74);
  border: 1px solid rgba(125, 175, 225, .20);
  border-radius: 14px;
  padding: 26px 24px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform .22s var(--ease), border-color .22s var(--ease), background-color .22s var(--ease);
}
.sys-card:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 175, 225, .45);
  background: rgba(17, 37, 63, .80);
}
.sys-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--orange);
}
.sys-card__head .icon { width: 24px; height: 24px; }
.sys-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.04rem;
  line-height: 1.3;
  color: #fff;
}
.sys-card ul { display: grid; gap: 10px; }
.sys-card ul li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.5;
  color: #D6E0EB;
}

.plan-section__note {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  padding: 16px 20px;
  background: rgba(13, 31, 54, .62);
  border: 1px solid rgba(251, 137, 9, .30);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 13.5px;
  line-height: 1.6;
  color: #C9D6E2;
}
.plan-section__note .icon {
  width: 18px;
  height: 18px;
  color: var(--orange);
  margin-top: 2px;
}

/* ---------- Relatório (blueprint claro) ---------- */
.report-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .68)),
    url('../public/images/fundo-relatorio.png') center / cover no-repeat,
    var(--bg-tint);
}
.report {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.report__points {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}
.report__points li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.rp-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(251, 137, 9, .55);
  color: var(--orange-600);
  background: rgba(251, 137, 9, .06);
  flex-shrink: 0;
}
.rp-icon .icon { width: 17px; height: 17px; }
.report__points strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.report__points small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}
.report__note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 12px 20px;
  background: #FFF9F0;
  border: 1px solid rgba(251, 137, 9, .3);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}
.report__note .icon { width: 16px; height: 16px; color: var(--orange-600); }
.report__visual { display: flex; justify-content: center; }

.report-card {
  width: min(620px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-2);
  overflow: hidden;
  transition: transform .3s var(--ease);
}
.report__visual:hover .report-card { transform: translateY(-4px); }
.report-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.report-card__id { display: flex; align-items: center; gap: 12px; }
.report-card__doc {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  flex-shrink: 0;
}
.report-card__doc .icon { width: 18px; height: 18px; }
.report-card__label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
}
.report-card__meta { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.report-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #1B7A3F;
  background: #E8F7EE;
  border-radius: 999px;
  padding: 6px 12px;
  white-space: nowrap;
}
.report-card__badge .icon { width: 12px; height: 12px; }

.report-card__stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.rstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 0 6px;
}
.rstat + .rstat { border-left: 1px solid var(--line); }
.rstat b {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 21px;
  color: var(--navy);
  line-height: 1;
}
.rstat__label { font-size: 10.5px; line-height: 1.3; color: var(--muted); }
.rstat__ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: conic-gradient(#27A163 0 87%, #E7ECF1 87% 100%);
  display: grid;
  place-items: center;
  position: relative;
}
.rstat__ring::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
}
.rstat__ring b { position: relative; font-size: 12.5px; }
@media (max-width: 560px) {
  .report-card__stats { grid-template-columns: repeat(3, 1fr); row-gap: 16px; }
  .rstat:nth-child(4) { border-left: 0; }
}

.report-card__areas { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.report-card__subtitle {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #B9C5D3;
  margin-bottom: 12px;
}
.area {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
}
.area + .area { border-top: 1px dashed var(--line); }
.area__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--orange-soft);
  color: var(--orange-600);
  flex-shrink: 0;
}
.area__icon .icon { width: 16px; height: 16px; }
.area__main { flex: 1; min-width: 0; }
.area__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.area__top strong { font-size: 14px; font-weight: 600; color: var(--ink); }
.area__top em {
  font-style: normal;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12.5px;
  color: var(--navy);
}
.bar {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: #E9EDF2;
  overflow: hidden;
  margin-top: 7px;
}
.bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), #FFB25E);
  transition: width 1s var(--ease) .25s;
}
.bar--ok i { background: linear-gradient(90deg, #27A163, #3DBE7C); }
.bar--warn i { background: linear-gradient(90deg, #F5A623, #FFC24B); }
.reveal.in .bar i { width: var(--w); }
.area__items { margin-top: 6px; font-size: 11.5px; color: var(--muted); }
.area__status {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
}

.report-card__before { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.before-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) {
  .before-groups { grid-template-columns: 1fr; }
}
.before-group__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 8px;
}
.before-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
}
.before-pair figure { margin: 0; }
.before-pair img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.before-pair figcaption {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
}
.before-sep {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-600);
  flex-shrink: 0;
}
.before-sep .icon { width: 12px; height: 12px; }

.report-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 22px;
  font-size: 12.5px;
  color: var(--muted);
  background: #FAFBFC;
}
.report-card__foot-info { display: flex; align-items: center; gap: 8px; }
.report-card__foot-info .icon { width: 16px; height: 16px; color: var(--orange-600); }
.report-card__pdf {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  background: var(--navy);
  border-radius: 999px;
  padding: 8px 16px;
}
.report-card__pdf .icon { width: 13px; height: 13px; }

/* ---------- Como funciona ---------- */
.how-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .40) 0%, rgba(255, 255, 255, .58) 100%),
    url('../public/images/fundo-como-funciona.png') center / cover no-repeat,
    var(--bg-tint);
}
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px 24px;
  margin-top: clamp(40px, 6vw, 64px);
}
.step { position: relative; }
.step__top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-bottom: -30px;
}
.step__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 88px;
  height: 88px;
  transform: translate(-50%, -54%) rotate(-40deg);
  border: 2px solid var(--orange);
  border-radius: 50%;
  border-bottom-color: transparent;
  opacity: .85;
}
.step__circle {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-1);
  color: var(--orange-600);
}
.step__circle .icon { width: 27px; height: 27px; }
.step__card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 46px 22px 26px;
  text-align: center;
  height: 100%;
  box-shadow: 0 1px 2px rgba(11, 28, 49, .04);
}
.step h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}
.step__card p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

@media (min-width: 640px) and (max-width: 1099px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 31px;
    left: calc(50% + 52px);
    right: calc(-50% + 30px);
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='12' viewBox='0 0 30 12'%3E%3Cpath d='M2 1l5 5-5 5M11 1l5 5-5 5M20 1l5 5-5 5' fill='none' stroke='%23FB8909' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") repeat-x left center / 30px 12px;
    opacity: .8;
  }
}

/* ---------- Fluxo animado — Como funciona (js/steps-flow.js) ---------- */
.step__progress {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 88px;
  height: 88px;
  transform: translate(-50%, -54%) rotate(-90deg);
  overflow: visible;
}
.step__progress-bar {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.75;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 101;
  opacity: 0;
  transition: stroke-dashoffset 1s var(--ease), opacity .18s ease;
}
.step.is-loading .step__progress-bar,
.step.is-done .step__progress-bar {
  opacity: 1;
  stroke-dashoffset: 0;
}
/* com o fluxo animado ativo, o arco laranja é o único contorno do círculo */
.steps[data-flow] .step__ring { display: none; }

/* Check de conclusão — empilhado no ícone, sem alterar layout */
.step__circle > * { grid-area: 1 / 1; }
.step__circle .icon { transition: opacity .22s ease, transform .22s ease; }
.step__check {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--orange-600);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  opacity: 0;
  transform: scale(.85);
  transition: stroke-dashoffset .38s var(--ease), opacity .22s ease, transform .22s ease;
}
.step.is-done .step__circle .icon { opacity: 0; transform: scale(.72); }
.step.is-done .step__check {
  opacity: 1;
  stroke-dashoffset: 0;
  transform: scale(1);
}

/* Pulso laranja ao fundo do card — ativa junto com o check */
.step__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 90% at 50% 14%, rgba(251, 137, 9, .13) 0%, rgba(251, 137, 9, 0) 68%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.step.is-done .step__card::before {
  opacity: 1;
  animation: card-pulse 2.4s ease-in-out infinite;
}
@keyframes card-pulse {
  0%, 100% { opacity: .35; }
  50% { opacity: 1; }
}

/* Conector animado — as setas só existem quando a animação as ativa */
.step__flow {
  position: absolute;
  z-index: 1;
  top: 31px;
  left: calc(50% + 52px);
  right: calc(-50% + 30px);
  height: 12px;
  display: none;
  align-items: center;
  justify-content: space-between;
}
.steps[data-flow] .step:not(:last-child)::after { content: none; }
@media (min-width: 1100px) {
  .steps[data-flow] .step__flow { display: flex; }
}
.step__flow i {
  width: 9px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='12' viewBox='0 0 9 12'%3E%3Cpath d='M2 1l5 5-5 5' fill='none' stroke='%23FB8909' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
}
.step__flow i.is-lit { opacity: 1; transform: scale(1.22); }
.step__flow.is-done i { opacity: 1; transform: none; }

/* Barra de ação — Como funciona */
.steps-cta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: clamp(44px, 6vw, 64px);
  padding: 22px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(11, 28, 49, .04);
}
.steps-cta__item { display: flex; align-items: center; gap: 14px; }
.steps-cta__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-600);
  flex-shrink: 0;
}
.steps-cta__icon .icon { width: 22px; height: 22px; }
.steps-cta__icon--outline {
  background: #fff;
  border: 1.5px solid rgba(125, 175, 225, .5);
  color: var(--navy);
}
.steps-cta__text strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
}
.steps-cta__text p {
  margin-top: 3px;
  font-size: 13.5px;
  color: var(--muted);
}
.steps-cta .btn { align-self: center; }
@media (min-width: 900px) {
  .steps-cta { flex-direction: row; align-items: center; justify-content: space-between; }
  .steps-cta__item:first-child { order: 1; }
  .steps-cta .btn { order: 2; }
  .steps-cta__item--divider { order: 3; border-left: 1px solid var(--line); padding-left: 26px; }
}

/* ---------- Planos (blueprint de fundo) ---------- */
.plans-section {
  background:
    linear-gradient(180deg, rgba(11, 28, 49, .82) 0%, rgba(11, 28, 49, .72) 50%, rgba(11, 28, 49, .86) 100%),
    url('../public/images/fundo-planos.png') center / cover no-repeat,
    var(--navy-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
/* Desktop: fundo ancorado ao viewport — expandir a tabela não reescala a imagem */
@media (min-width: 900px) and (hover: hover) {
  .plans-section { background-attachment: scroll, fixed; }
}

/* Jornada de cuidado */
.plans-journey {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto 26px;
}
.plans-journey li { display: flex; align-items: center; gap: 12px; }
.plans-journey__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(143, 184, 224, .45);
  color: #8FB8E0;
  background: rgba(143, 184, 224, .06);
  flex-shrink: 0;
}
.plans-journey__icon .icon { width: 19px; height: 19px; }
.plans-journey p {
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .88);
  max-width: 190px;
}
@media (min-width: 768px) {
  .plans-journey { flex-direction: row; justify-content: space-between; gap: 0; margin-bottom: 30px; }
  .plans-journey li { flex: 0 1 auto; }
  .plans-journey li:not(:last-child)::after {
    content: "";
    flex: 1;
    height: 2px;
    margin: 0 18px;
    background: repeating-linear-gradient(90deg, rgba(143, 184, 224, .65) 0 7px, transparent 7px 14px);
  }
}

/* Todos os planos incluem */
.plans-included {
  max-width: 780px;
  margin: 0 auto 38px;
  padding: 16px 24px;
  background: rgba(13, 31, 54, .65);
  border: 1px solid rgba(125, 175, 225, .22);
  border-radius: 14px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.plans-included__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--orange);
}
.plans-included__label .icon { width: 16px; height: 16px; }
.plans-included__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 12px;
}
.plans-included__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(228, 238, 248, .92);
}
.plans-included__list .icon { width: 15px; height: 15px; color: var(--orange); }

.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(13, 31, 54, .72);
  border: 1px solid rgba(125, 175, 225, .22);
  border-radius: 16px;
  padding: 28px 26px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}
.plan:hover { transform: translateY(-5px); border-color: rgba(251, 137, 9, .55); }
.plan--featured {
  border-color: var(--orange);
  background: rgba(20, 41, 68, .88);
  padding-top: 54px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}
.plan__tag {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--orange);
  color: #14213A;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 9px 10px;
  border-radius: 15px 15px 0 0;
}
.plan__tag .icon { width: 12px; height: 12px; }
.plan__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.plan__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid rgba(143, 184, 224, .5);
  color: #8FB8E0;
  background: rgba(143, 184, 224, .08);
  flex-shrink: 0;
}
.plan__icon .icon { width: 22px; height: 22px; }
.plan--featured .plan__icon {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.plan__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}
.plan__price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.1rem, 3vw, 2.5rem);
  line-height: 1;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.plan__prefix { font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: rgba(255, 255, 255, .7); }
.plan__period { font-family: var(--font-body); font-size: .95rem; font-weight: 500; color: rgba(255, 255, 255, .6); }
.plan__desc { margin-top: 14px; font-size: 14.5px; color: rgba(255, 255, 255, .75); }
.plan__features {
  display: grid;
  gap: 10px;
  margin: 22px 0 28px;
}
.plan__features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .88);
}
.plan__features .icon { width: 16px; height: 16px; color: var(--orange); margin-top: 3px; }
.plan__cta { margin-top: auto; }
.plan .btn { width: 100%; }
.plans-note {
  margin-top: 30px;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  max-width: 74ch;
}
.plans-noscript { color: #fff; }

/* Comparativo de planos */
.plans-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 28px;
  padding: clamp(24px, 3.5vw, 40px);
  background: rgba(13, 31, 54, .55);
  border: 1px solid rgba(125, 175, 225, .20);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
@media (min-width: 900px) {
  .plans-compare { grid-template-columns: 300px 1fr; align-items: center; }
}
.plans-compare__badge {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid rgba(251, 137, 9, .6);
  color: var(--orange);
  background: rgba(251, 137, 9, .07);
}
.plans-compare__badge .icon { width: 24px; height: 24px; }
.plans-compare__intro h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  color: #fff;
  margin-top: 16px;
}
.plans-compare__intro p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(210, 224, 238, .75);
}
.plans-compare__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--orange);
  font-weight: 700;
  font-size: 14px;
}
.plans-compare__toggle .icon { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.plans-compare__toggle[aria-expanded="true"] .icon { transform: rotate(90deg); }
.plans-compare__wrap { overflow-x: auto; }
.plans-compare__table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 13.5px;
}
.plans-compare__table th,
.plans-compare__table td {
  padding: 12px 14px;
  text-align: center;
  border-bottom: 1px solid rgba(125, 175, 225, .14);
}
.plans-compare__table thead th {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .85);
}
.plans-compare__table thead th:first-child { text-align: left; }
.plans-compare__table .col-destaque { color: var(--orange); }
.plans-compare__table tbody td { color: rgba(255, 255, 255, .85); }
.plans-compare__table tbody tr:last-child td { border-bottom: 0; }
.plans-compare__table td .icon { width: 16px; height: 16px; color: var(--orange); }
.plans-compare__table .benef {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  color: #DCE6F0;
}
.plans-compare__table .benef .icon { color: #8FB8E0; flex-shrink: 0; }
.plans-compare__table .no { color: rgba(255, 255, 255, .35); }
.plans-compare__table tr.is-extra { display: none; }
.plans-compare__table.is-expanded tr.is-extra { display: table-row; }

/* Mobile: tabela compacta, sem barra de rolagem visível */
@media (max-width: 640px) {
  .plans-compare__table { min-width: 0; font-size: 12.5px; }
  .plans-compare__wrap {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .plans-compare__wrap::-webkit-scrollbar { display: none; }
  .plans-compare__table th,
  .plans-compare__table td { padding: 10px 8px; }
  .plans-compare__table thead th { font-size: 10.5px; padding-inline: 6px; }
  .plans-compare__table .benef { gap: 6px; }
  .plans-compare__table td .icon { width: 14px; height: 14px; }
}

/* ---------- Para quem é ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.audience {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.audience:hover {
  transform: translateY(-3px);
  border-color: rgba(251, 137, 9, .45);
  box-shadow: var(--shadow-1);
}
.audience__media {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-tint);
}
.audience__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.audience:hover .audience__media img { transform: scale(1.05); }
.audience__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 22px;
}
.audience__body > .icon {
  color: var(--orange-600);
  width: 23px;
  height: 23px;
  margin-bottom: 12px;
}
.audience h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.audience p { font-size: 14px; color: var(--muted); }

/* ---------- Diferenciais (blueprint claro) ---------- */
.diff-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .68)),
    url('../public/images/fundo-diferencial.png') center / cover no-repeat,
    var(--bg-tint);
}
.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.diff {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(11, 28, 49, .04);
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.diff::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 3px;
  background: var(--orange);
}
.diff:hover { transform: translateY(-3px); border-color: rgba(251, 137, 9, .45); box-shadow: var(--shadow-1); }
.diff__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.diff__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--orange-soft);
  color: var(--orange-600);
  flex-shrink: 0;
}
.diff__icon .icon { width: 21px; height: 21px; }
.diff h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--navy);
}
.diff p { font-size: 14px; line-height: 1.6; color: var(--muted); }

.diff--large {
  grid-column: 1 / -1;
  order: -1;
  background:
    linear-gradient(90deg, #fff 0%, #fff 40%, rgba(255, 255, 255, .55) 60%, rgba(255, 255, 255, 0) 82%),
    url('../public/images/fundo-card-segurança.png') right center / cover no-repeat,
    #fff;
}
.diff--large p { max-width: 44ch; }

@media (min-width: 640px) {
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .diff-grid { grid-template-columns: repeat(4, 1fr); }
  .diff--large { grid-column: 1 / span 3; grid-row: 1; }
  .diff--atend { grid-column: 4; grid-row: 1; }
}

/* Faixa de confiança — Diferenciais */
.diff-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  row-gap: 12px;
  margin-top: 24px;
  padding: 16px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(11, 28, 49, .04);
}
.diff-strip__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-600);
  margin-right: 16px;
}
.diff-strip__icon .icon { width: 19px; height: 19px; }
.diff-strip p {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  padding: 0 26px;
}
.diff-strip p + p { border-left: 1px solid var(--line); }
@media (max-width: 700px) {
  .diff-strip { flex-direction: column; align-items: flex-start; }
  .diff-strip__icon { margin-bottom: 2px; }
  .diff-strip p { padding: 0; }
  .diff-strip p + p { border-left: 0; padding-top: 10px; }
}

/* ---------- Sobre (com foto da equipe) ---------- */
.about-section {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 10vw, 140px) 0;
  background: var(--navy-deep);
}
.about-section__photo {
  position: absolute;
  top: 0;
  right: 0;
  width: min(66%, 960px);
  height: 100%;
  object-fit: cover;
  object-position: 85% top;
  z-index: 0;
}
.about-section__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11, 28, 49, .15) 0%, rgba(11, 28, 49, 0) 30%, rgba(11, 28, 49, 0) 74%, rgba(11, 28, 49, .30) 100%),
    linear-gradient(90deg, #0B1C31 0%, #0B1C31 30%, rgba(11, 28, 49, .48) 48%, rgba(11, 28, 49, 0) 64%);
}
.about-section__inner { position: relative; z-index: 2; }
.about-panel { max-width: 540px; }

.about-section__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -.018em;
  color: #fff;
  margin-top: 16px;
}
.about-section__lead {
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(206, 220, 234, .9);
}
.about-section__rule {
  border: 0;
  border-top: 1px solid rgba(125, 175, 225, .25);
  margin: 30px 0;
}

.about-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 26px clamp(22px, 3vw, 40px);
}
.about-facts li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 150px;
}
.about-facts__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(251, 137, 9, .6);
  background: rgba(251, 137, 9, .06);
  color: var(--orange);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.about-facts li:hover .about-facts__icon {
  border-color: var(--orange);
  box-shadow: 0 0 18px rgba(251, 137, 9, .25);
}
.about-facts__icon .icon { width: 21px; height: 21px; }
.about-facts strong {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}
.about-facts small {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(198, 213, 228, .78);
}

.about-mv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
}
.about-mv > div {
  border-left: 2px solid rgba(251, 137, 9, .5);
  padding-left: 14px;
}
.about-mv h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
}
.about-mv p {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(198, 213, 228, .8);
}

.about-values__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
}
.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 16px clamp(14px, 1.8vw, 22px);
  margin-top: 18px;
}
.about-values li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, .88);
  transition: color .2s var(--ease);
}
.about-values li:hover { color: #fff; }
.about-values .icon {
  width: 20px;
  height: 20px;
  color: var(--orange);
  transition: transform .2s var(--ease);
}
.about-values li:hover .icon { transform: translateY(-2px); }

/* ---------- CTA final (mapa RN) ---------- */
.cta-final {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(720px 320px at 18% -60px, rgba(251, 137, 9, .12), rgba(251, 137, 9, 0) 70%),
    var(--navy-deep);
  color: #fff;
  padding: clamp(84px, 10vw, 130px) 0 clamp(56px, 7vw, 90px);
}
.cta-final__inner { position: relative; z-index: 2; }
@media (min-width: 900px) {
  .cta-final__inner {
    min-height: 430px;
    display: flex;
    align-items: center;
  }
}
.cta-final__content { max-width: 540px; }
.cta-final__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.95rem, 3.6vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #fff;
  margin-top: 16px;
}
.cta-final__sub {
  margin-top: 18px;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, .78);
}
.cta-final__loc {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}
.cta-final__loc-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(143, 184, 224, .5);
  color: #8FB8E0;
  background: rgba(143, 184, 224, .08);
  flex-shrink: 0;
}
.cta-final__loc-icon .icon { width: 20px; height: 20px; }
.cta-final__loc strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15.5px;
  color: #fff;
}
.cta-final__loc p {
  margin-top: 3px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .72);
}
.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.cta-final__actions .icon { width: 17px; height: 17px; }
.cta-final__actions .icon--fill { width: 18px; height: 18px; }
.cta-final__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.cta-final__trust li {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .82);
}
.cta-final__trust .icon { width: 17px; height: 17px; color: var(--orange); }

/* Mapa RN */
.cta-map {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 56%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}
.cta-map::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(90deg, rgba(11, 28, 49, .92) 0%, rgba(11, 28, 49, 0) 48%);
  pointer-events: none;
}
.cta-map__frame {
  position: relative;
  width: min(100%, 640px);
  aspect-ratio: 3 / 2;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(125, 175, 225, .25);
  box-shadow: var(--shadow-2);
  pointer-events: auto;
}
/* Dica de zoom — aparece no hover, some quando o zoom por scroll está ativo */
.cta-map__frame::after {
  content: "Clique para ativar o zoom";
  position: absolute;
  z-index: 500;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(8, 21, 37, .82);
  color: rgba(255, 255, 255, .9);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}
.cta-map__frame:hover::after { opacity: 1; }
.cta-map__frame.is-zoomable::after { opacity: 0; }
/* o container do conteúdo fica sobre o mapa — não pode bloquear o mouse */
.cta-final > .container { pointer-events: none; }
.cta-final > .container .cta-final__content,
.cta-final > .container .cta-strip { pointer-events: auto; }
.rn-map {
  width: 100%;
  height: 100%;
  background: var(--navy-900);
}
.rn-map::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 450;
  background: rgba(11, 28, 49, .14);
  pointer-events: none;
}
.rn-map .leaflet-tile-pane {
  filter: sepia(.45) saturate(1.6) hue-rotate(175deg) brightness(.62) contrast(1.32);
}
.rn-map .leaflet-control-attribution {
  background: rgba(11, 28, 49, .75);
  color: rgba(255, 255, 255, .45);
  font-size: 9.5px;
  padding: 2px 6px;
}
.rn-map .leaflet-control-attribution a { color: rgba(143, 184, 224, .85); }

/* Marcadores do mapa */
.rn-base, .rn-capital, .rn-city { white-space: nowrap; }
.rn-base { position: relative; }
.rn-base__dot {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 14px rgba(251, 137, 9, .65);
}
.rn-base__dot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid rgba(251, 137, 9, .5);
  animation: rn-pulse var(--pdur, 2.4s) var(--ease) infinite;
  animation-delay: var(--pd, 0s);
}
@keyframes rn-pulse {
  0% { transform: scale(.55); opacity: 1; }
  100% { transform: scale(1.9); opacity: 0; }
}
.rn-base__label {
  position: absolute;
  left: 15px;
  top: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-shadow: 0 1px 8px rgba(7, 18, 32, .9);
}
.rn-base__label strong {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
}
.rn-base__label small {
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(251, 177, 80, .95);
}
.rn-capital { position: relative; }
.rn-capital__dot {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, .25),
    0 0 14px rgba(255, 255, 255, .55);
}
.rn-capital__dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .45);
  animation: rn-pulse var(--pdur, 2.4s) var(--ease) infinite;
  animation-delay: var(--pd, 0s);
}
.rn-capital__label {
  position: absolute;
  left: 13px;
  top: 0;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 8px rgba(7, 18, 32, .9);
}
.rn-city {
  position: relative;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: rgba(255, 255, 255, .62);
  text-shadow: 0 1px 6px rgba(7, 18, 32, .9);
}
.rn-city__dot {
  position: relative;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .6);
}
.rn-city__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .4);
  animation: rn-pulse var(--pdur, 2.4s) var(--ease) infinite;
  animation-delay: var(--pd, 0s);
}
.cta-map__caption {
  margin-top: 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(143, 184, 224, .75);
}

/* Faixa inferior */
.cta-strip {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.cta-strip__item { display: flex; align-items: center; gap: 14px; }
.cta-strip__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid rgba(143, 184, 224, .45);
  color: #8FB8E0;
  background: rgba(143, 184, 224, .06);
  flex-shrink: 0;
}
.cta-strip__icon .icon { width: 20px; height: 20px; }
.cta-strip__text strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14.5px;
  color: #fff;
}
.cta-strip__text p {
  margin-top: 3px;
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
}
@media (min-width: 900px) {
  .cta-strip { flex-direction: row; justify-content: space-between; gap: 24px; }
  .cta-strip__item + .cta-strip__item {
    border-left: 1px solid rgba(255, 255, 255, .12);
    padding-left: 28px;
  }
}

/* Mapa no mobile: abaixo do conteúdo */
@media (max-width: 899px) {
  .cta-final {
    display: flex;
    flex-direction: column;
    padding-top: 68px;
  }
  .cta-final__inner { order: 1; }
  .cta-final > .container:last-child { order: 3; }
  .cta-map {
    order: 2;
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 44px;
  }
  .cta-final__content { max-width: none; }
}

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .75); }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  padding-block: 60px 44px;
}
.footer__logo { height: 52px; width: auto; }
.footer__brand p { margin-top: 14px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.footer__col h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 16px;
}
.footer__col ul { display: grid; gap: 10px; font-size: 14.5px; }
.footer__col a { color: rgba(255, 255, 255, .78); transition: color .18s; }
.footer__col a:hover { color: var(--orange); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}
.footer__bottom a {
  color: rgba(255, 255, 255, .78);
  transition: color .18s;
}
.footer__bottom a:hover { color: var(--orange); }

/* ---------- Botões flutuantes (WhatsApp / Instagram) ---------- */
.wa-float,
.ig-float {
  position: fixed;
  right: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  transform: translateY(90px);
  opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease), scale .2s var(--ease);
}
.wa-float {
  bottom: 20px;
  background: #25D366;
  box-shadow: 0 12px 28px -10px rgba(37, 211, 102, .65);
}
.ig-float {
  bottom: 88px;
  background: radial-gradient(circle at 28% 110%, #FFD776 0%, #F58529 22%, #E1306C 50%, #C13584 72%, #833AB4 100%);
  box-shadow: 0 12px 28px -10px rgba(225, 48, 108, .55);
}
.wa-float.is-visible,
.ig-float.is-visible { transform: translateY(0); opacity: 1; }
.wa-float:hover,
.ig-float:hover { scale: 1.07; }
.wa-float .icon,
.ig-float .icon { width: 27px; height: 27px; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVO
   ============================================================ */

@media (min-width: 560px) {
  .trustbar__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  .trustbar__grid { grid-template-columns: repeat(4, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .modes-grid { grid-template-columns: repeat(2, 1fr); }
  .report { grid-template-columns: 1fr 1fr; }
  .report__visual { justify-content: flex-end; }
  .plans-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}

@media (max-width: 1023px) {
  .nav__cta { display: none; }
  .nav__list { gap: 20px; }
}

@media (max-width: 859px) {
  /* Header mobile: painel */
  .header__toggle { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 28px clamp(20px, 6vw, 40px) 40px;
    background: var(--navy-deep);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s var(--ease), visibility 0s .3s;
  }
  body.menu-open .nav {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
  }
  body.menu-open .header { background: var(--navy-deep); }
  body.menu-open .brand__logo--color { display: none; }
  body.menu-open .brand__logo--white { display: block; height: 42px; }
  body.menu-open .header__toggle-bar { background: #fff; }
  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
  }
  .nav__link {
    font-family: var(--font-head);
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    padding: 12px 0;
    width: 100%;
  }
  .nav__link::after { display: none; }
  .nav__link:hover { color: var(--orange); }
  .nav__cta { display: inline-flex; margin-top: 20px; }

  /* Sequência mobile: casa preservada, textos acima */
  .stage-content {
    left: clamp(20px, 6vw, 40px);
    right: clamp(20px, 6vw, 40px);
    top: clamp(92px, 13svh, 150px);
    transform: translateY(var(--shift, 0px));
    max-width: 520px;
  }
  .sequence__scrim {
    background: linear-gradient(180deg, rgba(223, 237, 246, .92) 0%, rgba(223, 237, 246, .55) 38%, rgba(223, 237, 246, 0) 68%);
  }
  .sequence__fallback {
    object-fit: contain;
    object-position: center 64%;
  }
  .eyebrow { font-size: 10.5px; letter-spacing: .08em; }
  .eyebrow::before { display: none; }
  .hero-trust { font-size: 13px; }
  .sequence__dots { right: 50%; transform: translateX(50%); bottom: 24px; }
  .scroll-hint {
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    bottom: 52px;
  }
  .hero-actions .btn { flex: 1 1 auto; }
}

@media (min-width: 860px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .br-lg { display: inline; }
}

/* Tablet: blueprint preservado, overlays reforçados */
@media (max-width: 1099px) {
  .plan-section {
    background:
      linear-gradient(180deg, rgba(11, 28, 49, .48) 0%, rgba(11, 28, 49, .18) 30%, rgba(11, 28, 49, .48) 62%, rgba(11, 28, 49, .92) 86%, #0B1C31 100%),
      linear-gradient(90deg, rgba(11, 28, 49, .96) 0%, rgba(11, 28, 49, .82) 42%, rgba(11, 28, 49, .42) 74%, rgba(11, 28, 49, .55) 100%),
      url('../public/images/planta.png') 76% center / cover no-repeat,
      #0B1C31;
  }
}

/* Desktop: marcadores técnicos sobre a planta */
@media (min-width: 1100px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .sys-grid { grid-template-columns: repeat(4, 1fr); }
  .plan-hotspots { display: block; }
}

/* Mobile: planta perceptível sem poluição visual */
@media (max-width: 640px) {
  .plan-section {
    background:
      linear-gradient(180deg, rgba(11, 28, 49, .55) 0%, rgba(11, 28, 49, .30) 32%, rgba(11, 28, 49, .62) 64%, rgba(11, 28, 49, .94) 88%, #0B1C31 100%),
      linear-gradient(90deg, rgba(11, 28, 49, .97) 0%, rgba(11, 28, 49, .88) 40%, rgba(11, 28, 49, .55) 72%, rgba(11, 28, 49, .62) 100%),
      url('../public/images/planta.png') 72% center / cover no-repeat,
      #0B1C31;
  }
  .visit-badge__text p { max-width: none; }
}

/* Sobre: tablet — foto à direita com recorte reforçado */
@media (max-width: 1099px) {
  .about-section__photo { width: 74%; object-position: center top; }
  .about-section__scrim {
    background:
      linear-gradient(180deg, rgba(11, 28, 49, .25) 0%, rgba(11, 28, 49, 0) 30%, rgba(11, 28, 49, 0) 72%, rgba(11, 28, 49, .38) 100%),
      linear-gradient(90deg, #0B1C31 0%, #0B1C31 34%, rgba(11, 28, 49, .72) 52%, rgba(11, 28, 49, .10) 74%);
  }
}

/* Sobre: mobile — foto como fundo, painel legível */
@media (max-width: 768px) {
  .about-section__photo { width: 100%; object-position: 62% top; }
  .about-section__scrim {
    background: linear-gradient(180deg, rgba(11, 28, 49, .94) 0%, rgba(11, 28, 49, .86) 45%, rgba(11, 28, 49, .90) 100%);
  }
  .about-panel { max-width: none; }
}
@media (max-width: 480px) {
  .about-mv { grid-template-columns: 1fr; }
}

/* ============================================================
   MOVIMENTO REDUZIDO — experiência estática
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .scroll-hint { display: none; }
}

html.reduced-motion .sequence { height: auto; }
html.reduced-motion .sequence__sticky {
  position: relative;
  height: auto;
  overflow: visible;
  padding-top: var(--header-h);
}
html.reduced-motion .sequence__canvas,
html.reduced-motion .sequence__scrim,
html.reduced-motion .sequence__dots { display: none; }
html.reduced-motion .sequence__fallback {
  position: relative;
  height: auto;
  object-fit: contain;
  background: #DFEDF6;
}
html.reduced-motion .stage-content {
  position: relative;
  inset: auto;
  transform: none;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px clamp(20px, 6vw, 40px) 8px;
  opacity: 1 !important;
  pointer-events: auto;
}
html.reduced-motion .stage-list li { opacity: 1; transform: none; }
html.reduced-motion .scroll-hint { display: none; }

/* ============================================================
   PÁGINA INSTITUCIONAL — política de privacidade
   ============================================================ */
.legal { padding: calc(var(--header-h) + 56px) 0 80px; }

.legal__container { max-width: 820px; }

.legal h1 {
  font-family: var(--font-head);
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--navy);
  margin: 14px 0 10px;
  letter-spacing: -.02em;
}

.legal__meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal__body h2 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 36px 0 12px;
  letter-spacing: -.01em;
}

.legal__body p { margin: 0 0 14px; }

.legal__body ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 14px;
}

.legal__body li { margin-bottom: 6px; }

.legal__body a {
  color: var(--orange-600);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(224, 119, 0, .35);
  text-underline-offset: 3px;
}

.legal__body a:hover { text-decoration-color: var(--orange-600); }

.legal__card {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 20px 0 28px;
}
.legal__card p { margin: 0; }

.legal__back { margin-top: 48px; }
.legal__back a {
  color: var(--navy);
  font-weight: 600;
}
.legal__back a:hover { color: var(--orange-600); }

@media (max-width: 640px) {
  .legal { padding-top: calc(var(--header-h) + 32px); }
  .legal__card { padding: 18px; }
}


