/* ==========================================================================
   Vitraux Liryc — feuille de style
   Couleurs de marque issues de la maquette Figma (collection « couleurs »),
   déclinées en teintes « encre » pour garantir un contraste AA sur le texte.
   ========================================================================== */

:root {
  /* Marque */
  --rose: #f486b6;   --rose-ink: #b62d6c;  --rose-pastel: #ffeaed;
  --bleu: #0700ad;   --bleu-ink: #0700ad;  --bleu-pastel: #eeeeff;  --bleu-light: #6f6bff;
  --jaune: #f0aa26;  --jaune-ink: #8a5a00; --jaune-pastel: #fff4df;
  --rouge: #f3031f;  --rouge-ink: #c8001a; --rouge-btn: #e3001b;

  /* Neutres */
  --ink: #12101f;
  --ink-soft: #4b4860;
  --pierre: #f6f4f0;
  --line: #e7e3dc;
  --blanc: #fff;

  --font: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 64px;
  --header-top: 16px;
  --gutter: clamp(20px, 5vw, 104px);
  --maxw: 1232px;
  --r-sm: 14px;
  --lead: 3px;
  --stripe: 6px; /* épaisseur de la bande 4 couleurs, reprise par la bordure de la photo de Cyril */ /* épaisseur unique : bordure des arches = plombs des vitraux */
  --r: 24px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  /* Thème de page (surchargé plus bas) */
  --accent: var(--bleu); --accent-ink: var(--bleu-ink); --on-accent: #fff; --pastel: var(--bleu-pastel);
}

.theme-rose  { --accent: var(--rose);  --accent-ink: var(--rose-ink);  --on-accent: var(--ink); --pastel: var(--rose-pastel); }
.theme-bleu  { --accent: var(--bleu);  --accent-ink: var(--bleu-ink);  --on-accent: #fff;       --pastel: var(--bleu-pastel); }
.theme-jaune { --accent: var(--jaune); --accent-ink: var(--jaune-ink); --on-accent: var(--ink); --pastel: var(--jaune-pastel); }
.theme-rouge { --accent: var(--rouge); --accent-ink: var(--rouge-ink); --on-accent: #fff;       --pastel: var(--rose-pastel); }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--header-top) + 24px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--blanc);
  color: var(--ink);
  font: 500 18px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
img { display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
::selection { background: var(--rose-pastel); color: var(--ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 700;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typographie ---------- */
.display {
  font-weight: 900; letter-spacing: -.035em; line-height: .9;
  font-size: clamp(64px, 11vw, 168px);
}
.h1 { font-weight: 900; letter-spacing: -.03em; line-height: .95; font-size: clamp(48px, 7vw, 104px); }
.h2 { font-weight: 900; letter-spacing: -.025em; line-height: 1.02; font-size: clamp(36px, 4.6vw, 64px); text-wrap: balance; }
.h3 { font-weight: 900; letter-spacing: -.015em; line-height: 1.15; font-size: 22px; }
.lead { font-weight: 500; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink);
}
.eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--accent); transform: rotate(45deg); border-radius: 2px; }
.text-balance { text-wrap: balance; }

/* ---------- Boutons ---------- */
/* Effets de survol réservés aux souris / pavés tactiles : rien sur téléphone et tablette */
.btn {
  --btn-bg: var(--accent); --btn-fg: var(--on-accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 22px 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 700 17px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--btn-bg) 80%, black); } }
