/* =========================================================
   MAISON LUMACI · ÉNERGIE — Édition Luxe & Élégance
   Page autonome — styles scopés sous .mle
   ========================================================= */
/* Les polices sont chargées via <link> dans le <head> (plus performant que @import). */

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; }

.mle {
  --cream: #F4EFEA;
  --cream-hi: #FCFAF8;
  --card: #F9F6F0;
  --ink: #1C1917;
  --ink-soft: #5C544D;
  --espresso: #181411;
  --espresso-2: #0C0A08;
  --gold: #C2A67A;
  --gold-deep: #A38757;
  --line: rgba(28, 25, 23, 0.08);
  --line-gold: rgba(194, 166, 122, 0.35);
  --max: 1160px;

  position: relative;
  background: radial-gradient(1200px 600px at 50% 0%, var(--cream-hi), transparent 70%), var(--cream);
  color: var(--ink);
  font-family: 'Jost', -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mle * { box-sizing: border-box; margin: 0; padding: 0; }
.mle .wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.mle img { max-width: 100%; height: auto; }

/* ---- Typographie ---- */
.mle h1, .mle h2, .mle h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink)!important;
  text-wrap: balance;
}
.mle h1 em, .mle h2 em { font-weight: 300; font-style: italic; color: var(--gold-deep); }
.mle p { color: var(--ink-soft)!important; }
.mle strong { color: var(--ink); font-weight: 400; }

.mle .eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  display: inline-block;
  margin-bottom: 24px;
}

/* ---- Header Fixe (Verre dépoli sombre) ---- */
.mle-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 9999;
  padding: 16px 0;
  background: rgba(12, 10, 8, var(--header-opacity, 0.7));
  backdrop-filter: blur(var(--header-blur, 16px)); -webkit-backdrop-filter: blur(var(--header-blur, 16px));
  border-bottom: 1px solid rgba(194, 166, 122, 0.15);
  transition: padding 0.4s ease;
  -webkit-transform: translateZ(0);
}
.mle-header .wrap { display: flex; align-items: center; justify-content: space-between; max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.mle-logo img { height: 52px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.mle-nav { display: flex; gap: 40px; align-items: center; }
.mle-nav a {
  text-decoration: none !important;
  color: rgba(252, 250, 248, 0.7) !important;
  font-size: 12px; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase;
  transition: color 0.4s ease, transform 0.4s ease;
}
.mle-nav a:hover { color: var(--gold) !important; transform: translateY(-1px); }

.mle-header .btn-header-book {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Jost', sans-serif; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; font-size: 12px;
  color: rgba(252, 250, 248, 0.9) !important; text-decoration: none !important;
  transition: color 0.4s ease, transform 0.4s ease;
}
.mle-header .btn-header-book svg { width: 18px; height: 18px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.mle-header .btn-header-book:hover { color: var(--gold) !important; transform: translateY(-1px); }

/* ---- Boutons Couture ---- */
.mle .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; text-align: center;
  font-family: 'Jost', sans-serif; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; font-size: 12px;
  padding: 18px 40px; border-radius: 0;
  text-decoration: none !important; cursor: pointer;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid transparent;
}
.mle .btn-dark {
  background: var(--espresso); color: var(--cream-hi)!important;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
}
.mle .btn-dark:hover { background: var(--espresso-2); border-color: var(--gold); color: var(--gold)!important; }
.mle .btn-light {
  background: var(--cream-hi); color: var(--espresso)!important; border-color: var(--cream-hi);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
}
.mle .btn-light:hover { background: transparent; border-color: var(--cream-hi); color: var(--cream-hi)!important; }
.mle .btn-ghost-light { background: transparent; color: var(--cream-hi)!important; border-color: rgba(252,250,248,0.3); }
.mle .btn-ghost-light:hover { border-color: var(--gold); color: var(--gold)!important; }

/* ---- Animations ---- */
.mle .reveal { opacity: 0; transform: translateY(24px); animation: mleUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.mle .d1 { animation-delay: 0.1s; } .mle .d2 { animation-delay: 0.3s; } .mle .d3 { animation-delay: 0.5s; } .mle .d4 { animation-delay: 0.7s; }
@keyframes mleUp { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mle .reveal { opacity: 1; transform: none; animation: none; } html { scroll-behavior: auto; } }

/* ---------- HERO ---------- */
.mle .hero { padding: 180px 0 100px; position: relative; overflow: hidden; }
.mle .hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-position: center; background-size: cover; background-attachment: fixed;
  z-index: 1; filter: brightness(0.9);
}
.mle .hero-auras { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; z-index: 2; }
.mle .aura-1 { position: absolute; top: -10%; left: 15%; width: 50%; height: 70%; background: radial-gradient(circle, rgba(194, 166, 122, 0.18) 0%, transparent 65%); filter: blur(60px); animation: auraFloat 10s infinite alternate; }
@keyframes auraFloat { to { transform: translate(4%, 8%) scale(1.15); } }

.mle .hero-card {
  position: relative; z-index: 3; border-radius: 2px; padding: 100px 48px; text-align: center;
  background: rgba(252, 250, 248, var(--hero-opacity, 0.72));
  backdrop-filter: blur(var(--hero-blur, 3px)); -webkit-backdrop-filter: blur(var(--hero-blur, 3px));
  border: 1px solid var(--line-gold);
  box-shadow: 0 40px 100px -20px rgba(28, 25, 23, 0.15);
  -webkit-transform: translateZ(0);
}

.mle .emblem-container { display: flex; align-items: center; justify-content: center; position: relative; margin: 0 auto 24px; height: 78px; width: 78px; }
.mle .emblem-ring { position: absolute; width: 78px; height: 78px; border: 1px dashed var(--line-gold); border-radius: 50%; animation: spinSlow 30s linear infinite; }
.mle .emblem { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-gold); background: rgba(252, 250, 248, 0.5); display: grid; place-items: center; color: var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 20px; margin: 0!important; animation: pulseGlow 4s infinite alternate; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes pulseGlow { 0% { box-shadow: 0 0 10px rgba(194,166,122,0); } 100% { box-shadow: 0 0 20px rgba(194,166,122,0.4); } }

.mle .hero-card h1 { font-size: clamp(42px, 6vw, 76px); max-width: 20ch; margin: 0 auto 28px; }
.mle .hero-card p { font-size: 19px; max-width: 50ch; margin: 0 auto 48px; color: var(--ink-soft)!important; }
.mle .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }

/* ---- CADEAU BIENVENUE ---- */
.mle .welcome-gift {
  position: relative; z-index: 10; margin: -50px auto 60px; max-width: 900px;
  background: rgba(252, 250, 248, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-gold); padding: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  box-shadow: 0 30px 60px -15px rgba(28, 25, 23, 0.08);
  -webkit-transform: translateZ(0);
}
.mle .gift-content { flex: 1; }
.mle .gift-tag { background: var(--gold); color: var(--espresso); font-size: 11px; font-weight: 500; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; margin-bottom: 12px; display: inline-block; }
.mle .welcome-gift h3 { font-size: 32px; margin-bottom: 12px; }
.mle .welcome-gift p { font-size: 16px; margin: 0; }

/* Cadeau de bienvenue — cadre repris exactement de la page d'accueil (bloc app sombre) */
.mle .dark-section .welcome-gift {
  position: static; margin: 0; max-width: none; padding: 26px 28px; gap: 14px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: rgba(252, 250, 248, 0.05); border: 1px solid var(--line-gold);
  backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none;
}
.mle .dark-section .gift-tag { background: var(--gold); color: var(--espresso); font-size: 10px; letter-spacing: 0.15em; font-weight: 500; padding: 6px 13px; border-radius: 20px; text-transform: uppercase; white-space: nowrap; flex: none; margin: 2px 0 0; display: inline-block; }
.mle .dark-section .welcome-gift .gift-body strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 23px; color: var(--cream-hi); margin-bottom: 4px; font-weight: 500; }
.mle .dark-section .welcome-gift .gift-body p { font-size: 14px; margin: 0; color: rgba(252, 250, 248, 0.72); }

