/* ==========================================================================
   LA MAISON DES ARTISANS & CRÉATEURS — style.css
   DA : « la maison aux quatre fenêtres ». Le logo (un toit, quatre arches
   turquoise, jaune, corail, turquoise) devient la façade du site, et chaque
   arche une boutique. Matières de leurs boutiques : mur blanc à la chaux,
   chêne (vraie lame du parquet de Cabourg), acier noir, fer forgé, kraft
   des étiquettes. Bric-à-brac élégant : cadres dépareillés sur cimaise,
   enseigne en potence, panneau perforé.
   ========================================================================== */


/* 1. RESET & BASE --------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body { margin: 0; }

h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd, fieldset, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
fieldset { padding: 0; border: 0; min-width: 0; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }

/* Sprite : présent dans le DOM (dégradés et motifs partagés), invisible */
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}


/* 2. TOKENS — PALETTE ----------------------------------------------------- */

/*
  PALETTE — relevée sur le logo
  Primaire : #161943  bleu nuit (toit, lettrage) → texte, boutons, fonds sombres
  Arches   : #41b5b5  turquoise · #f3b956 jaune soleil · #e26656 corail
  Matières : mur blanc à la chaux, chêne, acier noir, kraft
  Règle    : 70 % mur blanc / 20 % bleu nuit et matières / 10 % couleurs des arches
*/
:root {
  /* Brand */
  --color-navy:        #161943;
  --color-navy-light:  #2a2e66;
  --color-navy-dark:   #0e1030;
  --color-teal:        #41b5b5;
  --color-teal-dark:   #237f80;
  --color-yellow:      #f3b956;
  --color-yellow-deep: #e8b45a;
  --color-coral:       #e26656;
  --color-coral-dark:  #b9402f;
  --color-bulb:        #fbedd0;

  /* Murs et papiers */
  --color-wall:        #f5f0e6;
  --color-wall-white:  #faf7f1;
  --color-paper:       #fffdf8;
  --color-kraft:       #c49e70;
  --color-twine:       #e4d9c3;

  /* Acier */
  --color-steel-light: #8b8c93;
  --color-steel:       #2a2b30;
  --color-steel-dark:  #121215;

  /* Sémantiques */
  --color-text:          #24264a;
  --color-text-muted:    #5a5c79;
  --color-text-inverse:  #f7f2e7;
  --color-muted-inverse: #bfc1dd;
  --color-border:        rgba(22, 25, 67, 0.16);
  --color-success:       #2f7a5b;
  --color-error:         #b23a2a;

  /* Ombres de matière (lumière en haut à gauche) */
  --shadow-object: 0 1px 1px rgba(40, 26, 12, 0.22), 0 8px 14px -6px rgba(40, 26, 12, 0.34), 0 24px 40px -20px rgba(40, 26, 12, 0.36);
  --shadow-object-lift: 0 2px 2px rgba(40, 26, 12, 0.2), 0 14px 22px -8px rgba(40, 26, 12, 0.36), 0 36px 54px -24px rgba(40, 26, 12, 0.4);
  --shadow-soft: 0 1px 2px rgba(40, 26, 12, 0.1), 0 10px 26px -14px rgba(40, 26, 12, 0.32);
}


/* 3. TOKENS — SYSTÈME ----------------------------------------------------- */

:root {
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-sans:    'Fira Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-cond:    'Fira Sans Condensed', 'Fira Sans', 'Arial Narrow', sans-serif;
  --font-hand:    'Caveat', 'Bradley Hand', 'Segoe Print', cursive;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1.0625rem;
  --text-md:   1.1875rem;
  --text-lg:   1.3125rem;

  --leading-tight:   1.04;
  --leading-snug:    1.2;
  --leading-normal:  1.6;

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.5rem;
  --space-6:  2rem;
  --space-7:  3rem;
  --space-8:  4rem;
  --space-9:  6rem;

  --gutter: 2.5rem;
  --container-large: 76rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.35s;
}

@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('fonts/fraunces-normal-300-700-latin.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 300 700; font-display: swap; src: url('fonts/fraunces-italic-300-700-latin.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/fira-sans-normal-300-latin.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/fira-sans-normal-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/fira-sans-normal-500-latin.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/fira-sans-normal-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/fira-sans-condensed-normal-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/caveat-normal-400-700-latin.woff2') format('woff2'); }


/* 4. TYPOGRAPHIE ---------------------------------------------------------- */

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background: var(--color-wall);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Le mur : chaux, grain fin et nuages doux */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url('img/texture-platre.webp') 0 0 / 320px;
  opacity: 0.06;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.heading-style-h1,
.heading-style-h2,
.heading-style-h3 {
  font-family: var(--font-display);
  font-weight: 420;
  color: var(--color-navy);
  text-wrap: balance;
}

.heading-style-h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.75rem);
  line-height: var(--leading-tight);
  letter-spacing: -0.025em;
}
.heading-style-h1 em {
  font-style: italic;
  font-weight: 380;
  color: var(--color-coral-dark);
}

.heading-style-h2 {
  font-size: clamp(2rem, 3.5vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.heading-style-h3 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: var(--leading-snug);
}

.text-size-large { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.6; }
.text-size-medium { font-size: var(--text-md); line-height: 1.6; color: var(--color-text-muted); }

.text-rich > * + * { margin-top: 1em; }
.text-rich strong { color: var(--color-navy); font-weight: 600; }
.text-rich a { color: var(--color-navy); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: var(--space-4);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-navy);
}

.dot {
  display: inline-block;
  flex: none;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: var(--dot, var(--color-teal));
  box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.15);
}

/* Le mot-symbole du logo, en texte */
.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--color-navy);
}
.wordmark_small {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.86em;
  letter-spacing: 0.005em;
}
.wordmark_big {
  margin-top: 0.12em;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 1.12em;
  letter-spacing: -0.005em;
}
.wordmark.is-inverse { color: var(--color-text-inverse); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  color: var(--color-navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}
.link-arrow svg { width: 1rem; height: 1rem; }


/* 5. MISE EN PAGE --------------------------------------------------------- */

.page-wrapper { overflow-x: clip; }
.padding-global { padding-inline: var(--gutter); }
.padding-section-large { padding-block: clamp(4.5rem, 9vw, 8rem); }
.container-large { max-width: var(--container-large); margin-inline: auto; }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .heading-style-h2 + * { margin-top: var(--space-5); }
.section-head.is-centered { margin-inline: auto; text-align: center; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}


/* 6. MATIÈRES — CADRES ---------------------------------------------------- */

/*
  .frame        : la baguette (épaisseur --fw)
  .frame_mat    : le fond (ou le passe-partout avec .has-mat)
  .frame_glass  : la vitre (reflet en biais + ombre de la baguette sur l'image)
  Bois : montants en fil vertical, traverses haute et basse en fil horizontal,
  coupées d'onglet (clip-path) — comme un vrai cadre assemblé.
*/
.frame {
  --fw: 14px;
  position: relative;
  display: block;
  padding: var(--fw);
  isolation: isolate;
  box-shadow: var(--shadow-object);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.frame_mat {
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
  background: #f6f2ea;
}
.frame img {
  width: 100%;
  aspect-ratio: var(--ratio, 4 / 5);
  object-fit: cover;
}
.frame_glass {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0.14) 43%, rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0) 56%),
    linear-gradient(to bottom, rgba(20, 12, 4, 0.16), rgba(20, 12, 4, 0) 14%);
  box-shadow: inset 0 2px 4px rgba(20, 12, 4, 0.42), inset 0 0 0 1px rgba(20, 12, 4, 0.22);
}

