/* ============================================================
   Luméa — système visuel
   Palette échantillonnée depuis l'app (crème / espresso / terracotta / or / sauge / blush)
   Typo : Playfair Display (titrage) + Nunito (texte)
   ============================================================ */

:root {
  --cream:        #F8F1E9;
  --cream-raised: #FCF7F1;
  --espresso:     #2C2129;
  --espresso-80:  #4A3B42;
  --terracotta:   #BD6A4C;
  --terracotta-d: #A5522F;
  --gold:         #EEC982;
  --gold-soft:    #F5DEA9;
  --sage:         #E7E2DE;
  --sage-line:    #DED7CE;
  --blush:        #F6EADE;
  --muted:        #8A7970;

  --ff-display: "Playfair Display", Georgia, serif;
  --ff-body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1080px;
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --shadow-soft: 0 24px 60px -32px rgba(44, 33, 41, .35);
  --shadow-card: 0 12px 34px -22px rgba(44, 33, 41, .28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--ff-display); font-weight: 800; line-height: 1.08; margin: 0; }

a { color: var(--terracotta); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--terracotta-d); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--ff-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 18px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 241, 233, .82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--sage-line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--ff-display); font-weight: 800; font-size: 25px;
  color: var(--espresso); letter-spacing: .01em;
}
.brand__mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--espresso); color: var(--cream);
  display: grid; place-items: center;
  font-size: 17px; font-weight: 800; padding-bottom: 2px;
}
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a {
  font-weight: 700; font-size: 15px; color: var(--espresso-80);
}
.nav__links a:hover { color: var(--terracotta); }

/* ---------- Hero (le "moment affirmation") ---------- */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 96px 0 108px;
  background:
    radial-gradient(120% 92% at 50% 118%, var(--gold-soft) 0%, rgba(245,222,169,0) 46%),
    radial-gradient(90% 70% at 50% 6%, #EFE6F0 0%, rgba(239,230,240,0) 55%),
    linear-gradient(180deg, #F4EDF0 0%, var(--blush) 40%, #F9EFE3 74%, var(--cream) 100%);
}
.hero__glow {
  position: absolute; left: 50%; bottom: -34%;
  width: 760px; height: 760px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(238,201,130,.55) 0%, rgba(238,201,130,0) 62%);
  filter: blur(6px);
  animation: breathe 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes breathe {
  0%,100% { opacity: .75; transform: translateX(-50%) scale(1); }
  50%     { opacity: 1;   transform: translateX(-50%) scale(1.08); }
}
.hero__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }

.affirmation {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--espresso);
  min-height: 2.3em;
  transition: opacity .8s ease;
}
.affirmation.is-fading { opacity: 0; }

.hero__icons {
  display: flex; justify-content: center; gap: 26px;
  margin: 34px 0 8px; color: var(--espresso);
}
.hero__icons svg { width: 26px; height: 26px; opacity: .8; }

.hero__sub {
  max-width: 500px; margin: 22px auto 0;
  color: var(--espresso-80); font-size: 18px; font-weight: 600;
}

.storepill {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 34px;
  background: var(--espresso); color: var(--cream);
  padding: 14px 26px; border-radius: 100px;
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  box-shadow: var(--shadow-soft);
}
.storepill svg { width: 18px; height: 18px; }
.storepill span.soon {
  color: var(--gold); font-weight: 800; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase;
}

/* ---------- Section générique ---------- */
.section { padding: 92px 0; }
.section--sage { background: linear-gradient(180deg, var(--cream) 0%, #F1ECE4 100%); }
.section__head { max-width: 620px; margin: 0 auto 54px; text-align: center; }
.section__head h2 { font-size: clamp(28px, 4vw, 40px); }
.section__head p { color: var(--muted); font-weight: 600; margin: 16px 0 0; }

/* ---------- Grille "Pour toi" ---------- */
.themes {
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
.theme {
  background: var(--cream-raised);
  border: 1px solid var(--sage-line);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}
.theme:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(44,33,41,.4); }
.theme__icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--blush); color: var(--terracotta);
  display: grid; place-items: center; margin-bottom: 18px;
}
.theme__icon svg { width: 25px; height: 25px; }
.theme h3 { font-size: 22px; margin-bottom: 6px; }
.theme p { margin: 0; color: var(--muted); font-weight: 600; font-size: 15.5px; }

/* ---------- Rituel (echo notifications) ---------- */
.ritual {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.ritual__copy h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 18px; }
.ritual__copy p { color: var(--espresso-80); font-weight: 600; margin: 0 0 16px; }
.ritual__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ritual__list li { display: flex; gap: 13px; align-items: flex-start; font-weight: 600; color: var(--espresso-80); }
.ritual__list .dot {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); color: var(--espresso);
  display: grid; place-items: center; margin-top: 1px;
}
.ritual__list .dot svg { width: 13px; height: 13px; }

