/* ============================================================================
   AZUZ INSTALAÇÕES — ESTILOS PRINCIPAIS (MOBILE-FIRST)
   Paleta: #0A0E1A -> #0F1B2E (azul-marinho), #0D0D0D (preto), #E3121A (vermelho),
           #16366B (azul da logo), #FFFFFF (branco)
   ============================================================================ */

/* --------------------------------------------------------------------------
   1. VARIÁVEIS E DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  --bg-navy-deep: #0A0E1A;
  --bg-navy: #0F1B2E;
  --bg-black: #0D0D0D;
  --bg-surface: rgba(15, 27, 46, 0.72);
  --bg-surface-solid: #111B2E;
  --bg-card-black: #14161D;

  --brand-blue: #16366B;
  --accent-red: #E3121A;
  --accent-red-bright: #FF2A32;
  --accent-red-glow: rgba(227, 18, 26, 0.55);
  --whatsapp-green: #25D366;

  --text-white: #FFFFFF;
  --text-secondary: #C6D0E1;
  --text-muted: #8E9CB3;

  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.22);

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-display-italic: 'Barlow Condensed', 'Oswald', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Curvas suaves de desaceleração (ease-out / cubic-bezier) */
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-ken-burns: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-pulse: cubic-bezier(0.45, 0, 0.55, 1);

  --header-height: 76px;
  --container-max: 1220px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

/* --------------------------------------------------------------------------
   2. RESET E BASE (MOBILE-FIRST)
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-white);
  background-color: var(--bg-navy-deep);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--accent-red);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.container--narrow {
  max-width: 880px;
}

/* --------------------------------------------------------------------------
   3. TIPOGRAFIA E COMPONENTES REUTILIZÁVEIS
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  padding-block: 4.5rem;
}

.section--navy {
  background: linear-gradient(180deg, var(--bg-navy-deep) 0%, var(--bg-navy) 52%, var(--bg-navy-deep) 100%);
}

.section--black {
  background-color: var(--bg-black);
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin-inline: auto;
  margin-bottom: 2.75rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: 0.65rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.2vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-white);
}

.section-title--left {
  text-align: left;
}

/* Contraste tipográfico: trecho reto bold + trecho itálico condensado mais leve */
.headline-solid {
  display: inline;
  font-weight: 700;
}

.headline-accent {
  display: inline;
  font-family: var(--font-display-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-red);
  letter-spacing: 0.02em;
}

.headline-glow {
  text-shadow:
    0 0 22px rgba(227, 18, 26, 0.55),
    0 0 46px rgba(227, 18, 26, 0.28);
}

.section-subtitle {
  margin-top: 0.9rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

/* Botões e Glow Pulsante */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  transition:
    transform 0.34s var(--ease-out-expo),
    translate 0.45s var(--ease-out-expo),
    background-color 0.3s var(--ease-out-expo),
    border-color 0.3s var(--ease-out-expo),
    box-shadow 0.34s var(--ease-out-expo),
    color 0.3s var(--ease-out-expo);
}

.btn-lg {
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1.15rem 2.25rem;
  font-size: 1.08rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--accent-red);
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-primary:hover {
  background-color: var(--accent-red-bright);
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 0 38px rgba(227, 18, 26, 0.85),
    0 12px 28px rgba(227, 18, 26, 0.42);
}

.btn-primary:active {
  transform: translateY(0) scale(0.99);
}

.btn-outline {
  background-color: rgba(15, 27, 46, 0.45);
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background-color: rgba(22, 54, 107, 0.65);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
}

@keyframes ctaGlowPulse {
  0%,
  100% {
    box-shadow:
      0 0 18px rgba(227, 18, 26, 0.42),
      0 6px 20px rgba(227, 18, 26, 0.24);
  }
  50% {
    box-shadow:
      0 0 34px rgba(227, 18, 26, 0.78),
      0 10px 30px rgba(227, 18, 26, 0.42);
  }
}

.btn-glow {
  animation: ctaGlowPulse 2.6s var(--ease-pulse) infinite;
}

.btn-glow:hover {
  animation-play-state: paused;
  box-shadow:
    0 0 42px rgba(227, 18, 26, 0.9),
    0 14px 34px rgba(227, 18, 26, 0.48);
}

/* Scroll Reveal (Progressive Enhancement) */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.75s var(--ease-out-expo),
    transform 0.75s var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   4. HEADER FIXO + LOGO + MENU MOBILE
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background-color: rgba(10, 14, 26, 0.66);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.45s var(--ease-out-expo),
    background-color 0.35s var(--ease-out-expo),
    border-color 0.35s var(--ease-out-expo),
    box-shadow 0.35s var(--ease-out-expo);
}

.site-header.is-scrolled {
  background-color: rgba(10, 14, 26, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
  padding-block: 0.5rem;
}

.brand-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out-expo);
}

.brand-logo:hover {
  transform: scale(1.03);
}

.brand-mark {
  display: block;
  line-height: 0;
  border-radius: 5px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-white);
  line-height: 1;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding-block: 0.35rem;
  transition: color 0.25s var(--ease-out-expo);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease-out-expo);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text-white);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-cta {
  display: none;
  padding: 0.7rem 1.2rem;
  font-size: 0.88rem;
}

/* Botão Hamburger */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background-color: rgba(15, 27, 46, 0.7);
  transition: border-color 0.25s var(--ease-out-expo), background-color 0.25s var(--ease-out-expo);
}

.menu-toggle:hover {
  border-color: var(--accent-red);
}

.menu-toggle-line {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--text-white);
  transition: transform 0.35s var(--ease-out-expo), opacity 0.25s var(--ease-out-expo);
}

.menu-toggle.is-open .menu-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Drawer Mobile */
.mobile-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  min-height: calc(100dvh - 100%);
  max-height: calc(100dvh - 100%);
  overflow-y: auto;
  background-color: #0A0E1A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  padding: 1.5rem 1.25rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  pointer-events: none;
  transition:
    opacity 0.32s var(--ease-out-expo),
    transform 0.32s var(--ease-out-expo),
    visibility 0.32s;
}

.mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav-link {
  padding-block: 0.85rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.25s var(--ease-out-expo), padding-left 0.25s var(--ease-out-expo);
}

.mobile-nav-link:hover {
  color: var(--accent-red);
  padding-left: 0.4rem;
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-drawer-cta {
  width: 100%;
}

/* --------------------------------------------------------------------------
   5. HERO COM CARROSSEL CROSSFADE + KEN BURNS + CONTROLES EDITORIAIS
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: 6.25rem;
  background-color: var(--bg-navy-deep);
  overflow: hidden;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.1s var(--ease-out-expo);
}

.hero-slide.is-leaving {
  opacity: 0;
  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  will-change: transform;
}

@keyframes kenBurns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.06);
  }
}

.hero-slide.is-active .hero-slide-img,
.hero-slide.is-leaving .hero-slide-img {
  animation: kenBurns 6.2s var(--ease-ken-burns) forwards;
}

.hero.is-paused .hero-slide-img,
.hero.is-paused .hero-progress-fill {
  animation-play-state: paused;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(10, 14, 26, 0.72) 0%, rgba(10, 14, 26, 0.5) 45%, rgba(10, 14, 26, 0.94) 100%),
    linear-gradient(90deg, rgba(10, 14, 26, 0.9) 0%, rgba(10, 14, 26, 0.56) 55%, rgba(10, 14, 26, 0.35) 100%);
  pointer-events: none;
}

.hero-ambient-glow {
  position: absolute;
  left: -10%;
  bottom: -15%;
  width: 56vw;
  height: 56vw;
  max-width: 620px;
  max-height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 18, 26, 0.16) 0%, rgba(22, 54, 107, 0.14) 45%, transparent 70%);
  z-index: 3;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.hero-content {
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background-color: rgba(22, 54, 107, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 1.15rem;
  backdrop-filter: blur(8px);
}

@keyframes dotPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.45);
    opacity: 0.55;
  }
}

.eyebrow-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-red);
  box-shadow: 0 0 10px var(--accent-red);
  animation: dotPulse 2s var(--ease-pulse) infinite;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.9rem, 9.5vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--text-white);
}

.hero-headline .headline-accent {
  display: block;
}

.hero-description {
  margin-top: 1.25rem;
  max-width: 580px;
  font-size: clamp(0.98rem, 1.8vw, 1.12rem);
  color: var(--text-secondary);
}

.hero-ctas {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Controles Editoriais do Carrossel */
.hero-controls {
  align-self: stretch;
  background-color: rgba(10, 14, 26, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-caption-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-caption-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-red);
}

.hero-caption {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-white);
  transition: opacity 0.32s var(--ease-out-expo);
}