/* ---- SECTIONS COMMUNES ---- */
.mle section { padding: 100px 0; position: relative; }
.mle .head { max-width: 65ch; margin: 0 auto 70px; text-align: center; }
.mle .head h2 { font-size: clamp(34px, 4.5vw, 54px); margin-bottom: 20px; }
.mle .head p { font-size: 18.5px; }

/* ---- CONCEPT (Trio) ---- */
.mle .trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.mle .tile {
  background: var(--card); border: 1px solid var(--line); padding: 50px 40px; text-align: center;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mle .tile:hover { transform: translateY(-10px); border-color: var(--gold); box-shadow: 0 20px 40px -20px rgba(194, 166, 122, 0.2); }
.mle .tile svg { width: 32px; height: 32px; stroke: var(--gold-deep); fill: none; stroke-width: 1.2; margin-bottom: 24px; }
.mle .tile h3 { font-size: 26px; margin-bottom: 12px; }
.mle .tile p { font-size: 16px; }

/* ---- ÉTAPES (Pas à pas) ---- */
.mle .steps { max-width: 740px; margin: 0 auto; position: relative; }
.mle .step { display: flex; gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.mle .step:last-child { border-bottom: none; }
.mle .step .num {
  flex: none; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%;
  font-family: 'Cormorant Garamond', serif; font-size: 28px; color: var(--gold-deep);
  border: 1px solid var(--line-gold); background: var(--cream-hi);
}
.mle .step h3 { font-size: 24px; margin-bottom: 8px; }
.mle .step p { font-size: 16px; }

/* ---- LES SOINS (Tarifs / Écrin) ---- */
.mle .offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: center; }
.mle .offer-card {
  background: var(--card); border: 1px solid var(--line); padding: 50px 40px;
  display: flex; flex-direction: column; height: 100%; transition: 0.5s;
}
.mle .offer-card:hover { border-color: var(--gold); }
.mle .offer-card .meta { font-family: 'Jost'; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 16px; display: block; }
.mle .offer-card h3 { font-size: 28px; margin-bottom: 16px; }
.mle .offer-card .price { font-family: 'Cormorant Garamond', serif; font-size: 42px; color: var(--gold-deep); margin-bottom: 32px; line-height: 1; }
.mle .offer-list { list-style: none; margin-bottom: 40px; flex-grow: 1; }
.mle .offer-list li { font-size: 15px; margin-bottom: 16px; padding-left: 28px; position: relative; color: var(--ink-soft); }
.mle .offer-list li::before { content: "✦"; position: absolute; left: 0; top: 2px; color: var(--gold); font-size: 12px; }
/* Élément de liste vide : on masque la ligne (et donc sa puce) */
.mle .offer-list li:empty { display: none; }

/* Carte Signature VIP */
.mle .offer-card.signature {
  background: linear-gradient(160deg, var(--espresso) 0%, var(--espresso-2) 100%);
  border: 1px solid var(--gold); color: var(--cream-hi);
  transform: scale(1.05); padding: 60px 30px; box-shadow: 0 40px 80px -20px rgba(0,0,0,0.4);
  z-index: 2;
}
.mle .offer-card.signature h3, .mle .offer-card.signature .price { color: var(--cream-hi)!important; }
.mle .offer-card.signature .price { color: var(--gold)!important; }
.mle .offer-card.signature .offer-list li { color: rgba(252,250,248,0.8); }
.mle .offer-card.signature .btn { width: 100%; }

/* ---- APPLICATION (Bande Sombre) ---- */
.mle .dark-section {
  background: var(--espresso-2); color: var(--cream-hi);
  border-top: 1px solid rgba(194,166,122,0.2); border-bottom: 1px solid rgba(194,166,122,0.2);
}
.mle .dark-section h2, .mle .dark-section h3 { color: var(--cream-hi)!important; }
.mle .dark-section p { color: rgba(252,250,248,0.7)!important; }
.mle .app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.mle .app-phones { display: flex; gap: 24px; justify-content: center; position: relative; }
.mle .app-phones img {
  width: 48%; max-width: 240px; height: auto; border-radius: 32px;
  border: 4px solid var(--espresso); box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}
.mle .app-phones img:nth-child(2) { margin-top: 60px; }

/* ---- PORTRAIT / BIO ---- */
.mle .bio { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: center; }
.mle .portrait {
  aspect-ratio: 3/4;
  background-color: var(--card);
  background-size: cover; background-position: center;
  position: relative;
}
.mle .portrait::after {
  content: ""; position: absolute; top: 20px; left: -20px; right: 20px; bottom: -20px;
  border: 1px solid var(--gold); z-index: -1;
}

/* ---- TÉMOIGNAGES ---- */
.mle .quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mle .quote { background: var(--card); border: 1px solid var(--line); padding: 40px 32px; position: relative; }
.mle .quote .mark { font-family: 'Cormorant Garamond', serif; font-size: 64px; color: var(--gold); line-height: 0.5; }
.mle .quote p { font-style: italic; font-size: 17px; margin: 16px 0 24px; font-family: 'Cormorant Garamond', serif; color: var(--ink)!important; }
.mle .quote .who { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-deep); }