/* Passe-partout : carton blanc, biseau clair autour de l'image */
.frame.has-mat .frame_mat {
  padding: calc(var(--fw) * 1.25);
  background: #f8f5ee;
}
.frame.has-mat img {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.95), 0 0 0 2px rgba(120, 100, 70, 0.28);
}

/* Chêne naturel et chêne peint */
.frame--chene,
.frame--peint {
  --wood-tint: transparent;
  background:
    linear-gradient(90deg, rgba(255, 244, 220, 0.2), rgba(255, 244, 220, 0) 30%, rgba(40, 20, 0, 0) 70%, rgba(40, 20, 0, 0.26)),
    linear-gradient(var(--wood-tint), var(--wood-tint)),
    url('img/texture-chene-v.webp') center / cover;
}
.frame--peint { --wood-tint: color-mix(in srgb, var(--paint, var(--color-teal)) var(--paint-mix, 90%), transparent); }

.frame--chene::before,
.frame--chene::after,
.frame--peint::before,
.frame--peint::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: var(--fw);
  background:
    linear-gradient(var(--wood-tint), var(--wood-tint)),
    url('img/texture-chene.webp') center / cover;
}
.frame--chene::before,
.frame--peint::before {
  top: 0;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--fw)) 100%, var(--fw) 100%);
  filter: brightness(1.12);
}
.frame--chene::after,
.frame--peint::after {
  bottom: 0;
  clip-path: polygon(var(--fw) 0, calc(100% - var(--fw)) 0, 100% 100%, 0 100%);
  filter: brightness(0.8);
}

/* Doré patiné : baguette moulurée (filets clair / sombre / clair) */
.frame--dore {
  --fw: 16px;
  background: linear-gradient(135deg, #f4dd9e 0%, #c49a46 22%, #8d6727 38%, #e7c675 55%, #b48a3d 72%, #f0d58e 86%, #7e5b20 100%);
  box-shadow:
    inset 2px 2px 2px rgba(255, 246, 214, 0.65),
    inset -2px -2px 3px rgba(70, 46, 10, 0.55),
    inset 0 0 0 4px rgba(255, 238, 190, 0.18),
    inset 0 0 0 6px rgba(110, 78, 28, 0.42),
    inset 0 0 0 8px rgba(255, 232, 170, 0.35),
    inset 0 0 0 11px rgba(140, 100, 40, 0.25),
    var(--shadow-object);
}

/* Acier noir : profil fin, arête claire */
.frame--metal {
  --fw: 8px;
  background: linear-gradient(135deg, #5a5b61 0%, #26272b 30%, #3b3c41 55%, #141416 80%, #2f3034 100%);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.28),
    inset -1px -1px 0 rgba(0, 0, 0, 0.6),
    inset 0 0 0 3px rgba(255, 255, 255, 0.05),
    var(--shadow-object);
}
.frame--metal.is-large { --fw: 11px; }

/* Blanc laqué */
.frame--blanc {
  --fw: 13px;
  background: linear-gradient(135deg, #ffffff 0%, #f1ede5 45%, #dcd5c8 100%);
  box-shadow:
    inset 2px 2px 1px rgba(255, 255, 255, 0.95),
    inset -2px -2px 2px rgba(90, 70, 40, 0.18),
    inset 0 0 0 5px rgba(255, 255, 255, 0.35),
    inset 0 0 0 6px rgba(90, 70, 40, 0.08),
    var(--shadow-object);
}

/* Tambour à broder : cerceau de bois, vis de serrage en laiton */
.frame--tambour {
  --fw: 9px;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 60%, rgba(40, 20, 0, 0.25) 72%),
    linear-gradient(135deg, rgba(255, 244, 220, 0.25), rgba(40, 20, 0, 0.25)),
    url('img/texture-chene.webp') center / cover;
}
.frame--tambour .frame_mat,
.frame--tambour .frame_glass { border-radius: 50%; }
.frame--tambour img { aspect-ratio: 1; object-position: 50% 40%; }
.frame--tambour::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  width: 22px;
  height: 18px;
  margin-left: -11px;
  border-radius: 3px;
  background: linear-gradient(90deg, #7a5a22, #e7c675 35%, #b48a3d 60%, #6a4c18);
  box-shadow: 0 2px 3px rgba(40, 26, 12, 0.4);
}
.frame--tambour::after {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fbe7a8, #b48a3d 55%, #5c4214);
  box-shadow: 0 1px 2px rgba(40, 26, 12, 0.5);
}


/* 7. MATIÈRES — ÉTIQUETTES KRAFT ------------------------------------------ */

.kraft {
  background:
    linear-gradient(170deg, rgba(255, 250, 240, 0.16), rgba(60, 30, 0, 0.08)),
    url('img/texture-kraft.webp') center / 360px,
    var(--color-kraft);
  color: #2b2033;
}


/* 8. BUTTONS -------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border: 1.5px solid var(--color-navy);
  border-radius: var(--radius-pill);
  background: var(--color-navy);
  color: var(--color-text-inverse);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 8px 18px -10px rgba(22, 25, 67, 0.75);
  transition: background-color var(--duration), color var(--duration), transform var(--duration) var(--ease-out), box-shadow var(--duration);
}
.button svg { width: 1.1rem; height: 1.1rem; flex: none; }
.button:hover { background: var(--color-navy-light); border-color: var(--color-navy-light); transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button:disabled { opacity: 0.6; cursor: progress; }

.button.is-secondary { background: transparent; color: var(--color-navy); box-shadow: none; }
.button.is-secondary:hover { background: var(--color-navy); color: var(--color-text-inverse); }
.button.is-small { padding: 0.6rem 1.15rem; font-size: 0.92rem; }
.button.is-large { padding: 1.15rem 2rem; font-size: 1.08rem; }
.button.is-sun {
  border-color: var(--color-yellow);
  background: var(--color-yellow);
  color: var(--color-navy);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 22px -10px rgba(0, 0, 0, 0.6);
}
.button.is-sun:hover { background: #f7c873; border-color: #f7c873; }


/* 9. ANIMATIONS ----------------------------------------------------------- */

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-animate].is-visible { opacity: 1; transform: none; }

@keyframes sign-swing {
  0%, 100% { transform: rotate(-1.1deg); }
  50%      { transform: rotate(1.1deg); }
}
@keyframes tag-sway {
  0%, 100% { transform: rotate(var(--tilt, 0deg)); }
  50%      { transform: rotate(calc(var(--tilt, 0deg) * -0.4)); }
}


/* 10. SKIP LINK & A11Y ---------------------------------------------------- */

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--color-navy);
  color: var(--color-text-inverse);
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2.5px solid var(--color-teal-dark);
  outline-offset: 3px;
  border-radius: 2px;
}
main:focus { outline: none; }