.hero-caption.is-updating {
  opacity: 0;
}

.hero-progress-track {
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  overflow: hidden;
}

@keyframes heroProgress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.hero-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--accent-red);
  transform-origin: left center;
  transform: scaleX(0);
}

.hero-progress-fill.is-running {
  animation: heroProgress 5s var(--ease-out-smooth) forwards;
}

.hero-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-counter {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.hero-nav-buttons {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-ctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background-color: rgba(22, 54, 107, 0.35);
  color: var(--text-white);
  font-size: 0.95rem;
  transition:
    background-color 0.25s var(--ease-out-expo),
    border-color 0.25s var(--ease-out-expo),
    transform 0.25s var(--ease-out-expo);
}

.hero-ctrl-btn:hover {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  transform: translateY(-1px) scale(1.06);
}

/* --------------------------------------------------------------------------
   6. BARRA DE CONFIANÇA
   -------------------------------------------------------------------------- */
.trust-bar {
  background-color: #090D18;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1.75rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(22, 54, 107, 0.28) 0%, rgba(15, 27, 46, 0.55) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background-color: rgba(227, 18, 26, 0.14);
  border: 1px solid rgba(227, 18, 26, 0.35);
  color: var(--accent-red);
}

.trust-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.trust-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
}

.trust-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   7. SERVIÇOS (GRID 3 COLUNAS COM BORDA NEON NO HOVER)
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(17, 29, 51, 0.9) 0%, rgba(10, 14, 26, 0.95) 100%);
  border: 1px solid var(--border-subtle);
  transition:
    transform 0.38s var(--ease-out-expo),
    border-color 0.35s var(--ease-out-expo),
    box-shadow 0.38s var(--ease-out-expo),
    opacity 0.75s var(--ease-out-expo);
}

.service-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: var(--accent-red);
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.45),
    0 0 26px rgba(227, 18, 26, 0.28);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background-color: rgba(22, 54, 107, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-white);
  transition:
    background-color 0.35s var(--ease-out-expo),
    border-color 0.35s var(--ease-out-expo),
    color 0.35s var(--ease-out-expo),
    transform 0.35s var(--ease-out-expo);
}

.service-card:hover .service-icon {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  transform: scale(1.06);
}

.service-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 0.65rem;
}

.service-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-red);
  transition: gap 0.28s var(--ease-out-expo), color 0.28s var(--ease-out-expo);
}

.service-card:hover .service-link {
  gap: 0.7rem;
  color: var(--text-white);
}

/* --------------------------------------------------------------------------
   8. PROJETOS / PORTFÓLIO (FILTRO EM PILLS + LIGHTBOX)
   -------------------------------------------------------------------------- */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.25rem;
}

.filter-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  transition:
    background-color 0.32s var(--ease-out-expo),
    color 0.32s var(--ease-out-expo),
    border-color 0.32s var(--ease-out-expo),
    box-shadow 0.32s var(--ease-out-expo),
    transform 0.32s var(--ease-out-expo);
}

.filter-btn:hover {
  border-color: rgba(227, 18, 26, 0.65);
  color: var(--text-white);
  transform: translateY(-1px);
}

.filter-btn.is-active {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  color: var(--text-white);
  box-shadow: 0 0 22px rgba(227, 18, 26, 0.48);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.project-card {
  border-radius: var(--radius-md);
  background-color: var(--bg-card-black);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition:
    transform 0.38s var(--ease-out-expo),
    border-color 0.35s var(--ease-out-expo),
    box-shadow 0.38s var(--ease-out-expo),
    opacity 0.28s var(--ease-out-expo);
}

/* Transições exclusivas para o filtro (sem conflitar com scroll reveal) */
.projects-grid.is-filtered .project-card {
  transition-delay: 0ms;
}

.js-enabled .project-card.is-filtering-out {
  opacity: 0;
  transform: scale(0.95) translateY(10px);
  pointer-events: none;
}

.project-card.is-hidden {
  display: none;
}

@keyframes projectFilterIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.project-card.is-filtering-in {
  animation: projectFilterIn 0.42s var(--ease-out-expo) both;
  animation-delay: var(--filter-delay, 0ms);
}

.project-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: var(--accent-red);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.6),
    0 0 24px rgba(227, 18, 26, 0.28);
}

.project-trigger {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.project-media {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  background-color: #07090F;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.project-card:hover .project-media img {
  transform: scale(1.07);
}

.project-zoom-badge {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background-color: rgba(10, 14, 26, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-white);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.3s var(--ease-out-expo),
    transform 0.3s var(--ease-out-expo),
    background-color 0.3s var(--ease-out-expo);
}

.project-card:hover .project-zoom-badge,
.project-trigger:focus-visible .project-zoom-badge {
  opacity: 1;
  transform: translateY(0);
  background-color: var(--accent-red);
  border-color: var(--accent-red);
}

.project-info {
  padding: 1.15rem 1.25rem 1.3rem;
}

.project-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: 0.35rem;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-white);
}

.project-meta {
  margin-top: 0.25rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   10. DIFERENCIAIS (CONTADORES ANIMADOS + PILARES)
   -------------------------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.stat-card {
  padding: 1.65rem 1.25rem;
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, rgba(22, 54, 107, 0.28) 0%, #11131A 100%);
  border: 1px solid var(--border-subtle);
  text-align: center;
  transition:
    transform 0.35s var(--ease-out-expo),
    border-color 0.35s var(--ease-out-expo),
    box-shadow 0.35s var(--ease-out-expo),
    opacity 0.75s var(--ease-out-expo);
}

.stat-card:hover {
  transform: translateY(-5px) scale(1.015);
  border-color: var(--accent-red);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45), 0 0 22px rgba(227, 18, 26, 0.22);
}

.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.35rem, 6vw, 3.6rem);
  line-height: 1;
  color: var(--accent-red);
  text-shadow: 0 0 22px rgba(227, 18, 26, 0.35);
}

.stat-label {
  margin-top: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-white);
}

.stat-note {
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pillar-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background-color: var(--accent-red);
  box-shadow: 0 0 12px var(--accent-red);
}

.pillar-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
}

.pillar-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   11. DEPOIMENTOS
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.35rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(17, 29, 51, 0.85) 0%, rgba(10, 14, 26, 0.94) 100%);
  border: 1px solid var(--border-subtle);
  transition:
    transform 0.35s var(--ease-out-expo),
    border-color 0.35s var(--ease-out-expo),
    box-shadow 0.35s var(--ease-out-expo),
    opacity 0.75s var(--ease-out-expo);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-red);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4), 0 0 22px rgba(227, 18, 26, 0.2);
}

