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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  overflow-x: hidden;
}

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: #fff;
  background: #0d0d0d;
  transition: background 0.8s ease;
  cursor: none;
  overflow-x: hidden;
}

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

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

/* ═══════════════════════════════════════════
   CSS VARIABLES — BRAND COLORS
   ═══════════════════════════════════════════ */
:root {
  --c-hero: #0d0d0d;
  --c-boticario: #006B3C;
  --c-eudora: #E8560A;
  --c-qdb: #D4006A;
  --c-oui: #B8963E;
  --c-grupo: #4A1F7A;
  --c-footer: #0a0a0a;

  --c-boticario-light: #00a85c;
  --c-eudora-light: #ff7a33;
  --c-qdb-light: #ff1a8a;
  --c-oui-light: #d4af5e;
  --c-grupo-light: #6b35b0;
}

/* ═══════════════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════════════ */
.cursor {
  position: fixed;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}

.cursor.hover {
  width: 60px;
  height: 60px;
}

@media (max-width: 768px) {
  .cursor {
    display: none;
  }

  body {
    cursor: auto;
  }
}

/* ═══════════════════════════════════════════
   HEADER / NAV DOTS
   ═══════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  mix-blend-mode: difference;
}

/* ═══════════════════════════════════════════
   PREMIUM NAVBAR
   ═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  padding: 16px 32px;
  background: rgba(13, 13, 13, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

.navbar__link {
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
  cursor: none;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.3s ease;
}

.navbar__link:hover,
.navbar__link.active {
  color: #fff;
}

.navbar__link:hover::after,
.navbar__link.active::after {
  width: 100%;
}

@media (max-width: 768px) {
  .navbar {
    padding: 12px 16px;
  }

  .navbar__inner {
    gap: 16px;
  }

  .navbar__link {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }

  .header {
    display: none;
    /* Hide top logo, navbar handles recognition */
  }
}

.header__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #fff;
}

.nav-dots {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1000;
  mix-blend-mode: difference;
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  cursor: none;
  transition: all 0.4s ease;
  position: relative;
}

.nav-dot.active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.3);
}

.nav-dot::after {
  content: attr(data-label);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.nav-dot:hover::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .nav-dots {
    right: 12px;
    gap: 10px;
  }

  .nav-dot {
    width: 7px;
    height: 7px;
  }

  .nav-dot::after {
    display: none;
  }

  .header {
    padding: 16px 20px;
  }
}

/* ═══════════════════════════════════════════
   SECTIONS — GENERAL
   ═══════════════════════════════════════════ */
.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 100px 60px;
  scroll-snap-align: start;
}

@media (max-width: 768px) {
  .section {
    padding: 80px 24px;
  }
}

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.hero {
  flex-direction: column;
  text-align: center;
  overflow: hidden;
}

.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  animation: float linear infinite;
}

.particle:nth-child(1) {
  width: 6px;
  height: 6px;
  left: 10%;
  top: 20%;
  animation-duration: 18s;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  width: 4px;
  height: 4px;
  left: 25%;
  top: 60%;
  animation-duration: 22s;
  animation-delay: 2s;
}

.particle:nth-child(3) {
  width: 8px;
  height: 8px;
  left: 40%;
  top: 30%;
  animation-duration: 25s;
  animation-delay: 4s;
}

.particle:nth-child(4) {
  width: 3px;
  height: 3px;
  left: 55%;
  top: 70%;
  animation-duration: 20s;
  animation-delay: 1s;
}

.particle:nth-child(5) {
  width: 5px;
  height: 5px;
  left: 70%;
  top: 15%;
  animation-duration: 28s;
  animation-delay: 3s;
}

.particle:nth-child(6) {
  width: 7px;
  height: 7px;
  left: 85%;
  top: 45%;
  animation-duration: 16s;
  animation-delay: 5s;
}

