/* ==========================================================================
   Feel Good Agency — feuille de style
   Direction : wellness premium, éditorial, ancré dans les couleurs du Sénégal.
   Thème clair par défaut, thème nuit via [data-theme="dark"] sur <html>.
   Chaque pôle a sa couleur (--pole) : bien-être, entreprise, yeewu, engagement.
   ========================================================================== */

:root {
  --paper: #faf6ef;
  --paper-2: #f3ece0;
  --paper-3: #e9e0cf;
  --card: #ffffff;
  --ink: #1b2420;
  --ink-soft: rgba(27, 36, 32, 0.76);
  --muted: #6b6a60;
  --line: rgba(27, 36, 32, 0.12);
  --glass: rgba(250, 246, 239, 0.8);
  --forest: #1f4a2c;
  --accent: #4f9a2d;
  --accent-rgb: 79, 154, 45;
  --accent-ink: #ffffff;
  --sun: #e0a21f;
  --terra: #c4553b;
  --ocean: #22577a;
  --shadow: 0 30px 70px -35px rgba(27, 36, 32, 0.45);
  --shadow-sm: 0 12px 30px -18px rgba(27, 36, 32, 0.35);

  --c-bien-etre: #4f9a2d;
  --c-entreprise: #22577a;
  --c-yeewu: #d9951a;
  --c-engagement: #c4553b;
  --pole: var(--accent);

  --radius: 22px;
  --radius-sm: 14px;
  --arch: 999px 999px 26px 26px;
  --max: 1280px;
  --gutter: 24px;
  --section: clamp(80px, 10vw, 150px);
  --section-tight: clamp(48px, 6vw, 80px);
  --font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --paper: #0f1411;
  --paper-2: #161c18;
  --paper-3: #1f2621;
  --card: #18201b;
  --ink: #f1ece2;
  --ink-soft: rgba(241, 236, 226, 0.8);
  --muted: #a7a499;
  --line: rgba(241, 236, 226, 0.12);
  --glass: rgba(15, 20, 17, 0.78);
  --forest: #a9d98a;
  --accent: #7cc04b;
  --accent-rgb: 124, 192, 75;
  --accent-ink: #0f1411;
  --sun: #f2c14e;
  --terra: #e27a5f;
  --ocean: #6fa8cf;
  --shadow: 0 30px 70px -35px rgba(0, 0, 0, 0.9);
  --shadow-sm: 0 12px 30px -18px rgba(0, 0, 0, 0.8);
  --c-bien-etre: #7cc04b;
  --c-entreprise: #6fa8cf;
  --c-yeewu: #f2c14e;
  --c-engagement: #e88a70;
  color-scheme: dark;
}

.pole-bien-etre { --pole: var(--c-bien-etre); }
.pole-entreprise { --pole: var(--c-entreprise); }
.pole-yeewu { --pole: var(--c-yeewu); }
.pole-engagement { --pole: var(--c-engagement); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html.theme-anim *, html.theme-anim *::before { transition: background-color .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease) !important; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 16px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 980px; }

.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; background: linear-gradient(90deg, var(--c-bien-etre), var(--c-yeewu), var(--c-engagement), var(--c-entreprise)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Typographie ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.eyebrow--dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pole); }
.eyebrow--pole { color: var(--pole); }
.serif { font-family: var(--serif); font-optical-sizing: auto; letter-spacing: -0.015em; }
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -0.025em; line-height: 1.02; font-variation-settings: "SOFT" 50; }
.display em, .serif em, .h2 em { font-style: italic; color: var(--pole); font-weight: 300; }
.h2 { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -0.025em; }
.lead { font-family: var(--serif); font-size: clamp(21px, 2.2vw, 28px); line-height: 1.38; letter-spacing: -0.01em; color: var(--ink); font-weight: 300; }
.muted { color: var(--muted); }

