/* ============================================================
   style.css — Solution Guincho Enhanced
   Glassmorphismo profundo + animações premium
   ============================================================ */

:root {
  --vermelho:        #E50914;
  --vermelho-escuro: #B20710;
  --vermelho-brilho: #ff2233;
  --preto:           #0a0a0a;
  --preto-claro:     #141414;
  --preto-card:      #181818;
  --branco:          #ffffff;
  --texto-suave:     #aaaaaa;
  --glass-bg:        rgba(255, 255, 255, 0.04);
  --glass-bg-hover:  rgba(255, 255, 255, 0.08);
  --glass-border:    rgba(255, 255, 255, 0.08);
  --glass-border-red:rgba(229, 9, 20, 0.4);
  --glow-red:        0 0 20px rgba(229,9,20,0.4), 0 0 60px rgba(229,9,20,0.15);
  --glow-red-sm:     0 0 10px rgba(229,9,20,0.35);
  --radius-card:     20px;
  --radius-btn:      50px;
}

/* ── Reset ── */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--preto);
  color: var(--branco);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Keyframes ── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
  70%  { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@keyframes borderGlow {
  0%, 100% { border-color: rgba(229,9,20,0.3); box-shadow: 0 0 10px rgba(229,9,20,0.1); }
  50%       { border-color: rgba(229,9,20,0.7); box-shadow: 0 0 25px rgba(229,9,20,0.3); }
}
@keyframes textShine {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes heroLineExpand {
  from { width: 0; }
  to   { width: 80px; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes scanline {
  0%   { top: -5%; }
  100% { top: 105%; }
}

/* ════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════ */
header {
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  padding: 18px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  animation: fadeInDown 0.8s ease-out;
  transition: background 0.4s ease, border-color 0.4s ease;
}

.logo { text-decoration: none; display: flex; align-items: center; }
.logo-img { max-height: 48px; width: auto; display: block; }

.btn-call {
  background: linear-gradient(135deg, var(--vermelho), var(--vermelho-escuro));
  color: var(--branco);
  text-decoration: none;
  padding: 10px 26px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all 0.35s ease;
  box-shadow: var(--glow-red-sm);
  position: relative;
  overflow: hidden;
}
.btn-call::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-call:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-red);
}
.btn-call:hover::before { opacity: 1; }

/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 30%, rgba(229,9,20,0.08), transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(229,9,20,0.05), transparent 50%),
              var(--preto);
  padding: 160px 5% 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
}

/* Scanline decorativo */
.hero::before {
  content: '';
  position: absolute;
  left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(229,9,20,0.15), transparent);
  animation: scanline 8s linear infinite;
  z-index: 1;
}

.hero-video-container {
  position: absolute; inset: 0;
  z-index: 0;
  background: var(--preto);
}
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: saturate(0.6);
}

.hero-video-container::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center bottom,
    rgba(229,9,20,0.12) 0%,
    transparent 70%),
    linear-gradient(to bottom,
      transparent 50%,
      var(--preto) 100%);
}

.hero h1, .hero p, .hero a { position: relative; z-index: 2; }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 10px;
  max-width: 920px;
  font-weight: 700;
  line-height: 1.15;
  background: linear-gradient(90deg,
    #fff 0%, #fff 35%,
    var(--vermelho-brilho) 50%,
    #fff 65%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease-out 0.2s both, textShine 5s linear 1.2s infinite;
}

.hero h1::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--vermelho), transparent);
  border-radius: 2px;
  margin: 14px auto 0;
  animation: heroLineExpand 0.8s ease-out 1.2s both;
}

.hero p {
  font-size: 1.15rem;
  color: var(--texto-suave);
  margin-bottom: 45px;
  max-width: 700px;
  font-weight: 300;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-large {
  background: linear-gradient(135deg, var(--vermelho) 0%, var(--vermelho-escuro) 100%);
  color: var(--branco);
  text-decoration: none;
  padding: 18px 50px;
  border-radius: var(--radius-btn);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.35s ease;
  box-shadow: 0 6px 30px rgba(229,9,20,0.45);
  animation: fadeInUp 1s ease-out 0.6s both;
  position: relative;
  overflow: hidden;
  display: inline-block;
}
.btn-large::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}
.btn-large:hover { transform: translateY(-4px) scale(1.03); box-shadow: var(--glow-red); }
.btn-large:hover::before { left: 100%; }