.particle:nth-child(7) {
  width: 4px;
  height: 4px;
  left: 15%;
  top: 80%;
  animation-duration: 21s;
  animation-delay: 2s;
}

.particle:nth-child(8) {
  width: 6px;
  height: 6px;
  left: 50%;
  top: 50%;
  animation-duration: 24s;
  animation-delay: 6s;
}

.particle:nth-child(9) {
  width: 3px;
  height: 3px;
  left: 90%;
  top: 25%;
  animation-duration: 19s;
  animation-delay: 1s;
}

.particle:nth-child(10) {
  width: 5px;
  height: 5px;
  left: 35%;
  top: 90%;
  animation-duration: 23s;
  animation-delay: 4s;
}

.particle:nth-child(11) {
  width: 4px;
  height: 4px;
  left: 60%;
  top: 10%;
  animation-duration: 26s;
  animation-delay: 0s;
}

.particle:nth-child(12) {
  width: 7px;
  height: 7px;
  left: 80%;
  top: 75%;
  animation-duration: 17s;
  animation-delay: 3s;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) translateX(40px) scale(0.5);
    opacity: 0;
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero__eyebrow {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0.7;
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero__title em {
  font-style: italic;
  display: block;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  opacity: 0.75;
  max-width: 540px;
  margin: 0 auto 48px;
  font-weight: 300;
}

.hero__scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 300;
  opacity: 0.5;
  animation: pulse 2.5s ease-in-out infinite;
}

.hero__scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, #fff);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.8;
  }
}

@keyframes scrollDown {

  0%,
  100% {
    transform: scaleY(1);
  }

  50% {
    transform: scaleY(1.4);
  }
}

/* ═══════════════════════════════════════════
   BRAND SECTIONS
   ═══════════════════════════════════════════ */
.brand {
  padding: 100px 60px;
}

.brand__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  width: 100%;
  align-items: center;
}

.brand__content {
  z-index: 1;
}

.brand__eyebrow {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.7;
}

.brand__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 20px;
}

.brand__copy {
  font-size: 1rem;
  line-height: 1.75;
  opacity: 0.8;
  margin-bottom: 32px;
  max-width: 480px;
  font-weight: 300;
}

.brand__cta {
  display: inline-block;
  padding: 16px 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  cursor: none;
}

.brand__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.brand__cta:hover {
  transform: scale(1.04);
  border-color: transparent;
}

.brand__cta:hover::before {
  opacity: 1;
}

/* CTA color variations */
.brand--boticario .brand__cta:hover {
  box-shadow: 0 8px 32px rgba(0, 107, 60, 0.4);
  background: var(--c-boticario);
  border-color: var(--c-boticario);
}

.brand--eudora .brand__cta:hover {
  box-shadow: 0 8px 32px rgba(232, 86, 10, 0.4);
  background: var(--c-eudora);
  border-color: var(--c-eudora);
}

.brand--qdb .brand__cta:hover {
  box-shadow: 0 8px 32px rgba(212, 0, 106, 0.4);
  background: var(--c-qdb);
  border-color: var(--c-qdb);
}

.brand--oui .brand__cta:hover {
  box-shadow: 0 8px 32px rgba(184, 150, 62, 0.4);
  background: var(--c-oui);
  border-color: var(--c-oui);
}

.brand--grupo .brand__cta:hover {
  box-shadow: 0 8px 32px rgba(74, 31, 122, 0.4);
  background: var(--c-grupo);
  border-color: var(--c-grupo);
}

.brand__micro {
  display: block;
  margin-top: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  opacity: 0.45;
  font-weight: 300;
}

/* Purchase Steps */
.brand__steps {
  margin-top: 36px;
  padding: 32px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.brand__steps-title {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.5;
  text-align: center;
}

.brand__steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brand__step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.65;
  font-weight: 300;
}

.brand__step-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.brand--boticario .brand__step-num {
  border-color: var(--c-boticario-light);
  color: var(--c-boticario-light);
}

