/* ==========================================================================
   FBS CONDOMÍNIOS — IDENTIDADE VISUAL E DESIGN INSTITUCIONAL
   Segurança física e tecnologia predial para condomínios
   ========================================================================== */

@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/onest-400.woff2') format('woff2'), url('assets/onest-400.woff') format('woff');
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/onest-500.woff2') format('woff2'), url('assets/onest-500.woff') format('woff');
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/onest-600.woff2') format('woff2'), url('assets/onest-600.woff') format('woff');
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/onest-700.woff2') format('woff2'), url('assets/onest-700.woff') format('woff');
}

:root {
  --bg: #07131f;
  --surface: #0c1c2a;
  --surface-hover: #102434;
  --navy: #092233;
  --orange: #e2721b;
  --orange-hover: #ef7e29;
  --accent: #f49851;
  --white: #f6faff;
  --muted: #a6b5c3;
  --subtle: #738797;
  --line: rgba(255, 255, 255, 0.09);
  --line-light: rgba(255, 255, 255, 0.16);
  --font: Onest, Arial, Helvetica, sans-serif;
  /* Desaceleração exponencial: começa rápido, assenta sem ricochete. */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--white);
  background: var(--bg);
  font-family: var(--font);
  font-synthesis: none;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  scrollbar-color: #24394b var(--bg);
}

/* Superfícies do navegador também seguem a paleta. */
::selection {
  background: rgba(226, 114, 27, 0.4);
  color: var(--white);
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}


h1, h2, h3, p, figure {
  margin: 0;
}

h1, h2, h3 {
  text-wrap: pretty;
  font-weight: 600;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.25rem, 8vw, 3.4rem);
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.85rem, 6vw, 2.65rem);
  line-height: 1.18;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  flex-shrink: 0;
}

button, summary, a[href] {
  cursor: pointer;
}

a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  padding: 14px 20px;
  background: var(--white);
  color: var(--bg);
  font-weight: 600;
  border-radius: 6px;
  z-index: 1000;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 14px;
}

/* Eyebrow sóbrio e legível */
.eyebrow {
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}

/* Botão de Ação Primária — retangular, sem círculo gigante */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 6px;
  background: var(--orange);
  color: #07131f;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  /* transform fica livre para o efeito magnético do script; o toque usa scale. */
  transition: background-color 200ms ease, box-shadow 250ms ease, scale 160ms var(--ease-out);
}

.cta-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.cta:hover {
  background: var(--orange-hover);
}

/* Resposta ao toque em todos os botões: o principal ganho no celular. */
.cta:active,
.rental-link:active,
.nav-cta-link:active,
.text-link:active {
  scale: 0.97;
}

@media (hover: hover) and (pointer: fine) {
  .cta:hover {
    box-shadow: 0 12px 28px -14px rgba(226, 114, 27, 0.75);
  }

  /* A seta atravessa: sai pela direita e volta pela esquerda. */
  .cta:hover .cta-icon,
  .rental-link:hover svg {
    animation: arrow-pass 460ms var(--ease-out);
  }
}

@keyframes arrow-pass {
  0% { translate: 0; opacity: 1; }
  40% { translate: 10px; opacity: 0; }
  41% { translate: -10px; opacity: 0; }
  100% { translate: 0; opacity: 1; }
}

/* Link de texto elegante */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  transition: color 200ms ease, scale 160ms var(--ease-out);
}

.text-link svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  transition: transform 0.2s;
}

.text-link:hover {
  color: var(--white);
}

.text-link:hover svg {
  transform: translateX(3px);
}

/* Link CTA do nav desktop */
.nav-cta-link {
  padding: 9px 18px;
  border-radius: 5px;
  border: 1px solid rgba(226, 114, 27, 0.5);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background-color 200ms ease, color 200ms ease, scale 160ms var(--ease-out);
}

.nav-cta-link:hover {
  background: var(--orange);
  color: #07131f;
}

/* ==========================================================================
   CABEÇALHO INSTITUCIONAL LIMPO E PROPORCIONADO
   ========================================================================== */

.site-header {
  position: relative;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 185px;
  height: auto;
}

