/* Aurélie Coppeaux — « Aimer sans s'oublier »
   DA : le livre de sa vie. Crème papier, noir encre, rouge plume. */

:root {
  --cream: #f5efe7;
  --cream-2: #efe6db;
  --paper: #faf6f0;
  --ink: #1a1414;
  --ink-soft: #4a4040;
  --black: #0b0b0b;
  --red: #8e1016;
  --red-deep: #6e0a0e;
  --red-bright: #d21f26;
  --blush: #f6e3df;
  --gold: #b88a3e;
  --line: rgba(26, 20, 20, .14);

  --f-display: "Playfair Display", Georgia, serif;
  --f-text: "EB Garamond", Georgia, serif;
  --f-ui: "Figtree", system-ui, sans-serif;
  --f-hand: "Caveat", cursive;

  --radius: 20px;
  --shadow: 0 18px 40px -22px rgba(40, 20, 15, .35);
  --shadow-paper: 0 30px 60px -30px rgba(0, 0, 0, .55);
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);

  --stroke: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 40 3, 80 4, 120 6 S 180 9, 198 4' fill='none' stroke='%238e1016' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  --stroke-bright: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 40 3, 80 4, 120 6 S 180 9, 198 4' fill='none' stroke='%23d21f26' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  --torn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40 L0 18 L40 22 L70 12 L110 20 L150 9 L190 17 L230 11 L270 21 L320 8 L360 18 L410 13 L450 23 L500 10 L540 19 L590 12 L630 22 L680 9 L720 17 L770 11 L810 21 L860 10 L900 18 L950 8 L990 20 L1040 12 L1080 22 L1130 9 L1170 18 L1220 13 L1260 21 L1310 10 L1350 19 L1400 12 L1440 18 L1440 40 Z' fill='%23000'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .18 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream) var(--grain);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(72px, 10vw, 128px); }
.center { text-align: center; }

