/* Legacy of Children Foundation — design system
   Valeurs reprises telles quelles du prototype Claude Design. */

:root {
  --ground: #FFFCF5;
  --ink: #16161D;
  --body: #3C3C46;
  --muted: #6B6B76;
  --muted-2: #4A4A55;
  --line: #EDE7D9;
  --white: #fff;

  --blue: #1D4ED8;
  --blue-deep: #1B2A6B;
  --orange: #FF6B4A;
  --amber: #E5A200;
  --yellow: #FFC93C;
  --purple: #6D3BD6;

  --tint-blue: #F1F4FF;
  --tint-yellow: #FFF3D1;
  --tint-orange: #FFE9E3;
  --tint-purple: #EFE7FF;

  --on-dark: #D9D9E0;
  --on-dark-dim: #9C9CA8;
  --on-blue: #DDE6FF;

  --r-sm: 14px;
  --r-md: 18px;
  --r-lg: 22px;
  --r-card: 24px;
  --r-xl: 26px;
  --r-2xl: 32px;
  --pill: 999px;

  --pad-section: clamp(40px, 6vw, 80px);
  --gap-col: clamp(24px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--ink); }
html { scroll-behavior: smooth; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
}
.skip-link:focus { left: 0; color: var(--white); }

.shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

/* ── En-tête ─────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  background: rgba(255, 252, 245, 0.92);
  backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex: none;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }

/* Le nom est manuscrit ; le descriptif reste en Outfit pour rester lisible. */
.brand-name {
  font-family: "Caveat", "Segoe Script", cursive;
  font-weight: 700;
  font-size: 27px;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
.brand-suffix {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* Sur petit écran, la signature reste visible avec le mot-symbole. */
@media (max-width: 560px) {
  .brand-suffix { display: block; }
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  font-size: 14.5px;
  font-weight: 500;
}
.site-nav a:not(.btn) { color: var(--muted-2); }
.site-nav a:not(.btn):hover { color: var(--ink); }

/* ── Boutons ─────────────────────────────────────────── */

.btn {
  display: inline-block;
  border-radius: var(--pill);
  font-weight: 600;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn-sm { padding: 9px 18px; font-size: 14.5px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }

.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--blue); color: var(--white); }

.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--ink); color: var(--white); }

.btn-outline {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* ── Typographie ─────────────────────────────────────── */

.tw { text-wrap: pretty; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow-yellow { color: var(--yellow); }

.h1 {
  margin: 18px 0 0;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.h2-sm {
  font-size: clamp(26px, 3.2vw, 40px);
}
.lede {
  margin: 22px 0 0;
  max-width: 34em;
  font-size: clamp(17px, 1.5vw, 19.5px);
  line-height: 1.6;
  color: var(--body);
}
.prose {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
}
.prose:last-child { margin-bottom: 0; }

.squiggle { margin: 16px 0 0; height: 14px; }

/* ── Mise en page ────────────────────────────────────── */

.section { padding: var(--pad-section) 0; }
.section-hero { padding: clamp(24px, 5vw, 56px) 0 clamp(32px, 6vw, 72px); }
.section-line { border-top: 1px solid var(--line); }

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap-col);
  align-items: start;
}
.two-col-center { align-items: center; }
.two-col-wide { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.two-col-tight { gap: clamp(24px, 4vw, 48px); }
/* Variante qui ne force pas une colonne plus large que l'écran. */
.two-col-safe { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

.stack { display: grid; gap: 14px; }
.stack-sm { display: grid; gap: 12px; }

/* ── Grilles d'images ────────────────────────────────── */

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.photo-grid img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--r-xl);
}
.photo-hero-tall { grid-row: span 2; height: 100%; min-height: 260px; }
.photo-hero-short { height: 100%; min-height: 130px; }

.photo-grid-sm img { border-radius: var(--r-lg); height: 200px; }
.photo-span-2 { grid-column: span 2; }
.photo-grid-sm .photo-span-2 { height: 190px; }

/* ── Bandeaux citation ───────────────────────────────── */

.band {
  position: relative;
  margin: clamp(16px, 3vw, 32px) 0;
  border-radius: var(--r-2xl);
  overflow: hidden;
}
.band > img { width: 100%; object-fit: cover; }
.band-tall > img { height: clamp(300px, 44vw, 480px); }
.band-short > img { height: clamp(260px, 36vw, 400px); }

.band-veil { position: absolute; inset: 0; }
.band-veil-side {
  background: linear-gradient(90deg, rgba(10,10,14,0.8) 0%, rgba(10,10,14,0.45) 62%, rgba(10,10,14,0.2) 100%);
}
.band-veil-up {
  background: linear-gradient(0deg, rgba(10,10,14,0.82) 0%, rgba(10,10,14,0.35) 100%);
}
.band-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 4vw, 44px);
}
.band-quote {
  margin: 0;
  max-width: 26em;
  color: var(--white);
  font-size: clamp(20px, 2.5vw, 33px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.band-quote-sm {
  max-width: 30em;
  font-size: clamp(19px, 2.3vw, 30px);
  line-height: 1.3;
}

.band-short > img {
  height: clamp(420px, 48vw, 560px);
}

.band-short .band-body {
  gap: 18px;
}

.band-quote-conclusion {
  color: var(--yellow);
}

/* ── Cartes ──────────────────────────────────────────── */

.card {
  padding: 24px;
  border-radius: var(--r-card);
}
.card h3 { margin: 0 0 8px; font-size: 18.5px; font-weight: 700; }
.card p  { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body); }
.card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
}
.card-blue   { background: var(--tint-blue); }
.card-yellow { background: var(--tint-yellow); }
.card-orange { background: var(--tint-orange); }

.card-note {
  padding: 18px 20px;
  border-radius: var(--r-md);
}
.card-note h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.card-note p  { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--body); }
.card-note-outline { border: 1px solid var(--line); background: var(--white); }
.card-note-outline h3 { font-size: 16.5px; }

.card-big {
  padding: 26px;
  border-radius: var(--r-xl);
}
.card-big h3 { margin: 0 0 10px; font-size: 19px; font-weight: 700; }
.card-big p  { margin: 0 0 14px; font-size: 16px; line-height: 1.6; color: var(--body); }
.card-big p:last-child { margin-bottom: 0; }
.card-big .emphasis { font-weight: 600; color: var(--ink); }

