/* ==========================================================
   Ekimelo — feuille de style
   Palette : #b86d6d (rose), #fffdf5 (crème), #000 (noir)
   ========================================================== */

:root {
  --rose: #b86d6d;
  --rose-deep: #8f4a4a;   /* rose assombri : texte rose lisible sur crème */
  --rose-soft: #f3e3dc;   /* teinte claire dérivée du rose et du crème */
  --cream: #fffdf5;
  --ink: #000;
  --ink-soft: #2b2323;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--rose); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 1rem;
}
.lead { font-size: 1.2rem; max-width: 56ch; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  padding: .85em 1.7em;
  border: 2px solid var(--rose-deep);
  border-radius: 999px;
  background: var(--rose-deep);
  color: var(--cream);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--rose); border-color: var(--rose); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rose-deep); }
.btn--ghost:hover { background: var(--rose-deep); border-color: var(--rose-deep); color: var(--cream); }
.btn--cream { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn--cream:hover { background: var(--rose-soft); border-color: var(--rose-soft); color: var(--ink); }
.btn--rose { background: var(--rose); border-color: var(--rose); color: var(--ink); }
.btn--rose:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }

.link-more {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--rose);
  text-decoration-thickness: 2px;
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 253, 245, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.bar { display: flex; align-items: center; gap: 1rem; min-height: 88px; }
.brand {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
  text-decoration: none;
  display: flex; align-items: baseline; gap: .5rem;
}
.brand span {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .95rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: var(--rose); }
.nav .btn { padding: .6em 1.3em; font-size: .82rem; }
.nav-toggle {
  display: none;
  background: none; border: 2px solid var(--rose-deep); border-radius: 999px;
  padding: .45em 1.1em; font: inherit; font-weight: 700; cursor: pointer; color: var(--ink);
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(0,0,0,.15);
    padding: .5rem 20px 1.2rem;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid rgba(0,0,0,.08); }
  .nav .btn { margin-top: 1rem; text-align: center; }
}

/* ---------- Motif « refuge » : arche ---------- */
.arch {
  position: relative;
  border-radius: 999px 999px var(--radius) var(--radius);
  background: var(--rose);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arch::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.18), transparent 40%);
  pointer-events: none;
}
.arch--outline { background: transparent; border: 3px solid var(--ink); }
.arch .initials {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-size: 3.2rem; color: var(--cream);
}

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 em { font-style: normal; color: var(--rose-deep); display: block; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero-art { position: relative; max-width: 380px; justify-self: center; width: 100%; }
.hero-art::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 3px solid var(--rose-deep);
  border-radius: 999px 999px var(--radius) var(--radius);
}
.hero-art .arch { z-index: 1; }
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 300px; order: -1; }
}

/* Bandeau titre de page */
.page-head { background: var(--rose-soft); padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-bottom: 1px solid rgba(0,0,0,.1); }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); margin-bottom: .4em; }
.page-head p { max-width: 62ch; margin: 0; font-size: 1.1rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ink .eyebrow { color: var(--rose); }
.section--ink a { text-decoration-color: var(--rose); }
.section--rose { background: var(--rose); color: var(--ink); }
.section--rose .eyebrow { color: var(--ink); }
.section--soft { background: var(--rose-soft); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.mission-quote { font-family: var(--serif); font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.4; max-width: 28em; margin: 0; }

/* Cartes */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 2px solid var(--rose-deep);
  border-radius: var(--radius);
  padding: 1.7rem;
  display: flex; flex-direction: column;
}
.card .num { font-family: var(--serif); font-size: 2.4rem; color: var(--rose); line-height: 1; margin-bottom: .6rem; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .date { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rose-deep); margin-bottom: .5rem; }
.card--rose { background: var(--rose); }
.card--rose .num { color: var(--ink); }

.axes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.axes li { border-top: 3px solid var(--rose); padding-top: .9rem; font-family: var(--serif); font-size: 1.25rem; }
@media (max-width: 760px) { .axes { grid-template-columns: repeat(2, 1fr); } }

/* Chiffres */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; margin-top: 2.5rem; }
.stat b { display: block; font-family: var(--serif); font-size: clamp(2.8rem, 7vw, 4.6rem); line-height: 1; }
.stat span { display: block; margin-top: .5rem; font-weight: 600; letter-spacing: .04em; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }

/* Équipe */
.member { text-align: center; }
.member .arch { max-width: 220px; margin: 0 auto 1.1rem; aspect-ratio: 1 / 1.15; }
.member h3 { margin-bottom: .15em; }
.member .role { font-weight: 700; color: var(--rose-deep); margin-bottom: .3rem; }
.member a { font-size: .95rem; }

