/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES - DUCHEF
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Color Palette */
  --color-primary: #3b0062;        /* Dark Acai Purple */
  --color-primary-light: #520088;  /* Vibrant Purple */
  --color-primary-dark: #22003b;   /* Deep Dark Purple */
  --color-secondary: #ffb703;      /* Golden Tropical (Yellow/Gold) */
  --color-secondary-light: #ffd166;/* Soft Gold */
  --color-accent: #ff2a85;         /* Pitaya Pink */
  --color-bg-light: #fffcf4;       /* Cream/Vanilla Ice Cream background */
  --color-bg-dark: #120021;        /* Dark background for premium sections */
  --color-text-dark: #2b1f35;      /* Dark text for readability */
  --color-text-light: #f4effa;     /* Light text for dark sections */
  --color-text-muted: #6b5c77;     /* Muted text */
  --color-white: #ffffff;
  --color-success: #06d6a0;
  
  /* Glassmorphism & Overlays */
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-bg-dark: rgba(34, 0, 59, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-border-dark: rgba(82, 0, 136, 0.25);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  --glass-shadow-dark: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

  /* Typography */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Transitions & Radii */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-round: 50%;
  
  /* Layout constraints */
  --max-width-container: 1240px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   SCROLLBAR & SELECTION
   ========================================================================== */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary-light);
  border: 2px solid var(--color-bg-light);
  border-radius: var(--border-radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

::selection {
  background-color: var(--color-primary-light);
  color: var(--color-white);
}

/* ==========================================================================
   REUSABLE UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

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

.section-header {
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
  padding: 6px 16px;
  background-color: rgba(255, 42, 133, 0.1);
  border-radius: 50px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
}

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

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

.section-desc.light {
  color: rgba(244, 239, 250, 0.8);
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-weight: 700;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: var(--font-headings);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(59, 0, 98, 0.3);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
  z-index: -1;
  opacity: 0;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(59, 0, 98, 0.45);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-primary-dark);
  box-shadow: 0 4px 15px rgba(255, 183, 3, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 183, 3, 0.5);
  background-color: #f7a800;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-outline-light:hover {
  background-color: var(--color-white);
  color: var(--color-primary-dark);
  transform: translateY(-3px);
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
  background-color: #20ba5a;
}

/* Glassmorphism utility */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--border-radius-md);
}

.glass-card-dark {
  background: var(--glass-bg-dark);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border-dark);
  box-shadow: var(--glass-shadow-dark);
  border-radius: var(--border-radius-md);
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-bg-dark);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 1.0s cubic-bezier(0.77, 0, 0.175, 1), transform 1.0s cubic-bezier(0.77, 0, 0.175, 1), visibility 1.0s ease;
}

#preloader.exiting {
  opacity: 0;
  transform: translateY(100vh);
}

.preloader-logo {
  max-width: 160px;
  margin-bottom: 30px;
  animation: elasticLogoSpin 3s infinite ease-in-out;
  transform-origin: center;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.preloader-logo.exiting {
  animation: preloaderLogoExit 0.9s cubic-bezier(0.25, 1, 0.5, 1) forwards !important;
}

.preloader-bar {
  width: 200px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  will-change: transform, opacity;
}

.preloader-bar.exiting {
  animation: preloaderBarExit 0.9s cubic-bezier(0.25, 1, 0.5, 1) forwards !important;
}

.preloader-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 10px;
  animation: loadingBar 3s forwards cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes loadingBar {
  0% { width: 0%; }
  100% { width: 100%; }
}

@keyframes elasticLogoSpin {
  0%, 15% {
    transform: rotate(0deg) scale(0.95);
  }
  45% {
    transform: rotate(385deg) scale(1.1); /* Overshoot */
  }
  60% {
    transform: rotate(352deg) scale(0.97); /* Back bounce */
  }
  70%, 100% {
    transform: rotate(360deg) scale(1); /* Settle */
  }
}

@keyframes preloaderLogoExit {
  0% {
    transform: scale(1) translateY(0) rotate(0deg);
    opacity: 1;
  }
  20% {
    /* Elastic hop upward */
    transform: scale(1.12) translateY(-40px) rotate(-10deg);
    opacity: 1;
  }
  100% {
    /* Fall down heavily */
    transform: scale(0.85) translateY(1000px) rotate(45deg);
    opacity: 0;
  }
}

@keyframes preloaderBarExit {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  15% {
    /* Hop upward */
    transform: translateY(-25px);
    opacity: 1;
  }
  100% {
    /* Fall down heavily */
    transform: translateY(1000px);
    opacity: 0;
  }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 1.25, 0.5, 1.15), padding 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}