/* ---- FAQ ---- */
.mle .faq { max-width: 760px; margin: 0 auto; }
.mle details { border-bottom: 1px solid var(--line); }
.mle summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-family: 'Cormorant Garamond', serif; font-size: 24px; color: var(--ink)!important;
}
.mle summary::-webkit-details-marker { display: none; }
.mle summary::after { content: "+"; position: absolute; right: 0; top: 24px; font-size: 26px; color: var(--gold-deep); transition: 0.3s; font-family: 'Jost', sans-serif; }
.mle details[open] summary::after { transform: rotate(45deg); }
.mle details p { font-size: 16px; padding: 0 0 24px; }

/* ---- RESPONSIVE ---- */
@media(max-width: 992px) {
  .mle-header { padding: 12px 0; }
  .mle-logo img { height: 44px; width: auto; }
  .mle-nav { display: none; }
  .mle-header .wrap { justify-content: space-between; }

  .mle-header .btn-header-book span { display: none; }
  .mle-header .btn-header-book svg { width: 22px; height: 22px; color: var(--gold); }

  .mle .hero { padding: 140px 0 60px; }

  .mle .hero-bg { background-attachment: scroll; background-position: center; }

  .mle .hero-card { padding: 60px 24px; }
  .mle .welcome-gift { flex-direction: column; text-align: center; padding: 40px 24px; margin: -30px 20px 60px; gap: 24px; }

  .mle .offers, .mle .trio, .mle .quotes { grid-template-columns: 1fr; gap: 32px; }
  .mle .offer-card.signature { transform: none; padding: 50px 40px; }
  .mle .app-grid, .mle .bio { grid-template-columns: 1fr; gap: 60px; }
  .mle .app-phones { order: -1; }
  .mle .actions { flex-direction: column; width: 100%; }
  .mle .actions .btn { width: 100%; margin: 12px 0 0!important; }
}
