/* ═══════════ ENCHANTÉS — design éditorial épuré ═══════════ */
:root {
  --cream: #fbf7f1;
  --ivory: #fffefb;
  --ink: #3e3640;
  --muted: #8d8189;
  --rose: #e8b4c2;
  --rose-deep: #c25e78;
  --sage: #93a68c;
  --emerald: #2f4638;
  --gold: #b99253;
  --hairline: rgba(62, 54, 64, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* barre de défilement fine : réduit l'asymétrie du centrage visuel */
html { scrollbar-width: thin; scrollbar-color: rgba(194, 94, 120, 0.28) transparent; }
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(194, 94, 120, 0.28); border-radius: 4px; }

body {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Cormorant Garamond", serif; font-weight: 400; line-height: 1.16; }
h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.script, .final-script { font-family: "Great Vibes", cursive; font-weight: 400; }
::selection { background: var(--rose); color: var(--ink); }

/* ═══════════ NAV — invisible sur le hero, apparaît après ═══════════ */
#nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem clamp(1.2rem, 4vw, 3rem);
  background: rgba(251, 247, 241, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline);
  opacity: 0; transform: translateY(-14px);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}
#nav.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-logo {
  font-family: "Great Vibes", cursive;
  font-size: 1.8rem; text-decoration: none;
  color: var(--rose-deep);
}
.nav-links { display: flex; gap: 2.4rem; }
.nav-links a {
  color: var(--ink); text-decoration: none;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.22em;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--rose-deep); }
.nav-right { display: flex; align-items: center; gap: 0.7rem; }
/* bouton-icône « Mon espace » : même cadre que le CTA, en carré */
/* même hauteur que le CTA voisin (padding vertical identique) + carré parfait */
.btn.icon-only { padding: 0.7rem; display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.icon-only svg { width: 1.25rem; height: 1.25rem; display: block; }

/* ═══════════ BOUTONS ═══════════ */
.btn {
  display: inline-block;
  background: var(--rose-deep);
  color: #fff; text-decoration: none;
  font-family: "Jost", sans-serif; font-weight: 400;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.22em;
  padding: 1rem 2.6rem; border-radius: 2px;
  transition: background 0.3s, transform 0.3s;
}
.btn:hover { background: #a94b64; transform: translateY(-1px); }
.btn-nav { font-size: 0.72rem; padding: 0.7rem 1.7rem; }
.btn-nav, .btn-hero-top { white-space: nowrap; }
.btn-hero { font-size: 0.85rem; padding: 1.1rem 3rem; }

/* ═══════════ HERO CINÉMATIQUE ═══════════ */
#cine { height: 320vh; position: relative; }
.cine-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #e9dfe0; }
#heroVideo {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-topbar {
  position: absolute; z-index: 4; top: 0; left: 0; right: 0;
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 1.7rem clamp(1.4rem, 4vw, 3rem);
}
.hero-logo {
  font-family: "Great Vibes", cursive; font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1;
  color: #fff; text-shadow: 0 2px 22px rgba(62, 44, 54, 0.4);
}
.hero-tag {
  margin-top: 0.55rem;
  font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.38em;
  color: #fff; opacity: 0.88;
  text-shadow: 0 1px 12px rgba(62, 44, 54, 0.45);
}
.hero-top-right { display: flex; align-items: center; gap: 0.7rem; margin-top: 0.4rem; }
/* bouton-icône « Mon espace » sur le hero : même cadre que le CTA, en carré */
.btn-hero-top.icon-only { padding: 0.85rem; display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.btn-hero-top {
  display: inline-block;
  color: #fff; text-decoration: none;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.24em;
  padding: 0.85rem 1.9rem; border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.06);
  text-shadow: 0 1px 10px rgba(62, 44, 54, 0.35);
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}
.btn-hero-top:hover {
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  border-color: transparent; text-shadow: none;
}
.hero-scroll { position: absolute; z-index: 3; bottom: 2.4rem; left: 50%; transform: translateX(-50%); text-align: center; }
.hero-scroll p {
  font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: #fff; opacity: 0.9; text-shadow: 0 1px 12px rgba(62, 44, 54, 0.4);
}
.hero-scroll span {
  display: block; width: 1px; height: 48px; margin: 0 auto 0.7rem;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.9));
  animation: drip 2s ease-in-out infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.cine-caption {
  position: absolute; z-index: 3; left: 50%;
  top: clamp(9.5rem, 21vh, 13rem);
  transform: translateX(-50%);
  width: min(85vw, 26em); text-align: center;
  font-family: "Cormorant Garamond", serif; font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  color: #fff; text-shadow: 0 2px 26px rgba(62, 44, 54, 0.5);
  opacity: 0; pointer-events: none;
}
.cine-caption em { font-family: "Great Vibes", cursive; font-style: normal; font-size: 1.18em; }