/* ── Modèle en cinq étapes ───────────────────────────── */

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 16px;
}
.step {
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
}
.step-num  { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.step h3    { margin: 0 0 8px; font-size: 19px; font-weight: 700; }
.step-desc  { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--body); }
.step-orange { border-top-color: var(--orange); }
.step-amber  { border-top-color: var(--amber); }
.step-purple { border-top-color: var(--purple); }
.step-dark {
  background: var(--ink);
  color: var(--white);
  border: none;
}
.step-dark .step-num { color: var(--on-dark-dim); }
.step-dark h3 { color: var(--yellow); }
.step-dark .step-desc { color: var(--on-dark); }

/* ── Pôles ───────────────────────────────────────────── */

.pole-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 18px;
}
.pole {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}
.pole img { width: 100%; height: 180px; object-fit: cover; }
.pole-body { padding: 22px; }
.pole h3 { margin: 12px 0 8px; font-size: 20px; font-weight: 700; }
.pole p  { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--body); }

.tag {
  display: inline-block;
  padding: 5px 11px;
  border-radius: var(--pill);
  font-size: 12.5px;
  font-weight: 700;
}
.tag-blue   { background: var(--tint-blue);   color: var(--blue); }
.tag-yellow { background: var(--tint-yellow); color: #7A5A00; }
.tag-purple { background: var(--tint-purple); color: var(--purple); }

/* ── Section sombre « Labs » ─────────────────────────── */

.dark-panel {
  padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 44px);
  border-radius: var(--r-2xl);
  background: var(--ink);
  color: var(--white);
}
.dark-panel .h2 { margin: 0 0 12px; }
.dark-lede {
  margin: 0 0 34px;
  max-width: 44em;
  font-size: 17px;
  line-height: 1.65;
  color: var(--on-dark);
}
.dark-panel h3 { margin: 0 0 16px; font-size: 19px; font-weight: 700; }
.dark-outro {
  margin: 26px 0 0;
  max-width: 46em;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--on-dark);
}

.ladder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 16px;
  margin-bottom: 38px;
}
.rung {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
}
.rung-title { margin: 0 0 8px; font-size: 22px; font-weight: 800; color: var(--yellow); }
.rung-desc  { margin: 0; font-size: 15px; line-height: 1.55; color: var(--on-dark); }
.rung-final { background: var(--blue); }
.rung-final .rung-title { color: var(--white); }
.rung-final .rung-desc  { color: var(--on-blue); }

/* ── Puces ───────────────────────────────────────────── */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chip-outline {
  padding: 9px 16px;
  border-radius: var(--pill);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  font-size: 14.5px;
  font-weight: 500;
  color: #EDEDF2;
}
.chip-solid {
  padding: 10px 18px;
  border-radius: var(--pill);
  background: var(--tint-blue);
  color: var(--blue-deep);
  font-size: 15.5px;
  font-weight: 600;
}
.chips-start { align-content: flex-start; }

/* ── Contact ─────────────────────────────────────────── */

.contact {
  margin-bottom: clamp(24px, 4vw, 48px);
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--r-2xl);
  background: var(--blue);
  color: var(--white);
}
.contact .h2 { margin: 0 0 16px; font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; line-height: 1.05; }
.contact-lede {
  margin: 0 0 24px;
  max-width: 28em;
  font-size: 17px;
  line-height: 1.6;
  color: var(--on-blue);
}
.contact-mail { margin: 0; font-size: 17px; font-weight: 600; }
.contact-mail a { color: var(--white); border-bottom: 1.5px solid rgba(255, 255, 255, 0.5); }
.contact-meta { margin: 10px 0 0; font-size: 16px; color: var(--on-blue); }

.contact-form {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, 0.1);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-family: inherit;
  font-size: 15.5px;
  min-width: 0;
}
.contact-form textarea { resize: vertical; }
.contact-form button {
  padding: 15px 20px;
  border: none;
  border-radius: var(--pill);
  background: var(--ink);
  color: var(--white);
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.contact-form button:hover { background: var(--yellow); color: var(--ink); }
.contact-form button[disabled] { cursor: default; background: var(--yellow); color: var(--ink); }

.form-status:empty { display: none; }

.form-status {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--on-blue);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ── Pied de page ────────────────────────────────────── */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--muted);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }

/* ── Direction visuelle « imaginaire d'enfant » ───────
   Les photos du brief mélangent portraits, aplats joyeux et traits de craie.
   Cette couche fait dialoguer l'interface avec cet univers sans sacrifier
   la lisibilité attendue d'un site de fondation. */

:root {
  --ground: #fbf7ed;
  --ink: #20372f;
  --body: #47574f;
  --muted: #718078;
  --muted-2: #506159;
  --line: #dcd6c8;
  --white: #fffdf8;
  --blue: #3977b8;
  --blue-deep: #244d76;
  --orange: #ed684d;
  --amber: #d99926;
  --yellow: #f3c74f;
  --purple: #9874d6;
  --green: #2d5a4b;
  --green-deep: #203f36;
  --tint-blue: #dcebf2;
  --tint-yellow: #f8e7a6;
  --tint-orange: #f7c7b8;
  --tint-purple: #e5daf7;
  --on-dark: #e8eee8;
  --on-dark-dim: #bdcbc3;
  --on-blue: #f7e9e4;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-card: 20px;
  --r-xl: 22px;
  --r-2xl: 28px;
  --pad-section: clamp(60px, 8vw, 108px);
}

body {
  background-color: var(--ground);
  background-image:
    radial-gradient(circle at 18% 12%, rgba(237, 104, 77, 0.055) 0 2px, transparent 2.5px),
    radial-gradient(circle at 78% 32%, rgba(57, 119, 184, 0.05) 0 1.5px, transparent 2px);
  background-size: 31px 31px, 37px 37px;
  overflow-x: clip;
}

.shell {
  max-width: 1360px;
  padding-inline: clamp(18px, 4vw, 56px);
  overflow: visible;
}

.site-header {
  min-height: 82px;
  padding: 12px 0;
  background: rgba(251, 247, 237, 0.9);
  border-bottom: 0;
  box-shadow: 0 8px 18px rgba(32, 55, 47, .035);
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(32,55,47,.2) 8%, rgba(32,55,47,.2) 92%, transparent);
  clip-path: polygon(0 35%, 12% 20%, 25% 45%, 39% 15%, 53% 48%, 70% 25%, 86% 50%, 100% 25%, 100% 100%, 0 100%);
}

.brand {
  align-items: center;
  gap: 10px;
}