/* 11. ANNONCE & NAVBAR ---------------------------------------------------- */

.annonce_component {
  position: relative;
  z-index: 31;
  padding: 0.55rem var(--gutter);
  background: var(--color-navy);
  color: var(--color-text-inverse);
  font-size: 0.88rem;
  text-align: center;
}
.annonce_text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.75rem;
}
.annonce_badge {
  padding: 0.1rem 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--color-yellow);
  color: var(--color-navy);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.annonce_link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--color-yellow);
  font-weight: 500;
  text-underline-offset: 0.2em;
}
.annonce_link svg { width: 0.95rem; height: 0.95rem; }

.navbar_component {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 0.85rem var(--gutter);
  background: rgba(245, 240, 230, 0.86);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  transition: box-shadow var(--duration), padding var(--duration);
}
.navbar_component.is-scrolled {
  padding-block: 0.55rem;
  box-shadow: 0 1px 0 var(--color-border), 0 10px 24px -18px rgba(22, 25, 67, 0.5);
}
.navbar_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.navbar_brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  text-decoration: none;
}
.navbar_picto { width: 3.5rem; height: 2.45rem; flex: none; }
.navbar_menu {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.navbar_link {
  position: relative;
  padding-block: 0.3rem;
  color: var(--color-navy);
  font-size: 0.97rem;
  font-weight: 500;
  text-decoration: none;
}
.navbar_link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--color-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease-out);
}
.navbar_link:hover::after { transform: scaleX(1); }

.navbar_burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.6rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.navbar_burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--color-navy);
  transition: transform var(--duration) var(--ease-out), opacity var(--duration);
}


/* 12. HERO — LA FAÇADE ---------------------------------------------------- */

.section_hero {
  position: relative;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}
.hero_layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.hero_title { margin-bottom: var(--space-5); }
/* Le surtitre fait partie du H1 (mots-clés), mais garde son allure d'étiquette */
.hero_title .eyebrow {
  display: flex;
  margin-bottom: 1.6rem;
  font-family: var(--font-sans);
  font-style: normal;
  line-height: 1.4;
  letter-spacing: 0.16em;
}
.hero_lead { max-width: 34rem; color: var(--color-text); }
.hero_actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: var(--space-6);
}
.hero_pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-navy);
}
.hero_pillars li { display: inline-flex; align-items: center; gap: 0.55rem; }

.hero_house { position: relative; }
.house_svg { width: 100%; height: auto; overflow: visible; }
.house_grain { opacity: 0.3; mix-blend-mode: multiply; }
.house_window image {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 1.2s var(--ease-out);
}
.house_window:hover image { transform: scale(1.07); }
.house_birds { animation: birds 9s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes birds {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-4px, -3px); }
}


/* 13. BAYEUX — L'ENSEIGNE ------------------------------------------------- */

.section_bayeux {
  background: var(--color-wall-white);
  box-shadow: inset 0 1px 0 rgba(22, 25, 67, 0.06);
}
.bayeux_layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.bayeux_sign { position: relative; max-width: 27rem; }
.sign_svg { width: 100%; height: auto; overflow: visible; }
.sign_board {
  transform-origin: 201px 35px;
  animation: sign-swing 7s ease-in-out infinite;
}
.sign_small { font-family: var(--font-sans); font-weight: 300; font-size: 20px; fill: #f7f2e7; }
.sign_big { font-family: var(--font-cond); font-weight: 600; font-size: 25px; fill: #f7f2e7; }
.sign_town { font-family: var(--font-sans); font-weight: 600; font-size: 14px; letter-spacing: 0.32em; fill: var(--color-yellow); }

.bayeux_facade {
  width: 62%;
  margin: -1.5rem 0 0 auto;
  transform: rotate(1.2deg);
}
.bayeux_facade img { aspect-ratio: 360 / 228; }
.bayeux_facade-caption {
  width: 62%;
  margin: 0.75rem 0 0 auto;
  font-family: var(--font-hand);
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--color-text-muted);
  text-align: center;
}

.bayeux_content .heading-style-h2 { margin-bottom: var(--space-5); }
.bayeux_content .text-rich { max-width: 36rem; }

/* Étiquettes kraft suspendues à une tringle en acier */
.tags_rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 1rem;
  margin-top: var(--space-7);
}
.tag {
  position: relative;
  padding-top: var(--len, 2rem);
  filter: drop-shadow(0 6px 5px rgba(40, 26, 12, 0.26));
}
.tag::after {
  /* segment de tringle : bout à bout, ils forment une barre continue */
  content: '';
  position: absolute;
  top: 0;
  left: -0.5rem;
  right: -0.5rem;
  height: 8px;
  background: linear-gradient(#6b6c72, #2a2b30 45%, #121215);
  box-shadow: 0 4px 6px -3px rgba(0, 0, 0, 0.4);
}
.tag:first-child::after { left: -1rem; border-radius: 4px 0 0 4px; }
.tag:last-child::after { right: -1rem; border-radius: 0 4px 4px 0; }
.tag_string {
  position: absolute;
  top: 2px;
  left: 50%;
  z-index: 1;
  width: 2px;
  height: calc(var(--len, 2rem) + 1rem);
  margin-left: -1px;
  background: repeating-linear-gradient(to bottom, #efe6d3 0 2px, #cbbd9c 2px 4px);
}
.tag_string::before {
  /* la boucle de ficelle passée sur la tringle */
  content: '';
  position: absolute;
  top: -6px;
  left: -5px;
  width: 12px;
  height: 14px;
  border: 2px solid #ddd2bb;
  border-radius: 50%;
}
.tag_body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0.6rem 1.1rem;
  text-align: center;
  clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%, 0 18px);
  transform: rotate(var(--tilt, 0deg));
  transform-origin: 50% 0.9rem;
  background:
    linear-gradient(170deg, rgba(255, 250, 240, 0.18), rgba(60, 30, 0, 0.1)),
    url('img/texture-kraft.webp') center / 360px,
    var(--color-kraft);
  color: #2b2033;
}
.tag:hover .tag_body { animation: tag-sway 1.4s ease-in-out; }
.tag_eyelet {
  position: absolute;
  top: 0.55rem;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-wall-white) 0 3px, #f0d58e 3.5px, #a57d32 5px, #6e5219 6.5px, rgba(0, 0, 0, 0.2) 7px);
}
.tag_value {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 500;
  line-height: 1;
  color: var(--color-navy);
}
.tag_label {
  margin-top: 0.35rem;
  font-family: var(--font-hand);
  font-size: 1.25rem;
  line-height: 1.05;
}

