/* BookSeed — layout fidèle maquette Eduvance (vert / jaune / blanc) */
:root {
  --green: #2DBE60;
  --green-mid: #22A45A;
  --green-dark: #178A48;
  --green-deep: #0E4D2C;
  --green-footer: #0A3D24;
  --green-soft: #E8F9EE;
  --lime: #8FE06A;
  --yellow: #F5B820;
  --yellow-hot: #F0A000;
  --yellow-soft: #FFF4CC;
  --dark: #0F2418;
  --text: #1A2E22;
  --muted: #5F7466;
  --white: #FFFFFF;
  --bg: #FAFFFC;
  --border: #D5E8DB;
  --nav-h: 76px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 48px;
  --shadow: 0 12px 40px rgba(15, 36, 24, 0.09);
  --shadow-sm: 0 6px 20px rgba(15, 36, 24, 0.06);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Nunito", "Plus Jakarta Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --container: min(1140px, calc(100% - 40px));
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.container { width: var(--container); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--yellow); color: var(--dark);
  padding: 10px 16px; font-weight: 800; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

.pill {
  display: inline-flex; align-items: center;
  padding: 7px 16px; border-radius: 999px;
  background: var(--lime); color: var(--dark);
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 14px;
}
.pill-light { background: rgba(255,255,255,0.22); color: #fff; }
.section { padding: 80px 0; position: relative; }
.section-title {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 900; letter-spacing: -0.03em;
  line-height: 1.12; margin-bottom: 14px; color: var(--dark);
}
.section-title .accent { color: var(--green); }
.section-title .accent-y { color: var(--yellow); }
.section-lead {
  color: var(--muted); max-width: 48ch;
  margin-bottom: 28px; font-size: 1rem; line-height: 1.7;
}

/* Buttons — maquette: pill jaunes / verts */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px;
  font-weight: 800; font-size: 0.92rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-yellow {
  background: var(--yellow); color: var(--dark);
  box-shadow: 0 10px 28px rgba(245, 184, 32, 0.4);
}
.btn-yellow:hover { background: var(--yellow-hot); }
.btn-green { background: var(--green); color: #fff; }
.btn-outline {
  border: 1.5px solid var(--dark); background: transparent; color: var(--dark);
}
.btn-ghost-white {
  border: 1.5px solid rgba(255,255,255,0.55); color: #fff;
}
.btn-sm { padding: 11px 20px; font-size: 0.84rem; }
.btn-full { width: 100%; }
.btn-ghost-link {
  display: inline-flex; margin-top: 8px;
  font-weight: 700; font-size: 0.9rem; color: var(--green-dark);
}
.btn-signup {
  padding: 11px 22px; border-radius: 999px;
  background: var(--yellow); color: var(--dark);
  font-size: 0.84rem; font-weight: 800;
  box-shadow: 0 6px 18px rgba(245, 184, 32, 0.3);
  white-space: nowrap; flex-shrink: 0;
}

/* Nav */
.site-nav {
  position: sticky; top: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.nav-inner {
  width: var(--container); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-width: 0;
}
.logo {
  font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; color: var(--dark);
  min-width: 0; flex: 1 1 auto;
}
.logo span { color: var(--green); }
.logo small {
  display: block; font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: -2px;
}
.logo-img { display: flex; align-items: center; gap: 10px; }
.logo-img img {
  width: 46px; height: 46px; border-radius: 12px; object-fit: cover;
  box-shadow: 0 4px 14px rgba(16,36,24,0.14); border: 2px solid #fff;
  flex-shrink: 0;
}
.logo-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-links { display: none; gap: 26px; align-items: center; }
.nav-links a { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.nav-links a:hover { color: var(--green); }
.nav-right {
  display: flex; align-items: center; gap: 8px;
  flex: 0 0 auto;
}
.hamburger {
  width: 42px; height: 42px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border-radius: 12px; flex-shrink: 0;
}

/* Mobile : CTA dans le drawer / barre bas — pas dans le header */
@media (max-width: 767px) {
  :root { --nav-h: 64px; --container: min(1140px, calc(100% - 28px)); }
  .btn-signup { display: none; }
  .logo { font-size: 1.05rem; }
  .logo-img { gap: 8px; }
  .logo-img img { width: 40px; height: 40px; border-radius: 10px; }
  .logo small { display: none; }
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--dark); border-radius: 2px; transition: 0.25s var(--ease); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.drawer {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 999;
  background: #fff; padding: 16px 16px calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 2px;
  transform: translateX(100%); transition: transform 0.35s var(--ease);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.drawer.open { transform: translateX(0); }
.drawer a {
  padding: 16px 18px; border-radius: 14px; font-weight: 700; font-size: 1.05rem;
  min-height: 48px; display: flex; align-items: center;
}
.drawer a:hover, .drawer a:active { background: var(--green-soft); }
.drawer .drawer-cta {
  margin-top: 16px; text-align: center; justify-content: center;
  background: var(--yellow); color: var(--dark);
}
.drawer .drawer-wa {
  text-align: center; justify-content: center;
  border: 1.5px solid var(--border); color: var(--green-dark);
}

/* ── HERO (maquette) ── */
.hero {
  padding: 28px 0 20px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 18%, rgba(143,224,106,0.25), transparent 28%),
    radial-gradient(circle at 8% 80%, rgba(245,184,32,0.12), transparent 30%),
    var(--bg);
}
.hero-swirl {
  position: absolute; pointer-events: none; opacity: 0.45;
}
.hero-swirl.a {
  top: 40px; left: 6%;
  width: 120px; height: 120px;
  border: 2px solid var(--green);
  border-radius: 50%;
  border-bottom-color: transparent;
  border-left-color: transparent;
  transform: rotate(-20deg);
}
.hero-swirl.b {
  bottom: 80px; right: 8%;
  width: 160px; height: 160px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  border-top-color: transparent;
  border-right-color: transparent;
  opacity: 0.35;
}
.hero-grid {
  display: grid; gap: 40px; align-items: center;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.05rem, 5.4vw, 3.35rem);
  font-weight: 900; letter-spacing: -0.035em;
  line-height: 1.08; color: var(--dark);
  margin: 0 0 18px; max-width: 16ch;
}
.word-livres {
  display: inline-block;
  position: relative;
  white-space: nowrap;
  padding: 0 0.12em 0.08em;
  z-index: 0;
}
.word-livres::before {
  content: "";
  position: absolute;
  inset: 8% -4% 4%;
  background: linear-gradient(105deg, rgba(45,190,96,0.28), rgba(245,184,32,0.45));
  border-radius: 12px 18px 14px 10px;
  transform: rotate(-1.5deg);
  z-index: -1;
}
.word-livres .liv-g { color: var(--green-dark); font-weight: 900; }
.word-livres .liv-y { color: var(--yellow-hot); font-weight: 900; }
.hero-sub {
  color: var(--muted); font-size: 1.05rem;
  max-width: 42ch; margin-bottom: 26px; line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 32px;
  padding-top: 8px;
}
.hero-stat strong {
  display: block; font-family: var(--display);
  font-size: 1.7rem; font-weight: 900; color: var(--dark);
  letter-spacing: -0.03em; line-height: 1.1;
}
.hero-stat span { font-size: 0.84rem; color: var(--muted); font-weight: 600; }

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 420px);
}
.hero-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}
.hero-ring {
  position: absolute; inset: -14px;
  border-radius: 50%;
  border: 3px dashed rgba(45,190,96,0.45);
  animation: spin-slow 28s linear infinite;
}
.hero-ring-2 {
  position: absolute; inset: 18px;
  border-radius: 50%;
  border: 2px solid rgba(245,184,32,0.35);
  pointer-events: none;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
.hero-photo {
  width: 100%; height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(145deg, var(--green-soft), var(--green));
  box-shadow: var(--shadow), 0 0 0 10px #fff, 0 0 0 14px rgba(45,190,96,0.2);
  position: relative;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  bottom: 8%; left: -6%;
  width: 118px; height: 118px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--dark);
  display: grid; place-items: center;
  text-align: center;
  box-shadow: var(--shadow);
  z-index: 3;
  padding: 10px;
  line-height: 1.15;
  font-size: 0.72rem; font-weight: 700;
  animation: float-soft 4.2s ease-in-out infinite;
}
.hero-badge strong {
  display: block; font-family: var(--display);
  font-size: 1.55rem; font-weight: 900; letter-spacing: -0.03em;
}
@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-dot {
  position: absolute; top: 12%; right: 4%;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green); z-index: 2;
}

