/* ==========================================================
   Micro-crèche Bouilles d'Amont — feuille de style
   Les couleurs / typos sont pilotées par l'administration
   (variables injectées sur :root par site.js)
   ========================================================== */
:root {
  --bg: #FBF7F1;
  --ink: #4A2E24;
  --primary: #7FA06F;
  --secondary: #86A6BF;
  --accent: #A98AAE;
  --warm: #B5692C;
  --sand: #F1E4CF;
  --radius: 28px;
  --base: 18px;
  --f-head: "Fredoka", "Nunito", system-ui, sans-serif;
  --f-body: "Nunito", system-ui, sans-serif;
  --f-script: "Caveat", cursive;

  --ink-soft: color-mix(in srgb, var(--ink) 72%, var(--bg));
  --primary-soft: color-mix(in oklab, var(--primary) 20%, var(--bg));
  --secondary-soft: color-mix(in oklab, var(--secondary) 24%, var(--bg));
  --accent-soft: color-mix(in oklab, var(--accent) 20%, var(--bg));
  --warm-soft: color-mix(in srgb, var(--warm) 14%, var(--bg));
  --card: color-mix(in srgb, #fff 78%, var(--bg));
  --line: color-mix(in srgb, var(--ink) 12%, transparent);
  --shadow: 0 1px 2px rgba(74, 46, 36, .06), 0 10px 30px -12px rgba(74, 46, 36, .22);
  --shadow-lg: 0 2px 4px rgba(74, 46, 36, .05), 0 24px 60px -20px rgba(74, 46, 36, .3);
  --header-h: 76px;
  --header-bg: color-mix(in srgb, var(--bg) 96%, transparent);
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: var(--base); line-height: 1.65;
  overflow-x: hidden; overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
svg.ic, .ic svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; overflow-x: clip; }
.kicker { font-family: var(--f-script); font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: var(--script-color, var(--primary)); line-height: 1; display: inline-block; margin-bottom: .35em; transform: rotate(-2deg); }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head p { color: var(--ink-soft); font-size: 1.06em; }
.hl { position: relative; white-space: nowrap; }
.hl strong, h1 strong, h2 strong { font-weight: 500; color: var(--primary); position: relative; z-index: 0; }
h1 strong::after, h2 strong::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .32em; z-index: -1;
  background: color-mix(in srgb, var(--accent) 35%, transparent); border-radius: 99px;
  transform: scaleX(0); transform-origin: left; transition: transform 1s .5s var(--ease);
}
.is-in h1 strong::after, .is-in h2 strong::after, .is-in strong::after { transform: scaleX(1); }

/* ---------- Boutons ---------- */
.btn {
  --b: var(--primary);
  display: inline-flex; align-items: center; gap: .55em; padding: .85em 1.45em; border-radius: 999px;
  font: 600 1rem/1.2 var(--f-body); text-decoration: none; border: 2px solid var(--b);
  background: var(--b); color: #fff; cursor: pointer; transition: transform .35s var(--bounce), box-shadow .3s, background .3s;
  box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--b) 80%, transparent);
}
.btn:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 14px 26px -12px color-mix(in srgb, var(--b) 90%, transparent); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-warm { --b: var(--warm); }
.btn-ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 22%, transparent); box-shadow: none; }
.btn-ghost:hover { background: var(--card); }
.btn-sm { padding: .6em 1.1em; font-size: .92rem; }
.btn .ic { width: 1.15em; height: 1.15em; }