.desktop-nav {
  display: none;
}

/* Menu mobile nativo */
.mobile-menu {
  position: relative;
}

.mobile-menu summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-size: 0.875rem;
  font-weight: 500;
  list-style: none;
  color: var(--white);
  background: var(--surface);
}

.mobile-menu summary {
  -webkit-tap-highlight-color: transparent;
  transition: scale 160ms var(--ease-out), border-color 200ms ease;
}

.mobile-menu summary:active {
  scale: 0.97;
}

.mobile-menu[open] summary {
  border-color: var(--line-light);
}

/* As duas linhas do ícone se cruzam em um X quando o menu abre. */
.menu-bar {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 260ms var(--ease-out);
}

.mobile-menu[open] .menu-bar--top {
  transform: translateY(5px) rotate(45deg);
}

.mobile-menu[open] .menu-bar--bottom {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-menu nav {
  transform-origin: top right;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary::marker {
  content: '';
}

.mobile-menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 240px;
  padding: 12px;
  background: #0d2030;
  border: 1px solid var(--line-light);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  z-index: 60;
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 10px;
  font-size: 0.9375rem;
  color: var(--muted);
  border-radius: 6px;
}

.mobile-menu nav a {
  -webkit-tap-highlight-color: transparent;
  transition: background-color 150ms ease, color 150ms ease;
}

.mobile-menu nav a:active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

@media (hover: hover) {
  .mobile-menu nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
  }
}

.mobile-menu nav a + a {
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   ABERTURA: FOTO DE CÂMERA SANGRADA — TEXTO SOBRE O LADO ESCURO
   ========================================================================== */

.hero {
  position: relative;
  /* sem padding: a foto é o conteúdor */
}

/* Container da foto + overlay */
.hero-full {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

/* Foto da câmera cobre toda a área */
.hero-bg-img {
  position: relative;
  width: 100%;
  height: clamp(240px, 62vw, 380px);
  object-fit: cover;
  object-position: 65% 48%;
  max-width: none;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 90%, transparent);
}

/* Gradiente: escurece completamente o lado esquerdo, fade para transparente à direita */
.hero-bg-fade {
  display: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--bg) 0%,
    var(--bg) 35%,
    rgba(7, 19, 31, 0.88) 52%,
    rgba(7, 19, 31, 0.3) 72%,
    transparent 100%
  );
}

/* Conteúdo do hero é relativo, aparece sobre o overlay */
.hero-inner {
  position: relative;
  z-index: 2;
  order: -1;
  padding: 38px 0 12px;
}

.hero-copy {
  max-width: 530px;
}

.hero h1 {
  font-size: clamp(2.4rem, 9.6vw, 4.4rem);
  max-width: 12ch;
  text-wrap: balance;
  line-height: 1.06;
  margin-top: 8px;
}

.hero-line,
.hero-line > span {
  display: block;
}

.hero-line--accent {
  color: var(--accent);
}

/* Máscara só durante a entrada: fora dela, acentos e descendentes nunca são cortados. */
.hero h1.is-masking .hero-line {
  clip-path: inset(-0.3em -0.5em -0.08em);
}

.hero-description {
  max-width: 34em;
  color: #b8c6d2;
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 26px;
}

/* Trust bar: linha única abaixo da foto */
.trust-bar {
  border-top: 1px solid var(--line);
  background: rgba(7, 19, 31, 0.96);
  padding: 14px 0;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.trust-fact {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

.trust-fact strong {
  color: var(--white);
  font-weight: 600;
}

.trust-sep {
  display: none;
  color: var(--line-light);
  font-size: 1.1rem;
  user-select: none;
}

/* ==========================================================================
   SEÇÃO DE SERVIÇOS (CLAREZA EDITORIAL E VISUAL 16:9)
   ========================================================================== */

.section {
  padding: 70px 0;
  position: relative;
}

.section-heading .eyebrow {
  margin-bottom: 16px;
}

.section-heading h2 > span:not(.scrub-word) {
  color: var(--muted);
}

.section-heading > p {
  color: var(--muted);
  margin-top: 18px;
  max-width: 32em;
  font-size: 1.05rem;
  line-height: 1.65;
}

.services {
  background: #091825;
  border-top: 1px solid var(--line);
}

.anchor-alias {
  position: absolute;
  top: 0;
}

.service-image-note {
  max-width: 46em;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--subtle);
  margin-top: 20px;
  margin-bottom: 24px;
}

/* ==========================================================================
   TRÊS PRIMEIROS SERVIÇOS: LAYOUT EDITORIAL EM DUAS COLUNAS ALTERNADAS
   ========================================================================== */

.featured-services {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 24px;
}

.feat-service {
  display: grid;
  grid-template-columns: 1fr;
  scroll-margin-top: 90px;
}

.feat-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  margin: 0;
  background: var(--navy);
}