.testimonial-stars {
  color: #FFB800;
  font-size: 1rem;
  letter-spacing: 0.14em;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--accent-red) 100%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-white);
}

.author-name {
  display: block;
  font-size: 0.95rem;
  color: var(--text-white);
}

.author-role {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   12. ORÇAMENTO (FORMULÁRIO -> WHATSAPP)
   -------------------------------------------------------------------------- */
.quote-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: start;
}

.quote-copy {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

.quote-highlights {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.quote-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.check-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  background-color: rgba(227, 18, 26, 0.16);
  border: 1px solid rgba(227, 18, 26, 0.5);
  color: var(--accent-red);
  font-size: 0.78rem;
  font-weight: 700;
}

.quote-card {
  padding: 1.75rem 1.4rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(17, 29, 51, 0.72) 0%, #11131A 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.55);
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background-color: rgba(10, 14, 26, 0.88);
  color: var(--text-white);
  font-size: 0.95rem;
  transition:
    border-color 0.25s var(--ease-out-expo),
    box-shadow 0.25s var(--ease-out-expo),
    background-color 0.25s var(--ease-out-expo);
}

.form-input::placeholder {
  color: rgba(198, 208, 225, 0.45);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px rgba(227, 18, 26, 0.2);
  background-color: rgba(10, 14, 26, 0.98);
}

.form-input.is-invalid {
  border-color: #FF4D54;
  box-shadow: 0 0 0 3px rgba(255, 77, 84, 0.22);
}

.form-select option {
  background-color: #0A0E1A;
  color: #FFFFFF;
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-feedback {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-feedback.is-error {
  background-color: rgba(227, 18, 26, 0.15);
  border: 1px solid rgba(227, 18, 26, 0.55);
  color: #FFD1D3;
}

.form-feedback.is-success {
  background-color: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.45);
  color: #D4FFE4;
}

.form-feedback a {
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   13. FAQ (ACORDEÃO COM ÍCONE + GIRANDO PARA × E MAX-HEIGHT ANIMADO)
   -------------------------------------------------------------------------- */
.faq-list {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.faq-heading {
  margin: 0;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--text-white);
  transition: color 0.28s var(--ease-out-expo);
}

.faq-trigger:hover {
  color: var(--accent-red);
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background-color: rgba(255, 255, 255, 0.04);
  transition:
    transform 0.38s var(--ease-out-expo),
    border-color 0.3s var(--ease-out-expo),
    background-color 0.3s var(--ease-out-expo);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--text-white);
  transform: translate(-50%, -50%);
  transition: background-color 0.3s var(--ease-out-expo);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* Ao abrir: ícone "+" roda 45° e vira "×" suavemente */
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--accent-red);
  background-color: rgba(227, 18, 26, 0.18);
}

.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after {
  background-color: var(--accent-red-bright);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.44s var(--ease-out-expo),
    opacity 0.36s var(--ease-out-expo);
}

.faq-item.is-open .faq-panel {
  opacity: 1;
}

.faq-panel-inner {
  padding-bottom: 1.4rem;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   14. CTA FINAL (GLOW VERMELHO CENTRALIZADO)
   -------------------------------------------------------------------------- */
.cta-final {
  position: relative;
  padding-block: 5.5rem;
  background: radial-gradient(circle at 50% 50%, #131F38 0%, var(--bg-navy-deep) 68%, #070A12 100%);
  overflow: hidden;
  text-align: center;
}

.cta-final-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(88vw, 680px);
  height: min(88vw, 680px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 18, 26, 0.3) 0%, rgba(227, 18, 26, 0.1) 38%, transparent 72%);
  filter: blur(18px);
  pointer-events: none;
}

.cta-final-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.cta-final-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 8.2vw, 4.7rem);
  line-height: 0.98;
  text-transform: uppercase;
  color: var(--text-white);
}

.cta-final-subtitle {
  margin: 1.25rem auto 2.15rem;
  max-width: 580px;
  color: var(--text-secondary);
  font-size: 1.04rem;
}

/* --------------------------------------------------------------------------
   15. FAIXA INFINITA (MARQUEE DUPLO INCLINADO EM DIREÇÕES OPOSTAS)
   -------------------------------------------------------------------------- */
.marquee-section {
  position: relative;
  overflow: hidden;
  background-color: #08080A;
  padding-block: clamp(3.25rem, 6vw, 4.75rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-ribbon {
  width: 112%;
  margin-left: -6%;
  overflow: hidden;
  display: flex;
  padding-block: 0.9rem;
  /* Inclinação leve paralela tipo fita industrial — evita colisão de texto em qualquer largura */
  transform: rotate(-1.5deg) skewX(-3deg);
  will-change: transform;
}

.marquee-ribbon--red {
  background-color: var(--accent-red);
  color: var(--text-white);
  box-shadow: 0 12px 32px rgba(227, 18, 26, 0.35);
}

.marquee-ribbon--black {
  margin-top: 0.6rem;
  background-color: #0D0D0D;
  color: var(--text-white);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.marquee-text {
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.32rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-right: 1.5rem;
}

/* Nota: o marquee infinito usa velocidade constante (linear) exclusivamente para manter
   o ponto de junção -50% -> 0 contínuo, sem desaceleração ou salto visível no loop. */
@keyframes marqueeLeft {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes marqueeRight {
  0% {
    transform: translate3d(-50%, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

.marquee-track--left {
  animation: marqueeLeft 34s linear infinite;
}

.marquee-track--right {
  animation: marqueeRight 34s linear infinite;
}

.marquee-ribbon:hover .marquee-track {
  animation-play-state: paused;
}

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-black);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 4rem;
  padding-bottom: 2.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

.brand-logo--footer {
  align-items: flex-start;
}

.footer-tagline {
  margin-top: 1rem;
  max-width: 340px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-address {
  margin-top: 1.25rem;
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.footer-whatsapp-link {
  color: var(--accent-red);
  font-weight: 700;
  transition: color 0.25s var(--ease-out-expo);
}

.footer-whatsapp-link:hover {
  color: var(--text-white);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: color 0.25s var(--ease-out-expo), padding-left 0.25s var(--ease-out-expo);
}

.footer-links a:hover {
  color: var(--accent-red);
  padding-left: 0.35rem;
}

.footer-map-wrap {
  width: 100%;
  height: 230px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: #111520;
}

.footer-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-white);
  transition:
    border-color 0.28s var(--ease-out-expo),
    background-color 0.28s var(--ease-out-expo),
    transform 0.28s var(--ease-out-expo);
}

.back-to-top:hover {
  border-color: var(--accent-red);
  background-color: rgba(227, 18, 26, 0.16);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   17. BOTÃO FLUTUANTE DE WHATSAPP (CANTO INFERIOR DIREITO COM PULSE)
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 950;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--whatsapp-green);
  color: #FFFFFF;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.42);
  transition: transform 0.34s var(--ease-out-expo), box-shadow 0.34s var(--ease-out-expo), translate 0.45s var(--ease-out-expo);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.65);
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.72;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

.whatsapp-float-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp-green);
  animation: waPulse 2.3s var(--ease-out-expo) infinite;
  pointer-events: none;
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 0.75rem);
  white-space: nowrap;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  background-color: rgba(10, 14, 26, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-white);
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out-expo), transform 0.25s var(--ease-out-expo);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   18. LIGHTBOX DE PROJETOS (FADE + SCALE-IN)
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out-expo), visibility 0.35s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(5, 8, 16, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-figure {
  width: 100%;
  background-color: #0D111C;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.78);
  transform: scale(0.92);
  opacity: 0;
  transition:
    transform 0.4s var(--ease-out-expo),
    opacity 0.36s var(--ease-out-expo);
}

.lightbox.is-open .lightbox-figure {
  transform: scale(1);
  opacity: 1;
}

.lightbox-media-frame {
  position: relative;
  background-color: #05070D;
  max-height: 70vh;
  overflow: hidden;
}

.lightbox-img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  transition: opacity 0.28s var(--ease-out-expo), transform 0.34s var(--ease-out-expo);
}

.lightbox-img.is-switching {
  opacity: 0;
  transform: scale(0.97);
}

.lightbox-caption {
  padding: 1.15rem 1.35rem 1.35rem;
}

.lightbox-caption-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
}

