/* ═══════════════════════════════════════════════════════════════
   REI DOS GELATOS — Dark Luxury Sensoriale
   Design System & Complete Styles
   ═══════════════════════════════════════════════════════════════ */

/* ─── Design Tokens ───────────────────────────────────────── */
:root {
  /* Palette */
  --roxo-abissal: #2D072E;
  --roxo-profundo: #4A1250;
  --dourado-real: #FDAA01;
  --branco-puro: #FFFFFF;
  --branco-suave: rgba(255, 255, 255, 0.08);
  --glow-dourado: rgba(253, 170, 1, 0.25);
  --glow-roxo: rgba(74, 18, 80, 0.6);

  /* Typography */
  --font-display: 'Montserrat', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Lato', sans-serif;

  /* Easings */
  --ease-enter: cubic-bezier(0.22, 1, 0.36, 1);
  /* power3.out */
  --ease-move: cubic-bezier(0.45, 0, 0.55, 1);
  /* power2.inOut */
  --ease-bounce: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Spacing */
  --section-pad: clamp(60px, 8vw, 120px);
  --content-max: 1400px;
}

/* ─── Reset & Base ────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: initial;
  /* Lenis handles scrolling */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.8;
  color: var(--branco-puro);
  background: var(--roxo-abissal);
  overflow-x: hidden;
}

::selection {
  background: var(--dourado-real);
  color: var(--roxo-abissal);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ─── Typography ──────────────────────────────────────────── */
.section-eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--dourado-real);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

/* ─── Noise Overlay ───────────────────────────────────────── */
.noise-overlay {
  position: absolute;
  inset: 0;
  filter: url(#noise);
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}

/* ═══════════════════════════════════════════════════════════════
   HEADER — Glassmorphism Navigation
   ═══════════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.8rem 2rem;
  transition: background 0.4s var(--ease-move), box-shadow 0.4s var(--ease-move), padding 0.3s;
}

.header.is-scrolled {
  background: rgba(45, 7, 46, 0.65);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.4);
  padding: 0.5rem 2rem;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-max);
  margin: 0 auto;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo-img {
  height: 48px;
  width: auto;
  transition: height 0.3s var(--ease-move);
}

.header.is-scrolled .header__logo-img {
  height: 38px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.5s var(--ease-enter), transform 0.5s var(--ease-enter);
}

.header.is-scrolled .header__nav {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.header__link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  transition: color 0.3s var(--ease-move);
  padding: 0.3em 0;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--dourado-real);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-enter);
  border-radius: 2px;
}

.header__link:hover {
  color: var(--branco-puro);
}

.header__link:hover::after {
  transform: scaleX(1);
}

.header__cta {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.7em 1.6em;
  background: var(--dourado-real);
  color: var(--roxo-abissal);
  border-radius: 60px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.5s var(--ease-enter) 0.1s, transform 0.5s var(--ease-enter) 0.1s,
    background 0.3s var(--ease-move), box-shadow 0.3s;
}

.header.is-scrolled .header__cta {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.header__cta:hover {
  background: var(--branco-puro);
  transform: scale(1.04);
  box-shadow: 0 4px 20px rgba(253, 170, 1, 0.4);
}

/* Hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--branco-puro);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-move), opacity 0.3s;
}

.header__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ═══════════════════════════════════════════════════════════════
   SEÇÃO 1 — HERO SCROLLYTELLING VIDEO SCRUB
   ═══════════════════════════════════════════════════════════════ */

/* Outer scroll container — 400vh for extended scroll time */
.hero-scroll {
  position: relative;
  height: 400vh;
  background: var(--roxo-abissal);
  z-index: 2;
}

/* Sticky viewport — fills screen, sticks to top */
.hero-scroll__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--roxo-abissal);
}

/* ─── Loading State ────────────────────────────────────────── */
.hero-scroll__loader {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: var(--roxo-abissal);
  transition: opacity 0.6s var(--ease-enter), visibility 0.6s;
}

.hero-scroll__loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-scroll__spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(253, 170, 1, 0.15);
  border-top-color: var(--dourado-real);
  border-radius: 50%;
  animation: heroSpin 0.8s linear infinite;
}

