/* Polices locales (Gilda Display, Public Sans), sous-ensembles latin et latin-ext */
@font-face { font-family: "Gilda Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/gilda-display-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Gilda Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/gilda-display-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/public-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/public-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/public-sans-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/public-sans-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/public-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/public-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/public-sans-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/public-sans-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* Chamboeuf, refonte v3 · home prestige
   Palette tirée de la capture du client : ivoire chaud, or, vert profond ; le rose reste réservé à la rose (fleurs, bande « la rose »).
   Typo : Gilda Display (titres, chiffres) + Public Sans (texte), comme prévu dans DESIGN.md.
   Structure de musée conservée : listes à filets, images sans arrondi, rayon 2 px, un seul mouvement (arrivée du titre). */

:root {
  --paper: oklch(0.985 0.012 88);             /* ivoire chaud (capture client) */
  --surface: oklch(0.945 0.03 85);            /* crème, pour les bandes alternées */
  --ink: oklch(0.27 0.045 165);               /* vert profond : texte, boutons, bandes sombres */
  --ink-2: oklch(0.38 0.04 165);
  --muted: oklch(0.46 0.03 120);
  --line: oklch(0.84 0.04 85);                /* filet chaud */
  --gold: oklch(0.76 0.115 82);               /* or : fonds, filets sur sombre */
  --gold-deep: oklch(0.46 0.095 78);          /* or foncé : texte et chiffres sur clair (AA) */
  --rose: oklch(0.36 0.125 10);               /* lie de vin : uniquement la bande de la rose */
  --rose-flower: oklch(0.55 0.19 10);         /* rose des fleurs */
  --rose-deep: oklch(0.3 0.11 10);
  --rose-soft: oklch(0.82 0.11 85);           /* or clair : accent sur fond sombre */
  --on-ink: oklch(0.86 0.025 95);             /* texte secondaire sur fond sombre */

  --f: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --f-title: "Gilda Display", "Iowan Old Style", Georgia, serif;

  /* échelle 1,25 sur 17 px */
  --t-0: 1.0625rem; --t-1: 1.3281rem; --t-2: 1.6602rem; --t-3: 2.0752rem; --t-4: 2.594rem; --t-5: 3.2425rem; --t-6: 4.0531rem;

  --wrap: 1240px;
  --hero-edge: oklch(0.9 0.045 85);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --r: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-0)/1.6 var(--f); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, .tel, .ev__day, .honor__t, .acc, .links b, .vc h3 { font-family: var(--f-title); font-weight: 500; line-height: 1.1; letter-spacing: 0; }
h1, h2, h3 { font-optical-sizing: auto; }
time, .ev__day, .tel, .hours td { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; border-radius: var(--r); }
.hero :focus-visible, .header :focus-visible, .hall :focus-visible, .rose-band :focus-visible, .footer :focus-visible, .search-panel :focus-visible { outline-color: #fff; }
.honors :focus-visible, .sub :focus-visible { outline-color: var(--gold-deep); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap > * { min-width: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; background: var(--ink); color: #fff; border-radius: var(--r); }
.skip:focus { top: 1rem; }
svg.i { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; stroke-linejoin: miter; flex: none; }

/* ───── boutons : un primaire (encre), un rouge pour l'action de la page, un contour ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 3rem; padding: .65rem 1.5rem;
  border-radius: var(--r); border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer;
  font: 600 1rem/1.2 var(--f); transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn:active { background: var(--ink); }
.btn--rose { background: linear-gradient(var(--gold), var(--gold)) no-repeat left center / 0% 100%, var(--ink); border-color: var(--gold); transition: background-size .5s var(--ease), color .3s; }
.btn--rose:hover { background-size: 100% 100%; background-color: var(--ink); color: var(--ink); }
.btn svg.i { transition: transform .3s var(--ease); }
.btn:hover svg.i { transform: translateX(4px); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { background: oklch(0.82 0.11 84); border-color: oklch(0.82 0.11 84); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--white { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--white:hover { background: var(--surface); border-color: var(--surface); }
.btn--ghost-w { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost-w:hover { background: #fff; color: var(--ink); border-color: #fff; }

.u { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .25s var(--ease); }
a:hover .u, a:focus-visible .u { background-size: 100% 2px; }

.more { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; border-bottom: 2px solid var(--ink); padding-bottom: .1rem; }
.more:hover { color: var(--gold-deep); border-color: var(--gold-deep); }

/* ───── en-tête posé sur la photo ───── */
.header { position: fixed; inset: 0 0 auto 0; z-index: 30; color: #fff; transition: transform .45s var(--ease), background-color .3s; }
.header.is-solid { background: oklch(0.27 0.045 165 / .97); }
/* léger flou sous l'en-tête quand il est transparent sur la photo (sur un pseudo-élément : un backdrop-filter sur .header casserait le menu mobile) */
.header:not(.header--solid)::before { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: -1.4rem; z-index: -1; pointer-events: none; background: linear-gradient(180deg, oklch(0.2 0.045 165 / .32), oklch(0.2 0.045 165 / 0));
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); transition: opacity .3s; }
.header.is-solid::before { opacity: 0; }
.header.is-hidden { transform: translateY(-100%); }
.header .wrap { display: flex; align-items: center; gap: 1.1rem; min-height: 5.5rem; }
.brand { display: block; flex: none; margin-right: auto; }
.brand img { height: 3.2rem; width: auto; }
.nav ul { display: flex; gap: .1rem; }
.nav li { position: relative; }
.nav button {
  display: inline-flex; align-items: center; min-height: 3rem; padding: .5rem .9rem; background: none; border: 0; color: inherit; cursor: pointer;
  font: 500 1rem/1 var(--f); position: relative;
}
.nav button::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .5rem; height: 2px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.nav li:hover > button::after, .nav button[aria-expanded="true"]::after { transform: scaleX(1); }
.sub {
  position: absolute; left: 0; top: calc(100% + .1rem); min-width: 18.5rem; padding: .5rem; background: var(--paper); color: var(--ink);
  border-top: 3px solid var(--gold); border-radius: 0 0 var(--r) var(--r);
  opacity: 0; visibility: hidden; transform: translateY(4px); transform-origin: top left; transition: opacity .15s, transform .15s var(--ease), visibility .15s;
}
.nav li:hover > .sub, .nav button[aria-expanded="true"] + .sub { opacity: 1; visibility: visible; transform: none; }
.nav li.dismissed:hover > .sub { opacity: 0; visibility: hidden; }
.sub a { display: block; padding: .6rem .8rem; border-radius: var(--r); transition: background-color .15s; }
.sub a:hover { background: var(--surface); }
.sub .all { margin-top: .3rem; border-top: 1px solid var(--line); border-radius: 0; padding-top: .8rem; font-weight: 600; }
.header__cta { min-height: 2.75rem; padding-inline: 1.2rem; }
.header__search, .burger {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; cursor: pointer; flex: none; border-radius: var(--r);
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); transition: background-color .2s, color .2s;
}
.header__search:hover, .header__search[aria-expanded="true"], .burger:hover { background: #fff; color: var(--ink); }
.burger { display: none; }

.search-panel { background: var(--ink); padding-block: 1.1rem; }
.search-panel[hidden] { display: none; }
.search { display: flex; gap: .5rem; background: var(--paper); border-radius: var(--r); padding: .35rem; max-width: 46rem; margin-inline: auto; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 1rem; font: 500 var(--t-0) var(--f); color: var(--ink); min-height: 3rem; outline: none; }
.search input::placeholder { color: var(--muted); }
.search:focus-within { outline: 3px solid var(--rose-soft); outline-offset: 2px; }

.header--solid { position: relative; background: var(--ink); }
.header--solid.is-hidden { transform: none; }

/* ───── hero : un seul moment animé, à l'arrivée ───── */
.hero { position: relative; display: flex; flex-direction: column; min-height: clamp(34rem, 86svh, 50rem); color: #fff; background: var(--hero-edge); isolation: isolate; overflow: hidden; }
.hero__bg { position: absolute; inset: -10% max(0px, calc((100% - 1600px) / 2)); z-index: -2; } /* photo plafonnée à 1600px, le crème de la façade prolonge le cadre */
@media (min-width: 1601px) { .hero__bg img, .hero::before { -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); } }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.hero::before { content: ""; position: absolute; inset: 0 max(0px, calc((100% - 1600px) / 2)); z-index: -1;
  background: linear-gradient(0deg, oklch(0.2 0.045 165 / .82) 0%, oklch(0.2 0.045 165 / .5) 38%, oklch(0.2 0.045 165 / 0) 70%),
              linear-gradient(180deg, oklch(0.2 0.045 165 / .55) 0%, oklch(0.2 0.045 165 / 0) 22%); }
.hero__main { flex: 1; display: flex; align-items: flex-end; padding-top: 7.5rem; padding-bottom: clamp(2.2rem, 5vw, 3.8rem); }
.hero__title { max-width: 44rem; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero h1 .line > span { display: block; }
.hero h1 { font-size: clamp(var(--t-4), 6.4vw, 4.9rem); font-weight: 500; letter-spacing: -.015em; line-height: 1; }
.tagline { display: flex; align-items: center; gap: 1rem; margin-top: 1.2rem; font: 500 var(--t-2)/1.2 var(--f-title); letter-spacing: .02em; color: var(--rose-soft); }
.tagline__rule { display: block; width: clamp(2.5rem, 6vw, 4.5rem); height: 1px; background: var(--gold); }
.status { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.4rem; font-weight: 500; font-size: 1rem; color: var(--on-ink); }
.dot { width: .6rem; height: .6rem; border-radius: 50%; background: #8fd16d; flex: none; }
.dot[data-state="closed"] { background: #f0a0ac; }

/* bande de distinctions, en pied de hero (composition de la capture du client) */
.honors { position: relative; background: var(--paper); color: var(--ink); }
.honors__line { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold); }
.honors .wrap { display: grid; grid-template-columns: minmax(11rem, 14rem) 1fr auto; align-items: center; gap: clamp(1.2rem, 3vw, 3rem); }
.honors__title { font-family: var(--f-title); font-size: var(--t-3); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; padding-block: 1.6rem; }
.honors__list { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; }
.honor { display: flex; align-items: center; justify-content: center; height: 8.8rem; padding: 0 1.2rem; border-left: 1px solid var(--line); }
.honor__logo { display: block; width: auto; height: auto; max-width: 100%; object-fit: contain; } /* logos détourés dans le fichier (fond transparent) */
.honor__logo--wide { width: min(100%, 12rem); }
.honor__logo--square { height: 6.4rem; }
.honor__logo--badge { height: 6.8rem; }
.honor__logo--medal { height: 6rem; }
.honor__t { font-size: var(--t-1); font-weight: 500; line-height: 1.15; }
.honors__cta { justify-self: end; }

/* ───── sections ───── */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); }
h2 { font-size: clamp(var(--t-3), 4vw, var(--t-5)); }
.cat { font-weight: 700; color: var(--gold-deep); }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem 1rem; font-size: .95rem; color: var(--muted); }

/* gabarit : titre dans une colonne à gauche, contenu à droite, filet noir au-dessus */
.split { position: relative; display: grid; grid-template-columns: 4fr 8fr; gap: clamp(2rem, 6vw, 6rem); padding-top: 1.4rem; }
.split::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--gold-deep); transform: scaleX(var(--rule, 1)); transform-origin: left; }
.split__rail { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }

/* actualités */
.news__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: stretch; }
.lead { display: block; }
.lead .frame { aspect-ratio: 16 / 11; overflow: hidden; background: var(--surface); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.lead__body { padding-top: 1.4rem; }
.lead__body h3 { font-size: clamp(var(--t-2), 3.2vw, var(--t-4)); margin: .7rem 0 .8rem; }
.lead__body > p:last-child { max-width: 34rem; color: var(--ink-2); }
.news__list { display: flex; flex-direction: column; border-top: 1px solid var(--gold-deep); }
.news__list > li { flex: 1; display: flex; border-bottom: 1px solid var(--line); }
.item { flex: 1; display: grid; grid-template-columns: 1fr 7.5rem; gap: 1.4rem; align-items: center; padding-block: 1.3rem; }
.item h3 { font-size: var(--t-2); margin-top: .5rem; }
.item .frame { aspect-ratio: 1; overflow: hidden; background: var(--surface); }

/* agenda : lignes de programme */
.agenda { background: var(--surface); }
.filters { display: flex; flex-direction: column; gap: .15rem; }
.filters a { display: inline-block; padding: .25rem 0; font-weight: 500; color: var(--muted); }
.filters a:hover { color: var(--ink); }
.filters a[aria-current="true"] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--gold-deep); }
.events > li { border-bottom: 1px solid var(--line); }
.events > li:first-child { margin-top: -.2rem; }
.ev { display: grid; grid-template-columns: 11rem 1fr auto 1.5rem; gap: 1.5rem; align-items: center; padding: 1.4rem .6rem; transition: background-color .15s; }
.ev:hover { background: var(--paper); }
.ev__date { display: flex; align-items: flex-end; gap: .7rem; }
.ev__day { display: block; overflow: hidden; padding: .08em .04em .06em; font-size: calc(var(--t-6) * 1.15); font-weight: 500; line-height: .8; letter-spacing: -.02em; color: var(--gold-deep); }
.ev__day > span { display: block; }
.ev__my { display: flex; flex-direction: column; font-weight: 600; line-height: 1.2; }
.ev__my small { font-weight: 400; font-size: .92rem; color: var(--muted); }
.ev h3 { font-size: var(--t-2); line-height: 1.15; }
.where { color: var(--ink-2); }
.ev__go { transition: transform .2s var(--ease); }
.ev:hover .ev__go { transform: translateX(4px); }