/* ═══════════ TRAME ÉDITORIALE ═══════════ */
.section {
  padding: clamp(3.6rem, 7vw, 6.5rem) clamp(1.4rem, 6vw, 4rem) 0;
  position: relative; z-index: 2; background: var(--cream);
}
#final.section, #faq.section { padding-bottom: clamp(3.6rem, 7vw, 6.5rem); }
.section-inner { max-width: 1060px; margin: 0 auto; }
.section-inner.narrow { max-width: 720px; }

/* étiquette éditoriale : numéro + intitulé, alignés sur un filet */
.ed-label {
  display: flex; align-items: baseline; gap: 1.2rem;
  border-top: 1px solid var(--hairline);
  padding-top: 1.1rem; margin-bottom: clamp(1.8rem, 4vw, 3rem);
}
.ed-label-n {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.95rem; color: var(--gold); letter-spacing: 0.08em;
}
.ed-label-t {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.34em;
  color: var(--muted);
}

/* grande déclaration typographique */
.ed-statement {
  font-size: clamp(2.1rem, 5vw, 3.9rem);
  font-weight: 400; max-width: 22em;
  margin-bottom: clamp(1.6rem, 3.5vw, 2.6rem);
}
.ed-statement em, .ed-statement .script { color: var(--rose-deep); }

/* deux colonnes de texte courant */
.ed-cols {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  max-width: 60em;
}
.ed-cols p { font-size: 1.02rem; }

/* bande visuelle pleine largeur + carte d'exemple */
.ed-band {
  position: relative; margin-top: clamp(2.2rem, 5vw, 3.8rem);
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  height: clamp(340px, 62vh, 640px); overflow: hidden;
}
.ed-band img {
  width: 100%; height: 118%; object-fit: cover; display: block;
  will-change: transform;
}
.ed-card {
  position: absolute; left: 50%; bottom: clamp(1.6rem, 5vh, 3.2rem);
  transform: translateX(-50%);
  background: rgba(255, 254, 251, 0.94);
  backdrop-filter: blur(6px);
  padding: 1.5rem 2.6rem 1.4rem;
  text-align: center;
  border: 1px solid rgba(185, 146, 83, 0.35);
}
.ed-card-script {
  font-family: "Great Vibes", cursive;
  font-size: 2.1rem; line-height: 1.1; color: var(--rose-deep);
}
.ed-card-line {
  margin-top: 0.4rem;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.24em;
  color: var(--muted);
}
.ed-card-link {
  display: inline-block; margin-top: 0.8rem;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.24em;
  color: var(--rose-deep); text-decoration: none;
  border-bottom: 1px solid rgba(194, 94, 120, 0.4); padding-bottom: 0.2rem;
  transition: border-color 0.3s;
}
.ed-card-link:hover { border-color: var(--rose-deep); }

/* liste éditoriale numérotée */
.ed-list { list-style: none; max-width: 46em; }
.ed-list li {
  display: grid; grid-template-columns: 5.5rem 1fr;
  gap: 1rem; align-items: start;
  padding: clamp(1.2rem, 2.8vw, 1.8rem) 0;
  border-bottom: 1px solid var(--hairline);
}
.ed-list li:last-child { border-bottom: none; }
.ed-num {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1;
  color: var(--rose); font-weight: 300;
}
.ed-list p { font-size: 1rem; max-width: 36em; }

