/* =========================================================
   CERVOLAND CARNET — Design v4
   Scrapbook intimiste, papier ligné, polaroïds, post-its
   Charte respectée : rose / bleu / jaune / crème
   ========================================================= */

:root {
  /* Charte d'origine */
  --rose: #ff5fc4;
  --rose-fonce: #e83f9f;
  --rose-pale: #ffe6f5;
  --bleu: #3f73c5;
  --bleu-fonce: #142c5c;
  --bleu-pale: #eef4fc;
  --jaune: #ffdd55;
  --jaune-fonce: #f4c01a;
  --jaune-pale: #fff6cc;
  --jaune-fluo: #fff04a;

  /* Neutres papier */
  --papier: #fdf6e8;
  --papier-2: #f9edd2;
  --papier-3: #f5e6c4;
  --encre: #2a2422;
  --encre-2: #5a4f48;
  --encre-clair: #8a7f78;
  --blanc: #ffffff;
  --ombre-papier: rgba(60, 40, 20, .12);

  /* Typo */
  --ff-display: "Fraunces", "Cooper", Georgia, serif;
  --ff-body: "Nunito", system-ui, -apple-system, sans-serif;
  --ff-hand: "Caveat", "Comic Sans MS", cursive;
  --ff-mono: "Special Elite", "Courier New", monospace;

  --pad-x: clamp(20px, 5vw, 80px);
  --max-w: 1240px;

  /* Rayons doux */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;

  /* Ombres douces papier */
  --sh-paper-sm: 0 2px 8px rgba(60, 40, 20, .08), 0 1px 2px rgba(60, 40, 20, .12);
  --sh-paper: 0 6px 20px rgba(60, 40, 20, .12), 0 2px 4px rgba(60, 40, 20, .08);
  --sh-paper-lg: 0 18px 40px rgba(60, 40, 20, .18), 0 6px 12px rgba(60, 40, 20, .12);

  --t-fast: .2s cubic-bezier(.4, 0, .2, 1);
  --t-med: .4s cubic-bezier(.4, 0, .2, 1);
  --t-bounce: .5s cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  background: var(--papier);
  color: var(--encre);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Fond papier ligné horizontal très subtil */
  background-image:
    repeating-linear-gradient(
      transparent 0,
      transparent 31px,
      rgba(63, 115, 197, .08) 31px,
      rgba(63, 115, 197, .08) 32px
    ),
    radial-gradient(circle at 50% 50%, transparent, rgba(60, 40, 20, .03));
  background-attachment: fixed;
  position: relative;
}
/* Marge gauche rose comme un cahier d'écolier */
body::before {
  content: "";
  position: fixed;
  top: 0; bottom: 0;
  left: clamp(40px, 8vw, 100px);
  width: 2px;
  background: var(--rose);
  opacity: .35;
  z-index: 1;
  pointer-events: none;
}
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--jaune-fluo); color: var(--encre); }
:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- TYPO ---------- */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--bleu-fonce);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  font-weight: 600;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
h2 { font-size: clamp(2rem, 5vw, 3.8rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 700; }

.hand {
  font-family: var(--ff-hand);
  font-weight: 500;
  font-size: 1.4em;
  display: inline-block;
  color: var(--rose-fonce);
  transform: rotate(-3deg);
}
.hand.bleu { color: var(--bleu); }
.hand.jaune-stroke {
  color: var(--bleu-fonce);
  background: linear-gradient(transparent 60%, var(--jaune-fluo) 60%);
  padding: 0 .15em;
}

/* Surligneur fluo passé sur un mot */
.fluo {
  background: linear-gradient(transparent 55%, var(--jaune-fluo) 55%);
  padding: 0 .15em;
  display: inline;
}
.fluo.rose { background: linear-gradient(transparent 55%, var(--rose-pale) 55%); }
.fluo.bleu { background: linear-gradient(transparent 55%, var(--bleu-pale) 55%); }

/* Eyebrow style "tampon" */
.eyebrow {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--rose-fonce);
  padding: 6px 14px;
  border: 1.5px dashed currentColor;
  border-radius: var(--r-sm);
  transform: rotate(-1deg);
  margin-bottom: 22px;
}
.eyebrow.bleu { color: var(--bleu); }
.eyebrow.jaune { color: var(--jaune-fonce); }

/* Manuscrit annoté */
.note {
  display: inline-block;
  font-family: var(--ff-hand);
  color: var(--bleu);
  font-size: 1.3em;
  transform: rotate(-2deg);
}

/* ---------- LAYOUT ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  position: relative;
  z-index: 2;
}
section {
  padding: clamp(60px, 9vw, 110px) 0;
  position: relative;
}

/* Sections avec petit fond légèrement différent */
.bg-papier { background: var(--papier); }
.bg-papier-2 { background: var(--papier-2); }
.bg-papier-3 { background: var(--papier-3); }
.bg-rose { background: var(--rose-pale); }
.bg-bleu { background: var(--bleu-pale); }
.bg-jaune { background: var(--jaune-pale); }
.bg-dark { background: var(--bleu-fonce); color: var(--papier); }
.bg-dark h2, .bg-dark h3 { color: var(--blanc); }