/* Trust logos — barre sous hero */
.trust {
  padding: 28px 0 40px;
  border-bottom: 1px solid var(--border);
}
.trust-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 18px 28px;
  opacity: 0.55; filter: grayscale(1);
}
.trust-item {
  font-family: var(--display);
  font-weight: 800; font-size: 0.95rem;
  letter-spacing: -0.02em; color: var(--dark);
  white-space: nowrap;
}
.trust-item em { font-style: normal; color: var(--green-dark); }

/* ── Categories (bandeau vert arrondi) ── */
.cats {
  background: var(--green);
  color: #fff;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 64px 0 72px;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}
.cats::before {
  content: "";
  position: absolute; top: -40px; right: -30px;
  width: 180px; height: 180px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
}
.cats-head { text-align: center; margin-bottom: 8px; }
.cats .section-title {
  color: #fff; text-align: center;
  max-width: 22ch; margin-inline: auto;
}
.cats-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 36px;
}
.cat-card {
  background: #fff; color: var(--dark);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease);
  min-height: 200px;
  display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-5px); }
.cat-card.hot { background: var(--yellow); }
.cat-icon {
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--green-soft); color: var(--green-dark);
  display: grid; place-items: center;
  font-weight: 900; font-size: 1.2rem; font-family: var(--display);
  margin-bottom: 16px;
}
.cat-card.hot .cat-icon { background: rgba(255,255,255,0.55); color: var(--dark); }
.cat-card h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 8px; }
.cat-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.55; flex: 1; }
.cat-card.hot p { color: rgba(16,36,24,0.75); }
.cat-more {
  margin-top: 14px; font-weight: 800; font-size: 0.85rem;
  color: var(--green-dark); display: inline-flex; align-items: center; gap: 6px;
}
.cat-card.hot .cat-more { color: var(--dark); }