/* ---------- Fonds ---------- */
.bg-cream { background: var(--cream) var(--grain); color: var(--ink); }
.bg-paper { background: var(--paper) var(--grain); color: var(--ink); }
.bg-black { background: var(--black); color: #fff; }
.bg-red { background: linear-gradient(160deg, var(--red-deep), var(--red)); color: #fff; }
.bg-black .muted { color: rgba(255, 255, 255, .72); }

/* Séparateurs entre sections : ligne douce et imparfaite soulignée d'un fin trait rouge.
   ::before (rouge) et ::after (fond de la section, décalé de 2px) partagent le même tracé :
   la section du dessous « remonte » légèrement dans celle du dessus, et le trait rouge borde la courbe. */
.torn-top { --wh: clamp(22px, 3vw, 40px); --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 24 C220 22 360 36 560 34 C760 32 1000 10 1220 12 C1320 13 1390 20 1440 22 L1440 40 L0 40 Z' fill='%23000'/%3E%3C/svg%3E"); }
section.torn-top:nth-of-type(3n+1) { --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 16 C180 30 420 34 640 26 C860 18 1080 30 1260 28 C1350 27 1410 22 1440 20 L1440 40 L0 40 Z' fill='%23000'/%3E%3C/svg%3E"); }
section.torn-top:nth-of-type(3n+2) { --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 28 C260 30 420 14 700 16 C940 18 1100 34 1300 30 C1380 28 1420 24 1440 24 L1440 40 L0 40 Z' fill='%23000'/%3E%3C/svg%3E"); }
.torn-top::before, .torn-top::after {
  content: ""; position: absolute; left: 0; right: 0; pointer-events: none;
  height: var(--wh); top: calc(-1 * var(--wh) + 1px);
  -webkit-mask: var(--wave) center / 100% 100% no-repeat; mask: var(--wave) center / 100% 100% no-repeat;
}
.torn-top::before { z-index: 2; background: var(--red); }
.bg-red.torn-top::before, .site-footer.torn-top::before { background: var(--red-bright); }
.bg-red.torn-top::after, .site-footer.torn-top::after { background: var(--red-deep); }
.torn-top::after { z-index: 3; top: calc(-1 * var(--wh) + 3px); background: inherit; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
.h-display { font-size: clamp(42px, 4.9vw, 70px); }
.h1 { font-size: clamp(38px, 5vw, 64px); }
.h2 { font-size: clamp(32px, 4.2vw, 54px); }
.h3 { font-size: clamp(24px, 2.4vw, 32px); }
h1 em, h2 em, h3 em, .em { font-style: italic; color: var(--red); font-weight: 500; }
.bg-black h1 em, .bg-black h2 em, .bg-black h3 em { color: var(--red-bright); }
.bg-red h1 em, .bg-red h2 em { color: #fff; }
.lead { font-family: var(--f-text); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; color: var(--ink-soft); }
.bg-black .lead { color: rgba(255, 255, 255, .78); }
.serif { font-family: var(--f-text); }
.hand { font-family: var(--f-hand); color: var(--red); font-weight: 600; }
.bg-black .hand { color: var(--red-bright); }
.kicker {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--f-display); font-size: 14px; letter-spacing: .32em; text-transform: uppercase; color: var(--red);
}
.kicker::before, .kicker::after { content: ""; width: 36px; flex: 0 0 auto; height: 1.5px; background: currentColor; opacity: .8; }
.bg-black .kicker { color: #fff; }
.bg-black .kicker::before, .bg-black .kicker::after { background: var(--red-bright); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 30px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--red); color: #fff; text-decoration: none;
  font-family: var(--f-ui); font-weight: 600; font-size: 16px; letter-spacing: .01em;
  box-shadow: 0 14px 30px -14px rgba(142, 16, 22, .7);
  transition: background .25s, transform .25s;
}
.btn:hover { background: var(--red-deep); transform: translateY(-1px); }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: inherit; box-shadow: none; border: 1.5px solid currentColor; }
.btn-ghost:hover { background: rgba(142, 16, 22, .08); }
.btn-call .btn-row { display: flex; align-items: center; gap: 12px; }
.link-u { font-weight: 600; text-decoration: none; color: var(--red); transition: opacity .25s; }
.link-u:hover { opacity: .75; }
.bg-black .link-u { color: #fff; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; margin-top: 36px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(245, 239, 231, .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line); transition: background .3s;
}
.site-header.is-scrolled { background: rgba(245, 239, 231, .92); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.logo { font-family: var(--f-display); font-size: 23px; text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.logo span { color: var(--red); font-style: italic; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.nav a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 500; position: relative; padding: 6px 0; }
.nav a:not(.btn) { transition: color .25s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--red); }
.nav .btn { padding: 12px 22px; font-size: 14px; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--ink); }
.burger span { display: block; width: 24px; height: 1.6px; background: currentColor; margin: 6px auto; transition: transform .3s, opacity .3s; }
.menu-open .burger span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: flex-start; gap: 6px;
    padding: 24px var(--gutter) 32px; background: var(--cream) var(--grain); box-shadow: 0 20px 30px -20px rgba(0,0,0,.3);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .3s;
  }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { font-family: var(--f-display); font-size: 26px; }
  .nav .btn { margin-top: 14px; }
}

/* ---------- Hero accueil ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding-top: 76px; }
.hero-img { position: absolute; right: 0; bottom: 0; height: min(100svh, 50vw); width: auto; max-width: none; }
.hero-copy { position: relative; z-index: 1; max-width: 480px; padding-block: 60px; }
.hero-copy .lead { margin-top: 28px; max-width: 34ch; }
.hero-copy .kicker { margin: 0 0 26px; }
/* Sur ordinateur, la couverture tient dans l'écran, avec un aperçu de la suite.
   La taille du titre dépend de la hauteur disponible, pas de la largeur. */
@media (min-width: 901px) {
  .hero.has-book { min-height: calc(100svh - 24px); padding-bottom: 24px; }
  .hero.has-book .hero-copy { max-width: min(560px, 50%); padding-block: 24px; }
  .hero.has-book .h-display { font-size: 48px; letter-spacing: 0; }
  .hero.has-book .lead { font-size: 19px; max-width: 44ch; margin-top: 20px; }
  .hero.has-book .actions { margin-top: 24px; gap: 16px 24px; }
}
@media (min-width: 901px) and (max-height: 700px) {
  .hero.has-book .h-display { font-size: 40px; }
  .hero.has-book .hero-copy { padding-block: 16px; }
}
@media (min-width: 901px) and (min-height: 850px) {
  .hero.has-book .h-display { font-size: 58px; }
}
@media (min-width: 901px) and (min-height: 1050px) {
  .hero.has-book .h-display { font-size: 64px; }
}
@media (max-width: 900px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-img { position: relative; height: auto; width: 100%; order: 2; }
  .hero-copy { padding-block: 48px 8px; }
  .hero-copy .kicker { font-size: 12px; letter-spacing: .2em; gap: 10px; }
  .hero-copy .kicker::before, .hero-copy .kicker::after { width: 18px; }
}

/* Hero pages intérieures */
.page-hero { position: relative; padding: calc(76px + clamp(56px, 8vw, 110px)) 0 clamp(56px, 8vw, 100px); overflow: hidden; }
.page-hero .grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero .lead { margin-top: 24px; max-width: 40ch; }
.page-hero figure { margin: 0; position: relative; }
.page-hero figure img { width: 100%; max-height: 600px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.ghost-num {
  position: absolute; right: -2vw; top: 40px; font-family: var(--f-display); font-style: italic;
  font-size: clamp(180px, 26vw, 380px); line-height: 1; color: var(--red); opacity: .06; pointer-events: none; user-select: none;
}
@media (max-width: 900px) { .page-hero .grid { grid-template-columns: 1fr; } }

/* ---------- Cartes « situations » ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); margin-top: 52px; }
.card {
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column; text-align: center;
}
.card .ph { position: relative; aspect-ratio: 400 / 172; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%);
  width: 72px; height: 72px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; border: 4px solid var(--paper); box-shadow: 0 8px 18px -8px rgba(110, 10, 14, .6);
}
.badge svg { width: 34px; height: 34px; }
.card .body { padding: 54px 28px 30px; display: flex; flex-direction: column; flex: 1; align-items: center; }
.card h3 { font-size: clamp(24px, 2.2vw, 30px); }
.card h3 em { display: block; }
.card p { margin: 16px 0 26px; color: var(--ink-soft); font-size: 19px; }
.card .btn { margin-top: auto; width: 100%; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- Lettre ---------- */
.letter { font-family: var(--f-text); font-size: clamp(19px, 1.7vw, 22px); line-height: 1.75; text-align: center; }
.letter p { margin: 0 0 1.1em; }
/* Lignes de la lettre : la phrase glisse depuis la gauche, les mots apparaissent l'un après l'autre */
.slide-line { display: block; transform: translateX(-24px); filter: blur(1.2px); transition: transform .52s cubic-bezier(.2, .8, .2, 1), filter .52s cubic-bezier(.2, .8, .2, 1); }
.slide-word { display: inline-block; opacity: 0; transition: opacity .21s cubic-bezier(.2, .8, .2, 1); }
.slide-line.is-in { transform: none; filter: none; }
.slide-word.is-on { opacity: 1; }
/* La lettre reste à l'écran pendant qu'elle s'écrit au scroll */
.letter-scroll.is-scrolly { position: relative; }
.letter-scroll.is-scrolly .letter-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; padding-top: calc(76px + 4vh); }
.letter-scroll.is-scrolly .letter { will-change: transform; }
.letter-section { overflow-x: clip; }
.letter-section:has(.is-scrolly) { padding-block: 0 clamp(40px, 6vw, 80px); }
.letter .say { color: var(--red); font-weight: 700; font-size: 1.08em; margin: 1.4em 0; line-height: 1.4; }
.letter .last { font-size: 1.25em; margin-top: 1.6em; }
.letter-pen { display: block; width: min(520px, 42vw); margin: 8px clamp(0px, 4vw, 80px) -40px auto; filter: drop-shadow(0 18px 22px rgba(60, 20, 15, .18)); pointer-events: none; }
@media (max-width: 760px) { .letter-pen { width: 78%; margin: 20px 0 -24px auto; } }
/* Le stylo arrive après la lettre : il descend, légèrement incliné, et se pose sur la page */
.letter-pen.is-waiting { opacity: 0; transform: translate(0, -38%) rotate(-9deg) scale(1.06); filter: drop-shadow(0 60px 40px rgba(60, 20, 15, .06)); }
.letter-pen.is-placed { animation: pen-place 1.5s cubic-bezier(.22, .7, .25, 1) both; }
@keyframes pen-place {
  0%   { opacity: 0; transform: translate(0, -38%) rotate(-9deg) scale(1.06); filter: drop-shadow(0 60px 40px rgba(60, 20, 15, .06)); }
  25%  { opacity: 1; }
  78%  { transform: translate(0, 1.5%) rotate(.6deg) scale(.995); filter: drop-shadow(0 16px 18px rgba(60, 20, 15, .2)); }
  100% { opacity: 1; transform: none; filter: drop-shadow(0 18px 22px rgba(60, 20, 15, .18)); }
}

/* ---------- Croyances (carrousel) ---------- */
.beliefs .copy { max-width: 820px; margin-inline: auto; }

.carousel { position: relative; margin-top: 40px; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 24px; scroll-behavior: smooth; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; }
.c-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; }
.c-arrow {
  width: 48px; height: 48px; border-radius: 50%; border: 1.4px solid var(--red); color: var(--red);
  background: transparent; display: grid; place-items: center; cursor: pointer; transition: background .25s, color .25s;
}
.c-arrow:hover { background: var(--red); color: #fff; }
.c-dots { display: flex; gap: 10px; }
.c-dots button { width: 11px; height: 11px; border-radius: 50%; border: 1.4px solid var(--red); background: transparent; padding: 0; cursor: pointer; }
.c-dots button[aria-current="true"] { background: var(--red); }

/* L'image garde son format 16:9 en entier ; le texte se cale à côté */
.belief { display: grid; grid-template-columns: 58% 1fr; align-items: center; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-align: left; }
.belief .ph { align-self: stretch; display: flex; align-items: center; }
.belief .ph img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
/* À droite : la pensée en haut, la réalité en dessous */
.belief .real { padding: clamp(22px, 2.4vw, 34px) clamp(24px, 2.8vw, 40px); align-self: center; }
.belief .thought { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid rgba(142, 16, 22, .18); }
.belief .thought .tag { margin: 0; font-family: var(--f-hand); font-size: 28px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.belief .thought .tag b { color: var(--red); font-size: 28px; font-weight: 400; }
.belief .thought q { display: block; margin-top: 8px; font-family: var(--f-text); font-style: italic; font-size: 21px; line-height: 1.4; color: var(--ink-soft); quotes: "« " " »"; }
.belief .truth h3 { font-family: var(--f-hand); font-size: 34px; color: var(--red); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.belief .truth p { font-family: var(--f-text); font-size: 19px; line-height: 1.6; margin: 10px 0 0; }
@media (max-width: 1180px) { .belief { grid-template-columns: 1fr; } }

/* ---------- Ce qu'on va faire ensemble ---------- */
.steps { display: grid; gap: 24px; margin-top: 52px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  background: var(--paper); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow);
}
/* Images entières, sans recadrage : même hauteur pour toutes, la largeur suit leur format */
.step img { height: clamp(220px, 22vw, 300px); width: auto; max-width: min(560px, 52vw); object-fit: contain; border-radius: calc(var(--radius) - 6px); }
.step .txt { padding: 16px clamp(8px, 2vw, 28px) 16px 0; }
.step .chap { font-family: var(--f-hand); color: var(--red); font-size: 24px; }
.step h3 { font-size: clamp(28px, 3vw, 40px); margin-top: 2px; }
.step p { margin: 12px 0 0; color: var(--ink-soft); }
@media (max-width: 800px) { .step { grid-template-columns: 1fr; } .step img { height: auto; width: 100%; max-width: none; } .step .txt { padding: 4px 16px 18px; } }

/* ---------- Bandeau défilant ---------- */
.marquee { overflow: hidden; padding-block: 26px; white-space: nowrap; }
.marquee .row { display: inline-flex; animation: marquee var(--marquee-time, 240s) linear infinite; }
.marquee:hover .row { animation-play-state: paused; }
.marquee .set { display: inline-flex; gap: 44px; padding-right: 44px; }
.marquee span { font-family: var(--f-display); font-style: italic; font-size: clamp(24px, 2.6vw, 36px); display: inline-flex; align-items: center; gap: 44px; }
.marquee span::after { content: "♥"; font-style: normal; font-size: .5em; opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Témoignages ---------- */
.reviews .slide { flex: 0 0 calc((100% - 48px) / 3); }
.reviews .track { align-items: flex-start; }
.reviews .c-nav { gap: 12px; }
.reviews .c-arrow { flex: 0 0 48px; }
.reviews .c-arrow:active { transform: scale(.98); }
.reviews .c-arrow:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.reviews .review { height: auto; }
.reviews .review blockquote { max-height: 360px; overflow-y: auto; overscroll-behavior: contain; }
.review header .avatar { background: var(--red); }
.review header > div { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 1000px) { .reviews .slide { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 680px) { .reviews .slide { flex-basis: 92%; } }
.review { background: var(--paper); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); height: 100%; }
.review header { display: flex; align-items: center; gap: 16px; }
.avatar { width: 58px; height: 58px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; color: #fff; font-size: 22px; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.review .name { font-weight: 600; font-size: 18px; line-height: 1.2; color: inherit; text-decoration: none; display: block; }
.review a.name:hover { color: var(--red); }
.review .meta { color: #6b6262; font-size: 14px; }
.stars { display: flex; align-items: center; gap: 10px; margin: 16px 0 14px; color: #f2b01e; font-size: 20px; letter-spacing: 2px; }
.stars small { color: #6b6262; font-size: 14px; letter-spacing: 0; }
.review blockquote { margin: 0; font-family: var(--f-text); font-style: italic; font-size: 19px; line-height: 1.55; }
.review blockquote::before, .review blockquote::after { color: var(--red); font-weight: 700; font-style: normal; font-size: 1.3em; }
.review blockquote::before { content: "« "; }
.review blockquote::after { content: " »"; }
.review strong { color: var(--red); font-size: 1.12em; }
.google-note { text-align: center; margin-top: 18px; color: var(--ink-soft); font-size: 16px; }
.google-note [data-g-link]:not([hidden]) + a::before { content: "· "; color: var(--ink-soft); }

/* ---------- Accompagnement (fond noir) ---------- */
/* Les 4 points de l'offre sur deux lignes, puis la photo d'Aurélie à gauche et la carte à droite */
.offer-features { grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 5vw, 72px); margin-top: 44px; }
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(56px, 7vw, 96px); }
.offer .polaroids { width: min(100%, 460px); justify-self: center; }
.offer .price-card { max-width: 520px; justify-self: center; }
.features { display: grid; gap: 26px; }
.feature { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: center; }
.feature img { width: 92px; height: 82px; object-fit: contain; -webkit-mask: radial-gradient(closest-side, #000 70%, transparent); mask: radial-gradient(closest-side, #000 70%, transparent); }
.feature img[src$=".svg"] { -webkit-mask: none; mask: none; padding: 6px; }
/* Icônes blanches détourées : pas de masque radial, cadrage carré */
.feature img.ic-white { width: 92px; height: 92px; padding: 0; -webkit-mask: none; mask: none; }
.feature h3 { font-size: 22px; color: #fff; }
.feature p { margin: 4px 0 0; color: rgba(255, 255, 255, .72); font-size: 19px; }
.polaroids { position: relative; aspect-ratio: 3 / 4; }
.polaroids img { position: absolute; box-shadow: var(--shadow-paper); }
.polaroids .p1 { right: 0; top: 0; width: 84%; transform: rotate(4deg); }
.polaroids .p2 { left: 0; bottom: 0; width: 52%; transform: rotate(-6deg); }
/* Une seule photo, déjà encadrée et détourée : pas de cadre CSS, une ombre qui suit sa forme */
.polaroids:has(.p-single) { aspect-ratio: auto; }
.polaroids .p-single { position: static; width: 100%; box-shadow: none; transform: rotate(-2deg); filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .55)); }
.price-card { position: relative; background: var(--paper); color: var(--ink); border-radius: 26px; padding: 40px 30px 30px; text-align: center; }
.price-card .seal { position: absolute; left: 50%; top: -56px; width: 160px; transform: translateX(-46%); -webkit-mask: radial-gradient(ellipse 52% 50% at 56% 50%, #000 78%, transparent 100%); mask: radial-gradient(ellipse 52% 50% at 56% 50%, #000 78%, transparent 100%); }
.price-card h3 { font-size: clamp(24px, 2.2vw, 30px); }
.price-card p { color: var(--ink-soft); font-size: 19px; margin-bottom: 26px; }
.price { display: flex; align-items: center; gap: 18px; background: var(--blush); border-radius: 18px; padding: 18px; margin: 22px 0; text-align: left; }
.price img { width: 86px; mix-blend-mode: multiply; }
.price .amount { border-left: 2px solid var(--red); padding-left: 18px; font-family: var(--f-display); font-size: 24px; line-height: 1.2; }
.price .amount b { color: var(--red); font-size: 1.5em; font-weight: 600; }
.price .amount small { display: block; font-family: var(--f-ui); font-size: 15px; color: var(--ink-soft); margin-top: 4px; }
.adapt { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; margin-top: 56px; padding: 22px 28px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 18px; }
.adapt svg { width: 42px; height: 42px; color: var(--red-bright); }
.adapt h3 { font-size: 22px; }
.adapt p { margin: 4px 0 0; color: rgba(255, 255, 255, .72); font-size: 19px; }
@media (max-width: 760px) {
  .offer-features { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; }
  .offer .polaroids { max-width: 340px; margin: 0 auto 40px; }
}

/* ---------- FAQ ---------- */
.faq { margin-top: 44px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-family: var(--f-display); font-size: clamp(20px, 2vw, 24px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-ui); font-size: 30px; font-weight: 300; color: var(--red); transition: transform .3s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 26px; font-family: var(--f-text); font-size: 19px; color: var(--ink-soft); max-width: 70ch; }

/* ---------- Formulaire (feuille) ---------- */
.sheet {
  position: relative; background: #fff; color: var(--ink);
  padding: clamp(40px, 6vw, 72px) clamp(22px, 6vw, 96px);
  box-shadow: var(--shadow-paper);
}
.sheet .head { text-align: center; }
.sheet .head .lead { max-width: 56ch; margin: 18px auto 0; font-size: 19px; }
.form { max-width: 720px; margin: 36px auto 0; display: grid; gap: 22px; }
.field label, .field legend { display: block; font-family: var(--f-text); font-weight: 700; font-size: 19px; margin-bottom: 8px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; padding: 13px 18px; border-radius: 12px; border: 1.2px solid rgba(26, 20, 20, .55);
  background: #fbf8f3; font: inherit; font-family: var(--f-text); font-size: 18px; color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(142, 16, 22, .14); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.field .radio { display: flex; font-weight: 400; margin-bottom: 0; align-items: center; gap: 14px; margin: 8px 0 8px 10px; font-family: var(--f-text); font-size: 18px; cursor: pointer; }
.radio input { appearance: none; width: 22px; height: 22px; border-radius: 50%; border: 1.4px solid var(--ink); margin: 0; flex: 0 0 auto; display: grid; place-items: center; cursor: pointer; }
.radio input:checked::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--red); }
.err { color: var(--red); font-size: 14px; margin-top: 6px; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid textarea { border-color: var(--red); }
.confid { display: flex; align-items: center; justify-content: center; gap: 16px; font-family: var(--f-text); font-style: italic; color: var(--ink-soft); }
.form .btn { justify-self: center; padding: 18px 40px; font-family: var(--f-text); font-size: 20px; font-weight: 600; }
.thanks { display: none; text-align: center; padding: 30px 0 10px; }
.thanks p { font-family: var(--f-hand); color: var(--red); font-size: clamp(34px, 4vw, 48px); line-height: 1.2; margin: 0; }
.thanks svg { width: 70px; margin: 20px auto 0; color: var(--red); }
.thanks svg path { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.6s .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sent .form { display: none; }
.sent .thanks { display: block; }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding-top: clamp(64px, 8vw, 96px); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 32px; align-items: start; }
.socials { display: flex; gap: 22px; }
.socials a { width: 26px; height: 26px; display: grid; place-items: center; opacity: .95; }
.socials svg { width: 24px; height: 24px; }
.f-links { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 8px; font-family: var(--f-display); font-size: 21px; }
.f-links a { text-decoration: none; }
.f-links a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.f-right { text-align: right; }
.f-right .mail { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-display); font-size: 19px; text-decoration: none; }
.f-right .f-links { justify-items: end; }
.f-brand { text-align: center; }
.f-brand .name { font-family: var(--f-display); font-size: clamp(52px, 6vw, 78px); line-height: .95; }
.f-brand .tag { margin-top: 18px; letter-spacing: .42em; font-size: 14px; text-transform: uppercase; }
.newsletter { display: flex; align-items: center; background: var(--paper); border-radius: 999px; padding: 6px 6px 6px 26px; max-width: 460px; margin: 30px auto 0; box-shadow: 0 0 0 3px rgba(255,255,255,.45); }
.newsletter input { flex: 1; border: 0; background: transparent; font-family: var(--f-display); font-size: 19px; color: var(--ink); min-width: 0; }
.newsletter input:focus { outline: none; }
.newsletter button { width: 54px; height: 54px; border-radius: 50%; border: 0; background: radial-gradient(circle at 35% 30%, var(--red-bright), var(--red-deep)); color: #fff; display: grid; place-items: center; cursor: pointer; flex: 0 0 auto; }
.nl-note { margin-top: 16px; font-size: 12.5px; letter-spacing: .32em; text-transform: uppercase; line-height: 1.9; }
/* Le rouge de l'image est transparent : c'est le fond rouge du pied de page qui apparaît derrière la déchirure */
.footer-paper { display: block; width: 100%; margin-top: 60px; }
.legal-line { background: var(--ink); color: var(--paper); text-align: center; font-size: 13.5px; padding: 0 var(--gutter) 22px; margin: -2px 0 0; }
.legal-line a { color: inherit; text-decoration: none; }
.legal-line a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .f-right, .f-right .f-links { text-align: center; justify-items: center; }
  .socials { justify-content: center; }
}

/* ---------- Pages intérieures : blocs génériques ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split figure { margin: 0; }
.split figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.prose { font-family: var(--f-text); font-size: clamp(19px, 1.6vw, 21px); line-height: 1.7; }
.prose p { margin: 0 0 1em; }
.prose h2 { margin: 1.4em 0 .5em; }
.prose h3 { margin: 1.3em 0 .4em; font-size: clamp(24px, 2.2vw, 30px); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--red); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

.polaroid { background: #fff; padding: 12px 12px 46px; box-shadow: var(--shadow-paper); position: relative; }
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-family: var(--f-hand); font-size: 24px; color: var(--ink); }
.tilt-l { transform: rotate(-3deg); }
.tilt-r { transform: rotate(3deg); }
.polaroid-pair { position: relative; min-height: 660px; }
.polaroid-pair .polaroid { position: absolute; width: 56%; }
.polaroid-pair .polaroid:first-child { left: 0; top: 0; }
.polaroid-pair .polaroid:last-child { right: 0; bottom: 0; }
@media (max-width: 860px) { .polaroid-pair { min-height: 0; display: grid; gap: 28px; } .polaroid-pair .polaroid { position: relative; width: 80%; } .polaroid-pair .polaroid:last-child { justify-self: end; } }

.quote-big { font-family: var(--f-display); font-style: italic; font-size: clamp(30px, 3.8vw, 50px); line-height: 1.25; text-align: center; max-width: 22ch; margin-inline: auto; }
.quote-big::before { content: "« "; color: var(--red); }
.quote-big::after { content: " »"; color: var(--red); }
.bg-black .quote-big::before, .bg-black .quote-big::after { color: var(--red-bright); }

.chapters { counter-reset: chap; display: grid; gap: clamp(56px, 7vw, 96px); margin-top: 60px; }
.chapter { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.chapter:nth-child(even) > figure { order: 2; }
.chapter figure { margin: 0; }
.chapter figure img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.chapter .num { font-family: var(--f-hand); color: var(--red); font-size: 30px; }
.chapter h2 { font-size: clamp(32px, 3.6vw, 48px); }
.chapter ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.chapter li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-family: var(--f-text); font-size: 19px; line-height: 1.5; }
.chapter li::before { content: ""; width: 7px; height: 7px; margin: 11px 0 0 6px; border-radius: 50%; background: var(--red); }
@media (max-width: 860px) { .chapter { grid-template-columns: 1fr; } .chapter:nth-child(even) > figure { order: 0; } }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.compare > div { border-radius: var(--radius); padding: 32px; }
.compare .before { background: var(--paper); border: 1px dashed rgba(26,20,20,.3); }
.compare .after { background: var(--black); color: #fff; }
.compare h3 { font-family: var(--f-hand); font-size: 34px; font-weight: 600; color: var(--red); }
.compare .after h3 { color: var(--red-bright); }
.compare ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; font-family: var(--f-text); font-size: 19px; }
.compare .before li { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; color: var(--ink-soft); }
.compare .after li::before { content: "✓  "; color: var(--red-bright); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

.timeline { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: t; }
.timeline li { counter-increment: t; background: var(--paper); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); position: relative; }
.timeline li::before { content: counter(t); font-family: var(--f-display); font-style: italic; font-size: 54px; color: var(--red); line-height: 1; display: block; margin-bottom: 12px; }
.timeline h3 { font-size: 22px; }
.timeline p { margin: 8px 0 0; color: var(--ink-soft); font-size: 19px; }
.bg-black .timeline li { background: #171313; }
.bg-black .timeline h3 { color: #fff; }
.bg-black .timeline p { color: rgba(255,255,255,.7); }
@media (min-width: 961px) { .timeline.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }

.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.fit > div { border-radius: var(--radius); padding: 32px; background: var(--paper); box-shadow: var(--shadow); }
.fit .yes { border: 1.5px solid var(--ink); }
.fit .no { border: 1.5px solid var(--red); }
.fit h3 { font-size: 26px; }
.fit ul { padding-left: 1.1em; margin: 16px 0 0; font-family: var(--f-text); font-size: 19px; display: grid; gap: 8px; }
.fit .yes li::marker { content: "♥  "; color: var(--red); }
.fit .no li::marker { content: "✕  "; color: var(--ink-soft); }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.post { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; text-decoration: none; transition: transform .3s; }
.post:hover { transform: translateY(-4px); }
.post img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post .body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.post .cat { font-family: var(--f-hand); color: var(--red); font-size: 22px; }
.post h3 { font-size: 24px; margin-top: 4px; }
.post p { color: var(--ink-soft); font-size: 19px; margin: 12px 0 18px; }
.post .more { margin-top: auto; font-weight: 600; color: var(--red); }
.post.soon { opacity: .75; pointer-events: none; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.article { padding-top: calc(76px + 64px); }
.article .meta { color: var(--ink-soft); font-size: 15px; margin-top: 18px; }
.article .cover { width: 100%; border-radius: var(--radius); margin: 40px 0; box-shadow: var(--shadow); aspect-ratio: 16 / 8; object-fit: cover; }
.callout { background: var(--blush); border-left: 3px solid var(--red); padding: 22px 26px; border-radius: 0 16px 16px 0; margin: 1.6em 0; font-style: italic; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; font-size: 19px; }
.contact-list .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list a { text-decoration: none; font-weight: 600; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.legal { padding-top: calc(76px + 64px); }
.legal .prose h2 { font-size: clamp(26px, 2.6vw, 34px); }
.todo { background: #fff3c4; padding: 0 6px; border-radius: 4px; font-family: var(--f-ui); font-size: .85em; }

.cta-band { text-align: center; }
.cta-band .lead { max-width: 52ch; margin: 22px auto 0; }
.cta-band .actions { justify-content: center; }

/* ---------- Apparitions ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; } .reveal.d3 { transition-delay: .36s; }

@media (max-width: 900px) {
  .mobile-scroll { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
  .mobile-scroll.is-in { opacity: 1; transform: none; }
  .reveal { transform: translateY(32px); transition-duration: .75s; }
  .reveal.is-in { transform: none; }
  .reveal.d1, .reveal.d2, .reveal.d3 { transition-delay: .08s; }
  figure.reveal { transform: translateY(32px) scale(.97); }
  figure.reveal.is-in { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .mobile-scroll, figure.reveal { opacity: 1; transform: none; transition: none; }
  .marquee .row { animation: none; }
  .thanks svg path { animation: none; stroke-dashoffset: 0; }
}

.fade-edges { -webkit-mask: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%); mask: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%); }

/* La feuille du formulaire reste « papier » même posée sur fond noir */
.sheet .kicker { color: var(--red); }
.sheet .kicker::before, .sheet .kicker::after { background: var(--red); }
.sheet .lead { color: var(--ink-soft); }
.sheet h2 em { color: var(--red); }

.c-nav[hidden] { display: none; }

/* Hero : le livre qui s'ouvre avec la souris — plein écran, sans démarcation */
.hero.has-book { background: #ecdccd; }
.hero.has-book::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, rgba(245, 239, 231, 0), var(--cream)); pointer-events: none; z-index: 0; }
.hero-book { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; aspect-ratio: auto; }
.hero-book img, .hero-book canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-book img { object-fit: cover; object-position: right bottom; }
.hero-book canvas { opacity: 0; transition: opacity .3s; }
.hero-book.is-ready canvas { opacity: 1; }
@media (max-width: 900px) {
  .hero-book { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 9; order: 2; }
  .hero-book { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 72%, transparent 100%); }
  .hero.has-book { background: linear-gradient(180deg, #ecdccd 0%, #efe4d8 60%, var(--cream) 100%); }
  .hero.has-book::after { height: 50px; }
}

.link-plain { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.link-plain .arr { transition: transform .25s; }
.link-plain:hover .arr { transform: translateX(4px); }

/* Cartes « situations » : apparition une à une */
.reveal-card { opacity: 0; transform: translateY(60px) scale(.97); transition: opacity .9s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
.reveal-card.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-card { opacity: 1; transform: none; transition: none; } }

/* Pastilles illustrées (images fournies) */
.badge.badge-img { background: transparent; border: 0; box-shadow: 0 10px 22px -10px rgba(110, 10, 14, .55); width: 84px; height: 84px; overflow: hidden; }
.badge.badge-img img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding-top: 60px; }
.card .ph img { object-position: center 30%; }

/* Section « Respect de soi / respect de l'autre » : vrai texte posé sur la photo */
.respect { background: #f8ede3; padding: 40px 0 0; position: relative; overflow: hidden; }
.respect::after { content: ""; position: absolute; inset: auto 0 0; height: 16%; background: linear-gradient(180deg, rgba(248, 237, 227, 0), #f8ede3); pointer-events: none; z-index: 2; }
.respect [data-parallax-speed] { will-change: translate; }
.respect-stage { position: relative; width: min(2000px, 100%); margin-inline: auto; container-type: inline-size; }
/* La photo descend un peu : le titre tient dans le haut vide de l'image, au-dessus de la tête */
@media (min-width: 701px) { .respect-stage { padding-top: 4.5cqw; } }
.respect-photo { width: 100%; -webkit-mask: linear-gradient(180deg, transparent 0, #000 6%, #000 90%, transparent 100%); mask: linear-gradient(180deg, transparent 0, #000 6%, #000 90%, transparent 100%); }
.respect-title {
  position: absolute; left: 0; right: 0; top: .5cqw; margin: 0; text-align: center;
  font-family: var(--f-display); font-weight: 400; font-size: 3.3cqw; line-height: 1.12; color: #3a1d1a;
}
.respect-title em { color: #3a1d1a; font-weight: 600; }
.brush {
  display: inline-block; background: var(--red); color: #fff; font-style: italic; font-weight: 500;
  padding: .08em .55em .14em; transform: rotate(-1deg);
  clip-path: polygon(1% 12%, 6% 4%, 20% 8%, 38% 2%, 55% 7%, 72% 1%, 88% 6%, 99% 3%, 97% 30%, 100% 58%, 98% 92%, 84% 97%, 66% 93%, 48% 99%, 30% 94%, 14% 98%, 2% 93%, 0 64%, 2% 38%);
}
.brush-wide { margin-top: .22em; }
.respect-label { position: absolute; top: calc(4.5cqw + 22.6cqw); margin: 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.respect-label.left { left: 13%; }
.respect-label.right { right: 10.5%; }
.respect-label .word { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 4.2cqw; line-height: 1; color: #3a1d1a; }
.respect-label .brush { font-family: var(--f-display); font-size: 3.9cqw; margin-top: .1em; padding: .02em .5em .1em; }
.respect-label.left.reveal { transform: translateX(-30px); }
.respect-label.right.reveal { transform: translateX(30px); }
.respect-label.reveal.is-in { transform: none; }

/* Mobile : chaque étiquette est posée au-dessus de la main correspondante */
@media (max-width: 700px) {
  .respect { padding: 56px 0 24px; }
  .respect-stage { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-areas: "t t" "p p"; }
  .respect-stage > picture { grid-area: p; display: block; }
  .respect-photo { grid-area: p; }
  .respect-title { grid-area: t; position: static; font-size: 26px; padding: 0 var(--gutter) 10px; }
  .respect-label { position: static; z-index: 3; grid-area: p; justify-self: start; align-self: start; margin-top: 16cqw; width: max-content; }
  .respect-label.left { margin-left: 20.5cqw; }
  .respect-label.right { margin-left: 79cqw; }
  .respect-label .word { font-size: 6.8cqw; }
  .respect-label .brush { font-size: 5.6cqw; }
  .respect-label.left.reveal { transform: translateX(calc(-50% - 26px)); }
  .respect-label.right.reveal { transform: translateX(calc(-50% + 26px)); }
  .respect-label.reveal.is-in { transform: translateX(-50%); }
}

/* =========================================================
   Pages intérieures : même narration que l'accueil
   (chapitres de livre, alternance crème / noir, vraies déchirures)
   ========================================================= */

/* L'image du haut de page devient un polaroïd posé sur la page */
.page-hero figure img { border-radius: 0; background: #fff; padding: 12px 12px 54px; box-shadow: var(--shadow-paper); transform: rotate(2deg); }
.page-hero figure figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-family: var(--f-hand); font-size: 24px; color: var(--ink); transform: rotate(2deg); }

/* Texte courant sur fond noir */
.bg-black .prose, .bg-black .letter { color: rgba(255, 255, 255, .9); }
.bg-black .prose strong { color: #fff; }
.bg-black .letter .say { color: var(--red-bright); }
.bg-black .prose a.link-u { color: #fff; }

/* Avant / après sur fond noir */
.bg-black .compare .before { background: var(--paper); color: var(--ink); border: 0; }
.bg-black .compare .after { background: #171313; border: 1px solid rgba(255, 255, 255, .14); }

/* Bande rouge façon coup de pinceau pour la phrase clé d'une section */
.ink-line { display: inline-block; background: var(--red); color: #fff; font-family: var(--f-display); font-style: italic; padding: .1em .6em .16em; transform: rotate(-1deg);
  clip-path: polygon(1% 12%, 6% 4%, 20% 8%, 38% 2%, 55% 7%, 72% 1%, 88% 6%, 99% 3%, 97% 30%, 100% 58%, 98% 92%, 84% 97%, 66% 93%, 48% 99%, 30% 94%, 14% 98%, 2% 93%, 0 64%, 2% 38%); }

/* Lien vers un article du Carnet, glissé dans une page */
.read-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-family: var(--f-text); font-style: italic; font-size: 18px; color: var(--red); text-decoration: none; }
.read-more:hover { text-decoration: underline; }
.bg-black .read-more { color: var(--red-bright); }

/* Article du Carnet : en-tête noir, page crème déchirée en dessous */
.article-head { padding: calc(76px + clamp(48px, 7vw, 96px)) 0 clamp(200px, 19vw, 290px); text-align: center; }
.article-head .h1 { max-width: 22ch; margin-inline: auto; }
.article-head .meta { color: rgba(255, 255, 255, .7); font-size: 15px; margin-top: 20px; }
.article-head .back { color: rgba(255, 255, 255, .8); text-decoration: none; font-size: 15px; }
.article-head .back:hover { color: #fff; }
.article-body { padding-top: 0; }
.article-body .cover { width: 100%; border-radius: 0; margin: 0 0 48px; background: #fff; padding: 12px; box-shadow: var(--shadow-paper); aspect-ratio: auto; transform: rotate(-.6deg); position: relative; z-index: 3; }
.article-body .cover-wrap { margin-top: calc(-1 * clamp(70px, 8vw, 120px)); }
.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 36px; }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } }
.toc { background: var(--paper); border-radius: var(--radius); padding: 22px 28px; margin: 0 0 2em; box-shadow: var(--shadow); font-size: 18px; }
.toc strong { font-family: var(--f-display); font-size: 20px; display: block; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--red); }
.help-box { background: var(--black); color: #fff; border-radius: var(--radius); padding: 24px 28px; margin: 2em 0; font-size: 18px; line-height: 1.6; }
.help-box strong { color: var(--red-bright); }
/* Les cartes claires gardent un texte foncé, même posées sur un fond noir */
.bg-black .card, .bg-black .post, .bg-black .review, .bg-black .belief, .bg-black .toc { color: var(--ink); }
.bg-black .card h3, .bg-black .post h3, .bg-black .review .name { color: var(--ink); }
@media (max-width: 900px) { .page-hero figure { max-width: 340px; margin-inline: auto; } }

/* ---------- Bouton flottant WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 999px;
  display: grid; place-items: center;
  background: #25d366; color: #fff; text-decoration: none;
  box-shadow: 0 18px 34px -16px rgba(37, 211, 102, .75), 0 1px 0 rgba(0, 0, 0, .08);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), background .25s;
}
.wa-float svg { width: 30px; height: 30px; fill: currentColor; display: block; }
.wa-float:hover { background: #1eb95a; transform: translateY(-2px); }
.wa-float:active { transform: translateY(0) scale(.96); }
.wa-float:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 3px; }
.wa-label {
  position: absolute; right: 70px; top: 50%;
  transform: translateY(-50%) translateX(8px);
  opacity: 0; pointer-events: none; white-space: nowrap;
  background: var(--ink); color: var(--paper);
  font-family: var(--f-ui); font-size: 14px; font-weight: 600; letter-spacing: .01em;
  padding: 9px 15px; border-radius: 999px;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5);
  transition: opacity .25s, transform .25s cubic-bezier(.2, .8, .2, 1);
}
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (hover: none) { .wa-label { display: none; } }
@media (max-width: 600px) {
  .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .wa-float svg { width: 27px; height: 27px; }
}
/* Ondes de cœur autour du bouton : deux battements courts, puis une pause. */
.wa-float::before,
.wa-float::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 999px;
  border: 2px solid rgba(37, 211, 102, .62);
  opacity: 0;
  pointer-events: none;
  transition: border-color .45s ease;
  animation: wa-wave 2.8s cubic-bezier(.22, .61, .36, 1) infinite;
}
.wa-float::after { animation-delay: .95s; border-color: rgba(37, 211, 102, .44); }
/* Le visiteur survole le bouton : les ondes s'effacent doucement. */
.wa-float:hover::before, .wa-float:hover::after,
.wa-float:focus-visible::before, .wa-float:focus-visible::after { border-color: transparent; }
.wa-float svg { animation: wa-beat 2.8s cubic-bezier(.22, .61, .36, 1) infinite; }

@keyframes wa-wave {
  0%   { transform: scale(1);    opacity: 0; }
  6%   { transform: scale(1.10); opacity: .85; }
  14%  { transform: scale(1.05); opacity: .52; }
  24%  { transform: scale(1.24); opacity: .44; }
  55%  { transform: scale(1.72); opacity: .16; }
  80%  { transform: scale(2.00); opacity: 0; }
  100% { transform: scale(2.00); opacity: 0; }
}
@keyframes wa-beat {
  0%, 100% { transform: scale(1); }
  6%  { transform: scale(1.09); }
  14% { transform: scale(1.02); }
  24% { transform: scale(1.07); }
  40% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float, .wa-label { transition: none; }
  .wa-float::before, .wa-float::after, .wa-float svg { animation: none; }
}
.site-footer.torn-top { overflow: visible; overflow-x: clip; }

/* Ce en quoi je crois : cartes claires */
.bg-black .timeline.timeline-light li { background: #fff; }
.bg-black .timeline.timeline-light li::before { color: var(--red); }
.bg-black .timeline.timeline-light h3 { color: var(--ink); }
.bg-black .timeline.timeline-light p { color: var(--ink-soft); }
/* Citation sur une ligne longue */
.quote-big.quote-long { max-width: 40ch; }
/* Avant sombre, Après clair */
.bg-black .compare.compare-inv .before { background: #171313; color: #fff; border: 1px solid rgba(255,255,255,.14); }
.bg-black .compare.compare-inv .before li { color: rgba(255,255,255,.6); text-decoration-color: var(--red-bright); }
.bg-black .compare.compare-inv .before h3 { color: var(--red-bright); }
.bg-black .compare.compare-inv .after { background: var(--paper); color: var(--ink); border: 0; }
.bg-black .compare.compare-inv .after h3, .bg-black .compare.compare-inv .after li::before { color: var(--red); }

/* Avant : phrases qui s'écrivent puis se barrent */
.compare .before li.strike-anim { text-decoration: none; position: relative; width: fit-content; }
.strike-anim .sa-c { opacity: 0; transition: opacity .12s ease; }
.strike-anim .sa-c.on { opacity: 1; }
.strike-anim svg.sa-line { position: absolute; left: -2px; top: 50%; width: calc(100% + 4px); height: 10px; transform: translateY(-40%); overflow: visible; pointer-events: none; }
.strike-anim svg.sa-line { clip-path: inset(0 100% 0 0); transition: clip-path .55s cubic-bezier(.65,.05,.36,1); }
.strike-anim svg.sa-line path { fill: none; stroke: var(--red-bright, #d0393b); stroke-width: 1.8; stroke-linecap: round; }
.strike-anim.struck svg.sa-line { clip-path: inset(0 0 0 0); }

/* Bandeau RGPD */
.rgpd { position: fixed; left: 20px; bottom: 20px; z-index: 60; max-width: 420px; padding: 20px 22px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-top: 2px solid var(--red); border-radius: 14px; box-shadow: var(--shadow); font-family: var(--f-ui); opacity: 0; transform: translateY(16px); transition: opacity .4s ease, transform .4s cubic-bezier(.2,.8,.2,1); }
.rgpd.show { opacity: 1; transform: none; }
.rgpd p { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.rgpd a { color: var(--red); text-decoration: underline; }
.rgpd-actions { display: flex; gap: 10px; }
.rgpd button { flex: 1; font: 600 14px var(--f-ui); padding: 11px 16px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; transition: transform .15s, background .2s; }
.rgpd button:hover { background: var(--cream); }
.rgpd button.on { background: var(--red); border-color: var(--red); color: var(--paper); }
.rgpd button.on:hover { background: var(--red-deep); }
.rgpd button:active { transform: scale(.98); }
.rgpd button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
@media (max-width: 600px) { .rgpd { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
@media (prefers-reduced-motion: reduce) { .rgpd { transition: none; } }