/* ---------- HEADER ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 246, 232, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px dashed rgba(20, 44, 92, .15);
}
.nav-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform var(--t-fast);
}
.brand:hover { transform: rotate(-3deg); }
.brand img { height: 50px; width: auto; max-width: 170px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--ff-display);
  font-size: .95rem;
  font-weight: 500;
  color: var(--encre);
  padding: 8px 14px;
  position: relative;
  white-space: nowrap;
  transition: color var(--t-fast);
}
.nav a:not(.nav-cta):hover { color: var(--rose-fonce); }
.nav a.active:not(.nav-cta) {
  color: var(--rose-fonce);
}
.nav a.active:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px;
  bottom: 2px;
  height: 8px;
  background: var(--jaune-fluo);
  z-index: -1;
}
.nav-cta {
  background: var(--bleu-fonce);
  color: var(--papier) !important;
  padding: 10px 20px !important;
  border-radius: var(--r-md);
  margin-left: 8px;
  transition: all var(--t-fast);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.nav-cta:hover {
  background: var(--rose-fonce);
  transform: rotate(-2deg);
}

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--encre);
  background: var(--papier);
  color: var(--encre);
  position: relative;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 99px;
  position: absolute;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.burger span:nth-child(1) { transform: translateY(-5px); }
.burger span:nth-child(3) { transform: translateY(5px); }
.burger.is-open span:nth-child(1) { transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: rotate(-45deg); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1rem;
  border-radius: var(--r-md);
  background: var(--bleu-fonce);
  color: var(--papier);
  text-decoration: none;
  border: 1.5px solid var(--bleu-fonce);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  white-space: nowrap;
  position: relative;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-2px) rotate(-1deg);
  box-shadow: var(--sh-paper);
}
.btn svg { width: 18px; height: 18px; transition: transform var(--t-fast); }
.btn:hover svg { transform: translateX(3px); }

.btn-rose { background: var(--rose-fonce); border-color: var(--rose-fonce); color: var(--blanc); }
.btn-jaune { background: var(--jaune); border-color: var(--jaune); color: var(--bleu-fonce); }
.btn-bleu { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); }
.btn-ghost {
  background: transparent;
  color: var(--bleu-fonce);
  border-color: var(--bleu-fonce);
}
.btn-ghost:hover { background: var(--bleu-fonce); color: var(--papier); }

.btn-lg { padding: 17px 32px; font-size: 1.1rem; }

/* ---------- COMPOSANTS SCRAPBOOK ---------- */

/* Washi tape : ruban de masquage en haut d'un élément */
.tape-top, .tape-bottom {
  position: relative;
}
.tape-top::before, .tape-bottom::after {
  content: "";
  position: absolute;
  width: 100px; height: 26px;
  background: var(--jaune);
  opacity: .75;
  border-radius: 2px;
  box-shadow: 0 4px 10px rgba(244, 192, 26, .25);
  pointer-events: none;
  z-index: 4;
}
.tape-top::before {
  top: -12px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
}
.tape-bottom::after {
  bottom: -12px; left: 50%;
  transform: translateX(-50%) rotate(2deg);
}
.tape-top.rose::before { background: rgba(255, 95, 196, .55); }
.tape-top.bleu::before { background: rgba(63, 115, 197, .55); }
.tape-top.left::before { left: 28px; transform: rotate(-8deg); }
.tape-top.right::before { left: auto; right: 28px; transform: rotate(8deg); }

/* Push pin (punaise) en haut d'une carte */
.pin {
  position: relative;
}
.pin::before {
  content: "";
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 14px;
  background: radial-gradient(circle at 35% 35%, #fff5a0, var(--jaune-fonce));
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(60, 40, 20, .35);
  z-index: 5;
}
.pin.rose::before { background: radial-gradient(circle at 35% 35%, #ffb0e0, var(--rose-fonce)); }
.pin.bleu::before { background: radial-gradient(circle at 35% 35%, #a0c4ff, var(--bleu-fonce)); }

/* Polaroïd photo */
.polaroid {
  display: inline-block;
  background: var(--blanc);
  padding: 14px 14px 60px;
  box-shadow: var(--sh-paper-lg);
  position: relative;
  transition: transform var(--t-bounce);
}
.polaroid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(60, 40, 20, .04));
  pointer-events: none;
}
.polaroid img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4/5; }
.polaroid .caption {
  position: absolute;
  bottom: 18px; left: 0; right: 0;
  font-family: var(--ff-hand);
  font-size: 1.4rem;
  color: var(--bleu-fonce);
  text-align: center;
}

/* Sticky note (post-it) */
.sticky {
  display: block;
  background: var(--jaune);
  padding: 20px 22px 24px;
  font-family: var(--ff-hand);
  font-size: 1.35rem;
  color: var(--bleu-fonce);
  line-height: 1.25;
  position: relative;
  box-shadow: 0 8px 18px rgba(60, 40, 20, .12);
  transform: rotate(-2deg);
  transition: transform var(--t-bounce);
  max-width: 260px;
}
.sticky:hover { transform: rotate(0) translateY(-2px); }
.sticky::before {
  content: "";
  position: absolute;
  top: -8px; left: 30%;
  width: 70px; height: 16px;
  background: rgba(255, 255, 255, .55);
  border-radius: 2px;
  transform: rotate(-3deg);
}
.sticky.rose { background: var(--rose-pale); color: var(--rose-fonce); transform: rotate(2deg); }
.sticky.bleu { background: var(--bleu-pale); color: var(--bleu-fonce); transform: rotate(-1deg); }

/* Carte papier (sheet) */
.sheet {
  background: var(--blanc);
  padding: 32px;
  box-shadow: var(--sh-paper);
  position: relative;
  transition: transform var(--t-med), box-shadow var(--t-med);
  border-radius: var(--r-xs);
}
.sheet:hover {
  transform: translateY(-3px) rotate(-.4deg);
  box-shadow: var(--sh-paper-lg);
}
.sheet::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--rose), var(--jaune), var(--bleu));
}

