@font-face { font-family: "Domine"; src: url(polices/Domine-normal.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(polices/PublicSans-normal.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(polices/PublicSans-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --email: #1f2b5e;          /* bleu de la plaque */
  --email-clair: #2c3c7c;
  --nuit: #16204a;
  --pierre: #f5eee0;         /* calcaire des longères */
  --enduit: url(img/enduit.webp);  /* enduit à la chaux, nappes ocre figées depuis source-texture/ */
  --pierre-fonce: #ece5d6;
  --encre: #1b2236;
  --encre-douce: #4a5163;
  --volet: #3f7d6c;          /* volets vert d'eau, foncé pour le texte */
  --volet-clair: #9cc9b8;
  --soleil: #f3c331;         /* jaune vif demandé par Sara */
  --soleil-fonce: #d9a514;
  --eau: #7fb2d6;
  --blanc: #fffdf8;
  --prairie-trait: #cfdcb9;
  --carte-fond: #fbf8f0;
  --titre: "Domine", Georgia, "Times New Roman", serif;
  --texte: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --large: 1180px;
  --rayon: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--pierre) var(--enduit) 0 0 / 1400px; color: var(--encre); font: 400 1.0625rem/1.65 var(--texte); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--email); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--soleil-fonce); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--titre); font-weight: 600; line-height: 1.2; margin: 0; }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1em; }
