/* =========================================================================
   CREATH — feuille de style commune (v7 multipage)
   Direction artistique : impressionnisme, d'après Claude Monet.

   Principe : la couleur n'est pas étalée, elle est POSÉE par touches
   juxtaposées que l'œil recompose à distance. Tout est fabriqué en CSS —
   aucune police distante, aucune image distante. Le site reste autonome
   et conforme (RGPD : rien ne part chez un tiers au chargement).
   ========================================================================= */

/* ============================ 1. PALETTE ============================== */
/* -------------------------------------------------------------------------
   PALETTE — « Paris, 1873-1878 »

   Ancrage : Creath est au 49 boulevard de Clichy, Paris 9e. Monet habite
   17 rue Moncey (Paris 9e) en 1877 et fréquente la Nouvelle Athènes,
   place Pigalle ; la première exposition impressionniste s'ouvre en 1874
   au 35 boulevard des Capucines. L'impressionnisme est né dans ce quartier,
   et son sujet était celui de Creath : la rue, le commerce, la foule.

   Trois toiles d'ancrage :
     · Boulevard des Capucines, 1873-74 (Nelson-Atkins, Kansas City)
     · La Gare Saint-Lazare, 1877 (Musée d'Orsay)
     · La Rue Montorgueil, fête du 30 juin 1878 (Musée d'Orsay)

   Tous les contrastes ci-dessous sont mesurés (WCAG 2.2 § 1.4.3 et 1.4.11).
   ------------------------------------------------------------------------- */
:root{
  /* --- Surfaces --- */
  --toile:         #F1ECE2;   /* le plâtre du boulevard (Capucines) */
  --toile-claire:  #FBF8F2;   /* blanc de plomb — cartes, surfaces surélevées */
  --brume:         #DCE3E3;   /* la vapeur (Saint-Lazare) */

  /* --- Encres — jamais du noir dans le texte --- */
  --encre:         #1E262F;   /* 12,98:1 sur --toile  ✅ AAA */
  --encre-douce:   #565A6B;   /* l'ombre mauve · 5,81:1 ✅ AA */
  --encre-pale:    #78838A;   /* 3,30:1 — libellés inactifs, jamais du corps */

  /* --- Le noir : le mur du musée, jamais la peinture.
         Réservé aux bandeaux, au pied et aux temps forts — le clair domine. --- */
  --noir:          #000000;
  --noir-encre:    #050708;
  --noir-doux:     #17202A;   /* nuit de zinc — les toits au soir */

  /* --- Bleus --- */
  --bleu-nuit:     #17202A;
  --bleu-profond:  #22485F;
  --bleu:          #2F5D86;   /* cobalt · 5,88:1 ✅ AA — italiques, liens */
  --bleu-clair:    #83AAC2;   /* fond sombre uniquement */

  /* --- Accents --- */
  --soleil:        #A83224;   /* VERMILLON (Montorgueil) · 5,67:1 ✅ · blanc dessus 6,67:1 ✅ */
  --soleil-doux:   #E68A6B;   /* vermillon clair — fond sombre uniquement · 6,43:1 ✅ */
  --vert:          #3E6F5E;   /* viridian · 4,90:1 ✅ — signal positif */
  --vert-clair:    #8FAF8A;
  --lavande:       #6B5E8C;   /* violet de cobalt · blanc dessus ≈ 5,8:1 ✅ */
  --lavande-clair: #B4A9CB;
  --rose:          #C1706F;
  --or:            #B4832F;   /* ocre — PEINTURE ou texte sur sombre (4,88:1). */
                              /* ⚠ 2,86:1 sur clair : jamais du texte sur --toile. */
  --or-fonce:      #7A5615;   /* la version lisible sur clair, si besoin */

  /* --- Le marqueur (d'après impressionnismes.fr) --- */
  --marqueur:      #F0DA6E;   /* le jaune de surlignage · encre dessus 11,4:1 ✅ */
  --marqueur-vif:  #FFE94D;

  /* --- Utilitaires --- */
  --trait:         rgba(30,38,47,0.14);
  --trait-fort:    #78838A;   /* bordures INTERACTIVES · 3,30:1 ✅ WCAG 1.4.11 */
  --trait-clair:   rgba(255,255,255,0.20);
  --trait-clair-fort: #778690;
  --ombre:         0 18px 50px -30px rgba(30,38,47,0.5);
  --ombre-forte:   0 34px 84px -44px rgba(30,38,47,0.68);

  --serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', serif;
  --sans:  system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --large: 1240px;
}

/* Les chiffres sont l'argument de ce site : ils doivent s'aligner en colonne.
   Georgia n'a que des chiffres elzéviriens (qui montent et descendent) —
   on force les chiffres bâton tabulaires partout où un montant est affiché. */