/* Index card (fiche bristol) - lignée comme un cahier */
.index-card {
  background: var(--blanc);
  padding: 32px 28px 28px;
  box-shadow: var(--sh-paper);
  position: relative;
  background-image:
    linear-gradient(transparent 60px, var(--bleu-pale) 60px, var(--bleu-pale) 61px, transparent 61px),
    repeating-linear-gradient(transparent 0, transparent 29px, rgba(63, 115, 197, .15) 29px, rgba(63, 115, 197, .15) 30px);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.index-card::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 56px;
  width: 1px;
  background: var(--rose-pale);
}
.index-card:hover { transform: rotate(-.5deg); box-shadow: var(--sh-paper-lg); }
.index-card h3 { padding-left: 36px; margin-bottom: 12px; }
.index-card p, .index-card ul { padding-left: 36px; }

/* Flèche manuscrite */
.arrow {
  display: inline-block;
  font-family: var(--ff-hand);
  color: var(--rose-fonce);
  font-size: 1.4rem;
}
.arrow::after { content: " →"; }
.arrow-svg {
  width: 80px;
  height: 60px;
  display: inline-block;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 60' fill='none'><path d='M4 50 Q 30 4 70 24 M 60 12 L 72 24 L 56 32' stroke='%23e83f9f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}
.arrow-svg.bleu { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 60' fill='none'><path d='M4 50 Q 30 4 70 24 M 60 12 L 72 24 L 56 32' stroke='%233f73c5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }

/* Doodle étoile dessinée */
.doodle-star {
  display: inline-block;
  width: 40px; height: 40px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none'><path d='M20 4 L23 16 L35 16 L26 23 L29 35 L20 28 L11 35 L14 23 L5 16 L17 16 Z' stroke='%23e83f9f' stroke-width='2' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}
.doodle-star.bleu { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none'><path d='M20 4 L23 16 L35 16 L26 23 L29 35 L20 28 L11 35 L14 23 L5 16 L17 16 Z' stroke='%233f73c5' stroke-width='2' stroke-linejoin='round'/></svg>"); }
.doodle-star.fill { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'><path d='M20 4 L23 16 L35 16 L26 23 L29 35 L20 28 L11 35 L14 23 L5 16 L17 16 Z' fill='%23ffdd55'/></svg>"); }

/* Squiggle dessiné */
.doodle-squiggle {
  width: 100px; height: 30px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30' fill='none'><path d='M2 18 Q 18 -2 36 15 T 70 13 T 98 16' stroke='%23e83f9f' stroke-width='2.5' stroke-linecap='round'/></svg>") center / contain no-repeat;
}
.doodle-squiggle.bleu { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30' fill='none'><path d='M2 18 Q 18 -2 36 15 T 70 13 T 98 16' stroke='%233f73c5' stroke-width='2.5' stroke-linecap='round'/></svg>"); }
.doodle-squiggle.jaune { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30' fill='none'><path d='M2 18 Q 18 -2 36 15 T 70 13 T 98 16' stroke='%23f4c01a' stroke-width='2.5' stroke-linecap='round'/></svg>"); }

/* Cercle dessiné main */
.doodle-circle {
  width: 100px; height: 100px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none'><path d='M52 8 C 75 8 92 28 92 50 C 92 78 70 92 48 92 C 22 92 6 74 8 48 C 10 28 28 6 52 8 Z' stroke='%23ff5fc4' stroke-width='2.5' stroke-linecap='round'/></svg>") center / contain no-repeat;
}

/* Soulignement dessiné */
.doodle-underline {
  position: relative;
}
.doodle-underline::after {
  content: "";
  position: absolute;
  left: -5%; right: -5%;
  bottom: -6px;
  height: 10px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' fill='none' preserveAspectRatio='none'><path d='M3 6 Q 50 0 100 5 T 197 4' stroke='%23e83f9f' stroke-width='2.5' stroke-linecap='round'/></svg>") center / 100% 100% no-repeat;
}
.doodle-underline.bleu::after { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' fill='none' preserveAspectRatio='none'><path d='M3 6 Q 50 0 100 5 T 197 4' stroke='%233f73c5' stroke-width='2.5' stroke-linecap='round'/></svg>"); }

/* ---------- HERO ---------- */
.hero {
  padding: clamp(50px, 8vw, 100px) 0 clamp(70px, 10vw, 130px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-text { position: relative; z-index: 2; }
.hero-text h1 { margin: 12px 0 24px; }
.hero-text h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  font-weight: 500;
  color: var(--encre-2);
  margin-bottom: 22px;
  max-width: 540px;
  font-style: italic;
}
.hero-text p {
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 16px;
  color: var(--encre-2);
}
.hero-text strong { color: var(--encre); font-weight: 700; }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 460px;
}
.hero-polaroid {
  position: absolute;
  inset: 0;
  background: var(--blanc);
  padding: 18px 18px 80px;
  box-shadow: var(--sh-paper-lg);
  transform: rotate(-3deg);
  transition: transform var(--t-bounce);
}
.hero-polaroid:hover { transform: rotate(0); }
.hero-polaroid img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}
.hero-polaroid .caption {
  position: absolute;
  bottom: 24px; left: 0; right: 0;
  font-family: var(--ff-hand);
  font-size: 1.6rem;
  color: var(--bleu-fonce);
  text-align: center;
}
.hero-polaroid::before {
  content: "";
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 120px; height: 32px;
  background: rgba(255, 221, 85, .8);
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(244, 192, 26, .3);
  z-index: 3;
}

/* Décos hero */
.hero-deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

/* ---------- SECTION HEAD ---------- */
.section-head {
  max-width: 820px;
  margin: 0 auto clamp(40px, 6vw, 60px);
  text-align: center;
}
.section-head h2 { margin-bottom: 18px; }
.section-head p {
  font-size: 1.08rem;
  color: var(--encre-2);
  max-width: 60ch;
  margin: 0 auto;
  font-style: italic;
}

/* ---------- GRID ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- PILIERS (style fiches accrochées) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 24px;
}
.pillar {
  background: var(--blanc);
  padding: 36px 30px 30px;
  box-shadow: var(--sh-paper);
  position: relative;
  transition: transform var(--t-bounce), box-shadow var(--t-bounce);
}
.pillar:nth-child(1) { transform: rotate(-2deg); }
.pillar:nth-child(2) { transform: rotate(1deg); }
.pillar:nth-child(3) { transform: rotate(-1deg); }
.pillar:hover { transform: rotate(0) translateY(-4px); box-shadow: var(--sh-paper-lg); }
.pillar::before {
  content: "";
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 14px;
  background: radial-gradient(circle at 35% 35%, #fff5a0, var(--jaune-fonce));
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(60, 40, 20, .35);
  z-index: 2;
}
.pillar:nth-child(2)::before { background: radial-gradient(circle at 35% 35%, #ffb0e0, var(--rose-fonce)); }
.pillar:nth-child(3)::before { background: radial-gradient(circle at 35% 35%, #a0c4ff, var(--bleu-fonce)); }
.pillar-num {
  font-family: var(--ff-hand);
  font-size: 3.6rem;
  color: var(--rose);
  position: absolute;
  top: 12px; right: 22px;
  transform: rotate(-8deg);
  line-height: 1;
}
.pillar-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  display: inline-block;
  filter: drop-shadow(2px 2px 0 rgba(60, 40, 20, .12));
}
.pillar h3 {
  font-family: var(--ff-display);
  margin-bottom: 12px;
  color: var(--bleu-fonce);
}
.pillar p { color: var(--encre-2); margin-bottom: 18px; font-size: .98rem; }
.pillar .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rose-fonce);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: .95rem;
  transition: gap var(--t-fast);
}
.pillar .card-link:hover { gap: 12px; }

/* ---------- SERVICES MINI (cartes index lignées) ---------- */
.services-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.service-mini {
  background: var(--blanc);
  padding: 24px 20px;
  box-shadow: var(--sh-paper-sm);
  text-align: center;
  position: relative;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.service-mini:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: var(--sh-paper); }
.service-mini::before {
  content: "";
  position: absolute;
  top: 0; left: 16px; right: 16px;
  height: 3px;
  background: var(--rose);
}
.service-mini:nth-child(2)::before { background: var(--bleu); }
.service-mini:nth-child(3)::before { background: var(--jaune-fonce); }
.service-mini:nth-child(4)::before { background: var(--rose); }
.service-mini:nth-child(5)::before { background: var(--bleu); }
.service-mini .em {
  font-size: 1.9rem;
  margin-bottom: 12px;
  display: block;
}
.service-mini h3 {
  font-family: var(--ff-display);
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.service-mini p { font-size: .88rem; color: var(--encre-2); }

/* ---------- VALEURS ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-item {
  background: var(--blanc);
  padding: 26px 24px;
  box-shadow: var(--sh-paper-sm);
  position: relative;
  transition: transform var(--t-fast);
}
.value-item:hover { transform: rotate(-1deg) translateY(-2px); }
.value-item::before {
  content: "♡";
  position: absolute;
  top: 14px; right: 16px;
  font-family: var(--ff-hand);
  color: var(--rose);
  font-size: 1.3rem;
}
.value-item:nth-child(2)::before { content: "✦"; color: var(--bleu); }
.value-item:nth-child(3)::before { content: "☼"; color: var(--jaune-fonce); }
.value-item:nth-child(4)::before { content: "★"; color: var(--rose-fonce); }
.value-item .em {
  font-size: 1.7rem;
  margin-bottom: 14px;
  display: block;
}
.value-item h3 {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.value-item p { font-size: .92rem; color: var(--encre-2); }

/* ---------- STATS ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.stat {
  background: var(--blanc);
  padding: 30px 18px;
  text-align: center;
  box-shadow: var(--sh-paper-sm);
  position: relative;
  transition: transform var(--t-fast);
}
.stat:nth-child(1) { transform: rotate(-1deg); }
.stat:nth-child(2) { transform: rotate(.8deg); }
.stat:nth-child(3) { transform: rotate(-.5deg); }
.stat:nth-child(4) { transform: rotate(1deg); }
.stat:hover { transform: rotate(0) translateY(-3px); }
.stat-num {
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1;
  color: var(--rose-fonce);
  display: block;
}
.stat:nth-child(2) .stat-num { color: var(--bleu); }
.stat:nth-child(3) .stat-num { color: var(--jaune-fonce); }
.stat:nth-child(4) .stat-num { color: var(--bleu-fonce); }
.stat-label {
  margin-top: 8px;
  font-family: var(--ff-hand);
  font-size: 1.1rem;
  color: var(--encre);
  display: block;
}

/* ---------- TIMELINE (style "frise dessinée") ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 56px;
  left: 8%; right: 8%;
  height: 30px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 30' fill='none' preserveAspectRatio='none'><path d='M5 18 Q 100 -5 200 15 T 400 13 T 600 17 T 800 14 T 995 16' stroke='%23e83f9f' stroke-width='2' stroke-dasharray='5 6' stroke-linecap='round'/></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step .step-icon {
  width: 96px; height: 96px;
  background: var(--blanc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  margin: 0 auto 18px;
  box-shadow: var(--sh-paper);
  position: relative;
  transform: rotate(-3deg);
  transition: transform var(--t-bounce);
}
.step:hover .step-icon { transform: rotate(3deg); }
.step:nth-child(odd) .step-icon { transform: rotate(2deg); }
.step:hover .step-icon { transform: rotate(0) scale(1.06); }
.step .step-icon::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed var(--rose);
  opacity: .5;
}
.step:nth-child(2) .step-icon::before { border-color: var(--bleu); }
.step:nth-child(3) .step-icon::before { border-color: var(--jaune-fonce); }
.step:nth-child(4) .step-icon::before { border-color: var(--rose-fonce); }
.step:nth-child(5) .step-icon::before { border-color: var(--bleu); }
.step h3 {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.step p {
  font-size: .9rem;
  color: var(--encre-2);
}

/* ---------- PROCESS ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step {
  background: var(--blanc);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--sh-paper-sm);
  transition: transform var(--t-fast);
  position: relative;
}
.process-step:nth-child(1) { transform: rotate(-1deg); }
.process-step:nth-child(2) { transform: rotate(.8deg); }
.process-step:nth-child(3) { transform: rotate(-.6deg); }
.process-step:nth-child(4) { transform: rotate(1deg); }
.process-step:hover { transform: rotate(0) translateY(-4px); }
.process-step .num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--rose-fonce);
  color: var(--blanc);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
}
.process-step .num::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed currentColor;
  opacity: .35;
}
.process-step:nth-child(2) .num { background: var(--bleu); }
.process-step:nth-child(3) .num { background: var(--jaune); color: var(--bleu-fonce); }
.process-step:nth-child(4) .num { background: var(--rose); }
.process-step h3 {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.process-step p { font-size: .92rem; color: var(--encre-2); }

/* ---------- QUOTE (sticky note XL) ---------- */
.quote-card {
  background: var(--jaune);
  padding: clamp(36px, 5vw, 60px);
  font-family: var(--ff-hand);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  line-height: 1.25;
  color: var(--bleu-fonce);
  position: relative;
  box-shadow: var(--sh-paper-lg);
  transform: rotate(-1.5deg);
  max-width: 800px;
  margin: 0 auto;
  transition: transform var(--t-bounce);
}
.quote-card:hover { transform: rotate(0); }
.quote-card::before {
  content: "";
  position: absolute;
  top: -12px; left: 30%;
  width: 110px; height: 26px;
  background: rgba(255, 255, 255, .55);
  border-radius: 3px;
  transform: rotate(-3deg);
}
.quote-card cite {
  display: block;
  font-family: var(--ff-display);
  font-style: normal;
  font-size: 1rem;
  font-weight: 500;
  color: var(--rose-fonce);
  margin-top: 20px;
  text-align: right;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 24px;
}
.testimonial {
  background: var(--blanc);
  padding: 32px 28px;
  box-shadow: var(--sh-paper);
  position: relative;
  transition: transform var(--t-bounce);
  display: flex;
  flex-direction: column;
}
.testimonial:nth-child(1) { transform: rotate(-1.5deg); }
.testimonial:nth-child(2) { transform: rotate(1deg); background: var(--rose-pale); }
.testimonial:nth-child(3) { transform: rotate(-.8deg); background: var(--bleu-pale); }
.testimonial:hover { transform: rotate(0) translateY(-4px); }
.testimonial::before {
  content: "";
  position: absolute;
  top: -10px; left: 30%;
  width: 80px; height: 18px;
  background: rgba(255, 221, 85, .6);
  border-radius: 2px;
  transform: rotate(-3deg);
  z-index: 2;
}
.testimonial:nth-child(2)::before { background: rgba(255, 95, 196, .45); }
.testimonial:nth-child(3)::before { background: rgba(63, 115, 197, .45); }
.testimonial .stars {
  color: var(--jaune-fonce);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testimonial p {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--encre);
  margin-bottom: 20px;
}
.testimonial .who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed rgba(20, 44, 92, .2);
}
.testimonial .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--jaune);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--bleu-fonce);
}
.testimonial:nth-child(2) .avatar { background: var(--rose); color: var(--blanc); }
.testimonial:nth-child(3) .avatar { background: var(--bleu); color: var(--blanc); }
.testimonial .name {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: .98rem;
}
.testimonial .role {
  font-size: .85rem;
  color: var(--encre-clair);
  font-family: var(--ff-hand);
  font-size: 1.05rem;
}

/* ---------- PUBLICS ---------- */
.publics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.public-card {
  background: var(--blanc);
  padding: 26px 18px;
  text-align: center;
  box-shadow: var(--sh-paper-sm);
  transition: transform var(--t-fast);
}
.public-card:hover { transform: rotate(-2deg) translateY(-3px); }
.public-card .em { font-size: 2.4rem; margin-bottom: 10px; display: block; }
.public-card h4 {
  font-family: var(--ff-display);
  font-size: 1rem;
}

/* ---------- UNIVERS (style page de garde noire) ---------- */
.universe {
  background: var(--bleu-fonce);
  color: var(--papier);
  position: relative;
  overflow: hidden;
}
.universe::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 20%, rgba(255,221,85,.7) 50%, transparent 50%),
    radial-gradient(2px 2px at 28% 70%, rgba(255,95,196,.6) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 45% 25%, rgba(255,255,255,.6) 50%, transparent 50%),
    radial-gradient(2px 2px at 62% 55%, rgba(255,221,85,.5) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 78% 18%, rgba(255,255,255,.5) 50%, transparent 50%),
    radial-gradient(2px 2px at 85% 75%, rgba(255,95,196,.5) 50%, transparent 50%);
  pointer-events: none;
}
.universe-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.universe-logo {
  background: var(--blanc);
  padding: 32px;
  text-align: center;
  box-shadow: var(--sh-paper-lg);
  transform: rotate(-3deg);
  transition: transform var(--t-bounce);
  position: relative;
}
.universe-logo:hover { transform: rotate(0); }
.universe-logo::before {
  content: "";
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 120px; height: 28px;
  background: rgba(255, 221, 85, .7);
  border-radius: 3px;
}
.universe-logo img { max-width: 240px; margin: 0 auto; }
.universe h2 { color: var(--blanc); margin-bottom: 18px; }
.universe h2 span.a { color: var(--rose); }
.universe h2 span.b { color: var(--jaune); }
.universe p { color: rgba(255, 250, 230, .85); margin-bottom: 16px; }
.universe-quote-c {
  font-family: var(--ff-hand);
  font-size: 1.4rem;
  color: var(--jaune);
  padding: 22px;
  border-left: 3px solid var(--jaune);
  margin-top: 24px;
  background: rgba(255, 221, 85, .08);
}