@media (hover: hover) and (pointer: fine) { .btn:hover svg { transform: translateX(4px); } }
.btn--rose  { --btn-bg: var(--rose);      --btn-fg: var(--ink); }
.btn--bleu  { --btn-bg: var(--bleu);      --btn-fg: #fff; }
.btn--jaune { --btn-bg: var(--jaune);     --btn-fg: var(--ink); }
.btn--rouge { --btn-bg: var(--rouge-btn); --btn-fg: #fff; }
.btn--light { --btn-bg: #fff;             --btn-fg: var(--ink); }
.btn--ink   { --btn-bg: var(--ink);       --btn-fg: #fff; }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.55); }
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { background: rgba(255,255,255,.12); box-shadow: none; } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; text-decoration: none;
}
/* Icône de redirection : trait de la flèche = bordure du cercle (2 px) */
.link-arrow .dot-arrow {
  --stroke: 2px;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: var(--stroke) solid var(--c-ink, var(--accent-ink)); background: transparent; color: var(--c-ink, var(--accent-ink));
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow .dot-arrow svg path { stroke-width: var(--stroke); vector-effect: non-scaling-stroke; }

/* ==========================================================================
   En-tête flottant
   ========================================================================== */
.site-header { position: fixed; top: var(--header-top); left: 0; right: 0; z-index: 50; padding-inline: var(--gutter); pointer-events: none; }
.nav {
  pointer-events: auto;
  max-width: var(--maxw); margin-inline: auto; height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 0 8px 0 10px; border-radius: 999px;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 10px 40px -16px rgba(18,16,31,.35);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.is-scrolled .nav { background: rgba(255,255,255,.9); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 18px; letter-spacing: -.01em; justify-self: start; }
.brand img { width: 44px; height: 44px; transition: transform .8s var(--ease); }
@media (hover: hover) and (pointer: fine) { .brand:hover img { transform: rotate(90deg); } }
.nav__links { display: flex; gap: 4px; list-style: none; padding: 0; }
.nav-link {
  --c: var(--accent);
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px;
  font-weight: 700; font-size: 15.5px; text-decoration: none; color: var(--ink);
  transition: background-color .2s var(--ease);
}
.nav-link::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c); transform: rotate(45deg); transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .nav-link:hover { background: color-mix(in srgb, var(--c) 14%, transparent); } }
@media (hover: hover) and (pointer: fine) { .nav-link:hover::before { transform: rotate(225deg); } }
.nav-link[aria-current="page"] { background: color-mix(in srgb, var(--c) 18%, transparent); }
.nav-link--rose  { --c: var(--rose); }
.nav-link--bleu  { --c: var(--bleu); }
.nav-link--jaune { --c: var(--jaune); }
.nav-link--rouge { --c: var(--rouge); }
.nav-link--ink   { --c: var(--ink); }
.nav__cta { justify-self: end; min-height: 48px; padding: 12px 18px 12px 22px; font-size: 15.5px; }

.nav-toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 1023px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links, .nav__cta { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer;
  }
  .nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu {
    display: block; pointer-events: auto; max-width: var(--maxw); margin: 8px auto 0;
    border-radius: var(--r); background: rgba(255,255,255,.94);
    -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
    box-shadow: 0 20px 50px -20px rgba(18,16,31,.4);
    opacity: 0; transform: translateY(-8px); visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-open .mobile-menu { opacity: 1; transform: none; visibility: visible; }
  .mobile-menu ul { list-style: none; padding: 10px; display: grid; gap: 2px; }
  .mobile-menu .nav-link { display: flex; font-size: 22px; padding: 14px 16px; gap: 14px; }
  .mobile-menu .nav-link::before { width: 10px; height: 10px; }
}

/* ==========================================================================
   Héros
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(640px, 100svh, 980px);
  padding: calc(var(--header-h) + var(--header-top) + 48px) 0 clamp(56px, 7vw, 96px);
  color: #fff; background: var(--ink);
}
.hero--page { min-height: clamp(540px, 74svh, 760px); }
.hero__media, .hero__media img, .hero__shade, .hero__light { position: absolute; inset: 0; }
.hero__media { z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 80%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade {
  background:
    linear-gradient(180deg, rgba(12,10,28,.45) 0%, rgba(12,10,28,0) 26%),
    linear-gradient(0deg, rgba(12,10,28,.88) 0%, rgba(12,10,28,.45) 38%, rgba(12,10,28,0) 70%),
    linear-gradient(44.14deg, rgba(0,0,0,.45) 16.98%, rgba(102,102,102,0) 56.42%);
}
.hero__light {
  z-index: -1; pointer-events: none; mix-blend-mode: screen; opacity: .5;
  background:
    radial-gradient(38% 46% at 82% 18%, rgba(244,134,182,.55), transparent 70%),
    radial-gradient(30% 40% at 96% 62%, rgba(240,170,38,.45), transparent 70%),
    radial-gradient(34% 42% at 66% 4%, rgba(111,107,255,.5), transparent 70%);
}
.hero__shade { z-index: -1; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
.hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 980px; }
.hero__title { text-wrap: balance; }
.hero__lead { max-width: 620px; color: rgba(255,255,255,.85); }
.hero__lead strong { color: #fff; font-weight: 700; }
.hero__aside {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 18px; max-width: 280px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.88);
}
.hero__aside strong { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 14px; font-weight: 700; letter-spacing: .04em; color: #fff;
}
.gems { display: inline-flex; gap: 4px; }
.gems i { width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); }
.gems i:nth-child(1) { background: var(--rose); }
.gems i:nth-child(2) { background: var(--bleu-light); }
.gems i:nth-child(3) { background: var(--jaune); }
.gems i:nth-child(4) { background: var(--rouge); }
.pill .gem { width: 9px; height: 9px; border-radius: 2px; transform: rotate(45deg); background: var(--accent); }
.crumbs { display: flex; gap: 8px; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.75); }
.crumbs a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: #fff; text-decoration: underline; } }
.stripe { position: absolute; left: 0; right: 0; bottom: 0; height: var(--stripe); display: flex; }
.stripe i, .stripes i { flex: 1; }
.stripe i:nth-child(1), .stripes i:nth-child(1) { background: var(--rose); }
.stripe i:nth-child(2), .stripes i:nth-child(2) { background: var(--bleu); }
.stripe i:nth-child(3), .stripes i:nth-child(3) { background: var(--jaune); }
.stripe i:nth-child(4), .stripes i:nth-child(4) { background: var(--rouge); }
.stripes { display: flex; height: var(--stripe); }

@media (max-width: 899px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__aside { display: none; }
  .hero__media img { object-position: 62% 80%; }
}

/* ==========================================================================
   Sections génériques
   ========================================================================== */
.section { position: relative; padding-block: clamp(72px, 9vw, 128px); }
.section--pierre { background: var(--pierre); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 24px 64px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head__title { display: flex; flex-direction: column; gap: 16px; }
.section-head--stack { grid-template-columns: minmax(0, 760px); }
@media (max-width: 899px) { .section-head { grid-template-columns: 1fr; } }

/* ==========================================================================
   Cartes « arche » (accueil)
   ========================================================================== */
.arches__grid { display: grid; grid-template-columns: minmax(0, 340px); justify-content: center; gap: 28px; list-style: none; padding: 0; }
@media (min-width: 640px)  { .arches__grid { grid-template-columns: repeat(2, minmax(0, 340px)); } }
@media (min-width: 1100px) { .arches__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); } }

.arch-card {
  --c: var(--accent); --bg: var(--pastel); --c-ink: var(--accent-ink); --on-c: var(--on-accent);
  position: relative; height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center;
  padding: 26px 26px 26px; border-radius: 400px 400px var(--r) var(--r);
  background: var(--bg); border: var(--lead) solid var(--c); color: var(--ink); text-decoration: none;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .45s var(--ease);
}
.arch-card--rose  { --c: var(--rose);  --bg: var(--rose-pastel);  --c-ink: var(--rose-ink);  --on-c: var(--ink); }
.arch-card--bleu  { --c: var(--bleu);  --bg: var(--bleu-pastel);  --c-ink: var(--bleu-ink);  --on-c: #fff; }
.arch-card--jaune { --c: var(--jaune); --bg: var(--jaune-pastel); --c-ink: var(--jaune-ink); --on-c: var(--ink); }
.arch-card--rouge { --c: var(--rouge); --bg: var(--rose-pastel);  --c-ink: var(--rouge-ink); --on-c: #fff; }
@media (hover: hover) and (pointer: fine) { .arch-card:hover { transform: translateY(-8px); box-shadow: 0 34px 60px -34px var(--c); background: color-mix(in srgb, var(--bg) 70%, var(--c) 8%); } }
.arch-card .vitrail-svg { width: 100%; height: auto; color: var(--c); overflow: visible; transition: transform .6s var(--ease); }
@media (hover: hover) and (pointer: fine) { .arch-card:hover .vitrail-svg { transform: scale(1.025); } }
.arch-card__body { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.arch-card__title { font-weight: 900; font-size: clamp(26px, 2.2vw, 30px); letter-spacing: -.02em; line-height: 1.1; }
.arch-card__text { font-size: 16px; line-height: 1.5; color: var(--ink-soft); text-wrap: balance; }
.arch-card .link-arrow { margin-top: 8px; color: var(--c-ink); }
@media (hover: hover) and (pointer: fine) { .arch-card:hover .dot-arrow { transform: translateX(4px) rotate(-45deg); background: var(--c); border-color: var(--c); color: var(--on-c); } }

@media (max-width: 639px) {
  /* essai : une carte par ligne, pictogramme à gauche, textes à droite */
  .arches__grid { grid-template-columns: 1fr; gap: 14px; }
  .arch-card {
    --pic: 78px;   /* largeur du pictogramme */
    --pad: 16px;   /* marge intérieure, identique en haut et à gauche */
    flex-direction: row; align-items: flex-start; gap: 18px; text-align: left;
    padding: var(--pad) 18px var(--pad) var(--pad);
    /* coin haut gauche concentrique à l'arche du pictogramme :
       bordure + marge + rayon de l'arche (moitié du dessin, hors marge interne du SVG) */
    border-radius: calc(var(--lead) + var(--pad) + var(--pic) * .48) 22px 22px 22px;
  }
  .arch-card .vitrail-svg { flex: 0 0 var(--pic); width: var(--pic); }
  .arch-card__body { align-self: center; }
  .arch-card__body { align-items: flex-start; gap: 4px; flex: 1; min-width: 0; }
  .arch-card__title { font-size: 21px; letter-spacing: -.015em; }
  .arch-card__text { font-size: 14.5px; line-height: 1.45; text-wrap: pretty; }
  .arch-card .link-arrow { margin-top: 6px; font-size: 14.5px; gap: 8px; }
  .arch-card .link-arrow .dot-arrow { width: 30px; height: 30px; }
  .arch-card .link-arrow svg { width: 14px; height: 14px; }
}

/* Tracé du plomb : les lignes se dessinent à l’apparition */
.js .reveal .vitrail-svg path {
  stroke-dasharray: 1.001 1.001; stroke-dashoffset: 1.001; opacity: 0;
  transition: stroke-dashoffset 1.6s var(--ease-io), opacity .2s linear;
  transition-delay: calc(var(--i, 0) * 55ms + 150ms);
}
.js .reveal.is-visible .vitrail-svg path { stroke-dashoffset: 0; opacity: 1; }

/* ==========================================================================
   Bandeau défilant
   ========================================================================== */
.marquee { overflow: hidden; background: var(--ink); color: #fff; padding-block: clamp(18px, 2.4vw, 28px); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: clamp(24px, 3vw, 44px); padding-right: clamp(24px, 3vw, 44px); }
.marquee__item { font-weight: 900; font-size: clamp(26px, 3.6vw, 52px); letter-spacing: -.02em; white-space: nowrap; }
.marquee__item--outline { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.75); }
.marquee__gem { width: 14px; height: 14px; border-radius: 3px; transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Blocs alternés texte / image
   ========================================================================== */
.feature { padding-block: clamp(64px, 8vw, 112px); }
.feature--pierre { background: var(--pierre); }
.feature__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6.5vw, 96px); }
.feature__inner--rev .feature__media { order: -1; }
.feature__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.feature__index { font-weight: 900; font-size: 15px; color: var(--ink-soft); letter-spacing: .08em; }
.feature__title { font-weight: 900; font-size: clamp(36px, 4.2vw, 58px); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.feature__title span { display: block; }
.feature__lead { max-width: 520px; }
.feature__text .btn { margin-top: 6px; }
.feature__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--pierre); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 1.2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .feature__media:hover img { transform: scale(1.05); } }
.feature__tag {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 14px; font-weight: 700; color: var(--ink);
}
.feature__tag i { width: 9px; height: 9px; border-radius: 2px; transform: rotate(45deg); background: var(--tag, var(--accent)); }
@media (max-width: 899px) {
  .feature__inner { grid-template-columns: 1fr; gap: 28px; }
  .feature__media { order: -1; }
}

/* ==========================================================================
   Sous-pages : composants
   ========================================================================== */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 7vw, 112px); }
.split__visual { position: relative; display: flex; justify-content: center; }
.split__visual::before {
  content: ""; position: absolute; inset: 10% 5%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 35%, transparent), transparent);
  filter: blur(30px); opacity: .6;
}
.prose { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.prose p { color: var(--ink-soft); font-size: 18px; line-height: 1.7; }
.prose p strong { color: var(--ink); font-weight: 700; }
.arch-frame {
  width: min(340px, 100%); padding: 30px;
  background: var(--pastel); border: var(--lead) solid var(--accent); border-radius: 400px 400px var(--r) var(--r);
}
.arch-frame .vitrail-svg { width: 100%; height: auto; color: var(--accent); overflow: visible; }
/* Plombs : épaisseur recalculée en JS (main.js) pour égaler la bordure --lead ; valeur de repli sans JS */
.vitrail-svg { stroke-width: 2.4; }
.arch-photo { width: min(440px, 100%); aspect-ratio: 3 / 4; overflow: hidden; border: var(--stripe) solid var(--accent); border-radius: 400px 400px var(--r) var(--r); }
.arch-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) {
  .split { grid-template-columns: 1fr; }
  .split__visual { order: -1; }
  .arch-frame { width: min(260px, 100%); }
}

/* Tuiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; list-style: none; padding: 0; }
.tiles--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.tile {
  display: flex; flex-direction: column; gap: 12px; padding: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .tile:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 28px 50px -32px color-mix(in srgb, var(--accent) 70%, black); } }
.tile__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--pastel); color: var(--accent-ink); margin-bottom: 6px; }
.tile__icon svg { width: 24px; height: 24px; }
.tile p { font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 28px 20px; list-style: none; padding: 0; counter-reset: step; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 8px; padding-top: 72px; counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-weight: 900; font-size: 17px;
}
.steps li::after { content: ""; position: absolute; top: 26px; left: 64px; right: -8px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.steps li:last-child::after { display: none; }
.steps p { font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); }

/* ==========================================================================
   Dans les médias : carrousel horizontal
   ========================================================================== */
:root { --rouge-pastel: #ffe4e7; }

/* Couleur par type de média : les 4 verres de la marque */
.t-radio     { --c: var(--rose);  --c-ink: var(--rose-ink);  --c-pastel: var(--rose-pastel);  --on-c: var(--ink); }
.t-presse    { --c: var(--bleu);  --c-ink: var(--bleu-ink);  --c-pastel: var(--bleu-pastel);  --on-c: #fff; }
.t-video     { --c: var(--rouge); --c-ink: var(--rouge-ink); --c-pastel: var(--rouge-pastel); --on-c: #fff; }
.t-evenement { --c: var(--jaune); --c-ink: var(--jaune-ink); --c-pastel: var(--jaune-pastel); --on-c: var(--ink); }

.carousel__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.press-count { font-size: 16px; color: var(--ink-soft); }
.press-count strong { font-weight: 900; font-size: 20px; color: var(--ink); }
.carousel__nav { display: flex; gap: 10px; }
.carousel__btn {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), opacity .2s;
}
.carousel__btn svg { width: 22px; height: 22px; }
@media (hover: hover) and (pointer: fine) { .carousel__btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; } }
.carousel__btn:disabled { opacity: .35; cursor: default; }

.carousel__track {
  display: flex; gap: 20px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scroll-behavior: smooth;
  margin-inline: calc(-1 * var(--gutter)); padding: 6px var(--gutter) 28px; scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline-offset: -3px; }
.press-slide { flex: 0 0 clamp(280px, 30vw, 380px); scroll-snap-align: start; display: flex; }

.press-card {
  position: relative; display: flex; flex-direction: column; width: 100%; overflow: hidden;
  border-radius: var(--r); background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .press-card:hover { transform: translateY(-6px); border-color: var(--c); box-shadow: 0 30px 50px -32px color-mix(in srgb, var(--c) 80%, black); } }
.press-card__media {
  position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-pastel);
  border-bottom: 4px solid var(--c);
}
.press-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
@media (hover: hover) and (pointer: fine) { .press-card:hover .press-card__media img { transform: scale(1.06); } }
.press-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,10,28,.35), transparent 35%, transparent 70%, rgba(12,10,28,.45)); pointer-events: none; }
.press-chip {
  position: absolute; z-index: 1; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 6px; border-radius: 999px;
  background: var(--c); color: var(--on-c); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.press-chip__icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--c-ink); }
.press-chip__icon svg { width: 13px; height: 13px; }
.press-card__credit { position: absolute; z-index: 1; right: 12px; bottom: 9px; font-size: 11.5px; font-weight: 500; color: rgba(255,255,255,.9); text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.press-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 22px 22px; }
.press-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; }
.press-card__meta time { font-weight: 700; color: var(--c-ink); }
.press-card__source { color: var(--ink-soft); }
.press-card__source::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 1.5px; transform: rotate(45deg) translateY(-2px); background: var(--c); }
.press-card__title {
  font-weight: 900; font-size: 19px; line-height: 1.3; letter-spacing: -.01em; text-wrap: pretty;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.press-card__summary {
  font-size: 15.5px; line-height: 1.55; color: var(--ink-soft);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.press-card__cta { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 15px; color: var(--c-ink); }
/* Icône de redirection : trait de la flèche = bordure du cercle (2 px) */
.press-card__cta .dot-arrow {
  --stroke: 2px;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: var(--stroke) solid var(--c-ink); background: transparent; color: var(--c-ink);
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.press-card__cta .dot-arrow svg { width: 16px; height: 16px; transform: rotate(-45deg); }
.press-card__cta .dot-arrow svg path { stroke-width: var(--stroke); vector-effect: non-scaling-stroke; }
@media (hover: hover) and (pointer: fine) { .press-card:hover .dot-arrow { transform: translate(3px, -3px); background: var(--c); border-color: var(--c); color: var(--on-c); } }

.carousel__progress { position: relative; height: 3px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 12%, transparent); overflow: hidden; }
.carousel__progress span {
  position: absolute; inset: 0 auto 0 0; width: 30%; border-radius: 3px;
  background: linear-gradient(90deg, var(--rose), var(--bleu) 35%, var(--jaune) 68%, var(--rouge));
  transition: width .2s linear;
}

@media (max-width: 639px) {
  .press-slide { flex-basis: 82%; }
  .carousel__btn { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) { .carousel__track { scroll-behavior: auto; } }

/* Appel à l’action en arche (vitrail illuminé de nuit) */
.cta { padding-block: clamp(72px, 9vw, 128px); }
.cta__box {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
  padding: clamp(96px, 12vw, 168px) clamp(24px, 6vw, 80px) clamp(56px, 7vw, 88px);
  border-radius: 640px 640px var(--r) var(--r);
  background: var(--ink); color: #fff;
}
.cta__box::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .75;
  background:
    radial-gradient(40% 55% at 20% 25%, rgba(244,134,182,.45), transparent 70%),
    radial-gradient(40% 60% at 50% 0%, rgba(111,107,255,.55), transparent 70%),
    radial-gradient(40% 55% at 82% 30%, rgba(240,170,38,.4), transparent 70%),
    radial-gradient(50% 50% at 50% 110%, rgba(243,3,31,.35), transparent 70%);
}
.cta__box .lead { color: rgba(255,255,255,.8); max-width: 600px; }
.cta__box .btn-row { justify-content: center; margin-top: 8px; }
.cta__logo { width: 64px; height: 64px; filter: drop-shadow(0 6px 24px rgba(255,255,255,.25)); }

/* En-tête de page simple (contact, mentions…) */
.page-head {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + var(--header-top) + clamp(56px, 8vw, 112px)) 0 clamp(48px, 6vw, 80px);
  background: var(--pierre);
}
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .7;
  background:
    radial-gradient(30% 60% at 85% 20%, rgba(244,134,182,.35), transparent 70%),
    radial-gradient(28% 55% at 100% 80%, rgba(240,170,38,.3), transparent 70%),
    radial-gradient(30% 60% at 65% 100%, rgba(111,107,255,.25), transparent 70%);
}
.page-head__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.page-head .lead { max-width: 640px; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
@media (max-width: 899px) { .contact { grid-template-columns: 1fr; } }
.contact__info { display: flex; flex-direction: column; gap: 14px; }
.info-card { display: flex; gap: 16px; padding: 22px; border-radius: 20px; background: var(--pierre); }
.info-card .tile__icon { flex: none; margin: 0; width: 46px; height: 46px; border-radius: 14px; background: #fff; }
.info-card h2 { font-weight: 900; font-size: 18px; margin-bottom: 4px; }
.info-card p, .info-card address { font-style: normal; font-size: 16.5px; line-height: 1.55; color: var(--ink-soft); }
.info-card a { font-weight: 700; color: var(--bleu); }
.socials-inline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.socials-inline a {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px;
  background: #fff; text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 700;
  border: 1px solid var(--line); transition: border-color .2s;
}
@media (hover: hover) and (pointer: fine) { .socials-inline a:hover { border-color: var(--bleu); } }
.socials-inline img { width: 18px; height: 18px; }

.form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 44px); background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 40px 80px -50px rgba(18,16,31,.35); }
.form__title { font-weight: 900; font-size: 26px; letter-spacing: -.02em; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 599px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 15px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font: 500 16.5px/1.4 var(--font); color: var(--ink); background: #fbfaf8;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 170px; resize: vertical; }
@media (hover: hover) and (pointer: fine) { .field input:hover, .field select:hover, .field textarea:hover { border-color: #cfc9bf; } }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--bleu); box-shadow: 0 0 0 4px var(--bleu-pastel); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--bleu); flex: none; }
.check a { color: var(--bleu); font-weight: 700; }
.form .btn { justify-self: start; }
.hidden-field { display: none; }

/* Mentions légales */
.legal { max-width: 820px; display: flex; flex-direction: column; gap: 44px; }
.legal section { display: flex; flex-direction: column; gap: 12px; }
.legal h2 { font-weight: 900; font-size: 26px; letter-spacing: -.02em; }
.legal p, .legal li { font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.legal a { color: var(--bleu); font-weight: 700; }
.todo { background: var(--jaune-pastel); border-bottom: 2px dashed var(--jaune); padding: 0 4px; color: var(--ink); }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer { position: relative; overflow: hidden; background: var(--ink); color: rgba(255,255,255,.78); }
.site-footer a { text-decoration: none; }
.site-footer__inner { padding-top: clamp(64px, 8vw, 104px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 360px; }
.footer-brand .brand { color: #fff; font-size: 22px; }
.footer-brand p { font-size: 15.5px; line-height: 1.6; }
.footer-col h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-col a, .footer-col address { font-style: normal; font-size: 15.5px; line-height: 1.55; }
@media (hover: hover) and (pointer: fine) { .footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; } }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
@media (hover: hover) and (pointer: fine) { .socials a:hover { transform: translateY(-3px); } }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: clamp(48px, 6vw, 72px); padding-block: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
@media (hover: hover) and (pointer: fine) { .footer-bottom a:hover { color: #fff; text-decoration: underline; } }
.wordmark {
  /* largeur du texte = 105 % de la largeur du site, centré (débord masqué par le footer) */
  display: block; width: 105vw; margin: 0 0 -0.17em -2.5vw; padding: 0;
  font-weight: 900; letter-spacing: -.055em; line-height: 1; white-space: nowrap; text-align: center;
  font-size: 19.4vw; /* 105vw ÷ 5,41 (largeur de « Vitraux Liryc » pour 1px de corps) */
  background: linear-gradient(90deg, var(--rose), var(--bleu-light) 35%, var(--jaune) 68%, var(--rouge));
  -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9;
  user-select: none;
}
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Apparition au défilement (activée seulement si JS)
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal .vitrail-svg path { stroke-dashoffset: 0; opacity: 1; }
  .marquee__track { transform: none; }
}