/* Hidden: navbar starts invisible above the screen */
.header--hidden {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

/* Revealed: smooth slide down when scrolled past hero */
.header--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.header.scrolled {
  padding: 14px 0;
  background-color: rgba(34, 0, 59, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(82, 0, 136, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 50px;
  width: auto;
  transition: var(--transition-smooth);
}

.header.scrolled .logo-img {
  height: 42px;
}

.brand-text {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text span {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--color-secondary);
  margin-top: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-white);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--color-secondary);
}

.header-cta {
  display: flex;
  align-items: center;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1010;
}

.mobile-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--color-white);
  border-radius: 3px;
  transition: var(--transition-smooth);
}

/* ============================================================
   HERO SECTION — CINEMATIC VIDEO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0a0014; /* dark fallback while video loads */
  color: var(--color-white);
}

/* Fullscreen video background */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: brightness(0.8);
  will-change: opacity;
  transform: translateZ(0);
}

/* Dark cinematic overlay — radial fade (transparent in middle, purple vignette on edges) */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center, rgba(34, 0, 59, 0) 0%, rgba(34, 0, 59, 0.4) 60%, rgba(34, 0, 59, 0.9) 100%);
}

/* GPU Accelerated scroll darkness */
.hero-scroll-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(14, 0, 24, 0.95);
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}



.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.hero-content {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  will-change: transform, opacity;
}

.hero-tag,
.hero-title,
.hero-desc,
.hero-buttons {
  opacity: 0;
  will-change: transform, opacity;
}

.site-loaded .hero-tag {
  animation: elasticJumpIn 1.4s cubic-bezier(0.25, 1.25, 0.5, 1.15) 0.2s forwards;
}

.site-loaded .hero-title {
  animation: elasticJumpIn 1.4s cubic-bezier(0.25, 1.25, 0.5, 1.15) 0.35s forwards;
}

.site-loaded .hero-desc {
  animation: elasticJumpIn 1.4s cubic-bezier(0.25, 1.25, 0.5, 1.15) 0.5s forwards;
}

.site-loaded .hero-buttons {
  animation: elasticJumpIn 1.4s cubic-bezier(0.25, 1.25, 0.5, 1.15) 0.65s forwards;
}

@keyframes elasticJumpIn {
  0% {
    opacity: 0;
    transform: translateY(80px) scale(0.9);
  }
  65% {
    transform: translateY(-15px) scale(1.02);
  }
  85% {
    transform: translateY(4px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-secondary);
  background-color: rgba(255, 183, 3, 0.12);
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1px dashed rgba(255, 183, 3, 0.3);
  backdrop-filter: blur(5px);
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85);
  color: var(--color-white);
}

.hero-word {
  display: inline-block;
  will-change: transform, opacity;
}

.hero-title .highlight {
  color: var(--color-white);
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.75;
  color: rgba(244, 239, 250, 0.95);
  margin-bottom: 32px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Premium Card Highlight */
.hero-premium-card {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 183, 3, 0.3);
  border-radius: 16px;
  padding: 14px 22px;
  margin-bottom: 28px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,255,0.1);
}

.hero-premium-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, #ffb703, #ff7800);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 120, 0, 0.4);
}

.hero-premium-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 2px;
}

.hero-premium-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffb703;
}

.hero-premium-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-headings);
  line-height: 1.1;
}

