/* ===== Rêv'eil-toi ===== */
:root {
  --blue: #3a5bdc;
  --blue-deep: #2c3fbf;
  --violet: #6a4fd0;
  --mauve: #b48be0;
  --pink: #e6b3e6;
  --ink: #1b1733;
  --white: #ffffff;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.45);
  --glass: rgba(255, 255, 255, 0.08);

  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --script: "Kaushan Script", cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--blue-deep);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }

/* ===== Ciel de fond (fixe) ===== */
.sky {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(42% 38% at 80% 64%, rgba(240, 160, 230, 0.85), transparent 70%),
    radial-gradient(30% 30% at 58% 30%, rgba(190, 130, 255, 0.55), transparent 70%),
    radial-gradient(45% 55% at 8% 22%, rgba(40, 110, 255, 0.9), transparent 70%),
    radial-gradient(50% 45% at 25% 95%, rgba(20, 30, 150, 0.7), transparent 70%),
    linear-gradient(120deg, #1f4be8 0%, #2a35c4 30%, #5a3fc8 62%, #a465c9 88%, #c983c8 100%);
}
.sky::after { /* léger grain */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}
.stars { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 230px 24px 80px;
}
.logo {
  position: absolute; top: 18px; left: 40px;
  display: flex; flex-direction: column; align-items: center;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}
.logo img { width: 230px; height: auto; opacity: .92; }
.logo-text {
  font-family: var(--script);
  font-size: 2.6rem; line-height: 1;
  margin-top: -18px;
  transform: rotate(-4deg);
}

.hero-inner { max-width: 1080px; width: 100%; text-align: center; }
.hero h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2.2rem, 5.6vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  text-shadow: 0 4px 30px rgba(30, 20, 90, 0.25);
}
.hero h1 .script {
  font-family: var(--script);
  font-weight: 400;
  font-size: 1.35em;
  letter-spacing: 0;
  display: inline-block;
  transform: translateY(-0.12em) rotate(-3deg);
}
.lead {
  margin: 44px auto 0;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--text);
}

.pills {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.pills a {
  display: block;
  padding: 16px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: var(--glass);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.85);
  transition: background .25s, border-color .25s, transform .25s;
}
.pills a:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.6); transform: translateY(-2px); }

/* ===== Boutons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 56px;
  padding: 20px 64px;
  border-radius: 999px;
  border: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(15, 10, 50, 0.35);
  transition: transform .25s, box-shadow .25s, background .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(15, 10, 50, 0.45); background: #241f45; }
.btn span { transition: transform .25s; }
.btn:hover span { transform: translateX(4px); }
.btn-wide { width: min(100%, 620px); border-radius: 14px; margin-top: 32px; }
.btn-block { width: 100%; margin-top: 8px; padding: 16px; border-radius: 10px; font-size: 1.05rem; }

.btn-light {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 52px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--violet);
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn-light:hover { background: var(--white); transform: translateY(-1px); }

/* ===== Sections ===== */
.section {
  padding: 110px 24px 120px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.rule {
  display: block;
  width: 72px; height: 3px;
  margin: 0 auto 36px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
}
.section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.01em;
}
.sub { margin-top: 18px; font-size: 1.25rem; }

/* Cartes */
.cards {
  margin: 70px auto 0;
  max-width: 820px;
  display: flex; flex-direction: column; gap: 28px;
  text-align: left;
}
.card {
  padding: 34px 40px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: rgba(40, 40, 170, 0.18);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: border-color .3s, background .3s, transform .3s;
}
.card:hover { border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.07); transform: translateY(-3px); }
.card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 12px;
}
.card p { font-size: 1.15rem; }

/* Texte centré */
.prose { max-width: 820px; margin: 56px auto 0; }
.prose p { font-size: clamp(1.05rem, 1.7vw, 1.3rem); margin-bottom: 28px; }
.prose p:last-child { margin-bottom: 0; }

