/* ==========================================================================
   Hidro Resolve — Design System & Folha de Estilos Principal (CSS3 Puro)
   Paleta Oficial: #193656 | #03B1D6 | #FFFFFF | #0F233A | #132A46 | #1C3657 | #2EDEED | #6AD9ED | #AC2021
   Arquitetura: Mobile-First (320px -> 1440px+), Dark Mode elegante nos cards
   ========================================================================== */

:root {
  /* Paleta Oficial Hidro Resolve */
  --navy-primary: #193656;
  --cyan-primary: #03B1D6;
  --white: #FFFFFF;
  --navy-deep: #0F233A;
  --navy-deep-ba: #0F243D;
  --navy-abyss-ba: #0B192C;
  --navy-card: #132A46;
  --navy-avatar: #1C3657;
  --navy-uniform: #37456A;
  --cyan-bright: #2EDEED;
  --cyan-soft: #6AD9ED;
  --accent-urgent: #AC2021;

  /* Superfícies & Contrastes */
  --bg-light: #F4F8FB;
  --bg-light-alt: #EAF2F8;
  --surface-light: #FFFFFF;
  --navy-abyss: #091728;
  --navy-card-hover: #173457;

  /* Tipografia */
  --text-main: #0F233A;
  --text-secondary: #334E68;
  --text-muted: #526B84;
  --text-on-dark: #F1F6FA;
  --text-on-dark-soft: #C6D7E8;
  --text-on-dark-muted: #8FA8C2;

  /* Semântica & Conversão */
  --whatsapp-bg: #128C7E;
  --whatsapp-bg-hover: #0F766E;
  --whatsapp-accent: #25D366;
  --status-green: #22C55E;
  --status-green-dark: #15803D;
  --positive-bg: #ECFDF5;
  --positive-border: #10B981;
  --positive-text: #065F46;
  --warning-bg: #FFFBEB;
  --warning-border: #F59E0B;
  --warning-text: #78350F;
  --neutral-bg: #ECFEFF;
  --neutral-border: #03B1D6;
  --neutral-text: #0F233A;

  /* Bordas & Glassmorphism */
  --border-light: rgba(25, 54, 86, 0.12);
  --border-cyan-glass: rgba(3, 177, 214, 0.30);
  --border-cyan-strong: rgba(46, 222, 237, 0.65);
  --glass-dark: rgba(19, 42, 70, 0.86);
  --glass-header: rgba(255, 255, 255, 0.95);

  /* Sombras */
  --shadow-sm: 0 4px 12px rgba(15, 35, 58, 0.08);
  --shadow-md: 0 12px 30px -10px rgba(15, 35, 58, 0.16);
  --shadow-dark-card: 0 20px 45px -15px rgba(5, 14, 26, 0.72);
  --shadow-cyan-glow: 0 0 26px rgba(3, 177, 214, 0.25);

  /* Raios, Espaçamentos & Tipografia */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --container-max: 1220px;
  --header-height: 76px;
  --transition-fast: 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-smooth: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   1. Reset Base, Acessibilidade & Proteção Anti-Overflow
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-width: 320px;
  overflow-x: hidden;
  overflow-x: clip;
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
picture,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

:focus-visible {
  outline: 2px solid var(--cyan-bright);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 2500;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.7rem 1.15rem;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border-radius: var(--radius-md);
  background: var(--navy-primary);
  color: var(--white);
  border: 2px solid var(--cyan-bright);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
}

.is-hidden {
  display: none !important;
}

/* ==========================================================================
   2. Containers, Títulos de Seção & Botões Globais
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.36rem 0.95rem;
  margin-bottom: 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(3, 177, 214, 0.12);
  color: var(--navy-primary);
  border: 1px solid rgba(3, 177, 214, 0.36);
}

.section-title {
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--navy-deep);
}

.section-subtitle {
  font-size: clamp(0.96rem, 1.8vw, 1.08rem);
  color: var(--text-secondary);
  margin-bottom: 0;
}

.text-gradient {
  color: var(--cyan-bright);
  background: linear-gradient(95deg, var(--cyan-primary) 0%, var(--cyan-bright) 52%, var(--cyan-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.25;
  border: 1px solid transparent;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  flex-shrink: 0;
}

.btn-primary,
.btn-whatsapp {
  background: linear-gradient(135deg, #138B7D 0%, #15803D 100%);
  color: var(--white);
  border-color: rgba(37, 211, 102, 0.48);
  box-shadow: 0 10px 24px -8px rgba(18, 140, 126, 0.55);
}

.btn-primary:hover,
.btn-whatsapp:hover {
  background: linear-gradient(135deg, #0F766E 0%, #166534 100%);
  box-shadow: 0 14px 28px -8px rgba(18, 140, 126, 0.72);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--cyan-primary) 0%, var(--cyan-bright) 100%);
  color: var(--navy-deep);
  box-shadow: 0 10px 24px -8px rgba(3, 177, 214, 0.48);
}

.btn-secondary:hover {
  box-shadow: 0 14px 28px -8px rgba(46, 222, 237, 0.65);
}

/* ==========================================================================
   3. Header Fixo / Sticky & Menu Mobile (.site-header)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--glass-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(25, 54, 86, 0.1);
  box-shadow: 0 4px 20px rgba(15, 35, 58, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: var(--header-height);
  position: relative;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo {
  height: 34px;
  width: auto;
  max-width: 155px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .brand-logo {
    height: 40px;
    max-width: 195px;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.status-badge {
  display: none;
  align-items: center;
  gap: 0.42rem;
  padding: 0.34rem 0.72rem;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--status-green-dark);
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 680px) and (max-width: 1023px) {
  .status-badge {
    display: inline-flex;
  }
}

@media (min-width: 1200px) {
  .status-badge {
    display: inline-flex;
  }
}

.status-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--status-green);
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.65);
  animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.btn-whatsapp-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 42px;
  padding: 0.52rem 0.92rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #138B7D 0%, #15803D 100%);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 700;
  border: 1px solid rgba(37, 211, 102, 0.45);
  box-shadow: 0 6px 16px -6px rgba(18, 140, 126, 0.55);
  white-space: nowrap;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-whatsapp-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -6px rgba(18, 140, 126, 0.72);
}

@media (max-width: 380px) {
  .header-inner {
    gap: 0.4rem;
  }

  .brand-logo {
    height: 28px;
    max-width: 126px;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .btn-whatsapp-header {
    min-height: 38px;
    padding: 0.42rem 0.62rem;
    font-size: 0.75rem;
    gap: 0.3rem;
  }

  .menu-toggle,
  #menuToggle {
    width: 40px;
    height: 40px;
  }
}

.menu-toggle,
#menuToggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(25, 54, 86, 0.16);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy-primary);
  flex-shrink: 0;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.menu-toggle:hover,
#menuToggle:hover {
  background: var(--bg-light);
  border-color: var(--cyan-primary);
}

.menu-toggle-bar {
  width: 20px;
  height: 2px;
  background-color: var(--navy-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.menu-toggle.is-active .menu-toggle-bar:nth-child(1),
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active .menu-toggle-bar:nth-child(2),
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active .menu-toggle-bar:nth-child(3),
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: -1rem;
  right: -1rem;
  background: var(--navy-deep);
  border-bottom: 2px solid var(--cyan-primary);
  padding: 1rem 1.25rem 1.35rem;
  box-shadow: 0 20px 38px rgba(9, 23, 40, 0.45);
  z-index: 999;
}

@media (min-width: 640px) {
  .main-nav {
    left: -1.5rem;
    right: -1.5rem;
  }
}

.main-nav.is-open {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  animation: fadeSlideDown 0.22s ease;
}

.main-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--text-on-dark);
  font-weight: 600;
  font-size: 0.94rem;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.main-nav a:hover {
  background: rgba(3, 177, 214, 0.16);
  color: var(--cyan-bright);
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1024px) {
  .menu-toggle,
  #menuToggle {
    display: none;
  }

  .brand-logo {
    height: 36px;
    max-width: 175px;
  }

  .main-nav {
    display: flex;
    position: static;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.08rem;
    min-width: 0;
    background: transparent;
    border-bottom: none;
    padding: 0;
    box-shadow: none;
  }

  .main-nav.is-open {
    flex-direction: row;
    animation: none;
  }

  .main-nav a {
    min-height: 38px;
    padding: 0.42rem 0.48rem;
    color: var(--navy-primary);
    font-size: 0.81rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .main-nav a:hover {
    background: rgba(3, 177, 214, 0.11);
    color: var(--cyan-primary);
  }
}

@media (min-width: 1200px) {
  .status-badge {
    font-size: 0.72rem;
    padding: 0.3rem 0.62rem;
  }

  .btn-whatsapp-header {
    padding: 0.48rem 0.84rem;
    font-size: 0.82rem;
  }

  .main-nav {
    gap: 0.08rem;
  }

  .main-nav a {
    padding: 0.4rem 0.45rem;
    font-size: 0.79rem;
  }
}

@media (min-width: 1280px) {
  .brand-logo {
    height: 38px;
    max-width: 185px;
  }

  .status-badge {
    font-size: 0.73rem;
    padding: 0.32rem 0.68rem;
  }

  .btn-whatsapp-header {
    padding: 0.52rem 0.92rem;
    font-size: 0.84rem;
  }

  .main-nav {
    gap: 0.14rem;
  }

  .main-nav a {
    padding: 0.44rem 0.52rem;
    font-size: 0.83rem;
  }
}

/* ==========================================================================
   4. Hero Section & Dashboard Scanner Animado (.hero, .hero-dashboard)
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: 2.75rem 0 3.5rem;
  color: var(--text-on-dark);
  background:
    radial-gradient(circle at 82% 18%, rgba(3, 177, 214, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 12% 85%, rgba(46, 222, 237, 0.12) 0%, transparent 40%),
    linear-gradient(145deg, var(--navy-abyss) 0%, var(--navy-deep) 52%, var(--navy-primary) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(106, 217, 237, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 217, 237, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .hero {
    padding: 4rem 0 4.5rem;
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 2.6rem;
  }
}

.hero-content {
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.92rem;
  margin-bottom: 1.1rem;
  border-radius: var(--radius-pill);
  background: rgba(3, 177, 214, 0.14);
  border: 1px solid rgba(46, 222, 237, 0.42);
  color: var(--cyan-soft);
  font-size: 0.81rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(1.85rem, 4.4vw, 3.05rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(0.98rem, 1.8vw, 1.12rem);
  color: var(--text-on-dark-soft);
  max-width: 58ch;
  margin-bottom: 1.45rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.65rem;
}

@media (min-width: 520px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

.hero-actions .btn-whatsapp {
  white-space: normal;
}

.hero-trust-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

@media (min-width: 640px) {
  .hero-trust-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hero-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.62rem 0.8rem;
  border-radius: var(--radius-md);
  background: rgba(19, 42, 70, 0.72);
  border: 1px solid rgba(3, 177, 214, 0.22);
  font-size: 0.83rem;
  line-height: 1.4;
  color: var(--text-on-dark-soft);
}

.hero-trust-item::before {
  content: "✓";
  color: var(--cyan-bright);
  font-weight: 800;
  flex-shrink: 0;
}

/* Dashboard Scanner Card + Card da Sócia (Atendimento) */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
}