.brand > span:last-child {
  display: grid;
  justify-items: start;
  gap: 0;
  padding: 5px 0 7px;
  transform: translateY(-2px) rotate(-1deg);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 2px solid var(--green-deep);
  border-radius: 50% 43% 48% 46%;
  background: var(--yellow);
  transform: rotate(-3deg);
}

.brand-mark svg {
  width: 36px;
  height: 36px;
  stroke: var(--green-deep);
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-name {
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: .01em;
  color: var(--green-deep);
}

.brand-suffix {
  position: relative;
  justify-self: end;
  margin: 1px 5px 0 0;
  padding: 0 4px;
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: none;
  color: var(--orange);
}

.brand-suffix::after {
  content: "";
  position: absolute;
  right: -3px;
  bottom: -4px;
  left: -2px;
  height: 5px;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  transform: rotate(-2deg);
}

.site-nav { font-weight: 600; }

.site-nav a:not(.btn) {
  position: relative;
  color: var(--muted-2);
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 3px;
  border-radius: 50%;
  background: var(--yellow);
  transform: scaleX(0) rotate(-1deg);
  transition: transform .18s ease;
}

.site-nav a:not(.btn):hover::after { transform: scaleX(1) rotate(-1deg); }

.btn {
  border-radius: 14px 11px 15px 12px;
  box-shadow: 3px 4px 0 var(--green-deep);
  transform: translate(-1px, -1px) rotate(-.4deg);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}

.btn:hover {
  transform: translate(2px, 2px) rotate(0);
  box-shadow: 0 0 0 var(--green-deep);
}

.btn-dark { background: var(--green-deep); }
.btn-dark:hover { background: var(--orange); }
.btn-blue { background: var(--orange); }
.btn-blue:hover { background: var(--green-deep); }
.btn-outline { border: 2px solid var(--green-deep); color: var(--green-deep); }
.btn-outline:hover { background: var(--yellow); color: var(--green-deep); }

.section-hero {
  position: relative;
  padding: clamp(34px, 5vh, 58px) 0 clamp(48px, 6vh, 74px);
}

.section-hero::before {
  content: "ABC  +  123";
  position: absolute;
  top: 22px;
  left: 44%;
  font-family: "Caveat", cursive;
  font-size: 17px;
  color: rgba(45, 90, 75, .25);
  transform: rotate(-5deg);
}

.section-hero .two-col-wide {
  grid-template-columns: minmax(0, 1.03fr) minmax(430px, .97fr);
  gap: clamp(42px, 6vw, 84px);
}

.hero-kicker,
.eyebrow {
  width: fit-content;
  margin: 0 0 15px;
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .035em;
  text-transform: none;
  color: var(--orange);
}

.hero-kicker {
  padding: 8px 15px 7px;
  color: var(--green-deep);
  background: var(--yellow);
  border-radius: 5px 9px 6px 8px;
  transform: rotate(-1.5deg);
}

.h1 {
  max-width: 750px;
  margin-top: 16px;
  font-size: clamp(42px, 4.5vw, 62px);
  line-height: .98;
  letter-spacing: -.045em;
  color: var(--green-deep);
}

.h1 span {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.h1 span::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -12px;
  bottom: -2px;
  left: -8px;
  height: 26%;
  border-radius: 50%;
  background: var(--yellow);
  transform: rotate(-1deg);
}

.h2 {
  color: var(--green-deep);
  letter-spacing: -.035em;
}

.lede { color: var(--body); }

.section-hero .lede { margin-top: 18px; }

.section-hero .cta-row { margin-top: 24px; }

.squiggle {
  width: min(260px, 70%);
  overflow: hidden;
}

.squiggle svg { width: 100%; }

.hero-collage {
  position: relative;
  isolation: isolate;
  grid-template-columns: 1.12fr .88fr;
  grid-template-rows: 1fr 1fr;
  gap: 22px;
  height: clamp(500px, 62vh, 610px);
  min-height: 0;
  padding: 20px 8px 22px 18px;
}

.hero-collage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 6% -4% 2% 5%;
  border-radius: 48% 52% 45% 55% / 48% 45% 55% 52%;
  background: var(--tint-purple);
  transform: rotate(3deg);
}

.photo-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  margin: 0;
  padding: 10px 10px 42px;
  background: var(--white);
  border: 1px solid rgba(32, 55, 47, .11);
  box-shadow: 8px 10px 0 rgba(32, 55, 47, .16);
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 3px;
}

.photo-card figcaption {
  position: absolute;
  right: 12px;
  bottom: 7px;
  left: 12px;
  font-family: "Caveat", cursive;
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 700;
  text-align: center;
  color: var(--green-deep);
}

.photo-card-main {
  grid-row: 1 / 3;
  transform: rotate(-3deg);
}

.photo-card-top { transform: translateY(-5px) rotate(4deg); }
.photo-card-bottom { transform: translateX(-3px) rotate(-2deg); }
.photo-card-main img { object-position: 50% 42%; }
.photo-card-top img { object-position: 50% 38%; }
.photo-card-bottom img { object-position: 50% 66%; }

.hero-sparkles {
  position: absolute;
  z-index: 4;
  right: -18px;
  bottom: -15px;
  width: 116px;
  stroke: var(--orange);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(7deg);
}

.section-line {
  border-top: 2px dashed rgba(32, 55, 47, .18);
}

.card,
.card-note,
.card-big {
  position: relative;
  border: 2px solid rgba(32, 55, 47, .12);
  box-shadow: 5px 6px 0 rgba(32, 55, 47, .12);
}

.stack .card:first-child { transform: rotate(1deg); }
.stack .card:last-child { transform: rotate(-1deg); }
.card-blue { background: var(--tint-blue); }
.card-yellow { background: var(--tint-yellow); }
.card-orange { background: var(--tint-orange); }

.card h3,
.card-note h3,
.card-big h3 {
  color: var(--green-deep);
}

.band {
  border: 10px solid var(--white);
  border-radius: 17px 24px 19px 27px;
  box-shadow: 8px 10px 0 rgba(32, 55, 47, .15);
  transform: rotate(-.35deg);
}

.band::after {
  content: "✦  notre plus bel héritage";
  position: absolute;
  top: 26px;
  right: 30px;
  padding: 7px 13px;
  border: 2px solid rgba(255,255,255,.8);
  border-radius: 50%;
  color: var(--white);
  font-family: "Caveat", cursive;
  font-size: clamp(16px, 1.8vw, 22px);
  transform: rotate(4deg);
}

