/* Pauline Gil · one page consentement
   Palette choisie par Pauline : turquoise #17d3b4, bleu #21a2f2, galet #f4e2e2
   Polices choisies par Pauline : Marcellus (titres), Alegreya (corps) */

:root {
  --turquoise: #17d3b4;
  --bleu: #21a2f2;
  --galet: #f4e2e2;
  --creme: #fdfaf6;
  --encre: #1c3038;
  --encre-doux: #3e5a64;
  --turquoise-fonce: #0e8a76;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* clip : les éléments en attente d'animation (translatés hors écran)
   ne créent plus de défilement horizontal sur mobile */
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: 'Alegreya', Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--encre);
  background: var(--creme);
  overflow-x: hidden;
  overflow-x: clip;
}

h1, h2, h3 { font-family: 'Marcellus', 'Alegreya', serif; font-weight: 400; }

.conteneur { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.titre-section {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1.2em;
  position: relative;
  display: inline-block;
}
.titre-section::after {
  content: '';
  position: absolute;
  left: 0; bottom: -0.18em;
  width: 100%; height: 0.32em;
  background: var(--turquoise);
  opacity: 0.35;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
.titre-section.est-visible::after { transform: scaleX(1); }
.titre-clair { color: var(--creme); }

/* ── Boutons ── */
.btn {
  display: inline-block;
  font-family: 'Marcellus', serif;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.85em 1.8em;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-plein {
  background: var(--encre);
  color: var(--creme);
  box-shadow: 0 6px 24px rgba(28, 48, 56, 0.25);
}
.btn-plein:hover { background: var(--turquoise-fonce); box-shadow: 0 10px 30px rgba(14, 138, 118, 0.35); }
.btn-ligne {
  color: var(--encre);
  border: 1.5px solid var(--encre);
}
.btn-ligne:hover { background: var(--encre); color: var(--creme); }
.btn-grand { font-size: clamp(1.05rem, 2.6vw, 1.5rem); padding: 1em 1.6em; }

/* ════════ HERO ════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(165deg, var(--creme) 0%, var(--galet) 100%);
  overflow: hidden;
  padding: 64px 0 96px;
}

.hero-blobs { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}
.blob-1 { width: 46vw; height: 46vw; background: var(--turquoise); top: -18vw; right: -12vw; opacity: 0.28; }
.blob-2 { width: 34vw; height: 34vw; background: var(--bleu); bottom: -14vw; left: -10vw; opacity: 0.2; }
.blob-3 { width: 22vw; height: 22vw; background: #ffffff; top: 30%; left: 38%; opacity: 0.6; }
.blob-4 { width: 40vw; height: 40vw; background: var(--turquoise); top: -16vw; left: -14vw; opacity: 0.25; }
.blob-5 { width: 30vw; height: 30vw; background: var(--bleu); bottom: -12vw; right: -8vw; opacity: 0.2; }

.hero-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-overline {
  font-family: 'Marcellus', serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--turquoise-fonce);
  margin-bottom: 1.4em;
}

.titre-bloc {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  margin-bottom: 0.45em;
  position: relative;
}
.hero-title {
  font-size: 1em;
  line-height: 1.06;
  margin: 0;
}
.hero-line { display: block; }
.word-consent { color: var(--turquoise-fonce); white-space: nowrap; }

/* Rendu Pretext du titre : lignes posées en absolu sur la géométrie mesurée.
   Le h1 réel reste dans le DOM (SEO, lecteurs d'écran), masqué visuellement. */
.titre-stage {
  display: none;
  position: relative;
  font-family: 'Marcellus', serif;
  font-size: 1em;
  line-height: 1.06;
}
.titre-bloc.pt-active .titre-stage { display: block; }
.titre-bloc.pt-active .hero-title {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.pt-row { position: absolute; left: 0; white-space: pre; }
.pt-row span { display: inline-block; will-change: transform; }
.pt-lettre-consent { color: var(--turquoise-fonce); }
/* hover actif seulement après l'animation d'entrée (classe posée par GSAP),
   pour que la transition CSS et les écritures GSAP se croisent jamais */
.pt-hover-pret .pt-lettre-consent {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pt-hover-pret .pt-row-consent:hover .pt-lettre-consent { transform: translateY(-6px); }
.pt-hover-pret .pt-row-consent:hover .pt-lettre-consent:nth-child(2n) { transform: translateY(5px); }
.pt-hover-pret .pt-row-consent:hover .pt-lettre-consent:nth-child(3n) { transform: translateY(-9px) rotate(4deg); }

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--encre-doux);
  max-width: 34em;
  margin-bottom: 1.8em;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-photo { position: relative; justify-self: center; }
.hero-photo img {
  width: min(38vw, 380px);
  height: auto;
  display: block;
  border-radius: 999px 999px 24px 24px;
  box-shadow: 0 24px 60px rgba(28, 48, 56, 0.25);
}
.hero-photo figcaption {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--encre-doux);
  text-align: center;
  margin-top: 0.9em;
}

.hero-scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 46px;
  border: 2px solid var(--encre-doux);
  border-radius: 999px;
  display: flex; justify-content: center;
}
.hero-scroll-dot {
  width: 6px; height: 6px;
  background: var(--turquoise-fonce);
  border-radius: 50%;
  margin-top: 8px;
  animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(18px); opacity: 0.2; }
}

/* ════════ MANIFESTE ════════ */
.manifeste {
  padding: clamp(96px, 16vh, 160px) 24px;
  background: var(--creme);
  display: flex;
  justify-content: center;
}
.manifeste-quote {
  max-width: 22em;
  font-size: clamp(1.7rem, 4.4vw, 3rem);
  font-family: 'Alegreya', serif;
  font-style: italic;
  line-height: 1.35;
  text-align: center;
}
.manifeste-quote .mot { opacity: 0.12; display: inline-block; }

/* ════════ BANDE DÉFILANTE ════════ */
.bande {
  overflow: hidden;
  background: var(--encre);
  padding: 18px 0;
}
.bande-piste {
  display: flex;
  gap: 1.4em;
  white-space: nowrap;
  width: max-content;
  font-family: 'Marcellus', serif;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  color: var(--galet);
}
.bande-piste i { color: var(--turquoise); font-style: normal; }

/* ════════ POUR TOI ════════ */
.pourtoi { padding: clamp(80px, 12vh, 130px) 0; background: var(--galet); }
.pourtoi-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.carte-voix {
  background: var(--creme);
  border-radius: 20px;
  padding: 32px 28px;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--encre-doux);
  box-shadow: 0 10px 30px rgba(28, 48, 56, 0.08);
  position: relative;
}
.carte-voix::before {
  content: '“';
  position: absolute;
  top: -18px; left: 20px;
  font-family: 'Marcellus', serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--turquoise);
}
.carte-voix:nth-child(2)::before { color: var(--bleu); }