/* ---------- Boutons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1.2;
  border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-family: inherit;
  transition: color .45s var(--ease), border-color .45s, transform .45s var(--ease), box-shadow .45s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--fill, var(--ink)); transform: translateY(102%); transition: transform .55s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--paper); border-color: var(--fill, var(--ink)); }
.btn--primary { background: var(--forest); color: var(--paper); border-color: var(--forest); --fill: var(--accent); }
:root[data-theme="dark"] .btn--primary { color: #0f1411; }
.btn--primary:hover { color: var(--accent-ink); }
.btn--pole { background: var(--pole); color: #fff; border-color: var(--pole); --fill: var(--ink); }
:root[data-theme="dark"] .btn--pole { color: #0f1411; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn .arrow { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--pole); }
.link .arrow { transition: transform .4s var(--ease); }
.link:hover .arrow { transform: translateX(5px); }

/* ---------- En-tête ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .4s var(--ease), border-color .4s, transform .5s var(--ease); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: var(--glass); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { max-width: var(--max); margin: 0 auto; padding: 16px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.brand { display: inline-flex; align-items: center; color: var(--ink); flex: none; }

/* ---------- Logo (texte recolorable + palmier animé) ---------- */
.logo { position: relative; display: inline-block; height: 50px; transition: height .5s var(--ease); }
.is-scrolled .logo { height: 40px; }
@media (max-width: 600px) { .logo { height: 40px; } .is-scrolled .logo { height: 34px; } }
.logo--lg { height: 92px; }
.logo__text { position: absolute; inset: 0; background: currentColor; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.logo__palm { position: absolute; height: auto; max-width: none; transform-origin: 52% 92%; transition: rotate .7s var(--ease), scale .7s var(--ease); }
.brand:hover .logo__palm, .footer-brand:hover .logo__palm { rotate: 7deg; scale: 1.06; }
.js .logo__text { clip-path: inset(0 100% 0 0); animation: logo-wipe 1.5s var(--ease) .15s forwards; }
.js .logo__palm { animation: palm-grow 1.2s var(--ease) .45s both, palm-sway 6s ease-in-out 1.7s infinite; }
@keyframes logo-wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes palm-grow { from { transform: scale(.2) rotate(-18deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes palm-sway { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-3deg); } 70% { transform: rotate(2.5deg); } }

.nav { display: flex; align-items: center; gap: 14px; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links > a, .nav__drop > button { font: 500 15px/1 var(--font); padding: 10px 12px; border-radius: 999px; background: none; border: 0; color: var(--ink); cursor: pointer; transition: background .3s; display: inline-flex; align-items: center; gap: 6px; }
.nav__links > a:hover, .nav__drop:hover > button, .nav__links > a[aria-current="page"], .nav__drop.is-current > button { background: var(--paper-2); }
.nav__drop { position: relative; }
.nav__drop > button svg { width: 12px; height: 12px; transition: transform .3s; }
.nav__drop:hover > button svg, .nav__drop:focus-within > button svg { transform: rotate(180deg); }
.nav__panel {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 560px; transform: translate(-50%, 8px);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transition: all .35s var(--ease);
}
.nav__panel::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.nav__drop:hover .nav__panel, .nav__drop:focus-within .nav__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__panel a { display: grid; grid-template-columns: 12px 1fr; gap: 4px 12px; padding: 14px; border-radius: var(--radius-sm); transition: background .3s; }
.nav__panel a:hover { background: var(--paper-2); }
.nav__panel a i { grid-row: span 2; width: 12px; height: 12px; border-radius: 50%; background: var(--pole); margin-top: 5px; }
.nav__panel a strong { font-weight: 600; }
.nav__panel a span { color: var(--muted); font-size: 14px; line-height: 1.4; }

.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a { font: 600 12px/1 var(--font); letter-spacing: .08em; padding: 7px 9px; border-radius: 999px; color: var(--muted); transition: all .3s; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { background: var(--ink); color: var(--paper); }

.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; transition: transform .5s var(--ease), background .3s; }
.icon-btn:hover { background: var(--paper-2); }
.theme-toggle:hover { transform: rotate(25deg); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: block; }

.menu-toggle { display: none; }
.menu-toggle span { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; transition: transform .4s var(--ease); }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.menu-toggle span::before { top: -5px; } .menu-toggle span::after { top: 5px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 49; background: var(--paper); overflow-y: auto;
  padding: 96px var(--gutter) 36px; display: flex; flex-direction: column; gap: 32px;
  clip-path: circle(0% at calc(100% - 44px) 36px); visibility: hidden; transition: clip-path .8s var(--ease), visibility .8s;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 36px); visibility: visible; }
.mobile-menu ul { display: grid; gap: 2px; }
.mobile-menu li { overflow: hidden; }
.mobile-menu a.big { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: clamp(30px, 8vw, 46px); letter-spacing: -0.02em; line-height: 1.2; transform: translateY(110%); transition: transform .7s var(--ease), color .3s; }
.mobile-menu a.big i { width: 10px; height: 10px; border-radius: 50%; background: var(--pole); }
.mobile-menu a.sub { font-size: clamp(22px, 6vw, 30px); padding-left: 22px; }
.mobile-menu.is-open a.big { transform: none; }
.mobile-menu li:nth-child(n) a.big { transition-delay: calc(var(--i, 0) * 40ms + 100ms); }
.mobile-menu__foot { display: grid; gap: 14px; color: var(--muted); font-size: 15px; margin-top: auto; }

@media (max-width: 1120px) {
  .nav__links, .nav .btn { display: none; }
  .menu-toggle { display: grid; }
  .nav { gap: 8px; }
}
@media (max-width: 420px) { .site-header .lang { display: none; } .brand__txt { font-size: 18px; } }

/* ---------- Héros ---------- */
.hero { position: relative; overflow: clip; padding: 130px 0 var(--section-tight); background: var(--paper); isolation: isolate; }
.hero::before { /* halo coloré du pôle */
  content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -260px; top: -320px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--pole) 22%, transparent), transparent 62%);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-80px, 60px) scale(1.1); } }