.hero-dashboard {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  background: linear-gradient(165deg, rgba(19, 42, 70, 0.94) 0%, rgba(15, 35, 58, 0.98) 100%);
  border: 1px solid var(--border-cyan-glass);
  box-shadow: var(--shadow-dark-card), var(--shadow-cyan-glow);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.hero-dashboard::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(46, 222, 237, 0.08) 0%, transparent 45%);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(106, 217, 237, 0.16);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan-soft);
}

.dashboard-header span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.24rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(3, 177, 214, 0.16);
  border: 1px solid rgba(46, 222, 237, 0.4);
  color: var(--cyan-bright);
  font-size: 0.71rem;
  white-space: nowrap;
}

.scanner-viewport {
  position: relative;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at center, rgba(3, 177, 214, 0.15) 0%, rgba(9, 23, 40, 0.96) 76%);
  border: 1px solid rgba(3, 177, 214, 0.28);
  padding: 0.75rem;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.scanner-svg {
  width: 100%;
  max-width: 340px;
  height: auto;
}

.radar-sweep {
  animation: radar-sweep 4.5s linear infinite;
}

.scan-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: scan-pulse 2.2s ease-out infinite;
}

.scan-line {
  animation: scan-wave 3s ease-in-out infinite alternate;
}

@keyframes radar-sweep {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes scan-pulse {
  0% {
    transform: scale(0.86);
    opacity: 0.95;
  }
  70% {
    transform: scale(1.3);
    opacity: 0.18;
  }
  100% {
    transform: scale(1.42);
    opacity: 0;
  }
}

@keyframes scan-wave {
  0% {
    opacity: 0.65;
    transform: translateY(-2px);
  }
  100% {
    opacity: 1;
    transform: translateY(2px);
  }
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 0.95rem;
}

@media (min-width: 460px) {
  .dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.dashboard-metric {
  padding: 0.68rem 0.8rem;
  border-radius: var(--radius-sm);
  background: rgba(15, 35, 58, 0.8);
  border: 1px solid rgba(3, 177, 214, 0.22);
}

.dashboard-metric-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-on-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dashboard-metric-value {
  display: block;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 0.15rem;
}

/* Cards da Sócia (Atendimento & Orçamentos no Hero e no Simulador) */
.hero-attendant-card,
.attendant-card {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(28, 54, 87, 0.94), rgba(15, 35, 58, 0.96));
  border: 1px solid rgba(46, 222, 237, 0.36);
  box-shadow: var(--shadow-dark-card);
  backdrop-filter: blur(12px);
}

.attendant-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--cyan-bright);
  box-shadow: 0 0 0 4px rgba(3, 177, 214, 0.18);
  flex-shrink: 0;
}