.pourtoi-apres h3 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 0.9em;
}
.liste-changements { list-style: none; display: grid; gap: 14px; max-width: 42em; }
.liste-changements li {
  padding-left: 36px;
  position: relative;
}
.liste-changements li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.42em;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--turquoise);
}
.liste-changements li:nth-child(2)::before { background: var(--bleu); }
.liste-changements li:nth-child(3)::before { background: var(--encre); }
.liste-changements strong { font-family: 'Marcellus', serif; font-weight: 400; }

/* ════════ RÉELS ════════ */
.reels {
  background: radial-gradient(120% 120% at 80% 0%, #24454f 0%, var(--encre) 60%);
  color: var(--creme);
  padding: clamp(90px, 13vh, 150px) 0;
}
.reels-intro { font-size: clamp(1.15rem, 2.4vw, 1.5rem); margin-bottom: 2.2em; color: var(--galet); }
.reels-intro strong { color: var(--turquoise); letter-spacing: 0.12em; }

.reels-liste { list-style: none; display: grid; gap: clamp(20px, 4vh, 36px); max-width: 720px; }
.reels-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
  align-items: center;
}
.reels-lettre {
  font-family: 'Marcellus', serif;
  font-size: clamp(3.4rem, 8vw, 5.4rem);
  line-height: 1;
  color: var(--turquoise);
  text-align: center;
}
.reels-item:nth-child(2n) .reels-lettre { color: var(--bleu); }
.reels-def h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-bottom: 0.2em; }
.reels-def p { color: #c4d4d2; }

.reels-chute {
  margin-top: 2em;
  font-family: 'Marcellus', serif;
  font-size: clamp(2rem, 5.6vw, 3.6rem);
}
.reels-chute em {
  font-style: normal;
  color: var(--turquoise);
  border-bottom: 4px solid var(--turquoise);
}
.reels-credit { margin-top: 2.4em; font-size: 0.85rem; color: #87a0a3; font-style: italic; }

/* ════════ SÉANCES ════════ */
.seances { padding: clamp(90px, 13vh, 150px) 0; background: var(--creme); }
.seances-intro { max-width: 40em; color: var(--encre-doux); margin-bottom: 3em; font-size: 1.15rem; }

.parcours { list-style: none; display: grid; gap: 36px; margin-bottom: 56px; }
.etape {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  align-items: start;
  padding: 32px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(28, 48, 56, 0.07);
}
.etape-num {
  font-family: 'Marcellus', serif;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--turquoise);
  opacity: 0.85;
}
.etape:nth-child(2) .etape-num { color: var(--bleu); }
.etape:nth-child(3) .etape-num { color: var(--turquoise-fonce); }
.etape-corps h3 { font-size: 1.45rem; margin-bottom: 0.4em; }
.etape-corps p { color: var(--encre-doux); }

.parcours-suite { max-width: 40em; color: var(--encre-doux); margin-bottom: 3.4em; font-style: italic; }

.tarifs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 2.6em; }
.tarif {
  border: 1.5px solid rgba(28, 48, 56, 0.16);
  border-radius: 24px;
  padding: 34px 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  background: var(--creme);
}
.tarif:hover {
  transform: translateY(-6px);
  border-color: var(--turquoise);
  box-shadow: 0 16px 40px rgba(23, 211, 180, 0.18);
}
.tarif h3 { font-size: 1.3rem; margin-bottom: 0.5em; }
.tarif-prix {
  font-family: 'Marcellus', serif;
  font-size: 2.8rem;
  color: var(--turquoise-fonce);
  line-height: 1.1;
}
.tarif-roue .tarif-prix { color: var(--bleu); }
.tarif-detail { color: var(--encre-doux); font-size: 0.98rem; margin-top: 0.5em; }