.feat-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.feat-service:hover .feat-image img {
  transform: scale(1.03);
}

.feat-copy {
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feat-num {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
}

.feat-copy h3 {
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  color: var(--white);
  margin: 0;
}

.feat-copy > p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 36em;
}

/* Linha divisória antes do grid restante */
.services-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0 32px;
  color: var(--subtle);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-divider::before,
.services-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* Grade para os demais serviços (04–10) */
.service-grid, .monitoring-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Card de serviço limpo, focado e aprovado */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #0b1a27;
  border: 1px solid var(--line);
  border-radius: 12px;
  isolation: isolate;
  /* transform fica livre para a inclinação do script; a elevação usa translate. */
  transition: border-color 250ms ease, translate 300ms var(--ease-out);
  scroll-margin-top: 90px;
}

/* Luz do ponteiro: um aro na borda e um brilho interno muito baixo. */
.service-card::before,
.service-card::after {
  content: '';
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms ease;
}

.service-card::before {
  inset: -1px;
  padding: 1px;
  background: radial-gradient(240px circle at var(--spot-x, 50%) var(--spot-y, 0%), rgba(244, 152, 81, 0.6), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.service-card::after {
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--spot-x, 50%) var(--spot-y, 0%), rgba(244, 152, 81, 0.07), transparent 65%);
}

.service-card:hover {
  border-color: rgba(244, 152, 81, 0.4);
  translate: 0 -3px;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover::before,
  .service-card:hover::after {
    opacity: 1;
  }
}

