/* Rêve Enchanté — Design System
   Direction : féminin premium accessible, fluide, organique.
   Palette : 80 % nude / beige / rose · 20 % vert profond + doré.
   Formes : arrondis partout, vagues douces, cercles. */

:root {
  /* ── Base — tons chauds, peau, douceur ────────────────────── */
  --ink: #2b2420;
  --ink-soft: #6b5e55;
  --sand: #faf5ef;
  --sand-2: #f3ebe0;
  --cream: #fffcf7;
  --nude: #efe5d8;
  --blush: #f5ddd4;
  --rose: #e4a598;
  --rose-deep: #cf7e6e;
  --petal: #FFD4E7;

  /* ── Vert profond — accent élégance (20 %) ────────────────── */
  --forest: #7f9782;
  --forest-deep: #384637;
  --forest-light: #3d7a54;
  --sage: #8aab86;
  --sage-soft: #c2d4bd;

  /* ── Doré — éclat premium (accent) ────────────────────────── */
  --gold: #c5993b;
  --gold-bright: #dbb04a;
  --gold-soft: #edd9a3;
  --gold-deep: #9a7728;
  --gold-glow: #faf0d8;

  /* ── Petites filles — Box princesse ───────────────────────── */
  --princess: #f0c4d4;
  --princess-deep: #d98aaa;

  --rose-soft: #fde8ef;
  --line: rgba(43, 36, 32, 0.10);
  --line-strong: rgba(43, 36, 32, 0.20);
  --line-rose: rgba(255, 212, 231, 0.70);

  /* ── Rayons — tout arrondi ────────────────────────────────── */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;
}

/* ────────────────────────────────────────────────────────────── */
/*  Reset & base                                                  */
/* ────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: "Geist", "Helvetica Neue", system-ui, sans-serif;
  font-feature-settings: "ss01", "cv01";
  overflow-x: hidden;
}

/* ────────────────────────────────────────────────────────────── */
/*  Typography                                                    */
/* ────────────────────────────────────────────────────────────── */
.font-display {
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.font-script {
  font-family: "Caveat", cursive;
  font-weight: 500;
}

.font-mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

/* ────────────────────────────────────────────────────────────── */
/*  WAVE DIVIDERS — seamless, no gaps                             */
/* ────────────────────────────────────────────────────────────── */
.wave-divider {
  display: block;
  width: 100%;
  line-height: 0;
  font-size: 0;
  position: relative;
  z-index: 2;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

@media (min-width: 768px) {
  .wave-divider svg {
    height: 90px;
  }
}

@media (min-width: 1200px) {
  .wave-divider svg {
    height: 110px;
  }
}

/* ────────────────────────────────────────────────────────────── */
/*  Sparkle — subtil, doré, premium                               */
/* ────────────────────────────────────────────────────────────── */
.sparkle-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.sparkle-field .s {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold-bright);
  opacity: 0;
  animation: sparkle-pulse 5s ease-in-out infinite;
}

@keyframes sparkle-pulse {

  0%,
  100% {
    opacity: 0;
    transform: scale(0.6);
  }

  40% {
    opacity: 0.7;
    transform: scale(1);
  }

  60% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.sparkle-field .s:nth-child(1) {
  top: 8%;
  left: 12%;
  animation-delay: 0s;
}

.sparkle-field .s:nth-child(2) {
  top: 22%;
  left: 78%;
  animation-delay: 1.2s;
  width: 4px;
  height: 4px;
}

.sparkle-field .s:nth-child(3) {
  top: 45%;
  left: 35%;
  animation-delay: 2.4s;
}

.sparkle-field .s:nth-child(4) {
  top: 65%;
  left: 88%;
  animation-delay: 0.8s;
  width: 2px;
  height: 2px;
}

.sparkle-field .s:nth-child(5) {
  top: 80%;
  left: 55%;
  animation-delay: 3.1s;
}

.sparkle-field .s:nth-child(6) {
  top: 35%;
  left: 5%;
  animation-delay: 1.8s;
  width: 4px;
  height: 4px;
}

.sparkle-field .s:nth-child(7) {
  top: 55%;
  left: 65%;
  animation-delay: 4.0s;
}

.sparkle-field .s:nth-child(8) {
  top: 15%;
  left: 50%;
  animation-delay: 0.5s;
  width: 2px;
  height: 2px;
}

/* ────────────────────────────────────────────────────────────── */
/*  Photo placeholders                                            */
/* ────────────────────────────────────────────────────────────── */
.photo-placeholder {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: linear-gradient(145deg, var(--nude) 0%, var(--sand-2) 50%, var(--gold-glow) 100%);
}

.photo-placeholder.dark {
  background: linear-gradient(145deg, #3a3530 0%, var(--ink) 100%);
}

.photo-placeholder.rose {
  background: linear-gradient(145deg, var(--petal) 0%, var(--blush) 50%, var(--rose) 100%);
}

.photo-placeholder.gold {
  background: linear-gradient(145deg, var(--gold-glow) 0%, var(--gold-soft) 50%, var(--gold-bright) 100%);
}

.photo-placeholder.sage {
  background: linear-gradient(145deg, var(--sage-soft) 0%, var(--sage) 100%);
}

.photo-placeholder.forest {
  background: linear-gradient(145deg, var(--forest-light) 0%, var(--forest) 100%);
}

.photo-placeholder.princess {
  background: linear-gradient(145deg, var(--princess) 0%, var(--princess-deep) 100%);
}

.photo-placeholder.circle {
  border-radius: 50%;
}

.photo-placeholder .ph-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 252, 247, 0.92);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  width: fit-content;
  backdrop-filter: blur(4px);
}

/* Grain overlay */
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ────────────────────────────────────────────────────────────── */
/*  Small elements                                                */
/* ────────────────────────────────────────────────────────────── */
.gold-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--gold-soft), var(--gold));
  vertical-align: middle;
}

