/* ========================================
   VelarClima — Premium Landing Page
   Fundo branco, design limpo, profissional
   ======================================== */

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-dark: rgba(10, 10, 10, 0.92);
  
  --text-primary: #0a0a0a;
  --text-secondary: #4a4a4a;
  --text-muted: #8a8a8a;
  --text-on-dark: #ffffff;
  
  --brand-navy: #122d4f;
  --accent-primary: #122d4f;
  --accent-secondary: #00a651;
  --accent-hover: #0c2440;
  
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ========================================
   Snowflakes Effect - Rising from bottom
   ======================================== */
.snowflakes-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.snowflake {
  position: absolute;
  bottom: 0;
  color: var(--brand-navy);
  opacity: 0;
  font-size: 12px;
  text-shadow: 0 0 5px rgba(18, 45, 79, 0.25);
  animation: snowflakeRise 3s ease-out forwards;
}

.snowflake::before {
  content: '❄';
  display: block;
}

@keyframes snowflakeRise {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 0;
  }
  5% {
    opacity: 0.8;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100vh) rotate(180deg) scale(0.2);
    opacity: 0;
  }
}

/* ========================================
   Header
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.4s var(--transition-smooth), background 0.3s;
}

.site-header.hidden {
  transform: translateY(-100%);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-img {
  display: block;
  height: 64px;
  width: auto;
  max-width: min(360px, 58vw);
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bg-primary);
  background: rgba(0, 143, 69, 1);
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta-whatsapp {
  flex-shrink: 0;
  opacity: 0.95;
}

.nav-cta:hover {
  background: var(--accent-primary);
  transform: translateY(-2px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-standalone {
  position: relative;
  min-height: 100vh;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-primary);
  padding: 100px 3rem 2rem;
  box-sizing: border-box;
}

.hero-content {
  flex: 1 1 auto;
  max-width: 900px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  min-height: 0;
}

/* Hero Video - Acima do hero-content */
.hero-video-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  z-index: 10;
  background: transparent;
  flex-shrink: 0;
}

.hero-video {
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
}

@media (max-width: 768px) {
  .hero-video-container {
    max-width: 90%;
  }
}

.hero-content .section-label {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: rgba(18, 45, 79, 1);
  margin-bottom: 1.5rem;
}

.hero-heading .word {
  display: inline-block;
  color: rgba(18, 45, 79, 1);
}

.hero-tagline {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg-primary);
  background: var(--accent-primary);
  padding: 1rem 2rem;
  border-radius: 100px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(18, 45, 79, 0.25);
}

.hero-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(18, 45, 79, 0.3);
}

.hero-cta svg {
  transition: transform 0.2s;
}

.hero-cta-whatsapp {
  flex-shrink: 0;
  opacity: 0.95;
}

.hero-cta:hover .hero-cta-arrow {
  transform: translateX(4px);
}

.scroll-indicator {
  position: relative;
  flex-shrink: 0;
  margin-top: 1.25rem;
  padding-bottom: env(safe-area-inset-bottom, 0);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.6;
}

.scroll-indicator span {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.scroll-arrow {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* ========================================
   Canvas
   ======================================== */
.canvas-wrap {
  display: none;
}

#canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   Dark Overlay
   ======================================== */
#dark-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

/* ========================================
   Marquee
   ======================================== */
.marquee-wrap {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 200vw;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
}

.marquee-text {
  font-family: var(--font-display);
  font-size: 10vw;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  will-change: transform;
}

/* ========================================
   Scroll Container
   ======================================== */
#scroll-container {
  position: relative;
  height: 800vh;
  z-index: 1;
}

/* White background layer that appears after video fades */
#scroll-container::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: -1;
}

/* ========================================
   Section Base Styles
   ======================================== */
.scroll-section {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 0 5vw;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: opacity, transform;
}