.band-veil-side {
  background: linear-gradient(90deg, rgba(20,50,40,.88) 0%, rgba(20,50,40,.46) 58%, rgba(20,50,40,.06) 100%);
}

.band-veil-up {
  background: linear-gradient(0deg, rgba(20,50,40,.86) 0%, rgba(20,50,40,.12) 78%);
}

.band-quote {
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: clamp(27px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.12;
}

.step-grid { gap: 14px; }

.step {
  position: relative;
  min-height: 250px;
  padding: 26px 22px 22px;
  border: 2px solid var(--green-deep);
  border-top-width: 2px;
  border-radius: 14px 19px 13px 17px;
  box-shadow: 5px 6px 0 rgba(32, 55, 47, .13);
}

.step:nth-child(1) { background: var(--tint-blue); transform: rotate(-1.2deg); }
.step:nth-child(2) { background: var(--tint-orange); transform: rotate(.8deg); }
.step:nth-child(3) { background: var(--tint-yellow); transform: rotate(-.5deg); }
.step:nth-child(4) { background: var(--tint-purple); transform: rotate(1deg); }
.step:nth-child(5) { background: var(--green-deep); transform: rotate(-.6deg); }

.step-num {
  display: grid;
  place-items: center;
  width: 43px;
  height: 39px;
  margin: 0 0 20px;
  border: 2px solid currentColor;
  border-radius: 48% 52% 46% 54%;
  font-family: "Caveat", cursive;
  font-size: 19px;
  transform: rotate(-7deg);
}

.step h3 { font-size: 21px; }

.photo-grid-sm {
  position: relative;
  gap: 16px;
  padding: 18px;
  background: var(--tint-yellow);
  border-radius: 38% 8% 32% 10% / 10% 34% 9% 28%;
}

.photo-grid-sm img {
  border: 7px solid var(--white);
  border-radius: 5px;
  box-shadow: 4px 5px 0 rgba(32,55,47,.15);
}

.photo-grid-sm img:nth-child(1) { transform: rotate(-2deg); }
.photo-grid-sm img:nth-child(2) { transform: rotate(2deg); }
.photo-grid-sm img:nth-child(3) { transform: rotate(-.8deg); }

.pole-grid { gap: 24px; }

.pole {
  border: 2px solid var(--green-deep);
  border-radius: 13px 20px 15px 18px;
  box-shadow: 7px 8px 0 rgba(32,55,47,.14);
  transition: transform .2s ease, box-shadow .2s ease;
}

.pole:nth-child(1) { transform: rotate(-.8deg); }
.pole:nth-child(2) { transform: translateY(12px) rotate(.6deg); }
.pole:nth-child(3) { transform: rotate(-.4deg); }
.pole:hover { transform: translateY(-5px) rotate(0); box-shadow: 10px 13px 0 rgba(32,55,47,.12); }
.pole img { height: 260px; }
.pole-body { flex: 1; padding: 25px; }

.tag {
  border-radius: 7px 10px 6px 9px;
  font-family: "Caveat", cursive;
  font-size: 18px;
  line-height: 1;
  transform: rotate(-2deg);
}

.dark-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(46px, 6vw, 74px) clamp(24px, 5vw, 62px);
  border: 9px solid #d6b887;
  border-radius: 12px;
  background-color: var(--green-deep);
  background-image:
    linear-gradient(115deg, rgba(255,255,255,.018), transparent 40%),
    repeating-linear-gradient(6deg, rgba(255,255,255,.012) 0 1px, transparent 1px 7px);
  box-shadow: inset 0 0 34px rgba(0,0,0,.22), 8px 10px 0 rgba(32,55,47,.13);
  color: var(--white);
}

.dark-panel::before {
  content: "✦     +     1 2 3";
  position: absolute;
  z-index: -1;
  top: 25px;
  right: 35px;
  font-family: "Caveat", cursive;
  font-size: 25px;
  color: rgba(255,255,255,.2);
  transform: rotate(4deg);
}

.dark-panel .h2 { color: var(--white); }
.dark-panel .eyebrow { color: var(--yellow); }

.rung {
  position: relative;
  padding: 23px 20px;
  border: 2px dashed rgba(255,255,255,.35);
  border-radius: 9px 14px 8px 12px;
  background: rgba(255,255,255,.045);
}

.rung:nth-child(even) { transform: rotate(1deg); }
.rung:nth-child(odd) { transform: rotate(-.6deg); }
.rung-title { font-family: "Caveat", cursive; font-size: 28px; }
.rung-final { border-style: solid; border-color: var(--yellow); background: var(--orange); }

.chip-outline {
  border: 1.5px dashed rgba(255,255,255,.5);
  border-radius: 8px 12px 7px 10px;
  font-family: "Caveat", cursive;
  font-size: 19px;
}

.chip-solid {
  border: 1.5px solid rgba(32,55,47,.16);
  border-radius: 8px 12px 7px 10px;
  box-shadow: 3px 4px 0 rgba(32,55,47,.1);
  font-family: "Caveat", cursive;
  font-size: 20px;
  color: var(--green-deep);
}

.chip-solid:nth-child(3n + 1) { background: var(--tint-blue); transform: rotate(-1deg); }
.chip-solid:nth-child(3n + 2) { background: var(--tint-yellow); transform: rotate(1deg); }
.chip-solid:nth-child(3n) { background: var(--tint-orange); transform: rotate(-.5deg); }

.card-note-outline { border: 2px dashed rgba(32,55,47,.35); }

.contact {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--green-deep);
  border-radius: 17px 25px 18px 22px;
  background: var(--orange);
  box-shadow: 9px 11px 0 var(--green-deep);
}

.contact::before {
  content: "↗ écrivez-nous";
  position: absolute;
  top: 24px;
  right: 34px;
  font-family: "Caveat", cursive;
  font-size: 22px;
  color: rgba(255,255,255,.65);
  transform: rotate(5deg);
}