/* Portrait */
.portrait {
  position: relative;
  width: 210px; height: 210px;
  margin: 40px auto 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 4px rgba(255,255,255,.15), 0 18px 40px rgba(20, 10, 70, .35);
  background: rgba(255,255,255,.12);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait-fallback { display: none; }
.portrait.empty .portrait-fallback {
  display: flex; align-items: center; justify-content: center;
  height: 100%; font-family: var(--serif); font-size: 1.3rem; color: var(--muted);
}

.signature {
  margin-top: 40px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.2;
  color: var(--white);
}
.signature span { display: block; font-size: .85em; margin-bottom: 6px; }

/* ===== Contact ===== */
.contact-grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 56px;
  text-align: left;
}
.col h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 28px;
}
.direct dt { font-size: .95rem; color: var(--muted); margin-top: 18px; }
.direct dd a { font-size: 1.15rem; color: var(--white); text-underline-offset: 4px; }

.form label { display: block; font-weight: 500; font-size: .98rem; margin-bottom: 16px; color: var(--white); }
.form label span { color: rgba(255,255,255,.7); }
.form input, .form textarea {
  display: block; width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  font: inherit; font-size: 1.02rem;
  resize: vertical;
  transition: border-color .2s, background .2s;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,.65); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--white); background: rgba(255,255,255,.08); }
.form-note { margin-top: 12px; font-size: .95rem; min-height: 1.2em; }

.sessions { list-style: none; border-top: 1px solid rgba(255,255,255,.25); }
.sessions li { padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.sessions h4 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; color: var(--white); margin-bottom: 6px; }
.sessions p { font-size: 1.1rem; line-height: 1.9; }

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  text-align: center;
  padding: 48px 24px;
  color: var(--muted);
  font-size: .95rem;
}
.footer-logo { width: 110px; height: auto; margin: 0 auto 12px; display: block; opacity: .9; }

/* ===== Apparition au scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .pills { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid .col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .logo { position: static; margin-bottom: 30px; }
  .logo img { width: 170px; }
  .hero { flex-direction: column; padding: 30px 16px 70px; }
  .lead br, .prose br { display: none; }
  .pills { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
  .btn { padding: 18px 28px; font-size: 1.02rem; width: 100%; }
  .section { padding: 80px 16px 90px; }
  .card { padding: 26px 22px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ===== Lisibilité renforcée ===== */
:root {
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.88);
}
body { text-shadow: 0 1px 12px rgba(20, 12, 80, 0.45), 0 1px 2px rgba(20, 12, 80, 0.35); }
.lead, .prose p, .card p, .sub, .sessions p, .direct dd a { font-weight: 500; }
.section h2, .hero h1, .card h3, .signature, .sessions h4 { text-shadow: 0 2px 18px rgba(20, 12, 80, 0.5); }
.card { background: rgba(25, 20, 110, 0.32); border-color: rgba(255, 255, 255, 0.55); }
.pills a { color: #fff; background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.4); }
.form input, .form textarea { background: rgba(25, 20, 110, 0.25); text-shadow: none; }
.form input::placeholder, .form textarea::placeholder { color: rgba(255, 255, 255, 0.78); }

/* Bouton du formulaire en verre, comme les boutons du haut */
.btn.btn-block {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: none;
  border-radius: 999px;
  font-weight: 600;
}
.btn.btn-block:hover { background: rgba(255, 255, 255, 0.22); border-color: rgba(255, 255, 255, 0.7); box-shadow: none; }
.btn.btn-block:disabled { opacity: .6; cursor: wait; }
.btn-light { text-shadow: none; }

/* ===== Découvrir les possibilités : chemin étoilé ===== */
.tagline {
  margin-top: 14px;
  font-family: var(--script);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: #ffe6fb;
  transform: rotate(-2deg);
}
.journey {
  --rail: 64px;
  position: relative;
  list-style: none;
  max-width: 960px;
  margin: 64px auto 0;
  display: grid;
  gap: 0;
  text-align: left;
}
/* le fil lumineux */
.journey::before {
  content: "";
  position: absolute; top: 10px; bottom: 10px; left: 50%;
  width: 2px; transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.75) 10%, rgba(255,210,245,.75) 90%, rgba(255,255,255,0));
  box-shadow: 0 0 12px rgba(255, 220, 250, .6);
}
/* petite lueur qui descend le long du fil */
.journey::after {
  content: "";
  position: absolute; left: 50%; top: 0;
  width: 8px; height: 90px; transform: translateX(-50%);
  border-radius: 8px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff, rgba(255,255,255,0));
  filter: blur(2px);
  animation: glide 7s ease-in-out infinite;
}
@keyframes glide { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: calc(100% - 90px); opacity: 0; } }