/* ════════════════════════════════════════════
   STATS / NÚMEROS
   ════════════════════════════════════════════ */
.stats-section {
  padding: 80px 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 2;
}

.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--preto) 0%, var(--preto-claro) 50%, var(--preto) 100%);
  z-index: -1;
}

.stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 40px 28px;
  text-align: center;
  transition: all 0.4s ease;
  animation: borderGlow 4s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
.stat-card:nth-child(2) { animation-delay: 1.3s; }
.stat-card:nth-child(3) { animation-delay: 2.6s; }
.stat-card:nth-child(4) { animation-delay: 3.9s; }

.stat-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-red);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), var(--glow-red-sm);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--vermelho);
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(229,9,20,0.4);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--texto-suave);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 400;
}

/* ════════════════════════════════════════════
   SERVICES
   ════════════════════════════════════════════ */
.services {
  padding: 110px 5%;
  background: var(--preto);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 30%; left: -10%;
  width: 400px; height: 400px;
  background: var(--vermelho);
  filter: blur(180px);
  opacity: 0.08;
  pointer-events: none;
}
.services::after {
  content: '';
  position: absolute;
  bottom: 20%; right: -5%;
  width: 300px; height: 300px;
  background: var(--vermelho);
  filter: blur(150px);
  opacity: 0.06;
  pointer-events: none;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  font-weight: 700;
}
.section-title span {
  color: var(--vermelho);
  text-shadow: 0 0 20px rgba(229,9,20,0.4);
}
.section-subtitle {
  color: var(--texto-suave);
  font-size: 1rem;
  margin-bottom: 70px;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

.section-line {
  display: block;
  width: 50px; height: 3px;
  background: linear-gradient(90deg, var(--vermelho), transparent);
  border-radius: 2px;
  margin: 16px auto 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--glass-border);
  padding: 44px 32px;
  border-radius: var(--radius-card);
  transition: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: left;
}

.service-card:hover {
  transform: translateY(-16px);
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-red);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), var(--glow-red-sm);
}

.service-icon {
  font-size: 2.4rem;
  margin-bottom: 22px;
  display: inline-block;
  animation: floatY 4s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(229,9,20,0.4));
}
.service-card:nth-child(2) .service-icon { animation-delay: 1s; }
.service-card:nth-child(3) .service-icon { animation-delay: 2s; }

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  color: var(--branco);
  font-weight: 600;
}
.service-card p {
  color: var(--texto-suave);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-tag {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--vermelho);
  border: 1px solid rgba(229,9,20,0.35);
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(229,9,20,0.06);
}

/* ════════════════════════════════════════════
   CARROSSEL DE DEPOIMENTOS
   ════════════════════════════════════════════ */
.testimonials-section {
  padding: 100px 5%;
  background: var(--preto-claro);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border-red), transparent);
}

.carousel-container {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto 0;
    overflow: hidden;
    position: relative;
    padding: 20px 0 40px;
}

.testimonials-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 10px 40px; 
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; 
    scroll-behavior: smooth;
    cursor: grab;
}

.carousel-container:hover .testimonials-track {
    animation-play-state: paused;
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-card);
    padding: 36px 30px;
    text-align: left;
    transition: all 0.4s ease;
    width: calc(33.333% - 18.666px);
    flex-shrink: 0;
}

.testimonial-card:hover {
    border-color: var(--glass-border-red);
    background: var(--glass-bg-hover);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), var(--glow-red-sm);
}

.testimonial-stars {
  color: var(--vermelho);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-shadow: 0 0 10px rgba(229,9,20,0.5);
}
.testimonial-text {
  color: var(--texto-suave);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 22px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vermelho-escuro), var(--vermelho));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(229,9,20,0.4);
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--branco);
}
.testimonial-neighborhood {
  font-size: 0.78rem;
  color: #666;
}

/* ════════════════════════════════════════════
   CTA SECTION
   ════════════════════════════════════════════ */
.cta-section {
  padding: 100px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--preto);
}

.cta-ring {
  position: absolute;
  width: 500px; height: 500px;
  border: 1px solid rgba(229,9,20,0.08);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: rotateRing 40s linear infinite;
  pointer-events: none;
}
.cta-ring::before {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  background: var(--vermelho);
  border-radius: 50%;
  top: -4px; left: 50%;
  box-shadow: var(--glow-red-sm);
}
.cta-ring-2 {
  position: absolute;
  width: 340px; height: 340px;
  border: 1px solid rgba(229,9,20,0.06);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: rotateRing 28s linear infinite reverse;
  pointer-events: none;
}