/* ---------- En-tête : logo calé à gauche (branche qui sort du bord) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 50;
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: var(--gutter);
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-header::before { /* bandeau qui apparaît au scroll */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: var(--header-bg); backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(74, 46, 36, .5);
}
.scrolled .site-header::before { opacity: 1; }
.logo {
  position: absolute; left: 0; top: 10px; display: block; line-height: 0; z-index: 1;
  width: clamp(210px, 26vw, 360px);
  transition: width .6s var(--ease), top .6s var(--ease);
  transform-origin: 0 0;
}
.logo img { width: 100%; height: auto; position: relative; filter: drop-shadow(0 6px 10px rgba(74, 46, 36, .08)); }
/* nom en toutes lettres, affiché à côté du logo réduit (typos proches du logo) */
.logo-name {
  position: absolute; left: calc(100% + 12px); top: 50%; display: grid; gap: 3px; white-space: nowrap; line-height: 1;
  opacity: 0; transform: translate(-10px, -50%); pointer-events: none;
  transition: opacity .35s ease, transform .5s var(--ease);
}
.scrolled .logo-name { opacity: 1; transform: translate(0, -50%); transition-delay: .15s; }
.ln-top { font: 400 19px/1 "Patrick Hand", var(--f-script); color: #4A2217; -webkit-text-stroke: .4px currentColor; letter-spacing: .01em; }
.ln-main { font: 400 18px/1 "Coming Soon", var(--f-body); text-transform: uppercase; letter-spacing: .03em; }
.ln-main b { font-weight: 400; color: #8FB07F; }
.ln-main i { font-style: normal; color: #9C789C; }
.scrolled .logo { width: 102px; top: 9px; }
.logo:focus-visible { outline-offset: -3px; }

.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(4px, 1vw, 12px); }
.menu a:not(.btn) {
  position: relative; display: block; padding: .5em .7em; text-decoration: none;
  font-family: var(--f-head); font-weight: 500; font-size: 1.02rem; color: var(--ink); border-radius: 999px; transition: background .25s, color .25s;
}
.menu a:not(.btn)::after {
  content: ""; position: absolute; left: 50%; bottom: .15em; width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); transform: translateX(-50%) scale(0); transition: transform .35s var(--bounce);
}
.menu a:not(.btn):hover::after, .menu a.active::after { transform: translateX(-50%) scale(1); }
.menu a.active { color: var(--primary); }
.burger { display: none; }

/* ---------- Feuilles au scroll + décors ---------- */
.leaf-layer { position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.leaf-layer .fl, .deco { position: absolute; will-change: transform; pointer-events: none; }
.leaf-layer .fl svg, .deco svg { width: 100%; height: 100%; display: block; fill: currentColor; stroke: currentColor; }
.deco { z-index: 0; }
main { position: relative; z-index: 2; }
.section > .wrap { position: relative; z-index: 2; }

/* ---------- Apparition des blocs ---------- */
.reveal { opacity: 0; transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.reveal[data-anim="up"] { transform: translateY(46px); }
.reveal[data-anim="down"] { transform: translateY(-30px); }
.reveal[data-anim="left"] { transform: translateX(-60px) rotate(-2deg); }
.reveal[data-anim="right"] { transform: translateX(60px) rotate(2deg); }
.reveal[data-anim="zoom"] { transform: scale(.86); filter: blur(6px); }
.reveal[data-anim="pop"] { transform: scale(.6) rotate(-6deg); transition-timing-function: var(--ease), var(--bounce), var(--ease); }
.reveal[data-anim="tilt"] { transform: perspective(800px) rotateX(18deg) translateY(40px); transform-origin: 50% 100%; }
.reveal.is-in { opacity: 1; transform: none; filter: none; }
.no-deco .deco, .no-deco .leaf-layer { display: none; }
.no-anim .reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }

/* ---------- Vagues de séparation ---------- */
.wave { position: absolute; left: 0; width: 100%; height: clamp(40px, 6vw, 90px); line-height: 0; z-index: 1; pointer-events: none; }
.wave svg { width: 100%; height: 100%; display: block; }
.wave.top { top: -1px; }
.wave.bottom { bottom: -1px; transform: scaleY(-1); }
.band-sand { background: var(--sand); }
.band-sage { background: var(--primary-soft); }
.band-blue { background: var(--secondary-soft); }
.band-mauve { background: var(--accent-soft); }

/* ---------- Photos (et emplacements à remplir) ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--card);
  aspect-ratio: var(--ar, 4/3); box-shadow: var(--shadow);
}
.ph img, .ph video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ph:hover img { transform: scale(1.05); }
.ph.empty {
  display: grid; place-items: center; text-align: center; color: color-mix(in srgb, var(--ink) 55%, transparent);
  background:
    radial-gradient(circle at 18% 22%, color-mix(in srgb, var(--primary) 22%, transparent) 0 16%, transparent 16.5%),
    radial-gradient(circle at 84% 80%, color-mix(in srgb, var(--accent) 20%, transparent) 0 20%, transparent 20.5%),
    radial-gradient(circle at 78% 18%, color-mix(in srgb, var(--secondary) 22%, transparent) 0 8%, transparent 8.5%),
    var(--sand);
}
.ph.empty .ph-in { display: grid; justify-items: center; gap: 6px; padding: 16px; font-size: .88rem; font-weight: 600; }
.ph.empty .ph-in .ic { width: 34px; height: 34px; opacity: .7; }

/* ---------- HERO ---------- */
.hero { padding-top: clamp(210px, 25vw, 300px); padding-bottom: clamp(60px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero-quote {
  position: relative; margin: 0 0 1.8em; padding: .2em 0 .2em 1.1em; max-width: 34em;
  font-size: 1.12em; font-style: italic; color: var(--ink-soft); border-left: 4px solid color-mix(in srgb, var(--accent) 55%, transparent);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; }
.hero-media .blob-bg { position: absolute; inset: -8% -10% -10% -6%; color: var(--primary-soft); z-index: -1; animation: morph 16s ease-in-out infinite alternate; }
.hero-media .blob-bg svg { width: 100%; height: 100%; fill: currentColor; }
.hero-mascot { --mw: clamp(170px, 20vw, 260px); position: absolute; right: 7%; bottom: calc(100% - var(--mw) * 0.0375); width: var(--mw); height: auto; pointer-events: none; z-index: 2; }
@keyframes morph { 0% { transform: rotate(0) scale(1); } 100% { transform: rotate(24deg) scale(1.06); } }
.video-card { position: relative; z-index: 1; border-radius: calc(var(--radius) * 1.3); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16/10; background: var(--sand); }
.video-card video, .video-card iframe, .video-card img { width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-card .play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer;
  background: color-mix(in srgb, #fff 88%, transparent); color: var(--warm); display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .3); transition: transform .4s var(--bounce);
}
.video-card .play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid color-mix(in srgb, #fff 70%, transparent); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.video-card .play:hover { transform: scale(1.1); }
.video-card .play svg { width: 30px; height: 30px; fill: currentColor; margin-left: 5px; }
.video-card .v-label { position: absolute; left: 18px; bottom: 16px; background: color-mix(in srgb, #fff 88%, transparent); padding: 6px 14px; border-radius: 99px; font-weight: 700; font-size: .85rem; display: flex; gap: 8px; align-items: center; }
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(40px, 6vw, 72px); }
.badge {
  background: var(--card); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 2px; position: relative; overflow: hidden;
}
.badge::before { content: ""; position: absolute; right: -24px; top: -24px; width: 80px; height: 80px; border-radius: 50%; background: var(--c, var(--primary-soft)); }
.badge b { font-family: var(--f-head); font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--c2, var(--primary)); line-height: 1.1; position: relative; }
.badge span { color: var(--ink-soft); font-size: .95rem; position: relative; }

/* ---------- Bienvenue ---------- */
.welcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.lead { font-size: 1.08em; }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.collage .ph { width: 100%; }
.collage .ph:nth-child(1) { grid-column: 1 / -1; --ar: 16/10; }
.collage .ph:nth-child(2) { --ar: 1/1; }
.collage .ph:nth-child(3) { --ar: 1/1; }
.infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(48px, 7vw, 84px); }
.info {
  background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  border-top: 5px solid var(--c, var(--primary)); transition: transform .4s var(--ease);
}
.info:hover { transform: translateY(-6px); }
.info .ico { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--c, var(--primary)) 18%, transparent); color: var(--c, var(--primary)); margin-bottom: 14px; }
.info .ico svg { width: 26px; height: 26px; }
.info h3 { margin-bottom: .35em; }
.info p { color: var(--ink-soft); font-size: .96em; }

/* ---------- Mots doux + Actualités ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.reviews-list { display: grid; gap: 16px; }
.review { background: var(--card); padding: 24px 26px; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; }
.review .q { position: absolute; right: 18px; top: 14px; color: var(--accent-soft); width: 46px; height: 46px; }
.review .q svg { width: 100%; height: 100%; fill: color-mix(in srgb, var(--accent) 30%, transparent); stroke: none; }
.review .stars { color: #E0A93B; display: flex; gap: 2px; margin-bottom: 8px; }
.review .stars svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.review cite { display: block; margin-top: 10px; font-style: normal; font-weight: 700; font-size: .92rem; color: var(--ink-soft); }
.google-card { background: var(--card); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); text-align: center; }
.google-card .g { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); }
.google-card .g svg { width: 30px; height: 30px; }
.google-card .stars { color: #E0A93B; display: flex; gap: 4px; justify-content: center; margin: 6px 0 16px; }
.google-card .stars svg { width: 24px; height: 24px; fill: currentColor; stroke: none; }
.socials-cards { display: grid; gap: 14px; }
.social-card {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius); text-decoration: none;
  background: var(--card); box-shadow: var(--shadow); transition: transform .35s var(--bounce);
}
.social-card:hover { transform: translateY(-4px) rotate(-.5deg); }
.social-card .ico { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; color: #fff; flex: none; }
.social-card .ico svg { width: 28px; height: 28px; }
.social-card.fb .ico { background: #4f74b8; }
.social-card.ig .ico { background: linear-gradient(135deg, #f2a65a, #d4608e 55%, #8b62c9); }
.social-card b { font-family: var(--f-head); font-weight: 500; font-size: 1.15rem; display: block; }
.social-card small { color: var(--ink-soft); font-size: .9rem; }
.social-card .arrow { margin-left: auto; color: var(--ink-soft); }
.fb-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; max-width: 500px; margin-bottom: 14px; }
.fb-embed iframe { width: 100%; height: 520px; border: 0; }

/* ---------- Actualités Facebook ---------- */
.news-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 500px); gap: clamp(28px, 5vw, 72px); align-items: start; }
.news-grid.mode-posts { grid-template-columns: 1fr; }
.news-grid.mode-posts .news-side { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.news-grid.mode-posts .news-side .sec-head { margin-bottom: 0 !important; }
.news-socials { display: grid; gap: 12px; max-width: 420px; }
.news-grid.mode-posts .news-socials { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); flex: 1; max-width: 560px; }
.fb-zone { position: relative; min-height: 420px; }
.fb-skels { display: grid; gap: 18px; }
.mode-posts .fb-skels, .mode-posts .fb-live { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.fb-skel { background: var(--card); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.fb-skel-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.fb-av { width: 42px; height: 42px; border-radius: 50%; background: #4f74b8; color: #fff; display: grid; place-items: center; }
.fb-av svg { width: 22px; height: 22px; }
.fb-skel-head b, .fb-skel-head i, .fb-skel p { display: block; height: 10px; border-radius: 6px; background: color-mix(in srgb, var(--ink) 9%, transparent); }
.fb-skel-head b { width: 150px; margin-bottom: 7px; } .fb-skel-head i { width: 90px; }
.fb-skel-img { aspect-ratio: 4/3; border-radius: 14px; background: linear-gradient(120deg, var(--primary-soft), var(--secondary-soft), var(--accent-soft)); margin-bottom: 14px; }
.fb-skel-img.small { aspect-ratio: 16/9; margin-top: 20px; }
.fb-skel p { margin: 0 0 9px; } .fb-skel p.short { width: 60%; }
.fb-consent {
  position: absolute; left: 50%; top: 110px; transform: translateX(-50%); width: min(92%, 380px); z-index: 2; text-align: center;
  background: var(--card); border-radius: calc(var(--radius) * 1.1); padding: 26px 24px 20px; box-shadow: var(--shadow-lg);
  display: grid; justify-items: center; gap: 8px;
}
.fb-consent.reveal[data-anim="pop"] { transform: translateX(-50%) scale(.7); }
.fb-consent.reveal.is-in { transform: translateX(-50%); }
.fb-consent-ico { width: 56px; height: 56px; border-radius: 50%; background: #4f74b8; color: #fff; display: grid; place-items: center; margin-bottom: 4px; }
.fb-consent-ico svg { width: 30px; height: 30px; }
.fb-consent b { font-family: var(--f-head); font-weight: 500; font-size: 1.2rem; }
.fb-consent p { color: var(--ink-soft); font-size: .88rem; margin: 0 0 6px; }
.fb-remember { font-size: .82rem; color: var(--ink-soft); display: flex; gap: 6px; align-items: center; cursor: pointer; }
.fb-remember input { accent-color: var(--primary); }
.fb-live { display: grid; gap: 18px; }
.fb-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 200px; display: flex; justify-content: center; }
.fb-card .fb-post, .fb-card .fb-page { width: 100%; }
.fb-zone.loaded .fb-consent { display: none; }
.fb-zone.ready .fb-skels { display: none; }
.fb-zone:not(.ready) .fb-live { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.fb-fail { display: none; margin-top: 16px; text-align: center; font-size: .92rem; color: var(--ink-soft); }
.fb-zone.failed:not(.ready) .fb-fail { display: block; }
.fb-alt { display: none; margin: 12px 0 0; text-align: center; font-size: .88rem; color: var(--ink-soft); }
.fb-alt a { color: inherit; font-weight: 700; }
.fb-zone.ready .fb-alt { display: block; }
.section-tight { padding-top: clamp(60px, 8vw, 100px); padding-bottom: clamp(40px, 6vw, 70px); }
.reviews-wrap { max-width: 1120px; margin: 0 auto; }
/* carrousel des avis */
.rv-carousel { --per: 3; --gap: 20px; }
.rv-track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 10px 4px 26px; margin: -10px -4px 0; scrollbar-width: none; overscroll-behavior-x: contain; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-track .review { align-self: flex-start; flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; }
.rv-text { margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
.rv-text p { margin-bottom: .6em; }
.review.open .rv-text { -webkit-line-clamp: unset; display: block; }
.rv-more { align-self: flex-start; margin-top: 6px; border: 0; background: none; padding: 0; color: var(--primary); font: 700 .9rem var(--f-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.review figcaption { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.review cite { margin: 0; }
.rv-src { display: inline-flex; gap: 6px; align-items: center; font-size: .8rem; color: var(--ink-soft); }
.rv-src svg { width: 15px; height: 15px; }
.rv-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 4px; }
.rv-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--card); box-shadow: var(--shadow); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: transform .3s var(--bounce); }
.rv-btn:hover { transform: scale(1.08); }
.rv-btn[data-dir="-1"] svg { transform: scaleX(-1); }
.rv-dots { display: flex; gap: 8px; }
.rv-dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; padding: 0; background: color-mix(in srgb, var(--ink) 18%, transparent); cursor: pointer; transition: width .35s var(--ease), background .3s; }
.rv-dots button[aria-current="true"] { width: 28px; background: var(--primary); }
@media (max-width: 1000px) { .rv-carousel { --per: 2; } }
@media (max-width: 640px) { .rv-carousel { --per: 1; --gap: 14px; } .rv-track .review { flex-basis: 88%; } }
.reviews-wrap .google-card { max-width: 460px; margin: 0 auto; }

/* ---------- Approche ---------- */
.pillars-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: clamp(56px, 8vw, 100px); }
.pnav {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; border-radius: var(--radius); text-decoration: none;
  background: var(--card); box-shadow: var(--shadow); transition: transform .45s var(--bounce), background .3s;
}
.pnav:hover { transform: translateY(-8px) rotate(-1deg); background: color-mix(in srgb, var(--c) 14%, var(--card)); }
.pnav .ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--c); }
.pnav .ico svg { width: 28px; height: 28px; stroke: #fff; }
.pnav b { font-family: var(--f-head); font-weight: 500; font-size: 1.12rem; line-height: 1.2; }
.pnav small { color: var(--ink-soft); display: flex; align-items: center; gap: 6px; font-weight: 600; }
.pillar { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.pillar + .pillar { margin-top: clamp(80px, 11vw, 140px); }
.pillar.flip .p-text { order: 2; }
.pillar .p-num { font-family: var(--f-script); font-size: 1.6rem; color: var(--script-color, var(--c)); }
.pillar blockquote {
  margin: 0 0 1.4em; padding: 22px 26px; border-radius: var(--radius); position: relative;
  background: color-mix(in srgb, var(--c) 13%, var(--bg)); font-size: 1.08em; font-style: italic;
}
.pillar blockquote::before {
  content: "“"; position: absolute; left: 14px; top: -28px; font: 500 5rem/1 var(--f-head); color: var(--c); opacity: .6;
}
.pillar blockquote footer { margin-top: 8px; font-style: normal; font-weight: 700; font-size: .88rem; color: var(--ink-soft); }
.points { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.points li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.points .dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; margin-top: 1px; }
.points .dot svg { width: 17px; height: 17px; stroke: #fff; stroke-width: 2.4; }
.extra { padding: 18px 22px; border-radius: 20px; border: 2px dashed color-mix(in srgb, var(--c) 45%, transparent); }
.p-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.p-photos .ph:first-child { grid-column: 1 / -1; --ar: 16/10; }
.p-photos .ph:nth-child(2) { --ar: 1/1; }
.p-photos .ph:nth-child(3) { --ar: 1/1; }
.p-photos.two { grid-template-columns: 1fr; }
.p-photos.two .ph:nth-child(2) { --ar: 16/10; rotate: 0deg; }

/* ---------- Journée ---------- */
.timeline { position: relative; max-width: 980px; margin: 0 auto; padding: 10px 0; }
.timeline::before, .timeline .tl-fill {
  content: ""; position: absolute; left: 50%; top: 0; width: 4px; margin-left: -2px; border-radius: 4px; height: 100%;
  background: color-mix(in srgb, var(--ink) 10%, transparent);
}
.timeline .tl-fill { background: linear-gradient(var(--primary), var(--secondary), var(--accent)); height: 0; transition: height .15s linear; }
.tl-sun { position: absolute; left: 50%; top: 0; width: 44px; height: 44px; margin-left: -22px; margin-top: -22px; border-radius: 50%; background: var(--warm); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px color-mix(in srgb, var(--warm) 20%, transparent); z-index: 3; transition: top .15s linear; }
.tl-sun svg { width: 24px; height: 24px; stroke: #fff; }
.step { position: relative; width: 50%; padding: 0 44px 34px 0; }
.step:nth-child(even) { margin-left: 50%; padding: 0 0 34px 44px; }
.step .card { background: var(--card); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); position: relative; }
.step .time { white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: .9rem; padding: 4px 12px; border-radius: 99px; background: color-mix(in srgb, var(--c) 18%, transparent); color: color-mix(in srgb, var(--c) 60%, var(--ink)); margin-bottom: 8px; }
.step h3 { font-size: 1.2rem; margin-bottom: .3em; display: flex; gap: 10px; align-items: center; }
.step h3 svg { color: var(--c); width: 24px; height: 24px; }
.step p { color: var(--ink-soft); font-size: .95em; }
/* illustration de Boubouille à gauche du texte */
.step .card.has-illu { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding-left: 16px; }
.step .illu { width: 96px; height: 116px; object-fit: contain; mix-blend-mode: multiply; /* le fond blanc des dessins se fond dans la carte */ animation: bob 4.5s ease-in-out infinite; animation-delay: var(--d, 0s); transform-origin: 50% 100%; }
.step .card:hover .illu { animation-duration: 1.2s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(-2deg); } }
.step::after { content: ""; position: absolute; top: 26px; right: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 4px solid var(--c); z-index: 2; }
.step:nth-child(even)::after { right: auto; left: -9px; }

/* ---------- Équipe ---------- */
.team-photo { max-width: 1000px; margin: 0 auto clamp(48px, 7vw, 80px); }
.team-photo .ph { --ar: 21/9; border-radius: calc(var(--radius) * 1.4); }
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.team-grid .member { flex: 1 1 250px; max-width: 280px; }
.member {
  background: var(--card); border-radius: var(--radius); padding: 26px 24px 24px; box-shadow: var(--shadow); text-align: center;
  transition: transform .5s var(--bounce); position: relative;
}
.member:hover { transform: translateY(-8px) rotate(var(--r, -1deg)); }
.member:nth-child(even) { --r: 1deg; }
.avatar { width: 150px; height: 150px; margin: 0 auto 14px; position: relative; }
.avatar::before { content: ""; position: absolute; inset: -8px; background: var(--c); opacity: .35; border-radius: 42% 58% 55% 45% / 50% 42% 58% 50%; transition: transform .8s var(--ease), border-radius .8s; }
.member:hover .avatar::before { transform: rotate(40deg); border-radius: 55% 45% 42% 58% / 45% 55% 45% 55%; }
.avatar .ph { border-radius: 50%; width: 100%; height: 100%; aspect-ratio: 1; box-shadow: none; position: relative; }
.avatar .ph.empty .ph-in { display: none; }
.video-card .ph.empty .ph-in span { display: none; }
.avatar .initial { position: absolute; inset: 0; display: grid; place-items: center; font: 500 3rem var(--f-head); color: color-mix(in srgb, var(--c) 70%, var(--ink)); }
.member h3 { font-family: var(--f-script); font-size: 2.1rem; font-weight: 700; margin: 0; color: var(--script-color, color-mix(in srgb, var(--c) 65%, var(--ink))); }
.member .role { display: inline-block; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: color-mix(in srgb, var(--c) 35%, var(--ink)); background: color-mix(in srgb, var(--c) 24%, #fff); padding: 5px 14px; border-radius: 16px; line-height: 1.35; margin: 4px 0 14px; }
.member p { color: var(--ink); }
.member p { font-size: .95em; }
.member .motto { margin-top: 14px; padding-top: 14px; border-top: 2px dotted var(--line); font-style: italic; font-size: .92em; color: var(--ink-soft); }
.member .motto b { font-style: normal; display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c); }
.team-note { max-width: 760px; margin: 40px auto 0; text-align: center; padding: 16px 22px; border-radius: 99px; background: var(--card); box-shadow: var(--shadow); font-size: .95em; color: var(--ink-soft); }

/* ---------- Inscription ---------- */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; position: relative; margin-bottom: clamp(56px, 7vw, 90px); }
.steps3::before { content: ""; position: absolute; top: 38px; left: 16%; right: 16%; border-top: 3px dashed color-mix(in srgb, var(--warm) 40%, transparent); }
.s3 { text-align: center; position: relative; }
.s3 .n { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; font: 500 2rem var(--f-head); color: #fff; background: var(--c); box-shadow: 0 0 0 8px var(--bg), var(--shadow); position: relative; }
.s3 p { color: var(--ink-soft); font-size: .96em; max-width: 30ch; margin: 0 auto; }
.price-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: stretch; }
.pcard { background: var(--card); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.pcard h3 { display: flex; align-items: center; gap: 10px; }
.pcard h3 .ic { color: var(--warm); }
.checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li svg { color: var(--primary); margin-top: 4px; width: 20px; height: 20px; stroke-width: 2.4; }
.checks.bring li svg { color: var(--warm); }
.aids { margin-top: 24px; padding: 20px 22px; border-radius: 20px; background: color-mix(in srgb, var(--primary) 14%, var(--bg)); display: flex; gap: 14px; align-items: flex-start; }
.aids .ic { color: var(--primary); width: 30px; height: 30px; }
.cta-strip {
  margin-top: 28px; padding: clamp(26px, 4vw, 40px); border-radius: calc(var(--radius) * 1.3);
  background: var(--warm); color: #fff; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-strip::after { content: ""; position: absolute; right: -40px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.cta-strip h3 { margin: 0 0 4px; color: #fff; }
.cta-strip p { opacity: .92; margin: 0; }
.cta-strip .btn { --b: #fff; color: var(--warm); position: relative; z-index: 1; }
.cta-strip strong { color: #fff; }

/* ---------- Galerie ---------- */
.gallery { columns: 3 260px; column-gap: 16px; }
.gallery .g-item { break-inside: avoid; margin-bottom: 16px; cursor: zoom-in; }
.gallery .ph:not(.empty) { aspect-ratio: auto; }
.gallery .ph:not(.empty) img { height: auto; }
.gallery .g-item:nth-child(3n+1) .ph.empty { --ar: 4/5; }
.gallery .g-item:nth-child(3n) .ph.empty { --ar: 1/1; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(40, 26, 20, .88); display: grid; place-items: center; padding: 40px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1100px; }
.lightbox img { max-height: 80vh; border-radius: 18px; margin: 0 auto; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 10px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .15); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; cursor: pointer; }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 12px; top: 50%; } .lb-next { right: 12px; top: 50%; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.c-list { display: grid; gap: 14px; align-content: start; }
.c-item { display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: var(--card); border-radius: 22px; box-shadow: var(--shadow); text-decoration: none; transition: transform .35s var(--bounce); }
a.c-item:hover { transform: translateX(6px); }
.c-item .ico { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); flex: none; }
.c-item .ico svg { width: 24px; height: 24px; }
.c-item small { display: block; color: var(--ink-soft); font-size: .85rem; font-weight: 600; }
.c-item b { font-weight: 700; word-break: break-word; }
.map-link { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; gap: 8px; align-items: center; padding: 9px 16px; border-radius: 99px; background: var(--card); box-shadow: var(--shadow); font-weight: 700; font-size: .9rem; text-decoration: none; }
.map-link .ic { color: var(--warm); }
.legal { margin-top: 28px; padding: 18px 22px; border-radius: 18px; background: rgba(255, 255, 255, .06); font-size: .9rem; }
.legal strong { color: #fff; }
.map { position: relative; border-radius: calc(var(--radius) * 1.2); overflow: hidden; box-shadow: var(--shadow-lg); min-height: 380px; background: var(--sand); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: saturate(.75) sepia(.12); }
.soc-row { display: flex; gap: 10px; margin-top: 6px; }
.soc-row a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--card); box-shadow: var(--shadow); color: var(--ink); transition: transform .3s var(--bounce); }
.soc-row a:hover { transform: translateY(-3px) scale(1.08); }
.soc-row svg { width: 22px; height: 22px; }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; z-index: 2; background: var(--ink); color: color-mix(in srgb, #fff 82%, var(--ink)); padding: 50px 0 40px; margin-top: clamp(80px, 9vw, 130px); }
/* vagues en dégradé (sable → marron) : transition douce, sans effet d'escalier sur les écrans standards */
.f-wave { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: clamp(70px, 8vw, 120px); line-height: 0; pointer-events: none; }
.f-wave svg { width: 100%; height: 100%; display: block; }
.f-wave .w1 { fill: var(--sand); }
.f-wave .w2 { fill: color-mix(in srgb, var(--ink) 45%, var(--warm)); opacity: .55; }
.f-wave .w3 { fill: var(--ink); }
.f-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.f-logo { background: var(--bg); border-radius: 0 40px 40px 0; padding: 14px 24px 14px 0; display: inline-block; margin-left: calc(var(--gutter) * -1); }
.f-logo img { width: 230px; }
.site-footer h4 { color: #fff; font-size: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; opacity: .88; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.f-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .88rem; opacity: .8; }
.f-bottom .admin-link { display: inline-flex; align-items: center; gap: 6px; }
.f-bottom .admin-link svg { width: 16px; height: 16px; }

/* ---------- Barre d'accès rapide mobile ---------- */
.quickbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .menu a:not(.btn) { font-size: .95rem; padding: .45em .5em; }
  .pillars-nav { grid-template-columns: repeat(2, 1fr); }
}
/* menu burger dès que le logo et le menu ne tiennent plus côte à côte */
@media (max-width: 1400px) {
  .burger {
    display: grid; gap: 5px; width: 50px; height: 50px; place-content: center; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--card); box-shadow: var(--shadow); position: relative; z-index: 3;
  }
  .burger span { width: 22px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), opacity .2s; }
  .nav-open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-open .burger span:nth-child(2) { opacity: 0; }
  .nav-open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .menu {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 6px; background: var(--bg);
    clip-path: circle(0 at calc(100% - 45px) 34px); transition: clip-path .7s var(--ease); z-index: 2;
  }
  .nav-open .menu { clip-path: circle(150% at calc(100% - 45px) 34px); }
  .menu a:not(.btn) { font-size: 1.6rem; }
  .menu-cta { margin-top: 12px; }
  .nav-open .logo { z-index: 3; }
}
@media (max-width: 920px) {
  :root { --header-h: 68px; }
  .news-grid { grid-template-columns: 1fr; }
  .hero-grid, .welcome-grid, .duo, .pillar, .price-grid, .contact-grid { grid-template-columns: 1fr; }
  .pillar.flip .p-text { order: 0; }
  .collage { max-width: 560px; }
  .infos { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .f-grid > :first-child { grid-column: 1 / -1; }
  .quickbar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60;
    padding: 6px; border-radius: 24px; background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 30px -10px rgba(74, 46, 36, .45), 0 0 0 1px var(--line);
    transform: translateY(0); transition: transform .4s var(--ease);
  }
  .quickbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 18px; text-decoration: none; font-weight: 700; font-size: .78rem; color: var(--ink); }
  .quickbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .quickbar .qb-cta { background: var(--warm); color: #fff; }
  body { padding-bottom: 86px; }
  .nav-open .quickbar { transform: translateY(140%); }
}
@media (max-width: 720px) {
  :root { --base: 17px; --radius: 22px; }
  .logo { width: 210px; top: 6px; }
  .scrolled .logo { width: 88px; top: 8px; }
  .ln-top { font-size: 16px; } .ln-main { font-size: 15px; }
  .logo-name { left: calc(100% + 8px); }
  .hero { padding-top: 150px; }
  .hero-media { margin-top: 100px; }
  .hero-mascot { --mw: 150px; right: 5%; }
  .badges { grid-template-columns: 1fr; gap: 10px; }
  .badge { flex-direction: row; align-items: baseline; gap: 12px; padding: 16px 20px; }
  .pillars-nav { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pnav { padding: 18px; }
  .pnav small { display: none; }
  .timeline::before, .timeline .tl-fill { left: 20px; }
  .tl-sun { left: 20px; }
  .step, .step:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 22px 52px; }
  .step::after, .step:nth-child(even)::after { left: 11px; right: auto; }
  /* mobile : le texte passe autour de Boubouille pour garder des cartes compactes */
  .step .card.has-illu { display: block; padding-left: 14px; }
  .step .card.has-illu::after { content: ""; display: block; clear: both; }
  .step .illu { float: left; width: 64px; height: 84px; margin: 2px 12px 4px 0; }
  .steps3 { grid-template-columns: 1fr; }
  .steps3::before { display: none; }
  .f-grid { grid-template-columns: 1fr; }
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto !important; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .leaf-layer, .deco { display: none; }
  .hero-media .blob-bg, .video-card .play::before, .step .illu, .hero-mascot { animation: none; }
}

/* Images : pas de glisser-déposer ni de menu d'appui long (iOS) */
img, video { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }

/* repère de fin de section « Mots doux » : invite à poursuivre la visite */

.legal h5 { margin: 1.1em 0 .3em; font: 600 1rem var(--f-head); color: #fff; }
.legal ul { margin: .3em 0 .6em 1.2em; padding: 0; } .legal li { margin: .15em 0; }