.service-visual {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  margin: -6px -6px 20px;
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-visual img {
  transform: scale(1.04);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.service-icon {
  display: flex;
  color: var(--accent);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-number {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #7b8f9f;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--white);
}

.service-card > p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.service-tags {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #b9c8d4;
}

/* Chamada compacta de locação após os destaques */
.rental-callout {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin: 28px 0 0;
  padding: 18px 24px;
  background: rgba(226, 114, 27, 0.07);
  border: 1px solid rgba(226, 114, 27, 0.22);
  border-radius: 8px;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}

.rental-callout strong {
  color: var(--white);
  font-weight: 600;
}

.rental-callout-link {
  flex-shrink: 0;
  min-height: 44px;
  font-size: 0.9375rem;
}

/* ==========================================================================
   PAINEL DE LOCAÇÃO DE EQUIPAMENTOS
   ========================================================================== */

.rental-panel {
  position: relative;
  display: grid;
  gap: 22px;
  align-items: center;
  margin-top: 30px;
  padding: 30px 24px;
  border: 1px solid rgba(226, 114, 27, 0.4);
  border-radius: 12px;
  background: #102637;
  border-left: 3px solid var(--orange);
}

.rental-copy .eyebrow {
  margin-bottom: 12px;
}

.rental-copy h3 {
  font-size: clamp(1.45rem, 5.2vw, 2.1rem);
  line-height: 1.25;
}

.rental-copy h3 span {
  color: var(--accent);
}

.rental-copy > p:last-child {
  max-width: 42em;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.rental-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 12px 20px;
  border: 1px solid rgba(244, 152, 81, 0.5);
  border-radius: 8px;
  background: rgba(226, 114, 27, 0.14);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background-color 200ms ease, border-color 200ms ease, scale 160ms var(--ease-out);
}

.rental-link svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.rental-link:hover {
  background: rgba(226, 114, 27, 0.25);
  border-color: var(--accent);
}

.service-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-top: 30px;
}

.service-bottom p {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ==========================================================================
   SEÇÃO "A FBS" (SOBRE)
   ========================================================================== */

.about {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.about-copy .eyebrow {
  margin-bottom: 16px;
}

.about-copy h2 > span:not(.scrub-word) {
  color: var(--muted);
}

.about-copy > p:not(.eyebrow) {
  color: var(--muted);
  margin-top: 18px;
  font-size: 1rem;
  line-height: 1.7;
}

.about-copy .text-link {
  margin-top: 22px;
}

.about-visual {
  margin-top: 32px;
}

.reference-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.reference-pair figure:last-child {
  padding-top: 28px;
}

.reference-image {
  height: 220px;
  overflow: hidden;
  border-radius: 80px 80px 12px 12px;
  border: 1px solid var(--line-light);
  background: var(--navy);
}

.reference-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% center;
}

.intercom-image img {
  object-position: center;
}

.visual-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

/* ==========================================================================
   SEÇÃO COMO TRABALHAMOS (PROCESSO EM RITMO SEQUENCIAL)
   ========================================================================== */

.process {
  border-block: 1px solid var(--line);
  background: #091825;
}

.process-grid {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: grid;
  gap: 0;
}

/* Linha do tempo vertical no celular: nó numerado à esquerda, trilho ligando as etapas. */
.process-item {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 0 18px;
  padding-bottom: 36px;
}

.process-item:last-child {
  padding-bottom: 0;
}

/* Sem JavaScript, o estado padrão é o final: todas as etapas acesas e o trilho completo. */
.step-index {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--orange);
  border-radius: 50%;
  background: var(--orange);
  color: #07131f;
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease;
}

.step-line {
  position: absolute;
  top: 44px;
  bottom: 8px;
  left: 17px;
  width: 2px;
  overflow: hidden;
  background: var(--line-light);
}

.step-line > span {
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform-origin: top;
}

.process-item:last-child .step-line {
  display: none;
}

/* Com o script ativo, as etapas acendem conforme a rolagem alcança cada uma. */
.process--live .process-item:not(.is-reached) .step-index {
  border-color: rgba(244, 152, 81, 0.45);
  background: #091825;
  color: var(--accent);
}

.process--live .step-line > span {
  transform: scaleY(0);
}

.step-content {
  padding-top: 6px;
}

.step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ==========================================================================
   DÚVIDAS FREQUENTES (FAQ LIMPO COM DETALHES NATIVOS)
   ========================================================================== */

.faq {
  background: var(--bg);
}

.faq-intro {
  color: var(--muted);
  margin-top: 18px;
  max-width: 25em;
  font-size: 1rem;
}

.faq-list {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 20px 0;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
  list-style: none;
  transition: color 0.2s;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::marker {
  content: '';
}

.faq-list summary {
  -webkit-tap-highlight-color: transparent;
}

/* Hover só com mouse: no toque, a cor não fica "presa" depois de tocar. */
@media (hover: hover) {
  .faq-list summary:hover {
    color: var(--accent);
  }
}

.faq-list summary:active {
  color: var(--accent);
}

.plus {
  width: 16px;
  height: 16px;
  position: relative;
  flex-shrink: 0;
  color: var(--accent);
}

.plus::before, .plus::after {
  content: '';
  position: absolute;
  background: currentColor;
}

.plus::before {
  width: 14px;
  height: 1.5px;
  left: 1px;
  top: 7px;
}

.plus::after {
  width: 1.5px;
  height: 14px;
  top: 1px;
  left: 7px;
  transition: rotate 300ms var(--ease-out);
}

/* O traço vertical deita e o + vira −. Durante o fechamento animado, já mostra o +. */
.faq-list details[open]:not(.is-closing) .plus::after {
  rotate: 90deg;
}

.faq-list details > p {
  padding: 0 24px 22px 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.68;
}

/* ==========================================================================
   PROPOSTA E FECHAMENTO
   ========================================================================== */

.proposal {
  padding-block: 10px 80px;
}

.proposal-panel {
  background: linear-gradient(125deg, #132737 0%, #091a28 75%);
  border: 1px solid var(--line-light);
  border-radius: 16px;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
}

.proposal-copy h2 > span:not(.scrub-word) {
  color: var(--accent);
}

.proposal-copy > p:not(.eyebrow):not(.cta-note) {
  color: #b5c4ce;
  margin-top: 18px;
  max-width: 33em;
  font-size: 1rem;
  line-height: 1.65;
}

.proposal .cta {
  margin-top: 26px;
}

.cta-note {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--subtle);
  margin-top: 14px;
}

.proposal-aside {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 22px;
}

.proposal-aside > img {
  display: none;
}

.proposal-aside > p {
  font-size: 0.875rem;
  color: #c0cbd4;
  font-weight: 500;
}

.proposal-aside ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}

.proposal-aside li {
  font-size: 0.875rem;
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
  color: var(--muted);
}

.proposal-aside li::before {
  content: '—';
  color: var(--accent);
  position: absolute;
  left: 0;
}

/* ==========================================================================
   RODAPÉ DO SITE
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--line);
  background: #050d15;
  padding: 38px 0 24px;
}

.footer-main {
  display: grid;
  gap: 26px;
}

.site-footer .brand img {
  width: 175px;
}

.site-footer p, .site-footer address {
  font-size: 0.8125rem;
  line-height: 1.75;
  font-style: normal;
  color: var(--muted);
}

.footer-main > div:first-child p {
  margin-top: 14px;
}

.site-footer address {
  display: grid;
  gap: 10px;
  overflow-wrap: anywhere;
}

.site-footer address a {
  color: #cfd8e0;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-support {
  display: grid;
  justify-items: start;
}

.footer-support a {
  font-size: 0.8125rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
}

.footer-support svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  transition: translate 200ms var(--ease-out);
}

.footer-support a:hover svg {
  translate: 3px 0;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.75rem;
  color: var(--subtle);
  line-height: 1.6;
  justify-content: space-between;
}

/* Barra de contato móvel */
.mobile-contact {
  position: fixed;
  z-index: 80;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
  background: #07131ff5;
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: translate 360ms var(--ease-out), opacity 240ms ease;
}

/* A barra sobe da borda da tela ao aparecer, em vez de surgir de uma vez. Some sem animação. */
@starting-style {
  .mobile-contact {
    translate: 0 100%;
    opacity: 0;
  }
}

.mobile-contact .cta {
  min-height: 52px;
  padding-block: 6px;
}

.mobile-contact .cta-arrow {
  width: 36px;
  height: 36px;
}

/* ==========================================================================
   MEDIA QUERIES PROGRESSIVAS: TABLET E DESKTOP
   ========================================================================== */

@media (min-width: 600px) {
  .container {
    width: min(1200px, calc(100% - 64px));
  }

  /* hero sem padding-top: a foto já tem altura própria */
  .hero-full {
    min-height: 0;
  }

  .hero-inner {
    padding: 56px 0 20px;
  }

  .service-grid, .monitoring-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .service-grid > .service-card:last-child { grid-column: 1 / -1; }
  .service-grid > .service-card:last-child .service-visual { max-height: 300px; }


  .service-card {
    padding: 26px;
  }

  .service-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .reference-image {
    height: 310px;
    border-radius: 110px 110px 14px 14px;
  }

  .step-content {
    max-width: 34em;
  }

  .rental-panel {
    padding: 36px;
  }

  .rental-link {
    align-self: flex-start;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-support {
    grid-column: 1 / -1;
  }
}

@media (min-width: 760px) {
  .mobile-contact {
    display: none;
  }

  .section {
    padding: 85px 0;
  }

  .brand img {
    width: 205px;
  }

  .proposal-panel {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    padding: 46px;
  }

  .proposal-aside {
    margin: 0;
    padding: 0;
    border: 0;
    align-self: center;
  }

  .proposal-aside > img {
    display: block;
    width: 85px;
    margin-bottom: 24px;
  }
}

@media (min-width: 900px) {
  /* Serviços editoriais em duas colunas */
  .feat-service {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
  }

  .feat-service:last-child {
    border-bottom: 1px solid var(--line);
  }

  /* Padrão: imagem à esquerda, texto à direita */
  .feat-image {
    aspect-ratio: auto;
    height: 100%;
    min-height: 340px;
  }

  .feat-copy {
    padding: 48px 52px;
    justify-content: center;
  }

  /* Alt: imagem à direita, texto à esquerda */
  .feat-service--alt {
    direction: rtl;
  }

  .feat-service--alt > * {
    direction: ltr;
  }
}

@media (min-width: 1000px) {
  .site-header {
    border-bottom: 1px solid var(--line);
  }

  .header-inner {
    min-height: 88px;
  }

  .mobile-menu {
    display: none;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
  }

  .desktop-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s;
  }

  .desktop-nav a:hover {
    color: var(--white);
  }

  /* Sublinhado entra pela esquerda e sai pela direita, seguindo a direção do cursor. */
  .desktop-nav a:not(.nav-cta-link) {
    position: relative;
  }

  .desktop-nav a:not(.nav-cta-link)::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -6px;
    left: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 280ms var(--ease-out);
  }

  .desktop-nav a:not(.nav-cta-link):hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  /* hero sangrado: imagem fundo + faixa escura esquerda ainda mais generosa no desktop */
  .hero-full {
    display: block;
    min-height: 640px;
  }
  /* Sobra nas bordas para o paralaxe e a profundidade do ponteiro nunca revelarem vão. */
  .hero-bg-img {
    position: absolute;
    top: -4%;
    left: -14px;
    width: calc(100% + 28px);
    height: 108%;
    object-position: 65% center;
    mask-image: none;
  }

  .hero-bg-fade {
    display: block;
    background: linear-gradient(
      to right,
      var(--bg) 0%,
      var(--bg) 40%,
      rgba(7, 19, 31, 0.82) 56%,
      rgba(7, 19, 31, 0.18) 76%,
      transparent 100%
    );
  }

  .hero-inner {
    padding: 100px 0 90px;
  }

  .hero-copy {
    max-width: 580px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 4.8vw, 4.6rem);
  }

  .trust-bar {
    padding: 18px 0;
  }

  .trust-inner {
    gap: 10px 32px;
  }

  .trust-fact {
    font-size: 0.9rem;
  }

  .section-heading {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    align-items: end;
    gap: 65px;
  }

  .section-heading > p {
    margin: 0;
    padding-bottom: 4px;
  }

  /* Grid de serviços desktop: 3 colunas (6 frações) */
  .service-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    margin-top: 36px;
  }

  /* Cards 04–08: span 2 (3 por linha) */
  .service-grid > .service-card {
    grid-column: span 2;
  }

  /* Fecha os cinco complementares em 3 + 2, sem lacuna. */
  .service-grid > .service-card:nth-last-child(-n+2) { grid-column: span 3; }
  .monitoring-grid > .service-card { grid-column: auto; }


  .rental-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 42px 48px;
    gap: 65px;
  }

  .rental-link {
    max-width: 260px;
    align-self: center;
  }

  .about-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .reference-image {
    height: 300px;
  }

  /* Desktop: a linha do tempo deita. O trilho vai de um nó ao próximo, atravessando o espaçamento. */
  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    margin-top: 50px;
  }

  .process-item {
    display: block;
    padding: 0;
  }

  .step-index {
    margin-bottom: 22px;
  }

  .step-content {
    padding-top: 0;
  }

  .step-line {
    top: 17px;
    right: -22px;
    bottom: auto;
    left: 44px;
    width: auto;
    height: 2px;
  }

  .step-line > span {
    transform-origin: left;
  }

  .process--live .step-line > span {
    transform: scaleX(0);
  }

  .faq-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.35fr;
    gap: 95px;
  }

  .proposal-panel {
    grid-template-columns: 1.6fr 1fr;
    padding: 60px 65px;
    gap: 80px;
  }

  .proposal-aside {
    border-left: 1px solid var(--line);
    padding-left: 55px;
  }

  .footer-main {
    grid-template-columns: 1.2fr 1.2fr 0.8fr;
    gap: 35px;
  }

  .footer-support {
    grid-column: auto;
  }
}

