/* LVEB — design tokens & shared components (premium clair) */

:root {
  /* Backgrounds clairs */
  --bg-base:       #FFFCF7;  /* Fond page blanc chaud / ivoire */
  --bg-card:       #FFFFFF;  /* Cartes blanc pur */
  --bg-card-2:     #FAF7F0;  /* Variante crème douce */
  --bg-elevated:   #F5EFE3;  /* Beige sable pour éléments en surbrillance */

  /* Texts */
  --ink:           #1A1A1A;  /* Noir charbon — texte principal */
  --ivory:         #1A1A1A;  /* alias compat (anciennement ivory pour texte) */
  --muted:         #6B6B6B;  /* Texte secondaire */
  --muted-2:       #9A9A9A;  /* Texte tertiaire */

  /* Accent JAUNE (couleur lumière) */
  --red:           #FBD64A;        /* jaune principal — couleur lumière */
  --red-deep:      #E0B82C;        /* jaune profond pour hover */
  --red-soft:      rgba(251, 214, 74, 0.18);

  /* Bleu nuit (couleur premium secondaire) */
  --blue:          #1B2845;
  --blue-deep:     #0F1A2E;

  /* Lines / borders */
  --line:          rgba(26, 26, 26, 0.08);
  --line-strong:   rgba(26, 26, 26, 0.18);

  /* Shadows premium clair */
  --shadow-soft:   0 30px 80px -20px rgba(26, 26, 26, 0.12),
                   0 10px 30px -10px rgba(26, 26, 26, 0.06);
  --shadow-card:   0 1px 0 rgba(26, 26, 26, 0.03),
                   0 12px 32px -16px rgba(26, 26, 26, 0.10);

  /* Legacy aliases */
  --cream:         var(--bg-card);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; background: var(--bg-base); }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 6rem;
}

/* Ambient — fond ivoire avec halos jaune dorés très discrets */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 85% -5%, rgba(251, 214, 74, 0.15), transparent 60%),
    radial-gradient(ellipse 45% 40% at -10% 110%, rgba(27, 40, 69, 0.06), transparent 60%),
    var(--bg-base);
}
.ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(26, 26, 26, 0.025) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
}