.contact .h2 { color: var(--white); }
.contact-lede,
.contact-meta { color: #fff1eb; }

.contact-form {
  border: 2px solid var(--green-deep);
  border-radius: 12px 17px 11px 15px;
  background: var(--ground);
  box-shadow: 6px 7px 0 rgba(32,55,47,.28);
  transform: rotate(.4deg);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1.5px solid rgba(32,55,47,.35);
  border-radius: 7px 10px 7px 9px;
  background: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid var(--yellow);
  border-color: var(--green-deep);
}

.contact-form button {
  border: 2px solid var(--green-deep);
  border-radius: 10px 14px 9px 12px;
  background: var(--yellow);
  color: var(--green-deep);
  box-shadow: 4px 5px 0 var(--green-deep);
}

.contact-form button:hover {
  background: var(--green-deep);
  color: var(--white);
  box-shadow: 1px 2px 0 var(--green-deep);
  transform: translate(3px, 3px);
}

.contact-form button[disabled] { background: var(--green-deep); color: var(--white); }
.form-status { color: var(--green-deep); }

.site-footer { border-top: 2px dashed rgba(32,55,47,.2); }
.site-footer a { color: var(--green); font-weight: 600; }

@media (min-width: 1120px) {
  .step-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 940px) {
  .section-hero .two-col-wide { grid-template-columns: 1fr; }
  .section-hero::before { left: auto; right: 8%; }
  .hero-collage { width: min(100%, 700px); height: 560px; margin: 18px auto 0; }
  .pole:nth-child(2) { transform: rotate(.6deg); }
}

@media (max-width: 760px) {
  .site-header { min-height: 70px; }
  .site-nav a:not(.btn) { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-mark svg { width: 32px; height: 32px; }
  .brand > span:last-child { padding-block: 4px 5px; transform: none; }
  .brand-name { font-size: 24px; line-height: 1; }
  .hero-collage { height: 500px; min-height: 0; gap: 16px; }
  .band::after { display: none; }
  .band { border-width: 7px; }
  .pole img { height: 230px; }
}

@media (max-width: 540px) {
  .shell { padding-inline: 16px; }
  .brand { gap: 7px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-mark svg { width: 29px; height: 29px; }
  .brand-name { font-size: 21px; }
  .site-nav .btn { padding: 8px 10px; font-size: 12px; box-shadow: 2px 3px 0 var(--green-deep); }
  .section-hero { padding-top: 42px; }
  .section-hero::before { display: none; }
  .h1 { font-size: clamp(39px, 12vw, 56px); }
  .hero-collage {
    grid-template-columns: 1.08fr .92fr;
    height: 390px;
    min-height: 0;
    padding: 10px 3px 18px 8px;
  }
  .photo-card { padding: 7px 7px 33px; box-shadow: 5px 6px 0 rgba(32,55,47,.15); }
  .photo-card figcaption { font-size: 16px; }
  .hero-sparkles { right: -25px; width: 88px; }
  .photo-grid-sm { padding: 11px; gap: 10px; }
  .photo-grid-sm img { border-width: 4px; }
  .step { min-height: auto; }
  .dark-panel { border-width: 6px; }
  .band-short > img { height: 600px; }
  .contact { box-shadow: 6px 8px 0 var(--green-deep); }
  .contact::before { display: none; }
}

/* Contact sans formulaire */
.contact .two-col {
  grid-template-columns: minmax(0, 760px);
}

.contact-lede {
  max-width: 44em;
}

/* ── Univers lavande et imaginaire spatial ──
   La palette et les formes reprennent les photos aux casiers violets :
   grands aplats lavande, contours blancs dessinés et accents soleil. */

:root {
  --ground: #ffffff;
  --site-dots:
    radial-gradient(circle at 8px 8px, rgba(137, 103, 215, .38) 0 2px, rgba(137, 103, 215, .12) 2.1px 2.8px, transparent 3px),
    radial-gradient(circle at 30px 29px, rgba(137, 103, 215, .3) 0 1.5px, rgba(137, 103, 215, .09) 1.6px 2.1px, transparent 2.3px);
  --ink: #2d2345;
  --body: #392f4d;
  --muted: #665c77;
  --muted-2: #473d59;
  --line: #ddd3f4;
  --white: #fffdfd;
  --blue: #5868c9;
  --blue-deep: #343b78;
  --orange: #ef7258;
  --amber: #d89e26;
  --yellow: #ffd761;
  --purple: #8967d7;
  --green: #6653a2;
  --green-deep: #30254d;
  --tint-blue: #dfe7ff;
  --tint-yellow: #fff0ad;
  --tint-orange: #ffd8ca;
  --tint-purple: #d9c9ff;
  --on-dark: #f2ecff;
  --on-dark-dim: #d2c7e9;
  --on-blue: #f4efff;
}

body {
  background-color: var(--ground);
  background-image: var(--site-dots);
  background-size: 47px 47px;
  background-attachment: fixed;
}

::selection {
  color: var(--ink);
  background: var(--yellow);
}

:focus-visible { outline-color: var(--purple); }

.site-header {
  margin-inline: calc(0px - clamp(18px, 4vw, 56px));
  padding-inline: clamp(18px, 4vw, 56px);
  background: var(--ground);
  background-image: var(--site-dots);
  background-size: 47px 47px;
  box-shadow: 0 10px 30px rgba(66, 45, 111, .045);
  backdrop-filter: none;
}

.site-header::after {
  background: linear-gradient(90deg, transparent, rgba(137, 103, 215, .36) 10%, rgba(137, 103, 215, .36) 90%, transparent);
}

.brand-mark {
  border-color: var(--ink);
  background: var(--yellow);
}

.brand-mark svg { stroke: var(--ink); }
.brand-name { color: var(--ink); }
.brand-suffix { color: var(--purple); }
.site-nav a:not(.btn) { color: var(--muted-2); }
.site-nav a:not(.btn)::after {
  background: var(--purple);
}

.section-hero {
  isolation: isolate;
  margin-top: clamp(14px, 2vw, 24px);
  padding: clamp(42px, 6vw, 76px) clamp(22px, 5vw, 68px) clamp(46px, 6vw, 78px);
  border: 3px solid rgba(255, 255, 255, .9);
  border-radius: 38px 54px 42px 62px;
  background:
    radial-gradient(circle at 11% 82%, rgba(255,255,255,.36) 0 3px, transparent 3.5px),
    radial-gradient(circle at 14% 78%, rgba(255,255,255,.34) 0 2px, transparent 2.5px),
    linear-gradient(135deg, #cdbdff 0%, #b79eff 48%, #9f82ed 100%);
  background-size: 47px 47px, 61px 61px, auto;
  box-shadow: 0 20px 48px rgba(87, 62, 145, .18);
  overflow: hidden;
}

.section-hero::before {
  content: "✦  tout commence par un rêve";
  top: 22px;
  right: 7%;
  left: auto;
  color: rgba(255, 255, 255, .84);
  font-size: 21px;
  transform: rotate(3deg);
}

.section-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -56px;
  bottom: -80px;
  width: 250px;
  height: 190px;
  border: 4px solid rgba(255,255,255,.5);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.section-hero .two-col-wide {
  grid-template-columns: minmax(0, .92fr) minmax(470px, 1.08fr);
  gap: clamp(34px, 5vw, 72px);
}

.hero-kicker {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 4px 5px 0 rgba(48, 37, 77, .16);
}

.h1 {
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255,255,255,.18);
}

.h1 span::after { background: rgba(255, 255, 255, .72); }
.section-hero .lede { color: #46395f; }
.section-hero .squiggle path { stroke: #fff; }

.section-hero .btn-outline {
  border-color: var(--ink);
  background: rgba(255,255,255,.88);
  color: var(--ink);
  box-shadow: 4px 5px 0 var(--ink);
}

.section-hero .btn-outline:hover {
  background: var(--yellow);
  color: var(--ink);
}

.hero-collage {
  grid-template-columns: 1.5fr .7fr;
  grid-template-rows: .95fr 1.05fr;
  gap: 17px;
  height: clamp(510px, 64vh, 630px);
  padding: 12px 4px 18px 12px;
}

.hero-collage::before {
  inset: 1% -6% -2% 2%;
  border: 3px solid rgba(255,255,255,.76);
  border-radius: 44% 56% 52% 48% / 48% 42% 58% 52%;
  background: rgba(120, 85, 199, .34);
  transform: rotate(2deg);
}

.photo-card {
  z-index: 5;
  overflow: visible;
  padding: 0;
  border: 5px solid rgba(255, 255, 255, .96);
  background: transparent;
  box-shadow: 9px 12px 0 rgba(58, 39, 97, .18);
}

.photo-card img { border-radius: inherit; }

.photo-card figcaption {
  z-index: 7;
  right: auto;
  bottom: 12px;
  left: 50%;
  width: fit-content;
  max-width: calc(100% - 18px);
  padding: 5px 10px 6px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 8px 11px 7px 10px;
  background: rgba(45, 35, 69, .76);
  color: #fff;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1;
  text-align: center;
  white-space: normal;
  backdrop-filter: blur(4px);
  transform: translateX(-50%) rotate(-2deg);
}

.photo-card-main {
  align-self: center;
  height: 91%;
  border-radius: 49% 16px 45% 18px / 26% 16px 23% 18px;
  transform: rotate(-1.8deg);
}

.photo-card-top {
  border-radius: 50% 48% 42% 52%;
  transform: translateY(-3px) rotate(3deg);
}

.photo-card-bottom {
  border-radius: 18px 46% 22px 42%;
  transform: translateX(-4px) rotate(-2deg);
}

.photo-card-main img { object-position: 50% 50%; }
.photo-card-top img { object-position: 50% 50%; }
.photo-card-bottom img { object-position: 50% 35%; }

.hero-orbit {
  position: absolute;
  z-index: 3;
  inset: 2% -3% -4% -3%;
  width: 106%;
  height: 104%;
  pointer-events: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 1px rgba(65,43,112,.15));
}

.hero-sparkles {
  right: -12px;
  bottom: -8px;
  stroke: #fff;
}

.eyebrow { color: var(--purple); }
.h2, .card h3, .card-note h3, .card-big h3 { color: var(--ink); }
.section-line { border-color: rgba(137, 103, 215, .28); }

.card,
.card-note,
.card-big {
  border-color: rgba(65, 46, 105, .15);
  box-shadow: 5px 6px 0 rgba(104, 76, 166, .13);
}

.card-blue { background: var(--tint-purple); }
.card-yellow { background: var(--tint-yellow); }
.card-orange { background: var(--tint-orange); }

.band {
  border-color: #fff;
  box-shadow: 9px 11px 0 rgba(105, 76, 168, .2);
}

.band::after {
  content: "✦  notre plus bel héritage";
  background: rgba(119, 83, 192, .32);
  backdrop-filter: blur(5px);
}

.band-veil-side {
  background: linear-gradient(90deg, rgba(48, 32, 82, .9) 0%, rgba(93, 63, 145, .58) 58%, rgba(116, 83, 175, .08) 100%);
}

.band-veil-up {
  background: linear-gradient(0deg, rgba(48, 32, 82, .9) 0%, rgba(105, 73, 166, .12) 78%);
}

.step { border-color: var(--ink); }
.step:nth-child(1) { background: var(--tint-blue); }
.step:nth-child(2) { background: var(--tint-orange); }
.step:nth-child(3) { background: var(--tint-yellow); }
.step:nth-child(4) { background: var(--tint-purple); }
.step:nth-child(5) { background: var(--ink); }

.photo-grid-sm {
  background: var(--tint-purple);
  border-radius: 45% 9% 38% 12% / 12% 38% 10% 32%;
}

.photo-grid-sm::after {
  content: "☆";
  position: absolute;
  top: -23px;
  right: 15px;
  color: var(--purple);
  font-family: "Caveat", cursive;
  font-size: 64px;
  line-height: 1;
  transform: rotate(13deg);
}

.photo-grid-sm img { box-shadow: 5px 6px 0 rgba(85, 60, 139, .18); }

.pole {
  border-color: var(--ink);
  box-shadow: 7px 8px 0 rgba(107, 78, 167, .18);
}

.pole:hover { box-shadow: 10px 13px 0 rgba(107, 78, 167, .14); }
.tag-blue { background: var(--tint-blue); color: var(--blue-deep); }
.tag-purple { background: var(--tint-purple); color: #6541b7; }

.dark-panel {
  border-color: #c8b3f7;
  background-color: #4c347b;
  background-image:
    radial-gradient(circle at 86% 16%, rgba(255,255,255,.10) 0 3px, transparent 3.5px),
    linear-gradient(115deg, rgba(255,255,255,.035), transparent 40%),
    repeating-linear-gradient(6deg, rgba(255,255,255,.016) 0 1px, transparent 1px 7px);
  box-shadow: inset 0 0 34px rgba(36, 22, 63, .22), 8px 10px 0 rgba(93, 63, 151, .18);
}

.dark-panel::before { content: "☆     +     1 2 3     ✦"; }
.rung-final { background: var(--purple); }

.chip-solid { color: var(--ink); }
.chip-solid:nth-child(3n + 1) { background: var(--tint-blue); }
.chip-solid:nth-child(3n + 2) { background: var(--tint-yellow); }
.chip-solid:nth-child(3n) { background: var(--tint-purple); }

.contact {
  border-color: var(--ink);
  background: linear-gradient(125deg, #8f6ce1 0%, #7351c2 100%);
  box-shadow: 9px 11px 0 var(--ink);
}

.contact::before {
  content: "↗  écrivez-nous";
  color: rgba(255,255,255,.78);
}

.contact-lede,
.contact-meta { color: #f2ecff; }
.site-footer { border-color: rgba(137, 103, 215, .3); }
.site-footer a { color: var(--purple); }

@media (max-width: 940px) {
  .section-hero .two-col-wide { grid-template-columns: 1fr; }
  .section-hero::before { right: 7%; }
  .hero-collage { width: min(100%, 680px); }
}

@media (max-width: 760px) {
  .section-hero {
    margin-top: 10px;
    padding-inline: 22px;
    border-radius: 25px 34px 28px 38px;
  }
  .hero-orbit { stroke-width: 4; }
}

@media (max-width: 540px) {
  .site-header {
    margin-inline: -16px;
    padding-inline: 16px;
  }
  .section-hero {
    margin-inline: -4px;
    padding: 46px 17px 42px;
  }
  .section-hero::before {
    display: block;
    top: 17px;
    right: 20px;
    font-size: 16px;
  }
  .hero-collage {
    grid-template-columns: 1.15fr .85fr;
    height: 410px;
    gap: 10px;
    padding-inline: 3px;
  }
  .photo-card { border-width: 3px; }
  .photo-card figcaption {
    right: auto;
    bottom: 6px;
    left: 50%;
    padding: 4px 7px;
    font-size: 13px;
    transform: translateX(-50%) rotate(-2deg);
  }
  .hero-orbit { inset: 1% -6% -4%; width: 112%; }
}

/* ── Mot-symbole multicolore ── */

.brand {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
  min-width: 0;
  isolation: isolate;
}

.brand > span:last-child {
  display: grid;
  justify-items: start;
  gap: 1px;
  padding: 0 0 3px;
  transform: none;
}

.brand-wordmark {
  display: block;
  width: clamp(155px, 14vw, 185px);
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 0 rgba(63, 42, 101, .08));
}

.brand-word {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  font-family: "Fredoka", "Outfit", sans-serif;
  font-size: clamp(42px, 3.5vw, 52px);
  font-weight: 700;
  line-height: .8;
  letter-spacing: 0;
  filter: drop-shadow(0 2px 0 rgba(63, 42, 101, .10));
}

.brand-word::before,
.brand-word::after {
  content: "";
  position: absolute;
  z-index: 2;
  display: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.brand-word::before {
  top: -9px;
  left: 44%;
  background: #ef3d73;
  box-shadow: 22px -5px 0 #16bce4;
}

.brand-word::after {
  top: -13px;
  right: 1px;
  width: 7px;
  height: 7px;
  background: #234d9b;
  box-shadow: -19px 8px 0 #ffb72e;
}

.logo-letter {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  overflow: visible;
  letter-spacing: 0;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.logo-letter + .logo-letter {
  margin-left: -.075em;
}

.logo-l {
  z-index: 1;
  padding-right: .025em;
  background-image: linear-gradient(180deg, #22c2e8 0%, #0aa9dd 100%);
  transform: rotate(-2deg);
}

.logo-e {
  z-index: 2;
  background-image: linear-gradient(105deg, #12b8e4 0 58%, #65bf42 58% 100%);
  transform: translateY(1px) rotate(1deg);
}

.logo-g {
  z-index: 3;
  background-image: linear-gradient(105deg, #d20b75 0 35%, #f04435 35% 72%, #ffb82f 72% 100%);
  transform: translateY(2px) rotate(-1deg);
}

.logo-a {
  z-index: 4;
  background-image: linear-gradient(100deg, #ffba32 0 52%, #e92978 52% 100%);
  transform: translateY(-1px);
}

.logo-c {
  z-index: 5;
  background-image: linear-gradient(105deg, #e41880 0 33%, #21b9df 33% 73%, #62bc42 73% 100%);
  transform: rotate(1deg);
}

.logo-y {
  z-index: 6;
  padding-right: .07em;
  background-image: linear-gradient(105deg, #66bd41 0 28%, #ffb72e 28% 62%, #18b8df 62% 100%);
  transform: translateY(1px) rotate(-2deg);
}

.logo-l::after,
.logo-e::before,
.logo-e::after,
.logo-a::before,
.logo-a::after,
.logo-c::before {
  content: "";
  position: absolute;
  z-index: 8;
  display: block;
  border-radius: 50%;
}

.logo-l::after {
  top: -.27em;
  left: 42%;
  width: .16em;
  height: .16em;
  background: #65bd3f;
}

.logo-e::before {
  top: -.14em;
  left: 50%;
  width: .14em;
  height: .14em;
  background: #ffb52c;
}

.logo-e::after {
  top: -.26em;
  right: 2%;
  width: .1em;
  height: .1em;
  background: #f04e32;
}

.logo-a::before {
  top: -.2em;
  left: 33%;
  width: .19em;
  height: .19em;
  background: #df087c;
}

.logo-a::after {
  top: -.31em;
  right: 10%;
  width: .11em;
  height: .11em;
  background: #17b9e1;
}

.logo-c::before {
  top: -.32em;
  left: 54%;
  width: .2em;
  height: .2em;
  background: #20549c;
}

.brand-signature {
  min-width: max-content;
  line-height: 1;
}

.brand-signature .brand-name {
  font-family: "Fredoka", "Outfit", sans-serif;
  font-size: clamp(13px, 1.2vw, 17px);
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--ink);
  white-space: nowrap;
}

.brand-signature .brand-suffix {
  position: relative;
  display: block;
  justify-self: start;
  margin: 0;
  padding: 0;
  font-family: "Fredoka", "Outfit", sans-serif;
  font-size: clamp(10px, .9vw, 12px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: lowercase;
  color: transparent;
  background: linear-gradient(90deg, #d40c79, #f15b36 32%, #69bb3d 61%, #12addd 84%, #3653a4);
  background-clip: text;
  -webkit-background-clip: text;
  transform: none;
}

.brand-signature .brand-suffix::after { display: none; }

/* Le reste de l'interface reprend la rondeur du mot-symbole,
   sans importer toute sa palette multicolore dans chaque section. */
.h1,
.h2,
.step h3,
.pole h3,
.card h3,
.card-note h3,
.card-big h3,
.contact .h2 {
  font-family: "Fredoka", "Outfit", sans-serif;
  letter-spacing: -.035em;
}

.h1 { font-weight: 700; }
.h2,
.step h3,
.pole h3,
.card h3,
.card-note h3,
.card-big h3 { font-weight: 600; }

.btn {
  font-family: "Fredoka", "Outfit", sans-serif;
  letter-spacing: -.01em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 9px -5px 0 var(--purple), 17px 1px 0 var(--blue);
  margin-right: 14px;
}

/* Une seule couleur du logo pour toute la section Déploiement. */
.section-deployment .card-note,
.section-deployment .card-big {
  border-width: 2px;
  border-style: solid;
}

.section-deployment .stack-sm .card-note:nth-child(1) {
  border-color: #12b9e4;
  background: #dff7fd;
  box-shadow: 5px 6px 0 rgba(18, 185, 228, .2);
}

.section-deployment .stack-sm .card-note:nth-child(2) {
  border-color: #62b93f;
  background: #e5f5dc;
  box-shadow: 5px 6px 0 rgba(98, 185, 63, .2);
}

.section-deployment .card-big.card-yellow {
  border-color: #ffb82e;
  background: #fff0c2;
  box-shadow: 6px 7px 0 rgba(255, 184, 46, .22);
}

.section-deployment .card-big.card-orange {
  border-color: #d50b78;
  background: #fad9ed;
  box-shadow: 6px 7px 0 rgba(213, 11, 120, .18);
}

.section-deployment .eyebrow {
  color: var(--purple);
}

.section-deployment .eyebrow::before {
  background: var(--yellow);
  box-shadow: 9px -5px 0 var(--purple), 17px 1px 0 var(--blue);
}

/* Une couleur pleine du logo par valeur, sans dégradé. */
.section-values .chip-solid {
  border-width: 2px;
  border-style: solid;
  color: var(--ink);
}

.section-values .chip-solid:nth-child(6n + 1) {
  border-color: #12b9e4;
  background: #dff7fd;
  box-shadow: 3px 4px 0 rgba(18, 185, 228, .2);
}

.section-values .chip-solid:nth-child(6n + 2) {
  border-color: #ffb82e;
  background: #fff0c2;
  box-shadow: 3px 4px 0 rgba(255, 184, 46, .22);
}

.section-values .chip-solid:nth-child(6n + 3) {
  border-color: #d50b78;
  background: #fad9ed;
  box-shadow: 3px 4px 0 rgba(213, 11, 120, .18);
}

.section-values .chip-solid:nth-child(6n + 4) {
  border-color: #15539d;
  background: #dde9fa;
  box-shadow: 3px 4px 0 rgba(21, 83, 157, .18);
}

.section-values .chip-solid:nth-child(6n + 5) {
  border-color: #f04435;
  background: #ffe0d9;
  box-shadow: 3px 4px 0 rgba(240, 68, 53, .18);
}

.section-values .chip-solid:nth-child(6n) {
  border-color: #62b93f;
  background: #e5f5dc;
  box-shadow: 3px 4px 0 rgba(98, 185, 63, .2);
}

/* Même langage de cartes pour la sécurité avant l'apprentissage. */
.section-safety .card-note {
  border-width: 2px;
  border-style: solid;
}

.section-safety .card-note:nth-child(1) {
  border-color: #12b9e4;
  background: #dff7fd;
  box-shadow: 5px 6px 0 rgba(18, 185, 228, .2);
}

.section-safety .card-note:nth-child(2) {
  border-color: #f04435;
  background: #ffe0d9;
  box-shadow: 5px 6px 0 rgba(240, 68, 53, .18);
}

/* Une couleur du logo pour chacune des cinq étapes du modèle. */
#modele .step {
  border-width: 2px;
  border-style: solid;
}

#modele .step:nth-child(1) {
  border-color: #12b9e4;
  background: #dff7fd;
  box-shadow: 5px 6px 0 rgba(18, 185, 228, .2);
}

#modele .step:nth-child(2) {
  border-color: #d50b78;
  background: #fad9ed;
  box-shadow: 5px 6px 0 rgba(213, 11, 120, .18);
}

#modele .step:nth-child(3) {
  border-color: #ffb82e;
  background: #fff0c2;
  box-shadow: 5px 6px 0 rgba(255, 184, 46, .22);
}

#modele .step:nth-child(4) {
  border-color: #62b93f;
  background: #e5f5dc;
  box-shadow: 5px 6px 0 rgba(98, 185, 63, .2);
}

#modele .step:nth-child(5) {
  border-color: #15539d;
  background: #15539d;
  box-shadow: 5px 6px 0 rgba(21, 83, 157, .22);
}

/* Une couleur du logo pour chacune des cartes de Notre vision. */
#vision .card {
  border-width: 2px;
  border-style: solid;
}

#vision .card:nth-child(1) {
  border-color: #12b9e4;
  background: #dff7fd;
  box-shadow: 5px 6px 0 rgba(18, 185, 228, .2);
}

#vision .card:nth-child(2) {
  border-color: #ffb82e;
  background: #fff0c2;
  box-shadow: 5px 6px 0 rgba(255, 184, 46, .22);
}

/* Lisibilité renforcée pour les textes secondaires. */
body {
  text-rendering: optimizeLegibility;
}

.site-nav {
  font-size: 15.5px;
  font-weight: 600;
}

.prose {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.68;
}

.lede,
.dark-lede,
.dark-outro,
.contact-lede {
  font-weight: 600;
}

.card p,
.card li,
.card-note p,
.card-big p {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.68;
}

.step-desc,
.pole p,
.rung-desc,
.contact-meta {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
}

.chip-solid,
.chip-outline,
.tag {
  font-weight: 700;
}

.site-footer {
  font-size: 15.5px;
  font-weight: 600;
}

@media (max-width: 540px) {
  .prose { font-size: 17px; }
  .card p,
  .card li,
  .card-note p,
  .card-big p { font-size: 16px; }
}

@media (max-width: 760px) {
  .brand { gap: 7px; }
  .brand-wordmark { width: 150px; }
  .brand-word { font-size: 39px; }
  .brand-signature {
    position: relative;
    z-index: 4;
    display: grid !important;
    min-width: max-content;
    opacity: 1;
    visibility: visible;
  }
  .brand-signature .brand-name {
    display: block !important;
    font-size: 13px;
  }
  .brand-signature .brand-suffix {
    display: block !important;
    font-size: 9px;
  }
}

@media (max-width: 440px) {
  .brand-wordmark { width: 142px; }
  .brand-word { font-size: 36px; }
  .brand-signature { display: grid !important; }
}