/* ==========================================================================
   MOTION SÓBRIO E ACESSIBILIDADE
   ========================================================================== */

/* Acabamento da composição e alvos de toque */
.monitoring-grid { margin-top: 18px; }
.service-image-note { font-size: .875rem; color: var(--muted); }
.hero-copy, .feat-copy, .section-heading > *, .proposal-copy { min-width: 0; }
.cta, .rental-link { max-width: 100%; }
.text-link svg, .rental-link svg { width: 20px; height: 20px; }
.mobile-menu summary { min-height: 44px; }
.mobile-contact .cta { display: flex; justify-content: center; width: 100%; }
.cta-note, .site-footer p, .site-footer address, .footer-support a { font-size: .875rem; }
.footer-support a { min-height: 44px; }
.service-number { display: none; }
.service-top { margin-bottom: 12px; }
.service-card { border-radius: 8px; }
.service-visual { border-radius: 4px; }
.rental-panel, .proposal-panel, #locacao { scroll-margin-top: 30px; }
/* Espaço da barra flutuante do celular: fica dentro do rodapé, com a mesma cor dele.
   A barra some quando o rodapé aparece, então nada fica coberto. */
@media (max-width: 759px) {
  .site-footer { padding-bottom: calc(24px + 84px + env(safe-area-inset-bottom, 0px)); }
}