/* Objectifs */
.goals { list-style: none; counter-reset: goal; padding: 0; margin: 0; display: grid; gap: 1rem; }
.goals li {
  counter-increment: goal;
  display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; align-items: start;
  padding: 1.3rem 0; border-top: 2px solid var(--ink);
  font-size: 1.15rem;
}
.goals li::before { content: counter(goal, decimal-leading-zero); font-family: var(--serif); font-size: 1.9rem; color: var(--rose-deep); line-height: 1.1; }

/* Formulaires */
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.form input, .form textarea {
  font: inherit; padding: .75em .9em;
  border: 2px solid var(--rose-deep); border-radius: 12px; background: #fff; color: var(--ink);
  width: 100%;
}
.form input:focus, .form textarea:focus { outline: 3px solid var(--rose); outline-offset: 1px; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }

.panel { background: #fff; border: 2px solid var(--rose-deep); border-radius: var(--radius); padding: 2rem; }
.panel h2 { font-size: 1.6rem; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--rose-deep); color: var(--cream); padding: 4rem 0 2rem; }
.site-footer a { text-decoration-color: rgba(255, 253, 245, .6); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 1.5rem; color: var(--cream); }
.site-footer h3 { font-size: 1.1rem; color: var(--cream); }
.site-footer address { font-style: normal; }
.news-form { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
.news-form input {
  flex: 1 1 200px; font: inherit; padding: .75em 1em;
  border-radius: 999px; border: 2px solid var(--cream); background: transparent; color: var(--cream);
}
.news-form input::placeholder { color: rgba(255,253,245,.7); }
.legal {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,253,245,.25);
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; justify-content: space-between; font-size: .9rem;
}
.legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 0; padding: 0; }

/* Pages de texte */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.note { background: var(--rose-soft); border-left: 5px solid var(--rose); padding: 1rem 1.2rem; border-radius: 8px; }

/* ==========================================================
   Concept « De la nuit à l'aube »
   Le site passe du noir (la rue) au rose puis au crème (le refuge).
   ========================================================== */
.doodle { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Rangée d'arches au sommet d'une section */
.section, .site-footer { position: relative; }
.scallop::before {
  content: ""; position: absolute; left: 0; right: 0; top: -31px; height: 32px;
  background: inherit; z-index: 2; pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='32'%3E%3Cpath d='M4 32V28A24 24 0 0 1 52 28V32Z'/%3E%3C/svg%3E") repeat-x bottom left / 56px 32px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='32'%3E%3Cpath d='M4 32V28A24 24 0 0 1 52 28V32Z'/%3E%3C/svg%3E") repeat-x bottom left / 56px 32px;
}

/* ---------- Hero : l'aube, la porte, la lumière ---------- */
.dawn-hero {
  --dawn: .25; --mx: 72%; --my: 30%;
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, var(--rose-soft) 100%);
  color: var(--ink);
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(4.5rem, 9vw, 7rem);
}
.dawn-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(184, 109, 109, .2), transparent 70%);
}
.stars { position: absolute; inset: 0; pointer-events: none; }
.stars i {
  position: absolute; width: var(--s); height: var(--s); border-radius: 50%;
  background: var(--rose); opacity: .22;
  animation: twinkle var(--d) ease-in-out var(--o) infinite;
}
@keyframes twinkle { 50% { opacity: .85; } }

.hero-grid { position: relative; display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.dawn-hero .eyebrow { color: var(--rose-deep); }
.dawn-hero h1 { font-size: clamp(2.7rem, 7.2vw, 5.4rem); line-height: 1.02; letter-spacing: -.015em; }
.dawn-hero h1 em {
  font-style: italic; color: var(--ink);
  background: linear-gradient(transparent 62%, rgba(184, 109, 109, .6) 62%);
  padding: 0 .06em;
}
.dawn-hero .lead { color: var(--ink-soft); }
.dawn-hero .actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }

.door {
  position: relative; justify-self: center; width: 100%; max-width: 340px;
  aspect-ratio: 300 / 380; overflow: hidden;
  border: 3px solid var(--rose-deep);
  border-radius: 999px 999px 10px 10px;
  background: var(--rose-deep);
  box-shadow: 0 0 0 10px var(--cream), 0 0 0 13px var(--rose), 0 26px 70px rgba(143, 74, 74, .35);
}
.door > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.door-glow {
  position: absolute; inset: 0; mix-blend-mode: screen;
  background: radial-gradient(ellipse 85% 70% at 50% 78%,
    var(--cream) 0%,
    #f6dfd6 calc(8% + var(--dawn) * 30%),
    var(--rose) calc(34% + var(--dawn) * 40%),
    var(--rose-deep) 100%);
}
.door-scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.door .trail {
  fill: none; stroke: url(#trailg); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 13;
  animation: walk 7s linear infinite;
}
@keyframes walk { to { stroke-dashoffset: -150; } }
.door .house { color: #3a1c1c; --body: #3a1c1c; --win: #fffdf5; stroke-width: 3.5; }

/* ---------- Lexique : Ekimelo = refuge ---------- */
.lexicon { background: var(--rose-soft); color: var(--ink); padding: 0 0 clamp(4.5rem, 9vw, 7rem); }
.lex-grid {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: end;
  border-top: 1px solid rgba(143, 74, 74, .35); padding-top: 2.5rem;
}
.lex-word { font-family: var(--serif); font-style: italic; font-size: clamp(4rem, 13vw, 9.5rem); line-height: .9; margin: 0; color: var(--rose); }
.lex-meta { margin: 0 0 .6rem; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--rose-deep); }
.lex-def { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.3; max-width: 30ch; margin: 0; }
.lex-def b { color: var(--rose-deep); }
@media (max-width: 760px) { .lex-grid { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Mission : les mots s'éclairent ---------- */
.mission-quote.big { font-size: clamp(1.7rem, 4vw, 3.1rem); max-width: 24em; }
.js .mission-quote .w { opacity: .28; transition: opacity .3s; }
.js .mission-quote .w.on { opacity: 1; }
.section--rose .link-more { text-decoration-color: #000; }

/* ---------- Façade : quatre fenêtres ---------- */
.facade-note { font-family: var(--serif); font-style: italic; font-size: 1.3rem; max-width: 22ch; color: var(--rose-deep); justify-self: center; text-align: center; }
@media (max-width: 880px) { .facade-note { display: none; } }
.facade { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 3rem; }
@media (max-width: 880px) { .facade { grid-template-columns: repeat(2, 1fr); } }
.win {
  border: 3px solid var(--rose-deep); border-radius: 999px 999px 14px 14px;
  background: var(--cream); color: var(--ink);
  min-height: 300px; padding: 2rem 1rem 1.6rem;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 1rem; text-align: center;
  transition: background .8s, box-shadow .8s, transform .4s;
}
.win .doodle { width: 64px; height: 64px; --win: transparent; color: var(--rose-deep); }
.win h3 { margin: 0; font-size: 1.2rem; }
.win.lit, .win:hover { background: var(--rose); box-shadow: 0 22px 44px -14px rgba(184, 109, 109, .75); }
.win.lit .doodle { --win: var(--cream); --body: transparent; color: var(--cream); }
.win:hover { transform: translateY(-6px); }

/* ---------- Chiffres ---------- */
.section--ink .stat b { color: var(--cream); }
.section--ink .stat span { color: var(--rose); }

/* ---------- Portes (S'impliquer) et fenêtres (Projets) ---------- */
.card--door {
  border-radius: 170px 170px 18px 18px; text-align: center; align-items: center;
  padding: 3.6rem 1.8rem 2rem; background: var(--cream);
  transition: transform .4s, box-shadow .4s;
}
.card--door:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5); }

.pane {
  border: 3px solid var(--rose-deep); border-radius: 999px 999px 16px 16px; background: #fff;
  padding: 0; overflow: hidden; text-align: center;
  transition: background .5s, transform .4s, box-shadow .5s;
}
.pane .num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--rose); margin-bottom: .8rem; transition: color .5s; }
.pane h3 { margin-bottom: .5em; }
.pane p:last-child { margin-bottom: 0; }
.pane:hover { background: var(--rose); transform: translateY(-6px); box-shadow: 0 22px 44px -14px rgba(184, 109, 109, .75); }
.pane:hover .num { color: #000; }

/* ---------- Dessin dans les bandeaux de page ---------- */
.page-head { position: relative; overflow: hidden; }
.ph-doodle {
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%) rotate(-6deg);
  width: clamp(90px, 16vw, 190px); height: auto; color: var(--rose); stroke-width: 2.4;
  opacity: .9; --win: var(--cream);
}
@media (max-width: 640px) { .ph-doodle { opacity: .25; } }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .door { max-width: 270px; }
}
@media (prefers-reduced-motion: reduce) {
  .stars i, .door .trail { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

.grid-team { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem 1.5rem; }
.grid-team > * { flex: 0 1 300px; }

/* ---------- 4 axes -> 6 volets ---------- */
.win-volets { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.axes-filter { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.2rem; }
.chip {
  font: inherit; font-weight: 700; font-size: .9rem; padding: .55em 1.2em; cursor: pointer;
  border: 2px solid var(--rose-deep); border-radius: 999px; background: transparent; color: var(--ink);
  transition: background .2s, color .2s;
}
.chip:hover { background: var(--rose-soft); }
.chip.is-on { background: var(--rose-deep); color: var(--cream); }
.tag {
  display: inline-block; margin-bottom: .9rem; padding: .25em .9em;
  border: 2px solid var(--rose-deep); border-radius: 999px; background: var(--rose-soft);
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.pane:hover .tag { background: var(--cream); }
.pane[hidden] { display: none; }
.pane { scroll-margin-top: 100px; }

.section--soft .stat b { color: var(--rose-deep); }
.section--soft .stat span { color: var(--ink); }

/* Champs à compléter dans les pages légales (à supprimer une fois remplis) */
.todo { background: #ffe58a; color: #000; padding: 0 .3em; border-radius: 4px; }

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

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }


/* ---------- Logo, langue, Instagram ---------- */
.brand { display: block; line-height: 0; }
.brand img { height: 80px; width: auto; display: block; }
.nav { margin-left: auto; }
.lang-switch { display: flex; gap: .2rem; border: 2px solid var(--rose-deep); border-radius: 999px; padding: 2px; }
.lang-switch a { text-decoration: none; font-weight: 700; font-size: .78rem; letter-spacing: .06em; padding: .3em .75em; border-radius: 999px; color: var(--ink); }
.lang-switch a[aria-current="true"] { background: var(--rose-deep); color: var(--cream); }
.lang-switch a:not([aria-current]):hover { background: var(--rose-soft); }
@media (max-width: 880px) {
  .brand img { height: 62px; }
  .bar { min-height: 76px; }
  .lang-switch { margin-left: auto; }
}
.site-footer .social { margin-top: 1.2rem; }
.site-footer .social a {
  display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center;
  border: 2px solid var(--cream); border-radius: 50%; color: var(--cream); transition: background .25s, color .25s;
}
.site-footer .social a:hover { background: var(--cream); color: var(--rose-deep); }
.site-footer .social svg { width: 24px; height: 24px; }

/* ---------- Photos ---------- */
.door:has(.door-slides img) .door-scene { display: none; }
.door:has(.door-slides img) .door-glow { opacity: .35; }
.pane-photo { position: relative; aspect-ratio: 4 / 3.4; background: var(--rose-soft); }
.pane-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pane-photo:empty, .pane-photo:not(:has(img)) { aspect-ratio: auto; height: 4rem; }
.pane-body { padding: 1.4rem 1.6rem 2rem; }
.card-photo { margin: -1.7rem -1.7rem 1.2rem; aspect-ratio: 16 / 9; overflow: hidden; background: var(--rose-soft); border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-photo:not(:has(img)) { display: none; }
.split--mission { align-items: center; }
.split--mission .mission-art { max-width: 320px; }
.don-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.don-art { max-width: 300px; }
.don-art::before { border-color: var(--cream); }
@media (max-width: 880px) { .don-grid { grid-template-columns: 1fr; } .don-art { margin-inline: auto; } }

/* ---------- Publication programmée ---------- */
[data-publish]:not(.is-live), [data-until]:not(.is-waiting) { display: none !important; }

/* ---------- Diaporama de l'arche d'accueil ---------- */
.door-slides { position: absolute; inset: 0; }
.door-slides .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: slideshow 13.5s infinite backwards; }
.door-slides .slide:nth-child(1) { animation-delay: calc(-.75s + var(--o, 0s)); opacity: 1; }
.door-slides .slide:nth-child(2) { animation-delay: calc(3.75s + var(--o, 0s)); object-position: 50% 60%; }
.door-slides .slide:nth-child(3) { animation-delay: calc(8.25s + var(--o, 0s)); object-position: 40% 40%; }
@keyframes slideshow { 0% { opacity: 0; } 6% { opacity: 1; } 33% { opacity: 1; } 39% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .door-slides .slide { animation: none; }
  .door-slides .slide:nth-child(n+2) { display: none; }
}

/* ---------- Trois arches ---------- */
.door-trio { display: flex; align-items: flex-end; justify-content: center; gap: clamp(14px, 2.4vw, 24px); width: 100%; max-width: 780px; justify-self: center; padding: 6px 10px 18px; }
.door-trio .door { flex: 2.1 1 0; max-width: none; width: auto; }
.door-trio .door--side { flex: 1 1 0; border-width: 2px; box-shadow: 0 0 0 6px var(--cream), 0 0 0 8px var(--rose), 0 16px 40px rgba(143, 74, 74, .28); }
@media (max-width: 880px) { .door-trio { max-width: 460px; } .door-trio .door { max-width: none; } }

.dawn-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
@media (max-width: 880px) { .door-trio { padding-inline: 0; gap: 12px; } .door-trio .door--side { box-shadow: 0 0 0 4px var(--cream), 0 0 0 6px var(--rose), 0 10px 24px rgba(143,74,74,.25); } }

.article-photo { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--rose-deep); background: var(--rose-soft); }
.article-photo img { display: block; width: 100%; height: auto; }