@keyframes heroSpin {
  to {
    transform: rotate(360deg);
  }
}

.hero-scroll__loader-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
}

/* ─── Canvas (renders image sequence frames) ───────────── */
.hero-scroll__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.8s var(--ease-enter);
}

.hero-scroll__canvas.is-ready {
  opacity: 1;
}

/* Gradient overlay — bottom blend into next section */
.hero-scroll__gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background: linear-gradient(to top, var(--roxo-abissal) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* ─── Text Overlays ────────────────────────────────────────── */
.hero-scroll__overlay {
  position: absolute;
  z-index: 10;
  max-width: 700px;
  padding: 2rem;
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  transition: opacity 0.1s, transform 0.1s, filter 0.1s;
  will-change: opacity, transform, filter;
  pointer-events: none;
}

.hero-scroll__overlay.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  pointer-events: auto;
}

/* Positioning variants */
.hero-scroll__overlay--center {
  text-align: center;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateY(40px);
}

.hero-scroll__overlay--center.is-visible {
  transform: translate(-50%, -50%) translateY(0);
}

.hero-scroll__overlay--left {
  text-align: left;
  left: 8%;
  top: 50%;
  transform: translateY(calc(-50% + 40px));
}

.hero-scroll__overlay--left.is-visible {
  transform: translateY(-50%);
}

.hero-scroll__overlay--right {
  text-align: right;
  right: 8%;
  top: 50%;
  left: auto;
  transform: translateY(calc(-50% + 40px));
}

.hero-scroll__overlay--right.is-visible {
  transform: translateY(-50%);
}

/* Text styles */
.hero-scroll__title {
  margin-bottom: 0.8rem;
  line-height: 1.1;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.hero-scroll__title--main {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  color: var(--branco-puro);
  letter-spacing: -0.03em;
}

.hero-scroll__title--accent {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  color: var(--dourado-real);
  letter-spacing: -0.02em;
}

.hero-scroll__sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* ─── Scroll Hint ──────────────────────────────────────────── */
.hero-scroll__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: opacity 0.4s;
}

.hero-scroll__scroll-hint.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.hero-scroll__scroll-arrow {
  animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

/* ─── CTA Arrow (kept for other sections) ──────────────────── */
.cta-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-move);
  font-size: 1.2em;
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {

  .hero-scroll__overlay--left,
  .hero-scroll__overlay--right {
    left: 50%;
    right: auto;
    text-align: center;
    transform: translate(-50%, calc(-50% + 40px));
    max-width: 90%;
  }

  .hero-scroll__overlay--left.is-visible,
  .hero-scroll__overlay--right.is-visible {
    transform: translate(-50%, -50%);
  }

  .hero-scroll__title--main {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .hero-scroll__title--accent {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
}



/* ═══════════════════════════════════════════════════════════════
   SEÇÃO 2 — VITRINE
   ═══════════════════════════════════════════════════════════════ */
.vitrine {
  position: relative;
  overflow: hidden;
  background: var(--roxo-abissal);
  z-index: 2;
}

.vitrine__header {
  text-align: center;
  padding: var(--section-pad) 2rem 2rem;
}

.vitrine__progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 10;
}

.vitrine__progress-fill {
  height: 100%;
  width: 0%;
  background: var(--dourado-real);
  box-shadow: 0 0 10px var(--glow-dourado);
  transition: none;
}

.vitrine__custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--branco-puro);
  background: rgba(45, 7, 46, 0.8);
  backdrop-filter: blur(8px);
  padding: 0.6em 1.2em;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  display: flex;
  gap: 0.4em;
}

.vitrine__custom-cursor.is-visible {
  opacity: 1;
}

/* Vertical Grid */
.vitrine__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem 4vw 6rem;
  max-width: var(--content-max);
  margin: 0 auto;
}

/* Flavor Cards */
.flavor-card {
  position: relative;
  width: 100%;
  padding: 2.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.4s var(--ease-move), box-shadow 0.4s var(--ease-move), transform 0.4s var(--ease-move);
}

.flavor-card:hover {
  border-color: rgba(253, 170, 1, 0.3);
  box-shadow: 0 0 60px rgba(253, 170, 1, 0.08);
}