.seances-note { color: var(--encre-doux); font-style: italic; max-width: 38em; }

/* ════════ ENGAGEMENT ════════ */
.engagement {
  position: relative;
  padding: clamp(100px, 16vh, 180px) 0;
  overflow: hidden;
  color: var(--creme);
}
.engagement-photo {
  position: absolute;
  inset: -12% 0;
}
.engagement-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}
.engagement-voile {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 38, 46, 0.92) 30%, rgba(20, 38, 46, 0.55) 100%);
}
.engagement-contenu { position: relative; }
.engagement-slogan {
  font-family: 'Marcellus', serif;
  font-size: clamp(1.8rem, 4.6vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 0.8em;
}
.engagement-slogan span { color: var(--turquoise); }
.engagement-texte, .engagement-fresque { max-width: 36em; color: #d9e4e2; margin-bottom: 1.4em; }
.engagement-fresque a { color: var(--turquoise); }

.postit {
  display: block;
  margin-top: 2.4em;
  background: #fff8e1;
  border: none;
  padding: 14px 14px 10px;
  border-radius: 4px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  transform: rotate(-3deg);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: min(240px, 60vw);
}
.postit:hover { transform: rotate(1deg) scale(1.05); }
.postit::before {
  content: '';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%) rotate(2deg);
  width: 90px; height: 26px;
  background: rgba(23, 211, 180, 0.45);
  border-radius: 2px;
}
.postit { position: relative; }
.postit img { width: 100%; height: auto; display: block; border-radius: 2px; }
.postit-legende {
  display: block;
  font-family: 'Alegreya', serif;
  font-style: italic;
  color: #5d4a1f;
  padding-top: 8px;
  font-size: 0.95rem;
}

/* ════════ QUI JE SUIS ════════ */
.quisuisje { padding: clamp(90px, 13vh, 150px) 0; background: var(--galet); }
.quisuisje-grille {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}
.quisuisje-texte p { margin-bottom: 1.2em; color: var(--encre-doux); max-width: 34em; }
.quisuisje-joie {
  font-family: 'Marcellus', serif;
  font-size: 1.25rem;
  color: var(--encre) !important;
}
.quisuisje-mots {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-content: center;
}
.quisuisje-mots span {
  font-family: 'Marcellus', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  padding: 0.5em 1.1em;
  border-radius: 999px;
  background: var(--creme);
  color: var(--turquoise-fonce);
  box-shadow: 0 8px 22px rgba(28, 48, 56, 0.1);
}
.quisuisje-mots span:nth-child(2n) { background: var(--turquoise); color: var(--creme); }
.quisuisje-mots span:nth-child(3n) { background: var(--bleu); color: var(--creme); }

/* ════════ CONTACT ════════ */
.contact {
  position: relative;
  padding: clamp(110px, 18vh, 200px) 0;
  background: linear-gradient(15deg, var(--creme) 0%, var(--galet) 100%);
  overflow: hidden;
  text-align: center;
}
.contact-contenu { position: relative; }
.contact-titre { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 0.5em; }
.contact-texte { max-width: 32em; margin: 0 auto 2em; color: var(--encre-doux); }
.contact-tel { margin-top: 1.6em; color: var(--encre-doux); }
.contact-tel a { color: var(--turquoise-fonce); }

/* ════════ PIED ════════ */
.pied {
  background: var(--encre);
  color: #9db4b8;
  text-align: center;
  padding: 40px 24px;
  font-size: 0.9rem;
  display: grid;
  gap: 6px;
}
.pied a { color: var(--turquoise); text-decoration: none; }
.pied a:hover { text-decoration: underline; }

/* ════════ LIGHTBOX ════════ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 26, 31, 0.92);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  gap: 14px;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(92vw, 640px);
  max-height: 82vh;
  width: auto; height: auto;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lightbox-credit { color: #c4d4d2; font-size: 0.9rem; }
.lightbox-credit a { color: var(--turquoise); }
.lightbox-fermer {
  position: absolute;
  top: 18px; right: 24px;
  background: none;
  border: none;
  color: var(--creme);
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
}

/* ════════ RÉVÉLATIONS (état initial géré en JS) ════════ */

/* ════════ RESPONSIVE ════════ */
@media (max-width: 900px) {
  .pourtoi-grille, .tarifs { grid-template-columns: 1fr; }
  .quisuisje-grille { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  .hero { padding: 36px 0 110px; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  /* photo d'abord, compacte, sans légende */
  .hero-photo { order: -1; }
  .hero-photo img { width: min(52vw, 220px); }
  .hero-photo figcaption { display: none; }
  /* « Le consentement, » tient sur une ligne (fallback h1 aligné sur Pretext) */
  .hero-line:nth-child(1), .hero-line:nth-child(2) { display: inline; }
  /* boutons côte à côte */
  .hero-cta { gap: 10px; }
  .hero-cta .btn { font-size: 0.92rem; padding: 0.75em 1.15em; }
  .titre-bloc { font-size: clamp(1.9rem, 8.8vw, 2.5rem); }
  .etape { grid-template-columns: 1fr; gap: 10px; padding: 26px 22px; }
  .etape-num { font-size: 2.4rem; }
  .reels-item { grid-template-columns: 64px 1fr; gap: 18px; }
  /* « Un OUI réel, c'est quoi ? » tient sur une seule ligne */
  .reels .titre-section { font-size: clamp(1.5rem, 6.2vw, 2rem); white-space: nowrap; }
  .manifeste-quote { font-size: clamp(1.5rem, 7vw, 2rem); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-dot { animation: none; }
  .btn, .tarif, .postit, .pt-row span { transition: none; }
}