/* ── About (cercle + rectangle chevauchés) ── */
.about-grid {
  display: grid; gap: 40px; align-items: center;
}
.about-visual {
  position: relative;
  min-height: 360px;
  max-width: 420px;
  margin-inline: auto;
}
.about-circle {
  width: min(78%, 280px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
  border: 6px solid #fff;
  background: var(--green);
}
.about-circle img { width: 100%; height: 100%; object-fit: cover; }
.about-rect {
  position: absolute;
  right: 0; bottom: 0;
  width: 58%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  z-index: 1;
  background: linear-gradient(160deg, #C8E8D4, var(--green));
}
.about-rect img { width: 100%; height: 100%; object-fit: cover; }
.about-swirl {
  position: absolute; top: -10px; right: 10%;
  width: 90px; height: 90px;
  border: 2px solid var(--green);
  border-radius: 50%;
  border-bottom-color: transparent;
  opacity: 0.5; z-index: 0;
}
.about-body {
  color: var(--muted); font-size: 0.98rem; line-height: 1.75; margin-bottom: 18px;
}
.about-founder {
  font-size: 0.92rem; color: var(--dark);
  padding-top: 14px; border-top: 1px solid var(--border);
}
.about-metrics {
  display: flex; flex-wrap: wrap; gap: 20px; margin-top: 22px;
}
.metric-ring {
  width: 92px; height: 92px; border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1px; line-height: 1.05;
  background:
    radial-gradient(closest-side, #fff 70%, transparent 71% 100%),
    conic-gradient(var(--green) calc(var(--p) * 1%), var(--border) 0);
  font-family: var(--display); color: var(--dark);
}
.metric-ring strong {
  font-weight: 900; font-size: 1.2rem; letter-spacing: -0.03em;
}
.metric-ring span {
  display: block; font-size: 0.62rem; font-weight: 700;
  color: var(--muted); text-align: center; text-transform: lowercase;
  max-width: 4.5em; line-height: 1.15;
}

/* ── Values ── */
.values-grid { display: grid; gap: 16px; margin-top: 8px; }
.value-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 22px;
  box-shadow: var(--shadow-sm); text-align: center;
  transition: transform 0.2s var(--ease);
}
.value-card:hover { transform: translateY(-3px); }
.value-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--green-soft); color: var(--green-dark);
  display: grid; place-items: center;
  font-weight: 900; font-family: var(--display); font-size: 1.2rem;
  margin: 0 auto 14px;
}
.value-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; }

