/* Centre Espoir de Gatineau — site public.
   Palette et polices tirées du logo : terracotta #DA7757, encre #141413,
   Source Serif 4 pour les titres, Source Sans 3 pour le texte. */

/* ---- Polices (hébergées ici, sous licence OFL) ------------------------------ */
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/SourceSerif4-normal-400-700.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/SourceSerif4-italic-400.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/SourceSans3-normal-400-700.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/SourceSans3-italic-400.woff2") format("woff2");
}

/* ---- Jetons ------------------------------------------------------------------ */
:root {
  --bg: #FAF9F5;
  --surface: #FFFFFF;
  --surface-2: #F3F1EA;
  --surface-3: #ECE9E0;
  --ink: #141413;
  --ink-2: #55534E;
  --ink-3: #85837C;
  --line: #E8E6DF;
  --line-2: #D9D6CD;
  --accent: #DA7757;
  --accent-ink: #B4573A;
  --accent-deep: #8E4229;
  --accent-soft: #F8EDE6;
  --accent-wash: #FBF3EE;
  --focus: #1F5FBF;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 16px;
  --radius-s: 10px;
  --radius-l: 24px;
  --shadow-1: 0 1px 2px rgba(20, 20, 19, .04), 0 6px 20px -12px rgba(20, 20, 19, .16);
  --shadow-2: 0 2px 4px rgba(20, 20, 19, .05), 0 18px 40px -20px rgba(20, 20, 19, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --container: 1120px;
  --gutter: 20px;
  --header-h: 68px;

  /* Échelle fluide : lisible sur un téléphone, ample sur un grand écran. */
  --text: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  --text-s: .9375rem;
  --h1: clamp(2.125rem, 1.4rem + 3.2vw, 3.75rem);
  --h2: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  --h3: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --lead: clamp(1.1875rem, 1.05rem + .5vw, 1.375rem);
  --section: clamp(3.5rem, 2.5rem + 5vw, 7rem);
}
@media (min-width: 700px) { :root { --gutter: 32px; --header-h: 76px; } }

/* ---- Base --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--text) / 1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img, svg, video, iframe { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; text-decoration-color: rgba(180, 87, 58, .45); transition: color .2s var(--ease), text-decoration-color .2s var(--ease); }
a:hover { color: var(--accent-deep); text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent-soft); color: var(--ink); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: var(--h1); line-height: 1.08; letter-spacing: -.02em; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li + li { margin-top: .35em; }
strong { font-weight: 600; }
small { font-size: var(--text-s); }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
sup { font-size: .7em; }
button { font: inherit; color: inherit; }

.lead { font-size: var(--lead); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-2); }
.small { font-size: var(--text-s); }
.measure { max-width: 42em; }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 1.1em;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 1px; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container-narrow { max-width: calc(760px + 2 * var(--gutter)); }

/* ---- Boutons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 1.5em;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(20,20,19,.06), 0 8px 18px -10px rgba(218, 119, 87, .55); }
.btn-primary:hover { background: var(--accent-ink); color: #fff; box-shadow: 0 2px 0 rgba(20,20,19,.04), 0 12px 24px -12px rgba(180, 87, 58, .6); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { background: var(--surface); border-color: var(--ink-3); color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2A2926; color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--surface-2); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 1.1em; font-size: .9375rem; }
.btn-lg { min-height: 58px; padding: 0 1.9em; font-size: 1.125rem; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }
.link-arrow:hover { text-decoration: none; }

/* ---- En-tête ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
/* The translucent, blurred background lives on a pseudo-element: a backdrop
   filter on the header itself would make it the containing block of the
   fixed-position mobile menu, which would then be clipped to the header. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(250, 249, 245, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
}
.header-bar { position: relative; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(20,20,19,.25); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 38px; width: auto; }
@media (min-width: 700px) { .brand img { height: 44px; } }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav li { margin: 0; }
.site-nav a:not(.btn) {
  display: inline-block; padding: 10px 14px; border-radius: 999px;
  color: var(--ink-2); font-weight: 500; text-decoration: none; font-size: 1.0625rem;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.site-nav a:not(.btn):hover { background: var(--surface-2); color: var(--ink); }
.site-nav a:not(.btn)[aria-current="page"] { color: var(--ink); font-weight: 600; position: relative; }
.site-nav a:not(.btn)[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 1px; background: var(--accent); }
.site-nav .nav-cta { margin-left: 10px; }
.site-nav .nav-cta .btn { min-height: 44px; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px 0 10px;
  border: 1.5px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink); font-weight: 600; font-size: .9375rem; cursor: pointer;
}
.menu-toggle:hover { background: var(--surface); }
.menu-icon { width: 18px; height: 14px; display: inline-flex; flex-direction: column; justify-content: space-between; }
.menu-icon i { display: block; height: 2px; background: currentColor; border-radius: 1px; transition: transform .25s var(--ease), opacity .2s var(--ease); transform-origin: center; }
.menu-open .menu-icon i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-icon i:nth-child(2) { opacity: 0; }
.menu-open .menu-icon i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 39;
    background: var(--bg); padding: 12px var(--gutter) 32px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
  }
  .menu-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .22s var(--ease), transform .22s var(--ease); }
  .menu-open .site-header { border-bottom-color: var(--line); }
  .menu-open { overflow: hidden; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li + li { margin: 0; }
  .site-nav a:not(.btn) { display: block; padding: 18px 8px; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .site-nav a:not(.btn):hover { background: transparent; }
  .site-nav a:not(.btn)[aria-current="page"]::after { display: none; }
  .site-nav a:not(.btn)[aria-current="page"] { color: var(--accent-ink); }
  .site-nav .nav-cta { margin: 24px 0 0; }
  .site-nav .nav-cta .btn { width: 100%; min-height: 54px; font-size: 1.125rem; }
}
@media (min-width: 900px) {
  .header-actions { display: none; }
}
@media (max-width: 479px) {
  .header-don { display: none; }
}

/* ---- Sections ------------------------------------------------------------------ */
.section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) * .6) 0; }
.section-alt { background: var(--surface-2); }
.section-ink { background: var(--ink); color: #EDEBE4; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink .eyebrow { color: #F2B79F; }
.section-ink .eyebrow::before { background: #F2B79F; }
.section-ink .lead, .section-ink .muted { color: #C9C6BC; }
.section-ink a:not(.btn) { color: #F2B79F; text-decoration-color: rgba(242, 183, 159, .5); }
.section-ink a:not(.btn):hover { color: #fff; }
.section-head { max-width: 40em; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-bottom: .4em; }
.section-head p { color: var(--ink-2); font-size: var(--lead); line-height: 1.5; }

/* ---- Héros (accueil) ---------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 2rem + 3vw, 5rem) 0 clamp(2.5rem, 2rem + 3vw, 5rem); }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero h1 { margin-bottom: .55em; max-width: 14em; }
.hero .lead { margin-bottom: 1.6em; }
.hero-art { position: relative; margin: 0 auto; width: min(100%, 420px); }
.hero-art::before {
  content: ""; position: absolute; inset: 8% -4% -2% -4%;
  background: radial-gradient(ellipse at 50% 60%, var(--accent-soft) 0%, rgba(248, 237, 230, 0) 70%);
  z-index: 0;
}
.hero-art img { position: relative; z-index: 1; width: 100%; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; }
  .hero-art { width: min(100%, 460px); margin-right: 0; }
}

/* Bandeau d'information sous le héros */
.info-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.info-strip .container { display: grid; gap: 0; }
.info-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; }
.info-item + .info-item { border-top: 1px solid var(--line); }
.info-item svg { flex: none; width: 26px; height: 26px; color: var(--accent); margin-top: 2px; }
.info-item strong { display: block; font-weight: 600; }
.info-item span { color: var(--ink-2); }
.info-item a { text-decoration: none; }
.info-item a:hover { text-decoration: underline; }
@media (min-width: 760px) {
  .info-strip .container { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .info-item { padding: 24px 0; }
  .info-item + .info-item { border-top: 0; border-left: 1px solid var(--line); margin-left: -32px; padding-left: 32px; }
}

/* ---- Chiffres ------------------------------------------------------------------ */
.stats { display: grid; gap: 20px; }
.stat { padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.stat .num { display: block; font-family: var(--serif); font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: 500; line-height: 1; letter-spacing: -.02em; color: var(--accent-ink); font-variant-numeric: tabular-nums; margin-bottom: .3em; }
.stat .num small { font-size: .55em; color: var(--accent); vertical-align: .25em; margin-left: .1em; font-family: var(--sans); font-weight: 600; }
.stat .label { display: block; color: var(--ink-2); line-height: 1.45; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, 1fr); } }

/* ---- Cartes d'action ------------------------------------------------------------ */
.cards { display: grid; gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 28px 26px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-1); color: inherit; text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-2); text-decoration: none; color: inherit; }
.card h3 { margin: 0; }
.card p { color: var(--ink-2); margin: 0; }
.card .link-arrow { margin-top: auto; padding-top: 6px; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 4px; }
.card-icon svg { width: 26px; height: 26px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 760px) and (max-width: 959px) { .cards { grid-template-columns: repeat(2, 1fr); } }

/* ---- Rangées texte + illustration ----------------------------------------------- */
.feature { display: grid; gap: 32px; align-items: center; }
.feature-art { width: min(100%, 380px); margin: 0 auto; }
.feature-art img { width: 100%; }
.feature-text h2 { margin-bottom: .5em; }
.feature-text p { color: var(--ink-2); }
.feature-text .btn-row { margin-top: 1.6em; }
@media (min-width: 860px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; }
  .feature.art-left .feature-art { order: -1; }
}

/* Citation tirée de la vision */
.pull { font-family: var(--serif); font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); line-height: 1.35; letter-spacing: -.01em; font-weight: 500; color: var(--ink); margin: 0; }
.pull em { font-style: italic; color: var(--accent-ink); }