.cta-glass {
  position: relative;
  z-index: 2;
  background: var(--glass-bg);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--glass-border-red);
  border-radius: 28px;
  padding: 70px 50px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 0 60px rgba(229,9,20,0.1), inset 0 0 40px rgba(229,9,20,0.03);
}

.cta-glass h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-glass p {
  color: var(--texto-suave);
  font-size: 1rem;
  margin-bottom: 40px;
  font-weight: 300;
}

/* ════════════════════════════════════════════
   FLOAT WHATSAPP
   ════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 32px; right: 32px;
  background: rgba(37, 211, 102, 0.75);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  color: white;
  width: 66px; height: 66px;
  border-radius: 50%;
  display: flex;
  align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 1000;
  border: 1px solid rgba(255,255,255,0.2);
  animation: pulse 2.2s infinite;
  transition: all 0.3s ease;
}
.whatsapp-float:hover {
  background: rgba(37, 211, 102, 1);
  transform: scale(1.12);
  animation: none;
  box-shadow: 0 6px 30px rgba(37,211,102,0.6);
}

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
footer {
  background: linear-gradient(180deg, var(--preto-claro), var(--preto));
  color: var(--texto-suave);
  padding: 70px 5% 36px;
  text-align: center;
  border-top: 1px solid rgba(229,9,20,0.15);
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229,9,20,0.5), transparent);
}

.footer-content p { font-size: 0.9rem; margin-top: 6px; }

.seo-neighborhoods {
  margin-top: 45px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 0.8rem;
  text-align: left;
}
.seo-neighborhoods h4 {
  color: #555;
  margin-bottom: 16px;
  font-weight: 400;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.seo-neighborhoods ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.seo-neighborhoods a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
  font-size: 0.8rem;
}
.seo-neighborhoods a:hover {
  color: var(--vermelho);
  text-shadow: 0 0 8px rgba(229,9,20,0.4);
}

.copyright {
  margin-top: 36px;
  font-size: 0.78rem;
  opacity: 0.4;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ════════════════════════════════════════════
   RESPONSIVO
   ════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero { padding-top: 130px; min-height: 85vh; }
  .hero h1 { font-size: 2.2rem; }
  .hero p  { font-size: 1rem; }
  .btn-large { padding: 15px 36px; font-size: 0.95rem; }
  header { padding: 14px 5%; }
  .stats-section { gap: 16px; padding: 60px 5%; }
  .stat-number { font-size: 2.4rem; }
  .services { padding: 80px 5%; }
  .cta-glass { padding: 50px 28px; }
  .cta-ring, .cta-ring-2 { display: none; }
  .whatsapp-float { width: 58px; height: 58px; bottom: 24px; right: 24px; }
}

/* ════════════════════════════════════════════
   ÁREAS EXCLUSIVAS DO BAIRRO (bairro.html)
   ════════════════════════════════════════════ */
.seo-content {
  padding: 90px 5%;
  background: linear-gradient(180deg, var(--preto) 0%, var(--preto-claro) 50%, var(--preto) 100%);
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.seo-content h2 {
  color: var(--branco);
  font-size: 1.9rem;
  margin-bottom: 22px;
  font-weight: 700;
}
.seo-content p {
  color: var(--texto-suave);
  margin-bottom: 18px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.map-section {
    padding: 60px 5%;
    background: var(--preto);
    text-align: center;
}
.map-glass-container {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 12px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), inset 0 0 30px rgba(229,9,20,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s;
}
.map-glass-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.9), inset 0 0 40px rgba(229,9,20,0.15), 0 0 25px rgba(229,9,20,0.25);
    border-color: rgba(229,9,20,0.3);
}
.map-glass-container iframe {
    border-radius: 16px;
    filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(90%);
    transition: filter 0.5s ease;
}
.map-glass-container:hover iframe {
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(100%);
}

.seo-neighborhoods-dynamic {
  padding: 80px 5%;
  background: var(--preto-claro);
  text-align: center;
  border-top: 1px solid var(--glass-border);
  position: relative;
}

.seo-neighborhoods-dynamic h3 {
  color: var(--branco);
  font-size: 1.6rem;
  margin-bottom: 35px;
  font-weight: 600;
}

.glass-pill-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
}
.glass-pill-list li { display: inline-block; }
.glass-pill-list a {
    color: var(--texto-suave);
    text-decoration: none;
    padding: 12px 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.9rem;
    display: block;
}
.glass-pill-list a:hover {
    color: var(--branco);
    border-color: rgba(229,9,20,0.6);
    background: rgba(229,9,20,0.15);
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 15px 25px rgba(0,0,0,0.5), var(--glow-red-sm);
}

.glass-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s;
}
.glass-modal-overlay.show {
    opacity: 1; visibility: visible;
}
.glass-modal-content {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.7), rgba(15, 15, 15, 0.8));
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(229, 9, 20, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    padding: 50px 40px;
    text-align: center;
    max-width: 450px; width: 90%;
    transform: scale(0.85) translateY(40px);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 40px 100px rgba(0,0,0,0.9), inset 0 0 30px rgba(229,9,20,0.1), 0 0 60px rgba(229,9,20,0.2);
    position: relative;
}
.glass-modal-overlay.show .glass-modal-content {
    transform: scale(1) translateY(0);
}
.modal-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: var(--glow-red);
}
.pulse-icon {
    animation: pulse 2s infinite;
}
.glass-modal-content h3 {
    font-size: 1.5rem; color: var(--branco); margin-bottom: 15px; font-weight: 700;
}
.glass-modal-content p {
    color: var(--texto-suave); font-size: 0.95rem; margin-bottom: 30px; line-height: 1.6;
}
.btn-modal-call {
    display: block; width: 100%; margin-bottom: 15px;
}
.btn-wa-text {
    color: #25D366; font-weight: 600; text-decoration: none; font-size: 0.95rem; transition: color 0.3s;
}
.btn-wa-text:hover { color: #1ebe57; text-decoration: underline; }
.close-btn {
    position: absolute; top: 15px; right: 25px;
    background: transparent; border: none; color: var(--texto-suave);
    font-size: 32px; cursor: pointer; transition: all 0.3s;
}
.close-btn:hover { color: var(--vermelho); transform: rotate(90deg); }

/* ════════════════════════════════════════════
   CARROSSEL DE DEPOIMENTOS (SCROLL NATIVO)
   ════════════════════════════════════════════ */
.testimonials-section {
  padding: 100px 5%;
  background: var(--preto-claro);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border-red), transparent);
}

.carousel-container {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto 0;
    position: relative;
}

/* Transformando em uma área de scroll horizontal perfeita */
.testimonials-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 10px 40px; /* Espaço pro hover não cortar a sombra */
    -webkit-overflow-scrolling: touch;
    
    /* Esconde a barra de rolagem nativa para ficar mais limpo */
    scrollbar-width: none; /* Firefox */
}
.testimonials-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Cards menores e otimizados */
.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-card);
    padding: 26px 22px; /* Reduzido para ficar menor */
    text-align: left;
    transition: all 0.4s ease;
    
    /* Tamanho fixo do card: ele não encolhe nem estica, apenas rola */
    flex: 0 0 320px; 
    scroll-snap-align: center; /* Quando o usuário soltar o dedo, o card centraliza */
}

.testimonial-card:hover {
    border-color: var(--glass-border-red);
    background: var(--glass-bg-hover);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4), var(--glow-red-sm);
}

/* Ajustes de fonte menores para caber melhor no novo card */
.testimonial-stars {
  color: var(--vermelho);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-shadow: 0 0 10px rgba(229,9,20,0.5);
}
.testimonial-text {
  color: var(--texto-suave);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 18px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px; height: 40px; /* Foto ligeiramente menor */
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vermelho-escuro), var(--vermelho));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(229,9,20,0.4);
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--branco);
}
.testimonial-neighborhood {
  font-size: 0.72rem;
  color: #666;
}
/* =============================================
   GRADE DE CIDADE ANIMADA — CTA SECTION
   ============================================= */
.cta-section {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    padding: 100px 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #060606;
}

#cta-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.cta-glass {
    position: relative;
    z-index: 2;
    background: rgba(10, 10, 10, 0.80);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    border: 1px solid rgba(229, 9, 20, 0.55);
    border-radius: 28px;
    padding: 70px 50px;
    max-width: 680px;
    width: 100%;
    text-align: center;
    box-shadow: 0 0 90px rgba(229,9,20,0.28),
                inset 0 0 50px rgba(229,9,20,0.12);
}

.cta-glass h2 {
    text-shadow: 0 0 35px rgba(229,9,20,0.7);
}