.scroll-section.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.section-inner {
  max-width: 520px;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.section-body {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
}

.section-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

/* Alignment Classes */
.align-left {
  justify-content: flex-start;
  padding-left: 8vw;
  padding-right: 55vw;
}

.align-right {
  justify-content: flex-end;
  padding-left: 55vw;
  padding-right: 8vw;
}

.align-center {
  justify-content: center;
  text-align: center;
}

.align-center .section-inner {
  max-width: 640px;
}

/* Sections with video background need text shadows for readability */
.section-with-video .section-heading {
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.8);
}

.section-with-video .section-body {
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.6);
}

/* Sections on white background */
.section-white-bg {
  background: transparent;
}

.section-white-bg .section-heading,
.section-white-bg .section-body {
  color: var(--text-primary);
  text-shadow: none;
}

.section-white-bg .section-label {
  color: var(--accent-primary);
}

/* Stats on white background - dark text */
.section-stats.section-white-bg {
  background: var(--bg-secondary);
  border-radius: 0;
}

.section-stats.section-white-bg .stat-number {
  color: var(--text-primary);
}

.section-stats.section-white-bg .stat-suffix {
  color: var(--accent-primary);
}

.section-stats.section-white-bg .stat-label {
  color: var(--text-secondary);
}

/* ========================================
   Stats Section
   ======================================== */
.section-stats {
  justify-content: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  max-width: 1000px;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--text-on-dark);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--accent-primary);
  margin-left: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.75rem;
}

/* ========================================
   CTA Section
   ======================================== */
.section-cta {
  background: var(--bg-primary);
  z-index: 10;
}

.section-cta .section-label {
  color: var(--accent-primary);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 100px;
  transition: all 0.2s;
}

.cta-primary {
  color: var(--bg-primary);
  background: rgba(0, 143, 69, 1);
  box-shadow: 0 4px 20px rgba(0, 143, 69, 0.3);
}

.cta-primary:hover {
  background: rgba(0, 115, 56, 1);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 143, 69, 0.4);
}

.cta-secondary {
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.cta-secondary:hover {
  background: var(--bg-primary);
  border-color: rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

/* ========================================
   Map / Localização
   ======================================== */
.map-section {
  position: relative;
  z-index: 10;
  background: var(--bg-secondary);
  padding: 5rem 2rem 5.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.map-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.map-section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.map-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: rgba(18, 45, 79, 1);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.map-section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.map-address-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem 1.75rem;
  background: var(--bg-primary);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-soft);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .map-address-card {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    text-align: left;
    align-items: center;
    gap: 1.25rem 1.5rem;
  }
  
  .map-address-text {
    flex: 1 1 280px;
    text-align: left;
  }
}

.map-address-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 102, 204, 0.08);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-address-text {
  font-style: normal;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.6;
}

.map-address-city {
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.map-directions-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-primary);
  padding: 0.65rem 1.1rem;
  border-radius: 100px;
  border: 1px solid rgba(0, 102, 204, 0.25);
  background: var(--bg-primary);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.map-directions-link:hover {
  background: rgba(0, 102, 204, 0.06);
  border-color: var(--accent-primary);
  transform: translateY(-1px);
}

.map-embed-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--bg-primary);
  aspect-ratio: 16 / 9;
  min-height: 280px;
}

.map-embed {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.08) contrast(1.02);
}

@media (max-width: 640px) {
  .map-section {
    padding: 3.5rem 1.5rem 4rem;
  }
  
  .map-section-header {
    margin-bottom: 1.75rem;
  }

  .map-address-card {
    margin-bottom: 1.5rem;
    padding: 1.25rem 1rem;
  }

  .map-embed-wrap {
    border-radius: 16px;
    /* Mais alto que 16:9 no celular — área útil do mapa */
    aspect-ratio: 3 / 4;
    min-height: 260px;
  }
}