/* ---------- BOOK FEATURE (Tisto) ---------- */
.book-feature {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 50px;
  align-items: center;
}
.book-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 380px;
  background: var(--blanc);
  padding: 22px 22px 80px;
  box-shadow: var(--sh-paper-lg);
  transform: rotate(-4deg);
  transition: transform var(--t-bounce);
}
.book-cover::before {
  content: "";
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 120px; height: 28px;
  background: rgba(255, 95, 196, .55);
  border-radius: 3px;
}
.book-feature:hover .book-cover { transform: rotate(0); }
.book-cover-inner {
  background: var(--rose-pale);
  width: 100%; height: 100%;
  padding: 32px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.book-cover-inner .mini-logo {
  font-family: var(--ff-mono);
  color: var(--rose-fonce);
  font-size: .95rem;
  letter-spacing: .18em;
  margin-bottom: 14px;
}
.book-cover-inner h3 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 12px;
  color: var(--bleu-fonce);
}
.book-cover-inner .sub {
  font-family: var(--ff-hand);
  font-size: 1.25rem;
  color: var(--bleu);
  margin-bottom: 16px;
}
.book-cover-inner .price-tag {
  display: inline-block;
  background: var(--jaune);
  color: var(--bleu-fonce);
  font-family: var(--ff-display);
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 1.05rem;
  box-shadow: 0 4px 10px rgba(244, 192, 26, .3);
  transform: rotate(-4deg);
}
.book-cover .caption {
  position: absolute;
  bottom: 22px; left: 0; right: 0;
  font-family: var(--ff-hand);
  font-size: 1.4rem;
  color: var(--rose-fonce);
  text-align: center;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: var(--blanc);
  box-shadow: var(--sh-paper-sm);
  overflow: hidden;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  border-left: 4px solid var(--rose);
}
.faq-item:nth-child(2n) { border-left-color: var(--bleu); }
.faq-item:nth-child(3n) { border-left-color: var(--jaune-fonce); }
.faq-item:hover { box-shadow: var(--sh-paper); transform: translateX(2px); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 26px;
  text-align: left;
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bleu-fonce);
}
.faq-q .plus {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform var(--t-bounce), background var(--t-fast), color var(--t-fast);
}
.faq-item.is-open .faq-q .plus {
  transform: rotate(45deg);
  background: var(--rose-fonce);
  color: var(--blanc);
  border-color: var(--rose-fonce);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-med);
}
.faq-a-inner {
  padding: 0 26px 22px;
  color: var(--encre-2);
  font-size: 1rem;
}