.bayeux_address {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.25rem 0.9rem;
  margin-top: var(--space-7);
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--color-paper);
  box-shadow: var(--shadow-soft);
}
.bayeux_address .icon { width: 1.5rem; height: 1.5rem; color: var(--color-coral); }
.bayeux_address p { font-size: 0.97rem; line-height: 1.45; }
.bayeux_address strong { color: var(--color-navy); font-weight: 600; }


/* 14. CRÉATIONS — LE MUR DE CADRES ---------------------------------------- */

.section_creations { position: relative; }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-5);
}
.chips li {
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: rgba(255, 253, 248, 0.6);
  font-size: 0.86rem;
  color: var(--color-navy);
}

.wall_component {
  position: relative;
  padding-bottom: var(--space-4);
}
/* La cimaise : tringle d'acier fixée en haut du mur */
.wall_rail {
  position: absolute;
  top: 0;
  left: calc(var(--gutter) * -1);
  right: calc(var(--gutter) * -1);
  height: 10px;
  background: linear-gradient(#77787e, #34353a 40%, #18181b 75%, #2a2b2f);
  box-shadow: 0 7px 10px -5px rgba(40, 26, 12, 0.4), 0 1px 0 rgba(255, 255, 255, 0.4) inset;
}
.wall_band {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2.4%;
  max-width: 82rem;
  margin-inline: auto;
}
.wall_band--rail { padding-top: 4.5rem; }
.wall_band + .wall_band { margin-top: 3rem; }

.wall_item {
  position: relative;
  flex: 0 0 var(--w);
  margin-top: var(--drop, 0);
  text-align: center;
}
/* Les câbles et crochets de cimaise (rangée du haut) */
.wall_band--rail .wall_item::before,
.wall_band--rail .wall_item::after {
  content: '';
  position: absolute;
  bottom: 100%;
  width: 1.5px;
  height: calc(4.5rem + var(--drop, 0rem) - 10px);
  background: linear-gradient(90deg, rgba(110, 110, 116, 0.75), rgba(238, 238, 242, 0.95) 50%, rgba(110, 110, 116, 0.75));
  pointer-events: none;
}
.wall_band--rail .wall_item::before { left: 16%; }
.wall_band--rail .wall_item::after { right: 16%; }
/* Le tambour pend à un seul câble, accroché à sa vis de serrage */
.wall_band--rail .wall_item--rond::before { left: calc(50% - 0.75px); height: calc(4.5rem + var(--drop, 0rem) - 25px); }
.wall_band--rail .wall_item--rond::after { display: none; }

.wall_link {
  display: block;
  text-decoration: none;
  border-radius: 2px;
}
.wall_link:hover .frame,
.wall_link:focus-visible .frame {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: var(--shadow-object-lift);
}
.wall_link:hover .frame--dore,
.wall_link:hover .frame--metal,
.wall_link:hover .frame--blanc { box-shadow: var(--shadow-object-lift); }
.frame--dore, .frame--metal, .frame--blanc { transition: transform 0.5s var(--ease-out); }

/* Cartel : petit carton imprimé sous chaque œuvre */
.wall_cartel {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.4rem 0.7rem 0.45rem;
  border-radius: 1px;
  background: var(--color-paper);
  box-shadow: 0 1px 1px rgba(40, 26, 12, 0.14), 0 3px 6px -3px rgba(40, 26, 12, 0.25);
  font-size: 0.76rem;
  line-height: 1.35;
  color: var(--color-text-muted);
}
.wall_cartel strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-navy);
}
.wall_note {
  margin-top: var(--space-7);
  font-size: 0.97rem;
  color: var(--color-text-muted);
  text-align: center;
}
.wall_note a { color: var(--color-navy); font-weight: 500; }


/* 15. BOUTIQUES — QUATRE FENÊTRES ----------------------------------------- */

.section_boutiques { background: var(--color-wall-white); }
.arches_list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: clamp(1rem, 2vw, 1.75rem);
}
.arch { min-height: 31rem; display: flex; }
.arch:nth-child(2),
.arch:nth-child(3) { min-height: 35rem; }

.arch_inner {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 3.4rem 1.4rem 1.9rem;
  border-radius: 999px 999px 6px 6px;
  text-align: center;
  color: var(--color-navy);
  /* bois peint : la peinture laisse deviner le fil du chêne */
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.16)),
    linear-gradient(color-mix(in srgb, var(--paint) 91%, transparent), color-mix(in srgb, var(--paint) 91%, transparent)),
    url('img/texture-chene-v.webp') center / 100% auto;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.28),
    inset 0 -4px 8px rgba(0, 0, 0, 0.16),
    var(--shadow-object);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
/* Moulure intérieure qui suit l'arche */
.arch_inner::before {
  content: '';
  position: absolute;
  inset: 0.7rem;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px 999px 3px 3px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(0, 0, 0, 0.1);
  pointer-events: none;
}
/* Poignée de porte en laiton, sur sa rosace : « poussez la porte » */
.arch_inner::after {
  content: '';
  position: absolute;
  bottom: 4.6rem;
  right: 1.35rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, #fff3c4 0 2px, #f0d58e 4px, #c49a46 7px, #7e5b20 10px, rgba(0, 0, 0, 0) 11px),
    radial-gradient(circle, rgba(0, 0, 0, 0.3) 0 10px, rgba(0, 0, 0, 0) 12px) 2px 3px / 100% 100% no-repeat;
  filter: drop-shadow(1px 3px 2px rgba(0, 0, 0, 0.35));
}
.arch:hover .arch_inner { transform: translateY(-4px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.28), inset 0 -4px 8px rgba(0, 0, 0, 0.16), var(--shadow-object-lift); }

.arch_badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  z-index: 2;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--color-navy);
  color: var(--color-text-inverse);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
  box-shadow: 0 6px 12px -6px rgba(22, 25, 67, 0.8);
}
.arch_glyph {
  width: 4.2rem;
  height: 6.2rem;
  margin-bottom: 1.4rem;
  fill: var(--color-navy);
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.25));
}
.arch_town {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.1vw, 1.95rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.arch_address {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}
.arch_text {
  margin-top: 0.85rem;
  font-size: 0.93rem;
  line-height: 1.5;
}
/* Horaires : petit carton accroché à la porte (affiché seulement s'ils sont saisis) */
.arch_hours {
  position: relative;
  /* centré et plus étroit que la porte : ne passe jamais sous la poignée */
  max-width: calc(100% - 2.9rem);
  margin-top: 1.1rem;
  padding: 0.7rem 0.8rem 0.65rem;
  text-wrap: balance;
  border-radius: 2px;
  background: var(--color-paper);
  color: var(--color-navy);
  font-size: 0.8rem;
  line-height: 1.4;
  box-shadow: 0 1px 1px rgba(40, 26, 12, 0.18), 0 6px 12px -6px rgba(40, 26, 12, 0.4);
  transform: rotate(-1.5deg);
}
/* la punaise */
.arch_hours::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f4f5f8, #a9aab0 45%, #4a4b50 80%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
.arch_hours-title {
  margin-bottom: 0.15rem;
  font-family: var(--font-hand);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-coral-dark);
}
.arch.is-dark .arch_hours { color: var(--color-navy); }