.attendant-info {
  min-width: 0;
}

.attendant-role {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cyan-bright);
  margin-bottom: 0.18rem;
}

.attendant-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.attendant-desc {
  font-size: 0.84rem;
  color: var(--text-on-dark-soft);
  margin-bottom: 0;
  line-height: 1.45;
}

/* Destaque com Cena 07 (Atendimento & Planejamento) no bloco de atendimento */
.simulator-section .attendant-card {
  max-width: 860px;
  margin: 0 auto 1.5rem;
}

.attendant-card--featured {
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  padding: 1rem;
}

@media (min-width: 640px) {
  .attendant-card--featured {
    display: grid;
    grid-template-columns: minmax(210px, 256px) minmax(0, 1fr);
    align-items: center;
    gap: 1.25rem;
    padding: 1.05rem 1.25rem;
  }
}

.attendant-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(46, 222, 237, 0.44);
  background: var(--navy-abyss);
  box-shadow: 0 10px 24px -10px rgba(5, 14, 26, 0.72);
  flex-shrink: 0;
}

.attendant-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* ==========================================================================
   5. Seção de Serviços — Dark Mode Elegante nos Cards (.services)
   ========================================================================== */

.services {
  padding: 4.25rem 0;
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

@media (min-width: 680px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, var(--navy-card) 0%, var(--navy-deep) 100%);
  color: var(--text-on-dark);
  border: 1px solid var(--border-cyan-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-dark-card);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-cyan-strong);
  box-shadow: 0 24px 50px -15px rgba(5, 14, 26, 0.85), 0 0 24px rgba(3, 177, 214, 0.22);
}