/* ---------- FORM ---------- */
.form-card {
  background: var(--blanc);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--sh-paper-lg);
  position: relative;
  border-top: 6px solid;
  border-image: linear-gradient(90deg, var(--rose), var(--jaune), var(--bleu)) 1;
}
.form-row { display: grid; gap: 18px; margin-bottom: 20px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--ff-display);
  font-size: .92rem;
  font-weight: 600;
  color: var(--bleu-fonce);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(20, 44, 92, .15);
  background: var(--papier);
  font-family: inherit;
  font-size: 1rem;
  color: var(--encre);
  border-radius: var(--r-xs);
  transition: border var(--t-fast), background var(--t-fast);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0;
  border-color: var(--rose-fonce);
  background: var(--blanc);
}
.field textarea { min-height: 140px; resize: vertical; }
.field .err { font-size: .85rem; color: var(--rose-fonce); display: none; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--rose-fonce); }
.field.has-error .err { display: block; }
.form-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--encre-2);
  margin-bottom: 22px;
}
.form-consent input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--rose-fonce); }
.form-success {
  display: none;
  background: var(--jaune-pale);
  padding: 26px;
  text-align: center;
  font-family: var(--ff-hand);
  font-size: 1.3rem;
  color: var(--bleu-fonce);
}
.form-card.is-sent .form-success { display: block; }
.form-card.is-sent form { display: none; }