/* Typography helpers */
.font-display { font-family: 'Playfair Display', Georgia, serif; }
.font-hand    { font-family: 'Caveat', cursive; }

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.01em;
  color: var(--ink);
}
em, h1 em, h2 em, h3 em, p em {
  font-style: normal;
  font-weight: 600;
  color: var(--red-deep);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Bouton principal = JAUNE MIEL + texte noir charbon */
.btn-primary {
  background: var(--red);
  color: var(--ink);
  box-shadow: 0 8px 24px -8px rgba(251, 214, 74, 0.5);
}
.btn-primary:hover {
  background: var(--red-deep);
  color: var(--ink);
  box-shadow: 0 12px 28px -8px rgba(251, 214, 74, 0.7);
}

/* Bouton secondaire = transparent avec bordure charbon */
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover { background: var(--bg-card); border-color: rgba(26, 26, 26, 0.35); }

/* Bouton premium = bleu nuit + texte blanc (pour CTAs B2B notamment) */
.btn-blue {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 8px 24px -8px rgba(27, 40, 69, 0.45);
}
.btn-blue:hover { background: var(--blue-deep); color: #ffffff; }

/* Ancien btn-yellow recyclé en alias btn-ivory */
.btn-yellow { background: var(--red); color: var(--ink); }
.btn-yellow:hover { background: var(--red-deep); }
.btn-ivory {
  background: var(--bg-card);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ivory:hover { background: var(--bg-card-2); }

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-card);
  color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  background: var(--bg-card);
  box-shadow: 0 24px 48px -24px rgba(26, 26, 26, 0.18);
  border-color: var(--line-strong);
}

/* Pricing card "featured" accent */
.card-featured {
  position: relative;
  border-color: rgba(251, 214, 74, 0.55);
  box-shadow: 0 24px 48px -24px rgba(251, 214, 74, 0.35);
}
.card-featured::before {
  content: "Recommandé";
  position: absolute;
  top: -0.7rem; left: 1.25rem;
  background: var(--red);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

/* Eyebrow / label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-deep);
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--red-deep);
}

/* Status pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(251, 214, 74, 0.30);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(251, 214, 74, 0.30); }
  50%      { box-shadow: 0 0 0 8px rgba(251, 214, 74, 0); }
}

/* Header / nav — pill flottante FIXÉE, fond ivoire avec glow doré subtil */
.site-header {
  position: fixed;
  top: 1rem;
  left: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  z-index: 50;
  border-radius: 999px;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFCF7 50%, #FAF7F0 100%);
  border: 1px solid rgba(251, 214, 74, 0.40);
  box-shadow:
    0 0 30px rgba(251, 214, 74, 0.18),
    0 0 60px rgba(251, 214, 74, 0.08),
    0 8px 32px rgba(26, 26, 26, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: box-shadow .3s ease, transform .3s ease;
}
.site-header > .container {
  padding-inline: clamp(1rem, 3vw, 1.75rem);
}
.site-header:hover {
  box-shadow:
    0 0 45px rgba(251, 214, 74, 0.30),
    0 0 90px rgba(251, 214, 74, 0.12),
    0 8px 32px rgba(26, 26, 26, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
@media (max-width: 767px) {
  .site-header {
    top: 0.5rem;
    left: 0.75rem;
    right: 0.75rem;
  }
  body { padding-top: 5rem; }
}

.nav-link {
  position: relative;
  padding: 0.4rem 0.1rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }

/* Mobile menu */
.nav-mobile {
  position: fixed !important;
  top: 64px !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  background: var(--bg-base) !important;
  padding: 2rem 1.5rem !important;
  gap: 1.25rem !important;
  transform: translateY(-110vh) !important;
  transition: transform .3s ease !important;
  z-index: 49 !important;
}
.nav-mobile.is-open { transform: translateY(0) !important; }
.nav-mobile .nav-link { font-size: 1.4rem; font-family: 'Playfair Display', serif; }
@media (min-width: 768px) {
  .nav-mobile { display: none !important; }
}

/* Footer */
.site-footer {
  margin-top: 6rem;
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--red-deep); }

/* Section accent dividers */
.divider-wave {
  display: block;
  height: 32px;
  background: radial-gradient(circle at 20% 50%, var(--red) 2px, transparent 3px),
              radial-gradient(circle at 80% 50%, var(--red) 2px, transparent 3px);
  background-size: 16px 16px;
  opacity: 0.5;
}

/* Form */
.input, .textarea, select.input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.75rem;
  background: var(--bg-card);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:focus, .textarea:focus, select.input:focus {
  outline: none;
  border-color: var(--red);
  background: var(--bg-card);
  box-shadow: 0 0 0 4px rgba(251, 214, 74, 0.22);
}
.textarea { min-height: 140px; resize: vertical; }
.label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

/* Tag */
.tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag-red { background: var(--red-soft); color: var(--red-deep); }
.tag-ink { background: rgba(26, 26, 26, 0.06); color: var(--ink); }

/* Big number bullets (method steps) */
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--red-deep);
  line-height: 1;
}

/* Animations on scroll-in */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .pill-dot { animation: none; }
}

/* Container */
.container { max-width: 1180px; margin: 0 auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.container-narrow { max-width: 820px; margin: 0 auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

/* FAQ details/summary */
.faq-item summary { outline: none; }
.faq-item summary::-webkit-details-marker,
.faq-item summary::marker { display: none; content: ""; }
.faq-item[open] { border-color: rgba(251, 214, 74, 0.55); }
.faq-item summary:focus-visible { box-shadow: 0 0 0 3px rgba(251, 214, 74, 0.35); border-radius: 0.75rem; }

/* Utility */
.muted { color: var(--muted); }
.price { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 600; color: var(--ink); }
.price small { font-size: 0.85rem; font-family: 'Inter', sans-serif; font-weight: 500; color: var(--muted); margin-left: 0.3rem; }

/* === Nouveaux blocs spécifiques au plan d'action Sandrine === */

/* Bloc "Ce que tu obtiens" — fond jaune doux */
.bloc-obtient {
  background: linear-gradient(135deg, rgba(251, 214, 74, 0.15) 0%, rgba(245, 239, 227, 0.5) 100%);
  border: 1px solid rgba(251, 214, 74, 0.30);
  border-radius: 1.5rem;
  padding: 2rem 2.5rem;
}
.bloc-obtient h2, .bloc-obtient h3 { color: var(--ink); }

/* Bloc "Ce que je ne fais pas" — fond bleu nuit pour contraste premium */
.bloc-nefaispas {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #FFFCF7;
  border-radius: 1.5rem;
  padding: 2rem 2.5rem;
}
.bloc-nefaispas h2, .bloc-nefaispas h3 { color: #FFFCF7; }
.bloc-nefaispas em { color: #FBD64A; }

/* Cadre photo lumineux */
.photo-frame {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 1rem;
  box-shadow: var(--shadow-card);
}
.photo-frame-yellow {
  background: linear-gradient(135deg, #FFFCF7 0%, rgba(251, 214, 74, 0.18) 100%);
  border: 1px solid rgba(251, 214, 74, 0.35);
}