.service-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy-abyss);
  border-bottom: 1px solid rgba(3, 177, 214, 0.22);
}

.service-lightbox-trigger,
.btn-lightbox-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.service-lightbox-trigger::after {
  content: "🔍 Ampliar";
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 2;
  padding: 0.28rem 0.72rem;
  border-radius: var(--radius-pill);
  background: rgba(9, 23, 40, 0.84);
  border: 1px solid rgba(46, 222, 237, 0.5);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.service-card:hover .service-lightbox-trigger::after {
  background: var(--cyan-primary);
  color: var(--navy-deep);
  border-color: var(--white);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.service-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.28rem 0.72rem;
  border-radius: var(--radius-pill);
  background: rgba(9, 23, 40, 0.88);
  border: 1px solid rgba(46, 222, 237, 0.45);
  color: var(--cyan-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
}

.service-card h3 {
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 0.55rem;
}

.service-card p {
  font-size: 0.91rem;
  color: var(--text-on-dark-soft);
  margin-bottom: 1.2rem;
  flex: 1;
}

.service-card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin-top: auto;
}

@media (min-width: 400px) {
  .service-card-actions {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.btn-service-wa,
.btn-simulate-service {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-md);
  font-size: 0.83rem;
  font-weight: 700;
  text-align: center;
  transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-service-wa {
  background: linear-gradient(135deg, #138B7D 0%, #15803D 100%);
  color: var(--white);
  border: 1px solid rgba(37, 211, 102, 0.42);
}

.btn-service-wa:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -6px rgba(18, 140, 126, 0.65);
}

.btn-simulate-service {
  background: rgba(3, 177, 214, 0.14);
  color: var(--cyan-soft);
  border: 1px solid rgba(3, 177, 214, 0.45);
}

.btn-simulate-service:hover {
  background: rgba(3, 177, 214, 0.26);
  border-color: var(--cyan-bright);
  color: var(--white);
}

/* ==========================================================================
   5B. Resultados Reais — Antes e Depois (#antes-depois)
   ========================================================================== */

.before-after-section {
  padding: 4.25rem 0;
  background: linear-gradient(180deg, var(--navy-abyss-ba) 0%, var(--navy-deep-ba) 58%, var(--navy-card) 100%);
  color: var(--text-on-dark);
  border-top: 1px solid rgba(3, 177, 214, 0.22);
  border-bottom: 1px solid rgba(3, 177, 214, 0.22);
}

.before-after-section .section-badge {
  background: rgba(3, 177, 214, 0.16);
  color: var(--cyan-soft);
  border-color: rgba(46, 222, 237, 0.44);
}

.before-after-section .section-title {
  color: var(--white);
}

.before-after-section .section-subtitle {
  color: var(--text-on-dark-soft);
}

.before-after-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .before-after-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .before-after-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.before-after-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(165deg, var(--navy-primary) 0%, var(--navy-deep-ba) 100%);
  border: 1px solid rgba(3, 177, 214, 0.34);
  box-shadow: var(--shadow-dark-card);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.before-after-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-bright);
  box-shadow: 0 24px 50px -15px rgba(5, 14, 26, 0.88), 0 0 24px rgba(3, 177, 214, 0.24);
}

.before-after-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--navy-abyss-ba);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  border-bottom: 1px solid rgba(3, 177, 214, 0.28);
}

.before-after-trigger:focus-visible {
  outline: 2px solid var(--cyan-bright);
  outline-offset: -2px;
}