.step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr var(--rail) 1fr;
  align-items: center;
}
.step .node {
  grid-column: 2; grid-row: 1;
  justify-self: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 30%, rgba(255,215,250,.9) 45%, rgba(255,215,250,0) 72%);
  box-shadow: 0 0 18px 6px rgba(255, 210, 250, .55);
  animation: pulse 3.2s ease-in-out infinite;
}
.step:nth-child(2) .node { animation-delay: .6s; }
.step:nth-child(3) .node { animation-delay: 1.2s; }
.step:nth-child(4) .node { animation-delay: 1.8s; }
.step:nth-child(5) .node { animation-delay: 2.4s; }
@keyframes pulse { 50% { transform: scale(1.35); box-shadow: 0 0 26px 10px rgba(255, 210, 250, .7); } }

.step-card {
  grid-row: 1;
  display: flex; gap: 18px; align-items: flex-start;
  padding: 26px 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 40px rgba(20, 10, 90, .25);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  min-width: 0;
}
.step:nth-child(odd) .step-card { grid-column: 1; }
.step:nth-child(even) .step-card { grid-column: 3; }
.step:nth-child(odd) .step-card { transform: rotate(-.6deg); }
.step:nth-child(even) .step-card { transform: rotate(.6deg); }
.step:hover .step-card { transform: translateY(-4px) rotate(0); border-color: rgba(255,255,255,.75); box-shadow: 0 18px 50px rgba(20, 10, 90, .35), 0 0 30px rgba(255, 200, 245, .25); }

.step-icon {
  flex: none;
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.35), rgba(255,200,245,.12));
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
}
.step-icon svg { width: 26px; height: 26px; filter: drop-shadow(0 0 6px rgba(255,220,250,.7)); }
.step-card h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.15;
  color: #fff; margin-bottom: 8px;
  text-wrap: balance;
}
.step-card p { font-size: 1.05rem; line-height: 1.55; font-weight: 500; }

@media (max-width: 760px) {
  .journey { --rail: 36px; gap: 20px; }
  .journey::before, .journey::after { left: 18px; }
  .step { grid-template-columns: var(--rail) 1fr; }
  .step .node { grid-column: 1; }
  .step:nth-child(odd) .step-card, .step:nth-child(even) .step-card { grid-column: 2; transform: none; }
  .step-card { padding: 20px; gap: 14px; flex-direction: column; }
  .step-icon { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .journey::after, .step .node { animation: none; }
}

@media (min-width: 761px) {
  .step + .step { margin-top: -40px; }
}

/* ===== Au-delà de ce que tu fais : simple et lumineux ===== */
.simple {
  position: relative;
  max-width: 780px;
  margin: 56px auto 0;
  display: flex; flex-direction: column; align-items: center;
  gap: 24px;
}
.simple::before {
  content: ""; position: absolute; z-index: -1;
  inset: 10% -10%;
  background: radial-gradient(closest-side, rgba(255, 210, 250, .28), rgba(255, 210, 250, 0));
  filter: blur(10px);
}
.simple p { font-size: clamp(1.08rem, 1.7vw, 1.3rem); font-weight: 500; line-height: 1.6; }
.simple .simple-script {
  font-family: var(--script); font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.2;
  color: #ffe3f8;
  transform: rotate(-2deg);
  text-shadow: 0 0 26px rgba(255, 200, 245, .75);
}
.simple .simple-big {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.2;
  color: #fff;
}
.glow { color: #fff; text-shadow: 0 0 16px rgba(255, 205, 248, .95), 0 0 36px rgba(255, 205, 248, .45); }
.star-sep { font-size: 1rem; color: #ffe3f8; text-shadow: 0 0 12px rgba(255, 210, 250, .9); opacity: .9; }
.simple p { text-wrap: balance; } .glow { color: #ffe9fa; }