.flavor-card__number {
  position: absolute;
  top: -10%;
  right: -5%;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.flavor-card__image-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 16px;
}

.flavor-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.5s var(--ease-bounce);
  will-change: transform;
}

.flavor-card:hover .flavor-card__image {
  transform: scale(1.06);
}

.flavor-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  margin-bottom: 0.6rem;
  transition: color 0.3s var(--ease-move);
}

.flavor-card:hover .flavor-card__name {
  color: var(--dourado-real);
}

.flavor-card__desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.flavor-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.4em 1em;
  border-radius: 30px;
  background: rgba(253, 170, 1, 0.1);
  color: var(--dourado-real);
  border: 1px solid rgba(253, 170, 1, 0.15);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
}

.flavor-card:hover .chip {
  opacity: 1;
  transform: translateY(0);
}

.flavor-card:hover .chip:nth-child(2) {
  transition-delay: 0.05s;
}

.flavor-card:hover .chip:nth-child(3) {
  transition-delay: 0.1s;
}


/* ═══════════════════════════════════════════════════════════════
   SEÇÃO 3 — FÁBRICA
   ═══════════════════════════════════════════════════════════════ */
.fabrica {
  position: relative;
  padding: var(--section-pad) 2rem;
  background: var(--roxo-abissal);
  overflow: hidden;
  z-index: 2;
}

.fabrica__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: var(--content-max);
  margin: 0 auto;
  align-items: start;
}

.fabrica__text {
  position: relative;
  z-index: 2;
}

.fabrica__paragraph {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
}

.fabrica__separator {
  height: 1px;
  margin: 2.5rem 0;
  background: linear-gradient(90deg, transparent, var(--dourado-real), transparent);
  transform: scaleX(0);
  transform-origin: left;
}

/* Counters */
.fabrica__counters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 1rem 0;
}

.counter-block {
  text-align: center;
}

.counter-block__clip {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.6s var(--ease-enter);
}

.counter-block__clip.is-revealed {
  clip-path: inset(0% 0 0 0);
}

.counter {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--dourado-real);
  font-variant-numeric: tabular-nums;
  display: block;
  line-height: 1.2;
}

.counter::before {
  content: '+';
}

.counter--year::before {
  content: '';
}

.counter-label {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  display: block;
  margin-top: 0.3rem;
  opacity: 0;
  transition: opacity 0.5s var(--ease-enter) 0.3s;
}

.counter-label.is-visible {
  opacity: 1;
}

/* Video / Visual side */
.fabrica__visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  will-change: transform;
  height: 100%;
}

.fabrica__video-container {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--roxo-profundo) 0%, var(--roxo-abissal) 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fabrica__video-placeholder {
  text-align: center;
  z-index: 2;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-heading);
}

.fabrica__video-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(253, 170, 1, 0.15);
  border: 2px solid var(--dourado-real);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--dourado-real);
  margin: 0 auto 1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.fabrica__video-icon:hover {
  background: rgba(253, 170, 1, 0.3);
  transform: scale(1.08);
}

.fabrica__video-overlay {
  position: absolute;
  inset: 0;
  background: var(--roxo-abissal);
  opacity: 0.55;
  mix-blend-mode: multiply;
  pointer-events: none;
  border-radius: 24px;
}

/* Secondary Button */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9em 2em;
  border: 2px solid var(--dourado-real);
  color: var(--dourado-real);
  border-radius: 60px;
  transition: background 0.3s var(--ease-move), color 0.3s var(--ease-move), transform 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.btn-secondary:hover {
  background: var(--dourado-real);
  color: var(--roxo-abissal);
  transform: translateY(-2px);
}

.btn-secondary:hover .cta-arrow {
  transform: translateX(4px);
}


/* ═══════════════════════════════════════════════════════════════
   SEÇÃO 4 — FRANQUIA
   ═══════════════════════════════════════════════════════════════ */
.franquia {
  position: relative;
  padding: var(--section-pad) 2rem;
  background: var(--roxo-abissal);
  overflow: hidden;
  z-index: 2;
  min-height: 100vh;
}