@media (max-width: 640px) and (orientation: landscape) {
  .map-embed-wrap {
    aspect-ratio: 16 / 9;
    min-height: 200px;
    max-height: 65vh;
  }
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  position: relative;
  z-index: 10;
  background: var(--bg-primary);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 3rem 0;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-logo-img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  object-position: left center;
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-by {
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .align-left,
  .align-right {
    padding-left: 8vw;
    padding-right: 8vw;
    justify-content: flex-start;
  }
  
  .section-inner {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 1.5rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .hero-standalone {
    padding: 5.5rem 1.5rem 1.5rem;
  }
  
  .hero-tagline {
    font-size: 1.125rem;
  }
  
  .scroll-section {
    padding: 0 1.5rem;
  }
  
  .align-left,
  .align-right {
    padding: 0 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    padding: 0 1.5rem;
  }
  
  .footer-links {
    gap: 1.5rem;
  }
  
  .marquee-text {
    font-size: 15vw;
  }
  
  #scroll-container {
    height: 650vh;
  }
}

@media (max-width: 480px) {
  .hero-heading {
    font-size: 2.75rem;
  }
  
  .section-heading {
    font-size: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
}

/* ========================================
   Services Gallery Section
   ======================================== */
.services-gallery {
  padding: 6rem 0;
  background: var(--bg-primary);
  overflow: hidden;
}

.services-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 5vw;
  margin-bottom: 3rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.services-header-content {
  max-width: 600px;
  margin-bottom: 2rem;
}

.services-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.services-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: rgba(18, 45, 79, 1);
  line-height: 1.1;
}

.services-carousel-wrapper {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 5vw;
  box-sizing: border-box;
  overflow: hidden;
  overscroll-behavior-x: contain;
}

.services-carousel {
  display: flex;
  gap: 1.5rem;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  transition: transform 0.6s var(--transition-smooth);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.services-carousel.is-dragging {
  cursor: grabbing;
  transition: none;
  will-change: transform;
}

.services-carousel.is-settling {
  transition: transform 0.25s var(--transition-smooth);
}

.services-carousel.is-dragging a:not(.service-slide-link) {
  pointer-events: none;
}

.service-slide {
  flex: 0 0 auto;
  width: 380px;
  max-width: 85vw;
}

.service-slide-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--bg-secondary);
}

.service-slide-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--transition-smooth);
  -webkit-user-drag: none;
  user-drag: none;
}

.service-slide:hover .service-slide-image img {
  transform: scale(1.05);
}

.service-slide-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.service-slide-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-slide-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bg-primary);
  background: rgba(0, 143, 69, 1);
  padding: 0.75rem 1.25rem;
  border-radius: 100px;
  align-self: flex-start;
  margin-top: 0.25rem;
  transition: background 0.2s, transform 0.2s;
  position: relative;
  z-index: 2;
}

.service-slide-link-icon {
  flex-shrink: 0;
  opacity: 0.95;
}

.service-slide-link:hover {
  color: var(--bg-primary);
  background: rgba(0, 115, 56, 1);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .services-carousel-wrapper {
    padding: 0 1.5rem;
  }

  .service-slide {
    width: 300px;
  }

  .service-slide-title {
    font-size: 1.25rem;
  }
}

/* ========================================
   Brands flow strip (compact, no logos)
   ======================================== */
.brands-flow {
  position: relative;
  padding: 0.55rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  z-index: 5;
}

.brands-flow-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(18, 45, 79, 0.07) 50%,
    transparent 65%
  );
  background-size: 220% 100%;
  animation: brands-flow-sheen 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes brands-flow-sheen {
  0%, 100% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 0% 50%;
  }
}

.brands-flow-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.brands-flow-ribbon {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: max-content;
  will-change: transform;
  animation: brands-flow-scroll 32s linear infinite;
}

@keyframes brands-flow-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(calc(-100% / 6), 0, 0);
  }
}

.brands-flow-chunk {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(0.65rem, 2vw, 1.1rem);
  list-style: none;
  margin: 0;
  padding: 0 0.75rem;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(18, 45, 79, 0.55);
}

.brands-flow-chunk li:not(.brands-flow-dot) {
  color: var(--accent-primary);
  opacity: 0.88;
  white-space: nowrap;
}

.brands-flow-dot {
  opacity: 0.35;
  font-weight: 500;
  user-select: none;
}

