/* ==========================================================================
   Le Patio — feuille de style
   Palette issue du logo (corail, pêche, bleu ciel), contrastes ≥ 4.5:1.
   ========================================================================== */
:root {
  --ink: #4a2e22;
  --ink-soft: #6f4f40;
  --paper: #fff8f2;
  --paper-2: #fdeee3;
  --cream: #ffffff;
  --peach: #f4c09a;
  --peach-l: #fbe3d1;
  --coral: #e07a52;
  --coral-d: #b44a28;
  --btn: #c4532f;
  --btn-h: #a9431f;
  --sky: #8ec5d0;
  --sky-l: #dcefF3;
  --sky-d: #2f7482;
  --teal: #2f6f7c;
  --line: rgba(74, 46, 34, 0.1);
  --shadow-sm: 0 2px 6px rgba(74, 46, 34, 0.05), 0 8px 20px rgba(196, 83, 47, 0.07);
  --shadow: 0 4px 10px rgba(74, 46, 34, 0.05), 0 18px 40px rgba(196, 83, 47, 0.1);
  --shadow-lg: 0 10px 24px rgba(74, 46, 34, 0.08), 0 30px 70px rgba(196, 83, 47, 0.16);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito", "Segoe UI", Helvetica, sans-serif;
  --wrap: min(1120px, calc(100% - 2.5rem));
  --radius: 1.75rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 1.0625rem;
  font-weight: 500;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
/* Halo de couleur fixe derrière toute la page */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60rem 30rem at -10% -10%, rgba(142, 197, 208, 0.32), transparent 60%),
    radial-gradient(50rem 26rem at 110% 0%, rgba(244, 192, 154, 0.42), transparent 55%),
    radial-gradient(40rem 30rem at 50% 120%, rgba(244, 192, 154, 0.22), transparent 60%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
strong, b { font-weight: 800; }
::selection { background: var(--peach); color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--sky-d);
  outline-offset: 3px;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--ink); color: #fff;
  padding: .65rem 1rem; z-index: 60; border-radius: 999px;
}
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: var(--wrap); margin: 0 auto; }