/* Alvos de toque de pelo menos 44px. */
.brand { min-height: 44px; }
.site-footer address a { display: inline-flex; align-items: center; justify-self: start; min-height: 44px; }
.nowrap { white-space: nowrap; }

@media (max-width: 599px) {
  .header-inner { min-height: 72px; gap: 12px; }
  .brand img { width: 164px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .cta { justify-content: center; padding-inline: 12px; }
  .hero-actions .text-link { align-self: flex-start; }
  .trust-inner { display: grid; gap: 12px; }
  .trust-sep { display: none; }
  .trust-bar { padding-block: 20px; }
  .feat-copy { padding-block: 24px 12px; }
  .feat-copy > p { color: var(--muted); }
  .rental-callout { padding: 16px 20px; gap: 4px; }
  .section-heading h2 br { display: none; }
  .section-heading h2 > span:not(.scrub-word) { display: block; }
  .proposal-panel { padding: 30px 20px; }
  .proposal .cta { width: 100%; justify-content: center; padding-inline: 10px; font-size: .875rem; }
}
@media (min-width: 900px) {
  .featured-services { gap: 0; }
  .feat-image { min-height: 340px; }
}
@media (hover: none) {
  .feat-service:hover .feat-image img, .service-card:hover .service-visual img { transform: none; }
  .service-card:hover { translate: none; }
}

.reveal-pending {
  opacity: 0;
}

/* Títulos de seção divididos em palavras pelo script; cada palavra acende conforme a rolagem. */
.scrub-word {
  display: inline-block;
}

/* Rolagem suave do desktop (Lenis): o script controla a rolagem, então a suavização nativa sai. */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: clip;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* Paralaxe da foto de abertura, ligado à rolagem e fora da thread principal.
   Sem suporte a scroll-driven animations, a foto simplesmente fica parada. */
@supports (animation-timeline: scroll()) {
  @media (min-width: 1000px) and (prefers-reduced-motion: no-preference) {
    .hero-bg-img {
      animation: hero-drift linear both;
      animation-timeline: scroll(root);
      animation-range: 0 90vh;
    }
  }
}

@keyframes hero-drift {
  to { translate: 0 10%; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    /* Menos movimento, não zero: cor e opacidade continuam confirmando o hover. */
    transition-property: color, background-color, border-color, opacity !important;
  }
  .feat-image img, .service-visual img {
    transform: none !important;
  }
  .service-card:hover {
    translate: none !important;
  }
  /* .reveal-pending continua valendo: o script faz um fade só de opacidade, sem deslocamento. */
}

@media print {
  body {
    background: #fff;
    color: #000;
  }
  .site-header, .mobile-contact, .cta {
    display: none !important;
  }
  .reveal-pending {
    opacity: 1 !important;
    transform: none !important;
  }
}