/* ---- Vidéos ---------------------------------------------------------------------- */
.videos { display: grid; gap: 24px; }
@media (min-width: 760px) { .videos { grid-template-columns: 1fr 1fr; gap: 32px; } }
.video-card h3 { margin: 16px 0 4px; font-size: 1.25rem; }
.video-card p { color: var(--ink-2); margin: 0; }
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: var(--ink); box-shadow: var(--shadow-1);
}
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s var(--ease); }
.video:hover img { transform: scale(1.03); }
.video-play {
  position: absolute; inset: 0; width: 100%; border: 0; background: linear-gradient(to top, rgba(20,20,19,.45), rgba(20,20,19,0) 55%);
  display: grid; place-items: center; cursor: pointer; color: #fff; padding: 0;
}
.video-play .disc {
  width: 72px; height: 72px; border-radius: 50%; background: var(--accent); display: grid; place-items: center;
  box-shadow: 0 10px 30px -10px rgba(20,20,19,.6); transition: transform .25s var(--ease), background .2s var(--ease);
}
.video-play .disc svg { width: 28px; height: 28px; margin-left: 4px; }
.video-play:hover .disc { transform: scale(1.06); background: var(--accent-ink); }
.video-play .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.video.is-playing img, .video.is-playing .video-play { display: none; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---- Encadrés ------------------------------------------------------------------- */
.callout {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 24px; border-radius: var(--radius); background: var(--accent-wash); border: 1px solid #F0D9CC;
}
.callout svg { flex: none; width: 26px; height: 26px; color: var(--accent-ink); margin-top: 3px; }
.callout p { margin: 0; }
.callout strong { color: var(--ink); }
.callout.neutral { background: var(--surface); border-color: var(--line); }
.callout.neutral svg { color: var(--ink-3); }

/* Bloc horaire */
.hours {
  display: grid; gap: 4px; padding: 26px 28px; border-radius: var(--radius); background: var(--ink); color: #fff;
}
.hours .hours-title { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #F2B79F; }
.hours .hours-when { font-family: var(--serif); font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); line-height: 1.2; letter-spacing: -.01em; }
.hours .hours-where { color: #C9C6BC; }
.hours a { color: #fff; }

/* ---- Étapes ----------------------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 18px; }
.steps li { position: relative; padding-left: 64px; counter-increment: s; margin: 0; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-ink); font-family: var(--serif); font-size: 1.35rem; font-weight: 500;
  display: grid; place-items: center;
}
.steps h3 { margin: 0 0 .25em; font-size: 1.25rem; }
.steps p { color: var(--ink-2); margin: 0; }

/* ---- Listes à puces stylées ------------------------------------------------------- */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 36px; margin: 0; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B4573A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E");
  background-size: 14px; background-position: center; background-repeat: no-repeat;
}

/* ---- Grille de contenu simple ------------------------------------------------------ */
.two-col { display: grid; gap: 40px; align-items: start; }
@media (min-width: 860px) { .two-col { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 64px; } }
.two-col.equal { grid-template-columns: 1fr; }
@media (min-width: 860px) { .two-col.equal { grid-template-columns: 1fr 1fr; } }
.sticky { position: sticky; top: calc(var(--header-h) + 24px); }

.panel { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.panel h3 { margin-top: 0; }
.panel .btn { width: 100%; }
.panel + .panel { margin-top: 20px; }
.panel-list { list-style: none; margin: 0; padding: 0; }
.panel-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); margin: 0; }
.panel-list li:first-child { border-top: 0; padding-top: 0; }
.panel-list li:last-child { padding-bottom: 0; }
.panel-list svg { flex: none; width: 24px; height: 24px; color: var(--accent); margin-top: 2px; }
.panel-list strong { display: block; }
.panel-list a { text-decoration: none; }
.panel-list a:hover { text-decoration: underline; }

/* ---- En-tête de page intérieure ---------------------------------------------------- */
.page-head { padding: clamp(2.5rem, 2rem + 2.5vw, 4.5rem) 0 clamp(1.5rem, 1rem + 2vw, 3rem); }
.page-head h1 { margin-bottom: .45em; max-width: 16em; }
.page-head .lead { margin: 0; }
.page-head .btn-row { margin-top: 1.6em; }
.page-head-grid { display: grid; gap: 28px; align-items: end; }
@media (min-width: 860px) { .page-head-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 56px; } }
.page-head-art { width: min(100%, 300px); margin: 0 auto; }
@media (min-width: 860px) { .page-head-art { margin: 0 0 0 auto; width: min(100%, 320px); } }