/* ---------- CONTACT BLOCKS ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: start;
}
.contact-block {
  background: var(--blanc);
  padding: 22px 26px;
  box-shadow: var(--sh-paper-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
  transition: transform var(--t-fast);
  position: relative;
}
.contact-block:nth-child(1) { transform: rotate(-1deg); }
.contact-block:nth-child(2) { transform: rotate(.8deg); }
.contact-block:nth-child(3) { transform: rotate(-.6deg); }
.contact-block:nth-child(4) { transform: rotate(.5deg); }
.contact-block:hover { transform: rotate(0); }
.contact-block::before {
  content: "";
  position: absolute;
  top: -8px; left: 24px;
  width: 12px; height: 12px;
  background: radial-gradient(circle at 35% 35%, #fff5a0, var(--jaune-fonce));
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(60, 40, 20, .35);
}
.contact-block:nth-child(2)::before { background: radial-gradient(circle at 35% 35%, #ffb0e0, var(--rose-fonce)); }
.contact-block:nth-child(3)::before { background: radial-gradient(circle at 35% 35%, #a0c4ff, var(--bleu-fonce)); }
.contact-block:nth-child(4)::before { background: radial-gradient(circle at 35% 35%, #fff5a0, var(--jaune-fonce)); }
.contact-block .icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--papier-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-block h3 {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.contact-block p, .contact-block a {
  font-size: .94rem;
  color: var(--encre-2);
}
.contact-block a { color: var(--rose-fonce); font-weight: 600; }

/* ---------- TAG / RIBBON ---------- */
.tag {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rose-fonce);
  padding: 5px 12px;
  border: 1.5px dashed currentColor;
  border-radius: var(--r-xs);
}
.tag.bleu { color: var(--bleu); }
.tag.jaune { color: var(--jaune-fonce); }

/* ---------- CTA BANDEAU ---------- */
.cta-band {
  background: var(--rose-fonce);
  color: var(--blanc);
  position: relative;
  text-align: center;
  padding: clamp(60px, 8vw, 90px) 0;
}
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.cta-band::before {
  top: 12%; left: 8%;
  width: 60px; height: 60px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60' fill='none'><path d='M30 6 L34 24 L52 24 L38 34 L42 52 L30 42 L18 52 L22 34 L8 24 L26 24 Z' stroke='%23ffdd55' stroke-width='2'/></svg>") center / contain no-repeat;
  animation: spin 14s linear infinite;
}
.cta-band::after {
  bottom: 14%; right: 10%;
  width: 80px; height: 80px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' fill='none'><circle cx='40' cy='40' r='34' stroke='white' stroke-width='2' stroke-dasharray='5 6'/></svg>") center / contain no-repeat;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cta-band h2 { color: var(--blanc); margin-bottom: 14px; }
.cta-band p { max-width: 640px; margin: 0 auto 30px; font-size: 1.1rem; opacity: .94; }
.cta-band .btn { background: var(--jaune); color: var(--bleu-fonce); border-color: var(--jaune); }
.cta-band .btn-ghost { background: transparent; color: var(--blanc); border-color: var(--blanc); }
.cta-band .btn-ghost:hover { background: var(--blanc); color: var(--rose-fonce); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bleu-fonce);
  color: rgba(255, 250, 230, .85);
  padding: 60px 0 30px;
  position: relative;
  border-top: 1px dashed rgba(255, 221, 85, .3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { max-width: 320px; }
.footer-brand h3 {
  color: var(--blanc);
  font-family: var(--ff-display);
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.footer-brand .tagline {
  font-family: var(--ff-hand);
  color: var(--jaune);
  font-size: 1.15rem;
  margin-bottom: 14px;
  display: block;
}
.footer-brand p { font-size: .94rem; opacity: .8; margin-bottom: 18px; }
.footer h4 {
  font-family: var(--ff-mono);
  font-size: .85rem;
  letter-spacing: .12em;
  color: var(--jaune);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer ul a {
  color: rgba(255, 250, 230, .85);
  font-size: .94rem;
  transition: color var(--t-fast);
}
.footer ul a:hover { color: var(--rose); }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanc);
  transition: all var(--t-fast);
}
.footer-social a:hover { background: var(--rose); transform: rotate(-6deg); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  padding-top: 22px;
  border-top: 1px dashed rgba(255, 250, 230, .15);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .85rem;
  opacity: .7;
}

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s cubic-bezier(.34, 1.56, .64, 1), transform .6s cubic-bezier(.34, 1.56, .64, 1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(.92); }
.reveal-left.in, .reveal-right.in, .reveal-scale.in { transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }
.delay-5 { transition-delay: .4s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  :root { --pad-x: clamp(18px, 4vw, 60px); }
  body::before { left: clamp(20px, 4vw, 60px); }
  .grid-4, .grid-5, .stats, .values-grid, .publics, .process, .services-row { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 50px; }
  .timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    position: fixed;
    inset: 76px 0 0 0;
    background: rgba(253, 246, 232, .97);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: stretch;
    padding: 24px var(--pad-x);
    gap: 8px;
    overflow-y: auto;
    z-index: 99;
  }
  .nav.is-open a {
    padding: 16px 22px;
    font-size: 1.1rem;
    white-space: normal;
    border-bottom: 1px dashed rgba(20, 44, 92, .15);
  }
  .nav-cta { margin: 12px 0 0 !important; text-align: center; justify-content: center; }
  .burger { display: flex; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 920px) {
  .hero-grid, .universe-grid, .contact-grid, .book-feature { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 1 / 1; max-width: 460px; width: calc(100% - 50px); margin: 24px auto; min-height: auto; }
  .book-cover { max-width: 320px; margin: 0 auto; transform: none; }
  .pillar, .pillar:nth-child(2), .pillar:nth-child(3) { transform: rotate(0); }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  :root { --pad-x: 18px; }
  body::before { left: 16px; }
  h1 { font-size: clamp(2.3rem, 10vw, 3.4rem); }
  h2 { font-size: clamp(1.8rem, 7.5vw, 2.4rem); }
  .grid-2, .grid-3, .grid-4, .grid-5,
  .stats, .values-grid, .publics, .process,
  .pillars, .testimonials, .services-row,
  .form-row.two,
  .timeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  section { padding: 50px 0; }
  .hero { padding: 30px 0 50px; }
  .hero-visual { width: calc(100% - 30px); max-width: 340px; min-height: 380px; aspect-ratio: 4/5; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .quote-card { padding: 28px; transform: rotate(0); }
  .pillar, .stat, .process-step, .testimonial,
  .pillar:nth-child(n), .stat:nth-child(n),
  .process-step:nth-child(n), .testimonial:nth-child(n) {
    transform: rotate(0);
  }
  .universe-logo { transform: rotate(0); padding: 24px; }
  .universe-logo img { max-width: 200px; }
  .book-cover { max-width: 280px; transform: rotate(0); padding: 16px 16px 60px; }
  .nav-wrap { padding: 10px 18px; }
  .brand img { height: 42px; max-width: 150px; }
  .cta-band::before, .cta-band::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