.lightbox-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background-color: rgba(227, 18, 26, 0.2);
  border: 1px solid rgba(227, 18, 26, 0.55);
  color: #FFFFFF;
}

.lightbox-counter {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.lightbox-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  color: var(--text-white);
}

.lightbox-desc {
  margin-top: 0.3rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.lightbox-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background-color: rgba(10, 14, 26, 0.86);
  color: var(--text-white);
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s var(--ease-out-expo), border-color 0.25s var(--ease-out-expo), transform 0.25s var(--ease-out-expo);
}

.lightbox-close:hover {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  transform: scale(1.06);
}

.lightbox-nav {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background-color: rgba(10, 14, 26, 0.86);
  color: var(--text-white);
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s var(--ease-out-expo), border-color 0.25s var(--ease-out-expo), transform 0.25s var(--ease-out-expo);
}

.lightbox-nav--prev {
  left: 0.75rem;
}

.lightbox-nav--next {
  right: 0.75rem;
}

.lightbox-nav:hover {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  transform: translateY(-50%) scale(1.08);
}

/* --------------------------------------------------------------------------
   19. MEDIA QUERIES PROGRESSIVAS (MOBILE-FIRST -> TABLET -> DESKTOP)
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .container {
    padding-inline: 2rem;
  }

  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .section {
    padding-block: 6rem;
  }

  .site-nav {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .menu-toggle,
  .mobile-drawer {
    display: none;
  }

  .hero {
    padding-bottom: 4.5rem;
  }

  .hero-layout {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .hero-controls {
    align-self: flex-end;
    width: 320px;
    flex-shrink: 0;
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.35rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .quote-layout {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3.5rem;
  }

  .quote-card {
    padding: 2.25rem;
  }

  .footer-grid {
    grid-template-columns: 1.15fr 0.75fr 1.2fr;
    gap: 3rem;
  }

  .lightbox-nav--prev {
    left: -3.25rem;
  }

  .lightbox-nav--next {
    right: -3.25rem;
  }

  .whatsapp-float {
    right: 1.75rem;
    bottom: 1.75rem;
  }
}

@media (min-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --------------------------------------------------------------------------
   20. ACESSIBILIDADE: REDUÇÃO DE MOVIMENTO
   -------------------------------------------------------------------------- */
/* Efeitos mantidos sempre ativos (pedido do cliente). Em sistemas com animações
   reduzidas, apenas o marquee fica um pouco mais lento. */
@media (prefers-reduced-motion: reduce) {
  .marquee-track--left,
  .marquee-track--right {
    animation-duration: 48s;
  }
}


/* ============================================================================
   21. EFEITOS AVANÇADOS E TRANSIÇÕES EXTRAS
   ============================================================================ */

/* --- 21.1 Preloader de entrada (logo + barra) que sobe revelando o site --- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, #12203A 0%, var(--bg-navy-deep) 70%);
  clip-path: inset(0 0 0 0);
  transition:
    clip-path 1s var(--ease-out-expo) 0.15s,
    visibility 0s linear 1.2s;
}

.is-loaded .preloader {
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}

.js-enabled .preloader {
  display: flex;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: opacity 0.5s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.is-loaded .preloader-inner {
  opacity: 0;
  transform: translateY(-30px);
}

@keyframes preloaderLogoIn {
  from { opacity: 0; transform: scale(0.6) rotate(-12deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

.preloader-logo {
  animation: preloaderLogoIn 0.8s var(--ease-out-expo) both;
  filter: drop-shadow(0 0 24px rgba(227, 18, 26, 0.35));
}

@keyframes preloaderWordIn {
  from { opacity: 0; letter-spacing: 0.8em; }
  to   { opacity: 1; letter-spacing: 0.3em; }
}

.preloader-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: #FFFFFF;
  letter-spacing: 0.3em;
  animation: preloaderWordIn 0.9s var(--ease-out-expo) 0.2s both;
}

.preloader-bar {
  width: 140px;
  height: 2px;
  margin-top: 0.4rem;
  background-color: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
}

@keyframes preloaderFill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.preloader-bar-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-red), #FF5A5F);
  box-shadow: 0 0 10px var(--accent-red);
  transform-origin: left center;
  animation: preloaderFill 1s var(--ease-out-smooth) 0.15s both;
}

/* --- 21.2 Barra de progresso de leitura no topo --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1001;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent-red) 0%, #FF5A5F 100%);
  box-shadow: 0 0 12px rgba(227, 18, 26, 0.75);
  pointer-events: none;
}

/* --- 21.3 Header que se esconde ao rolar para baixo e volta ao subir --- */
.site-header.is-hidden {
  transform: translateY(-100%);
}

/* --- 21.4 Glow vermelho que segue o cursor (desktop) --- */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 560px;
  height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 18, 26, 0.11) 0%, rgba(22, 54, 107, 0.06) 35%, transparent 65%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  mix-blend-mode: screen;
  will-change: transform;
  transition: opacity 0.6s var(--ease-out-expo);
}

.cursor-glow.is-active {
  opacity: 1;
}

@media (hover: none) {
  .cursor-glow {
    display: none;
  }
}

/* --- 21.5 Intro do Hero: textos sobem com blur e headline sai de uma máscara --- */
.js-enabled [data-intro] {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(8px);
  transition:
    opacity 0.9s var(--ease-out-expo),
    transform 1s var(--ease-out-expo),
    filter 0.9s var(--ease-out-expo);
  transition-delay: var(--intro-delay, 0ms);
}

.is-loaded [data-intro] {
  opacity: 1;
  transform: none;
  filter: none;
}

.line-mask {
  display: block;
  overflow: hidden;
  padding: 0.04em 0.3em 0.12em 0;
  margin-bottom: -0.12em;
}

.is-intro-done .line-mask {
  overflow: visible;
}

.hero-headline .line-inner {
  display: inline-block;
}

.js-enabled .line-inner {
  transform: translateY(115%) skewY(7deg);
  transition: transform 1.15s var(--ease-out-expo);
  transition-delay: var(--intro-delay, 0ms);
}

.is-loaded .line-inner {
  transform: none;
}

/* --- 21.6 Canvas de brasas/partículas --- */
.sparks-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: screen;
}

.cta-final .sparks-canvas {
  z-index: 0;
}

/* Parallax do hero (controlado via JS) */
.hero-content,
.hero-carousel {
  will-change: transform;
}