/* registre : intitulé | description, en lignes fines */
.ledger { max-width: 56em; }
.ledger-row {
  display: grid; grid-template-columns: minmax(11em, 16em) 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}
.ledger-row:last-child { border-bottom: none; }
.ledger-row dt {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem; line-height: 1.3;
}
.ledger-row dd { font-size: 0.99rem; color: #5d525f; }

/* étapes minimales */
.steps-min {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  max-width: 60em;
}
.step-min-n {
  font-family: "Cormorant Garamond", serif; font-style: italic;
  font-size: 1.05rem; color: var(--gold);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 0.7rem; margin-bottom: 1.1rem;
}
.step-min p:last-child { font-size: 0.97rem; }

/* formules : deux colonnes séparées d'un filet */
.offers {
  display: grid; grid-template-columns: 1fr 1fr;
  max-width: 58em;
}
.offer { padding: 0 clamp(1.5rem, 5vw, 4rem) 0 0; }
.offer-signature {
  border-left: 1px solid var(--hairline);
  padding-left: clamp(1.5rem, 5vw, 4rem); padding-right: 0;
}
.offer h3 { font-size: 1.9rem; }
.offer-tag {
  font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--gold); margin-bottom: 0.5rem;
}
.offer:not(.offer-signature) h3 { margin-top: 1.45rem; }
.offer-price {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.6rem; margin-top: 0.8rem; line-height: 1;
}
.offer-note {
  font-size: 0.74rem; letter-spacing: 0.1em; color: var(--muted);
  margin: 0.5rem 0 1.8rem;
}
.offer ul { list-style: none; margin-bottom: 2rem; }
.offer li { padding: 0.5rem 0; font-size: 0.97rem; border-bottom: 1px solid rgba(62, 54, 64, 0.06); }
.offer li:last-child { border-bottom: none; }
.link-soon {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.26em;
  color: var(--muted);
  border-bottom: 1px solid var(--hairline); padding-bottom: 0.3rem;
}

/* faq — filets fins */
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item:first-of-type { border-top: 1px solid var(--hairline); }
.faq-item summary {
  cursor: pointer; font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem; list-style: none; position: relative;
  padding: 1.4rem 2.4rem 1.4rem 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0.2rem; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 1.4rem; font-weight: 300; transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 0 1.5rem; font-size: 0.98rem; max-width: 54em; }

/* invitation finale */
#final { text-align: center; }
.center-block { display: flex; flex-direction: column; align-items: center; gap: 1.8rem; }
.final-script { font-size: clamp(2.6rem, 6vw, 4rem); color: var(--rose-deep); line-height: 1.2; }

/* footer minimal */
footer {
  background: var(--cream);
  border-top: 1px solid var(--hairline);
  text-align: center; padding: 3.4rem 1.5rem 2.6rem;
}
.foot-logo { font-family: "Great Vibes", cursive; font-size: 2rem; margin-bottom: 0.5rem; color: var(--rose-deep); }
.foot-line { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.foot-legal { font-size: 0.68rem; letter-spacing: 0.06em; color: var(--muted); opacity: 0.7; margin-top: 1.3rem; }

/* petals canvas */
#petals { position: fixed; inset: 0; pointer-events: none; z-index: 40; }

/* reveals */
.reveal { opacity: 0; transform: translateY(26px); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 600px) {
  /* barre du haut : on garde logo + icône « Mon espace », le CTA texte
     déborderait — les boutons du contenu prennent le relais */
  .hero-top-right .btn-hero-top:not(.icon-only),
  .nav-right .btn-nav:not(.icon-only) { display: none; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .ed-cols { grid-template-columns: 1fr; }
  .steps-min { grid-template-columns: 1fr; gap: 2.4rem; }
  .offers { grid-template-columns: 1fr; }
  .offer { padding-right: 0; }
  .offer-signature {
    border-left: none; padding-left: 0;
    border-top: 1px solid var(--hairline);
    margin-top: 2.6rem; padding-top: 2.6rem;
  }
  .ed-list li { grid-template-columns: 3.4rem 1fr; }
  #cine { height: 280vh; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