.hero-premium-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

/* Entry Animation */
@keyframes blurFadeIn {
  0% {
    opacity: 0;
    filter: blur(15px);
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
  }
}

/* ==========================================================================
   SOBRE NÓS (DUCHEF)
   ========================================================================== */
.main-content {
  position: relative;
  z-index: 5;
  background-color: var(--color-bg-light);
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.3);
}

.sobre {
  background-color: var(--color-bg-light);
  position: relative;
  overflow: hidden;
}

.sobre::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59, 0, 98, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
  bottom: 0;
  right: 0;
  pointer-events: none;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.sobre-images {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trio-container {
  position: relative;
  height: 620px;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trio-img {
  position: absolute;
  opacity: 0;
  will-change: transform, opacity;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.2));
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.trio-left {
  width: 300px;
  left: 0%;
  top: 35%;
  margin-top: -170px;
  z-index: 2;
  transform-origin: bottom center;
}

.trio-center {
  width: 360px;
  z-index: 3;
  top: 35%;
  margin-top: -200px;
  transform-origin: bottom center;
}

.trio-right {
  width: 270px;
  right: 0%;
  top: 35%;
  margin-top: -140px;
  z-index: 1;
  transform-origin: bottom center;
}

/* Staggered elastic entrance animations */
.sobre-images.visible .trio-left {
  animation: elasticLeft 1.4s cubic-bezier(0.25, 1.25, 0.5, 1.15) 0.1s forwards;
}

.sobre-images.visible .trio-center {
  animation: elasticCenter 1.4s cubic-bezier(0.25, 1.25, 0.5, 1.15) 0.3s forwards;
}

.sobre-images.visible .trio-right {
  animation: elasticRight 1.4s cubic-bezier(0.25, 1.25, 0.5, 1.15) 0.5s forwards;
}

/* Hover effects for 3D depth interaction */
.trio-img:hover {
  z-index: 10;
  filter: drop-shadow(0 20px 45px rgba(59, 0, 98, 0.35));
}
.trio-left:hover {
  transform: scale(1.08) rotate(-5deg) translateZ(0);
}
.trio-center:hover {
  transform: scale(1.15) translateY(-8px) rotate(2deg) translateZ(0);
}
.trio-right:hover {
  transform: scale(1.08) rotate(5deg) translateZ(0);
}

@keyframes elasticLeft {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-35deg) translate(-60px, 60px);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(-10deg) translate(0, 0);
  }
}

@keyframes elasticCenter {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(100px);
  }
  100% {
    opacity: 1;
    transform: scale(1.1) rotate(0deg) translateY(-5px);
  }
}

@keyframes elasticRight {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(35deg) translate(60px, 60px);
  }
  100% {
    opacity: 1;
    transform: scale(0.95) rotate(10deg) translate(0, 0);
  }
}

.sobre-badge {
  position: absolute;
  bottom: 2%;
  left: 20px;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 16px 24px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 8px 24px rgba(59, 0, 98, 0.2);
  font-family: var(--font-headings);
  z-index: 10;
}

.sobre-badge-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1;
}

.sobre-badge-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.sobre-content {
  padding-left: 10px;
}

.sobre-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-dark);
  margin-bottom: 24px;
}

.sobre-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
  margin-bottom: 40px;
}

.sobre-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.sobre-feature-icon {
  width: 36px;
  height: 36px;
  background-color: rgba(59, 0, 98, 0.08);
  border-radius: var(--border-radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
  font-size: 0.95rem;
}

.sobre-feature-text h4 {
  font-size: 1rem;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}

.sobre-feature-text p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
  line-height: 1.4;
}

/* ==========================================================================
   PRODUTOS (CATÁLOGO DE PRODUTOS)
   ========================================================================== */
.produtos {
  background-color: #faf7f0;
}

.filter-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: var(--color-white);
  color: var(--color-text-dark);
  padding: 10px 24px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(59, 0, 98, 0.05);
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  background-color: rgba(59, 0, 98, 0.05);
  color: var(--color-primary);
}