.before-after-media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--navy-abyss-ba);
}

.before-after-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .35s ease;
}

.before-after-card:hover .before-after-media img,
.before-after-trigger:focus-visible .before-after-media img {
  transform: scale(1.04);
}

.ba-tag {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.28rem 0.72rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(5, 14, 26, 0.62);
}

.ba-tag--before {
  top: 0.65rem;
  left: 0.65rem;
  background: rgba(11, 25, 44, 0.92);
  color: #FCD34D;
  border: 1.5px solid rgba(245, 158, 11, 0.85);
}

.ba-tag--after {
  top: 0.65rem;
  right: 0.65rem;
  background: rgba(11, 25, 44, 0.92);
  color: #6EE7B7;
  border: 1.5px solid rgba(16, 185, 129, 0.88);
}

/* Split vertical (topo = Antes, base = Depois) */
.before-after-trigger[data-split="vertical"] .ba-tag--before {
  top: 0.65rem;
  left: 0.65rem;
  right: auto;
  bottom: auto;
}

.before-after-trigger[data-split="vertical"] .ba-tag--after {
  top: auto;
  right: auto;
  bottom: 0.65rem;
  left: 0.65rem;
}

.ba-zoom {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.72rem;
  border-radius: var(--radius-pill);
  background: rgba(11, 25, 44, 0.9);
  border: 1px solid rgba(106, 217, 237, 0.55);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(5, 14, 26, 0.56);
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.before-after-card:hover .ba-zoom,
.before-after-trigger:focus-visible .ba-zoom {
  background: var(--cyan-primary);
  color: var(--navy-abyss-ba);
  border-color: var(--white);
}

.before-after-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.2rem 1.25rem;
}

.before-after-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 0.45rem;
}

.before-after-body p {
  font-size: 0.89rem;
  line-height: 1.5;
  color: var(--text-on-dark-soft);
  margin-bottom: 0;
}

.before-after-cta {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  text-align: center;
}

.before-after-cta p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-on-dark-soft);
  max-width: 58ch;
}

.before-after-cta .btn {
  max-width: 100%;
  white-space: normal;
}

/* ==========================================================================
   6. Simulador de Orçamento em 3 Passos (.simulator-section, .simulator-card)
   ========================================================================== */

.simulator-section {
  padding: 4.25rem 0;
  background: linear-gradient(180deg, var(--bg-light-alt) 0%, var(--bg-light) 100%);
}

.simulator-card,
#budgetSimulator {
  max-width: 860px;
  margin-inline: auto;
  padding: 1.45rem 1.1rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--navy-card) 0%, var(--navy-deep) 100%);
  color: var(--text-on-dark);
  border: 1px solid rgba(3, 177, 214, 0.36);
  box-shadow: var(--shadow-dark-card), var(--shadow-cyan-glow);
}

@media (min-width: 640px) {
  .simulator-card,
  #budgetSimulator {
    padding: 2.1rem;
  }
}

.sim-progress {
  margin-bottom: 1.6rem;
}

.sim-indicators {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.sim-step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 42px;
  padding: 0.45rem 0.5rem;
  border-radius: var(--radius-md);
  background: rgba(15, 35, 58, 0.78);
  border: 1px solid rgba(106, 217, 237, 0.16);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-on-dark-muted);
  text-align: center;
  transition: all var(--transition-fast);
}

@media (min-width: 520px) {
  .sim-step-indicator {
    font-size: 0.82rem;
  }
}

.sim-step-indicator.is-active {
  background: rgba(3, 177, 214, 0.22);
  border-color: var(--cyan-bright);
  color: var(--white);
  box-shadow: 0 0 18px rgba(3, 177, 214, 0.25);
}

.sim-step-indicator.is-completed {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.55);
  color: #BBF7D0;
}

.sim-progress-track {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(15, 35, 58, 0.88);
  border: 1px solid rgba(106, 217, 237, 0.18);
  overflow: hidden;
}

.sim-progress-fill {
  width: 33.33%;
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--cyan-primary) 0%, var(--cyan-bright) 100%);
  box-shadow: 0 0 12px rgba(46, 222, 237, 0.65);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.sim-step {
  display: none;
}