/* ---------- En-tête flottant ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  padding: .7rem 0;
  transition: padding .35s var(--ease);
}
.header-inner {
  width: var(--wrap);
  margin: 0 auto;
  padding: .45rem .55rem .45rem .7rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  position: relative;
  background: rgba(255, 250, 246, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 6px 24px rgba(74, 46, 34, 0.06);
  transition: box-shadow .35s var(--ease), background .35s var(--ease);
}
.site-header.is-scrolled { padding: .45rem 0; }
.site-header.is-scrolled .header-inner {
  background: rgba(255, 250, 246, 0.9);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 12px 34px rgba(74, 46, 34, 0.1);
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; min-height: 44px; }
.brand img {
  width: 46px; height: auto; object-fit: contain; mix-blend-mode: multiply;
  transition: transform .5s var(--ease);
}
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.18rem; line-height: 1.05; }
.brand small {
  display: block; color: var(--ink-soft);
  font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800;
}
.nav { display: flex; gap: .2rem; align-items: center; }
.nav a {
  position: relative;
  text-decoration: none; font-size: .93rem; font-weight: 700;
  padding: .55rem .85rem; border-radius: 999px; min-height: 44px;
  display: inline-flex; align-items: center;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav a:hover { background: rgba(142, 197, 208, 0.2); color: var(--sky-d); }
.nav a.is-active { background: var(--sky-l); color: #24606c; }
.nav a.nav-cta {
  background: var(--btn); color: #fff; margin-left: .3rem;
  box-shadow: 0 6px 16px rgba(196, 83, 47, 0.28);
}
.nav a.nav-cta:hover, .nav a.nav-cta.is-active { background: var(--btn-h); color: #fff; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; cursor: pointer;
  background: #fff; border-radius: 999px; position: relative; box-shadow: var(--shadow-sm);
}
.nav-toggle span:not(.sr-only) {
  position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease), bottom .3s var(--ease);
}
.nav-toggle span:nth-of-type(2) { top: 18px; }
.nav-toggle span:nth-of-type(3) { bottom: 18px; }
.nav-toggle[aria-expanded="true"] span:nth-of-type(2) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-of-type(3) { bottom: 22px; transform: rotate(-45deg); }

/* ---------- Hero d'accueil ---------- */
.hero {
  min-height: min(calc(100svh - var(--header-h)), 820px);
  display: grid; place-items: center;
  text-align: center;
  padding: 2rem 1.25rem 4rem;
  position: relative; overflow: hidden;
  isolation: isolate;
}
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  filter: blur(2px);
  animation: blob 18s var(--ease) infinite alternate;
}
.hero::before {
  width: 46vw; height: 46vw; max-width: 520px; max-height: 520px;
  background: radial-gradient(circle at 30% 30%, rgba(142, 197, 208, 0.55), rgba(142, 197, 208, 0.18));
  top: -8%; right: -8%;
}
.hero::after {
  width: 38vw; height: 38vw; max-width: 420px; max-height: 420px;
  background: radial-gradient(circle at 60% 40%, rgba(244, 192, 154, 0.7), rgba(244, 192, 154, 0.2));
  bottom: -10%; left: -8%;
  animation-duration: 22s; animation-direction: alternate-reverse;
}
@keyframes blob {
  0%   { border-radius: 58% 42% 48% 52% / 52% 44% 56% 48%; transform: translate(0, 0) rotate(0deg); }
  50%  { border-radius: 42% 58% 60% 40% / 44% 58% 42% 56%; transform: translate(-3%, 4%) rotate(12deg); }
  100% { border-radius: 50% 50% 38% 62% / 60% 40% 60% 40%; transform: translate(3%, -2%) rotate(-8deg); }
}
.hero > div { position: relative; max-width: 46rem; }
.hero-logo {
  width: min(190px, 46vw); margin: 0 auto .4rem; mix-blend-mode: multiply;
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px) rotate(-2deg); } }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  letter-spacing: .2em; text-transform: uppercase;
  font-size: .74rem; color: var(--sky-d); font-weight: 800; margin: 0;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 1.6rem; height: 1.5px; background: currentColor; opacity: .5; }
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(3rem, 9.5vw, 5.6rem);
  letter-spacing: -.02em;
  line-height: .98; margin: .5rem auto 1rem; max-width: 14ch;
}
.hero h1 span {
  display: block; margin-top: .4rem;
  font-size: .42em; line-height: 1.15; letter-spacing: 0; font-style: italic; font-weight: 600;
  background: linear-gradient(90deg, var(--coral-d), #d0633c 50%, var(--sky-d));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-tagline {
  font-family: var(--sans); font-weight: 800;
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  line-height: 1.35; margin: 0 auto 1rem; max-width: 30ch;
}
.hero .lead { margin: 0 auto 2rem; color: var(--ink-soft); max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin: 0 0 2.4rem; }
.discover {
  display: inline-flex; flex-direction: column; align-items: center; gap: .45rem;
  text-decoration: none; font-size: .7rem; letter-spacing: .18em;
  text-transform: uppercase; font-weight: 800; color: var(--coral-d);
}
.discover .dot {
  width: 46px; height: 46px; background: #fff; box-shadow: var(--shadow);
  border-radius: 50%; display: grid; place-items: center;
  animation: nudge 2.4s ease-in-out infinite;
}
.discover .dot::after {
  content: ""; width: 8px; height: 8px;
  border-right: 2.5px solid var(--coral); border-bottom: 2.5px solid var(--coral);
  transform: rotate(45deg) translate(-2px, -2px);
}
@keyframes nudge { 50% { transform: translateY(6px); } }

/* Entrée échelonnée des éléments du hero */
.hero > div > * { animation: rise .9s var(--ease) both; }
.hero > div > *:nth-child(1) { animation-delay: .05s; }
.hero > div > *:nth-child(2) { animation-delay: .15s; }
.hero > div > *:nth-child(3) { animation-delay: .25s; }
.hero > div > *:nth-child(4) { animation-delay: .38s; }
.hero > div > *:nth-child(5) { animation-delay: .5s; }
.hero > div > *:nth-child(6) { animation-delay: .62s; }
.hero > div > *:nth-child(7) { animation-delay: .74s; }
.hero > div > .hero-logo { animation: rise .9s var(--ease) both, float 7s ease-in-out 1s infinite; }
/* Le texte principal reste visible dès le premier rendu (LCP) : il glisse sans fondu */
.hero > div > h1, .hero > div > .hero-tagline, .hero > div > .lead { animation-name: slide; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes slide { from { transform: translateY(18px); } to { transform: none; } }

/* ---------- Sections & titres ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section.tight { padding-top: 0; }
.section h1, .section h2, .page-hero h1, .card h3, .atelier h3, .pillar h3, .footer-brand, .band h2, .block > h2 {
  font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -.01em;
}
.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--sky-d); letter-spacing: .16em; text-transform: uppercase;
  font-size: .72rem; font-weight: 800; margin: 0 0 .7rem;
}
.kicker::before {
  content: ""; width: .55rem; height: .55rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--peach));
}
.split {
  display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
  gap: 2.6rem 4rem; align-items: center;
}
.split h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); margin: 0 0 1rem; }
.prose { max-width: 40rem; }
.prose p { margin: 0 0 1rem; color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0 0 1.4rem; }

/* ---------- Cartes ---------- */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem; margin-top: 2.6rem;
}
.card {
  position: relative; overflow: hidden;
  background: #fff; border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem; text-decoration: none;
  min-height: 190px; display: flex; flex-direction: column; justify-content: flex-start;
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:nth-child(3n+1) { background: linear-gradient(160deg, #fff 30%, #ffe6d6); }
.card:nth-child(3n+2) { background: linear-gradient(160deg, #fff 30%, #e2f2f6); }
.card:nth-child(3n)   { background: linear-gradient(160deg, #fff 30%, #fff0d6); }
.card::before {
  content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%;
  right: -50px; top: -50px; background: rgba(255,255,255,.55);
  transition: transform .6s var(--ease);
}
a.card { cursor: pointer; padding-bottom: 3.4rem; }
a.card::after {
  content: "→"; position: absolute; left: 1.5rem; bottom: 1.2rem;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--coral-d); font-weight: 800; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), background .3s, color .3s;
}
a.card:hover, a.card:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
a.card:hover::before { transform: scale(1.6); }
a.card:hover::after, a.card:focus-visible::after { transform: translateX(6px); background: var(--btn); color: #fff; }
.card span { position: relative; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-d); font-weight: 800; }
.card h3 { position: relative; font-size: 1.5rem; margin: .5rem 0 .45rem; }
.card p { position: relative; margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; background: var(--btn); color: #fff;
  text-decoration: none; padding: .8rem 1.5rem; border-radius: 999px;
  font-weight: 800; border: 0; cursor: pointer; font-family: inherit; font-size: 1rem;
  box-shadow: 0 10px 24px rgba(196, 83, 47, 0.28);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { background: var(--btn-h); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(196, 83, 47, 0.34); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-light, .band .btn { background: #fff; color: var(--coral-d); box-shadow: 0 8px 20px rgba(74, 46, 34, 0.1); }
.btn-light:hover, .band .btn:hover { background: #fff; color: var(--btn-h); }
.btn-ghost {
  background: rgba(255,255,255,.6); color: var(--ink); box-shadow: none;
  border: 1.5px solid rgba(74, 46, 34, 0.14);
}
.btn-ghost:hover { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- Bandeau bénévoles ---------- */
.band {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, var(--teal), #3c7f8a 40%, #9a4a2c 100%);
  background-size: 180% 180%;
  animation: shift 14s ease-in-out infinite alternate;
  color: #fff; border-radius: 2.2rem; padding: clamp(1.8rem, 4vw, 3rem);
  display: grid; grid-template-columns: 1fr auto; gap: 1.6rem; align-items: center;
  box-shadow: var(--shadow-lg);
}
.band::before {
  content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; border-radius: 50%;
  right: -120px; top: -160px; background: rgba(255,255,255,.1);
}
.band::after {
  content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; border-radius: 50%;
  left: 30%; bottom: -150px; background: rgba(244, 192, 154, .18);
}
@keyframes shift { to { background-position: 100% 50%; } }
.band h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0 0 .5rem; }
.band p { margin: 0; color: rgba(255,255,255,.95); max-width: 38rem; }
.band .actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ---------- Mosaïque « la maison » ---------- */
.mosaic {
  display: grid; grid-template-columns: 1.1fr 1fr;
  grid-template-rows: 190px 190px; gap: .9rem;
}
.tile {
  border-radius: 1.6rem; overflow: hidden; background: #fff; box-shadow: var(--shadow);
  transition: transform .5s var(--ease);
}
.tile:hover { transform: translateY(-4px) rotate(-.6deg); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile:first-child { grid-row: 1 / span 2; }
.tile:first-child img { object-fit: contain; background: #fff; padding: .6rem; }
.tile-stat {
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: .35rem; padding: 1.1rem 1.2rem; color: #fff;
  background: linear-gradient(150deg, var(--sky-d), var(--teal));
}
.tile-stat strong {
  font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 2.3rem); line-height: 1; font-weight: 700;
}
.tile-stat span { font-weight: 700; font-size: .88rem; line-height: 1.4; opacity: .95; }

/* ---------- Pages intérieures ---------- */
.page-hero { position: relative; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; right: -100px; top: -140px;
  background: radial-gradient(circle at 40% 40%, rgba(142, 197, 208, .5), rgba(142, 197, 208, .12));
  animation: blob 20s var(--ease) infinite alternate;
}
.page-hero h1 {
  font-size: clamp(2.3rem, 6vw, 4rem); margin: .2rem 0 1rem; max-width: 15ch;
  animation: slide .9s var(--ease) both .08s;
}
.page-hero .kicker { animation: rise .9s var(--ease) both; }
.page-hero p.kicker { font-size: .72rem; color: var(--sky-d); margin: 0 0 .7rem; }
.page-hero .lead, .page-hero p { max-width: 42rem; color: var(--ink-soft); margin: 0; font-size: 1.12rem; }
.page-hero .lead { animation: slide .9s var(--ease) both .18s; }

/* Histoire */
.story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 2.4rem 3.4rem; align-items: center;
}
.story h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); margin: 0 0 1rem; }
.story-collage { position: relative; min-height: 430px; }
.story-collage img {
  position: absolute; width: 56%; aspect-ratio: 1; object-fit: cover;
  border-radius: 50%; border: 6px solid #fff;
  box-shadow: var(--shadow-lg); background: #f0d8c4;
  animation: float 9s ease-in-out infinite;
}
.story-collage .c1 { top: 0; left: 2%; width: 62%; z-index: 2; }
.story-collage .c2 { top: 22%; right: 0; width: 52%; z-index: 3; animation-delay: -4s; }
.story-collage .c3 { bottom: 0; left: 16%; width: 54%; z-index: 1; animation-delay: -2s; }
.story-collage-duo { min-height: 420px; }
.story-collage-duo::before {
  content: ""; position: absolute; inset: 12% 8% 6% 14%; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 192, 154, .55), transparent 70%);
}
.story-collage-duo .c2 { top: auto; bottom: 0; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.4rem 0 1.8rem; }
.stat { background: rgba(142, 197, 208, 0.18); border-radius: 1.3rem; padding: 1.15rem 1.2rem; }
.stat strong { display: block; font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; margin-bottom: .25rem; }
.stat span { color: var(--ink-soft); font-size: .92rem; }
.prose-wide { max-width: 46rem; margin-bottom: 2rem; }

/* Piliers */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.pillar {
  position: relative; background: #fff; border-radius: 1.5rem;
  padding: 1.4rem 1.3rem 1.3rem; box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--peach);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pillar:nth-child(2) { border-top-color: var(--sky); }
.pillar:nth-child(3) { border-top-color: var(--coral); }
.pillar:nth-child(4) { border-top-color: var(--sky-d); }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar h3 { margin: 0 0 .4rem; font-size: 1.2rem; }
.pillar p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

.block { margin-bottom: 3.2rem; }
.block > h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 0 0 1.2rem; }

/* Équipe : pastilles avec initiale */
.list-people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
  gap: .75rem;
}
.person {
  position: relative;
  display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; align-items: center;
  background: #fff; border-radius: 1.2rem; padding: .75rem .9rem;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.person:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.person::before {
  content: attr(data-initial);
  grid-row: 1 / span 2;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--coral-d);
  background: linear-gradient(135deg, var(--peach-l), #fff);
  border: 1.5px solid rgba(224, 122, 82, .25);
}
.person:nth-child(3n+2)::before { color: var(--sky-d); background: linear-gradient(135deg, var(--sky-l), #fff); border-color: rgba(47, 116, 130, .22); }
.person:nth-child(3n)::before { color: #8a5a12; background: linear-gradient(135deg, #fff0d6, #fff); border-color: rgba(200, 150, 60, .3); }
.person strong { display: block; font-size: .98rem; line-height: 1.3; }
.person small { color: var(--ink-soft); font-size: .82rem; line-height: 1.3; }

/* Ateliers */
.atelier-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.atelier {
  position: relative; overflow: hidden;
  background: #fff; border-radius: 1.5rem; padding: 1.35rem 1.4rem 1.35rem 1.6rem;
  box-shadow: var(--shadow-sm); display: block;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.atelier::before {
  content: ""; position: absolute; left: 0; top: 1.2rem; bottom: 1.2rem; width: 4px; border-radius: 0 4px 4px 0;
  background: linear-gradient(var(--coral), var(--peach));
  transition: top .4s var(--ease), bottom .4s var(--ease);
}
.atelier:nth-child(even)::before { background: linear-gradient(var(--sky-d), var(--sky)); }
.atelier:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.atelier:hover::before { top: 0; bottom: 0; }
.atelier h3 { margin: 0 0 .4rem; font-size: 1.25rem; }
.atelier p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.atelier .tag {
  display: inline-block; margin-bottom: .55rem; padding: .2rem .65rem; border-radius: 999px;
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800;
  color: var(--sky-d); background: var(--sky-l);
}

/* Contact */
.contact-layout {
  display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  gap: 2rem; align-items: start;
}
.info-card {
  position: relative; overflow: hidden;
  background: #fff; border-radius: var(--radius); padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow);
}
.info-card::before {
  content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%;
  right: -70px; top: -70px; background: var(--peach-l);
}
.info-card > * { position: relative; }
.info-card p { margin: 0 0 1rem; color: var(--ink-soft); }
.info-card p:last-child { margin-bottom: 0; }
.info-card strong { color: var(--ink); }
.contact-layout > aside.info-card { position: sticky; top: calc(var(--header-h) + 1.2rem); }

form.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  background: #fff; padding: clamp(1.2rem, 3vw, 2rem); border-radius: var(--radius); box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; }
label { font-size: .86rem; font-weight: 800; }
input, textarea, select {
  font: inherit; font-weight: 600; padding: .8rem .95rem; border-radius: 1rem; min-height: 48px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); width: 100%;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
input:hover, textarea:hover, select:hover { border-color: rgba(74, 46, 34, 0.22); }
input:focus, textarea:focus, select:focus {
  outline: none; background: #fff; border-color: var(--sky-d);
  box-shadow: 0 0 0 4px rgba(47, 116, 130, 0.15);
}
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: none; }
.check { flex-direction: row; align-items: flex-start; gap: .7rem; grid-column: 1 / -1; }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: .2rem; accent-color: var(--btn); flex-shrink: 0; }
.check label { font-weight: 600; font-size: .9rem; }
textarea { min-height: 140px; resize: vertical; }
.alert { padding: .9rem 1.1rem; border-radius: 1rem; margin-bottom: 1rem; font-weight: 700; }
.alert.ok { background: #dff4f7; }
.alert.err { background: #ffe4d6; }
.iban { font-size: 1.05rem; letter-spacing: .04em; }
.bank-card .kicker { margin-bottom: .8rem; }

.map-wrap { margin-top: 2rem; }
.map-wrap iframe {
  width: 100%; height: 340px; border: 0; border-radius: var(--radius);
  box-shadow: var(--shadow); display: block; filter: saturate(.85);
}
.map-link { margin: .8rem 0 0; font-size: .92rem; font-weight: 800; }
.map-link a { color: var(--sky-d); }

/* ---------- Logos partenaires ---------- */
.partners { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1rem 0; }
.pill { padding: .45rem .9rem; border-radius: 999px; background: #fff; font-size: .88rem; font-weight: 800; box-shadow: var(--shadow-sm); }
.logo-wall {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem; align-items: stretch;
}
.logo-wall figure {
  margin: 0; background: #fff; border-radius: 1.4rem; min-height: 120px;
  display: grid; place-items: center; padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.logo-wall figure:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.logo-wall img {
  max-width: 100%; max-height: 76px; width: auto; height: auto; object-fit: contain;
  filter: grayscale(.25); transition: filter .4s;
}
.logo-wall figure:hover img { filter: none; }
.logo-wall-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.logo-wall-main figure { min-height: 140px; }
.logo-wall-main img { max-height: 88px; filter: none; }
.logo-wall .wordmark { gap: .15rem; text-align: center; }
.logo-wall .wordmark span {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(1.3rem, 3vw, 1.8rem); color: #1f5f8b; letter-spacing: .01em;
}
.logo-wall .wordmark b { font-weight: 800; }
.logo-wall .wordmark small { font-size: .74rem; color: var(--ink-soft); }
.support-note { color: var(--ink-soft); margin: 1.2rem 0 0; font-size: .95rem; }
.support-note a { color: var(--sky-d); font-weight: 800; }

/* ---------- Réseaux sociaux ---------- */
.social { display: flex; align-items: center; gap: .4rem; }
.social-link {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-width: 44px; min-height: 44px; border-radius: 999px; text-decoration: none;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.social-link svg { width: 20px; height: 20px; flex-shrink: 0; }
.social-link:hover { transform: translateY(-2px); }
.nav .social-nav { margin-left: .35rem; padding-left: .5rem; border-left: 1px solid var(--line); gap: .1rem; }
.nav .social-nav .social-link { padding: 0; color: var(--ink-soft); }
.nav .social-nav .social-link:hover { background: var(--sky-l); color: var(--sky-d); }
.social-footer { margin-top: 1rem; gap: .55rem; }
.social-footer .social-link { background: rgba(255,255,255,.14); color: #fff; }
.social-footer .social-link:hover { background: #fff; color: var(--teal); }
.social-title { margin-bottom: .5rem !important; }
.social-contact { flex-wrap: wrap; gap: .55rem; }
.social-contact .social-link {
  padding: .55rem 1rem .55rem .8rem; background: var(--paper); color: var(--ink);
  font-weight: 800; font-size: .92rem; border: 1.5px solid var(--line);
}
.social-contact .social-link:hover { background: var(--btn); border-color: var(--btn); color: #fff; box-shadow: 0 8px 18px rgba(196, 83, 47, 0.25); }

/* ---------- Pied de page ---------- */
.site-footer {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, var(--teal), #285f6a);
  color: #fff; margin-top: 0;
  padding: 3.6rem 0 1.4rem; border-radius: 2.6rem 2.6rem 0 0;
}
.site-footer::before {
  content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; border-radius: 50%;
  right: -160px; top: -220px; background: rgba(142, 197, 208, .14);
}
.site-footer::after {
  content: ""; position: absolute; z-index: -1; width: 300px; height: 300px; border-radius: 50%;
  left: -120px; bottom: -160px; background: rgba(244, 192, 154, .12);
}
.footer-grid {
  width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .9fr 1.2fr .9fr; gap: 2rem 2.2rem;
}
.footer-logo { width: 84px; height: 84px; object-fit: contain; margin-bottom: .5rem; background: #fff; border-radius: 50%; padding: .3rem; }
.footer-brand { font-size: 1.35rem; margin: 0 0 .25rem; }
.site-footer p { color: rgba(255,255,255,.92); }
.site-footer h2 {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .9rem; opacity: .85;
}
.hours, .footer-nav { list-style: none; padding: 0; margin: 0; }
.hours li {
  display: flex; justify-content: space-between; gap: .8rem; font-size: .92rem;
  padding: .3rem 0; border-bottom: 1px dashed rgba(255,255,255,.18);
}
.hours li:last-child { border-bottom: 0; }
.fine { font-size: .8rem; opacity: .88; }
.footer-nav a {
  text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; min-height: 36px;
  transition: transform .3s var(--ease), opacity .3s; opacity: .92;
}
.footer-nav a:hover { transform: translateX(4px); opacity: 1; text-decoration: underline; }
.footer-bottom {
  width: var(--wrap); margin: 2.4rem auto 0; padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,.2); font-size: .85rem; text-align: center;
}
.footer-bottom p { margin: .25rem 0; opacity: .9; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.footer-bottom a:hover { opacity: .8; }

/* ---------- Bouton haut de page & cookies ---------- */
.to-top {
  position: fixed; right: 1.1rem; bottom: 1.4rem;
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: var(--btn); color: #fff; font-size: 1.2rem; cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translateY(12px) scale(.9);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .3s;
  z-index: 28;
}
.to-top:hover { background: var(--btn-h); }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.cookie-visible .to-top { bottom: 7rem; }
.cookie-bar {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 50;
  background: rgba(40, 95, 106, 0.96); backdrop-filter: blur(10px);
  color: #fff; border-radius: 1.4rem; padding: 1rem 1.2rem;
  display: flex; gap: 1rem; align-items: center; justify-content: space-between;
  box-shadow: 0 16px 40px rgba(0,0,0,.2);
  max-width: 980px; margin: 0 auto;
  animation: rise .6s var(--ease) both .6s;
}
.cookie-bar[hidden] { display: none !important; }
.cookie-bar p { margin: 0; font-size: .92rem; font-weight: 600; }
.cookie-bar .btn { flex-shrink: 0; background: #fff; color: var(--coral-d); box-shadow: none; }
.cookie-actions { display: flex; gap: .6rem; flex-shrink: 0; }
.cookie-bar .cookie-no { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.7); }
.cookie-bar .cookie-no:hover { background: rgba(255,255,255,.12); }

/* ---------- Apparition au défilement ---------- */
.js .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }
/* Les éléments déjà animés au survol gardent leur transition propre une fois visibles */
.js .reveal.is-in.card, .js .reveal.is-in.pillar, .js .reveal.is-in.atelier, .js .reveal.is-in.person, .js .reveal.is-in.tile {
  transition: opacity .8s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
  transition-delay: 0s;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: calc(100% + .6rem);
    background: rgba(255, 250, 246, 0.98); backdrop-filter: blur(18px);
    border-radius: 1.5rem; padding: .7rem; flex-direction: column; align-items: stretch;
    box-shadow: var(--shadow-lg); z-index: 25;
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top center;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav a { padding: .8rem 1rem; font-size: 1rem; }
  .nav a.nav-cta { margin: .3rem 0 0; justify-content: center; }
  .nav .social-nav {
    margin: .5rem 0 0; padding: .6rem 0 0; border-left: 0; border-top: 1px solid var(--line);
    justify-content: center; gap: .6rem;
  }
  .nav .social-nav .social-link { width: 48px; height: 48px; background: #fff; box-shadow: var(--shadow-sm); }
  .split, .band, .cards, .footer-grid, .atelier-grid, .mosaic, .contact-layout, form.contact-form, .story, .stats {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .story-collage { min-height: 360px; max-width: 420px; width: 100%; margin: 0 auto; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 160px; }
  .tile:first-child { grid-row: auto; grid-column: 1 / -1; }
  .contact-layout > aside.info-card { position: relative; top: 0; }
  .cookie-bar { flex-direction: column; align-items: stretch; left: .7rem; right: .7rem; }
  .cookie-actions .btn { flex: 1; }
  .cookie-visible .to-top { bottom: 10rem; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .header-inner { padding: .35rem .4rem .35rem .55rem; }
  .brand img { width: 40px; }
  .brand small { font-size: .58rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .logo-wall-main { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
  .logo-wall-main figure { min-height: 104px; padding: .7rem; }
  .logo-wall .wordmark small { font-size: .62rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .band .actions .btn { flex: 1 1 auto; }
  .card h3 { font-size: 1.35rem; }
}

/* Réduction des animations demandée par l'utilisateur */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* Logos principaux : quatre soutiens au même niveau */
.logo-wall-main { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }

/* Nous soutenir */
.page-hero-warm {
  background: linear-gradient(135deg, var(--peach-l), var(--paper) 55%, var(--sky-l));
}
.page-hero-warm::before {
  background: radial-gradient(circle at 40% 40%, rgba(224, 122, 82, .55), rgba(244, 192, 154, .15));
}
.page-hero-warm p.kicker { color: var(--coral-d); }
.page-hero-warm .lead { color: var(--ink); }
.give-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.4rem; align-items: stretch; }
.give {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 2.2rem; padding: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff; box-shadow: var(--shadow-lg);
}
.give::before {
  content: ""; position: absolute; z-index: -1; width: 300px; height: 300px; border-radius: 50%;
  right: -110px; top: -130px; background: rgba(255, 255, 255, .12);
}
.give-don { background: linear-gradient(140deg, var(--btn), var(--coral-d) 60%, #8f3a1c); }
.give-temps { background: linear-gradient(140deg, var(--teal), #255a65); }
.give h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0 0 .7rem; }
.give p { color: rgba(255, 255, 255, .95); margin: 0 0 1rem; }
.give .give-label {
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800;
  color: #fff; opacity: 1; margin-bottom: .6rem;
}
.give-iban {
  background: #fff; color: var(--ink); border-radius: 1.3rem; padding: 1.1rem 1.3rem;
  margin: 1.4rem 0 1.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1rem;
}
.give-iban small { flex: 1 1 100%; font-weight: 800; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-d); }
.give-iban .iban, .give-iban p { color: var(--ink); margin: 0; }
.give-iban .iban { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 2.6vw, 1.6rem); letter-spacing: .03em; flex: 1 1 auto; }
.copy-btn {
  font: inherit; font-weight: 800; font-size: .86rem; cursor: pointer;
  min-height: 44px; padding: .5rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--coral-d); background: var(--peach-l); color: var(--coral-d);
  transition: background .2s, color .2s;
}
.copy-btn:hover, .copy-btn.is-done { background: var(--coral-d); color: #fff; }
.give-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 0; }
.give-meta dt { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; opacity: .9; }
.give-meta dd { margin: 0; font-weight: 700; }
.give-temps .btn-light { color: var(--teal); }
.give-temps .btn-light:hover { color: #1f4f59; }
#soutiens .logo-wall figure { background: #fff; }

@media (max-width: 960px) {
  .give-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .logo-wall-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .give-meta { grid-template-columns: 1fr; }
}

/* Coordinatrice avec photo */
.coord {
  display: flex; align-items: center; gap: 1.2rem; max-width: 26rem;
  background: #fff; border-radius: 1.6rem; padding: 1rem 1.4rem 1rem 1rem; box-shadow: var(--shadow-sm);
}
.coord img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 4px solid var(--peach-l); flex-shrink: 0; }
.coord strong { display: block; font-family: var(--display); font-size: 1.35rem; }
.coord small { color: var(--ink-soft); font-weight: 700; }

/* Bandeau photos des activités */
.photo-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.photo-strip img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 1.6rem;
  box-shadow: var(--shadow); transition: transform .5s var(--ease);
}
.photo-strip img:nth-child(even) { transform: translateY(1.2rem); }
.photo-strip img:hover { transform: translateY(-4px) rotate(-.8deg); }
.photo-strip-wrap { padding-bottom: 1rem; }
@media (max-width: 560px) {
  .photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
}

/* Vidéo de présentation */
.video-split { align-items: center; }
.video-frame {
  margin: 0 auto; width: min(100%, 340px); border-radius: 2rem; overflow: hidden;
  border: 6px solid #fff; box-shadow: var(--shadow-lg); background: var(--ink);
}
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