.hero__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 72px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.crumbs a:hover { color: var(--ink); }
.hero h1 { font-size: clamp(38px, 7vw, 104px); overflow-wrap: break-word; hyphens: auto; }
.hero--home h1 { font-size: clamp(40px, 7.6vw, 118px); }
.hero__sub { margin: 28px 0 0; max-width: 560px; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 13px; font-weight: 500; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pole); }

.hero__visual { position: relative; justify-self: center; width: min(100%, 520px); }
.arch { position: relative; aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; background: var(--paper-3); box-shadow: var(--shadow); }
.arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 2.6s var(--ease); }
.is-loaded .arch img { transform: scale(1.02); }
.hero__visual .bubble { position: absolute; left: -36px; bottom: 60px; width: 40%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--paper); box-shadow: var(--shadow-sm); animation: float 7s ease-in-out infinite; }
.hero__visual .bubble img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual .badge { position: absolute; right: -14px; top: 40px; max-width: 220px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--card); box-shadow: var(--shadow-sm); font-size: 13px; line-height: 1.4; display: flex; gap: 10px; align-items: flex-start; animation: float 8s ease-in-out -3s infinite; }
.hero__visual .badge b { display: block; font-size: 14px; }
.hero__visual .badge::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 4px; border-radius: 50%; background: var(--pole); box-shadow: 0 0 0 5px color-mix(in srgb, var(--pole) 25%, transparent); }
.spin { position: absolute; right: 4%; bottom: -40px; width: 130px; height: 130px; animation: spin 22s linear infinite; color: var(--ink); }
.spin text { font: 600 10.4px var(--font); letter-spacing: .32em; text-transform: uppercase; fill: currentColor; }
.spin .core { fill: var(--pole); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-12px); } }
@media (max-width: 600px) { .hero__visual .bubble { left: -8px; } .hero__visual .badge { right: 0; } .spin { width: 100px; height: 100px; } }

/* Titre découpé en mots */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .12em; margin: 0 -.04em -.12em; }
.split .w > span { display: inline-block; transform: translateY(115%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 70ms + 120ms); }
.is-loaded .split .w > span { transform: none; }

/* ---------- Bandeau défilant ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 20px 0; background: var(--paper); }
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.marquee__group span { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 46px); letter-spacing: -0.02em; white-space: nowrap; }
.marquee__group span:nth-of-type(even) { font-style: italic; font-weight: 300; color: var(--muted); }
.marquee__group i { width: 12px; height: 12px; border-radius: 50%; flex: none; background: var(--c-bien-etre); }
.marquee__group i:nth-of-type(4n+2) { background: var(--c-yeewu); }
.marquee__group i:nth-of-type(4n+3) { background: var(--c-engagement); }
.marquee__group i:nth-of-type(4n+4) { background: var(--c-entreprise); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; background: var(--paper); }
.section--alt { background: var(--paper-2); }
.section--tint { background: color-mix(in srgb, var(--pole) 9%, var(--paper)); }
.section--forest { background: var(--forest); color: #f1ece2; --ink: #f1ece2; --ink-soft: rgba(241,236,226,.8); --muted: rgba(241,236,226,.65); --line: rgba(241,236,226,.16); --pole: #a9d98a; }
:root[data-theme="dark"] .section--forest { background: #13301d; }
.pad { padding-block: var(--section); }
.pad-b { padding-bottom: var(--section); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.section-head > div { max-width: 720px; }
.section-head .h2 { margin-top: 16px; }
.section-head p.muted { max-width: 440px; margin: 0; }
.center { text-align: center; }
.center .section-head { justify-content: center; text-align: center; }

/* Intro : méta + texte */
.intro { display: grid; gap: 48px; }
@media (min-width: 1000px) { .intro { grid-template-columns: 290px 1fr; gap: 96px; } }
.meta { align-self: start; padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
@media (min-width: 1000px) { .meta { position: sticky; top: 104px; } }
.meta dl { margin: 18px 0 0; display: grid; gap: 18px; }
.meta dt { margin-bottom: 2px; }
.meta dd { margin: 0; font-size: 15.5px; }
.meta .link { margin-top: 24px; }
.prose { max-width: 760px; }
.prose .lead { margin-bottom: 34px; }
.prose h3 { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.015em; margin: 48px 0 14px; }
.prose h3:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 600; }
.checklist { display: grid; gap: 12px; margin: 8px 0 24px; }
.checklist li { position: relative; padding-left: 32px; color: var(--ink-soft); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--pole) 16%, transparent); }
.checklist li::after { content: ""; position: absolute; left: 6px; top: calc(.3em + 6px); width: 8px; height: 5px; border-left: 2px solid var(--pole); border-bottom: 2px solid var(--pole); transform: rotate(-45deg); }
.note { margin: 30px 0; padding: 20px 22px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--sun) 14%, var(--paper)); display: flex; gap: 14px; align-items: flex-start; }
.note::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--sun); animation: pulse 2.4s infinite; }
.note p { margin: 0; color: var(--ink); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(224,162,31,.5); } 70%, 100% { box-shadow: 0 0 0 10px rgba(224,162,31,0); } }

/* ---------- Piliers (4 pôles) ---------- */
.pillars { display: grid; gap: 16px; }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pillars { display: flex; gap: 16px; height: 600px; } }
.pillar {
  position: relative; flex: 1; min-height: 460px; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: #fff;
  transition: flex .8s var(--ease), box-shadow .6s;
}
@media (min-width: 1100px) { .pillar:hover { flex: 1.7; } .pillar { min-height: 0; } }
.pillar img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pillar::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, color-mix(in srgb, var(--pole) 55%, #000) 100%); opacity: .92; transition: opacity .6s; }
.pillar:hover img { transform: scale(1.06); }
.pillar:hover { box-shadow: var(--shadow); }
.pillar__num { position: absolute; top: 24px; left: 28px; font-family: var(--serif); font-size: 18px; font-style: italic; }
.pillar__dot { position: absolute; top: 24px; right: 24px; width: 46px; height: 46px; border-radius: 50%; background: var(--pole); display: grid; place-items: center; font-size: 18px; transition: transform .6s var(--ease); color: #fff; }
.pillar:hover .pillar__dot { transform: rotate(-45deg); }
.pillar h3 { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; letter-spacing: -0.02em; }
.pillar p { margin: 12px 0 0; color: rgba(255,255,255,.86); font-size: 15.5px; max-width: 360px; }
.pillar .more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.pillar .more > div { overflow: hidden; }
.pillar:hover .more, .pillar:focus-visible .more { grid-template-rows: 1fr; }
@media (max-width: 1099px) { .pillar .more { grid-template-rows: 1fr; } }
.pillar .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pillar .chips span { font-size: 12.5px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); }

/* ---------- Bloc image + texte ---------- */
.split-block { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split-block { grid-template-columns: 1fr 1fr; gap: 88px; } .split-block.reverse > :first-child { order: 2; } }
.frame { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; background: var(--paper-3); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--arch { border-radius: var(--arch); aspect-ratio: 4 / 5; max-width: 480px; }
.frame--contain { background: #fff; }
.frame--contain img { object-fit: contain; padding: 8%; }
.frame-wrap { position: relative; }
.frame-wrap::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius); background: color-mix(in srgb, var(--pole) 18%, transparent); z-index: 0; }
.frame-wrap .frame { z-index: 1; }
.frame-wrap.arched::before { border-radius: var(--arch); max-width: 480px; }
.split-block .h2 { margin: 16px 0 24px; }
.split-block p { color: var(--ink-soft); }
.split-block .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Galerie ---------- */
.gallery { display: grid; gap: clamp(14px, 2vw, 24px); }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper-3); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery--full figure { aspect-ratio: 21 / 9; }
.gallery--two { grid-template-columns: 1fr; }
@media (min-width: 760px) { .gallery--two { grid-template-columns: 1.2fr .8fr; } .gallery--two figure:nth-child(2) { border-radius: var(--arch); } }
.gallery--two figure { aspect-ratio: 4 / 3.4; }
.gallery--mosaic { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery--mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; } .gallery--mosaic figure:nth-child(1) { grid-column: span 2; grid-row: span 2; } .gallery--mosaic figure:nth-child(4) { grid-column: span 2; } }
.gallery--mosaic figure { aspect-ratio: auto; min-height: 180px; position: relative; }
.gallery--mosaic figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(8px); font-size: 13px; font-weight: 500; }
.gallery figure.contain { background: #fff; }
.gallery figure.contain img { object-fit: contain; padding: 8%; }
[data-parallax] { scale: 1.14; will-change: transform; }

/* ---------- Cartes ---------- */
.cards { display: grid; gap: clamp(18px, 2.4vw, 28px); }
@media (min-width: 720px) { .cards--2, .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 12px 24px; transition: transform .6s var(--ease), box-shadow .6s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__media { position: relative; border-radius: calc(var(--radius) - 8px); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 0 12px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-family: var(--serif); font-size: clamp(22px, 2vw, 27px); letter-spacing: -0.015em; line-height: 1.15; }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.card .link { margin-top: auto; padding-top: 8px; }
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; color: var(--pole); background: color-mix(in srgb, var(--pole) 13%, transparent); }

/* Services numérotés */
.service { display: grid; gap: 20px; padding: 30px 0; border-top: 1px solid var(--line); align-items: center; position: relative; }
.service::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--pole); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.service:hover::before { transform: scaleX(1); }
.service:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .service { grid-template-columns: 80px 1fr 280px; gap: 40px; } }
.service__num { font-family: var(--serif); font-style: italic; color: var(--pole); font-size: 26px; }
.service h3 { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.015em; line-height: 1.1; margin-bottom: 10px; transition: transform .5s var(--ease); }
.service:hover h3 { transform: translateX(6px); }
.service p { color: var(--ink-soft); margin: 0; max-width: 620px; }
.service__media { border-radius: 999px; overflow: hidden; aspect-ratio: 16 / 9; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.service:hover .service__media img { transform: scale(1.08); }

/* Tuiles */
.tiles { display: grid; gap: 16px; }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .tiles--3 { grid-template-columns: repeat(3, 1fr); } }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; transition: transform .5s var(--ease), box-shadow .5s, border-color .5s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: color-mix(in srgb, var(--pole) 40%, transparent); }
.tile__icon { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--pole); background: color-mix(in srgb, var(--pole) 13%, transparent); transition: transform .6s var(--ease), background .4s, color .4s; }
.tile:hover .tile__icon { transform: rotate(-10deg) scale(1.08); background: var(--pole); color: #fff; }
.tile h3 { font-family: var(--serif); font-size: 24px; letter-spacing: -0.01em; line-height: 1.2; }
.tile p { color: var(--muted); margin: 0; }
.tile ul { display: grid; gap: 7px; color: var(--ink-soft); font-size: 15.5px; }
.tile ul li { padding-left: 18px; position: relative; }
.tile ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--pole); }
.tile .link { margin-top: auto; padding-top: 6px; }

/* Déclaration */
.statement { max-width: 1060px; margin: 0 auto; text-align: center; }
.statement .big { font-family: var(--serif); font-size: clamp(28px, 3.8vw, 50px); line-height: 1.2; letter-spacing: -0.02em; margin: 22px 0 0; font-weight: 300; }
.statement .big em { font-style: italic; color: var(--pole); background: linear-gradient(currentColor, currentColor) 0 95% / 0 1px no-repeat; transition: background-size 1.4s var(--ease) .4s; }
.is-in .big em, .statement.is-in .big em { background-size: 100% 1px; }

/* Citation */
.quote { text-align: center; max-width: 960px; margin: 0 auto; }
.quote__mark { font-family: var(--serif); font-size: 120px; line-height: .6; color: var(--pole); height: 50px; }
.quote blockquote { margin: 20px 0 28px; font-family: var(--serif); font-size: clamp(28px, 4vw, 50px); line-height: 1.16; letter-spacing: -0.02em; font-weight: 300; }
.quote cite { font-style: normal; display: grid; gap: 2px; }
.quote cite span { color: var(--muted); font-size: 15px; }

/* Repères chiffrés */
.values { display: grid; gap: 16px; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.value strong { display: block; font-family: var(--serif); font-size: clamp(34px, 3.8vw, 50px); font-weight: 400; letter-spacing: -0.02em; line-height: 1; margin-bottom: 12px; color: var(--pole); }
.value span { color: var(--muted); font-size: 15px; }
.value:nth-child(4n+2) { --pole: var(--c-yeewu); } .value:nth-child(4n+3) { --pole: var(--c-engagement); } .value:nth-child(4n+4) { --pole: var(--c-entreprise); }

/* Frise (histoire) */
.timeline { position: relative; display: grid; gap: 28px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -34px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--pole); }
.timeline b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 400; margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--ink-soft); }

/* Équipe */
.person { text-align: center; }
.person .frame { aspect-ratio: 4 / 5; border-radius: var(--arch); margin-bottom: 18px; }
.person h3 { font-family: var(--serif); font-size: 24px; }
.person p { margin: 4px 0 0; color: var(--muted); }

/* Catalogue de programmes */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { font: 600 14px/1 var(--font); padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all .3s; }
.filters button i { width: 8px; height: 8px; border-radius: 50%; background: var(--pole); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.program.is-hidden { display: none; }
.program { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.program .card__media { aspect-ratio: 16 / 10; }

/* Actualités */
.news { display: grid; gap: 22px; }
@media (min-width: 900px) { .news { grid-template-columns: repeat(3, 1fr); } .news .news__item:first-child { grid-column: span 2; grid-row: span 2; } .news .news__item:first-child .card__media { aspect-ratio: 16 / 10; } }
.news time { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }

/* Blocs à compléter */
.todo { border: 1.5px dashed color-mix(in srgb, var(--pole) 45%, var(--line)); background: color-mix(in srgb, var(--pole) 5%, transparent); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; justify-content: center; min-height: 180px; }
.todo .chip { background: transparent; border: 1px solid currentColor; }
.todo h3 { font-family: var(--serif); font-size: 22px; }
.todo p { color: var(--muted); margin: 0; font-size: 15px; }
.logos { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .logos { grid-template-columns: repeat(4, 1fr); } }
.logo-slot { aspect-ratio: 3 / 2; border-radius: var(--radius-sm); border: 1.5px dashed var(--line); display: grid; place-items: center; color: var(--muted); font-size: 13px; text-align: center; padding: 12px; background: var(--card); }

/* Programme suivant */
.next { display: block; position: relative; overflow: hidden; isolation: isolate; }
.next__inner { max-width: var(--max); margin: 0 auto; padding: var(--section) var(--gutter); text-align: center; position: relative; z-index: 1; transition: color .5s; }
.next h2 { font-family: var(--serif); font-size: clamp(46px, 9vw, 140px); line-height: 1; letter-spacing: -0.03em; margin: 16px 0 26px; transition: transform .8s var(--ease); }
.next h2 em { font-style: italic; color: var(--pole); transition: color .5s; }
.next__bg { position: absolute; inset: 0; z-index: -1; clip-path: circle(0% at 50% 50%); transition: clip-path 1s var(--ease); }
.next__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.4); transform: scale(1.1); transition: transform 1.6s var(--ease); }
.next__bg::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--pole) 35%, transparent); mix-blend-mode: multiply; }
.next:hover .next__bg { clip-path: circle(75% at 50% 50%); }
.next:hover .next__bg img { transform: scale(1); }
.next:hover .next__inner { color: #fff; }
.next:hover h2 { transform: scale(1.03); }
.next:hover h2 em { color: #fff; }
.next:hover .eyebrow { color: rgba(255,255,255,.8); }
.next:hover .btn { color: #fff; border-color: rgba(255,255,255,.5); }

/* Formulaire */
.form-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .form-grid { grid-template-columns: .9fr 1.1fr; gap: 88px; } }
.form-grid .h2 { margin: 16px 0 20px; }
.contact-lines { display: grid; gap: 12px; margin-top: 32px; }
.contact-lines a { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s; overflow-wrap: anywhere; }
.contact-lines a:hover { transform: translateX(6px); border-color: var(--pole); }
.contact-lines a i { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--pole) 14%, transparent); color: var(--pole); font-style: normal; }
.contact-lines a small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
form.contact { display: grid; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-sm); }
form.contact .row { display: grid; gap: 16px; }
@media (min-width: 640px) { form.contact .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 15px; font: 16px/1.4 var(--font); transition: border-color .25s, box-shadow .25s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .15); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); font-size: 13px; max-width: 320px; }
.form-status { color: var(--accent); font-size: 15px; min-height: 1.4em; margin: 0; }

/* CTA + pied de page */
.cta { padding: var(--section-tight) var(--gutter); background: var(--paper); }
.cta__box { position: relative; overflow: hidden; isolation: isolate; max-width: var(--max); margin: 0 auto; border-radius: calc(var(--radius) + 10px); background: var(--forest); color: #f1ece2; padding: clamp(56px, 8vw, 110px) var(--gutter); text-align: center; }
:root[data-theme="dark"] .cta__box { background: #13301d; }
.cta__box .h2 { font-size: clamp(38px, 6vw, 86px); max-width: 15ch; margin: 18px auto 34px; }
.cta__box .h2 em { color: #a9d98a; }
.cta__box .eyebrow { color: rgba(241,236,226,.7); }
.cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta__box .btn { color: #f1ece2; border-color: rgba(241,236,226,.3); --fill: #f1ece2; }
.cta__box .btn:hover { color: #1f4a2c; }
.cta__box .btn--light { background: #f1ece2; color: #1f4a2c; border-color: #f1ece2; --fill: #a9d98a; }
.cta__blob { position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%; filter: blur(70px); opacity: .5; animation: drift 12s ease-in-out infinite alternate; }
.cta__blob.a { background: var(--c-yeewu); left: -160px; top: -200px; }
.cta__blob.b { background: var(--c-engagement); right: -180px; bottom: -240px; animation-delay: -6s; opacity: .35; }

.site-footer { background: var(--paper); }
.footer-grid { max-width: var(--max); margin: 0 auto; padding: var(--section-tight) var(--gutter) 36px; display: grid; gap: 40px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-grid h4 { margin-bottom: 14px; }
.footer-grid ul { display: grid; gap: 9px; }
.footer-grid a { transition: color .3s; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid p { color: var(--muted); margin: 16px 0 0; max-width: 320px; font-size: 15px; }
.footer-brand { display: inline-flex; color: var(--ink); }
.footer-bottom { max-width: var(--max); margin: 0 auto; padding: 22px var(--gutter) 34px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }

/* WhatsApp flottant */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0,0,0,.25); transition: transform .4s var(--ease); animation: wa-in .8s var(--ease) 1.4s both; }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
.wa-float svg { width: 28px; height: 28px; }
@keyframes wa-in { from { transform: scale(0); } }

/* ---------- Apparition au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="img"] { opacity: 1; transform: none; clip-path: inset(12% 8% 12% 8% round var(--radius)); transition: clip-path 1.4s var(--ease); }
.js [data-reveal="img"] > img { transform: scale(1.25); transition: transform 1.8s var(--ease); }
.js [data-reveal="img"].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js [data-reveal="img"].is-in > img { transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease), box-shadow .6s, flex .8s var(--ease), border-color .5s; transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-stagger].is-in > *:hover { transition-delay: 0s; }
.js .checklist[data-stagger] > * { transform: translateX(-16px); }
.js .checklist[data-stagger].is-in > * { transform: none; }
.js .card:hover { transform: translateY(-6px) !important; }
.js .tile:hover { transform: translateY(-4px) !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js [data-stagger] > * { opacity: 1; transform: none; clip-path: none; }
  .js [data-reveal="img"] > img, .arch img, .split .w > span { transform: none; }
  .js .logo__text { clip-path: none; }
  [data-parallax] { scale: 1; }
}