@media (prefers-reduced-motion: reduce) {
  .brands-flow-sheen {
    animation: none;
    opacity: 0;
  }

  .brands-flow-ribbon {
    animation: none;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
    row-gap: 0.35rem;
  }

  .brands-flow-chunk:not(:first-child) {
    display: none;
  }

  .brands-flow-chunk {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.15rem 0.5rem;
    letter-spacing: 0.1em;
  }
}

/* ========================================
   Stats Section
   ======================================== */
.stats-section {
  padding: 5rem 2rem;
  background: var(--bg-secondary);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-item .stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-primary);
  line-height: 1;
}

.stat-item .stat-suffix {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-left: 0.25rem;
}

.stat-item .stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* ========================================
   Diferenciais (imagem + texto)
   ======================================== */
.features-grid {
  position: relative;
  z-index: 10;
  background: var(--bg-primary);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(3.5rem, 6vw, 5.5rem);
}

#diferenciais {
  scroll-margin-top: 6rem;
}

.features-grid-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.feature-block {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

.feature-block--img-left .feature-block-figure {
  order: 1;
}

.feature-block--img-left .feature-block-copy {
  order: 2;
}

.feature-block--img-right {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.feature-block--img-right .feature-block-figure {
  order: 2;
}

.feature-block--img-right .feature-block-copy {
  order: 1;
}

.feature-block-figure {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 220px;
  aspect-ratio: 4 / 3;
  max-height: 420px;
  background:
    linear-gradient(145deg, rgba(18, 45, 79, 0.08) 0%, rgba(0, 166, 81, 0.06) 100%),
    var(--bg-secondary);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.feature-block-figure--empty {
  min-height: 220px;
}

.feature-block-figure--empty::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(18, 45, 79, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.feature-block-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s var(--transition-smooth);
}

.feature-block:hover .feature-block-img {
  transform: scale(1.02);
}

.feature-block-figure--empty .feature-block-img {
  display: none !important;
}

.feature-block-copy {
  text-align: left;
  padding: 0.25rem 0;
}

.feature-block-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 800;
  color: rgba(18, 45, 79, 1);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.feature-block-text {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 46ch;
}

@media (max-width: 900px) {
  .feature-block,
  .feature-block--img-right {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .feature-block--img-left .feature-block-figure,
  .feature-block--img-right .feature-block-figure {
    order: 1;
  }

  .feature-block--img-left .feature-block-copy,
  .feature-block--img-right .feature-block-copy {
    order: 2;
  }

  .feature-block-figure {
    max-height: none;
    aspect-ratio: 16 / 10;
  }

  .feature-block-text {
    max-width: none;
  }

  .feature-block-copy {
    text-align: left;
    padding: 0 0 0.5rem;
  }

  .feature-block-title {
    text-wrap: balance;
  }
}

@media (max-width: 480px) {
  .features-grid {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .feature-block-figure {
    border-radius: 16px;
    min-height: 180px;
  }
}

/* ========================================
   Galeria em movimento (após #diferenciais)
   ======================================== */
.diferencias-marquee {
  position: relative;
  z-index: 10;
  padding: 2.75rem 0 3.25rem;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 40%, var(--bg-secondary) 100%);
}

.diferencias-marquee-viewport {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.diferencias-marquee-track {
  display: flex;
  width: max-content;
  animation: diferenciasMarqueeScroll 72s linear infinite;
  will-change: transform;
}

.diferencias-marquee-track:hover {
  animation-play-state: paused;
}

.diferencias-marquee-group {
  display: flex;
  align-items: stretch;
  gap: 1.125rem;
  padding-inline: 0.5rem;
}

.diferencias-marquee-item {
  flex: 0 0 auto;
  width: clamp(200px, 24vw, 292px);
  height: clamp(260px, 36vw, 380px);
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--bg-secondary);
}

.diferencias-marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

@keyframes diferenciasMarqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .diferencias-marquee-track {
    animation: none;
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    justify-content: center;
  }

  .diferencias-marquee-viewport {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .diferencias-marquee-group[aria-hidden="true"] {
    display: none;
  }

  .diferencias-marquee-track > .diferencias-marquee-group:first-of-type {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    padding-bottom: 0.25rem;
  }
}

@media (max-width: 600px) {
  .diferencias-marquee-item {
    width: clamp(160px, 42vw, 220px);
    height: clamp(220px, 56vw, 300px);
  }

  .diferencias-marquee-group {
    gap: 0.75rem;
  }
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  padding: 6rem 2rem;
  background: var(--bg-primary);
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(18, 45, 79, 1);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.cta-note {
  font-size: 0.875rem !important;
  color: var(--text-muted) !important;
  margin-top: 1.5rem !important;
  margin-bottom: 0 !important;
}

/* ========================================
   Animations - Initial States
   ======================================== */
.section-label,
.section-heading,
.section-body,
.section-note,
.cta-button,
.stat {
  will-change: transform, opacity;
}

/* ========================================
   Mobile Menu Toggle (Hamburger)
   ======================================== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1002;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--transition-smooth);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   Mobile Menu Overlay
   ======================================== */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--transition-smooth), visibility 0.4s;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-menu-link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.3s, transform 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu-overlay.active .mobile-menu-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.active .mobile-menu-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-overlay.active .mobile-menu-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-menu-link:nth-child(4) { transition-delay: 0.25s; }

.mobile-menu-link:hover {
  color: var(--accent-primary);
  transform: scale(1.05);
}

.mobile-menu-cta {
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg-primary);
  background: var(--accent-primary);
  padding: 1rem 2.5rem;
  border-radius: 100px;
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s var(--transition-smooth);
}

.mobile-menu-overlay.active .mobile-menu-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.mobile-menu-cta:hover {
  background: var(--accent-hover);
  transform: scale(1.05);
}

/* ========================================
   Floating actions (ligação + WhatsApp)
   ======================================== */
.float-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10050;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}

.float-actions a {
  pointer-events: auto;
}

.phone-float {
  position: relative;
  z-index: 2;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(18, 45, 79, 0.45);
  transition: all 0.3s var(--transition-smooth);
}

.phone-float svg {
  width: 28px;
  height: 28px;
}

.phone-float:hover {
  transform: scale(1.08) translateY(-3px);
  background: var(--accent-hover);
  box-shadow: 0 8px 28px rgba(18, 45, 79, 0.5);
}

.phone-float-tooltip {
  position: absolute;
  right: 70px;
  background: var(--text-primary);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s var(--transition-smooth);
}

.phone-float-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--text-primary);
}

