:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --ink: #16302f;
  --muted: #5a6b69;
  --primary: #0f4c5c;
  --primary-ink: #ffffff;
  --sage: #5f8f7b;
  --sage-soft: #e3efe9;
  --sand: #efe7da;
  --coral: #e07a5f;
  --coral-ink: #ffffff;
  --border: #e3e0d8;
  --radius: 22px;
  --shadow: 0 12px 40px rgba(15, 76, 92, .08);
  --maxw: 1120px;
  --f-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --f-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1b1c;
    --surface: #152627;
    --ink: #e7f0ee;
    --muted: #a5b8b5;
    --primary: #7cc3c9;
    --primary-ink: #0b2226;
    --sage: #8fbfa9;
    --sage-soft: #1b3330;
    --sand: #22302e;
    --coral: #f0957d;
    --coral-ink: #2a0f07;
    --border: #2a3f3f;
    --shadow: 0 12px 40px rgba(0, 0, 0, .4);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.7 var(--f-sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--primary); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: var(--surface); padding: 8px 12px; z-index: 100; }

h1, h2, h3 { font-family: var(--f-serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; font-variation-settings: "SOFT" 60, "opsz" 100; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
h3 { font-size: 1.3rem; }
h1 em, h2 em { font-style: italic; color: var(--sage); }
p { margin: 0 0 1em; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 58ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); margin-bottom: 1em; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.section-intro { max-width: 62ch; margin-bottom: 44px; }
.center.section-intro { margin-inline: auto; }

/* Header */
.topbar { background: var(--primary); color: var(--primary-ink); font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 12px; padding-block: 7px; flex-wrap: wrap; }
.topbar a { color: inherit; }
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.lang-switch { display: flex; gap: 2px; margin-left: auto; margin-right: 16px; font-size: .82rem; font-weight: 700; }
.lang-switch a { color: var(--muted); text-decoration: none; padding: 4px 8px; border-radius: 6px; border: 1px solid transparent; }
.lang-switch a:hover { color: var(--primary, currentColor); }
.lang-switch a[aria-current] { color: var(--primary, currentColor); border-color: var(--border); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); line-height: 1.15; }
.brand img { width: 40px; height: 40px; }
.brand b { font-family: var(--f-serif); font-weight: 600; font-size: 1.2rem; display: block; }
.brand small { font-size: .74rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: var(--primary); text-decoration: underline; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 99px; padding: 8px 16px; color: var(--ink); font: inherit; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; line-height: 1.3; transition: transform .15s, background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 8px 20px rgba(15, 76, 92, .22); }
.btn-accent { background: var(--coral); color: var(--coral-ink); box-shadow: 0 8px 20px rgba(224, 122, 95, .3); }
.btn-ghost { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-ghost:hover { background: var(--sage-soft); }
.btn-sm { padding: 9px 18px; font-size: .94rem; }
.btn-lg { padding: 16px 30px; font-size: 1.06rem; }

section { padding: 100px 0; }
.alt { background: var(--surface); }
.sand { background: var(--sand); }

/* Hero */
.hero { padding: 64px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 26px; display: flex; gap: 22px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.hero-note span::before { content: "✓"; color: var(--sage); font-weight: 700; margin-right: 6px; }
.hero-visual { position: relative; aspect-ratio: 1 / 1.02; }
.blob { position: absolute; inset: 4% 2% 6% 8%; background: var(--sage-soft); border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
.hero-visual svg.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.float-card { position: absolute; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); padding: 14px 16px; display: flex; gap: 12px; align-items: center; font-size: .9rem; line-height: 1.35; border: 1px solid var(--border); }
.float-card b { display: block; font-size: .95rem; }
.float-card small { color: var(--muted); }
.float-card .dot { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--sage-soft); color: var(--sage); flex: none; font-size: 1.1rem; }
.fc-1 { left: -4%; top: 14%; animation: bob 6s ease-in-out infinite; }
.fc-2 { right: -2%; bottom: 12%; animation: bob 7s ease-in-out infinite reverse; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 32px 0; border-top: 1px solid var(--border); }
.trust div { display: flex; gap: 14px; align-items: baseline; }
.trust b { font-family: var(--f-serif); font-size: 2.2rem; font-weight: 500; color: var(--primary); line-height: 1; }
.trust span { font-size: .9rem; color: var(--muted); line-height: 1.35; }

/* Grids & cards */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.hover-lift { transition: transform .25s, box-shadow .25s; }
.hover-lift:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(15, 76, 92, .14); }
.icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--sage-soft); color: var(--primary); margin-bottom: 18px; }
.icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); }
.card .more { font-weight: 600; text-decoration: none; display: inline-block; margin-top: 8px; }

/* Diagnostic */
.diag { display: grid; grid-template-columns: 1fr 1.05fr; gap: 0; background: var(--surface); border-radius: 28px; box-shadow: var(--shadow); border: 1px solid var(--border); overflow: hidden; }
.diag-form { padding: 40px; }
.diag-form fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.diag-form legend { font-weight: 600; margin-bottom: 10px; font-size: 1rem; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-block; padding: 9px 16px; border-radius: 99px; border: 1.5px solid var(--border); font-size: .93rem; cursor: pointer; transition: all .15s; background: var(--bg); }
.seg input:checked + span { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.seg input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.diag-out { background: var(--primary); color: #e9f3f1; padding: 40px; position: relative; }
.diag-out h3 { color: #fff; font-size: 1.5rem; }
.diag-out .count { font-family: var(--f-serif); font-size: 3.4rem; line-height: 1; color: #fff; }
.diag-list { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 12px; }
.diag-list li { background: rgba(255, 255, 255, .08); border-radius: 14px; padding: 12px 14px 12px 46px; position: relative; font-size: .93rem; line-height: 1.5; animation: fadein .35s ease; }
.diag-list li::before { content: "✓"; position: absolute; left: 14px; top: 12px; width: 22px; height: 22px; border-radius: 50%; background: #8fbfa9; color: #0b2226; display: grid; place-items: center; font-size: .75rem; font-weight: 800; }
.diag-list li.warn::before { content: "!"; background: var(--coral); color: #fff; }
.diag-list b { color: #fff; display: block; }
.diag-list small { color: #b9d3cf; }
.diag-out .btn { background: #fff; color: #0f4c5c; }
.diag-out .disclaimer { font-size: .78rem; color: #a9c6c1; margin-top: 16px; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } }

/* Parcours salarié */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.journey::before { content: ""; position: absolute; left: 8%; right: 8%; top: 30px; border-top: 2px dotted var(--sage); }
.journey li { list-style: none; text-align: center; padding: 0 14px; position: relative; }
.journey .n { width: 60px; height: 60px; border-radius: 50%; background: var(--surface); border: 2px solid var(--sage); color: var(--primary); display: grid; place-items: center; margin: 0 auto 16px; font-family: var(--f-serif); font-size: 1.4rem; }
.journey p { color: var(--muted); font-size: .95rem; }
ol.journey { padding: 0; margin: 0; }

/* Sessions / ateliers */
.events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.event { display: flex; flex-direction: column; gap: 6px; }
.event .date { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.event .cal { width: 58px; text-align: center; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); flex: none; }
.event .cal i { display: block; background: var(--coral); color: #fff; font-style: normal; font-size: .7rem; font-weight: 700; text-transform: uppercase; padding: 2px 0; }
.event .cal b { display: block; font-family: var(--f-serif); font-size: 1.5rem; font-weight: 500; padding: 2px 0; }
.event .kind { font-size: .78rem; font-weight: 600; color: var(--sage); text-transform: uppercase; letter-spacing: .06em; }
.event h3 { font-size: 1.15rem; margin: 0; }
.event .meta { font-size: .9rem; color: var(--muted); }
.event .btn { margin-top: auto; align-self: flex-start; }
.event .spacer { flex: 1; min-height: 10px; }
.notice { font-size: .86rem; color: var(--muted); text-align: center; margin-top: 22px; }

/* Équipe */
.member { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; }
.member img { width: 96px; height: 96px; border-radius: 50%; background: var(--sage-soft); }
.member h3 { margin: 0; font-size: 1.2rem; }
.member .role { color: var(--sage); font-weight: 600; font-size: .88rem; margin-bottom: 8px; }
.member p { font-size: .95rem; }

/* Témoignages */
.quote { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.quote p { font-family: var(--f-serif); font-size: 1.2rem; line-height: 1.5; color: var(--ink); font-style: italic; }
.quote footer { font-size: .9rem; color: var(--muted); margin-top: auto; }
.quote footer strong { color: var(--ink); display: block; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px 22px; margin-bottom: 12px; }
details[open] { box-shadow: var(--shadow); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; width: 26px; height: 26px; border-radius: 50%; background: var(--sage-soft); color: var(--primary); display: grid; place-items: center; flex: none; font-weight: 500; }
details[open] summary::after { content: "−"; }
details p { margin: .8em 0 0; color: var(--muted); }

/* CTA */
.cta-band { background: linear-gradient(135deg, #0f4c5c, #2f6f7e 60%, #5f8f7b); color: #fff; border-radius: 32px; padding: 64px 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .06); right: -120px; top: -140px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d6e9e5; }
.cta-actions { display: grid; gap: 12px; position: relative; }
.cta-band .btn-accent { box-shadow: none; }
.cta-band .btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .1); }

.todo { background: #fef08a; color: #422006; padding: 0 4px; border-radius: 3px; font-weight: 600; }

.sticky-cta { position: fixed; z-index: 60; left: 50%; bottom: 16px; transform: translate(-50%, 160%); transition: transform .3s; display: none; white-space: nowrap; }
.sticky-cta.show, .sticky-cta.show:hover { transform: translate(-50%, 0); }

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .1s; }
.js .reveal.d2 { transition-delay: .2s; }
.js .reveal.d3 { transition-delay: .3s; }

.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 56px 0 96px; color: var(--muted); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.site-footer a { color: var(--muted); }
.site-footer strong { color: var(--ink); font-family: var(--f-serif); font-weight: 600; font-size: 1.05rem; }

/* Page services */
.page-hero { padding: 72px 0 56px; background: var(--sage-soft); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 80px; }
.split.rev > :first-child { order: 2; }
.panel { background: var(--surface); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.panel dl { margin: 0; display: grid; gap: 14px; }
.panel dt { font-weight: 600; }
.panel dd { margin: 0; color: var(--muted); font-size: .95rem; }
ul.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
ul.ticks li { padding-left: 32px; position: relative; }
ul.ticks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--sage-soft); color: var(--sage); display: grid; place-items: center; font-size: .75rem; font-weight: 800; }
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price { display: flex; flex-direction: column; gap: 10px; }
.price .amount { font-family: var(--f-serif); font-size: 2.2rem; color: var(--primary); line-height: 1.1; }
.price .amount small { font-family: var(--f-sans); font-size: .9rem; color: var(--muted); }
.price.featured { border: 2px solid var(--primary); }
.price .btn { margin-top: auto; }

/* Bloc « Quoi de neuf ? » (campagne du mois) */
.campagne-section { padding: 72px 0 0; }
.campagne { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; border-left: 6px solid var(--coral); }
.campagne h2 { margin: 4px 0 10px; }
.campagne p:last-of-type { margin-bottom: 12px; }
.campagne-badge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-soft); color: var(--sage); }
.campagne-badge svg { width: 32px; height: 32px; }
@media (max-width: 520px) { .campagne { grid-template-columns: 1fr; gap: 16px; } }

@media (max-width: 900px) {
  section { padding: 68px 0; }
  .hero { padding: 40px 0 64px; }
  .hero-grid, .grid-2, .grid-3, .grid-4, .diag, .faq-grid, .cta-band, .split, .pricing, .events { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .trust { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .journey { grid-template-columns: 1fr; gap: 26px; }
  .journey::before { display: none; }
  .journey li { display: grid; grid-template-columns: 60px 1fr; gap: 16px; text-align: left; padding: 0; }
  .journey .n { margin: 0; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .diag-form, .diag-out { padding: 28px 22px; }
  .cta-band { padding: 44px 24px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg); padding: 16px 20px; border-bottom: 1px solid var(--border); gap: 14px; }
  .nav.open { display: flex; }
  .sticky-cta { display: inline-flex; }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 520px) {
  .member { grid-template-columns: 1fr; }
  .fc-1 { left: 0; } .fc-2 { right: 0; }
  .brand small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .fc-1, .fc-2, .diag-list li { animation: none; }
  .btn, .hover-lift, .sticky-cta { transition: none; }
}