.phone {
  justify-self: center;
  width: 300px; max-width: 100%;
  background: var(--espresso);
  border-radius: 42px;
  padding: 14px;
  box-shadow: var(--shadow-soft);
}
.phone__screen {
  background:
    radial-gradient(120% 60% at 50% 100%, var(--gold-soft) 0%, rgba(245,222,169,0) 55%),
    linear-gradient(180deg, #EFE7F0 0%, var(--blush) 55%, #F9EFE3 100%);
  border-radius: 30px;
  aspect-ratio: 9 / 17.5;
  padding: 30px 22px;
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  text-align: center;
}
.phone__eyebrow {
  font-weight: 800; font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--terracotta);
}
.phone__affirm {
  font-family: var(--ff-display); font-weight: 800; font-size: 25px; line-height: 1.16;
  color: var(--espresso);
}
.phone__toast {
  margin-top: auto;
  background: rgba(252, 247, 241, .72);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 16px; padding: 12px 14px; text-align: left;
  display: flex; gap: 10px; align-items: center;
  box-shadow: 0 10px 24px -18px rgba(44,33,41,.5);
}
.phone__toast .badge {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  background: var(--cream); color: var(--espresso);
  display: grid; place-items: center; font-family: var(--ff-display); font-weight: 800;
}
.phone__toast .t-body { font-size: 12.5px; line-height: 1.3; font-weight: 700; color: var(--espresso); }
.phone__toast .t-body small { display: block; font-weight: 700; color: var(--muted); font-size: 10px; margin-bottom: 2px; letter-spacing: .04em; }

/* ---------- Footer ---------- */
.footer {
  background: var(--espresso);
  color: var(--cream);
  padding: 60px 0 40px;
}
.footer__inner { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
.footer .brand { color: var(--cream); }
.footer .brand__mark { background: var(--cream); color: var(--espresso); }
.footer__tag { color: rgba(248,241,233,.6); font-weight: 600; margin: 14px 0 0; max-width: 280px; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col h4 { font-family: var(--ff-body); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; font-weight: 800; }
.footer__col a { display: block; color: rgba(248,241,233,.82); font-weight: 600; margin-bottom: 10px; }
.footer__col a:hover { color: var(--cream); }
.footer__bottom {
  margin-top: 46px; padding-top: 22px;
  border-top: 1px solid rgba(248,241,233,.14);
  color: rgba(248,241,233,.5); font-size: 13.5px; font-weight: 600;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
}

/* ============================================================
   Page confidentialité
   ============================================================ */
.legal { padding: 66px 0 90px; }
.legal__wrap { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 6vw, 52px); margin-bottom: 12px; }
.legal__meta { color: var(--muted); font-weight: 700; font-size: 14.5px; margin-bottom: 40px; }
.legal__note {
  background: var(--cream-raised); border: 1px solid var(--sage-line);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius-sm); padding: 18px 20px; margin: 0 0 44px;
  color: var(--espresso-80); font-weight: 600; font-size: 15px;
}
.legal h2 {
  font-size: 26px; margin: 46px 0 14px;
  padding-top: 10px;
}
.legal h2 .num { color: var(--terracotta); margin-right: 12px; font-size: 20px; }
.legal h3 { font-family: var(--ff-body); font-weight: 800; font-size: 17px; margin: 24px 0 8px; color: var(--espresso); }
.legal p { color: var(--espresso-80); margin: 0 0 16px; }
.legal ul { color: var(--espresso-80); padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 8px; }
.legal a { font-weight: 700; }
.legal strong { color: var(--espresso); font-weight: 800; }
.legal__contact {
  background: var(--cream-raised);
  border: 1px solid var(--sage-line);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}
.legal__contact p:last-child { margin-bottom: 0; }
.toc {
  background: var(--cream-raised); border: 1px solid var(--sage-line);
  border-radius: var(--radius-md); padding: 24px 26px; margin: 0 0 48px;
}
.toc h4 { margin: 0 0 12px; font-family: var(--ff-body); font-weight: 800; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta); }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 34px; }
.toc li { margin-bottom: 7px; font-weight: 600; }
.toc a { color: var(--espresso-80); }
.toc a:hover { color: var(--terracotta); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .themes { grid-template-columns: repeat(2, 1fr); }
  .ritual { grid-template-columns: 1fr; gap: 40px; }
  .ritual__copy { text-align: center; }
  .ritual__list { text-align: left; max-width: 380px; margin-left: auto; margin-right: auto; }
  .toc ol { columns: 1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav__links { gap: 13px; }
  .nav__links a { font-size: 13px; }
  .nav__links a:first-child { display: none; }
  .themes { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .hero { padding: 72px 0 84px; }
  .footer__cols { gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .affirmation.is-fading { opacity: 1; }
}