.filter-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 6px 15px rgba(59, 0, 98, 0.2);
}

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

/* 3-column locked grid for the products page */
.produtos-grid--three {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .produtos-grid--three {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .produtos-grid--three {
    grid-template-columns: 1fr;
  }
}

/* 4-column locked grid for the products page */
.produtos-grid--four {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .produtos-grid--four {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .produtos-grid--four {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(59, 0, 98, 0.08);
}

.product-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 260px;
  background-color: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

/* Transparent-background product photos (no-bg PNGs) */
.product-img--transparent {
  object-fit: contain;
  padding: 16px;
  background: transparent;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.12));
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

.product-card:hover .product-img--transparent {
  transform: scale(1.06) translateY(-4px);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 4px 12px;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.product-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0edf4;
  padding-top: 16px;
  margin-top: auto;
}

.product-sizes {
  display: flex;
  flex-direction: column;
}

.product-sizes-label {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.product-sizes-values {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
}

.btn-card {
  width: 40px;
  height: 40px;
  background-color: rgba(59, 0, 98, 0.05);
  color: var(--color-primary);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.product-card:hover .btn-card {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* ==========================================================================
   PARCERIA (SEJA UM PARCEIRO)
   ========================================================================== */
.parceria {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #1e002a 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.parceria::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 183, 3, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  top: 10%;
  left: -100px;
  pointer-events: none;
}

.parceria-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 60px;
}

.benefit-card {
  flex: 1 1 calc(33.333% - 20px);
  min-width: 310px;
  max-width: 375px;
  padding: 36px 30px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

@media (max-width: 992px) {
  .parceria-grid {
    gap: 20px;
  }
  .benefit-card {
    flex: 1 1 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .parceria-grid {
    flex-direction: column;
    align-items: center;
  }
  .benefit-card {
    width: 100%;
    max-width: 420px;
  }
}
}

.benefit-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 183, 3, 0.4);
}

.benefit-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-md);
  background-color: rgba(255, 183, 3, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.benefit-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.benefit-desc {
  font-size: 0.95rem;
  color: rgba(244, 239, 250, 0.75);
  line-height: 1.6;
}

/* Call to Action Box */
.parceria-cta-box {
  padding: 60px 40px;
  border-radius: var(--border-radius-lg);
  position: relative;
  overflow: hidden;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.parceria-cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(82, 0, 136, 0.3), rgba(255, 42, 133, 0.2));
  z-index: 1;
}

.parceria-cta-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.parceria-cta-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.parceria-cta-desc {
  font-size: 1.1rem;
  color: rgba(244, 239, 250, 0.9);
  margin-bottom: 30px;
}

/* ==========================================================================
   CONTATO & LOCALIZAÇÃO
   ========================================================================== */
.contato {
  background-color: var(--color-bg-light);
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contato-info {
  padding-right: 20px;
}

.contato-title {
  font-size: 2rem;
  color: var(--color-primary-dark);
  margin-bottom: 30px;
}

.contato-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.contato-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contato-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-md);
  background-color: rgba(59, 0, 98, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(59, 0, 98, 0.03);
}

.contato-text h4 {
  font-size: 1.1rem;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}

.contato-text p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.contato-text a:hover {
  color: var(--color-primary-light);
}

/* Hours grid */
.hours-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  border-bottom: 1px dashed rgba(59, 0, 98, 0.1);
  padding-bottom: 6px;
}

.hours-day {
  font-weight: 600;
  color: var(--color-primary-dark);
}

.hours-time {
  color: var(--color-text-muted);
}

.hours-row.closed .hours-time {
  color: var(--color-accent);
  font-weight: 700;
}

/* Glass Contact Form */
.contato-form-container {
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 15px 40px rgba(59, 0, 98, 0.05);
  border: 1px solid rgba(59, 0, 98, 0.05);
  background-color: var(--color-white);
}

.form-title {
  font-size: 1.5rem;
  color: var(--color-primary-dark);
  margin-bottom: 24px;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.form-input {
  width: 100%;
  padding: 12px 18px;
  background-color: #faf8fd;
  border: 1.5px solid #eae5ef;
  border-radius: var(--border-radius-sm);
  color: var(--color-text-dark);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus {
  background-color: var(--color-white);
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 4px rgba(82, 0, 136, 0.1);
}

textarea.form-input {
  height: 120px;
  resize: none;
}

.form-checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}

.form-checkbox {
  margin-top: 4px;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--color-bg-dark);
  color: var(--color-white);
  padding-top: 80px;
  padding-bottom: 30px;
  position: relative;
  border-top: 1px solid rgba(82, 0, 136, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  height: 55px;
  width: auto;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.9rem;
  color: rgba(244, 239, 250, 0.7);
  margin-bottom: 24px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.1rem;
  transition: var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon:hover {
  background-color: var(--color-primary-light);
  color: var(--color-white);
  transform: translateY(-3px);
  border-color: var(--color-primary-light);
}

.footer-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-secondary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.9rem;
  color: rgba(244, 239, 250, 0.75);
}

.footer-link:hover {
  color: var(--color-secondary);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: rgba(244, 239, 250, 0.75);
}

.footer-contact-item i {
  color: var(--color-secondary);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(244, 239, 250, 0.5);
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

/* ==========================================================================
   SCROLL ANIMATIONS (ON SCROLL EFFECT)
   ========================================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Scale Animation */
.scale-up {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scale-up.visible {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* ── Tablet landscape ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .sobre-grid {
    gap: 40px;
  }

  .contato-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contato-info {
    padding-right: 0;
  }

  /* Trio images scale down on tablet */
  .trio-left  { width: 230px; }
  .trio-center { width: 280px; }
  .trio-right { width: 210px; }

  .trio-container {
    height: 520px;
  }
}

/* ── Tablet portrait / large phones ──────────────────────── */
@media (max-width: 768px) {
  .section-padding {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-desc {
    font-size: 1rem;
  }

  /* ── Mobile Nav ── */
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background-color: var(--color-primary-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 32px 32px;
    gap: 20px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
    z-index: 1005;
    overflow-y: auto;
  }

  .nav-menu.open { right: 0; }

  .nav-link {
    font-size: 1.1rem;
    color: var(--color-white);
  }

  .header-cta { display: none; }

  /* ── Hero ── */
  .hero {
    min-height: 100svh; /* Use svh for mobile browser chrome */
  }

  .hero-content {
    padding: 0 8px;
    max-width: 100%;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.25;
  }

  .hero-tag {
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 6px 14px;
    margin-bottom: 16px;
    justify-content: center;
  }

  .hero-desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
    max-width: 380px;
  }

  .hero-buttons {
    gap: 12px;
    justify-content: center;
  }

  .hero-buttons .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  /* ── Sobre ── */
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sobre-images {
    order: 2;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .sobre-content {
    order: 1;
    padding-left: 0;
    text-align: center;
  }

  .sobre-features {
    text-align: left;
  }

  .trio-container {
    height: 420px;
    max-width: 420px;
  }

  .trio-left  { width: 190px; margin-top: -130px; }
  .trio-center { width: 230px; margin-top: -160px; }
  .trio-right { width: 170px; margin-top: -110px; }

  .sobre-badge {
    bottom: 0;
    left: 8px;
    padding: 10px 16px;
  }

  .sobre-badge-number { font-size: 1.5rem; }

  /* ── Trufado ── */
  .trufado-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .trufado-content .trufado-highlight {
    border-left: none;
    border-top: 2.5px solid var(--color-accent);
    border-bottom: 2.5px solid var(--color-accent);
    padding: 12px 0;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }

  .trufado-visual {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  /* ── Picolés ── */
  .picoles-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .picoles-visual {
    order: 2;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .picoles-content { order: 1; }

  .picoles-content .picoles-highlight {
    border-left: none;
    border-top: 2.5px solid var(--color-accent);
    border-bottom: 2.5px solid var(--color-accent);
    padding: 12px 0;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }

  .picoles-fan-container {
    height: 420px;
  }

  /* ── Footer ── */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

/* ── Mobile phones ────────────────────────────────────────── */
@media (max-width: 576px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-padding {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section-title {
    font-size: 1.55rem;
  }

  /* ── Hero ── */
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .hero-desc {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .hero-tag {
    font-size: 0.7rem;
    padding: 5px 12px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* ── Sobre ── */
  .sobre-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trio-container {
    height: 340px;
    max-width: 340px;
  }

  .trio-left  { width: 150px; margin-top: -100px; }
  .trio-center { width: 180px; margin-top: -125px; }
  .trio-right { width: 135px; margin-top: -85px; }

  .sobre-badge {
    padding: 8px 14px;
    bottom: 0;
    left: 4px;
  }

  .sobre-badge-number { font-size: 1.3rem; }
  .sobre-badge-text { font-size: 0.7rem; }

  /* ── Produtos ── */
  .produtos-grid--four {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .product-img-wrapper { height: 180px; }

  .product-title { font-size: 1rem; }
  .product-desc  { font-size: 0.8rem; }

  .product-info { padding: 16px; }

  /* ── Parceria ── */
  .parceria-cta-box {
    padding: 32px 16px;
  }

  .parceria-cta-title { font-size: 1.4rem; }

  /* ── Contato ── */
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .contato-form-container {
    padding: 20px 16px;
  }

  .contato-title { font-size: 1.6rem; }

  /* ── Footer ── */
  .footer {
    padding-top: 56px;
  }

  .footer-brand { max-width: 100%; }
}

/* ── Very small phones ────────────────────────────────────── */
@media (max-width: 400px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .btn {
    padding: 11px 18px;
    font-size: 0.85rem;
  }

  .trio-container {
    height: 300px;
    max-width: 300px;
  }

  .trio-left  { width: 130px; margin-top: -88px; }
  .trio-center { width: 158px; margin-top: -110px; }
  .trio-right { width: 118px; margin-top: -74px; }

  .produtos-grid--four {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   FLOATING DECORATIONS (PARALLAX + DOF + SWAY)
   ========================================================================== */
.floating-decor-wrapper {
  position: fixed;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.floating-decor-inner {
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
  background-size: contain;
  background-repeat: no-repeat;
  transition: opacity 0.5s ease;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.floating-decor-inner.acai-berry-inner {
  background-image: url('../assets/acai_berry.png');
}

.floating-decor-inner.acai-leaf-inner {
  background-image: url('../assets/acai_leaf.png');
}

/* Ensure visibility active states */
.floating-decor-inner.animate-in,
.floating-decor-inner.floating {
  opacity: var(--base-opacity, 1);
}

/* Entrance bounce animation (uses 'both' to prevent flickers during start delay) */
.floating-decor-inner.animate-in {
  animation: acaiBounceIn 2.2s cubic-bezier(0.22, 1.25, 0.36, 1.15) both;
}

/* Loop floating animation after entry */
.floating-decor-inner.floating {
  animation: acaiFloatLoop 8s ease-in-out infinite alternate;
}

@keyframes acaiBounceIn {
  0% {
    opacity: 0;
    transform: translateY(120vh) rotate(0deg) scale(0.3);
  }
  40% {
    opacity: var(--base-opacity, 1);
  }
  100% {
    opacity: var(--base-opacity, 1);
    transform: translateY(0) rotate(var(--rot)) scale(1);
  }
}

@keyframes acaiFloatLoop {
  0% {
    transform: translateY(0) rotate(var(--rot)) scale(1);
  }
  100% {
    transform: translateY(var(--float-y, -20px)) rotate(calc(var(--rot) + var(--float-rot, 15deg))) scale(var(--float-scale, 1.03));
  }
}

/* On tablets: slightly reduce floating decoration opacity */
@media (max-width: 992px) {
  .floating-decor-inner {
    opacity: calc(var(--base-opacity, 1) * 0.6) !important;
  }
}

/* On mobile: completely hide floating decorations to save GPU/CPU */
@media (max-width: 768px) {
  .floating-decor-wrapper {
    display: none !important;
  }
}

/* Rendering performance optimization — defer off-screen sections */
.trufado, .produtos, .picoles, .parceria, .contato {
  content-visibility: auto;
  contain-intrinsic-size: 0 800px;
}

/* ==========================================================================
   AÇAÍ TRUFADO SECTION
   ========================================================================== */
.trufado {
  background-color: var(--color-bg-light);
  position: relative;
  overflow: hidden;
}

.trufado-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 80px;
}

.trufado-content .trufado-lead {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.7;
  color: var(--color-primary-dark);
  margin-bottom: 20px;
}

.trufado-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-dark);
  margin-bottom: 20px;
}

.trufado-content .trufado-highlight {
  font-family: var(--font-headings);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent);
  border-left: 3px solid var(--color-accent);
  padding-left: 16px;
  margin-top: 24px;
}

.trufado-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateX(120px) rotate(5deg);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.trufado-visual.visible {
  opacity: 1;
  transform: translateX(0) rotate(0deg);
}

.trufado-visual::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255, 42, 133, 0.2) 0%, rgba(59, 0, 98, 0.22) 50%, rgba(0, 0, 0, 0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  filter: blur(20px);
}

.trufado-image-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  z-index: 2;
  transition: var(--transition-smooth);
}

.trufado-img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.25));
  animation: trufadoFloat 6s ease-in-out infinite alternate;
  will-change: transform;
}

.trufado-image-card:hover .trufado-img {
  transform: scale(1.05) translateY(-5px);
  filter: drop-shadow(0 25px 45px rgba(59, 0, 98, 0.45));
}

@keyframes trufadoFloat {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-15px) rotate(2deg);
  }
}

.trufado-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--glass-bg-dark);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border-dark);
  color: var(--color-white);
  padding: 10px 18px;
  border-radius: 50px;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--glass-shadow-dark);
  z-index: 5;
}

/* Responsive adjust for Trufado section */
@media (max-width: 992px) {
  .trufado-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .trufado-content .trufado-highlight {
    border-left: none;
    border-top: 2.5px solid var(--color-accent);
    border-bottom: 2.5px solid var(--color-accent);
    padding: 12px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .trufado-visual {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}
/* ==========================================================================
   PICOLÉS SECTION
   ========================================================================== */
.picoles {
  background-color: var(--color-bg-light);
  position: relative;
  overflow: hidden;
}

.picoles-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 60px;
}

.picoles-content .picoles-lead {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.7;
  color: var(--color-primary-dark);
  margin-bottom: 20px;
}

.picoles-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-dark);
  margin-bottom: 20px;
}