/* ── Programs (bandeau vert, cartes blanches horizontales) ── */
.progs {
  background: var(--green);
  color: #fff;
  padding: 72px 0;
  border-radius: var(--radius-xl);
  margin: 12px 16px;
  position: relative;
  overflow: hidden;
}
.progs::after {
  content: "";
  position: absolute; bottom: -50px; left: -40px;
  width: 160px; height: 160px;
  border: 2px solid rgba(255,255,255,0.18);
  border-radius: 50%;
}
.progs .section-title { color: #fff; }
.progs .section-lead { color: rgba(255,255,255,0.88); }
.progs-head {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: end; gap: 16px; margin-bottom: 28px;
}
.progs-head a { color: var(--yellow); font-weight: 800; font-size: 0.9rem; }
.prog-list { display: grid; gap: 16px; }
.prog-card {
  display: grid; grid-template-columns: 1fr;
  gap: 0;
  background: #fff; color: var(--dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.prog-card .prog-body { padding: 22px 22px 20px; }
.prog-card .tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--green-dark); background: var(--green-soft);
  padding: 4px 10px; border-radius: 999px;
}
.prog-card h3 { font-size: 1.15rem; font-weight: 900; margin: 10px 0 8px; }
.prog-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }
.prog-card strong { color: var(--green-dark); }
.prog-meta {
  display: flex; flex-wrap: wrap; gap: 10px;
  font-size: 0.78rem; color: var(--muted); margin: 10px 0 14px;
}
.prog-price {
  font-family: var(--display); font-weight: 900;
  font-size: 1.25rem; color: var(--dark); margin-bottom: 12px;
}
.prog-thumb {
  min-height: 180px;
  background: var(--yellow-soft);
  position: relative;
}
.prog-thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.prog-thumb--a { background: linear-gradient(135deg, #178A48, #8FE06A); }
.prog-thumb--b { background: linear-gradient(135deg, #B45309, #F5B820); }
.prog-thumb--c { background: linear-gradient(135deg, #0E4D2C, #2DBE60); }
.prog-thumb span {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-family: var(--display);
  font-size: 1.1rem; text-align: center; padding: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.progs-note { margin-top: 18px; font-size: 0.78rem; opacity: 0.75; font-style: italic; }

/* ── Pricing ── */
.pricing-grid { display: grid; gap: 18px; margin-top: 8px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.price-card.popular {
  background: var(--green); color: #fff; border-color: transparent;
  box-shadow: var(--shadow);
}
.price-card .badge {
  display: inline-block; background: var(--yellow); color: var(--dark);
  font-size: 0.7rem; font-weight: 800; padding: 4px 12px;
  border-radius: 999px; margin-bottom: 14px; width: fit-content;
}
.price-card h3 { font-size: 1.25rem; font-weight: 900; margin-bottom: 8px; }
.price-card .price-desc {
  color: var(--muted); font-size: 0.9rem; line-height: 1.5; min-height: 2.8em;
}
.price-card.popular .price-desc { color: rgba(255,255,255,0.85); }
.price-card .price {
  font-family: var(--display);
  font-size: 2rem; font-weight: 900; margin: 14px 0; letter-spacing: -0.03em;
}
.price-card .price small { font-size: 0.85rem; font-weight: 700; opacity: 0.7; }
.price-card ul { display: grid; gap: 11px; margin: 16px 0 24px; flex: 1; }
.price-card li {
  font-size: 0.92rem; padding-left: 28px; position: relative;
}
.price-card li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--green); font-weight: 800;
}
.price-card.popular li::before { color: var(--yellow); }
.price-card .btn { width: 100%; margin-top: auto; }

/* ── Steps ── */
.steps-grid { display: grid; gap: 24px; margin-top: 8px; }
.step-card { text-align: center; }
.step-num {
  width: 56px; height: 56px; margin: 0 auto 14px;
  border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center;
  font-weight: 900; font-size: 1.15rem; font-family: var(--display);
  box-shadow: 0 0 0 8px var(--green-soft);
}
.step-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.step-card p { font-size: 0.9rem; color: var(--muted); }

/* ── Testimonial ── */
.t-block {
  background: var(--green); color: #fff;
  padding: 72px 0; position: relative; overflow: hidden;
}
.t-block .deco {
  position: absolute; width: 220px; height: 220px;
  border: 2px solid var(--yellow); border-radius: 50%; opacity: 0.35;
}
.t-block .deco.a { top: -60px; left: -40px; }
.t-block .deco.b { bottom: -80px; right: -50px; width: 180px; height: 180px; }
.t-block .section-title { color: #fff; text-align: center; }
.t-card {
  background: #fff; color: var(--text);
  border-radius: var(--radius-lg); padding: 40px 28px;
  max-width: 680px; margin: 28px auto 0;
  box-shadow: var(--shadow); text-align: center;
}
.stars { color: var(--yellow); letter-spacing: 3px; margin-bottom: 16px; font-size: 1.2rem; }
.t-card blockquote {
  font-size: 1.12rem; line-height: 1.7; color: var(--text); margin-bottom: 22px;
}
.t-card--await blockquote { font-style: italic; color: var(--muted); }
.t-await-note {
  font-size: 0.88rem; color: var(--muted); line-height: 1.55;
  max-width: 42ch; margin: 0 auto 18px;
}

/* ── Blog (featured + grille) ── */
.blog-head {
  display: grid; gap: 16px; margin-bottom: 32px;
}
.blog-layout {
  display: grid; gap: 16px;
}
.blog-grid { display: grid; gap: 16px; }
a.blog-card {
  display: block; background: #fff; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  color: inherit;
}
a.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card .thumb {
  aspect-ratio: 16/10; position: relative; display: grid; place-items: center;
}
.blog-card .thumb span {
  color: #fff; font-weight: 800; font-size: 0.85rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.25);
}
.blog-cover--atelier { background: linear-gradient(135deg, #178A48, #7CDB63); }
.blog-cover--conseils { background: linear-gradient(135deg, #B45309, #F5C518); }
.blog-cover--ecole { background: linear-gradient(135deg, #1E40AF, #60A5FA); }
.blog-cover--livres { background: linear-gradient(135deg, #7C2D4A, #F472B6); }
.blog-cover--rse { background: linear-gradient(135deg, #065F46, #34D399); }
.blog-card .body { padding: 16px; }
.blog-card .cat {
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--green-dark);
}
.blog-card h3 { font-size: 1rem; font-weight: 800; margin: 6px 0; line-height: 1.35; }
.blog-card .excerpt { font-size: 0.9rem; color: var(--muted); margin: 8px 0 10px; line-height: 1.55; }
.blog-card .date { font-size: 0.78rem; color: var(--muted); }
.blog-card--lg { display: grid; }
.blog-featured .blog-card--lg .thumb { aspect-ratio: 21/9; min-height: 180px; }
.blog-featured .blog-card--lg h3 { font-size: 1.35rem; }
.blog-search {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; max-width: 420px;
}
.blog-search input {
  flex: 1 1 180px; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: 999px; font: inherit; font-size: 0.9rem;
}
.blog-search input:focus { outline: none; border-color: var(--green); }
.page-hero {
  padding: 40px 0 24px;
  background: linear-gradient(180deg, var(--green-soft) 0%, var(--bg) 100%);
}

/* Article */
.article-head { margin-bottom: 20px; }
.article-head h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.15; margin: 10px 0;
}
.article-meta { color: var(--muted); font-size: 0.9rem; }
.article-hero {
  border-radius: var(--radius-lg); aspect-ratio: 21/9; min-height: 180px;
  display: grid; place-items: center; margin-bottom: 28px;
}
.article-hero span { color: #fff; font-weight: 800; font-size: 1.1rem; }
.article-body { max-width: 68ch; }
.article-body .lead { font-size: 1.1rem; color: var(--muted); margin-bottom: 24px; line-height: 1.7; }
.article-body h2 { font-size: 1.35rem; font-weight: 800; margin: 28px 0 12px; }
.article-body p { margin-bottom: 14px; line-height: 1.75; }
.article-body ul { margin: 0 0 16px 1.2rem; list-style: disc; }
.article-body li { margin-bottom: 6px; }
.article-body blockquote {
  border-left: 4px solid var(--yellow); padding: 8px 0 8px 16px;
  margin: 20px 0; color: var(--muted); font-style: italic;
}
.article-cta {
  margin-top: 36px; padding: 24px; background: var(--green-soft);
  border-radius: var(--radius); 
}
.article-cta h3 { margin-bottom: 6px; }
.article-missing { padding: 64px 0; text-align: center; }
.back-link {
  display: inline-flex; color: var(--green-dark); font-weight: 700;
  font-size: 0.88rem; margin-bottom: 12px;
}

/* Lieux */
.lieux-grid { display: grid; gap: 24px; }
.lieux-cards { display: grid; gap: 14px; }
.lieu-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.lieu-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--green-dark); background: var(--green-soft);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}
.lieu-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.lieu-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 12px; line-height: 1.55; }
.lieu-link { font-weight: 700; font-size: 0.88rem; color: var(--green-dark); }

/* Contact */
.contact-sec { padding-bottom: 40px; }
.contact-grid { display: grid; gap: 28px; }
.contact-list { display: grid; gap: 14px; margin-top: 8px; }
.contact-list li { display: grid; gap: 2px; font-size: 0.95rem; }
.contact-list strong {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted);
}
.contact-list a { font-weight: 700; color: var(--green-dark); }
.contact-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 10px;
}
.contact-card h3 { font-weight: 800; font-size: 1.15rem; }
.contact-form { display: grid; gap: 12px; }
.contact-form .form-group { display: grid; gap: 6px; }
.contact-form label { font-size: 0.82rem; font-weight: 700; color: var(--dark); }
.contact-form .req { color: #c0392b; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: 12px; font: inherit; font-size: 0.92rem; background: #fff; color: var(--text);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft);
}
.form-feedback { font-size: 0.85rem; line-height: 1.45; margin-top: 8px; }
.form-feedback.ok { color: var(--green-dark); }
.form-feedback.err { color: #b42318; }
.contact-form input.error,
.contact-form select.error,
.contact-form textarea.error,
.contact-form input.ok {
  transition: border-color 0.15s var(--ease);
}
.contact-form input.error,
.contact-form select.error,
.contact-form textarea.error {
  border-color: #e53e3e;
  background: #fff8f8;
}
.contact-form input.ok,
.contact-form textarea.ok {
  border-color: var(--green-mid);
}
.field-error {
  display: none; font-size: 0.78rem; color: #b42318; font-weight: 600; margin-top: 2px;
}
.field-error.visible { display: block; }
.char-count {
  font-size: 0.75rem; color: var(--muted); text-align: right; margin-top: 2px;
}
.field-hint { font-size: 0.8rem; color: var(--green-dark); font-weight: 600; margin-top: 4px; }

/* Cookies + CTA mobile */
.cookie-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1200;
  background: #0A3D24; color: #fff; border-radius: 18px;
  padding: 16px 18px; box-shadow: 0 16px 48px rgba(0,0,0,0.22);
  opacity: 0; transform: translateY(16px); transition: 0.3s var(--ease);
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}
.cookie-banner.show { opacity: 1; transform: translateY(0); }
.cookie-inner { display: grid; gap: 14px; }
.cookie-inner p { font-size: 0.86rem; line-height: 1.5; opacity: 0.95; }
.cookie-inner a { color: var(--yellow); font-weight: 700; text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions .btn-outline {
  border-color: rgba(255,255,255,0.35); color: #fff;
}
.cookie-actions .btn-sm { padding: 10px 14px; font-size: 0.84rem; min-height: 44px; }

.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100;
  display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(250,255,252,0.92); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(15,36,24,0.08);
}
.mobile-cta .btn { flex: 1; min-height: 46px; justify-content: center; }
body.has-mobile-cta { padding-bottom: 72px; }
body.has-mobile-cta .cookie-banner { bottom: 78px; }

@media (min-width: 768px) {
  .mobile-cta { display: none; }
  body.has-mobile-cta { padding-bottom: 0; }
  .cookie-banner { left: auto; right: 24px; bottom: 24px; max-width: 420px; }
}

/* FAQ */
.faq-grid { display: grid; gap: 28px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq-item button {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 12px; text-align: left; font-weight: 800; font-size: 1rem; color: var(--dark); padding: 4px 0;
}
.faq-item .ans {
  display: none; padding-top: 10px; color: var(--muted);
  font-size: 0.95rem; line-height: 1.65;
}
.faq-item.open .ans { display: block; }
.faq-item .icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--green-soft); color: var(--green-dark);
  display: grid; place-items: center; flex-shrink: 0; font-size: 1.1rem;
}

/* CTA */
.cta {
  margin: 24px 16px 0;
  padding: 56px 28px;
  background: var(--green);
  border-radius: var(--radius-xl);
  color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.cta h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 900; letter-spacing: -0.03em; margin-bottom: 12px;
}
.cta p { opacity: 0.92; margin-bottom: 24px; }
.cta .deco {
  position: absolute; width: 160px; height: 160px;
  border: 2px solid var(--yellow); border-radius: 50%;
  opacity: 0.35; right: -40px; bottom: -40px;
}

.kfe-strip {
  background: var(--yellow); text-align: center;
  padding: 12px 16px; font-size: 0.84rem; font-weight: 700; color: var(--dark);
  margin: 28px 16px 0; border-radius: 16px;
}

/* Footer sombre (maquette) */
.site-footer {
  background: var(--green-footer); color: rgba(255,255,255,0.85);
  padding: 56px 0 24px; margin-top: 28px;
}
.footer-grid { display: grid; gap: 28px; margin-bottom: 32px; }
.footer-brand { font-weight: 800; font-size: 1.2rem; margin-bottom: 8px; color: #fff; }
.footer-brand span { color: var(--lime); }
.footer-logo { display: flex; gap: 12px; align-items: flex-start; }
.footer-logo img {
  width: 48px; height: 48px; border-radius: 12px; object-fit: cover; flex-shrink: 0;
}
.footer-about { font-size: 0.88rem; max-width: 32ch; line-height: 1.6; opacity: 0.8; }
.footer-col h4 { font-size: 0.92rem; margin-bottom: 14px; font-weight: 800; color: #fff; }
.footer-col a {
  display: block; font-size: 0.88rem; color: rgba(255,255,255,0.7); margin-bottom: 10px;
}
.footer-col a:hover { color: var(--yellow); }
.footer-news-text { font-size: 0.84rem; line-height: 1.5; margin: 12px 0 10px; opacity: 0.8; }
.footer-news-form { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-news-form input {
  flex: 1 1 140px; min-width: 0; padding: 11px 14px;
  border: none; border-radius: 999px; font: inherit; font-size: 0.85rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px; font-size: 0.78rem;
  color: rgba(255,255,255,0.55); text-align: center;
}

.reveal {
  opacity: 0; transform: translateY(22px); transition: 0.65s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* Legal pages */
.legal-page { background: #fff; }
.legal-content {
  max-width: 720px;
  padding-bottom: 24px;
}
.legal-updated {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 28px;
}
.legal-content h2 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 900;
  margin: 32px 0 12px;
  color: var(--dark);
}
.legal-content h3 {
  font-size: 1.02rem;
  font-weight: 800;
  margin: 20px 0 8px;
}
.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 10px;
}
.legal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 16px;
}
.legal-content a {
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content .ph {
  background: var(--yellow-soft);
  color: #7a5a00;
  padding: 1px 6px;
  border-radius: 6px;
  font-style: italic;
  font-weight: 600;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 20px;
  font-size: 0.88rem;
}
.legal-table th,
.legal-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.legal-table th {
  background: var(--green-soft);
  font-weight: 800;
}
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.legal-nav a { text-decoration: none; }
.footer-legal-links {
  display: block;
  margin-top: 8px;
}
.footer-legal-links a {
  color: rgba(255,255,255,0.65);
  margin: 0 2px;
}
.footer-legal-links a:hover { color: var(--yellow); }
.footer-bottom a { color: rgba(255,255,255,0.65); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .hamburger { display: none; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 48px; }
  .cats-grid { grid-template-columns: repeat(4, 1fr); }
  .about-grid { grid-template-columns: 0.95fr 1.05fr; gap: 56px; }
  .values-grid { grid-template-columns: repeat(4, 1fr); }
  .progs { margin: 40px auto; width: var(--container); }
  .prog-card { grid-template-columns: 1.2fr 0.8fr; }
  .prog-thumb { min-height: 100%; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid--5 { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .pricing-grid--5 .price-card { padding: 22px 16px; }
  .pricing-grid--5 .price { font-size: 1.45rem; }
  .price-card.popular { transform: none; }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .blog-head { grid-template-columns: 1.1fr 0.9fr; align-items: end; }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-layout { grid-template-columns: 1.15fr 0.85fr; align-items: stretch; }
  .blog-featured .blog-card--lg {
    height: 100%;
    grid-template-rows: 1.2fr auto;
  }
  .blog-featured .blog-card--lg .thumb { aspect-ratio: auto; min-height: 260px; height: 100%; }
  .lieux-cards { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
  .faq-grid { grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; }
  .cta { width: var(--container); margin-inline: auto; }
  .kfe-strip { width: var(--container); margin-inline: auto; }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .pricing-grid--5 { grid-template-columns: repeat(3, 1fr); }
}