.franquia__inner {
  position: relative;
  z-index: 2;
  max-width: var(--content-max);
  margin: 0 auto;
  text-align: center;
}

.franquia__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4rem;
}

/* Geometric Shapes Background */
.franquia__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.geo-shape {
  position: absolute;
  will-change: transform;
}

.geo-shape--circle-1 {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--roxo-profundo);
  opacity: 0.15;
  top: -5%;
  left: -5%;
}

.geo-shape--circle-2 {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--dourado-real);
  opacity: 0.08;
  top: 60%;
  right: -3%;
}

.geo-shape--hex-1 {
  width: 180px;
  height: 200px;
  background: var(--roxo-profundo);
  opacity: 0.12;
  top: 30%;
  left: 15%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.geo-shape--hex-2 {
  width: 250px;
  height: 280px;
  background: var(--dourado-real);
  opacity: 0.06;
  bottom: 5%;
  left: 60%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.geo-shape--circle-3 {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid rgba(253, 170, 1, 0.15);
  top: 10%;
  right: 20%;
}

/* Glassmorphism Cards */
.franquia__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  perspective: 1000px;
  text-align: left;
}

.glass-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s linear;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
}

.glass-card__glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  opacity: 0;
  pointer-events: none;
  border-radius: 24px;
  transition: opacity 0.3s;
}

.glass-card:hover .glass-card__glare {
  opacity: 1;
}

.glass-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  display: block;
}

.glass-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--dourado-real);
}

.glass-card__desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.glass-card__features {
  margin-bottom: 2rem;
}

.glass-card__features li {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.5em 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  padding-left: 1.5em;
}

.glass-card__features li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--dourado-real);
  font-size: 0.7rem;
}

/* CTA Button in cards */
.glass-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.85em 1.8em;
  background: var(--dourado-real);
  color: var(--roxo-abissal);
  border-radius: 60px;
  transition: background 0.3s var(--ease-move), transform 0.3s, box-shadow 0.3s;
}

.glass-card__cta:hover {
  background: var(--branco-puro);
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(253, 170, 1, 0.5);
}

.glass-card__cta:hover .cta-arrow {
  transform: translateX(4px);
}


/* ═══════════════════════════════════════════════════════════════
   SEÇÃO 5 — FOOTER
   ═══════════════════════════════════════════════════════════════ */
.last-section {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}

.footer {
  position: sticky;
  bottom: 0;
  z-index: 1;
  min-height: 100vh;
  background: var(--roxo-abissal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: var(--section-pad) 2rem 2rem;
}

.footer__video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.footer__video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(45, 7, 46, 0.7);
  z-index: 1;
  pointer-events: none;
}

.footer__separator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--dourado-real) 50%, transparent 100%);
  z-index: 3;
}

.footer__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(6rem, 14vw, 18rem);
  color: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.03em;
  z-index: 2;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.footer__logo-link {
  display: inline-block;
  margin-bottom: 1.2rem;
  transition: opacity 0.3s;
}

.footer__logo-link:hover {
  opacity: 0.8;
}

.footer__logo-img {
  height: 50px;
  width: auto;
}

.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.footer__heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--dourado-real);
  margin-bottom: 1.2rem;
}

.footer__col ul li {
  margin-bottom: 0.6rem;
}

.footer__col ul li a,
.footer__col ul li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s;
  position: relative;
  display: inline-block;
}

.footer__col ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--dourado-real);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-enter);
}

.footer__col ul li a:hover {
  color: var(--branco-puro);
}

.footer__col ul li a:hover::after {
  transform: scaleX(1);
}

/* Social Icons */
.footer__socials {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s, transform 0.3s, border-color 0.3s, filter 0.3s;
}