.sim-step.is-active {
  display: block;
  animation: fadeSlideUp 0.28s ease;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sim-step-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.sim-step-desc {
  font-size: 0.89rem;
  color: var(--text-on-dark-soft);
  margin-bottom: 1.15rem;
}

.sim-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

@media (min-width: 560px) {
  .sim-options-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 820px) {
  .sim-options-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.sim-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  width: 100%;
  min-height: 56px;
  padding: 0.88rem 0.98rem;
  border-radius: var(--radius-md);
  background: rgba(25, 54, 86, 0.64);
  border: 1px solid rgba(106, 217, 237, 0.24);
  color: var(--white);
  text-align: left;
  transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.sim-option:hover {
  transform: translateY(-2px);
  background: rgba(28, 54, 87, 0.94);
  border-color: var(--cyan-primary);
}

.sim-option.is-selected {
  background: rgba(3, 177, 214, 0.22);
  border-color: var(--cyan-bright);
  box-shadow: 0 0 0 2px rgba(46, 222, 237, 0.34), 0 12px 24px -10px rgba(3, 177, 214, 0.45);
}

.sim-option--service {
  height: 100%;
  justify-content: flex-start;
  gap: 0.5rem;
}

.sim-option-head {
  display: flex;
  align-items: center;
  gap: 0.68rem;
  width: 100%;
  min-width: 0;
  pointer-events: none;
}

.sim-option-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(11, 25, 44, 0.72);
  border: 1px solid rgba(3, 177, 214, 0.36);
  color: var(--cyan-bright);
  pointer-events: none;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.sim-option-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
  pointer-events: none;
}

.sim-option--service:hover .sim-option-icon {
  background: rgba(3, 177, 214, 0.18);
  border-color: var(--cyan-bright);
  color: var(--white);
}

.sim-option--service.is-selected .sim-option-icon {
  background: linear-gradient(135deg, var(--cyan-primary) 0%, var(--cyan-bright) 100%);
  border-color: var(--white);
  color: var(--navy-abyss-ba);
  box-shadow: 0 0 14px rgba(46, 222, 237, 0.45);
}

.sim-option--service .sim-option-title {
  line-height: 1.28;
  min-width: 0;
  pointer-events: none;
}

.sim-option--service .sim-option-hint {
  pointer-events: none;
}

.sim-option-title {
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--white);
}

.sim-option-hint {
  font-size: 0.78rem;
  color: var(--text-on-dark-soft);
  line-height: 1.35;
}

.sim-field {
  margin-top: 1.2rem;
}

.sim-field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--cyan-soft);
  margin-bottom: 0.45rem;
}

#simNeighborhood {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(9, 23, 40, 0.88);
  border: 1px solid rgba(106, 217, 237, 0.35);
  color: var(--white);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

#simNeighborhood::placeholder {
  color: var(--text-on-dark-muted);
}

#simNeighborhood:focus {
  outline: none;
  border-color: var(--cyan-bright);
  box-shadow: 0 0 0 3px rgba(46, 222, 237, 0.22);
}

#simSummary {
  margin-top: 1.2rem;
  padding: 0.9rem 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(9, 23, 40, 0.8);
  border: 1px solid rgba(3, 177, 214, 0.32);
  font-size: 0.86rem;
  color: var(--text-on-dark-soft);
  line-height: 1.55;
}

#simSummary strong {
  color: var(--cyan-bright);
}

#simError {
  margin-top: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(172, 32, 33, 0.24);
  border: 1px solid rgba(248, 113, 113, 0.7);
  color: #FECACA;
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
}

#simError.is-visible,
#simError:not(:empty) {
  display: block;
}

.sim-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.35rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(106, 217, 237, 0.16);
}

#simPrevBtn,
#simNextBtn,
#simSubmitBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.72rem 1.38rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.93rem;
  border: 1px solid transparent;
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

#simPrevBtn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-on-dark-soft);
  border-color: rgba(255, 255, 255, 0.22);
}

#simPrevBtn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

#simPrevBtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

#simNextBtn {
  margin-left: auto;
  background: linear-gradient(135deg, var(--cyan-primary) 0%, var(--cyan-bright) 100%);
  color: var(--navy-deep);
  box-shadow: 0 10px 24px -8px rgba(3, 177, 214, 0.48);
}

#simNextBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(46, 222, 237, 0.65);
}

#simSubmitBtn {
  margin-left: auto;
  white-space: normal;
  background: linear-gradient(135deg, #138B7D 0%, #15803D 100%);
  color: var(--white);
  border-color: rgba(37, 211, 102, 0.48);
  box-shadow: 0 10px 26px -8px rgba(18, 140, 126, 0.65);
}

#simSubmitBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(18, 140, 126, 0.78);
}

/* ==========================================================================
   7. Cobertura & Buscador de Bairros de SP (.coverage-section)
   ========================================================================== */

.coverage-section {
  padding: 4.25rem 0;
  background: var(--white);
}

.coverage-box {
  max-width: 1000px;
  margin-inline: auto;
  padding: 1.35rem 1.05rem;
  border-radius: var(--radius-xl);
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

@media (min-width: 640px) {
  .coverage-box {
    padding: 2rem;
  }
}

.coverage-search-row {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

@media (min-width: 560px) {
  .coverage-search-row {
    flex-direction: row;
    align-items: stretch;
  }
}

#neighborhoodInput {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0.75rem 1.05rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(25, 54, 86, 0.22);
  background: var(--white);
  color: var(--navy-deep);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

#neighborhoodInput:focus {
  outline: none;
  border-color: var(--cyan-primary);
  box-shadow: 0 0 0 3px rgba(3, 177, 214, 0.2);
}

#neighborhoodSearchBtn {
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(3, 177, 214, 0.35);
  background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-deep) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 0.94rem;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

#neighborhoodSearchBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -8px rgba(25, 54, 86, 0.5);
}

.coverage-result,
#coverageResult {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: 0.92rem;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .coverage-result,
  #coverageResult {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.coverage-message strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.96rem;
}

.coverage-message p {
  margin: 0;
  font-size: 0.87rem;
}

.btn-coverage-wa {
  flex-shrink: 0;
  white-space: normal;
  font-size: 0.85rem;
  padding: 0.65rem 1.1rem;
}

.coverage-result.is-positive {
  background: var(--positive-bg);
  border-color: var(--positive-border);
  color: var(--positive-text);
}

.coverage-result.is-neutral {
  background: var(--neutral-bg);
  border-color: var(--neutral-border);
  color: var(--neutral-text);
}

.coverage-result.is-warning {
  background: var(--warning-bg);
  border-color: var(--warning-border);
  color: var(--warning-text);
}

.zone-filters,
#zoneFilters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.zone-tab {
  min-height: 38px;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(25, 54, 86, 0.18);
  background: var(--white);
  color: var(--navy-primary);
  font-size: 0.81rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.zone-tab:hover {
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
}

.zone-tab.is-active {
  background: var(--navy-primary);
  color: var(--white);
  border-color: var(--cyan-primary);
  box-shadow: 0 6px 14px -6px rgba(25, 54, 86, 0.45);
}

/* Container limpo e compacto exibindo todos os bairros de SP sem poluir o layout */
.neighborhood-tags,
#neighborhoodTags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  padding: 0.95rem;
  max-height: 260px;
  overflow-y: auto;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid rgba(25, 54, 86, 0.12);
  scrollbar-width: thin;
  scrollbar-color: var(--cyan-primary) var(--bg-light);
}

.neighborhood-tags::-webkit-scrollbar {
  width: 6px;
}

.neighborhood-tags::-webkit-scrollbar-track {
  background: var(--bg-light);
  border-radius: 6px;
}

.neighborhood-tags::-webkit-scrollbar-thumb {
  background: var(--cyan-primary);
  border-radius: 6px;
}

.neighborhood-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.28rem 0.72rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(25, 54, 86, 0.14);
  background: var(--bg-light);
  color: var(--navy-primary);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  transition: all var(--transition-fast);
}

.neighborhood-tag:hover {
  background: rgba(3, 177, 214, 0.14);
  border-color: var(--cyan-primary);
  color: var(--navy-deep);
}

.neighborhood-tag.is-active {
  background: var(--navy-primary);
  color: var(--white);
  border-color: var(--cyan-bright);
  box-shadow: 0 0 0 2px rgba(3, 177, 214, 0.25);
}

.neighborhood-tag.is-hidden {
  display: none;
}

/* ==========================================================================
   8. Galeria Técnica & Modal Lightbox (.gallery-section, #lightboxModal)
   ========================================================================== */

.gallery-section {
  padding: 4.25rem 0;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-abyss) 100%);
  color: var(--text-on-dark);
}

.gallery-section .section-badge {
  background: rgba(3, 177, 214, 0.16);
  color: var(--cyan-soft);
  border-color: rgba(46, 222, 237, 0.42);
}

.gallery-section .section-title {
  color: var(--white);
}

.gallery-section .section-subtitle {
  color: var(--text-on-dark-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 560px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gallery-item {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  text-align: left;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-card);
  border: 1px solid var(--border-cyan-glass);
  box-shadow: var(--shadow-dark-card);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-bright);
  box-shadow: 0 22px 44px -14px rgba(5, 14, 26, 0.88), var(--shadow-cyan-glow);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  width: 100%;
  padding: 0.95rem 1.05rem;
  background: linear-gradient(180deg, rgba(19, 42, 70, 0.96), rgba(15, 35, 58, 0.98));
  border-top: 1px solid rgba(3, 177, 214, 0.22);
}

.gallery-caption strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.gallery-caption span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-on-dark-soft);
}

/* Modal Lightbox */
.lightbox-modal,
#lightboxModal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(6, 15, 28, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox-modal.is-open,
#lightboxModal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  width: 100%;
  max-width: min(92vw, 940px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-card);
  border: 1px solid rgba(46, 222, 237, 0.45);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.78);
}

#lightboxImg {
  width: 100%;
  max-height: 66vh;
  object-fit: contain;
  background: var(--navy-abyss);
}