.brand--eudora .brand__step-num {
  border-color: var(--c-eudora-light);
  color: var(--c-eudora-light);
}

.brand--qdb .brand__step-num {
  border-color: var(--c-qdb-light);
  color: var(--c-qdb-light);
}

.brand--oui .brand__step-num {
  border-color: var(--c-oui-light);
  color: var(--c-oui-light);
}

.brand--grupo .brand__step-num {
  border-color: var(--c-grupo-light);
  color: var(--c-grupo-light);
}

/* Decorative Visual */
.brand__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.brand__deco {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  position: relative;
  opacity: 0.15;
}

.brand__deco::before {
  content: '';
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.brand__deco::after {
  content: '';
  position: absolute;
  inset: -60px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.brand--boticario .brand__deco {
  background: radial-gradient(circle, var(--c-boticario-light), transparent 70%);
}

.brand--eudora .brand__deco {
  background: radial-gradient(circle, var(--c-eudora-light), transparent 70%);
}

.brand--qdb .brand__deco {
  background: radial-gradient(circle, var(--c-qdb-light), transparent 70%);
}

.brand--oui .brand__deco {
  background: radial-gradient(circle, var(--c-oui-light), transparent 70%);
}

.brand--grupo .brand__deco {
  background: radial-gradient(circle, var(--c-grupo-light), transparent 70%);
}

.brand__visual-label {
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  opacity: 0.04;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

/* Reverse layout for even sections */
.brand:nth-child(even) .brand__inner {
  direction: rtl;
}

.brand:nth-child(even) .brand__inner>* {
  direction: ltr;
}

/* Mobile responsive for brand sections */
@media (max-width: 768px) {
  .brand {
    padding: 80px 24px;
  }

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

  .brand__visual {
    min-height: 200px;
    display: none;
  }

  .brand:nth-child(even) .brand__inner {
    direction: ltr;
  }

  .brand__steps {
    padding: 20px;
  }
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  flex-direction: column;
  text-align: center;
  background: var(--c-footer);
  min-height: 70vh;
  gap: 32px;
}

.footer__logo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.footer__tagline {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.6;
  max-width: 400px;
  margin: 0 auto;
  font-weight: 300;
}

.footer__links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  font-weight: 400;
  transition: all 0.4s ease;
  cursor: none;
}

.footer__link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.footer__link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer__trust {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.3;
  margin-top: 12px;
  font-weight: 300;
}

.footer__divider {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.footer__copy-text {
  font-size: 0.7rem;
  opacity: 0.2;
  font-weight: 300;
}

/* ═══════════════════════════════════════════
   WHATSAPP FLOATING BUTTON
   ═══════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  cursor: none;
}

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

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

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

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

/* ═══════════════════════════════════════════
   ANIMATIONS — FADE UP
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ─── Mobile Logos ─── */
.brand__logo-mobile {
  display: none;
}

@media (max-width: 768px) {
  .brand__logo-mobile {
    display: block;
    max-width: 140px;
    margin: 0 auto 28px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
  }

  .brand__logo-mobile img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 30px;
  }
}

/* ═══════════════════════════════════════════
   DECORATIVE LINE
   ═══════════════════════════════════════════ */
.section-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.08), transparent);
}

@media (max-width: 768px) {
  .section-line {
    height: 40px;
  }

  /* Performance Boosters */
  .particle:nth-child(n+5) {
    display: none;
  }

  .brand__steps {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(255, 255, 255, 0.08);
  }

  body {
    transition: none !important;
    /* Stop background repaint overhead */
  }

  .navbar {
    backdrop-filter: none !important;
    /* Performance on mobile */
    -webkit-backdrop-filter: none !important;
    background: rgba(13, 13, 13, 0.95);
  }
}

/* GPU Acceleration */
.reveal,
.particle,
.navbar,
.whatsapp-float {
  will-change: transform, opacity;
}