.arch_links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.1rem;
  margin-top: auto;
  padding-top: 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.arch_links a { text-underline-offset: 0.22em; text-decoration-thickness: 1.5px; }

.arch.is-dark .arch_inner { color: var(--color-text-inverse); }
.arch.is-dark .arch_glyph { fill: var(--color-text-inverse); filter: none; }
.arch.is-dark .arch_inner::before { border-color: rgba(255, 255, 255, 0.22); }

.arches_note {
  margin-top: var(--space-7);
  font-size: 0.97rem;
  color: var(--color-text-muted);
  text-align: center;
}
.arches_note a { color: var(--color-navy); font-weight: 500; }


/* 16. LE PRINCIPE --------------------------------------------------------- */

.principe_layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.principe_photo { max-width: 28rem; }
.principe_photo .frame { transform: rotate(-1deg); }
.principe_photo img { aspect-ratio: 3 / 4; }
.principe_photo figcaption {
  margin-top: 1.1rem;
  font-family: var(--font-hand);
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--color-text-muted);
  text-align: center;
}
.principe_content .heading-style-h2 { margin-bottom: var(--space-5); }
.principe_points {
  display: grid;
  gap: 1rem;
  margin-top: var(--space-6);
}
.principe_points li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  align-items: start;
  gap: 0.85rem;
  line-height: 1.45;
}
.principe_points svg {
  width: 2rem;
  height: 2rem;
  padding: 0.4rem;
  border-radius: 50%;
  background: var(--color-teal);
  color: var(--color-navy);
}
.principe_points strong { display: block; color: var(--color-navy); font-weight: 600; }


/* 17. ATELIERS — LE PANNEAU PERFORÉ --------------------------------------- */

.section_ateliers { background: var(--color-wall-white); }
.ateliers_layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.ateliers_content .heading-style-h2 { margin-bottom: var(--space-5); }
.ateliers_cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: var(--space-6);
}
.ateliers_count {
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: var(--color-text-muted);
}
.ateliers_creators {
  margin-top: var(--space-5);
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.ateliers_creators a { color: var(--color-navy); font-weight: 500; }

/* Panneau perforé peint en bleu nuit, chevilles d'acier */
.pegboard {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 2rem) clamp(2rem, 3.5vw, 3rem);
  border-radius: 5px;
  background:
    radial-gradient(circle, #05061a 0 2.6px, rgba(255, 255, 255, 0.1) 3.1px, rgba(255, 255, 255, 0) 3.8px) 0 0 / 30px 30px,
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.22)),
    linear-gradient(rgba(22, 25, 67, 0.93), rgba(22, 25, 67, 0.93)),
    url('img/texture-chene.webp') 0 0 / 922px 116px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(0, 0, 0, 0.4),
    0 4px 0 #0b0d26,
    var(--shadow-object-lift);
}
.pegboard_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 1rem;
}
.pegboard_list li {
  position: relative;
  padding-top: 1.8rem;
  filter: drop-shadow(0 6px 4px rgba(0, 0, 0, 0.45));
}
/* la cheville d'acier sortie d'un trou */
.pegboard_list li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: 13px;
  height: 13px;
  margin-left: -6.5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f4f5f8, #a9aab0 45%, #4a4b50 80%);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6);
}
/* la ficelle */
.pegboard_list li::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  width: 2px;
  height: 1.8rem;
  margin-left: -1px;
  background: repeating-linear-gradient(to bottom, #efe6d3 0 2px, #cbbd9c 2px 4px);
}
.peg {
  position: relative;
  display: block;
  min-width: 7.6rem;
  padding: 1.55rem 1.1rem 0.85rem;
  border: 0;
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%, 0 14px);
  background:
    linear-gradient(170deg, rgba(255, 250, 240, 0.18), rgba(60, 30, 0, 0.1)),
    url('img/texture-kraft.webp') center / 360px,
    var(--color-kraft);
  color: #2b2033;
  font-family: var(--font-hand);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transform: rotate(var(--tilt, 0deg));
  transform-origin: 50% 0.5rem;
  transition: transform 0.45s var(--ease-out), background-color 0.3s;
}
.peg::before {
  /* œillet laiton */
  content: '';
  position: absolute;
  top: 0.4rem;
  left: 50%;
  width: 13px;
  height: 13px;
  margin-left: -6.5px;
  border-radius: 50%;
  background: radial-gradient(circle, #10122e 0 2.8px, #f0d58e 3.3px, #a57d32 4.8px, #6e5219 6px, rgba(0, 0, 0, 0.2) 6.5px);
}
.peg:hover { transform: rotate(0deg) translateY(-2px); }
.peg[aria-pressed='true'] {
  transform: rotate(calc(var(--tilt) * -2)) translateY(6px);
  background:
    linear-gradient(170deg, rgba(255, 250, 240, 0.32), rgba(60, 30, 0, 0.04)),
    url('img/texture-kraft.webp') center / 360px,
    #d8b68a;
}
/* tampon corail « choisi » */
.peg::after {
  content: '';
  position: absolute;
  right: 0.35rem;
  bottom: 0.3rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  border: 2px solid rgba(185, 64, 47, 0.85);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23b9402f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 75% no-repeat;
  opacity: 0;
  transform: scale(1.6) rotate(-12deg);
  transition: opacity 0.25s, transform 0.35s var(--ease-out);
  mix-blend-mode: multiply;
}
.peg[aria-pressed='true']::after { opacity: 0.9; transform: scale(1) rotate(-12deg); }
.peg:focus-visible { outline-color: var(--color-yellow); }


/* 17 bis. ATELIERS — LES RENDEZ-VOUS SUR LE PANNEAU ------------------- */
/* Quand des ateliers sont programmés (CMS), chaque rendez-vous devient une
   grande étiquette kraft : date et heure, titre manuscrit, animateur, prix,
   places, tampon « Complet ». On la décroche pour s'inscrire. */

.pegboard--ateliers .pegboard_list { gap: 1.6rem 1.1rem; }
.peg--atelier {
  width: 14.5rem;
  min-width: 0;
  padding: 1.6rem 1.05rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
}
.peg_date {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5e4127;
}
/* la date et l'heure ne se coupent jamais en plein milieu */
.peg_date time,
.peg_heure { white-space: nowrap; }
.peg_titre {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-hand);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.02;
  text-wrap: balance;
}
.peg_meta {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: #4a3828;
}
.peg_desc {
  display: -webkit-box;
  margin-top: 0.35rem;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 0.76rem;
  color: #4a3828;
}
.peg_complet {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0 0.5rem 0.1rem;
  border: 2px solid rgba(185, 64, 47, 0.85);
  border-radius: 4px;
  font-family: var(--font-hand);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-coral-dark);
  transform: rotate(-4deg);
}
.peg--atelier:disabled { cursor: default; filter: saturate(0.7) brightness(0.96); }
.peg--atelier:disabled:hover { transform: rotate(var(--tilt, 0deg)); }


/* 18. EXPOSER — DEVENIR CRÉATEUR ------------------------------------------ */

.section_exposer {
  position: relative;
  background: var(--color-navy);
  color: var(--color-text-inverse);
}
.section_exposer::before {
  /* même mur, repeint en bleu nuit */
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/texture-platre.webp') 0 0 / 320px;
  opacity: 0.035;
  mix-blend-mode: screen;
  pointer-events: none;
}
.section_exposer .eyebrow,
.section_exposer .heading-style-h2 { color: var(--color-text-inverse); }
.section_exposer .text-rich { color: var(--color-muted-inverse); }
.section_exposer .text-rich strong { color: var(--color-text-inverse); }

.exposer_head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(1.5rem, 5vw, 5rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.exposer_layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.contracts { display: grid; gap: 1.25rem; }
.contract {
  position: relative;
  padding: 1.6rem 1.6rem 1.5rem;
  border: 1px solid rgba(247, 242, 231, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}
.contract:first-child { border-top: 3px solid var(--color-teal); }
.contract:last-child { border-top: 3px solid var(--color-yellow); }
.contract_kicker {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted-inverse);
}
.contract_title {
  margin: 0.2rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 450;
  color: var(--color-text-inverse);
}
.contract p:last-child { font-size: 0.97rem; color: var(--color-muted-inverse); }
.contract strong { color: var(--color-text-inverse); font-weight: 500; }

/* La grille tarifaire : un carton imprimé posé sur le mur */
.tarifs {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border-radius: 3px;
  background: var(--color-paper);
  color: var(--color-text);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2), 0 22px 44px -20px rgba(0, 0, 0, 0.7);
  transform: rotate(0.4deg);
}
.tarifs_table { width: 100%; }
.tarifs_table caption {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 450;
  color: var(--color-navy);
  text-align: left;
}
.tarifs_table caption span {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.tarifs_table th,
.tarifs_table td {
  padding: 0.85rem 0.5rem;
  text-align: left;
  vertical-align: baseline;
  border-bottom: 1px dashed rgba(22, 25, 67, 0.2);
}
.tarifs_table thead th {
  padding-top: 0;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border-bottom: 1.5px solid var(--color-navy);
}
.tarifs_table tbody th {
  font-weight: 600;
  color: var(--color-navy);
  white-space: nowrap;
}
.tarifs_table tbody th .dot { margin-right: 0.55rem; vertical-align: 0.05em; }
.tarifs_table td {
  font-weight: 600;
  color: var(--color-navy);
  white-space: nowrap;
}
.tarifs_table td span { font-weight: 400; color: var(--color-text-muted); }
.tarifs_table tbody tr:last-child > * { border-bottom: 0; }
.tarifs_note { margin-top: 0.9rem; font-size: 0.82rem; color: var(--color-text-muted); }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  counter-reset: none;
}
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.steps_num {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--color-yellow);
  color: var(--color-navy);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}
.steps p { font-size: 0.98rem; color: var(--color-muted-inverse); }
.steps strong { display: block; margin-bottom: 0.2rem; color: var(--color-text-inverse); font-weight: 500; }
.steps a { color: var(--color-yellow); overflow-wrap: anywhere; }

.exposer_cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.exposer_cta span { font-size: 0.9rem; color: var(--color-muted-inverse); }
.section_exposer .button {
  border-color: var(--color-yellow);
  background: var(--color-yellow);
  color: var(--color-navy);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 12px 24px -12px rgba(0, 0, 0, 0.7);
}
.section_exposer .button:hover { background: #f7c873; border-color: #f7c873; }


/* 19. CRÉATEURS — LES ÉTIQUETTES ------------------------------------------ */

.makers_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem 1.1rem;
  max-width: 62rem;
  margin-inline: auto;
}
.makers_list li {
  position: relative;
  padding-top: 1.7rem;
  filter: drop-shadow(0 5px 4px rgba(40, 26, 12, 0.24));
}
/* clou à tête ronde */
.makers_list li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f1f2f5, #9d9ea4 50%, #45464b 85%);
  box-shadow: 1px 2px 2px rgba(40, 26, 12, 0.45);
}
.makers_list li::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 2px;
  height: 1.7rem;
  margin-left: -1px;
  background: repeating-linear-gradient(to bottom, #efe6d3 0 2px, #cbbd9c 2px 4px);
}
.maker {
  position: relative;
  display: block;
  padding: 1.45rem 1rem 0.7rem;
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%, 0 12px);
  background:
    linear-gradient(170deg, rgba(255, 250, 240, 0.18), rgba(60, 30, 0, 0.1)),
    url('img/texture-kraft.webp') center / 360px,
    var(--color-kraft);
  color: #2b2033;
  font-family: var(--font-hand);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transform: rotate(var(--tilt, 0deg));
  transform-origin: 50% 0.45rem;
  transition: transform 0.45s var(--ease-out);
}
.maker::before {
  content: '';
  position: absolute;
  top: 0.38rem;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-wall) 0 2.6px, #f0d58e 3px, #a57d32 4.4px, #6e5219 5.6px, rgba(0, 0, 0, 0.2) 6px);
}
.maker:hover,
.maker:focus-visible { transform: rotate(0deg) translateY(-2px); text-decoration: underline; text-underline-offset: 0.15em; }


/* 20. CONTACT ------------------------------------------------------------- */

.section_contact { background: var(--color-wall-white); }
.contact_layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}
.contact_content .heading-style-h2 { margin-bottom: var(--space-5); }
.contact_list {
  display: grid;
  gap: 0.9rem;
  margin-top: var(--space-6);
}
.contact_list li { display: flex; align-items: center; gap: 0.8rem; }
.contact_list svg { width: 1.35rem; height: 1.35rem; flex: none; color: var(--color-teal-dark); }
.contact_list a { color: var(--color-navy); font-weight: 500; text-underline-offset: 0.2em; overflow-wrap: anywhere; }

/* Encart créateur : une grande étiquette kraft */
.contact_maker {
  position: relative;
  max-width: 24rem;
  margin-top: var(--space-7);
  padding: 2.1rem 1.5rem 1.4rem;
  clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%, 0 22px);
  transform: rotate(-1.2deg);
  filter: drop-shadow(0 8px 8px rgba(40, 26, 12, 0.25));
  font-size: 0.95rem;
  line-height: 1.5;
}
.contact_maker::before {
  content: '';
  position: absolute;
  top: 0.65rem;
  left: 50%;
  width: 15px;
  height: 15px;
  margin-left: -7.5px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-wall-white) 0 3.4px, #f0d58e 4px, #a57d32 5.6px, #6e5219 7px, rgba(0, 0, 0, 0.2) 7.5px);
}
.contact_maker-title {
  margin-bottom: 0.35rem;
  font-family: var(--font-hand);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-navy);
}
.contact_maker .link-arrow { margin-top: 0.8rem; }

.letter {
  position: relative;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  border-radius: 3px;
  background: var(--color-paper);
  box-shadow: 0 1px 2px rgba(40, 26, 12, 0.12), 0 26px 50px -26px rgba(40, 26, 12, 0.45);
}
/* les quatre couleurs des arches en liseré */
.letter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--color-teal) 0 25%, var(--color-yellow) 25% 50%, var(--color-coral) 50% 75%, var(--color-navy) 75%);
}
.letter_motifs legend {
  margin-bottom: 0.8rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 450;
  color: var(--color-navy);
}
.letter_motifs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.motif { position: relative; cursor: pointer; }
.motif input { position: absolute; opacity: 0; pointer-events: none; }
.motif span {
  display: inline-block;
  padding: 0.5rem 0.95rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-navy);
  transition: background-color var(--duration), border-color var(--duration), color var(--duration);
}
.motif:hover span { border-color: var(--color-navy); }
.motif input:checked + span { border-color: var(--color-navy); background: var(--color-navy); color: var(--color-text-inverse); }
.motif input:focus-visible + span { outline: 2.5px solid var(--color-teal-dark); outline-offset: 2px; }

.letter_hint {
  margin-top: 1.1rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--color-yellow);
  background: rgba(243, 185, 86, 0.14);
  font-size: 0.93rem;
}
.letter_hint a { color: var(--color-navy); font-weight: 600; }

.letter_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.25rem;
  margin-top: 1.6rem;
}
.field { display: grid; gap: 0.4rem; }
.field.is-wide { grid-column: 1 / -1; }
.field_label { font-size: 0.88rem; font-weight: 500; color: var(--color-navy); }
.field_label abbr { color: var(--color-coral-dark); text-decoration: none; }
.field_optional { font-weight: 400; color: var(--color-text-muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #d6cfc0;
  border-radius: 6px;
  background: #fff;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--duration), box-shadow var(--duration);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-teal-dark);
  box-shadow: 0 0 0 3px rgba(65, 181, 181, 0.28);
}
.letter_footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.6rem;
}
.letter_legal { font-size: 0.82rem; color: var(--color-text-muted); }
.letter_legal a { color: var(--color-navy); }
.letter_status { margin-top: 1rem; font-weight: 500; }
.letter_status:empty { display: none; }
.letter_status.is-success { color: var(--color-success); }
.letter_status.is-error { color: var(--color-error); }


/* 21. FOOTER -------------------------------------------------------------- */

.footer_component {
  background: var(--color-navy);
  color: var(--color-muted-inverse);
  font-size: 0.93rem;
}
.footer_stripe { display: grid; grid-template-columns: repeat(4, 1fr); height: 6px; }
.footer_stripe span:nth-child(1) { background: var(--color-teal); }
.footer_stripe span:nth-child(2) { background: var(--color-yellow); }
.footer_stripe span:nth-child(3) { background: var(--color-coral); }
.footer_stripe span:nth-child(4) { background: var(--color-teal); }
.footer_layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.7fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3.5rem, 6vw, 5rem) clamp(2.5rem, 4vw, 3.5rem);
}
.footer_brand { display: grid; justify-items: start; gap: 1rem; }
.footer_picto {
  width: 7rem;
  height: 7rem;
  padding: 1.3rem 0.9rem 1rem;
  border-radius: 50%;
  background: #f8f6ee;
  box-shadow: 0 0 0 3px rgba(248, 246, 238, 0.12);
}
.footer_brand .wordmark { font-size: 1.15rem; }
.footer_tagline { max-width: 20rem; }
.footer_shops { display: grid; gap: 0.9rem; }
.footer_shops li { display: grid; line-height: 1.4; }
.footer_shops strong { color: var(--color-text-inverse); font-weight: 500; }
.footer_insta {
  display: inline-flex;
  margin-left: 0.35rem;
  vertical-align: -0.12em;
  color: var(--color-muted-inverse);
  transition: color var(--duration);
}
.footer_insta svg { width: 1.05rem; height: 1.05rem; }
.footer_insta:hover,
.footer_insta:focus-visible { color: var(--color-yellow); }
.footer_links { display: grid; align-content: start; gap: 0.6rem; }
.footer_component a { color: var(--color-text-inverse); text-decoration-color: rgba(247, 242, 231, 0.35); text-underline-offset: 0.2em; }
.footer_component a:hover { text-decoration-color: var(--color-yellow); }
.footer_bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid rgba(247, 242, 231, 0.14);
  font-size: 0.84rem;
}


/* 22. VISIONNEUSE --------------------------------------------------------- */

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.lightbox::backdrop { background: rgba(10, 11, 30, 0.9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox_figure {
  display: grid;
  justify-items: center;
  gap: 1rem;
  max-width: min(92vw, 60rem);
  padding: 4rem 1rem;
}
.lightbox_img {
  max-height: 76vh;
  width: auto;
  border: 10px solid #fffdf8;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
}
.lightbox_caption {
  max-width: 40rem;
  color: var(--color-text-inverse);
  font-size: 0.97rem;
  text-align: center;
}
.lightbox_btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(247, 242, 231, 0.35);
  border-radius: 50%;
  background: rgba(22, 25, 67, 0.75);
  color: var(--color-text-inverse);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox_btn:hover { background: var(--color-navy-light); }
.lightbox_close { top: 1rem; right: 1rem; }
.lightbox_prev { top: 50%; left: 1rem; transform: translateY(-50%); }
.lightbox_next { top: 50%; right: 1rem; transform: translateY(-50%); }


/* 23. PAGES ANNEXES — MENTIONS LÉGALES & 404 ------------------------------ */

.navbar_component--simple .navbar_inner { justify-content: space-between; }
.legal_main { padding-block: clamp(3rem, 7vw, 6rem); }
.legal_card {
  max-width: 48rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border-radius: 3px;
  background: var(--color-paper);
  box-shadow: var(--shadow-soft);
}
.legal_card h1 { margin-bottom: 0.5rem; }
.legal_card .legal_updated { color: var(--color-text-muted); font-size: 0.9rem; }
.legal_card h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.9rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 450;
  color: var(--color-navy);
}
.legal_card p + p,
.legal_card p + ul,
.legal_card ul + p { margin-top: 0.85rem; }
.legal_card ul { list-style: disc; padding-left: 1.3rem; }
.legal_card li + li { margin-top: 0.35rem; }
.legal_card dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1.25rem;
}
.legal_card dt { font-weight: 600; color: var(--color-navy); }
.legal_card a { color: var(--color-navy); }
.legal_todo {
  padding: 0 0.3em;
  border-radius: 3px;
  background: rgba(243, 185, 86, 0.35);
  box-shadow: inset 0 -2px 0 rgba(226, 102, 86, 0.6);
  font-size: 0.92em;
}