.lightbox-caption {
  padding: 1rem 1.25rem 1.15rem;
  background: var(--navy-deep);
  border-top: 1px solid rgba(3, 177, 214, 0.25);
  color: var(--white);
}

#lightboxTitle {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--cyan-soft);
  margin-bottom: 0.35rem;
}

#lightboxDesc {
  font-size: 0.9rem;
  color: var(--text-on-dark-soft);
  margin-bottom: 0;
}

#lightboxClose,
#lightboxPrev,
#lightboxNext {
  position: absolute;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(46, 222, 237, 0.55);
  background: rgba(9, 23, 40, 0.86);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

#lightboxClose:hover,
#lightboxPrev:hover,
#lightboxNext:hover {
  background: var(--cyan-primary);
  color: var(--navy-deep);
  border-color: var(--white);
}

#lightboxClose {
  top: 0.75rem;
  right: 0.75rem;
}

#lightboxPrev {
  top: 38%;
  left: 0.75rem;
  transform: translateY(-50%);
}

#lightboxNext {
  top: 38%;
  right: 0.75rem;
  transform: translateY(-50%);
}

@media (max-width: 479px) {
  #lightboxClose,
  #lightboxPrev,
  #lightboxNext {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
  }

  #lightboxPrev {
    left: 0.45rem;
  }

  #lightboxNext {
    right: 0.45rem;
  }
}

/* ==========================================================================
   9. Quem Somos (.about-section) & FAQ (.faq-section)
   ========================================================================== */

.about-section {
  padding: 4.25rem 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 920px) {
  .about-grid {
    grid-template-columns: 0.88fr 1.12fr;
    gap: 2.75rem;
  }
}

.about-media {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 0.65rem;
  background: linear-gradient(155deg, var(--navy-card) 0%, var(--navy-deep) 100%);
  border: 1px solid var(--border-cyan-glass);
  box-shadow: var(--shadow-dark-card);
}

.about-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: calc(var(--radius-xl) - 8px);
  object-fit: cover;
  object-position: center top;
}

.about-content {
  min-width: 0;
}

.about-content .section-title {
  text-align: left;
}

.about-content > p {
  color: var(--text-secondary);
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

@media (min-width: 560px) {
  .about-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.about-pillar {
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius-md);
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--cyan-primary);
}

.about-pillar strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy-primary);
  margin-bottom: 0.25rem;
}

.about-pillar p {
  font-size: 0.86rem;
  color: var(--text-main);
  margin-bottom: 0;
  line-height: 1.45;
}

/* FAQ */
.faq-section {
  padding: 4.25rem 0;
  background: var(--bg-light);
}

.faq-list {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--cyan-primary);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--navy-deep);
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cyan-primary);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.25rem 1.15rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.faq-answer code {
  background: rgba(3, 177, 214, 0.12);
  color: var(--navy-primary);
  padding: 0.1rem 0.38rem;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 0.86em;
}

/* ==========================================================================
   10. Rodapé Institucional (.site-footer) & WhatsApp Flutuante
   ========================================================================== */

.site-footer {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-abyss) 100%);
  color: var(--text-on-dark-soft);
  border-top: 2px solid rgba(3, 177, 214, 0.35);
  padding: 3.5rem 0 6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1.15fr 0.85fr;
    gap: 2.25rem;
  }
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-md);
  background: var(--white);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.site-footer .brand-logo {
  height: 36px;
  width: auto;
  max-width: 190px;
}

.footer-title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.footer-info-list,
.footer-links {
  display: grid;
  gap: 0.58rem;
  font-size: 0.87rem;
}

.footer-info-list strong {
  color: var(--white);
}

.footer-links a {
  color: var(--text-on-dark-soft);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--cyan-bright);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.4rem;
  border-top: 1px solid rgba(106, 217, 237, 0.16);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Botão Flutuante WhatsApp */
#floatingWhatsApp.whatsapp-float,
.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 56px;
  min-height: 56px;
  padding: 0.78rem 1.15rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #138B7D 0%, #15803D 100%);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  border: 2px solid rgba(37, 211, 102, 0.78);
  box-shadow: 0 14px 32px rgba(7, 24, 38, 0.48), 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: whatsapp-ring 2.6s infinite;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

#floatingWhatsApp.whatsapp-float:hover,
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
}

@keyframes whatsapp-ring {
  0% {
    box-shadow: 0 14px 32px rgba(7, 24, 38, 0.48), 0 0 0 0 rgba(37, 211, 102, 0.55);
  }
  70% {
    box-shadow: 0 14px 32px rgba(7, 24, 38, 0.48), 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 14px 32px rgba(7, 24, 38, 0.48), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 479px) {
  #floatingWhatsApp.whatsapp-float .whatsapp-float-label {
    display: none;
  }

  #floatingWhatsApp.whatsapp-float {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
  }
}

/* ==========================================================================
   11. Preferência de Movimento Reduzido
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