figure { margin: 0; }
.evitement { position: absolute; left: -999px; top: 0; background: var(--email); color: #fff; padding: .6em 1em; z-index: 20; }
.evitement:focus { left: 8px; top: 8px; }
.cadre { width: min(var(--large), 100% - 32px); margin-inline: auto; }

/* ---------- La plaque émaillée ---------- */
.plaque {
  --bord: .2em;
  display: inline-block;
  position: relative;
  background: radial-gradient(120% 140% at 30% 20%, var(--email-clair), var(--email) 55%, var(--nuit));
  color: #fff;
  border-radius: .42em;
  padding: .2em .9em .26em;
  font-family: var(--titre);
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  box-shadow:
    inset 0 0 0 var(--bord) var(--email),
    inset 0 0 0 calc(var(--bord) + .07em) #f4f1ea,
    0 1px 0 rgba(255,255,255,.35) inset,
    0 2px 0 rgba(10,16,40,.25),
    0 14px 28px -16px rgba(10,16,40,.55);
}
.plaque span { position: relative; display: block; transform: skewX(-4deg); }
/* trous de fixation */
.plaque::before, .plaque::after {
  content: ""; position: absolute; top: 50%; width: .16em; height: .16em; margin-top: -.08em;
  border-radius: 50%; background: #c9ccd8; box-shadow: inset 0 1px 1px rgba(0,0,0,.45);
}
.plaque::before { left: .34em; }
.plaque::after { right: .34em; }
.plaque-grande { font-size: clamp(2.6rem, 8.4vw, 6.2rem); padding: .16em .85em .22em; }
.plaque-titre { font-size: clamp(1.5rem, 3.4vw, 2.15rem); margin-bottom: 1.6rem; }
.plaque-mini { font-size: 1.15rem; padding: .22em .95em .28em; }
.plaque-mini::before, .plaque-mini::after { display: none; }
a.plaque-mini:hover { text-decoration: none; filter: brightness(1.12); }

/* ---------- Bandeau ---------- */
.bandeau { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--pierre) 86%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--pierre-fonce); }
.bandeau-dedans { width: min(var(--large), 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 1.5rem; min-height: 66px; }
.menu { display: flex; gap: 1.4rem; margin-left: auto; }
.menu a { color: var(--encre); text-decoration: none; font-weight: 500; font-size: .98rem; padding: .5em 0; border-bottom: 2px solid transparent; }
.menu a:hover, .menu a[aria-current="true"] { border-bottom-color: var(--soleil); }
@media (max-width: 860px) {
  .menu { display: none; }
  .bandeau-dedans { justify-content: space-between; }
}

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .55em 1.2em;
  border-radius: 999px; background: var(--email); color: #fff; font-weight: 600; text-decoration: none; font-size: 1rem;
  border: 2px solid var(--email); transition: background .15s, color .15s;
}
.bouton:hover { background: var(--nuit); border-color: var(--nuit); text-decoration: none; }
.bouton-soleil { background: var(--soleil); border-color: var(--soleil); color: var(--encre); }
.bouton-soleil:hover { background: var(--soleil-fonce); border-color: var(--soleil-fonce); color: var(--encre); }
.bouton-trait { background: transparent; color: var(--email); }
.bouton-trait:hover { background: var(--email); color: #fff; }

/* ---------- Accueil : grande photo bord à bord, plaque vissée sur son bas, bande d'enduit dessous ---------- */
.accueil { display: flex; flex-direction: column; }
@media (min-width: 960px) { .accueil { height: calc(100svh - 67px); min-height: 600px; max-height: 1100px; } }
.diaporama { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; background: #55703a; }
.diapos { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.diapo { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.diapo.actif { opacity: 1; }
.diapo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
@media (prefers-reduced-motion: reduce) { .diapo { transition: none; } }

.accueil-bande { flex: 0 0 auto; position: relative; }
@media (min-width: 960px) { .accueil-bande { height: clamp(250px, 40%, 420px); } }
.accueil-dedans {
  width: min(var(--large), 100% - 32px); height: 100%; margin-inline: auto; position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.accueil-titre { margin-top: calc(-0.5 * clamp(2.5rem, min(4.3vw, 8.6vh), 4.4rem) * 1.6); position: relative; z-index: 2; }
.accueil .plaque-grande { font-size: clamp(2.5rem, min(4.3vw, 8.6vh), 4.4rem); white-space: nowrap; }
.accueil-propos { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.2rem 0 1.6rem; }
.chapeau { font-family: var(--titre); font-size: clamp(1.15rem, min(1.7vw, 3vh), 1.55rem); line-height: 1.6; margin: 0; max-width: 30em; text-wrap: balance; }
.actions { margin: clamp(1.2rem, 3vh, 1.9rem) 0 0; }

/* ordinateur : la photo descend jusqu'au bas du texte et se fond dans l'enduit */
@media (min-width: 960px) {
  .accueil { position: relative; }
  .accueil .diaporama {
    position: absolute; inset: 0; background: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 0, rgba(0,0,0,1) 58.0%, rgba(0,0,0,0.98) 59.9%, rgba(0,0,0,0.88) 62.8%, rgba(0,0,0,0.68) 65.6%, rgba(0,0,0,0.5) 67.5%, rgba(0,0,0,0.32) 69.4%, rgba(0,0,0,0.12) 72.2%, rgba(0,0,0,0.03) 75.1%, rgba(0,0,0,0) 77.0%);
    mask-image: linear-gradient(to bottom, #000 0, rgba(0,0,0,1) 58.0%, rgba(0,0,0,0.98) 59.9%, rgba(0,0,0,0.88) 62.8%, rgba(0,0,0,0.68) 65.6%, rgba(0,0,0,0.5) 67.5%, rgba(0,0,0,0.32) 69.4%, rgba(0,0,0,0.12) 72.2%, rgba(0,0,0,0.03) 75.1%, rgba(0,0,0,0) 77.0%);
  }
  .accueil-bande { margin-top: auto; height: 42%; }
  .accueil-titre { margin-top: calc(-0.5 * clamp(2.5rem, min(4.3vw, 8.6vh), 4.4rem) * 1.6); }
  .accueil-dedans { position: static; }
  .accueil .diapo-barres { top: auto; bottom: clamp(1rem, 2.6vh, 1.6rem); right: max(16px, calc((100% - var(--large)) / 2)); }
}

/* barres de défilement, posées sous la photo, à droite */
.diapo-barres { position: absolute; top: .7rem; right: 0; display: flex; z-index: 3; align-items: center; gap: .5rem; }
.diapo-barres[hidden] { display: none; }
.diapo-liste { display: flex; gap: 6px; }
.diapo-barre { width: 34px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.diapo-barre::before, .diapo-barre::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; border-radius: 2px; }
.diapo-barre::before { background: rgba(27, 34, 54, .2); }
.diapo-barre::after { background: var(--soleil-fonce); transform: scaleX(0); transform-origin: left; }
.diapo-barre.vue::after { transform: scaleX(1); }
.diapo-barre.actif::after { animation: remplir var(--duree, 6s) linear forwards; }
.en-pause .diapo-barre.actif::after, .arret .diapo-barre.actif::after { animation-play-state: paused; }
@keyframes remplir { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .diapo-barre.actif::after { animation: none; transform: scaleX(1); } }
.diapo-pause { width: 24px; height: 24px; display: grid; place-items: center; padding: 0; border: 0; background: none; color: var(--encre-douce); cursor: pointer; }
.diapo-pause svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.diapo-pause .ic-lecture { fill: currentColor; stroke: none; display: none; }
.en-pause .diapo-pause .ic-pause { display: none; }
.en-pause .diapo-pause .ic-lecture { display: block; }

@media (max-width: 959px) {
  .diaporama { flex: none; aspect-ratio: 4 / 3; max-height: 60vh; }
  .accueil-dedans { padding: 2.8rem 0 2rem; align-items: stretch; text-align: left; }
  .accueil-propos { align-items: flex-start; }
  .accueil-titre { margin-top: 0; }
  .accueil-propos { padding: 1.6rem 0 0; }
  .chapeau { line-height: 1.55; }
  .diapo-barres { left: 0; right: 0; top: .6rem; justify-content: space-between; }
  .diapo-liste { flex: 1; }
  .diapo-barre { flex: 1; width: auto; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-pierre { background: var(--pierre-fonce) var(--enduit) 520px 260px / 1400px; }
.grand-texte { font-family: var(--titre); font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.5; max-width: 38em; }

/* ---------- Programme ---------- */
.programme { display: grid; gap: 0; border-top: 2px solid var(--email); }
.rdv { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid #d8d0bd; }
.rdv-date { margin: 0; display: flex; flex-direction: column; align-items: flex-start; font-family: var(--titre); color: var(--email); line-height: 1.05; }
.rdv-jour { font-size: .95rem; text-transform: capitalize; color: var(--encre-douce); font-family: var(--texte); font-weight: 600; }
.rdv-num { font-size: 2.6rem; font-weight: 700; }
.rdv-num-mot { font-size: 1.5rem; margin-top: .2rem; }
.rdv-mois { font-size: 1rem; font-weight: 600; }
.rdv-genre { margin: 0 0 .25rem; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--volet); font-weight: 700; }
.rdv-corps h3 { margin-bottom: .45rem; }
.rdv-corps p { max-width: 44em; }
.rdv-infos { display: flex; flex-wrap: wrap; gap: .4rem .6rem; margin: 0 0 .6rem; padding: 0; list-style: none; }
.rdv-infos li { background: var(--blanc); border: 1px solid #ddd5c2; border-radius: 999px; padding: .1em .75em; font-size: .9rem; }
.rdv-infos .gratuit { background: var(--soleil); border-color: var(--soleil); font-weight: 700; }
.rdv-suite { font-weight: 600; color: var(--email); margin: 0 0 .5rem; }
.rdv-contact { font-size: .95rem; color: var(--encre-douce); margin: 0; }
.rdv-fixe { background: linear-gradient(90deg, rgba(243,195,49,.22), rgba(243,195,49,0) 70%); padding-left: 1rem; margin-left: -1rem; padding-right: 1rem; }
.rdv-lien { margin: 0; font-weight: 600; }
.passe { margin-top: 2rem; }
.passe summary { cursor: pointer; font-weight: 600; color: var(--email); min-height: 44px; display: inline-flex; align-items: center; }
.passe ul { margin: .6rem 0 0; padding: 0; list-style: none; columns: 2 22rem; column-gap: 2.5rem; }
.passe li { break-inside: avoid; padding: .45rem 0; border-bottom: 1px dotted #cbbfa3; display: flex; gap: .9rem; }
.passe time { flex: 0 0 6.2rem; color: var(--encre-douce); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .rdv { grid-template-columns: 1fr; gap: .5rem; }
  .rdv-date { flex-direction: row; align-items: baseline; gap: .45rem; }
  .rdv-num { font-size: 1.9rem; }
  .rdv-num-mot { font-size: 1.4rem; margin: 0; }
}

/* ---------- Le vendredi ---------- */
.journee { --debut: 14; --fin: 21; margin: 0 0 2.6rem; }
.journee-heures, .journee-piste { position: relative; }
.journee-heures { height: 1.6rem; font-size: .85rem; color: var(--encre-douce); font-variant-numeric: tabular-nums; }
.journee-heures span { position: absolute; left: calc((var(--h) - var(--debut)) / (var(--fin) - var(--debut)) * 100%); transform: translateX(-50%); }
.journee-heures span:first-child { transform: none; }
.journee-heures span:last-child { transform: translateX(-100%); }
.journee-piste { height: 4.4rem; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 7 - 1px), #cdbf9f calc(100% / 7 - 1px) calc(100% / 7)); border-top: 1px solid #cdbf9f; border-bottom: 1px solid #cdbf9f; }
.creneau {
  position: absolute; top: .5rem; bottom: .5rem;
  left: calc((var(--de) - var(--debut)) / (var(--fin) - var(--debut)) * 100%);
  width: calc((var(--a) - var(--de)) / (var(--fin) - var(--debut)) * 100% - 4px);
  border-radius: var(--rayon); padding: .35rem .6rem; font-size: .88rem; line-height: 1.25; overflow: hidden;
}
.creneau b { display: block; font-family: var(--titre); font-size: 1rem; }
.creneau-cafe { background: var(--soleil); color: var(--encre); }
.creneau-enfants { background: var(--volet); color: #fff; }
.creneau-adultes { background: var(--email); color: #fff; }
@media (max-width: 640px) {
  .creneau { font-size: 0; padding: .3rem .4rem; }
  .creneau b { font-size: .82rem; }
}
.vendredi-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 2.6rem; }
.vendredi-bloc h3 { margin-bottom: .6rem; padding-bottom: .5rem; border-bottom: 3px solid var(--soleil); display: inline-block; }
.horaires { margin: 0 0 1rem; }
.horaires div { display: flex; gap: .8rem; padding: .3rem 0; border-bottom: 1px dotted #c3b694; }
.horaires dt { font-weight: 700; flex: 0 0 7.4rem; font-variant-numeric: tabular-nums; }
.horaires dd { margin: 0; }
@media (max-width: 900px) { .vendredi-grille { grid-template-columns: 1fr; gap: 1.6rem; } }
.photos-trio { display: grid; grid-template-columns: 1.2fr .8fr 1.2fr; gap: 1rem; align-items: end; }
.photos-trio img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon); }
.photos-trio figure:nth-child(2) img { aspect-ratio: 3 / 4; }
figcaption { font-size: .88rem; color: var(--encre-douce); margin-top: .45rem; }
@media (max-width: 700px) {
  .photos-trio { grid-template-columns: 1fr 1fr; }
  .photos-trio figure:first-child { grid-column: 1 / -1; }
  .photos-trio figure:nth-child(2) img { aspect-ratio: 4 / 3; }
}

/* ---------- La ferme ---------- */
.ferme-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: end; margin-bottom: 2.4rem; }
.ferme-intro .grand-texte { margin: 0; }
.ferme-intro p:last-child { margin: 0; color: var(--encre-douce); }
@media (max-width: 860px) { .ferme-intro { grid-template-columns: 1fr; gap: 1rem; } }
.mosaique { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.mosaique img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--rayon); }
.mosaique figure { display: flex; flex-direction: column; }
.mosaique figure img { flex: 1; min-height: 0; }
.m-a { grid-column: 1 / span 4; grid-row: span 2; }
.m-b { grid-column: 5 / span 5; }
.m-c { grid-column: 10 / span 3; }
.m-d { grid-column: 5 / span 3; }
.m-e { grid-column: 8 / span 2; }
.m-f { grid-column: 10 / span 3; }
.m-b img, .m-c img, .m-d img, .m-e img, .m-f img { aspect-ratio: 4 / 3; }
.m-e img { aspect-ratio: 3 / 4.6; }
.m-f img { object-position: 12% 50%; }
@media (max-width: 860px) {
  .mosaique { grid-template-columns: 1fr 1fr; }
  .mosaique figure { grid-column: auto; grid-row: auto; }
  .m-a, .m-b { grid-column: 1 / -1; }
  .m-a img { aspect-ratio: 4 / 3; object-position: 50% 30%; }
  .m-e img { aspect-ratio: 4 / 3; }
}
.recit { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; margin-top: 3.5rem; padding-top: 3rem; border-top: 1px solid #d8d0bd; }
.recit img { border-radius: var(--rayon); width: 100%; }
.recit h3 { margin-bottom: .8rem; }
@media (max-width: 860px) { .recit { grid-template-columns: 1fr; gap: 1.2rem; } }

/* ---------- Festival (la nuit de l'affiche) ---------- */
.section-nuit { background: var(--nuit); color: #eef0f8; }
.section-nuit a { color: var(--soleil); }
.festival { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.festival-affiche img { border-radius: 4px; box-shadow: 0 24px 50px -24px rgba(0,0,0,.7); width: 100%; max-width: 440px; }
.festival-texte h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); color: var(--soleil); margin-bottom: .6rem; }
.festival-dates { font-weight: 700; letter-spacing: .04em; color: #fff; margin-bottom: 1.4rem; }
.festival-texte p { max-width: 36em; }
.festival-liste { color: var(--volet-clair); font-weight: 600; }
.artistes { list-style: none; margin: 3.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.artistes img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.artistes li:nth-child(2) img { object-position: 22% 50%; }
.artistes figcaption { color: #c9cde0; font-size: .9rem; }
.artistes b { display: block; color: #fff; font-family: var(--titre); font-weight: 600; font-size: 1.05rem; }
@media (max-width: 860px) {
  .festival { grid-template-columns: 1fr; }
  .festival-affiche img { max-width: 320px; }
  .artistes { grid-template-columns: 1fr 1fr; }
}

/* ---------- Les amis ---------- */
.amis-texte { margin-bottom: 2.4rem; }
.soutiens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.soutien { background: var(--blanc); border: 1px solid #ddd5c2; border-radius: 10px; padding: 1.6rem; display: flex; flex-direction: column; }
.soutien p { color: var(--encre-douce); }
.soutien .bouton { margin-top: auto; align-self: flex-start; }
.soutien-prix { font-family: var(--titre); font-size: 2.1rem; font-weight: 700; color: var(--email) !important; margin: 0 0 .2rem; line-height: 1.1; }
.soutien h3 { margin-bottom: .6rem; }
.soutien-soleil { background: var(--soleil); border-color: var(--soleil); }
.soutien-soleil p { color: var(--encre); }
@media (max-width: 860px) { .soutiens { grid-template-columns: 1fr; } }

/* ---------- Venir ---------- */
.venir { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.6rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .venir { grid-template-columns: 1fr; } }
.carte { background: var(--carte-fond); border: 1px solid #d8d0bd; border-radius: 10px; padding: 1rem; }
.carte-choix { display: none; gap: .5rem; flex-wrap: wrap; margin-bottom: .8rem; }
.js .carte-choix { display: flex; }
.carte-choix button {
  font: inherit; font-weight: 600; font-size: .95rem; min-height: 44px; padding: .4em 1.05em; border-radius: 999px;
  background: transparent; border: 2px solid var(--email); color: var(--email); cursor: pointer;
}
.carte-choix button[aria-pressed="true"] { background: var(--email); color: #fff; }
.carte-dessin { width: 100%; height: auto; display: block; font-family: var(--texte); }
.route { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.autoroute { stroke: #b9b0a0; stroke-width: 9; }
.nationale { stroke: #b9b0a0; stroke-width: 6; }
.petite { stroke: #c9c1b0; stroke-width: 3.5; }
.trace { fill: none; stroke: var(--soleil); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.js .trace.actif { opacity: 1; stroke-dasharray: 900; stroke-dashoffset: 900; animation: tracer 1.6s ease-out forwards; }
@keyframes tracer { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .js .trace.actif { animation: none; stroke-dashoffset: 0; } }
.ville circle { fill: var(--encre); }
.ville-loin circle { fill: var(--encre-douce); }
.ville text { font-size: 17px; font-weight: 700; fill: var(--encre); }
.ville text.petit { font-size: 13px; font-weight: 500; }
.gare circle { fill: none; stroke: var(--soleil-fonce); stroke-width: 4; opacity: 0; }
.js .gare.actif circle { opacity: 1; }
.cartouche rect { fill: #fff; stroke: var(--encre-douce); stroke-width: 1.5; }
.cartouche text { font-size: 13px; font-weight: 700; text-anchor: middle; fill: var(--encre); }
.cartouche-n rect { fill: #fff; stroke: #c0392b; }
.silo rect, .silo path { fill: #d9d3c4; stroke: var(--encre-douce); stroke-width: 1.5; }
.silo text { font-size: 13px; fill: var(--encre-douce); font-style: italic; }
.ferme rect, .ferme path { fill: #e9dfc8; stroke: var(--encre); stroke-width: 1.8; stroke-linejoin: round; }
.ferme path { fill: #8a6f5a; }
.plaque-svg rect { fill: var(--email); }
.plaque-svg .filet { fill: none; stroke: #fff; stroke-width: 1.4; }
.plaque-svg text { fill: #fff; font-family: var(--titre); font-size: 17px; font-weight: 600; text-anchor: middle; }
.carte-eau { font-size: 13px; fill: #3b6f97; font-style: italic; }
.carte-dessin text { paint-order: stroke; stroke: var(--carte-fond); stroke-width: 4px; stroke-linejoin: round; }
.cartouche text, .plaque-svg text { stroke: none; }
@media (max-width: 600px) {
  .carte { padding: .7rem; }
  .ville text { font-size: 23px; }
  .ville text.petit { font-size: 17px; }
  .plaque-svg text { font-size: 20px; }
  .silo text, .carte-eau { font-size: 18px; }
  .cartouche text { font-size: 15px; }
}
.carte-note { font-size: .88rem; color: var(--encre-douce); margin: .6rem 0 0; }
.itineraire { padding: 0 0 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid #cfc4aa; }
.itineraire h3 { margin-bottom: .4rem; font-size: 1.15rem; }
.itineraire p { margin: 0; }
.js .itineraire { display: none; }
.js .itineraire.actif { display: block; }
.pratique { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.pratique li { padding: .5rem 0 .5rem 1.6rem; position: relative; }
.pratique li::before { content: ""; position: absolute; left: 0; top: .95rem; width: .7rem; height: .7rem; border-radius: 2px; background: var(--volet); }

/* ---------- Pied ---------- */
.pied { background: var(--email); color: #e7eaf5; padding: 3.5rem 0 1.5rem; }
.pied a { color: #fff; }
.pied h2 { font-size: 1rem; font-family: var(--texte); letter-spacing: .1em; text-transform: uppercase; margin-bottom: .7rem; color: var(--soleil); }
.pied-grille { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 2rem; }
.plaque-pied { background: var(--nuit); margin: 0 0 1rem; }
.pied-bas { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.18); font-size: .88rem; }
@media (max-width: 860px) { .pied-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pied-grille { grid-template-columns: 1fr; } }

/* ---------- Apparition douce ---------- */
.js .apparait { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .apparait.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .apparait { opacity: 1; transform: none; transition: none; } }