.notfound_main {
  display: grid;
  place-items: center;
  min-height: 70vh;
  padding: 4rem var(--gutter);
  text-align: center;
}
.notfound_picto { width: 14rem; height: 10rem; margin: 0 auto 1.5rem; opacity: 0.9; }
.notfound_main p { max-width: 30rem; margin: 1rem auto 2rem; color: var(--color-text-muted); }


/* 24. RESPONSIVE ---------------------------------------------------------- */

@media (max-width: 1100px) {
  .navbar_menu { gap: 1.3rem; }
  .wordmark_small { font-size: 0.8em; }
}

@media (max-width: 991px) {
  :root { --gutter: 1.75rem; }

  .navbar_burger { display: flex; }
  .navbar_menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: var(--color-wall);
    box-shadow: 0 16px 24px -18px rgba(22, 25, 67, 0.6);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity var(--duration), transform var(--duration) var(--ease-out), visibility var(--duration);
  }
  .navbar_component.is-open .navbar_menu { visibility: visible; opacity: 1; transform: none; }
  /* Menu ouvert : la barre devient pleine, comme le panneau qui en descend */
  .navbar_component.is-open {
    background: var(--color-wall);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .navbar_menu li { border-bottom: 1px solid var(--color-border); }
  .navbar_menu li:last-child { border-bottom: 0; padding-top: 1rem; }
  .navbar_link { display: block; padding: 0.9rem 0; font-size: 1.05rem; }
  .navbar_link::after { display: none; }
  .navbar_menu .button { width: 100%; }
  .navbar_component.is-open .navbar_burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .navbar_component.is-open .navbar_burger span:nth-child(2) { opacity: 0; }
  .navbar_component.is-open .navbar_burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero_layout { grid-template-columns: 1fr; }
  .hero_house { max-width: 36rem; margin-inline: auto; width: 100%; }

  .bayeux_layout { grid-template-columns: 1fr; }
  .bayeux_sign { order: 2; margin-inline: auto; width: 100%; }

  .wall_rail,
  .wall_band--rail .wall_item::before,
  .wall_band--rail .wall_item::after { display: none; }
  .wall_band { flex-wrap: wrap; gap: 2.5rem 5%; }
  .wall_band--rail { padding-top: 0; }
  .wall_item { flex-basis: 28%; margin-top: calc(var(--drop, 0rem) * 0.4); }

  .arches_list { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; row-gap: 2.5rem; }
  .arch,
  .arch:nth-child(2),
  .arch:nth-child(3) { min-height: 30rem; }

  .principe_layout,
  .ateliers_layout,
  .contact_layout,
  .exposer_head,
  .exposer_layout { grid-template-columns: 1fr; }
  .principe_photo { margin-inline: auto; }
  .steps { grid-template-columns: 1fr; }

  /* Ateliers : on choisit ses étiquettes avant de les envoyer */
  .ateliers_layout { gap: 0; }
  .ateliers_content { display: contents; }
  .pegboard { order: 1; margin-top: var(--space-6); }
  .ateliers_cta { order: 2; }
  .ateliers_creators { order: 3; }

  .footer_layout { grid-template-columns: 1fr 1fr; }
  .footer_brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  :root { --gutter: 1rem; }
  html { scroll-padding-top: 5rem; }

  .annonce_component { font-size: 0.8rem; padding-block: 0.5rem; }
  .annonce_text { gap: 0.25rem 0.5rem; }
  .annonce_extra { display: none; }
  .annonce_badge { font-size: 0.66rem; }

  /* Hero : la façade remonte entre le titre et le texte */
  .hero_layout { gap: 0; }
  .hero_content { display: contents; }
  .hero_title { order: 2; }
  .hero_house { order: 3; margin: 0.5rem auto 2rem; }
  .hero_lead { order: 4; }
  .hero_actions { order: 5; }
  .hero_pillars { order: 6; }
  .navbar_component { padding-block: 0.6rem; }
  .navbar_picto { width: 2.9rem; height: 2rem; }
  .navbar_brand { font-size: 0.9rem; gap: 0.55rem; }

  .hero_actions .button { flex: 1 1 100%; }
  .hero_pillars { margin-top: var(--space-6); font-size: 0.74rem; gap: 0.5rem 1.1rem; }

  .tags_rail { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.75rem; }
  .tag:nth-child(odd)::after { left: -1rem; border-radius: 4px 0 0 4px; right: -0.5rem; }
  .tag:nth-child(even)::after { right: -1rem; border-radius: 0 4px 4px 0; left: -0.5rem; }
  .bayeux_address { grid-template-columns: auto 1fr; }
  .bayeux_address .link-arrow { grid-column: 2; }

  .wall_band { gap: 2rem 6%; }
  .wall_item { flex-basis: 47%; }
  .wall_cartel { font-size: 0.72rem; }
  /* Ateliers : deux étiquettes par rangée, sinon huit rendez-vous font 1 500 px de haut. */
  .pegboard--ateliers .pegboard_list { gap: 1.1rem 0.6rem; }
  .pegboard--ateliers .pegboard_list li { flex: 0 0 calc(50% - 0.3rem); padding-top: 1.5rem; }
  .pegboard--ateliers .pegboard_list li::after { height: 1.5rem; }
  .pegboard--ateliers .peg--atelier { width: 100%; padding: 1.35rem 0.55rem 0.8rem; font-size: 0.72rem; }
  .pegboard--ateliers .peg_date { font-size: 0.6rem; letter-spacing: 0.03em; }
  .pegboard--ateliers .peg_titre { font-size: 1.22rem; }
  .pegboard--ateliers .peg_meta,
  .pegboard--ateliers .peg_desc { font-size: 0.68rem; }

  .arches_list { grid-template-columns: 1fr; }
  .arch,
  .arch:nth-child(2),
  .arch:nth-child(3) { min-height: 0; }
  .arch_inner { padding-top: 3rem; }
  .arch_glyph { height: 4.8rem; margin-bottom: 1rem; }
  .arch_inner::after { bottom: 1.95rem; }

  .pegboard_list { gap: 1rem 0.6rem; }
  .peg { min-width: 6.4rem; padding-inline: 0.8rem; font-size: 1.3rem; }

  .tarifs { transform: none; }
  .tarifs_table th,
  .tarifs_table td { padding-inline: 0.25rem; font-size: 0.9rem; }
  .tarifs_table tbody th { white-space: normal; }
  .tarifs_table td { white-space: normal; }
  .tarifs_table td span { display: block; }

  .letter_grid { grid-template-columns: 1fr; }
  .letter_footer .button { width: 100%; }

  .footer_layout { grid-template-columns: 1fr; }
  .footer_bottom { flex-direction: column; }
}

@media (max-width: 400px) {
  .wordmark_small { font-size: 0.78em; }
  .wordmark_big { font-size: 1.02em; }
  .wall_cartel strong { font-size: 0.85rem; }
}


/* 25. REDUCED MOTION ------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-animate] { opacity: 1; transform: none; }
}