.link-u {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.3s ease;
}

.link-u:hover {
  background-size: 0% 1px;
}

.footer-link {
  text-decoration: none;
  background-image: linear-gradient(var(--gold-deep), var(--gold-deep));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.25s ease, color 0.2s ease;
}

.footer-link:hover {
  color: var(--gold-deep);
  background-size: 100% 1px;
}

.gold-underline {
  background-image: linear-gradient(180deg, transparent 68%, var(--gold-soft) 68%, var(--gold-soft) 92%, transparent 92%);
}

/* ────────────────────────────────────────────────────────────── */
/*  Nav links — underline active only, hover color for others     */
/* ────────────────────────────────────────────────────────────── */
.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.3s ease;
  padding-bottom: 3px;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s ease;
}

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

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

.nav-active {
  color: var(--gold-deep);
}

.nav-active::after {
  width: 100% !important;
  background: var(--gold-deep);
}

/* ────────────────────────────────────────────────────────────── */
/*  Buttons — fluides, féminins                                   */
/* ────────────────────────────────────────────────────────────── */
.btn-forest {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--forest);
  color: var(--cream);
  border: 2px solid var(--forest);
  border-radius: var(--r-pill);
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.btn-forest:hover {
  background: var(--forest-deep);
  border-color: var(--forest-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(45, 94, 63, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink-soft);
  border-radius: var(--r-pill);
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--ink);
  border: 1.5px solid var(--gold);
  border-radius: var(--r-pill);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-gold:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(197, 153, 59, 0.4);
}

.btn-rose {
  display: inline-flex;
  align-items: center;
  background: var(--princess-deep);
  color: var(--cream);
  border: 2px solid var(--princess-deep);
  border-radius: var(--r-pill);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-rose:hover {
  background: #c0729a;
  border-color: #c0729a;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(217, 138, 170, 0.4);
}

.btn-ink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--ink);
  color: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--r-pill);
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.btn-ink:hover {
  background: var(--forest-deep);
  border-color: var(--forest-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(43, 36, 32, 0.4);
}

/* ────────────────────────────────────────────────────────────── */
/*  Animations                                                    */
/* ────────────────────────────────────────────────────────────── */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.float-anim {
  animation: float 6s ease-in-out infinite;
}

@keyframes slow-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.slow-spin {
  animation: slow-spin 50s linear infinite;
}

@keyframes shine {

  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.85);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

.shine-anim {
  animation: shine 3s ease-in-out infinite;
}

/* Marquee */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }

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

.marquee-track {
  animation: marquee 35s linear infinite;
}

/* ────────────────────────────────────────────────────────────── */
/*  Collection circles                                            */
/* ────────────────────────────────────────────────────────────── */
.collection-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.20);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.collection-circle:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.18);
}

@media (min-width: 640px) {
  .collection-circle {
    width: 190px;
    height: 190px;
  }
}

@media (min-width: 1024px) {
  .collection-circle {
    width: 230px;
    height: 230px;
  }
}

/* ────────────────────────────────────────────────────────────── */
/*  Atout icons                                                   */
/* ────────────────────────────────────────────────────────────── */
.atout-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--petal);
  border: 1.5px solid var(--princess);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

/* ────────────────────────────────────────────────────────────── */
/*  Sections backgrounds                                          */
/* ────────────────────────────────────────────────────────────── */
.section-forest {
  background: var(--forest);
  color: var(--cream);
  position: relative;
}

.section-sand {
  background: var(--sand);
  position: relative;
}

.section-nude {
  background: var(--nude);
  position: relative;
}

/* ────────────────────────────────────────────────────────────── */
/*  Lucioles — petites étoiles sur fond vert                      */
/* ────────────────────────────────────────────────────────────── */
.luciole-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.luciole-field .l {
  position: absolute;
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  background: var(--gold-bright);
  opacity: 0;
  animation: luciole-drift 5.5s ease-in-out infinite;
  box-shadow: 0 0 12px 5px rgba(219, 176, 74, 0.6), 0 0 22px 8px rgba(219, 176, 74, 0.3);
}