/* --- 21.7 Variações de scroll reveal (esquerda, direita, zoom, blur) --- */
.js-enabled .reveal {
  transition:
    opacity 0.85s var(--ease-out-expo),
    transform 0.85s var(--ease-out-expo),
    filter 0.85s var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-enabled .reveal[data-reveal="left"] {
  transform: translateX(-60px);
}

.js-enabled .reveal[data-reveal="right"] {
  transform: translateX(60px);
}

.js-enabled .reveal[data-reveal="zoom"] {
  transform: scale(0.86) translateY(20px);
}

.js-enabled .reveal[data-reveal="blur"] {
  transform: translateY(30px);
  filter: blur(12px);
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Depois que a animação de entrada termina (classe via JS), os cards voltam
   às transições rápidas de hover (borda neon, sombra, tilt) sem atraso */
.js-enabled .reveal.reveal-done {
  transition:
    transform 0.45s var(--ease-out-expo),
    border-color 0.35s var(--ease-out-expo),
    box-shadow 0.4s var(--ease-out-expo),
    background-color 0.35s var(--ease-out-expo),
    opacity 0.3s var(--ease-out-expo);
  transition-delay: 0ms;
}

/* --- 21.8 Sublinhado vermelho que se desenha sob o trecho itálico dos títulos --- */
.section-title .headline-accent {
  background-image: linear-gradient(90deg, var(--accent-red) 0%, rgba(227, 18, 26, 0.15) 100%);
  background-repeat: no-repeat;
  background-position: 0 95%;
  background-size: 0% 3px;
  padding-bottom: 0.06em;
  transition: background-size 1.2s var(--ease-out-expo) 0.4s;
}

.is-visible .section-title .headline-accent,
.is-visible.section-title .headline-accent {
  background-size: 100% 3px;
}

/* --- 21.9 Imagens do portfólio revelam com cortina (clip-path) + zoom-out --- */
.js-enabled .project-card .project-media {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.1s var(--ease-out-expo);
  transition-delay: calc(var(--reveal-delay, 0ms) + 150ms);
}

.js-enabled .project-card.is-visible .project-media {
  clip-path: inset(0 0 0 0);
}

.js-enabled .project-card .project-media img {
  scale: 1.3;
  transition:
    scale 1.5s var(--ease-out-expo),
    transform 0.6s var(--ease-out-expo);
}

.js-enabled .project-card.is-visible .project-media img {
  scale: 1;
}

/* --- 21.10 Números da timeline surgem com "pop" elástico --- */
.js-enabled .timeline-step .timeline-number {
  scale: 0;
  transition: scale 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(var(--reveal-delay, 0ms) + 300ms);
}

.js-enabled .timeline-step.is-visible .timeline-number {
  scale: 1;
}

/* --- 21.11 Pulso de destaque quando o contador termina --- */
@keyframes statPop {
  0%   { scale: 1; }
  40%  { scale: 1.14; text-shadow: 0 0 34px rgba(227, 18, 26, 0.9); }
  100% { scale: 1; }
}

.stat-value {
  display: inline-block;
}

.stat-value.is-done {
  animation: statPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- 21.12 Spotlight: brilho vermelho que segue o mouse dentro dos cards --- */
.fx-spotlight {
  position: relative;
  isolation: isolate;
}

.fx-spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(227, 18, 26, 0.17), transparent 45%);
  opacity: 0;
  transition: opacity 0.45s var(--ease-out-expo);
}

.fx-spotlight:hover::after {
  opacity: 1;
}

/* --- 21.13 Tilt 3D nos cards (valores --rx / --ry via JS) --- */
@media (hover: hover) and (pointer: fine) {
  .fx-tilt:hover {
    transform:
      perspective(1000px)
      rotateX(var(--rx, 0deg))
      rotateY(var(--ry, 0deg))
      translateY(-6px)
      scale(1.02);
  }
}

/* --- 21.14 Brilho que atravessa os botões vermelhos --- */
.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.38) 50%, transparent 100%);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left 0.8s var(--ease-out-expo);
}

.btn-primary:hover::after {
  left: 140%;
}

@keyframes btnShine {
  0%        { left: -80%; }
  30%, 100% { left: 140%; }
}

.btn-glow::after {
  animation: btnShine 4.8s var(--ease-out-smooth) infinite;
}

/* --- 21.15 Entrada do botão flutuante do WhatsApp --- */
@keyframes waEnter {
  0%   { opacity: 0; scale: 0; }
  70%  { opacity: 1; scale: 1.12; }
  100% { opacity: 1; scale: 1; }
}

.js-enabled .whatsapp-float {
  opacity: 0;
}

.is-loaded .whatsapp-float {
  animation: waEnter 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 1.4s both;
}

/* --- 21.16 Itens do FAQ e pilares entram deslizando --- */
.js-enabled .faq-list .faq-item {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.js-enabled .faq-list.is-visible .faq-item {
  opacity: 1;
  transform: none;
}

.js-enabled .faq-list.is-visible .faq-item:nth-child(1) { transition-delay: 80ms; }
.js-enabled .faq-list.is-visible .faq-item:nth-child(2) { transition-delay: 160ms; }
.js-enabled .faq-list.is-visible .faq-item:nth-child(3) { transition-delay: 240ms; }
.js-enabled .faq-list.is-visible .faq-item:nth-child(4) { transition-delay: 320ms; }
.js-enabled .faq-list.is-visible .faq-item:nth-child(5) { transition-delay: 400ms; }
.js-enabled .faq-list.is-visible .faq-item:nth-child(6) { transition-delay: 480ms; }

/* --- 21.17 Ícones dos serviços balançam levemente no hover --- */
@keyframes iconWiggle {
  0%, 100% { rotate: 0deg; }
  25%      { rotate: -10deg; }
  60%      { rotate: 8deg; }
}

.service-card:hover .service-icon svg {
  animation: iconWiggle 0.7s var(--ease-out-expo);
}

/* --- 21.18 Linha vermelha "escaneando" a barra de confiança --- */
.trust-bar {
  position: relative;
  overflow: hidden;
}

@keyframes trustScan {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100vw); }
}

.trust-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
  animation: trustScan 5s var(--ease-out-smooth) infinite;
}


/* ============================================================================
   22. CAMADA PREMIUM — ACABAMENTO VISUAL REFINADO
   ============================================================================ */

/* --- 22.1 Detalhes globais: seleção, scrollbar e textura de grão --- */
::selection {
  background-color: rgba(227, 18, 26, 0.85);
  color: #FFFFFF;
}

html {
  scrollbar-width: thin;
  scrollbar-color: #E3121A #080B14;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #080B14;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #E3121A, #8E0B10);
  border-radius: 10px;
  border: 2px solid #080B14;
}

/* Grão fotográfico sutil sobre todo o site (dá profundidade "de revista") */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- 22.2 Fundo das seções: grid técnico + vinheta + linha divisória --- */
.section {
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 0%, transparent 75%);
}

.section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(720px, 80%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(227, 18, 26, 0.55), transparent);
  pointer-events: none;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section--black {
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(22, 54, 107, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 35% at 0% 100%, rgba(227, 18, 26, 0.07), transparent 70%),
    #0B0C10;
}