.phone-float:hover .phone-float-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* ========================================
   WhatsApp Floating Button
   ======================================== */
.whatsapp-float {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s var(--transition-smooth);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  color: white;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--text-primary);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s var(--transition-smooth);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--text-primary);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* WhatsApp button pulse animation */
.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ========================================
   Mobile Responsive - Header
   ======================================== */
@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-container {
    padding: 0 1.5rem;
  }
  
  .logo-img {
    height: 76px;
    max-width: min(420px, 82vw);
  }
  
  .float-actions {
    bottom: 16px;
    right: 16px;
    gap: 10px;
  }

  .phone-float {
    width: 56px;
    height: 56px;
  }

  .phone-float svg {
    width: 26px;
    height: 26px;
  }

  .phone-float-tooltip {
    display: none;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

/* ========================================
   Páginas legais (Privacidade / Termos)
   ======================================== */
.legal-page {
  min-height: 100vh;
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 5rem 1.5rem 4rem;
  font-family: var(--font-body);
  line-height: 1.65;
}

.legal-page-inner {
  max-width: 42rem;
  margin: 0 auto;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 2rem;
  text-decoration: none;
}

.legal-back:hover {
  text-decoration: underline;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.legal-updated {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.75rem 0 0.75rem;
  color: var(--text-primary);
}

.legal-page p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.legal-page ul {
  margin: 0 0 1rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.legal-page li {
  margin-bottom: 0.35rem;
}

.legal-disclaimer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.8rem;
  color: var(--text-muted);
}