.picoles-content .picoles-highlight {
  font-family: var(--font-headings);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent);
  border-left: 3px solid var(--color-accent);
  padding-left: 16px;
  margin-top: 24px;
}

.picoles-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.picoles-fan-container {
  position: relative;
  height: 580px;
  width: 100%;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.picoles-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 42, 133, 0.15) 0%, rgba(255, 183, 3, 0.12) 50%, rgba(0, 0, 0, 0) 70%);
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  filter: blur(30px);
}

.picole-item {
  position: absolute;
  top: 35%;
  left: 50%;
  margin-top: -180px;
  margin-left: -70px;
  width: 140px;
  height: auto;
  cursor: pointer;
  will-change: transform, opacity;
  transition: transform 0.6s cubic-bezier(0.25, 1.25, 0.5, 1.15), opacity 0.6s ease;
  z-index: 2;
  transform-origin: bottom center;
  opacity: 0;
}

.picole-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* Fan opening state triggered when .picoles-visual gets .visible */
.picoles-visual.visible .picole-1 {
  transform: rotate(-22deg) translate(-110px, -12px);
  opacity: 1;
}

.picoles-visual.visible .picole-2 {
  transform: rotate(-11deg) translate(-55px, -4px);
  opacity: 1;
}

.picoles-visual.visible .picole-3 {
  transform: rotate(0deg) translate(0, 0);
  opacity: 1;
  z-index: 3;
}

