/* ══════════════════════════════════════
   STYLE GLOBAL — Pour Lucie 🌿
══════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --moss:   #4a5e4a;
  --sage:   #7a9e7e;
  --mint:   #b8d4b8;
  --cream:  #f5f0e8;
  --sand:   #e8dfc8;
  --bark:   #6b5c44;
  --petal:  #d4a5a5;
  --ink:    #2c2c2c;
  --muted:  #8a8278;
  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Jost', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* ── CURSOR ── */
.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--sage);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s;
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid var(--sage);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: left 0.08s ease, top 0.08s ease;
  opacity: 0.5;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245,240,232,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--sand);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
  height: 62px;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--moss);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: 0.5rem 1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--moss); border-bottom-color: var(--sage); }
.nav-burger {
  display: none;
  background: none; border: none;
  font-size: 1.4rem; cursor: pointer; color: var(--moss);
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--moss);
  padding: clamp(3.5rem, 8vw, 6rem) clamp(2rem, 6vw, 7rem);
  position: relative; overflow: hidden;
}
.page-header-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(184,212,184,0.18) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(107,92,68,0.25) 0%, transparent 50%);
  pointer-events: none;
}
.page-header-deco {
  position: absolute; font-size: 10rem; opacity: 0.06;
  right: 3rem; top: 50%; transform: translateY(-50%);
  pointer-events: none;
}
.page-header-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 0.8rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.page-header-eyebrow::before {
  content: ''; display: inline-block;
  width: 28px; height: 1px; background: var(--mint);
}
.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  position: relative;
}
.page-header h1 em { font-style: italic; color: var(--petal); }
.page-header-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: rgba(245,240,232,0.6);
  margin-top: 0.8rem;
  position: relative;
}

/* ── MAIN CONTENT ── */
.main-content {
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 6vw, 7rem);
}

/* ── SECTION LABEL ── */
.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.6rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.section-label::after {
  content: ''; flex: 1; height: 1px;
  background: var(--sand); max-width: 60px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300; line-height: 1.15;
  margin-bottom: 0.8rem; color: var(--moss);
}
.section-title em { font-style: italic; color: var(--bark); }
.section-intro {
  font-size: 0.9rem; color: var(--muted);
  max-width: 55ch; line-height: 1.8;
  margin-bottom: 3rem;
}

/* ── BUTTONS ── */
.btn-primary {
  font-family: var(--sans);
  font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; text-decoration: none;
  background: var(--moss); color: var(--cream);
  padding: 0.75rem 1.8rem;
  transition: background 0.25s, transform 0.2s;
  display: inline-block; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--bark); transform: translateY(-2px); }
.btn-ghost {
  font-family: var(--sans);
  font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--sage); color: var(--sage);
  padding: 0.75rem 1.8rem;
  transition: background 0.25s, color 0.25s, transform 0.2s;
  display: inline-block; background: none; cursor: pointer;
}
.btn-ghost:hover { background: var(--sage); color: var(--cream); transform: translateY(-2px); }

/* ── MODAL ── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(15,14,13,0.72);
  z-index: 500; align-items: center; justify-content: center;
  backdrop-filter: blur(5px);
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--cream);
  max-width: 560px; width: 92%;
  padding: 3rem; position: relative;
  animation: riseIn 0.35s ease;
  max-height: 88vh; overflow-y: auto;
}
.modal-close {
  position: absolute; top: 1rem; right: 1.2rem;
  font-size: 1.4rem; background: none; border: none;
  cursor: pointer; color: var(--muted);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── FOOTER ── */
footer {
  background: var(--ink); color: var(--muted);
  text-align: center; padding: 2.2rem;
  font-size: 0.72rem; letter-spacing: 0.08em;
}
footer a { color: var(--sage); text-decoration: none; }

/* ── ANIMATIONS ── */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14%       { transform: scale(1.22); }
  28%       { transform: scale(1); }
  42%       { transform: scale(1.1); }
  70%       { transform: scale(1); }
}

/* ── BOUTON MUSIQUE FLOTTANT ── */
.music-btn {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 200;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--moss);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(74,94,74,0.4);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.music-btn:hover {
  transform: scale(1.12);
  background: var(--bark);
  box-shadow: 0 10px 32px rgba(74,94,74,0.5);
}
.music-btn span { font-size: 1.5rem; }

/* Petit tooltip au survol */
.music-btn::before {
  content: 'This Love — Maroon 5';
  position: absolute;
  right: 68px; bottom: 50%;
  transform: translateY(50%);
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  padding: 0.45rem 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.music-btn:hover::before { opacity: 1; }

/* Animation pulsation */
@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(74,94,74,0.4); }
  50%       { box-shadow: 0 6px 32px rgba(74,94,74,0.7), 0 0 0 8px rgba(74,94,74,0.1); }
}
.music-btn { animation: pulse 2.5s ease-in-out infinite; }
.music-btn:hover { animation: none; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute;
    top: 62px; left: 0; right: 0; background: var(--cream);
    border-bottom: 1px solid var(--sand); padding: 1rem 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.8rem 2rem; border-bottom: none; }
  .nav-burger { display: block; }
}