/* ---- Équipe ----------------------------------------------------------------------- */
.team { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.team li { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); margin: 0; }
.team .initials { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-family: var(--serif); font-size: 1.1rem; font-weight: 500; display: grid; place-items: center; letter-spacing: .02em; }
.team strong { display: block; }
.team span { color: var(--ink-2); font-size: var(--text-s); }
@media (min-width: 640px) { .team { grid-template-columns: 1fr 1fr; } }

/* ---- Frise (histoire) --------------------------------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 2px solid var(--line-2); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 28px 28px; margin: 0; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); }
.timeline .when { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--accent-ink); margin-bottom: .15em; }
.timeline p { color: var(--ink-2); margin: 0; }

/* ---- Bandeau d'appel ---------------------------------------------------------------- */
.cta-band { background: var(--ink); color: #EDEBE4; border-radius: var(--radius-l); padding: clamp(2rem, 1.5rem + 2.5vw, 4rem); display: grid; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(218,119,87,.35) 0%, rgba(218,119,87,0) 70%); pointer-events: none; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #C9C6BC; margin: 0; font-size: var(--lead); line-height: 1.5; }
.cta-band .btn-row { position: relative; z-index: 1; }
@media (min-width: 860px) { .cta-band { grid-template-columns: minmax(0, 3fr) auto; gap: 40px; } .cta-band .btn-row { justify-content: flex-end; } }

/* ---- Carte (plan) -------------------------------------------------------------------- */
.map { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); box-shadow: var(--shadow-1); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (min-width: 860px) { .map { aspect-ratio: 16 / 10; } }

/* ---- Pied de page --------------------------------------------------------------------- */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--line); margin-top: var(--section); padding: clamp(2.5rem, 2rem + 2vw, 4rem) 0 2rem; color: var(--ink-2); font-size: 1rem; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; } }
.footer-logo { width: 150px; height: auto; margin-bottom: 18px; }
.footer-tagline { max-width: 26em; }
.footer-title { font-family: var(--sans); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.footer-col a { color: var(--ink); text-decoration: none; }
.footer-col a:hover { color: var(--accent-ink); text-decoration: underline; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 10px; }
.footer-hours { margin-top: 18px; }
.footer-social { list-style: none; margin: 22px 0 0; padding: 0; display: flex; gap: 10px; }
.footer-social li { margin: 0; }
.footer-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.footer-social a:hover { color: var(--accent-ink); border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
.footer-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .9375rem; color: var(--ink-3); }
.footer-legal p { margin: 0; }

/* ---- Apparition au défilement ------------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---- Page d'erreur ---------------------------------------------------------------------- */
.error-page { padding: clamp(4rem, 3rem + 5vw, 8rem) 0; text-align: center; }
.error-page .code { font-family: var(--serif); font-size: 6rem; line-height: 1; color: var(--accent); letter-spacing: -.04em; margin-bottom: .2em; }

/* ---- Prose (politique) --------------------------------------------------------------------- */
.prose h2 { font-size: var(--h3); margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose p strong, .prose li strong { color: var(--ink); }

@media print {
  .site-header, .site-footer, .menu-toggle, .video-play, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}
