/* Home — Visite Águas Quentes (estilos exclusivos da home) */
@import url('vaq-design-system.css');

/* Hero */
.vaq-hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  /* Fallback = soft: qualquer folga sob o vídeo/onda fica areia, não branco */
  background: var(--vaq-bg-soft);
}

.vaq-hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.vaq-hero__video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vaq-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 94, 107, 0.55) 0%, rgba(13, 13, 13, 0.35) 100%);
  z-index: 1;
}

.vaq-hero__ripples {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vaq-ripple {
  position: absolute;
  width: min(42vw, 260px);
  height: min(42vw, 260px);
  border-radius: 50%;
  border: 2px solid rgba(244, 166, 35, 0.35);
  animation: vaq-ripple 4.5s ease-out infinite;
}

.vaq-ripple:nth-child(1) {
  animation-delay: 0s;
}

.vaq-ripple:nth-child(2) {
  animation-delay: 1.5s;
}

.vaq-ripple:nth-child(3) {
  animation-delay: 3s;
}

@keyframes vaq-ripple {
  0% {
    transform: scale(0.3);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vaq-ripple {
    animation: none;
    opacity: 0.25;
  }
}

.vaq-hero__content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.25rem 3rem;
  max-width: 900px;
}

.vaq-hero__title {
  font-family: var(--vaq-font-display);
  font-weight: 900;
  font-size: clamp(2rem, 6.5vw, 3.35rem);
  line-height: 1.1;
  margin: 0 0 0.4rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.vaq-hero__tagline {
  font-family: var(--vaq-font-script);
  font-weight: 600;
  font-size: clamp(1.15rem, 3.5vw, 1.75rem);
  line-height: 1.2;
  margin: 0;
  opacity: 0.95;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

/* Transição hero → seção seguinte */
/* Onda ancorada no fundo do hero — áreas transparentes do SVG
   revelam o vídeo; o fill (soft/sand) continua na seção seguinte. */
.vaq-hero-wave-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  line-height: 0;
  pointer-events: none;
}

.vaq-hero-wave {
  display: block;
  width: 100%;
  height: 72px;
  color: var(--vaq-bg-soft);
}

.vaq-banner-home {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.vaq-banner-home .vaq-banner-slot {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.vaq-banner-home:has(.vaq-banner-slot[data-loaded="1"]) {
  margin-top: 1.5rem;
}

.vaq-btn-outline {
  margin-top: 2rem;
}

/* Mosaic roteiros */
.vaq-mosaic {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(160px, auto);
}

.vaq-mosaic__item {
  position: relative;
  border-radius: var(--vaq-radius);
  overflow: hidden;
  min-height: 180px;
}

.vaq-mosaic__item--lg { grid-column: span 6; grid-row: span 2; }
.vaq-mosaic__item--md { grid-column: span 6; }
.vaq-mosaic__item--sm { grid-column: span 4; }

.vaq-mosaic__link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: #fff;
}

.vaq-mosaic__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
  transition: transform 0.4s;
}

.vaq-mosaic__item:hover .vaq-mosaic__img {
  transform: scale(1.04);
}

.vaq-mosaic__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(27, 94, 107, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}

.vaq-mosaic__tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
  margin-bottom: 0.25rem;
}

.vaq-mosaic__title {
  font-family: var(--vaq-font-display);
  font-weight: 900;
  font-size: 1.15rem;
  margin: 0;
  line-height: 1.2;
}

@media (max-width: 767px) {
  .vaq-mosaic__item--lg,
  .vaq-mosaic__item--md,
  .vaq-mosaic__item--sm {
    grid-column: span 12;
    grid-row: span 1;
  }
}

/* TV section — black identity */
.vaq-tv {
  background: var(--vaq-dark);
  color: #fff;
  padding: var(--vaq-section-gap) 1.25rem;
}

.vaq-tv .vaq-section-kicker { color: var(--vaq-accent); }
.vaq-tv .vaq-section-title { color: #fff; }
.vaq-tv .vaq-section-sub { color: rgba(255, 255, 255, 0.75); }

.vaq-grid--tv {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.vaq-tv-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.vaq-tv-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--vaq-radius);
}

.vaq-tv-card__title {
  font-family: var(--vaq-font-display);
  font-size: 1rem;
  margin: 0.65rem 0 0.25rem;
  color: #fff;
}

.vaq-tv-card__cat {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.vaq-btn-flix {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--vaq-accent);
  color: var(--vaq-dark);
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--vaq-font-display);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

/* Depoimentos carousel */
.vaq-testimonials {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.vaq-testimonials .vaq-testimonial {
  flex: 0 0 min(320px, 85vw);
  scroll-snap-align: start;
}

.vaq-testimonial__partner {
  font-size: 0.85rem;
  color: var(--vaq-muted);
  margin: 0.25rem 0 0;
}

.vaq-testimonial__partner a {
  color: var(--vaq-secondary);
  text-decoration: none;
}

/* Carrossel de logomarcas institucionais */
.vaq-logos-strip {
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
  background: linear-gradient(180deg, #f3f6f8 0%, #eef2f4 100%);
  border-block: 1px solid rgba(15, 40, 55, 0.06);
}

.vaq-section-head--compact {
  margin-bottom: 1.25rem;
}

.vaq-section-head--compact .vaq-section-title {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  margin-bottom: 0;
}

.vaq-logos-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.vaq-logos-marquee__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(3.3rem, 7.5vw, 5.7rem);
  width: max-content;
  animation: vaq-logos-scroll 36s linear infinite;
  will-change: transform;
}

.vaq-logos-marquee:hover .vaq-logos-marquee__track {
  animation-play-state: paused;
}

.vaq-logos-marquee__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 94px;
  padding: 0 0.25rem;
  pointer-events: none;
  user-select: none;
}

.vaq-logos-marquee__item img {
  display: block;
  max-height: 94px;
  max-width: 264px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.15);
  opacity: 0.9;
}

@keyframes vaq-logos-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .vaq-logos-marquee__track {
    gap: clamp(2.7rem, 9vw, 3.9rem);
    animation-duration: 28s;
  }

  .vaq-logos-marquee__item {
    height: 91px;
  }

  .vaq-logos-marquee__item img {
    max-height: 91px;
    max-width: 240px;
  }
}

/* Marquee decorativo: mantém rolagem contínua mesmo com reduced-motion
   (evitar flex-wrap estático que quebrava a 4ª logo numa 2ª linha). */
@media (prefers-reduced-motion: reduce) {
  .vaq-logos-marquee__track {
    animation-duration: 60s;
  }
}

/* CTA */
.vaq-cta {
  background: linear-gradient(135deg, var(--vaq-primary) 0%, var(--vaq-secondary) 100%);
  color: #fff;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  border-radius: 0;
}

.vaq-cta__title {
  font-family: var(--vaq-font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin: 0 0 0.75rem;
}

.vaq-cta__sub {
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  opacity: 0.95;
  line-height: 1.55;
}

/* Footer simplificado */
.vaq-home-footer {
  background: var(--vaq-bg-soft);
  padding: 2.5rem 1.25rem;
  text-align: center;
}

.vaq-home-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.vaq-home-footer__links a {
  color: var(--vaq-primary);
  text-decoration: none;
  font-family: var(--vaq-font-display);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.vaq-home-footer__logo {
  width: 120px;
  opacity: 0.9;
}