/* démarches : liste de texte */
.access__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(1.5rem, 4vw, 3rem); }
.access__list > li { border-bottom: 1px solid var(--line); }
.access__list > li:nth-child(-n+2) { margin-top: -.2rem; }
.acc { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem .2rem; font-size: var(--t-2); font-weight: 400; line-height: 1.15; transition: padding .2s var(--ease), color .2s; }
.acc svg.i { transition: transform .2s var(--ease); }
.acc:hover { color: var(--gold-deep); padding-left: .6rem; }
.acc:hover svg.i { transform: translateX(3px); }

/* mot du maire */
.mayor { background: var(--surface); }
.mayor .wrap { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: end; }
.mayor .frame { aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); }
.mayor__text { margin-top: 1.6rem; max-width: 36rem; }
.mayor__text p { font: 400 var(--t-1)/1.6 var(--f); margin-bottom: 1rem; }
.mayor__sign { margin: 1.4rem 0 1.8rem; font-weight: 600; color: var(--gold-deep); }

/* la mairie : bande noire */
.hall { background: var(--ink); color: #fff; padding-block: clamp(3.5rem, 7vw, 6rem); }
.hall .wrap { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.hall h2 { max-width: 12ch; }
.hall h3 { font: 600 var(--t-0)/1.3 var(--f); letter-spacing: .01em; color: var(--rose-soft); margin-bottom: .9rem; }
.hall .status { margin-top: 1.4rem; color: var(--on-ink); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .6rem 0; font-weight: 400; text-align: left; border-bottom: 1px solid oklch(0.76 0.115 82 / .35); color: var(--on-ink); }
.hours td { text-align: right; }
.hours tr[data-today="true"] > * { color: #fff; font-weight: 700; }
.tel { display: block; font-size: var(--t-4); font-weight: 500; letter-spacing: -.01em; line-height: 1; margin-bottom: 1.1rem; }
.tel:hover { color: var(--rose-soft); }
.hall address { font-style: normal; margin-bottom: 1.6rem; color: var(--on-ink); }
.cta { display: flex; flex-wrap: wrap; gap: .7rem; }

/* la rose : la seule grande surface de couleur */
.rose-band { background: var(--rose); color: #fff; padding-block: clamp(3.5rem, 7vw, 6rem); }
.rose-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.rose-band h2 { max-width: 13ch; }
.rose__text { margin: 1.3rem 0 2rem; max-width: 33rem; font-size: var(--t-0); line-height: 1.6; color: oklch(0.93 0.03 10); }
.links { border-top: 1px solid oklch(0.76 0.115 82 / .6); }
.links > li { border-bottom: 1px solid oklch(0.76 0.115 82 / .6); }
.links a { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; align-items: center; padding: 1rem .2rem; transition: padding .2s var(--ease); }
.links b { font-size: var(--t-2); font-weight: 400; }
.links span { grid-column: 1; font-size: .98rem; }
.links svg { grid-row: 1 / span 2; grid-column: 2; }
.links a:hover { padding-left: .6rem; }
.collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: .6rem; aspect-ratio: 1 / 1; }
.collage .frame { overflow: hidden; }
.collage .frame:nth-child(1) { grid-row: 1 / span 2; }

/* vivre au village */
.village__list > li { border-bottom: 1px solid var(--line); }
.village__list > li:first-child { margin-top: -.2rem; }
.vc { display: grid; grid-template-columns: 1fr 1.2fr 1.5rem; gap: 1.5rem; align-items: center; padding: 1.3rem .2rem; transition: padding .2s var(--ease); }
.vc h3 { font-size: var(--t-2); }
.vc p { color: var(--ink-2); }
.vc:hover { padding-left: .6rem; }
.vc:hover h3 { color: var(--gold-deep); }

/* alertes */
.alerts { background: var(--surface); padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.alerts .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.alerts .wrap > div p { margin-top: 1rem; max-width: 32rem; color: var(--ink-2); font-size: var(--t-0); }
.alerts label { display: block; font-weight: 700; margin-bottom: .6rem; }
.alerts .field { display: flex; gap: .5rem; background: var(--paper); border: 1px solid var(--ink); border-radius: var(--r); padding: .35rem; }
.alerts .field input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 1rem; font: 500 var(--t-0) var(--f); color: var(--ink); min-height: 3rem; outline: none; }
.alerts .field:focus-within { outline: 3px solid var(--gold-deep); outline-offset: 2px; }
.alerts small { display: block; margin-top: .7rem; color: var(--muted); font-size: .95rem; }
.msg { margin: .8rem 0 0; font-weight: 700; }
.msg[hidden] { display: none; }
.msg#mail-error { color: oklch(0.42 0.18 25); }

/* pied de page */
.footer { background: var(--ink); color: var(--on-ink); padding-block: clamp(3rem, 5vw, 4.5rem) 1.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; }
.footer .brand { margin-right: 0; }
.footer .brand img { height: 3.4rem; }
.footer address { font-style: normal; margin-top: 1.4rem; }
.footer h3 { font: 600 var(--t-0)/1.3 var(--f); letter-spacing: .01em; color: var(--rose-soft); margin-bottom: .9rem; }
.footer li + li { margin-top: .45rem; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__legal { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid oklch(0.76 0.115 82 / .35); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem 2rem; font-size: .92rem; }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.footer__legal li + li { margin: 0; }

/* pages de service (déclaration d'accessibilité, plan du site) */
.prose { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.prose .wrap > * { max-width: 46rem; }
.prose h1 { font-size: clamp(var(--t-4), 5vw, var(--t-6)); margin-bottom: 1.5rem; }
.prose h2 { font-size: var(--t-3); margin: 2.2rem 0 .8rem; }
.prose p, .prose li { margin-bottom: .8rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; }
.prose a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ───── tablette ───── */
@media (max-width: 1100px) {
  .nav button { padding-inline: .65rem; font-size: .96rem; }
  .honors .wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .honors__title { padding-block: 1.6rem .4rem; }
  .honors__list { grid-template-columns: repeat(4, 1fr); }
  .honor { height: 7.6rem; padding: 0 .8rem; }
  .honor:first-child { border-left: 0; padding-left: 0; }
  .honors__cta { justify-self: start; margin-bottom: 1.6rem; }
  .ev { grid-template-columns: 9rem 1fr 1.5rem; }
  .ev .where { grid-column: 2; grid-row: 2; }
  .ev__go { grid-column: 3; grid-row: 1 / span 2; }
  .ev__date { grid-row: 1 / span 2; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

/* ───── menu mobile ───── */
@media (max-width: 900px) {
  .burger { display: inline-grid; }
  .header .wrap { min-height: 4.8rem; }
  .nav { position: fixed; inset: 0; z-index: 40; background: var(--ink); padding: 6rem var(--gutter) 3rem; overflow-y: auto; display: none; }
  body.menu-open .nav { display: block; }
  body.menu-open { overflow: hidden; }
  body.menu-open .burger { position: relative; z-index: 50; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav button { width: 100%; justify-content: flex-start; padding: 1.1rem 0 .5rem; font: 500 var(--t-3)/1 var(--f-title); letter-spacing: -.01em; color: var(--rose-soft); pointer-events: none; }
  .nav button::after { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; border-top: 0; color: #fff; min-width: 0; padding: 0 0 .8rem; border-bottom: 1px solid oklch(0.76 0.115 82 / .35); border-radius: 0; }
  .sub a { padding: .45rem 0; }
  .sub a:hover { background: none; text-decoration: underline; }
  .sub .all { border-top: 0; margin-top: 0; padding-top: .45rem; }
  .header__cta { margin-left: auto; }
  .brand { margin-right: 0; }
  .hero__bg img { object-position: 50% 30%; }
  .split, .news__grid, .mayor .wrap, .hall .wrap, .rose-band .wrap, .alerts .wrap { grid-template-columns: minmax(0, 1fr); }
  .split { gap: 1.8rem; }
  .split__rail { flex-direction: row; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
  .agenda .split__rail { flex-direction: column; align-items: flex-start; }
  .filters { flex-direction: row; gap: 1.2rem; flex-wrap: wrap; }
  .events > li:first-child, .access__list > li:nth-child(-n+2), .village__list > li:first-child { margin-top: 0; }
  .mayor .frame { max-width: 22rem; }
  .rose-band h2, .hall h2 { max-width: none; }
  .collage { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .header__cta { display: none; }
  .header__search { margin-left: auto; }
  .brand img { height: 2.7rem; }
  .hero { min-height: 36rem; }
  .hero__main { padding-top: 6.5rem; }
  .honors__list { grid-template-columns: repeat(2, 1fr); }
  .honor { height: 7.2rem; }
  .honor:nth-child(odd) { border-left: 0; padding-left: 0; }
  .honor:nth-child(n+3) { border-top: 1px solid var(--line); }
  .honors__cta { width: 100%; margin-top: 1.2rem; }
  .item { grid-template-columns: 1fr 5.5rem; gap: 1rem; }
  .ev { grid-template-columns: 5.5rem 1fr 1.5rem; gap: .4rem 1rem; padding-inline: 0; align-items: start; }
  .ev__date { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .ev__day { font-size: var(--t-5); }
  .hero::before { background: linear-gradient(0deg, oklch(0.2 0.045 165 / .88) 0%, oklch(0.2 0.045 165 / .6) 55%, oklch(0.2 0.045 165 / .35) 100%); }
  .ev h3 { font-size: var(--t-1); }
  .access__list { grid-template-columns: minmax(0, 1fr); }
  .access__list > li:nth-child(-n+2) { margin-top: 0; }
  .acc { font-size: var(--t-0); }
  .vc { grid-template-columns: 1fr 1.5rem; }
  .vc p { grid-column: 1; grid-row: 2; }
  .vc svg { grid-column: 2; grid-row: 1 / span 2; }
  .alerts .field { flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ───── mouvement réduit et impression ───── */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .nav, .burger, .skip, .alerts, .header__cta, .header__search, .search-panel { display: none !important; }
  .header { position: static; background: var(--ink); }
  .hero { min-height: 0; }
}

/* ───── mouvement ───── */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title, .js .honors__list, .js .honors__cta, .js .header .wrap { visibility: hidden; }
}

/* Variante de hero : photo plein écran, éléments posés par-dessus sur des zones de verre dépoli.
   Se charge après style.css et ne remplace que le hero. */
.hero { min-height: 100svh; background: var(--ink); }
@media (min-width: 1101px) { .hero { min-height: min(100svh, 750px); max-height: 750px; } } /* hero plafonné à 750px de haut sur grand écran */
.hero__bg { inset: -8% 0; }
.hero__bg img { -webkit-mask-image: none; mask-image: none; object-position: 50% 30%; }
.hero::before { inset: 0; -webkit-mask-image: none; mask-image: none;
  background: linear-gradient(180deg, oklch(0.2 0.045 165 / .5) 0%, oklch(0.2 0.045 165 / 0) 24%),
              linear-gradient(0deg, oklch(0.2 0.045 165 / .35) 0%, oklch(0.2 0.045 165 / 0) 40%); }

/* zone de titre : verre teinté vert profond */
.hero__main { padding-bottom: clamp(1.6rem, 3.5vw, 2.6rem); }
.hero__title { max-width: 41rem; padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.6rem, 3.4vw, 2.8rem) clamp(1.5rem, 2.6vw, 2.1rem);
  background: oklch(0.22 0.045 165 / .42); border: 1px solid oklch(1 0 0 / .16); border-top-color: oklch(0.76 0.115 82 / .7);
  -webkit-backdrop-filter: blur(18px) saturate(1.15); backdrop-filter: blur(18px) saturate(1.15); }
.hero__title .status { margin-top: 1.2rem; }

/* distinctions : bandeau de verre clair, au pied de la photo */
.honors { background: oklch(0.985 0.012 88 / .8); -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero__title { background: oklch(0.22 0.045 165 / .78); }
  .honors { background: var(--paper); }
}
@media (max-width: 640px) { .hero__title { margin-inline: -.4rem; } }

/* bloc de droite : dernière actu + raccourcis démarches */
.hero__main { justify-content: space-between; gap: clamp(1.5rem, 3vw, 3rem); }
.hero__side { flex: none; width: min(100%, 27rem); display: grid; gap: 0; color: #fff;
  background: oklch(0.22 0.045 165 / .42); border: 1px solid oklch(1 0 0 / .16); border-top-color: oklch(0.76 0.115 82 / .7);
  -webkit-backdrop-filter: blur(18px) saturate(1.15); backdrop-filter: blur(18px) saturate(1.15); }
.hnews { display: grid; grid-template-columns: 6.2rem 1fr; gap: 1rem; align-items: center; padding: 1.2rem 1.4rem; }
.hnews img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; transition: transform .6s var(--ease); }
.hnews > img { transform-origin: center; }
.hnews:hover img { transform: scale(1.04); }
.hnews__meta { display: flex; flex-wrap: wrap; gap: .2rem .7rem; font-size: .86rem; color: oklch(1 0 0 / .78); }
.hnews__meta span { font-weight: 600; color: var(--rose-soft); }
.hnews__t { margin-top: .35rem; font-size: var(--t-1); line-height: 1.2; font-weight: 500; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size .35s var(--ease); }
.hnews:hover .hnews__t { background-size: 100% 1px; }
.hquick { padding: 1rem 1.4rem 1.1rem; border-top: 1px solid oklch(1 0 0 / .16); }
.hquick__t { font-family: var(--f); font-size: .9rem; font-weight: 600; color: var(--rose-soft); margin-bottom: .1rem; letter-spacing: 0; }
.hquick ul a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .62rem 0; border-bottom: 1px solid oklch(1 0 0 / .14); font-size: .98rem; transition: padding .25s var(--ease), color .2s; }
.hquick ul a:hover { padding-left: .4rem; color: var(--rose-soft); }
.hquick svg.i { flex: none; width: 1rem; height: 1rem; }
.hquick__all { display: inline-flex; align-items: center; gap: .5rem; margin-top: .8rem; font-weight: 600; font-size: .95rem; border-bottom: 1px solid var(--rose-soft); padding-bottom: .1rem; }
.hquick__all:hover svg.i { transform: translateX(4px); }
.hquick__all svg.i { transition: transform .25s var(--ease); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .hero__side { background: oklch(0.22 0.045 165 / .78); } }
@media (max-width: 1100px) { .hero__main { flex-direction: column; align-items: flex-start; } .hero__side { width: min(100%, 36rem); } }
@media (max-width: 640px) { .hnews { grid-template-columns: 4.6rem 1fr; padding: 1rem; } .hquick { padding: .9rem 1rem 1rem; } .hero__side { margin-inline: -.4rem; width: calc(100% + .8rem); } }

/* v4 : prestige dynamique. Se charge après style.css (tokens, typo, sections reprises de la v3).
   Signature : l'arche (portail, auvent, fenêtres de l'église). Elle cadre les portraits, les photos de la rose et les dates de l'agenda.
   Rayons : 0,9rem (images, cartes), 1,6rem (plaque, panneaux), arche, cercle. Une seule ombre : la plaque des distinctions. */

:root { --r-s: .9rem; --r-l: 1.6rem; --arch: 999px 999px 0 0; }
.arch { border-radius: var(--arch); }

/* ───── en-tête en îlot, flottant sur la photo ───── */
.header { inset: .9rem 0 auto 0; pointer-events: none; background: none; }
.header.is-solid { background: none; }
.header::before { display: none; }
.header > .wrap { position: relative; isolation: isolate; pointer-events: auto; width: min(1300px, 100% - 1.6rem); min-height: 4.4rem; padding-inline: 1.3rem 1rem; gap: .8rem; }
.header > .wrap::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 999px; background: oklch(0.22 0.045 165 / .46); border: 1px solid oklch(1 0 0 / .18);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); transition: background-color .35s var(--ease); }
.header.is-solid > .wrap::before { background: oklch(0.22 0.045 165 / .94); }
.header .brand img { height: 2.5rem; }
.header__cta { border-radius: 999px; }
.header__search, .burger { border-radius: 50%; }
.search-panel { pointer-events: auto; width: min(1300px, 100% - 1.6rem); margin: .5rem auto 0; border-radius: var(--r-l); }
.search { border-radius: 999px; }
.search .btn { border-radius: 999px; }
.sub { border-radius: var(--r-s); border-top: 0; margin-top: .6rem; box-shadow: 0 20px 40px -24px oklch(0.2 0.045 165 / .5); }

/* ───── hero : diaporama plein écran, plafonné à 750px ───── */
.h4 { position: relative; display: flex; flex-direction: column; min-height: clamp(38rem, 100svh, 62rem); max-height: 62rem; color: #fff; background: var(--ink); isolation: isolate; overflow: hidden; }
.h4__slides { position: absolute; inset: -5% 0; z-index: -2; }
.h4__slide { position: absolute; inset: 0; opacity: 0; overflow: hidden; }
.h4__slide.is-active { opacity: 1; }
.h4__slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.h4::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, oklch(0.18 0.045 165 / .72) 0%, oklch(0.18 0.045 165 / .36) 44%, oklch(0.18 0.045 165 / 0) 72%),
              linear-gradient(0deg, oklch(0.18 0.045 165 / .5) 0%, oklch(0.18 0.045 165 / 0) 46%),
              linear-gradient(180deg, oklch(0.18 0.045 165 / .38) 0%, oklch(0.18 0.045 165 / 0) 24%); }
.h4__main { flex: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(1.5rem, 3vw, 3rem); padding-top: 8rem; padding-bottom: 6.8rem; }
.h4__title { min-width: 0; }
.h4__head { width: fit-content; max-width: 100%; }
.h4 h1 { font-size: clamp(3.1rem, 7.2vw, 88px); line-height: .96; font-weight: 400; letter-spacing: -.01em; text-shadow: 0 2px 34px oklch(0.15 0.04 165 / .5); }
.h4 h1 .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.h4 h1 .line > span { display: block; }
.h4 .tagline { margin-top: 1.4rem; text-shadow: 0 1px 18px oklch(0.15 0.04 165 / .5); }
.h4 .tagline { justify-content: center; }
.h4 .tagline .tagline__rule { flex: 1 1 0; width: auto; min-width: 1.5rem; }
.h4 .status { text-shadow: 0 1px 14px oklch(0.15 0.04 165 / .55); }

.h4__ctrl { display: flex; align-items: center; gap: .8rem; margin-top: .6rem; }
.h4__btn { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid oklch(1 0 0 / .5); background: oklch(0.2 0.045 165 / .2); color: #fff; cursor: pointer; transition: background-color .25s, color .25s, transform .25s var(--ease); }
.h4__btn:hover { background: #fff; color: var(--ink); }
.h4__btn:active { transform: scale(.94); }
.h4__btn svg.i { width: 1.1rem; height: 1.1rem; }
.h4__dots { display: flex; align-items: center; gap: .3rem; }
.h4__dots button { position: relative; width: 2.9rem; height: 1.7rem; background: none; border: 0; cursor: pointer; }
.h4__dots button::before, .h4__dots button::after { content: ""; position: absolute; left: 0; top: 50%; height: 2px; margin-top: -1px; }
.h4__dots button::before { right: 0; background: oklch(1 0 0 / .38); }
.h4__dots button::after { width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.h4__dots button[aria-current="true"]::after { transform: scaleX(var(--p, 1)); }
.h4__pause span { display: block; width: .7rem; height: .8rem; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.h4__pause[aria-pressed="true"] span { width: 0; height: 0; border-right: 0; border-left: .7rem solid currentColor; border-block: .4rem solid transparent; margin-left: .15rem; }
.h4 :focus-visible { outline-color: #fff; }

/* À la une + démarches : verre dépoli (déjà défini plus haut dans style.css) */
.h4 .hero__side { align-self: flex-end; }

/* ───── plaque des distinctions, à cheval sur le bas du hero ───── */
.tray-wrap { position: relative; z-index: 5; margin-top: -5.2rem; }
.tray { position: relative; display: grid; grid-template-columns: minmax(11rem, 14rem) 1fr auto; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); padding-inline: 2rem 1.6rem;
  background: var(--paper); color: var(--ink); border-radius: var(--r-l); overflow: hidden;
  box-shadow: 0 44px 70px -38px oklch(0.2 0.045 165 / .6); }
.tray::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold); }
.tray__head { padding-block: 1.5rem; }
.tray__kicker { margin: 0 0 .7rem; font-size: .82rem; font-weight: 600; letter-spacing: .01em; color: var(--muted); }
.tray__t { font-size: var(--t-3); line-height: 1.12; font-weight: 400; letter-spacing: 0; }
.tray__kicker::after { content: ""; display: block; width: 4.5rem; height: 3px; margin-top: .5rem; border-radius: 2px; background: linear-gradient(90deg, #1f3f94 0 33.33%, #e4e1d8 33.33% 66.66%, #d6283a 66.66% 100%); }
.tray__list { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; }
.tray .honor { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 8.8rem; padding: 0 1rem; border-left: 1px solid var(--line); }
.tray .honor__logo { transition: transform .55s var(--ease); }
.tray .honor:hover .honor__logo { transform: translateY(-7px) scale(1.04); }
.honor__lab { position: absolute; left: 0; right: 0; bottom: .45rem; text-align: center; font-size: .82rem; font-weight: 600; color: var(--gold-deep); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease); }
.tray .honor:hover .honor__lab { opacity: 1; transform: none; }
.tray__cta { border-radius: 999px; }

/* ───── mots géants (décor, défilent latéralement avec la page) ───── */
.ghost { overflow: hidden; padding-top: clamp(2rem, 4vw, 3.5rem); user-select: none; }
.ghost__row { display: flex; align-items: center; gap: .35em; width: max-content; white-space: nowrap; font: 400 clamp(5rem, 13vw, 12.5rem)/1.02 var(--f-title); letter-spacing: -.015em; }
.ghost__row--a { color: oklch(0.935 0.035 85); transform: translateX(-4%); }
.ghost__row--b { color: transparent; -webkit-text-stroke: 1px oklch(0.76 0.115 82 / .6); margin-top: -.1em; transform: translateX(-30%); }
.ghost__row i { flex: none; width: .16em; height: .16em; border-radius: 50%; background: var(--gold); }

/* ───── actualités ───── */
.news4 { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.feat { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; margin-bottom: clamp(3.5rem, 6vw, 5rem); }
.feat__img { grid-column: 1 / 9; grid-row: 1; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-s); background: var(--surface); }
.feat__img img { transition: transform 1s var(--ease); }
.feat:hover .feat__img img { transform: scale(1.04); }
.feat__panel { position: relative; grid-column: 7 / 13; grid-row: 1; margin-bottom: -2.6rem; padding: clamp(1.6rem, 3vw, 2.8rem); background: var(--ink); color: #fff; border-radius: var(--r-l); }
.feat__panel::before { content: ""; position: absolute; top: -.8rem; left: -.8rem; width: 3.2rem; height: 3.2rem; border-top: 3px solid var(--gold); border-left: 3px solid var(--gold); border-radius: .8rem 0 0 0; }
.feat__panel .meta { color: oklch(1 0 0 / .72); }
.feat__panel .cat { color: var(--rose-soft); }
.feat__panel h3 { margin: .8rem 0 .9rem; font-size: clamp(var(--t-2), 3vw, var(--t-4)); font-weight: 400; }
.feat__panel > p:not(.meta) { color: var(--on-ink); max-width: 30rem; }
.feat__go { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.4rem; font-weight: 600; border-bottom: 2px solid var(--gold); padding-bottom: .1rem; }
.feat__go svg.i { transition: transform .3s var(--ease); }
.feat:hover .feat__go svg.i { transform: translateX(5px); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2.2rem); }
.card { display: block; }
.card .frame { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r-s); background: var(--surface); margin-bottom: 1.1rem; }
.card .frame img { transition: transform .9s var(--ease); }
.card:hover .frame img { transform: scale(1.05); }
.card h3 { margin-top: .45rem; font-size: var(--t-2); }

/* ───── démarches : pastilles ───── */
.quick { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.section__head--center { justify-content: center; text-align: center; }
.discs { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.8rem, 2vw, 1.8rem); }
.disc { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; text-align: center; font-weight: 500; line-height: 1.25; }
.disc__o { position: relative; display: grid; place-items: center; width: min(100%, 8.6rem); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px oklch(0.76 0.115 82 / .55);
  transition: color .4s var(--ease), transform .55s var(--ease); }
.disc__o::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .6s var(--ease); }
.disc:hover .disc__o, .disc:focus-visible .disc__o { color: var(--gold); transform: translateY(-7px); }
.disc:hover .disc__o::before, .disc:focus-visible .disc__o::before { transform: scale(1); }
.disc:focus-visible { outline: none; }
.disc:focus-visible .disc__o { outline: 3px solid var(--gold-deep); outline-offset: 4px; }
.disc__i { position: relative; width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.quick__all { margin-top: clamp(1.8rem, 3vw, 2.6rem); text-align: center; }

/* ───── agenda : la date dans une arche ───── */
.agenda4__tools { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; }
.agenda4 .filters { flex-direction: row; gap: 1.3rem; }

/* ───── portraits et collage en arches ───── */
.collage .frame.arch { border-radius: var(--arch); }

/* ───── états de départ des animations : seulement si le script charge et si le mouvement est permis ───── */
@media (prefers-reduced-motion: no-preference) {
  .js .h4__main, .js .tray, .js .header > .wrap { visibility: hidden; }
}

/* ───── tablette ───── */
@media (max-width: 1100px) {
  .tray { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0 1.4rem 1.4rem; }
  .tray__t { padding-block: 1.5rem .6rem; }
  .tray__list { grid-template-columns: repeat(4, 1fr); }
  .tray .honor { height: 7.6rem; padding: 0 .6rem; }
  .tray .honor:first-child { border-left: 0; padding-left: 0; }
  .tray__cta { justify-self: start; margin-top: .8rem; }
  .discs { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; }
}
@media (max-width: 900px) {
  .h4 { max-height: none; }
  .h4__main { flex-direction: column; align-items: flex-start; padding-top: 7rem; padding-bottom: 7.4rem; }
  .h4 .hero__side { width: min(100%, 36rem); }
  .feat { display: block; }
  .feat__img { aspect-ratio: 4 / 3; }
  .feat__panel { margin: -3rem 1rem 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .header > .wrap { padding-inline: 1rem .8rem; }
}
@media (max-width: 640px) {
  .h4 h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .tray__list { grid-template-columns: repeat(2, 1fr); }
  .tray .honor:nth-child(odd) { border-left: 0; padding-left: 0; }
  .tray .honor:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tray__cta { width: 100%; justify-content: center; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .discs { grid-template-columns: repeat(2, 1fr); }
  .tray-wrap { margin-top: -4.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .disc__o, .disc__o::before, .tray .honor__logo, .feat__img img, .card .frame img { transition: none; }
}

/* ───── réglages après essais ───── */
.h4 h1 { letter-spacing: 0; font-kerning: normal; text-rendering: optimizeLegibility; }
.tray { grid-template-columns: minmax(14rem, 17rem) 1fr auto; }
.tray__t { font-size: var(--t-2); line-height: 1.18; }
.rose-band h2 { max-width: 17ch; }
.ghost__row--b { -webkit-text-stroke-color: oklch(0.7 0.115 82 / .75); }
@media (max-width: 1100px) { .tray { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .h4::before { background: linear-gradient(180deg, oklch(0.18 0.045 165 / .55) 0%, oklch(0.18 0.045 165 / .38) 40%, oklch(0.18 0.045 165 / .62) 100%); } }

/* ───── bloc « À la une + démarches » aux couleurs de la v4 : grands rayons, vignette en arche, pastilles d'icônes ───── */
.h4 .hero__side { width: min(100%, 27.5rem); border: 0; border-radius: var(--r-l); background: oklch(0.22 0.045 165 / .5); box-shadow: inset 0 0 0 1px oklch(1 0 0 / .16); position: relative; }
.h4 .hero__side::before { content: ""; position: absolute; top: -.7rem; left: -.7rem; width: 2.6rem; height: 2.6rem; border-top: 3px solid var(--gold); border-left: 3px solid var(--gold); border-radius: .8rem 0 0 0; pointer-events: none; }
.h4 .hnews { grid-template-columns: 5.4rem 1fr; gap: 1.1rem; padding: 1.2rem 1.4rem 1.1rem; }
.h4 .hnews img { height: 6.6rem; aspect-ratio: auto; border-radius: var(--arch); }
.h4 .hnews__t { font-size: var(--t-1); }
.h4 .hquick { margin: 0 .5rem .5rem; padding: .9rem .9rem 1rem; border-top: 0; border-radius: calc(var(--r-l) - .5rem); background: oklch(0.985 0.012 88 / .1); }
.h4 .hquick__t { margin: 0 0 .5rem .3rem; }
.h4 .hquick ul a { display: grid; grid-template-columns: 2.4rem 1fr auto; align-items: center; gap: .8rem; padding: .35rem .5rem .35rem .3rem; border-bottom: 0; border-radius: 999px; transition: background-color .3s var(--ease), color .3s; }
.h4 .hquick ul a:hover { padding-left: .3rem; background: oklch(1 0 0 / .12); color: #fff; }
.hq__ico { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; color: var(--gold); box-shadow: inset 0 0 0 1px oklch(0.76 0.115 82 / .65); transition: background-color .3s var(--ease), color .3s; }
.h4 .hquick ul a:hover .hq__ico { background: var(--gold); color: var(--ink); }
.hq__svg { width: 68%; height: 68%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hq__t { min-width: 0; }
.h4 .hquick__all { display: flex; align-items: center; justify-content: space-between; margin: .6rem 0 0; padding: .35rem .35rem .35rem 1.1rem; border: 0; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 600; transition: background-color .3s; }
.h4 .hquick__all:hover { background: oklch(0.82 0.11 84); }
.hquick__arr { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--ink); color: var(--gold); }
.hquick__arr svg.i { width: 1rem; height: 1rem; transition: transform .3s var(--ease); }
.h4 .hquick__all:hover .hquick__arr svg.i { transform: translateX(3px); }
@media (max-width: 900px) { .h4 .hero__side::before { display: none; } }

/* ───── agenda : calendrier cliquable + événement mis en avant ───── */
.ag { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1rem, 2vw, 1.6rem); align-items: stretch; }
.cal { padding: clamp(1.3rem, 2vw, 1.9rem); background: var(--paper); border-radius: var(--r-l); }
.cal__m { margin-bottom: 1rem; font: 400 1.5rem/1.1 var(--f-title); color: var(--ink); }
.cal__w, .cal__g { display: grid; grid-template-columns: repeat(7, 1fr); gap: .35rem; text-align: center; }
.cal__w { margin-bottom: .5rem; font-size: .8rem; font-weight: 700; color: var(--muted); }
.cal__d { display: grid; place-items: center; aspect-ratio: 1; border: 0; border-radius: 50%; background: none; font: 400 1.1rem/1 var(--f-title); color: var(--muted); }
.cal__d.has-ev { position: relative; cursor: pointer; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--gold-deep); transition: background .35s, color .35s, transform .35s var(--ease); }
.cal__d.has-ev:hover { transform: scale(1.08); }
.cal__d.is-active { background: var(--ink); color: var(--gold); box-shadow: none; }
.agf-stack { display: grid; }
.agf { grid-area: 1 / 1; position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(1.2rem, 3vw, 3rem); padding: clamp(1.6rem, 3vw, 3rem); overflow: hidden; background: var(--ink); color: var(--paper); border-radius: var(--r-l); visibility: hidden; opacity: 0; }
.agf.is-active { visibility: visible; opacity: 1; }
.agf::after { content: ""; position: absolute; right: -7rem; top: -3rem; width: 17rem; height: 26rem; border: 1px solid oklch(0.76 0.115 82 / .3); border-radius: var(--arch); pointer-events: none; }
.agf__day { font: 400 clamp(6rem, 11vw, 10rem)/.85 var(--f-title); color: var(--gold); }
.agf__when { font-weight: 700; color: var(--gold); }
.agf h3 { margin: .4rem 0 .6rem; font-size: var(--t-3, 2rem); color: var(--paper); }
.agf__where { font-weight: 700; }
.agf__txt { max-width: 38ch; margin: .6rem 0 1.4rem; color: oklch(0.985 0.012 88 / .82); }
.agr-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.6rem, 1.2vw, 1rem); }
.agr { display: flex; align-items: center; gap: .9rem; height: 100%; padding: .9rem 1.1rem; border-radius: var(--r-s); box-shadow: inset 0 0 0 1px oklch(0.27 0.045 165 / .18); transition: background .35s, box-shadow .35s; }
.agr__d { font: 400 2rem/1 var(--f-title); color: var(--gold-deep); }
.agr__t { display: grid; flex: 1; gap: .15rem; min-width: 0; line-height: 1.25; }
.agr__t small { color: var(--muted); }
.agr .i { flex: none; width: 1.1rem; height: 1.1rem; transition: transform .35s var(--ease); }
.agr:hover .i { transform: translateX(3px); }
.agr.is-active { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--gold-deep); }
@media (max-width: 1100px) { .agr-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .ag { grid-template-columns: minmax(0, 1fr); } .cal { max-width: 30rem; } }
@media (max-width: 640px) { .agf { grid-template-columns: minmax(0, 1fr); align-content: start; gap: .6rem; } .agf__day { font-size: 5rem; } .agr-list { grid-template-columns: minmax(0, 1fr); } }

/* essai : bloc d'aside en verre clair, texte sombre */
.h4 .hero__side { background: oklch(0.985 0.012 88 / .66); box-shadow: inset 0 0 0 1px oklch(1 0 0 / .55); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); color: var(--ink); }
.h4 .hero__side a, .h4 .hero__side h2, .h4 .hero__side h3, .h4 .hero__side p, .h4 .hnews__t { color: var(--ink); }
.h4 .hnews__k, .h4 .hnews__lab, .h4 .hquick__t { color: var(--gold-deep); }
.h4 .hnews time, .h4 .hnews__d { color: oklch(0.27 0.045 165 / .7); }
.h4 .hquick { background: oklch(1 0 0 / .4); }
.h4 .hquick ul a:hover { background: oklch(0.27 0.045 165 / .08); color: var(--ink); }
.hq__ico { color: var(--gold-deep); box-shadow: inset 0 0 0 1px oklch(0.46 0.095 78 / .6); }
.h4 .hquick ul a:hover .hq__ico { background: var(--ink); color: var(--gold); }
.h4 .hquick__all { background: var(--ink); color: var(--paper); }
.h4 .hquick__all:hover { background: oklch(0.34 0.05 165); }
.hquick__arr { background: var(--gold); color: var(--ink); }
.h4 .hnews__meta span { color: var(--gold-deep); }
.h4 .hnews__meta time { color: oklch(0.27 0.045 165 / .7); }
.h4 .hero__side a.hquick__all { color: var(--paper); }

/* filigrane : la rose, en vue partielle (masque SVG, couleur par section) */
.news4, .agenda4, .footer { position: relative; overflow: clip; }
.news4 > .wrap, .agenda4 > .wrap, .footer > .wrap, .footer > .container { position: relative; z-index: 1; }
.news4::before, .agenda4::before, .footer::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none; aspect-ratio: 744 / 585;
  background: var(--wm, var(--gold-deep)); opacity: var(--wm-o, .07);
  -webkit-mask: url(../img/rose.svg) center / contain no-repeat; mask: url(../img/rose.svg) center / contain no-repeat;
}
.news4::before, .news4::after { width: clamp(22rem, 50vw, 48rem); top: -2rem; left: 38%; transform: rotate(-14deg); }
.news4::after { content: ""; position: absolute; z-index: 2; pointer-events: none; aspect-ratio: 744 / 585; background: #fff; opacity: .5; mix-blend-mode: soft-light; -webkit-mask: url(../img/rose.svg) center / contain no-repeat; mask: url(../img/rose.svg) center / contain no-repeat; }
.agenda4 { overflow-x: clip; overflow-y: visible; }
.agenda4::before { width: clamp(24rem, 62vw, 56rem); top: 50%; left: max(-8rem, calc(50% - 50rem)); transform: translateY(-50%) rotate(6deg); --wm-o: .06; }
.footer::before { --wm: var(--gold); --wm-o: .08; width: clamp(22rem, 48vw, 46rem); top: -18%; right: max(-6rem, calc(50% - 52rem)); transform: rotate(-8deg); }
@media (max-width: 640px) { .news4::before, .news4::after { left: 20%; width: 80vw; } .agenda4::before { left: -35%; width: 120vw; } .footer::before { right: -30%; } }
.news4 > .wrap { z-index: auto; }
.news4 .feat__panel { z-index: 3; }
.news4::after { opacity: .9; }
.news4::before, .news4::after { left: 24%; }
.news4::after { mix-blend-mode: screen; opacity: .26; }
/* actus : la rose vit dans la photo (fusion légère), rien ne dépasse du cadre */
.news4::before, .news4::after { content: none; }
.news4 .feat__img { position: relative; isolation: isolate; }
.news4 .feat__img::after { content: ""; position: absolute; z-index: 1; pointer-events: none; width: 62%; aspect-ratio: 744 / 585; right: -8%; top: -18%; transform: rotate(-14deg); background: oklch(0.97 0.04 88); mix-blend-mode: soft-light; opacity: 1; -webkit-mask: url(../img/rose.svg) center / contain no-repeat; mask: url(../img/rose.svg) center / contain no-repeat; }
.news4 .feat__img::after { width: 46%; right: 3%; top: 4%; transform: rotate(-10deg); mix-blend-mode: overlay; opacity: .55; }
.news4 .feat__img::after { width: 52%; left: 2%; right: auto; top: -2%; transform: rotate(-10deg); mix-blend-mode: soft-light; opacity: 1; }
.news4 .feat__img::after { opacity: .5; }
/* actus : la rose est derrière la photo et la déborde légèrement */
.news4 .feat__img::after { content: none; }
.news4::after { content: none; }
.news4::before { content: ""; width: clamp(22rem, 50vw, 46rem); top: -1rem; left: auto; right: max(8rem, calc(50% - 40rem)); transform: rotate(-12deg); --wm-o: .1; top: 5rem; }
@media (max-width: 640px) { .news4::before { width: 90vw; right: -25vw; top: 2rem; } }
/* bouton « Voir les actualités » : le survol ne doit pas masquer le texte */
.btn--rose:hover { background: linear-gradient(var(--gold), var(--gold)) no-repeat left center / 100% 100%, var(--ink); border-color: var(--gold); color: var(--ink); }

/* mot du maire : bandeau vert, citation en grand, sans portrait */
.mayor4 { position: relative; overflow: clip; background: var(--ink); color: var(--paper); padding-block: clamp(4rem, 8vw, 7.5rem); }
.mayor4 .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.mayor4 h2 { color: var(--paper); }
.mayor4__side { display: grid; gap: 1.4rem; justify-items: start; position: sticky; top: 7rem; }
.mayor4__sign { margin: 0; padding-top: 1rem; border-top: 1px solid oklch(0.76 0.115 82 / .6); font-weight: 600; color: var(--gold); }
.mayor4__quote { position: relative; margin: 0; padding-top: clamp(5.6rem, 9vw, 8.4rem); }
.mayor4__mark { position: absolute; top: -.2rem; left: -.3rem; font: 400 clamp(7rem, 12vw, 11rem)/1 var(--f-title); color: var(--gold); opacity: .85; }
.mayor4__lead { position: relative; max-width: 24ch; margin: 0 0 clamp(1.6rem, 3vw, 2.6rem); font: 400 clamp(2rem, 4.2vw, 3.7rem)/1.14 var(--f-title); color: var(--paper); }
.mayor4__more { max-width: 46ch; padding-left: 1.4rem; border-left: 2px solid var(--gold); font-size: var(--t-1); line-height: 1.65; color: oklch(0.985 0.012 88 / .82); }
@media (max-width: 900px) { .mayor4 .wrap { grid-template-columns: minmax(0, 1fr); } .mayor4__side { position: static; } }
.mayor4__lead::after { content: "\00bb"; margin-left: .1em; font-size: 2.6em; line-height: 0; vertical-align: -.28em; color: var(--gold); opacity: .85; }
/* mot du maire : un seul style pour tout le message */
.mayor4__lead, .mayor4__more { max-width: 34ch; margin: 0 0 .9em; padding: 0; border: 0; font: 400 clamp(1.7rem, 3.1vw, 2.7rem)/1.28 var(--f-title); color: var(--paper); }
.mayor4__lead::after { content: none; }
.mayor4__more { margin-bottom: 0; }
.mayor4__more::after { content: "\00bb"; margin-left: .1em; font-size: 2.2em; line-height: 0; vertical-align: -.28em; color: var(--gold); opacity: .85; }
/* surbrillance : trait doré type marqueur, qui se trace à l'apparition */
.mayor4 .hl { padding: 0 .08em; color: inherit; background: linear-gradient(oklch(0.76 0.115 82 / .42), oklch(0.76 0.115 82 / .42)) no-repeat left 88% / var(--hl, 100%) .42em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* mot du maire, avant le pied de page : jeu de couleurs du début (papier, vert, or) */
.mayor4 { background: var(--paper); color: var(--ink); }
.mayor4::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold); }
.mayor4 h2 { color: var(--ink); }
.mayor4__sign { border-top-color: oklch(0.46 0.095 78 / .6); color: var(--gold-deep); }
.mayor4__mark { color: var(--gold-deep); }
.mayor4__lead, .mayor4__more { color: var(--ink); }
.mayor4__more::after { color: var(--gold-deep); }
.mayor4 .hl { background-image: linear-gradient(oklch(0.76 0.115 82 / .5), oklch(0.76 0.115 82 / .5)); }

/* alertes : section en boîte (boxed) */
.alerts { background: transparent; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.alerts .wrap { display: block; }
.alerts__box { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: clamp(2rem, 4.5vw, 4rem); background: var(--surface); border-radius: var(--r-l); box-shadow: inset 0 0 0 1px oklch(0.46 0.095 78 / .22); }
@media (max-width: 900px) { .alerts__box { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; } }
.alerts__box > div p { margin-top: 1rem; max-width: 32rem; color: var(--ink-2); font-size: var(--t-0); }
.mayor4::after { content: none; }
.alerts__box { position: relative; overflow: hidden; box-shadow: none; }
.alerts__box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold); }
.alerts__box::before { inset: 0; height: auto; background: none; border: 3px solid var(--gold); border-radius: inherit; pointer-events: none; }

/* menu mobile : plein écran propre (sous-menus à plat, logo et croix visibles) */
@media (max-width: 900px) {
  .nav { padding-top: 6.5rem; }
  .sub { margin-top: 0; box-shadow: none; border-radius: 0; background: transparent; }
  body.menu-open .brand { position: relative; z-index: 50; }
  body.menu-open .burger { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px oklch(1 0 0 / .5); }
  body.menu-open .burger svg { display: none; }
  body.menu-open .burger::before, body.menu-open .burger::after { content: ""; position: absolute; left: 50%; top: 50%; width: 1.1rem; height: 2px; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%) rotate(45deg); }
  body.menu-open .burger::after { transform: translate(-50%, -50%) rotate(-45deg); }
}

/* ouverture du menu : cercle qui s'ouvre depuis le bouton, rubriques qui montent une à une */
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  body.menu-open .nav { animation: menu-reveal .8s cubic-bezier(.65, 0, .25, 1) both; }
  body.menu-open .nav > ul > li { animation: menu-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  body.menu-open .nav > ul > li:nth-child(1) { animation-delay: .28s; }
  body.menu-open .nav > ul > li:nth-child(2) { animation-delay: .36s; }
  body.menu-open .nav > ul > li:nth-child(3) { animation-delay: .44s; }
  body.menu-open .nav > ul > li:nth-child(4) { animation-delay: .52s; }
  body.menu-open .nav > ul > li:nth-child(5) { animation-delay: .60s; }
  body.menu-open .nav > ul > li:nth-child(n+6) { animation-delay: .68s; }
  body.menu-open .burger::before, body.menu-open .burger::after { animation: menu-cross .5s .25s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes menu-reveal { from { clip-path: circle(0 at calc(100% - 2.6rem) 2.9rem); } to { clip-path: circle(150vmax at calc(100% - 2.6rem) 2.9rem); } }
@keyframes menu-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes menu-cross { from { width: 0; } to { width: 1.1rem; } }

/* titre du hero : or champagne (dégradé crème et or clair), un seul reflet qui passe à l'arrivée */
.h4 h1 { text-shadow: none; filter: drop-shadow(0 2px 22px oklch(0.15 0.04 165 / .55)); }
.h4 h1 .line > span {
  width: fit-content; padding-right: .06em;
  background: linear-gradient(100deg, oklch(0.98 0.015 90) 0%, oklch(0.95 0.04 88) 28%, oklch(0.85 0.095 84) 52%, oklch(0.96 0.035 90) 74%, oklch(0.9 0.07 86) 100%) 0 0 / 200% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
  .h4 h1 .line > span { animation: title-sheen 2.8s 1.6s cubic-bezier(.4, 0, .2, 1) both; }
}
@keyframes title-sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }
