/* ACDC — feuille de style unique.
   Couleurs du logo : vert du feuillage, bleus du lac, brun du tronc. */

:root {
  --ink: #1E2A1B;
  --ink-soft: #505C4B;
  --paper: #FFFFFF;
  --base: #F3F6EF;
  --veil: #E9EEE3;
  --line: #D9E1D1;
  --leaf: #2E7134;
  --leaf-dark: #245A29;
  --lake: #16769E;
  --btn-fg: #FFFFFF;
  --display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --text: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}



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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); }
:focus-visible { outline: 3px solid var(--lake); outline-offset: 3px; }

.wrap { width: min(980px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); padding: .6rem 1rem; }

/* --- en-tête et navigation --- */
.site-head { background: var(--base); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 1rem; padding: .8rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand img { width: 42px; }
.brand b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.3rem; line-height: 1; letter-spacing: -.02em; }
.brand span { display: block; font-size: .72rem; color: var(--ink-soft); max-width: 16ch; line-height: 1.2; }
.head-row .btn { margin-left: auto; }

.nav { display: flex; gap: .2rem; overflow-x: auto; border-top: 1px solid var(--line); }
.nav a {
  font-family: var(--display); font-weight: 500; font-size: .98rem;
  color: var(--ink-soft); text-decoration: none; white-space: nowrap;
  padding: .8rem .9rem; border-bottom: 3px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--leaf); border-bottom-color: var(--leaf); font-weight: 700; }

.rule { height: 3px; border: 0; margin: 0; background: linear-gradient(90deg, var(--leaf), #6FA646 40%, var(--lake)); }

/* --- boutons --- */
.btn {
  display: inline-block; font-family: var(--display); font-weight: 700; font-size: .95rem;
  padding: .62rem 1.15rem; border-radius: 4px; text-decoration: none;
  border: 2px solid var(--leaf); background: var(--leaf); color: var(--btn-fg);
}
.btn:hover { background: var(--leaf-dark); border-color: var(--leaf-dark); }
.btn-light { background: #fff; border-color: #fff; color: #1E2A1B; }
.btn-light:hover { background: #e8f0e2; border-color: #e8f0e2; color: #1E2A1B; }

/* --- titres et blocs --- */
h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; max-width: 66ch; }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 58ch; }
.panel { padding: 3rem 0; }
.panel h2 + p { margin-top: .7rem; }

/* --- héros --- */
.hero { position: relative; background: #12261a; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.hero .wrap { position: relative; padding: 4rem 0 3rem; color: #fff; }
.hero h1 { max-width: 15ch; text-wrap: balance; }
.hero p { color: rgba(255,255,255,.88); max-width: 50ch; margin-top: 1rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,35,20,.86), rgba(11,35,20,.5) 55%, rgba(8,45,62,.4));
}
.hero .wrap { z-index: 1; }

/* --- encart rendez-vous --- */
.rdv {
  background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--lake);
  border-radius: 5px; padding: 1.1rem 1.3rem; margin-top: 2rem;
}
.rdv b { font-family: var(--display); font-size: 1.05rem; }
.rdv span { display: block; color: var(--ink-soft); font-size: .95rem; }

/* --- grilles et images --- */
.grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 4px; border: 1px solid var(--line); }
.split { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 720px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: 4px; border: 1px solid var(--line); max-height: 420px; object-fit: cover; width: 100%; }
figure { margin: 0; }
figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: .45rem; }

/* --- listes --- */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.4rem; color: var(--ink-soft); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--leaf); }

/* --- calendrier --- */
.cal { list-style: none; padding: 0; margin: 1.5rem 0 0; border-top: 1px solid var(--line); }
.cal li { display: flex; flex-wrap: wrap; gap: .1rem 1.1rem; align-items: baseline; padding: .8rem .2rem; border-bottom: 1px solid var(--line); }
.cal .when { font-family: var(--display); font-weight: 700; flex: 0 0 8.5rem; }
.cal .where { flex: 1 1 12rem; }
.cal .hour { color: var(--ink-soft); font-size: .93rem; }

.cal li.is-past { opacity: .45; }
.cal li.is-next { background: var(--veil); }
.cal li.is-next .when { color: var(--lake); }
.tag { font-family: var(--display); font-size: .72rem; font-weight: 700; color: var(--lake); border: 1px solid var(--lake); border-radius: 100px; padding: .05rem .5rem; white-space: nowrap; }
.rdv a { color: var(--lake); }

/* --- album photo --- */
.album { columns: 4 200px; column-gap: .7rem; margin-top: 1.8rem; }
.album a { display: block; margin: 0 0 .7rem; border-radius: 3px; overflow: hidden; }
.album img { width: 100%; border-radius: 3px; }
.visionneuse { border: 0; padding: 0; background: transparent; max-width: min(94vw, 900px); max-height: 92vh; }
.visionneuse::backdrop { background: rgba(8, 20, 12, .86); }
.visionneuse img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: 4px; }
.visionneuse button { display: block; margin: .8rem auto 0; background: #fff; color: #1E2A1B; border: 0; border-radius: 4px; padding: .45rem 1.1rem; font-family: var(--display); font-weight: 700; cursor: pointer; }

/* --- citation --- */
.quote { background: var(--veil); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2.4rem 0; }
.quote blockquote { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(1.3rem, 3vw, 1.9rem); line-height: 1.25; letter-spacing: -.02em; max-width: 26ch; }

/* --- pied de page --- */
.site-foot { background: var(--veil); border-top: 1px solid var(--line); padding: 2.4rem 0 3rem; }
.site-foot .cols { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; font-size: .94rem; }
.site-foot a { color: var(--ink-soft); }
.site-foot h3 { font-size: 1rem; margin-bottom: .5rem; }
.fine { font-size: .82rem; color: var(--ink-soft); border-top: 1px solid var(--line); margin-top: 1.8rem; padding-top: 1rem; }