/* --- 22.3 Tipografia editorial: eyebrow com ornamentos e títulos maiores --- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  margin-bottom: 1rem;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-red));
}

.section-eyebrow::after {
  background: linear-gradient(90deg, var(--accent-red), transparent);
}

.quote-intro .section-eyebrow::after {
  display: none;
}

.section-title {
  font-size: clamp(2.2rem, 5.6vw, 3.9rem);
  line-height: 1;
  letter-spacing: 0.01em;
}

.section-title .headline-accent {
  font-weight: 500;
}

.section-subtitle {
  font-size: 1.02rem;
  color: #AEB9CC;
  max-width: 620px;
  margin-inline: auto;
}

.section-header {
  margin-bottom: 3.5rem;
}

/* --- 22.4 Header transparente sobre o hero e refinado ao rolar --- */
.site-header:not(.is-scrolled) {
  background-color: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header.is-scrolled {
  background-color: rgba(8, 11, 20, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* --- 22.5 Botões premium: gradiente, highlight interno e caixa alta --- */
.btn {
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btn-lg {
  padding: 1.05rem 1.9rem;
  font-size: 0.84rem;
}

.btn-xl {
  padding: 1.25rem 2.4rem;
  font-size: 0.92rem;
}

.btn-primary {
  background: linear-gradient(180deg, #F2262D 0%, #C20D14 100%);
  border-color: rgba(255, 120, 124, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #FF3C42 0%, #D8121A 100%);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), inset 0 -2px 0 rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.22);
}

/* --- 22.6 Cards premium: vidro escuro, borda em gradiente e sombra profunda --- */
.service-card,
.stat-card,
.testimonial-card,
.timeline-content,
.trust-badge,
.pillar-item,
.quote-card {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.008) 100%),
    linear-gradient(160deg, #101A2E 0%, #0A0F1C 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 50px -24px rgba(0, 0, 0, 0.75);
}

/* Borda luminosa em gradiente (fica vermelha no hover) */
.service-card::before,
.stat-card::before,
.testimonial-card::before,
.timeline-content::before,
.quote-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out-expo);
}

.service-card:hover::before,
.stat-card:hover::before,
.testimonial-card:hover::before,
.timeline-step:hover .timeline-content::before {
  background: linear-gradient(180deg, rgba(255, 70, 76, 0.95) 0%, rgba(227, 18, 26, 0.25) 55%, rgba(227, 18, 26, 0.05) 100%);
}

.service-card:hover,
.stat-card:hover,
.testimonial-card:hover {
  border-color: rgba(227, 18, 26, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 30px 60px -22px rgba(0, 0, 0, 0.85),
    0 0 40px -6px rgba(227, 18, 26, 0.35);
}

/* --- 22.7 Serviços: numeração gigante vazada + ícone em gradiente --- */
.services-grid {
  counter-reset: svc;
}

.service-card {
  counter-increment: svc;
  overflow: hidden;
  padding: 2rem 1.75rem 1.75rem;
}

.service-title::after {
  content: "0" counter(svc);
  position: absolute;
  right: 1.1rem;
  bottom: -0.9rem;
  font-family: var(--font-display);
  font-size: 6.5rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  pointer-events: none;
  transition: -webkit-text-stroke-color 0.4s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.service-card:hover .service-title::after {
  -webkit-text-stroke-color: rgba(227, 18, 26, 0.4);
  transform: translateY(-6px);
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(145deg, #1E4486 0%, #0F2448 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 24px -8px rgba(22, 54, 107, 0.8);
}

.service-card:hover .service-icon {
  background: linear-gradient(145deg, #FF3A40 0%, #B80C12 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 12px 28px -8px rgba(227, 18, 26, 0.85);
}

.service-tag {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  background-color: rgba(255, 255, 255, 0.03);
}

.service-title {
  font-size: 1.55rem;
}

.service-link {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* --- 22.8 Hero: headline maior, transição suave para a próxima seção --- */
.hero-headline {
  font-size: clamp(3.2rem, 10.5vw, 6.8rem);
  line-height: 0.92;
}

.hero-headline .headline-accent {
  font-weight: 500;
  text-shadow:
    0 0 28px rgba(227, 18, 26, 0.6),
    0 0 70px rgba(227, 18, 26, 0.3);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  z-index: 3;
  background: linear-gradient(180deg, transparent, #090D18);
  pointer-events: none;
}

.hero-controls {
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(16, 26, 46, 0.78), rgba(8, 11, 20, 0.85));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 50px -20px rgba(0, 0, 0, 0.8);
}

@media (max-width: 959px) {
  .hero {
    padding-bottom: 7.5rem;
  }
}

/* --- 22.9 Barra de confiança refinada --- */
.trust-bar {
  background: linear-gradient(180deg, #090D18 0%, #0A0F1C 100%);
  padding-block: 2.25rem;
}

.trust-badge {
  padding: 1.15rem 1.3rem;
}

.trust-icon {
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(227, 18, 26, 0.22), rgba(227, 18, 26, 0.06));
}

/* --- 22.10 Timeline "Como Funciona" redesenhada --- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* Trilho (mobile: vertical à esquerda) */
.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 25px;
  top: 26px;
  bottom: 26px;
  width: 2px;
  border-radius: 2px;
}

.timeline::before {
  background: rgba(255, 255, 255, 0.08);
}

.timeline::after {
  background: linear-gradient(180deg, var(--accent-red), #FF5A5F, var(--accent-red));
  box-shadow: 0 0 14px rgba(227, 18, 26, 0.6);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 1.8s var(--ease-out-expo) 0.2s;
}

.timeline.is-animated::after {
  transform: scaleY(1);
}

.timeline-step {
  position: relative;
  z-index: 1; /* passos (e seus números) ficam sempre na frente da linha */
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  align-items: start;
}

.timeline-marker {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
}

.timeline-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  background: radial-gradient(circle at 30% 25%, #22355C 0%, #0A0E1A 70%);
  border: 1px solid rgba(227, 18, 26, 0.75);
  box-shadow:
    0 0 0 6px rgba(227, 18, 26, 0.08),
    0 0 26px rgba(227, 18, 26, 0.45);
  transition: background 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

@keyframes ringPulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(1.75); opacity: 0; }
}

.timeline-step.is-visible .timeline-marker::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(227, 18, 26, 0.7);
  animation: ringPulse 2.6s var(--ease-out-expo) infinite;
  animation-delay: calc(var(--reveal-delay, 0ms) + 900ms);
  pointer-events: none;
}

.timeline-step:hover .timeline-number {
  background: radial-gradient(circle at 30% 25%, #FF4A50 0%, #B80C12 75%);
  box-shadow:
    0 0 0 8px rgba(227, 18, 26, 0.14),
    0 0 34px rgba(227, 18, 26, 0.75);
}

.timeline-content {
  overflow: hidden;
  padding: 1.6rem 1.5rem 1.5rem;
  transition:
    transform 0.45s var(--ease-out-expo),
    border-color 0.35s var(--ease-out-expo),
    box-shadow 0.45s var(--ease-out-expo);
}

.timeline-step:hover .timeline-content {
  transform: translateY(-6px);
  border-color: rgba(227, 18, 26, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 30px 60px -22px rgba(0, 0, 0, 0.85),
    0 0 40px -6px rgba(227, 18, 26, 0.35);
}

.timeline-ghost {
  position: absolute;
  right: 0.6rem;
  bottom: -1.4rem;
  font-family: var(--font-display);
  font-size: 7.5rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
  pointer-events: none;
  transition: -webkit-text-stroke-color 0.4s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.timeline-step:hover .timeline-ghost {
  -webkit-text-stroke-color: rgba(227, 18, 26, 0.38);
  transform: translateY(-6px);
}

.timeline-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.15rem;
}

.timeline-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #FFFFFF;
  background: linear-gradient(145deg, #1E4486 0%, #0F2448 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: background 0.4s var(--ease-out-expo);
}

.timeline-step:hover .timeline-icon {
  background: linear-gradient(145deg, #FF3A40 0%, #B80C12 100%);
}

.timeline-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-red);
}

.timeline-title {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  margin-bottom: 0.6rem;
}

.timeline-desc {
  position: relative;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #AEB9CC;
}

.timeline-meta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  background: rgba(227, 18, 26, 0.1);
  border: 1px solid rgba(227, 18, 26, 0.32);
}

.timeline-meta::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-red);
  box-shadow: 0 0 8px var(--accent-red);
}

@media (min-width: 960px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  /* Trilho horizontal ligando o centro do 1º ao centro do 4º marcador */
  .timeline::before,
  .timeline::after {
    left: calc((100% - 4.5rem) / 8);
    right: calc((100% - 4.5rem) / 8);
    top: 25px;
    bottom: auto;
    width: auto;
    height: 2px;
  }

  .timeline::after {
    background: linear-gradient(90deg, var(--accent-red), #FF5A5F, var(--accent-red));
    transform: scaleX(0);
    transform-origin: left center;
  }

  .timeline.is-animated::after {
    transform: scaleX(1);
  }

  .timeline-step {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    justify-items: center;
    gap: 1.75rem;
  }

  .timeline-content {
    width: 100%;
    height: 100%;
    padding: 1.75rem 1.5rem 1.6rem;
  }
}

/* --- 22.11 Portfólio: gradiente na foto e legenda refinada --- */
.project-card {
  border-radius: 18px;
  border-color: rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, #11141C 0%, #0C0E14 100%);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.8);
}

.project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 10, 16, 0.55) 0%, transparent 45%);
  pointer-events: none;
}

.project-zoom-badge {
  z-index: 2;
}

.project-info {
  padding: 1.25rem 1.35rem 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-btn {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.7rem 1.35rem;
}

.filter-btn.is-active {
  background: linear-gradient(180deg, #F2262D 0%, #C20D14 100%);
}

/* --- 22.12 Diferenciais: números em gradiente metálico + filete superior --- */
.stat-card {
  padding: 2rem 1.25rem 1.75rem;
  background:
    linear-gradient(90deg, transparent, var(--accent-red), transparent) top center / 55% 2px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.008) 100%),
    linear-gradient(160deg, #101A2E 0%, #0A0F1C 100%);
}

.stat-value {
  font-size: clamp(2.6rem, 6.4vw, 4.2rem);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFC2C4 40%, #E3121A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none !important;
  filter: drop-shadow(0 0 18px rgba(227, 18, 26, 0.35));
}

/* --- 22.13 Depoimentos: aspas decorativas --- */
.testimonial-card {
  overflow: hidden;
  padding: 2rem 1.75rem;
}

.testimonial-quote::before {
  content: "\201C";
  position: absolute;
  top: 0.4rem;
  right: 1.4rem;
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 1;
  color: rgba(227, 18, 26, 0.22);
  pointer-events: none;
}

.testimonial-quote {
  color: #C9D2E2;
  font-size: 0.98rem;
}

.author-avatar {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08), 0 8px 20px -6px rgba(227, 18, 26, 0.6);
}

/* --- 22.14 Orçamento: card com brilho no topo --- */
.quote-card {
  padding: 2rem 1.6rem;
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 40px 80px -30px rgba(0, 0, 0, 0.9),
    0 -20px 60px -30px rgba(227, 18, 26, 0.45);
}

.form-input {
  border-radius: 10px;
  background-color: rgba(5, 8, 15, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
}

.form-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #93A1B8;
}

/* --- 22.15 FAQ: item aberto com filete vermelho e fundo sutil --- */
.faq-item {
  position: relative;
  transition: background-color 0.4s var(--ease-out-expo);
}

.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent-red);
  box-shadow: 0 0 12px var(--accent-red);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.45s var(--ease-out-expo);
}

.faq-item.is-open {
  background: linear-gradient(90deg, rgba(227, 18, 26, 0.07), transparent 70%);
}

.faq-item.is-open::before {
  transform: scaleY(1);
}

.faq-trigger,
.faq-panel-inner {
  padding-left: 1.15rem;
  padding-right: 0.5rem;
}

.faq-trigger {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* --- 22.16 Footer: marca d'água gigante vazada --- */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(22, 54, 107, 0.18), transparent 70%),
    #08090D;
}

.site-footer::before {
  content: "AZUZ";
  position: absolute;
  left: 50%;
  bottom: -0.18em;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(7rem, 26vw, 22rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.045);
  pointer-events: none;
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

/* --- 22.17 CTA final mais dramático --- */
.cta-final {
  padding-block: 7rem;
}

.cta-final-headline {
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 0.92;
}

.cta-final-headline .headline-accent {
  font-weight: 500;
}


/* ============================================================================
   23. TEXTOS EM VERMELHO: MESMA FONTE E PESO DOS TÍTULOS (BOLD + ITÁLICO)
   Usa a Oswald 700 (igual ao trecho branco) para que as duas partes tenham
   a mesma altura de letra e fiquem alinhadas na mesma linha de base.
   ============================================================================ */
.headline-accent,
.section-title .headline-accent,
.hero-headline .headline-accent,
.cta-final-headline .headline-accent {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.01em;
  vertical-align: baseline;
}

/* Pequeno respiro para a inclinação do itálico não "encostar" na palavra seguinte */
.section-title .headline-accent,
.cta-final-headline .headline-accent {
  padding-right: 0.06em;
}


/* ============================================================================
   24. AJUSTES FINOS DE ALINHAMENTO
   ============================================================================ */

/* Hero: "PROTEÇÃO QUE" sempre em uma linha só */
.hero-content {
  max-width: 820px;
}

.hero-headline {
  font-size: clamp(2.7rem, 9.6vw, 6.4rem);
}

.hero-headline .line-inner {
  white-space: nowrap;
}

/* Títulos das seções: quebra de linha equilibrada (evita uma palavra sozinha) */
.section-title,
.cta-final-headline {
  text-wrap: balance;
}

@media (min-width: 960px) {
  .section-title .headline-accent {
    white-space: nowrap;
  }
}

/* Mobile: botão flutuante do WhatsApp aparece logo após o hero
   (no hero já existe o botão grande de WhatsApp e ele cobriria a seta do carrossel) */
@media (max-width: 959px) {
  .js-enabled .whatsapp-float {
    transition:
      opacity 0.45s var(--ease-out-expo),
      scale 0.45s var(--ease-out-expo),
      transform 0.34s var(--ease-out-expo);
  }

  .js-enabled body:not(.is-past-hero) .whatsapp-float {
    opacity: 0 !important;
    scale: 0.6;
    pointer-events: none;
    animation: none;
  }
}


/* ============================================================================
   25. HEADLINE: "PROTEÇÃO" / "QUE SALVA VIDAS" (QUE + SALVA VIDAS NA MESMA LINHA)
   ============================================================================ */
.hero-content {
  max-width: 880px;
}

.hero-headline {
  font-size: clamp(2.5rem, 9.4vw, 5.9rem);
}

/* O trecho vermelho fica inline, ao lado do "QUE" */
.hero-headline .line-inner .headline-accent,
.cta-final-headline .headline-accent {
  display: inline;
}

.cta-final-inner {
  max-width: 920px;
}

.cta-final-headline {
  font-size: clamp(2.5rem, 8.6vw, 5.4rem);
}

.cta-line {
  display: block;
  white-space: nowrap;
}


/* ============================================================================
   26. LOGO OFICIAL AZUZ INSTALAÇÕES (MENU, FOOTER E PRELOADER DE ABERTURA)
   ============================================================================ */
.brand-logo {
  flex-direction: row;
  gap: 0;
  line-height: 0;
}

.brand-logo-img {
  width: auto;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.5));
  transition: transform 0.35s var(--ease-out-expo), filter 0.35s var(--ease-out-expo);
}

.brand-logo:hover .brand-logo-img {
  filter: drop-shadow(0 8px 22px rgba(227, 18, 26, 0.35)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
}

@media (min-width: 960px) {
  .brand-logo-img {
    height: 60px;
  }
}

.brand-logo-img--footer {
  height: 88px;
}

@media (min-width: 960px) {
  .brand-logo-img--footer {
    height: 96px;
  }
}

.preloader-logo {
  width: auto;
  height: 136px;
  object-fit: contain;
  filter:
    drop-shadow(0 14px 32px rgba(0, 0, 0, 0.65))
    drop-shadow(0 0 28px rgba(227, 18, 26, 0.28));
}

.preloader-bar {
  width: 148px;
  margin-top: 0.75rem;
}


/* ============================================================================
   27. AJUSTE DE ESPAÇAMENTO DO HERO (TÍTULO PRÓXIMO AO MENU) + CRÉDITO ROCKETAM
   ============================================================================ */
.hero {
  min-height: 0;
  align-items: flex-start;
  padding-top: calc(var(--header-height) + 1.25rem);
  padding-bottom: 3.75rem;
}

.hero-eyebrow {
  margin-bottom: 0.85rem;
}

@media (min-width: 960px) {
  .hero {
    min-height: clamp(580px, 76svh, 690px);
    align-items: flex-start;
    padding-top: calc(var(--header-height) + clamp(1.5rem, 3vh, 2.25rem));
    padding-bottom: 4rem;
  }
}

.footer-bottom {
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
}

.footer-credit {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-credit-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-white);
  position: relative;
  padding-left: 0.15rem;
}


/* ============================================================================
   28. CONTATO INSTAGRAM, BANNER LGPD E PÁGINA DE POLÍTICA DE PRIVACIDADE
   ============================================================================ */

/* --- 28.1 Pílulas de contato rápido na seção de orçamento e link no footer --- */
.quote-direct-contacts {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.quote-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition:
    border-color 0.3s var(--ease-out-expo),
    background-color 0.3s var(--ease-out-expo),
    transform 0.3s var(--ease-out-expo);
}

.quote-contact-pill svg {
  color: var(--accent-red);
  flex-shrink: 0;
}

.quote-contact-pill:hover {
  border-color: var(--accent-red);
  background: rgba(227, 18, 26, 0.14);
  transform: translateY(-2px);
}

.form-lgpd-note {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.form-lgpd-note a {
  color: var(--text-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s var(--ease-out-expo);
}

.form-lgpd-note a:hover {
  color: var(--accent-red);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent-red);
  font-weight: 700;
  transition: color 0.25s var(--ease-out-expo), transform 0.25s var(--ease-out-expo);
}

.footer-social-link:hover {
  color: var(--text-white);
  transform: translateX(2px);
}

.footer-link-btn {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.92rem;
  color: var(--text-secondary);
  text-align: left;
  transition: color 0.25s var(--ease-out-expo), padding-left 0.25s var(--ease-out-expo);
}

.footer-link-btn:hover {
  color: var(--accent-red);
  padding-left: 0.35rem;
}

.footer-legal-link {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s var(--ease-out-expo);
}

.footer-legal-link:hover {
  color: var(--accent-red);
}

/* --- 28.2 Banner de Consentimento LGPD --- */
.lgpd-banner {
  position: fixed;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.2rem 1.25rem;
  border-radius: 16px;
  background:
    linear-gradient(90deg, transparent, rgba(227, 18, 26, 0.7), transparent) top center / 70% 1px no-repeat,
    linear-gradient(165deg, rgba(16, 26, 46, 0.96) 0%, rgba(8, 11, 20, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(28px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 0.5s var(--ease-out-expo),
    transform 0.5s var(--ease-out-expo),
    visibility 0.5s;
}

.lgpd-banner.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lgpd-banner-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
}

.lgpd-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(227, 18, 26, 0.16);
  border: 1px solid rgba(227, 18, 26, 0.4);
  color: var(--accent-red);
}

.lgpd-banner-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-white);
}

.lgpd-banner-text {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.lgpd-banner-link {
  color: var(--text-white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s var(--ease-out-expo);
}

.lgpd-banner-link:hover {
  color: var(--accent-red);
}

.lgpd-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.lgpd-btn {
  flex: 1 1 auto;
  padding: 0.68rem 1.05rem;
  font-size: 0.74rem;
}

@media (max-width: 959px) {
  body.has-lgpd-banner .whatsapp-float {
    opacity: 0 !important;
    pointer-events: none;
  }
}

@media (min-width: 960px) {
  .lgpd-banner {
    left: 1.5rem;
    right: auto;
    bottom: 1.5rem;
    max-width: 560px;
    padding: 1.35rem 1.5rem;
  }

  .lgpd-btn {
    flex: 0 1 auto;
  }
}

/* --- 28.3 Página de Política de Privacidade (politica-de-privacidade.html) --- */
.legal-hero {
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: 3rem;
  background:
    radial-gradient(ellipse 65% 60% at 20% 0%, rgba(22, 54, 107, 0.35), transparent 70%),
    radial-gradient(ellipse 50% 50% at 85% 20%, rgba(227, 18, 26, 0.14), transparent 70%),
    linear-gradient(180deg, var(--bg-navy-deep) 0%, #090D18 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-back-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.25s var(--ease-out-expo), transform 0.25s var(--ease-out-expo);
}

.legal-back-link:hover {
  color: var(--accent-red);
  transform: translateX(-3px);
}

.legal-lead {
  margin-top: 1.15rem;
  font-size: 1.04rem;
  color: var(--text-secondary);
  max-width: 720px;
}

.legal-updated {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.legal-content-section {
  padding-block: 3.5rem 5rem;
}

.legal-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.legal-card {
  position: relative;
  padding: 1.85rem 1.65rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.008) 100%),
    linear-gradient(160deg, #101A2E 0%, #0A0F1C 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 50px -24px rgba(0, 0, 0, 0.75);
}

.legal-card h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 0.85rem;
}

.legal-card p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.7;
}

.legal-card a {
  color: var(--accent-red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-card a:hover {
  color: var(--text-white);
}

.legal-card code {
  padding: 0.15rem 0.45rem;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  color: #FFFFFF;
}

.legal-list {
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.legal-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-red);
  box-shadow: 0 0 8px var(--accent-red);
}

.legal-actions-inline {
  margin-top: 1.25rem;
}

.legal-contact-highlight {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: rgba(227, 18, 26, 0.08);
  border: 1px solid rgba(227, 18, 26, 0.3);
}

.legal-bottom-cta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@media (min-width: 960px) {
  .legal-card {
    padding: 2.25rem 2.2rem;
  }
}


/* --- 28.4 Elevação de camada e toast de confirmação do Banner LGPD --- */
.lgpd-banner {
  z-index: 2500;
}

.lgpd-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 2600;
  transform: translate(-50%, 20px);
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: rgba(10, 14, 26, 0.96);
  border: 1px solid rgba(37, 211, 102, 0.55);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
  font-size: 0.85rem;
  font-weight: 600;
  color: #D9FFE7;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  white-space: nowrap;
  transition:
    opacity 0.35s var(--ease-out-expo),
    transform 0.35s var(--ease-out-expo),
    visibility 0.35s;
}

.lgpd-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