@keyframes luciole-drift {

  0% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }

  20% {
    opacity: 0.75;
    transform: translateY(-5px) scale(1);
  }

  50% {
    opacity: 1;
    transform: translateY(-12px) scale(1.2);
  }

  80% {
    opacity: 0.55;
    transform: translateY(-18px) scale(0.9);
  }

  100% {
    opacity: 0;
    transform: translateY(-24px) scale(0.4);
  }
}

.luciole-field .l:nth-child(1) {
  top: 15%;
  left: 8%;
  animation-delay: 0s;
}

.luciole-field .l:nth-child(2) {
  top: 40%;
  left: 85%;
  animation-delay: 1.5s;
  width: 5px;
  height: 5px;
}

.luciole-field .l:nth-child(3) {
  top: 70%;
  left: 30%;
  animation-delay: 3s;
}

.luciole-field .l:nth-child(4) {
  top: 25%;
  left: 55%;
  animation-delay: 2s;
  width: 4px;
  height: 4px;
}

.luciole-field .l:nth-child(5) {
  top: 60%;
  left: 72%;
  animation-delay: 4.5s;
}

.luciole-field .l:nth-child(6) {
  top: 85%;
  left: 15%;
  animation-delay: 1s;
  width: 5px;
  height: 5px;
}

.luciole-field .l:nth-child(7) {
  top: 50%;
  left: 45%;
  animation-delay: 5.5s;
}

.luciole-field .l:nth-child(8) {
  top: 30%;
  left: 92%;
  animation-delay: 3.5s;
}

.luciole-field .l:nth-child(9) {
  top: 75%;
  left: 60%;
  animation-delay: 6s;
  width: 4px;
  height: 4px;
}

.luciole-field .l:nth-child(10) {
  top: 10%;
  left: 40%;
  animation-delay: 2.5s;
}

/* ────────────────────────────────────────────────────────────── */
/*  Arch frame (hero)                                             */
/* ────────────────────────────────────────────────────────────── */
.arch-frame {
  border-radius: 999px 999px var(--r-xl) var(--r-xl);
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* ────────────────────────────────────────────────────────────── */
/*  Blobs — formes arrondies decoratives                          */
/* ────────────────────────────────────────────────────────────── */
.blob {
  position: absolute;
  border-radius: 62% 38% 55% 45% / 48% 58% 42% 52%;
  pointer-events: none;
}

.blob-gold {
  background: radial-gradient(circle at 35% 35%, var(--gold-soft), var(--gold-bright) 80%);
}

.blob-rose {
  background: radial-gradient(circle at 35% 35%, var(--petal), var(--rose));
}

.blob-sage {
  background: radial-gradient(circle at 35% 35%, var(--sage-soft), var(--sage));
}

/* ────────────────────────────────────────────────────────────── */
/*  Inputs                                                        */
/* ────────────────────────────────────────────────────────────── */
.input-pill {
  background: var(--cream);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding: 12px 20px;
  font-size: 15px;
  width: 100%;
  transition: border-color 0.2s ease;
}

.input-pill:focus {
  outline: none;
  border-color: var(--forest);
}

.textarea-soft {
  background: var(--cream);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-size: 15px;
  width: 100%;
  resize: vertical;
}

.textarea-soft:focus {
  outline: none;
  border-color: var(--forest);
}

/* ────────────────────────────────────────────────────────────── */
/*  Review cards                                                  */
/* ────────────────────────────────────────────────────────────── */
.review-card {
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 28px 24px 22px;
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

/* Stars */
.star {
  fill: var(--gold-bright);
}

/* Logo */
.monogram {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* Misc */
.num-tabular {
  font-variant-numeric: tabular-nums;
}

::selection {
  background: var(--petal);
  color: var(--ink);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--cream);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  cursor: pointer;
}
.chip:hover {
  background: var(--nude);
  color: var(--ink);
}
.chip-gold {
  background: var(--gold-glow);
  border-color: var(--gold);
  color: var(--gold-deep);
  font-weight: 600;
}
.chip-gold:hover {
  background: var(--gold-soft);
}
.chip-rose {
  background: var(--blush);
  border-color: var(--rose-deep);
  color: var(--rose-deep);
  font-weight: 600;
}
.chip-rose:hover {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
}

/* Cart drawer */
.drawer-backdrop {
  background: rgba(43, 36, 32, 0.45);
  backdrop-filter: blur(3px);
}

/* ────────────────────────────────────────────────────────────── */
/*  Card components                                               */
/* ────────────────────────────────────────────────────────────── */
.card {
  background: var(--cream);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: 0 2px 16px rgba(43, 36, 32, 0.06);
}

.card-gold {
  background: linear-gradient(135deg, var(--gold-glow) 0%, var(--gold-soft) 100%);
  border-radius: var(--r-lg);
  border: 1px solid rgba(197, 153, 59, 0.30);
}

.card-rose {
  background: linear-gradient(135deg, var(--petal) 0%, var(--blush) 100%);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-rose);
}

.blob-amber {
  background: radial-gradient(circle at 35% 35%, var(--gold-glow), var(--gold-bright) 80%);
}

/* Mobile helpers */
@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hide-desktop {
    display: none !important;
  }
}