.picoles-visual.visible .picole-4 {
  transform: rotate(11deg) translate(55px, -4px);
  opacity: 1;
}

.picoles-visual.visible .picole-5 {
  transform: rotate(22deg) translate(110px, -12px);
  opacity: 1;
}

/* Hover / Active interactive state */
.picoles-visual.visible .picole-item:hover {
  z-index: 10;
}

.picoles-visual.visible .picole-item:hover img {
  filter: drop-shadow(0 15px 30px rgba(255, 42, 133, 0.35));
}

.picoles-visual.visible .picole-1:hover {
  transform: rotate(-22deg) translate(-110px, -42px) scale(1.08);
}

.picoles-visual.visible .picole-2:hover {
  transform: rotate(-11deg) translate(-55px, -34px) scale(1.08);
}

.picoles-visual.visible .picole-3:hover {
  transform: rotate(0deg) translate(0, -30px) scale(1.08);
}

.picoles-visual.visible .picole-4:hover {
  transform: rotate(11deg) translate(55px, -34px) scale(1.08);
}

.picoles-visual.visible .picole-5:hover {
  transform: rotate(22deg) translate(110px, -42px) scale(1.08);
}

/* Mobile responsive scaling for the Fan */
@media (max-width: 576px) {
  .picoles-fan-container {
    height: 420px;
  }
  
  .picole-item {
    width: 80px;
    top: auto;
    bottom: 110px;
    margin-top: 0;
    margin-left: -40px;
  }
  
  .picoles-visual.visible .picole-1 {
    transform: rotate(-24deg) translate(-70px, -8px);
  }

  .picoles-visual.visible .picole-2 {
    transform: rotate(-12deg) translate(-35px, -2px);
  }

  .picoles-visual.visible .picole-3 {
    transform: rotate(0deg) translate(0, 0);
  }

  .picoles-visual.visible .picole-4 {
    transform: rotate(12deg) translate(35px, -2px);
  }

  .picoles-visual.visible .picole-5 {
    transform: rotate(24deg) translate(70px, -8px);
  }
  
  /* Hover mobile transitions */
  .picoles-visual.visible .picole-1:hover {
    transform: rotate(-24deg) translate(-70px, -25px) scale(1.08);
  }

  .picoles-visual.visible .picole-2:hover {
    transform: rotate(-12deg) translate(-35px, -22px) scale(1.08);
  }

  .picoles-visual.visible .picole-3:hover {
    transform: rotate(0deg) translate(0, -20px) scale(1.08);
  }

  .picoles-visual.visible .picole-4:hover {
    transform: rotate(12deg) translate(35px, -22px) scale(1.08);
  }

  .picoles-visual.visible .picole-5:hover {
    transform: rotate(24deg) translate(70px, -25px) scale(1.08);
  }
}

/* Info Box below the fan */
.picoles-info-box {
  width: 100%;
  text-align: center;
  padding: 16px 20px;
  background: var(--glass-bg-dark);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border-dark);
  border-radius: var(--border-radius-md);
  color: var(--color-white);
  box-shadow: var(--glass-shadow-dark);
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.picole-flavor-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 6px;
  font-family: var(--font-headings);
  transition: var(--transition-fast);
}

.picole-flavor-desc {
  font-size: 0.9rem;
  color: rgba(244, 239, 250, 0.85);
  line-height: 1.4;
  transition: var(--transition-fast);
}

/* Responsive adjust for Picoles section */
@media (max-width: 992px) {
  .picoles-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .picoles-visual {
    order: 2; /* Move visual down below text on mobile/tablet */
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .picoles-content {
    order: 1;
  }
  
  .picoles-content .picoles-highlight {
    border-left: none;
    border-top: 2.5px solid var(--color-accent);
    border-bottom: 2.5px solid var(--color-accent);
    padding: 12px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}