.plan-prix, .chiffre-num, .metrique-v, .comparatif td, .cart-ligne .v{
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: 'lnum' 1, 'tnum' 1;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

/* Le tissage de la toile vit DANS le fond de la page, jamais au-dessus du
   texte : un grain posé par-dessus abaisse la lisibilité réelle et recouvre
   les anneaux de focus. Tuile de 300 px et bruit anisotrope (0.62 0.55) —
   une vraie toile a un tissage, donc une direction ; et il est légèrement
   coloré, parce que le grain d'une toile n'est pas gris neutre. */
body{
  margin: 0;
  color: var(--encre);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;

  background-color: var(--toile);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='t'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.62 0.55' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0.08'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23t)' opacity='0.30'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  background-blend-mode: multiply;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; }

.wrap{ max-width: var(--large); margin: 0 auto; padding: 0 32px; }
.section{ position: relative; padding: 112px 0; }
.section > .wrap{ position: relative; z-index: 2; }
.section-brume{ background: var(--brume); }

/* La salle sombre — noir profond, pour que la couleur éclate dessus */
.section-nuit{ background: var(--noir-encre); color: #E8EFF1; }
.section-noir{ background: var(--noir); color: #E8EFF1; }
.section-nuit .chapitre,
.section-noir .chapitre{ color: var(--soleil-doux); }
.section-nuit .titre em,
.section-noir .titre em{ color: var(--bleu-clair); }
.section-nuit .intro,
.section-noir .intro{ color: rgba(232,239,241,.74); }

/* Le filet de lumière qui borde une section noire — le cadre doré du musée */
.section-noir::before,
.section-nuit::before{
  content:''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--soleil) 22%, var(--or) 52%, var(--bleu-clair) 78%, transparent);
  opacity: .55;
}

/* ==================== 2. LA PEINTURE (le cœur de la DA) ===============
   Trois couches superposées :
     · la base      — le fond de la toile, un dégradé large
     · les touches  — des coups de pinceau courts, juxtaposés, non mélangés
     · l'eau        — les reflets horizontaux qui brisent la lumière
   ===================================================================== */
/* LA TOUCHE DIVISÉE.
   Pas de flou : un flou mélange les couleurs AVANT l'œil, et il ne reste
   rien à recomposer — c'est l'inverse de l'impressionnisme. Ici, des marques
   nettes (arrêts durs), non mélangées, posées côte à côte, avec des périodes
   premières entre elles (11 / 9 / 13 px) pour que le motif ne se répète
   jamais visiblement. Le masque perpendiculaire casse les hachures en
   virgules courtes : c'est lui qui fait la touche plutôt que la gravure. */
.peinture{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 0;          /* une peinture n'a pas de coins arrondis —
                                le rayon appartient à l'interface, pas à la toile */
  --fond:  var(--bleu-profond);
  --m1:    var(--bleu-clair);
  --m2:    var(--soleil-doux);
  --m3:    var(--or);
  --angle: 0deg;
  background-color: var(--fond);
}
.peinture::before{
  content:'';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(calc( 63deg + var(--angle)), var(--m1) 0 3px, transparent 3px 11px),
    repeating-linear-gradient(calc(-24deg + var(--angle)), var(--m2) 0 2px, transparent 2px  9px),
    repeating-linear-gradient(calc(  8deg + var(--angle)), var(--m3) 0 2px, transparent 2px 13px);
  -webkit-mask-image: repeating-linear-gradient(153deg, #000 0 6px, transparent 6px 10px);
          mask-image: repeating-linear-gradient(153deg, #000 0 6px, transparent 6px 10px);
  mix-blend-mode: screen;
  opacity: .82;
}
/* Le grain de peinture — seulement là où il n'y a rien à lire */
.peinture::after{
  content:'';
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23p)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: .16;
}

/* ---- LA TOILE CLAIRE — « Boulevard des Capucines », 1873 ----
   C'est la lumière dominante du site : le plâtre chaud du boulevard,
   les ombres mauves, la foule en virgules. Les touches sont posées en
   multiply (elles assombrissent la toile, comme la peinture sur l'apprêt)
   et non en screen. C'est ce fond-là qui doit occuper le plus de surface. */
.peinture.claire{
  --fond: var(--toile);
  --m1: color-mix(in srgb, var(--bleu)    52%, transparent);
  --m2: color-mix(in srgb, var(--soleil)  38%, transparent);
  --m3: color-mix(in srgb, var(--or)      44%, transparent);
}
.peinture.claire::before{ mix-blend-mode: multiply; opacity: .34; }
.peinture.claire::after{ opacity: .10; }

/* Repli pour les navigateurs sans color-mix */
@supports not (color: color-mix(in srgb, red 50%, transparent)){
  .peinture.claire{ --m1: rgba(47,93,134,.52); --m2: rgba(168,50,36,.38); --m3: rgba(180,131,47,.44); }
}

/* La foule du boulevard : des virgules plus courtes et plus denses,
   posées verticalement — c'est ainsi que Monet peint les passants. */
.peinture.foule::before{
  background-image:
    repeating-linear-gradient(calc( 86deg + var(--angle)), var(--m1) 0 2px, transparent 2px  7px),
    repeating-linear-gradient(calc( 79deg + var(--angle)), var(--m2) 0 2px, transparent 2px 11px),
    repeating-linear-gradient(calc( 94deg + var(--angle)), var(--m3) 0 1px, transparent 1px  9px);
  -webkit-mask-image: repeating-linear-gradient(6deg, #000 0 4px, transparent 4px 9px);
          mask-image: repeating-linear-gradient(6deg, #000 0 4px, transparent 4px 9px);
}

/* ---- LE CHIFFRE PEINT ----
   Sur ce site, l'image, c'est la preuve. La texture divisionniste est
   découpée dans le chiffre lui-même plutôt que posée derrière. */
.chiffre-peint{
  font-family: var(--serif);
  line-height: .86;
  letter-spacing: -0.045em;
  font-variant-numeric: lining-nums tabular-nums;
  background-image:
    repeating-linear-gradient( 63deg, var(--bleu)   0 3px, transparent 3px 10px),
    repeating-linear-gradient(-24deg, var(--soleil) 0 2px, transparent 2px  8px),
    linear-gradient(var(--encre), var(--encre));
  background-blend-mode: multiply, multiply, normal;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
@supports not ((background-clip: text) or (-webkit-background-clip: text)){
  .chiffre-peint{ color: var(--encre); background-image: none; }
}

/* ---- LE CARTOUCHE DE MUSÉE ----
   À la place d'une image absente : une plaque de salle. Ce n'est pas un
   trou, c'est un genre — et il ne désigne que des choses réelles. */
.cartel{
  border-left: 2px solid var(--soleil);
  padding: 4px 0 4px 18px;
  font-size: 13px; line-height: 1.6; color: var(--encre-douce);
}
.cartel b{ font-family: var(--serif); font-size: 17px; color: var(--encre); font-weight: 400; display: block; margin-bottom: 3px; }
.cartel .src{ font-size: 11.5px; color: var(--encre-pale); margin-top: 5px; display: block; }

/* Le bord de toile : marie-louise et filet, comme un tableau accroché */
.encadre{
  box-shadow:
    0 0 0 12px var(--toile-claire),
    0 0 0 13px rgba(30,38,47,.18),
    0 26px 60px -34px rgba(30,38,47,.55);
}

/* Les heures. Une page = une heure : la structure ne bouge pas,
   seule la lumière change — le principe de la série de Rouen. */
.p-aube{                                   /* l'aube, avant l'ouverture */
  --fond: #3C4A5E; --m1: var(--lavande-clair); --m2: var(--bleu-clair); --m3: var(--soleil-doux);
  --angle: -6deg;
}
.p-midi{                                   /* le boulevard, midi d'hiver */
  --fond: #2F5D86; --m1: var(--bleu-clair); --m2: var(--or); --m3: var(--soleil-doux);
  --angle: 0deg;
}
.p-soir{                                   /* la rue pavoisée, Montorgueil */
  --fond: #7A2E24; --m1: var(--soleil-doux); --m2: var(--or); --m3: var(--rose);
  --angle: 14deg;
}
.p-bassin{                                 /* sept heures, la vapeur */
  --fond: #2A4A46; --m1: var(--vert-clair); --m2: var(--bleu-clair); --m3: var(--lavande-clair);
  --angle: -12deg;
}

/* --- Photographie traitée en peinture ---
   Tri-ton via un filtre SVG local (voir le <svg> en bas de page) : les ombres
   virent au cobalt, les demi-teintes au mauve, les lumières au plâtre.
   C'est la logique de Monet, qui ne peint jamais une ombre en gris.
   Puis la touche est posée PAR-DESSUS, et le bord se perd sur deux côtés
   seulement — une vignette tout autour, c'est un filtre de 2012. */
.photo{
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--bleu-profond);
}
.photo img{
  width: 100%; height: 100%; object-fit: cover;
  filter: url(#duo-vapeur) contrast(1.06) saturate(.92);
}
/* La touche posée sur la photo */
.photo::after{
  content:''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    repeating-linear-gradient( 72deg, rgba(47,93,134,.50)  0 2px, transparent 2px  9px),
    repeating-linear-gradient(-18deg, rgba(230,138,107,.38) 0 2px, transparent 2px 11px);
  -webkit-mask-image: repeating-linear-gradient(160deg, #000 0 5px, transparent 5px 9px);
          mask-image: repeating-linear-gradient(160deg, #000 0 5px, transparent 5px 9px);
  mix-blend-mode: overlay;
  opacity: .42;
}
/* Le bord perdu — deux côtés, jamais quatre */
.photo.bord-perdu img{
  -webkit-mask-image:
    linear-gradient(to bottom, #000 58%, transparent 100%),
    linear-gradient(to left,   #000 74%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to bottom, #000 58%, transparent 100%),
    linear-gradient(to left,   #000 74%, transparent 100%);
          mask-composite: intersect;
}
/* Repli si le filtre SVG n'est pas rendu */
@supports not (filter: url(#duo-vapeur)){
  .photo img{ filter: saturate(.55) contrast(1.08); }
}

/* ================= LES PEINTURES (fichiers) =========================
   Les toiles sont désormais de vraies images. Le grain de peinture reste
   posé par-dessus pour qu'elles se fondent avec ce qui est peint en CSS.
   ==================================================================== */
.toile-photo{
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--bleu-profond);
  border-radius: 0;
}
.toile-photo img{
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.toile-photo::after{
  content:''; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23p)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: .12;
}

/* --- Le hero en peinture pleine largeur ---
   Un voile dégradé depuis la gauche garantit que le texte reste lisible
   quoi qu'il arrive, sans masquer la toile côté droit. */
.hero-toile{ position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-toile img{ width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero-toile::after{
  content:''; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(241,236,226,.94) 0%,
    rgba(241,236,226,.82) 26%,
    rgba(241,236,226,.30) 54%,
    rgba(241,236,226,0)   74%);
}
/* La variante sombre — page Méthode, la nocturne */
.hero-sombre{ color: #EEF3F5; }
.hero-sombre .hero-toile::after{
  background: linear-gradient(90deg,
    rgba(5,7,8,.92) 0%,
    rgba(5,7,8,.76) 28%,
    rgba(5,7,8,.26) 56%,
    rgba(5,7,8,0)   76%);
}
.hero-sombre .chapitre{ color: var(--soleil-doux); }
.hero-sombre .affiche{ color: #F4F8FA; }
.hero-sombre .affiche .cursive{ color: var(--soleil-doux); }
.hero-sombre .affiche .fin{ color: rgba(238,243,245,.82); }
.hero-sombre .intro{ color: rgba(238,243,245,.82); }
.hero-sombre .hero-lieu{ color: var(--soleil-doux); }

/* Bandeau pleine largeur — une toile qui respire, sans texte dessus */
.bandeau-toile{ position: relative; overflow: hidden; height: clamp(260px, 34vw, 460px); }
.bandeau-toile img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.bandeau-toile .cartel-flottant{
  position: absolute; left: 32px; bottom: 26px; z-index: 3;
  background: rgba(251,248,242,.94);
  padding: 14px 20px; max-width: 42ch;
  border-left: 2px solid var(--soleil);
}
.bandeau-toile .cartel-flottant b{ font-family: var(--serif); font-size: 17px; display: block; margin-bottom: 3px; }
.bandeau-toile .cartel-flottant span{ font-size: 13px; color: var(--encre-douce); line-height: 1.55; }

@media (max-width: 720px){
  .bandeau-toile .cartel-flottant{ left: 16px; right: 16px; bottom: 16px; padding: 12px 16px; }
}

/* ==================== LE SLIDER — une salle, cinq toiles =============
   Chaque diapositive a son univers : sa peinture, sa lumière, son accent,
   et sa porte de sortie vers la page qui la concerne.
   ==================================================================== */
.diapo{
  position: relative; overflow: hidden;
  min-height: clamp(540px, 82vh, 780px);
  background: var(--noir-encre);
}
.slide{
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 1s ease, visibility 1s;
}
.slide.actif{ opacity: 1; visibility: visible; }
.slide-img{ position: absolute; inset: 0; z-index: 0; }
.slide-img img{
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.06);
  transition: transform 9s ease-out;
}
.slide.actif .slide-img img{ transform: scale(1); }

/* Le voile — clair ou sombre selon la toile, toujours depuis la gauche */
.slide-img::after{
  content:''; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(5,7,8,.90) 0%, rgba(5,7,8,.74) 30%, rgba(5,7,8,.24) 58%, rgba(5,7,8,0) 78%);
}
.slide.claire .slide-img::after{
  background: linear-gradient(90deg,
    rgba(241,236,226,.95) 0%, rgba(241,236,226,.84) 28%, rgba(241,236,226,.32) 56%, rgba(241,236,226,0) 76%);
}

.slide-corps{
  position: relative; z-index: 3;
  min-height: clamp(540px, 82vh, 780px);
  display: flex; align-items: center;
  padding: 100px 0 132px;
}
.slide-inner{ max-width: 640px; }
.slide-mark{
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 20px; color: var(--soleil-doux);
}
.slide-titre{
  font-family: var(--sans); font-weight: 900;
  font-size: clamp(38px, 6.4vw, 92px);
  line-height: .88; letter-spacing: -0.05em; text-transform: uppercase;
  margin: 0 0 22px; color: #F6FAFB;
}
.slide-titre .cursive{
  font-family: var(--serif); font-weight: 400; font-style: italic;
  text-transform: none; letter-spacing: -0.015em;
  font-size: 1.1em; line-height: .7; color: var(--soleil-doux);
}
.slide-texte{
  font-size: 18px; line-height: 1.66; margin: 0 0 30px;
  color: rgba(246,250,251,.86); max-width: 46ch;
}
.slide-texte strong{ color: #fff; font-weight: 600; }

/* L'univers clair */
.slide.claire .slide-mark{ color: var(--soleil); }
.slide.claire .slide-titre{ color: var(--encre); }
.slide.claire .slide-titre .cursive{ color: var(--bleu); }
.slide.claire .slide-texte{ color: var(--encre-douce); }
.slide.claire .slide-texte strong{ color: var(--encre); }

/* --- La barre de commande --- */
.diapo-barre{
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 6;
  padding: 0 32px 26px;
}
.diapo-barre-in{
  max-width: var(--large); margin: 0 auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.puces{ display: flex; gap: 10px; flex: 1 1 auto; }
.puce{
  flex: 1 1 0; max-width: 150px; min-width: 40px;
  background: none; border: none; padding: 12px 0 0; cursor: pointer;
  text-align: left; font-family: var(--sans);
}
.puce-trait{
  height: 3px; background: rgba(255,255,255,.28); position: relative; overflow: hidden;
}
.slide-clair-actif .puce-trait{ background: rgba(30,38,47,.22); }
.puce-trait span{
  position: absolute; inset: 0; width: 0;
  background: var(--soleil-doux);
}
.puce[aria-current="true"] .puce-trait span{ background: var(--soleil-doux); }
.puce-nom{
  display: block; margin-top: 9px;
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; color: rgba(255,255,255,.55);
  transition: color .3s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.puce[aria-current="true"] .puce-nom{ color: #fff; }
.slide-clair-actif .puce-nom{ color: rgba(30,38,47,.5); }
.slide-clair-actif .puce[aria-current="true"] .puce-nom{ color: var(--encre); }

.fleches{ display: flex; gap: 8px; }
.fleche{
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(0,0,0,.22); color: #fff;
  font-size: 17px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background .25s, border-color .25s;
}
.fleche:hover{ background: var(--soleil); border-color: var(--soleil); }
.slide-clair-actif .fleche{ border-color: rgba(30,38,47,.28); background: rgba(255,255,255,.55); color: var(--encre); }
.slide-clair-actif .fleche:hover{ background: var(--soleil); border-color: var(--soleil); color: #fff; }

@media (max-width: 860px){
  .diapo{ min-height: 620px; }
  .slide-corps{ min-height: 620px; padding: 70px 0 150px; }
  .slide-inner{ max-width: none; }
  .slide-texte{ font-size: 16.5px; }
  /* sur petit écran le voile part du bas, pas de la gauche */
  .slide-img::after{
    background: linear-gradient(180deg, rgba(5,7,8,.62) 0%, rgba(5,7,8,.80) 55%, rgba(5,7,8,.93) 100%);
  }
  .slide.claire .slide-img::after{
    background: linear-gradient(180deg, rgba(241,236,226,.68) 0%, rgba(241,236,226,.86) 55%, rgba(241,236,226,.96) 100%);
  }
  .puce-nom{ display: none; }
  .puce{ max-width: none; }
  .diapo-barre{ padding: 0 20px 22px; }
}

/* Emplacement sans photo — ce n'est pas un trou, c'est une étude peinte */
.etude{ position: relative; }
.etude .mention{
  position: absolute; left: 16px; bottom: 14px; z-index: 3;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.62); font-weight: 600;
}

/* ========================= 3. TYPOGRAPHIE ============================ */
.chapitre{
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--soleil); font-weight: 700; margin-bottom: 18px;
}
.titre{
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.06; font-weight: 400; letter-spacing: -0.022em; margin: 0;
}
.titre em{ font-style: italic; color: var(--bleu); }
.titre-p{
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.12; font-weight: 400; letter-spacing: -0.02em; margin: 0 0 18px;
}
.titre-p em{ font-style: italic; color: var(--bleu); }
.intro{
  font-size: 18px; line-height: 1.7; color: var(--encre-douce);
  margin: 0; max-width: 56ch;
}
.entete{
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: end; margin-bottom: 60px;
}

/* ============ 3 bis. LE GESTE D'AFFICHE (d'après impressionnismes.fr) =====
   Un mot énorme, en capitales grasses, qui déborde de la page — et à
   l'intérieur, une bribe en cursive qui casse la masse. La couleur ne vient
   pas du texte : elle vient des toiles posées dessous.
   ======================================================================== */
.affiche{
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(52px, 13.5vw, 210px);
  line-height: .82;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  color: var(--encre);
  margin: 0;
  /* le mot dépasse volontairement la marge, comme une affiche collée */
  margin-left: -0.055em;
}
/* La version des pages intérieures — même geste, un cran plus bas */
.affiche.moyenne{ font-size: clamp(42px, 9.5vw, 128px); }
.affiche.moyenne .fin{ font-size: .34em; }

.affiche .cursive{
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.015em;
  color: var(--bleu);
  /* la cursive est plus grande que la capitale, comme leur S final */
  font-size: 1.12em;
  line-height: .7;
}
.affiche .fin{
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  font-size: .30em;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: .18em;
  color: var(--encre-douce);
}

/* Le surlignage au marqueur — sur un mot, jamais sur une phrase entière */
.marque-jaune{
  background-image: linear-gradient(
    transparent 56%, var(--marqueur) 56%, var(--marqueur) 94%, transparent 94%);
  padding: 0 .06em;
}
.marque-jaune.forte{
  background-image: linear-gradient(
    transparent 10%, var(--marqueur) 10%, var(--marqueur) 96%, transparent 96%);
}

/* La frise : des toiles de hauteurs inégales, alignées par le bas,
   comme un accrochage de salle. */
.frise{
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-top: 52px;
}
.frise > *{ flex: 1 1 0; min-width: 0; }
.frise .toile{ width: 100%; }
.frise .h1{ height: 190px; }
.frise .h2{ height: 300px; }
.frise .h3{ height: 240px; }
.frise .h4{ height: 340px; }
.frise .h5{ height: 210px; }
.frise-legende{
  display: flex; gap: 16px; margin-top: 14px;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--encre-pale); font-weight: 600;
}
.frise-legende > *{ flex: 1 1 0; min-width: 0; }

@media (max-width: 900px){
  .frise{ gap: 8px; }
  .frise .h1{ height: 110px; } .frise .h2{ height: 170px; }
  .frise .h3{ height: 135px; } .frise .h4{ height: 195px; }
  .frise .h5{ height: 120px; }
  .frise-legende{ display: none; }
}

/* Les en-têtes de page : fond blanc franc, comme une affiche collée au mur.
   La couleur ne vient jamais du fond — elle vient des toiles. */
.entete-page{ background: #FFFFFF; }
.entete-page.hero-sombre{ background: var(--noir-encre); }
.entete-page .fond{ opacity: .62; }

/* =========================== 4. BOUTONS ============================== */
.btn{
  display: inline-block; font-size: 14px; font-weight: 600;
  padding: 13px 24px; border-radius: 2px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  font-family: var(--sans);
  transition: transform .2s, background .25s, color .25s, border-color .25s;
}
.btn-plein{ background: var(--encre); color: var(--toile-claire); box-shadow: var(--ombre); }
.btn-plein:hover{ background: var(--bleu); transform: translateY(-2px); }
.btn-vide{ border-color: var(--trait); color: var(--encre); }
.btn-vide:hover{ border-color: var(--encre); }
.btn-soleil{ background: var(--soleil); color: #fff; }
.btn-soleil:hover{ background: #C24E20; transform: translateY(-2px); }
.btn-clair{ border: 1px solid var(--trait-clair); color: #E8EFF1; }
.btn-clair:hover{ border-color: #E8EFF1; }
/* Le bouton marqueur — celui de la barre haute, comme leur « Centenaire Monet » */
.btn-or{ background: var(--marqueur); color: var(--encre); font-weight: 700; }
.btn-or:hover{ background: var(--marqueur-vif); transform: translateY(-2px); }

/* ========================== 5. BARRE HAUTE =========================== */
.topbar{
  position: sticky; top: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px 32px;
  background: rgba(245,241,230,.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--trait);
}
.marque{
  font-family: var(--serif); font-size: 26px; letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 12px; text-decoration: none;
}
.marque .mot{ position: relative; z-index: 1; }
.marque .mot::after{
  content:''; position: absolute; left: -3px; right: -3px; bottom: 2px; height: 7px;
  background: linear-gradient(90deg, transparent, var(--soleil-doux) 20%, var(--or) 58%, transparent);
  opacity: .5; filter: blur(2px); z-index: -1;
}
.marque .sous{
  font-family: var(--sans); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--encre-douce); font-weight: 600;
}
.nav{ display: flex; gap: 26px; }
.nav a{
  font-size: 11.5px; text-decoration: none; color: var(--encre-douce);
  text-transform: uppercase; letter-spacing: .13em; font-weight: 600;
  padding-bottom: 4px; border-bottom: 1px solid transparent;
  transition: color .25s, border-color .25s;
}
.nav a:hover{ color: var(--encre); border-color: var(--soleil); }
.nav a.actif{ color: var(--encre); border-color: var(--soleil); }

.burger{
  display: none; background: none; border: 1px solid var(--trait);
  border-radius: 2px; padding: 9px 11px; cursor: pointer;
}
.burger span{
  display: block; width: 18px; height: 2px; background: var(--encre);
  margin: 3px 0; transition: transform .3s, opacity .3s;
}
.topbar.ouvert .burger span:nth-child(1){ transform: translateY(5px) rotate(45deg); }
.topbar.ouvert .burger span:nth-child(2){ opacity: 0; }
.topbar.ouvert .burger span:nth-child(3){ transform: translateY(-5px) rotate(-45deg); }

/* ====================== 6. BASCULE D'ENGAGEMENT ====================== */
.bascule{
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 0 auto 44px; flex-wrap: wrap;
}
.bascule-lab{
  font-size: 14px; font-weight: 600; color: var(--encre-pale);
  cursor: pointer; transition: color .25s; user-select: none;
}
.bascule-lab.on{ color: var(--encre); }
.bascule-lab .gain{
  display: inline-block; margin-left: 8px; font-size: 10.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--soleil); color: #fff; padding: 3px 8px; border-radius: 2px;
}
.interrupteur{ position: relative; width: 58px; height: 30px; flex: none; }
.interrupteur input{ position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.glissiere{
  position: absolute; inset: 0; border-radius: 30px;
  background: var(--encre); transition: background .3s;
}
.glissiere::after{
  content:''; position: absolute; top: 4px; left: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--toile-claire); transition: transform .3s;
}
.interrupteur input:focus-visible + .glissiere{ outline: 2px solid var(--soleil); outline-offset: 3px; }
.interrupteur input:checked + .glissiere{ background: var(--soleil); }
.interrupteur input:checked + .glissiere::after{ transform: translateX(28px); }

/* Ce qui s'affiche selon la bascule */
.si-libre{ display: inline; }
.si-engage{ display: none; }
body.engage .si-libre{ display: none; }
body.engage .si-engage{ display: inline; }

/* Les boutons de paiement suivent la bascule, mais restent des blocs */
a.plan-cta.si-libre{ display: block; }
a.plan-cta.si-engage{ display: none; }
body.engage a.plan-cta.si-libre{ display: none; }
body.engage a.plan-cta.si-engage{ display: block; }

/* ============================ 7. PLANS =============================== */
.famille{ margin-bottom: 68px; }
.famille-barre{
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: baseline;
  padding-bottom: 16px; margin-bottom: 32px; border-bottom: 2px solid var(--encre);
}
.famille-num{ font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--soleil); font-weight: 700; }
.famille-titre{ font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.02em; }
.famille-titre em{ font-style: italic; color: var(--bleu); }
.famille-tag{ font-size: 13px; color: var(--encre-douce); text-align: right; line-height: 1.45; }

.plans{ display: grid; gap: 20px; }
.plans.deux{ grid-template-columns: repeat(2,1fr); }
.plans.trois{ grid-template-columns: repeat(3,1fr); }

.plan{
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--toile-claire); border: 1px solid var(--trait);
  border-radius: 2px; padding: 32px 28px 28px;
  transition: transform .3s, box-shadow .3s;
}
.plan::before{
  content:''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--bleu), var(--lavande), var(--rose));
}
.plan.p-vert::before{ background: linear-gradient(90deg, var(--vert), var(--vert-clair), var(--bleu-clair)); }
.plan.p-feu::before{ background: linear-gradient(90deg, var(--soleil), var(--soleil-doux), var(--or)); }
.plan:hover{ transform: translateY(-5px); box-shadow: var(--ombre); }

.plan.phare{ background: var(--noir-encre); color: #E8EFF1; border-color: transparent; box-shadow: var(--ombre-forte); }
.plan.phare .plan-desc, .plan.phare .plan-periode{ color: rgba(232,239,241,.68); }
.plan.phare .plan-liste li{ color: rgba(232,239,241,.9); border-color: rgba(232,239,241,.15); }
.plan.phare .plan-prix{ color: #fff; }
.plan.phare .plan-nom em{ color: var(--soleil-doux); }
.plan.phare .plan-cta{ background: var(--soleil); color: #fff; }
.plan.phare .plan-cta:hover{ background: #C24E20; }

.plan-etiquette{
  position: absolute; top: 16px; right: 16px;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  padding: 5px 10px; border-radius: 2px; background: var(--soleil); color: #fff;
}
.plan-etiquette.beta{ background: var(--lavande); }
.plan-nom{ font-family: var(--serif); font-size: 25px; letter-spacing: -0.02em; margin-bottom: 8px; }
.plan-nom em{ font-style: italic; color: var(--bleu); }
.plan-desc{ font-size: 14px; color: var(--encre-douce); line-height: 1.55; min-height: 42px; margin-bottom: 20px; }
.plan-prix{ font-family: var(--serif); font-size: 48px; line-height: 1; letter-spacing: -0.04em; display: flex; align-items: baseline; gap: 4px; }
.plan-prix .dev{ font-size: 24px; color: var(--soleil); }
.plan-prix.devis{ font-size: 32px; font-style: italic; color: var(--bleu); }
.plan-periode{ font-size: 12.5px; color: var(--encre-douce); margin: 10px 0 22px; }
.plan-liste{ list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan-liste li{ font-size: 14px; padding: 10px 0 10px 22px; border-top: 1px solid var(--trait); position: relative; line-height: 1.5; }
.plan-liste li::before{ content:''; position: absolute; left: 0; top: 17px; width: 9px; height: 2px; background: var(--soleil); }
.plan-cta{
  display: block; text-align: center; padding: 14px; border-radius: 2px;
  text-decoration: none; font-size: 14px; font-weight: 600;
  background: var(--encre); color: var(--toile-claire); transition: background .25s;
}
.plan-cta:hover{ background: var(--bleu); }

.condition{
  margin-top: 18px; padding: 16px 18px;
  background: rgba(221,95,44,.09); border-left: 3px solid var(--soleil);
  font-size: 13px; line-height: 1.55; color: var(--encre-douce); border-radius: 0 2px 2px 0;
}
.condition b{ color: var(--encre); }

/* ====================== 8. DÉPLIANT (accordéon) ====================== */
.depliant{ border-top: 1px solid var(--trait); }
.depliant details{ border-bottom: 1px solid var(--trait); }
.depliant summary{
  list-style: none; cursor: pointer; padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--serif); font-size: 20px; transition: color .25s;
}
.depliant summary::-webkit-details-marker{ display: none; }
.depliant summary:hover{ color: var(--bleu); }
.depliant summary::after{
  content: '+'; font-family: var(--sans); font-size: 22px; color: var(--soleil);
  flex: none; transition: transform .3s;
}
.depliant details[open] summary::after{ transform: rotate(45deg); }
.depliant .contenu{ padding: 0 0 22px; font-size: 15px; line-height: 1.7; color: var(--encre-douce); max-width: 72ch; }

/* ============================ 9. PIED ================================ */
.pied{ background: var(--noir); color: rgba(232,239,241,.62); padding: 64px 0 32px; font-size: 13.5px; position: relative; }
.pied::before{
  content:''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--soleil) 25%, var(--or) 55%, transparent);
  opacity: .5;
}
.pied-grille{ display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.pied-marque{ font-family: var(--serif); font-size: 30px; color: #E8EFF1; margin-bottom: 12px; }
.pied-devise{ font-style: italic; color: rgba(232,239,241,.74); margin-bottom: 18px; line-height: 1.6; }
.pied-meta{ font-size: 12.5px; line-height: 1.8; }
.pied-col-t{ font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--soleil-doux); font-weight: 700; margin-bottom: 14px; }
.pied-liste{ list-style: none; padding: 0; margin: 0; }
.pied-liste li{ margin-bottom: 8px; }
.pied-liste a{ text-decoration: none; transition: color .2s; }
.pied-liste a:hover{ color: #E8EFF1; }
/* 12,5 px et non 11,5, et une opacité relevée : à .5 le ratio tombait
   à 4,44:1, juste sous la norme. Ce sont des mentions légales — elles
   doivent être lisibles, pas seulement présentes. */
.mentions{ border-top: 1px solid rgba(232,239,241,.16); padding-top: 24px; font-size: 12.5px; line-height: 1.75; color: rgba(232,239,241,.68); }
.mentions a{ color: #E68A6B; }
.mentions p{ margin: 0 0 10px; }
.mentions strong{ color: rgba(232,239,241,.8); }

/* ====================== 10. APPARITION / MOUVEMENT =================== */
.apparait{ opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.apparait.vu{ opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .apparait{ opacity: 1; transform: none; transition: none; }
  *{ animation: none !important; }
}

/* =========================== 11. RESPONSIVE ========================== */
@media (max-width: 1080px){
  .nav{
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 12px 32px 20px;
    background: var(--toile-claire); border-bottom: 1px solid var(--trait);
    box-shadow: var(--ombre);
  }
  .topbar.ouvert .nav{ display: flex; }
  .nav a{ padding: 13px 0; border-bottom: 1px solid var(--trait); font-size: 15px; }
  .burger{ display: block; }
  .entete{ grid-template-columns: 1fr; gap: 24px; }
  .plans.trois{ grid-template-columns: 1fr 1fr; }
  .pied-grille{ grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 720px){
  body{ font-size: 16px; }
  .wrap{ padding: 0 20px; }
  .section{ padding: 72px 0; }
  .topbar{ padding: 12px 20px; }
  .marque{ font-size: 21px; }
  .marque .sous{ display: none; }
  .nav{ padding: 12px 20px 20px; }
  .plans.deux, .plans.trois{ grid-template-columns: 1fr; }
  .famille-barre{ grid-template-columns: 1fr; gap: 8px; }
  .famille-tag{ text-align: left; }
  .pied-grille{ grid-template-columns: 1fr; }
  .bascule{ gap: 12px; }
}

/* v8 — Sur téléphone, le texte d'en-tête occupe toute la largeur : le voile qui part de la gauche
   ne le couvre plus. On le pose du haut vers le bas, pour que la peinture reste là où il n'y a rien à lire. */
@media (max-width: 720px){
  .hero-toile::after{
    background: linear-gradient(180deg,
      rgba(241,236,226,.92) 0%,
      rgba(241,236,226,.88) 72%,
      rgba(241,236,226,.55) 100%);
  }
  .hero-sombre .hero-toile::after{
    background: linear-gradient(180deg,
      rgba(5,7,8,.9) 0%,
      rgba(5,7,8,.84) 72%,
      rgba(5,7,8,.5) 100%);
  }
}

/* ===================== MESURE D'AUDIENCE (09/11/2026) =====================
   Le bandeau de assets/mesure.js. La règle de la DA vaut ici aussi : un fond
   plat, une encre sombre, zéro effet — c'est un endroit où l'on lit.
   Refuser et Accepter ont EXACTEMENT le même poids (exigence de la CNIL). */
.cookies{
  position: fixed; z-index: 980; left: 16px; bottom: 16px;
  width: min(420px, calc(100vw - 32px));
  padding: 18px 20px 16px;
  background: var(--toile-claire); color: var(--encre);
  border: 1px solid var(--trait-fort); border-radius: 4px;
  box-shadow: var(--ombre-forte);
  font-family: var(--sans); font-size: 14px; line-height: 1.55;
}
.cookies-titre{ margin: 0 0 6px; font-family: var(--serif); font-size: 18px; color: var(--encre); }
.cookies-texte{ margin: 0 0 14px; color: var(--encre-douce); }
.cookies-texte a{ color: var(--bleu); }
.cookies-boutons{ display: flex; gap: 10px; }
.cookies-btn{
  flex: 1 1 0; text-align: center;
  background: var(--encre); color: var(--toile-claire); border-color: var(--encre);
}
.cookies-btn:hover{ background: var(--bleu); border-color: var(--bleu); }
.cookies-btn:focus-visible{ outline: 3px solid var(--marqueur); outline-offset: 2px; }
@media (max-width: 720px){
  .cookies{ left: 12px; right: 12px; bottom: 12px; width: auto; }
}

/* Un titre que lisent Google et les lecteurs d'écran, sans changer le dessin de la page */
.lecteur-seul{
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