.social-icon:hover {
  color: var(--dourado-real);
  border-color: var(--dourado-real);
  transform: translateY(-3px);
  filter: drop-shadow(0 4px 8px rgba(253, 170, 1, 0.4));
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

/* Footer Bottom */
.footer__bottom {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}


/* ═══════════════════════════════════════════════════════════════
   MODAL — Formulário Franqueado
   ═══════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: rgba(45, 7, 46, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-enter), visibility 0.4s;
  padding: 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: auto;
  flex-shrink: 0;
  background: rgba(74, 18, 80, 0.6);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(30px) scale(0.96);
  transition: transform 0.5s var(--ease-enter);
}

.modal-overlay.is-active .modal {
  transform: translateY(0) scale(1);
}

/* Scrollbar */
.modal::-webkit-scrollbar {
  width: 4px;
}

.modal::-webkit-scrollbar-track {
  background: transparent;
}

.modal::-webkit-scrollbar-thumb {
  background: rgba(253, 170, 1, 0.3);
  border-radius: 4px;
}

/* Close Button */
.modal__close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.3s;
  z-index: 10;
}

.modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--branco-puro);
  transform: rotate(90deg);
}

/* Header */
.modal__header {
  text-align: center;
  margin-bottom: 2rem;
}

.modal__icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.modal__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--branco-puro);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.modal__subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Form */
.modal__form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.modal__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.modal__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.modal__label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dourado-real);
}

.modal__input {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.8em 1em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--branco-puro);
  outline: none;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.modal__input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.modal__input:focus {
  border-color: var(--dourado-real);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(253, 170, 1, 0.15);
}

.modal__select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.5em;
}

.modal__select option {
  background: var(--roxo-profundo);
  color: var(--branco-puro);
}

.modal__textarea {
  resize: vertical;
  min-height: 80px;
}

/* Submit */
.modal__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1em 2em;
  margin-top: 0.5rem;
  background: var(--dourado-real);
  color: var(--roxo-abissal);
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: background 0.3s var(--ease-move), transform 0.3s, box-shadow 0.3s;
}

.modal__submit:hover {
  background: var(--branco-puro);
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(253, 170, 1, 0.5);
}

.modal__submit:hover .cta-arrow {
  transform: translateX(4px);
}

.modal__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Spinner de envio */
.modal__spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(45, 7, 46, 0.3);
  border-top-color: var(--roxo-abissal);
  border-radius: 50%;
  animation: modalSpin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes modalSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Success State */
.modal__success {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.modal__success.is-visible {
  display: block;
}

.modal__success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.modal__success-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--dourado-real);
  margin-bottom: 0.5rem;
}

.modal__success-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Modal Responsive */
@media (max-width: 600px) {
  .modal {
    padding: 1.8rem 1.4rem;
    border-radius: 20px;
  }

  .modal__form-row {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .header__hamburger {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(45, 7, 46, 0.96);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: none !important;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-move), visibility 0.4s;
    z-index: 1000;
  }

  .header__nav.is-open,
  .header.is-scrolled .header__nav.is-open {
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible;
  }

  .header__nav .header__link {
    font-size: 1.5rem;
    letter-spacing: 0.12em;
    padding: 0.5em 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s var(--ease-enter), transform 0.3s var(--ease-enter), color 0.3s;
  }

  .header__nav.is-open .header__link {
    opacity: 1;
    transform: translateY(0);
  }

  .header__nav.is-open .header__link:nth-child(1) {
    transition-delay: 0.1s;
  }

  .header__nav.is-open .header__link:nth-child(2) {
    transition-delay: 0.15s;
  }

  .header__nav.is-open .header__link:nth-child(3) {
    transition-delay: 0.2s;
  }

  .header__nav.is-open .header__link:nth-child(4) {
    transition-delay: 0.25s;
  }

  .header__cta {
    display: none;
  }

  .vitrine__track {
    grid-template-columns: repeat(2, 1fr);
  }

  .franquia__cards {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .fabrica__grid {
    grid-template-columns: 1fr;
  }

  .fabrica__visual {
    order: -1;
    min-height: 300px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero__title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .vitrine__track {
    grid-template-columns: 1fr;
  }

  .flavor-card__number {
    font-size: 6rem;
  }

  .fabrica__counters {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer {
    min-height: auto;
    padding: 4rem 1.5rem 2rem;
  }

  .footer__watermark {
    font-size: 20vw;
  }
}

@media (max-width: 480px) {
  .hero__product {
    width: 200px;
    height: 240px;
  }

  .hero__cta {
    font-size: 0.85rem;
    padding: 0.85em 2em;
  }
}