/* =========================================================
   cartescolaire.bj — styles communs et page d'accueil
   Valeurs calibrées sur la maquette (735 px → 1440 px, ×1,96).
   Les pages intérieures ajoutent assets/css/pages.css.
   ========================================================= */

:root {
  --green: #0B4D36;          /* vert forêt — couleur principale */
  --green-600: #0E6B48;      /* pastilles / chips */
  --green-dark: #052E22;     /* titres */
  --green-deep: #043627;     /* sections sombres */
  --yellow: #F4B400;         /* accent de la charte */
  --yellow-btn: #F9C122;     /* rendu des boutons sur la maquette */
  --red: #EF4B3F;
  --orange: #F59E0B;
  --ink: #1F2A27;
  --muted: #4B5563;
  --muted-2: #5E6573;
  --bg: #F4F7F3;
  --surface: #FFFFFF;
  --line: #E1E8E3;
  --line-green: #CFE0D6;

  --font-title: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-text: "Inter", system-ui, sans-serif;
  --font-hand: "Caveat", "Segoe Script", cursive;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(5, 46, 34, .05), 0 4px 14px rgba(5, 46, 34, .05);
  --shadow: 0 10px 30px rgba(5, 46, 34, .10);
  --container: 1250px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
svg { flex-shrink: 0; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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; }
.text-yellow { color: var(--yellow-btn); }
.fw-medium { font-weight: 600; }
.rounded { border-radius: var(--radius); }

/* ---------- Titres ---------- */
.h2 {
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: -0.015em;
  font-size: 31px;
  line-height: 1.2;
}
.h2--xl { font-size: clamp(30px, 3vw, 43px); line-height: 1.13; }
.h2--lg { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.17; }
.h2--md { font-size: clamp(24px, 2vw, 28px); line-height: 1.25; }
.h2--sm { font-size: clamp(21px, 1.7vw, 23.5px); line-height: 1.25; }

.lead { font-size: 16px; line-height: 1.65; color: var(--ink); }
.lead--light { color: rgba(255, 255, 255, .92); }

/* ---------- Étiquette (pilule) ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 16px;
  border: 1.5px solid var(--line-green);
  border-radius: 999px;
  background: #EEF5F0;
  font-family: var(--font-title);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 12px;
}
.eyebrow--dark {
  background: transparent;
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}
.eyebrow--xs { height: 20px; padding: 0 10px; font-size: 9px; margin-bottom: 6px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(249, 193, 34, .6);
  outline-offset: 3px;
}
.btn--yellow { background: var(--yellow-btn); color: var(--green-dark); box-shadow: 0 6px 16px rgba(244, 180, 0, .28); }
.btn--yellow:hover { background: #FFCB33; box-shadow: 0 10px 24px rgba(244, 180, 0, .35); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: #0D5C40; box-shadow: 0 8px 20px rgba(11, 77, 54, .25); }
.btn--sm { height: 40px; padding: 0 26px; font-size: 14px; }
.btn--block { width: 100%; height: 38px; border-radius: 8px; font-size: 14px; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; }

.play-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: var(--green-dark);
}
.play-link--light { color: #fff; }
.play-link__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1.6px solid currentColor;
  border-radius: 50%;
  transition: background-color .2s ease;
}
.play-link__icon svg { width: 16px; height: 16px; fill: currentColor; }
.play-link:hover .play-link__icon { background: rgba(255, 255, 255, .15); }
/* soulignement limité au texte, l'icône restant à gauche */
.play-link { background: linear-gradient(currentColor, currentColor) 42px 100% / calc(100% - 42px) 1px no-repeat; padding-bottom: 3px; }

.link-underline {
  font-size: 14px;
  font-weight: 500;
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.link-underline:hover { color: var(--green); }

/* =========================================================
   EN-TÊTE
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 248, 244, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(5, 46, 34, .05);
}
.header__inner { display: flex; align-items: center; height: 72px; gap: 32px; }
.logo img { height: 52px; width: auto; }
.nav { flex: 1; display: flex; align-items: center; justify-content: space-between; }
.nav__links { display: flex; gap: 34px; margin-left: 64px; }
.nav__links a {
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  transition: color .2s ease;
}
.nav__links a.is-active,
.nav__links a[aria-current="page"] { font-weight: 700; color: var(--green-dark); }
.nav__links a:hover { color: var(--green); }
.nav__actions { display: flex; align-items: center; gap: 30px; }
.burger { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 562px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1c1a14;
  color: #fff;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 38%;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 18, 12, .86) 0%, rgba(10, 18, 12, .74) 28%, rgba(10, 18, 12, .35) 50%, rgba(10, 18, 12, 0) 66%),
    linear-gradient(0deg, rgba(10, 18, 12, .35), rgba(10, 18, 12, 0) 35%);
}
.hero__inner { position: relative; padding-block: 64px 70px; }
.hero__logo { height: 44px; width: auto; margin-bottom: 18px; }
.hero__title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(40px, 4.9vw, 70px);
  line-height: 1;
  letter-spacing: -0.012em;
  margin-bottom: 26px;
}
.hero__lead { max-width: 560px; font-size: 16px; font-weight: 500; line-height: 1.65; color: rgba(255, 255, 255, .92); margin-bottom: 30px; }

/* =========================================================
   SECTIONS GÉNÉRIQUES
   ========================================================= */
.section { padding-block: 44px; }
.section-head { margin-bottom: 30px; }
.section-head .h2 { margin-bottom: 6px; }
.section-head__sub { font-size: 16px; color: var(--ink); }
.section-head__sub strong { font-weight: 600; }

/* =========================================================
   LE PROBLÈME
   ========================================================= */
.problem { padding-block: 46px 42px; }
.problem__grid { display: grid; grid-template-columns: 608px 1fr; gap: 52px; align-items: center; }
.problem__media { position: relative; }
.problem__media img { width: 100%; aspect-ratio: 608 / 441; object-fit: cover; box-shadow: var(--shadow-sm); }
.sticky-note {
  position: absolute;
  top: 34px;
  left: -36px;
  width: 172px;
  padding: 18px 14px 12px;
  background: #FBFAEF;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
  transform: rotate(-9deg);
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.2;
  color: #1F3A33;
  text-align: center;
}
.sticky-note span { display: block; }
.sticky-note svg { display: block; width: 74px; margin: 4px 0 0 auto; fill: none; stroke: #1F3A33; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.problem__content .h2 { margin-bottom: 22px; }
.problem__content .lead { margin-bottom: 26px; }
.issues { display: grid; grid-template-columns: 340px 1fr; gap: 16px 10px; }
.issues li { position: relative; padding-left: 38px; font-size: 14.5px; line-height: 22px; }
.issues li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M8 8l8 8M16 8l-8 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* =========================================================
   LA SOLUTION
   ========================================================= */
.solution {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 140% at 30% 50%, #06402D 0%, var(--green-deep) 60%, #032C20 100%);
  color: #fff;
  padding-block: 20px;
}
.solution__rings {
  position: absolute;
  left: 46%;
  top: 50%;
  width: 420px;
  transform: translate(-50%, -38%);
  fill: none;
  stroke: rgba(244, 180, 0, .28);
  stroke-width: 1.2;
  pointer-events: none;
}
.solution__grid { position: relative; display: grid; grid-template-columns: 1fr 517px; gap: 40px; align-items: center; }
.solution__title { color: #fff; margin-bottom: 18px; }
.solution .lead { margin-bottom: 30px; }
.solution__media { position: relative; }
.solution__media img { width: 100%; aspect-ratio: 517 / 345; object-fit: cover; }

/* =========================================================
   COMMENT ÇA MARCHE
   ========================================================= */
.steps { padding-block: 42px 50px; }
.steps .h2 { font-size: clamp(26px, 2.6vw, 37px); }
.steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; margin-inline: -18px; }
.step {
  position: relative;
  background: rgba(255, 255, 255, .78);
  border: 1px solid #EAF0EC;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 23px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step + .step::before {                        /* filet vertical entre les cartes */
  content: "";
  position: absolute;
  left: -16px;
  top: -18px;
  bottom: 0;
  width: 1px;
  background: var(--line-green);
}
.step__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 800;
  margin: -6px 0 16px;
}
.step__title { font-family: var(--font-title); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; color: var(--green-dark); margin-bottom: 10px; }
.step__text { font-size: 14px; line-height: 1.55; color: var(--muted); min-height: 66px; margin-bottom: 18px; }
.chip {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--green-600);
  color: #fff;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}
.step__visual {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(5, 46, 34, .09);
}
.step__visual--files { display: flex; justify-content: space-around; align-items: center; width: 236px; height: 94px; padding: 0 24px; }
.file { width: 34px; height: 42px; }
.file__body { stroke: none; }
.file__fold { fill: rgba(255, 255, 255, .45); stroke: none; }
.file__mark { fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.file--xls .file__body { fill: #1E9D5B; }
.file--pdf .file__body { fill: #E5533D; }
.file--csv .file__body { fill: #2F7CF6; }

.step__visual--photos { display: flex; align-items: center; gap: 22px; background: none; box-shadow: none; }
.photo-strip { display: flex; gap: 6px; padding: 6px; background: #fff; border-radius: 10px; box-shadow: 0 4px 18px rgba(5, 46, 34, .09); }
.photo-strip img { width: 56px; height: 68px; object-fit: cover; border-radius: 4px; }
.add-btn { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green-600); }
.add-btn svg { width: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; }

.checklist { display: grid; gap: 14px; padding-left: 6px; }
.checklist li { position: relative; padding-left: 32px; font-size: 14px; line-height: 20px; color: var(--muted); }
.checklist li::before,
.plan__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Mini carte scolaire */
.step__visual--card { padding: 6px; }
.id-card {
  width: 232px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #E7ECE9;
  font-family: var(--font-text);
}
.id-card__top { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 4px; }
.id-card__top img { height: 13px; width: auto; }
.id-card__top span { font-size: 6px; font-weight: 700; letter-spacing: .08em; color: var(--green-dark); }
.id-card__body { display: flex; align-items: center; gap: 8px; padding: 2px 8px 6px; }
.id-card__photo { width: 40px; height: 50px; object-fit: cover; border-radius: 3px; }
.id-card__fields { flex: 1; margin: 0; display: grid; gap: 1px; }
.id-card__fields div { display: flex; gap: 6px; font-size: 6.5px; line-height: 1.35; }
.id-card__fields dt { width: 26px; color: var(--muted-2); }
.id-card__fields dd { margin: 0; font-weight: 600; color: var(--green-dark); }
.id-card__qr { width: 36px; height: 36px; }
.id-card__band { height: 7px; background: linear-gradient(90deg, var(--green) 0 62%, var(--yellow) 62% 100%); }

/* =========================================================
   POUR QUI
   ========================================================= */
.audience {
  display: grid;
  grid-template-columns: 38.3% 1fr;
  min-height: 318px;
  background: #F8F9F7;
}
.audience__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.audience__content { padding: 14px max(var(--gutter), calc((100vw - var(--container)) / 2)) 20px 64px; }
.audience .h2 { margin-bottom: 10px; }
.audience__lead { font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.audience__sub { font-size: 14px; color: var(--ink); margin-bottom: 18px; }
.audience__types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  max-width: 772px;
}
.audience__types li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-height: 118px;
  padding: 26px 22px;
  background: rgba(222, 236, 228, .6);
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--ink);
  transition: background-color .2s ease;
}
.audience__types li:hover { background: rgba(207, 228, 216, .8); }
.audience__types li:first-child { border-radius: 12px 0 0 12px; }
.audience__types li:last-child { border-radius: 0 12px 12px 0; }
.audience__types svg { width: 32px; height: 32px; margin-top: -4px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   LES AVANTAGES
   ========================================================= */
.benefits { position: relative; padding-block: 36px 34px; overflow: hidden; }
.benefits__grid { position: relative; }
.benefits__content { max-width: calc(100% - 400px); }
.benefits .section-head { margin-bottom: 28px; }
.benefit-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 26px; }
.benefit {
  display: flex;
  gap: 16px;
  min-height: 104px;
  padding: 20px 18px 16px 18px;
  background: #fff;
  border: 1px solid #EAF0EC;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.benefit__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green-dark); }
.benefit__icon svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { font-family: var(--font-title); font-size: 14px; font-weight: 700; color: var(--green-dark); margin-bottom: 6px; }
.benefit p { font-size: 13px; line-height: 1.55; color: var(--muted); }
.benefits__media {
  position: absolute;
  top: 26px;
  right: 0;
  bottom: 30px;
  width: 31%;
}
.benefits__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; border-radius: var(--radius) 0 0 var(--radius); }

/* =========================================================
   APPEL À L'ACTION
   ========================================================= */
.cta { position: relative; min-height: 278px; display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--green-deep); }
/* plan large : la photo occupe la partie droite, le bord gauche disparaît sous le dégradé vert */
.cta__bg { position: absolute; top: 0; right: 0; width: 70%; height: 100%; object-fit: cover; object-position: 60% 74%; }
.cta__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #022F22 0%, #022F22 30%, rgba(2, 47, 34, .82) 38%, rgba(2, 47, 34, .45) 52%, rgba(2, 47, 34, .08) 68%, rgba(2, 47, 34, 0) 80%);
}
.cta__inner { position: relative; padding-block: 44px; }
.cta__title { color: #fff; font-weight: 700; margin-bottom: 8px; }
.cta__lead { font-size: 15px; color: rgba(255, 255, 255, .92); margin-bottom: 28px; }

/* =========================================================
   TARIFS
   ========================================================= */
.pricing { padding-block: 28px 30px; }
.pricing .section-head { margin-bottom: 22px; }
.pricing .section-head__sub, .faq .section-head__sub { font-size: 14.5px; color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, .5);
  border: 2px solid #DCE8E0;
  border-radius: 12px;
  padding: 24px 30px 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan--featured { border: 2px solid #F5CE5A; box-shadow: 0 10px 28px rgba(244, 180, 0, .12); }
.plan__badge {
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translate(-20%, -50%);
  padding: 5px 16px;
  background: var(--yellow-btn);
  border-radius: 6px;
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 700;
  color: var(--green-dark);
  white-space: nowrap;
}
.plan__name { font-family: var(--font-title); font-weight: 800; font-size: 20px; color: var(--green-dark); margin-bottom: 8px; }
.plan__desc { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.plan__features { display: grid; gap: 5px; margin-bottom: 18px; flex: 1; }
.plan__features li { position: relative; padding-left: 32px; font-size: 13px; line-height: 20px; color: var(--ink); }
.plan__features li::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23052E22' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding-block: 22px 32px; }
.faq__grid { display: grid; grid-template-columns: 296px 1fr; gap: 30px; align-items: start; }
.faq__media img { width: 100%; aspect-ratio: 296 / 281; object-fit: cover; }
.faq__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 14px; }
.faq__head .h2 { margin-bottom: 4px; }
.faq__head .section-head__sub { color: var(--muted); font-size: 14px; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 13px; font-weight: 500; color: var(--green-dark); white-space: nowrap; }
.arrow-link { text-decoration: underline; text-underline-offset: 4px; }
.arrow-link svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.arrow-link:hover svg { transform: translateX(4px); }

.accordion { display: grid; gap: 9px; }
.accordion details {
  background: rgba(255, 255, 255, .85);
  border: 1px solid #E3EBE6;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(5, 46, 34, .04);
}
.accordion summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 41px;
  padding: 9px 52px 9px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after,
.accordion summary::before {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 12px;
  height: 2px;
  margin-top: -1px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: transform .25s ease;
}
.accordion summary::before { transform: rotate(90deg); }
.accordion details[open] summary::before { transform: rotate(0deg); }
.accordion details p { padding: 0 52px 14px 16px; font-size: 13.5px; color: var(--muted); }

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--green-deep);
  color: #fff;
  padding: 38px 0 64px;
}
.footer__deco { position: absolute; right: 0; top: 0; height: 100%; width: auto; }
.deco-yellow { fill: var(--yellow-btn); }
.deco-green { fill: #0B5A3D; }
.footer__top { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: start; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.footer__brand img { height: 56px; width: auto; margin-bottom: 10px; }
.footer__brand p { font-size: 13.5px; color: rgba(255, 255, 255, .92); }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 30px; padding-top: 18px; }
.footer__links a { font-size: 13.5px; color: rgba(255, 255, 255, .92); transition: color .2s ease; }
.footer__links a:hover { color: var(--yellow-btn); }
.footer__social { display: flex; gap: 20px; justify-content: flex-end; padding-top: 16px; }
.footer__social a { display: block; width: 22px; height: 22px; transition: transform .2s ease; }
.footer__social a:hover { transform: translateY(-2px); }
.footer__social svg { width: 22px; height: 22px; }
.footer__social .fill { fill: #fff; }
.footer__social .cut { fill: none; stroke: var(--green-deep); stroke-width: 2; stroke-linecap: round; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; font-size: 12px; color: rgba(255, 255, 255, .85); }
.made-in { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.flag-bj {
  display: inline-block;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, .85);
  background:
    linear-gradient(#FCD116 0 50%, #E8112D 50% 100%) right / 60% 100% no-repeat,
    #008751;
}

/* ---------- Lien vers le parcours détaillé ---------- */
.steps__more { display: flex; justify-content: center; margin-top: 30px; }

/* =========================================================
   VIDÉO — section de l'accueil et lecteur commun
   ========================================================= */
.video-teaser { padding-block: 56px; background: #fff; }
.video-teaser__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 56px; align-items: center; }
.video-teaser .h2 { margin-bottom: 14px; }
.video-teaser .lead { margin-bottom: 22px; color: var(--muted); }
.video-teaser .checklist { margin-bottom: 26px; }

.player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--green-deep);
  box-shadow: 0 24px 60px rgba(5, 46, 34, .22);
}
.player video { display: block; width: 100%; height: 100%; background: #000; }
.player__poster {                                  /* ajouté par main.js (amélioration progressive) */
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: var(--green-deep) center / cover no-repeat;
}
.player__poster::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2, 30, 22, .55), rgba(2, 30, 22, .05) 55%); }
.player__play {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--yellow-btn);
  box-shadow: 0 0 0 10px rgba(249, 193, 34, .25), 0 14px 30px rgba(0, 0, 0, .3);
  transition: transform .2s ease, box-shadow .2s ease;
}
.player__play svg { width: 30px; height: 30px; margin-left: 5px; fill: var(--green-dark); }
.player__poster:hover .player__play,
.player__poster:focus-visible .player__play { transform: scale(1.07); box-shadow: 0 0 0 14px rgba(249, 193, 34, .28), 0 16px 34px rgba(0, 0, 0, .32); }
.player__label {
  position: absolute;
  left: 22px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.player__duration { padding: 2px 9px; border-radius: 6px; background: rgba(0, 0, 0, .45); font-family: var(--font-text); font-size: 12.5px; font-weight: 600; }
.player.is-playing .player__poster { display: none; }

/* =========================================================
   SÉCURITÉ (accueil)
   ========================================================= */
.security { padding-block: 52px; }
.security__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 50px; align-items: start; }
.security .h2 { margin-bottom: 14px; }
.security .lead { color: var(--muted); margin-bottom: 22px; }
.sec-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.sec-card {
  padding: 22px 22px 20px;
  background: #fff;
  border: 1px solid #EAF0EC;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.sec-card__icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 12px; background: #EEF5F0; }
.sec-card__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sec-card h3 { margin-bottom: 6px; font-family: var(--font-title); font-size: 16px; font-weight: 800; color: var(--green-dark); }
.sec-card p { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* =========================================================
   OFFRE (tarifs de l'accueil)
   ========================================================= */
.offer { display: grid; grid-template-columns: minmax(0, 430px) minmax(0, 1fr); gap: 34px; align-items: start; }
.offer__card { padding: 30px 32px 28px; }
.offer__card .plan__badge { left: 32px; transform: translateY(-50%); }
.offer__price { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 10px; font-family: var(--font-title); font-weight: 800; color: var(--green-dark); }
.offer__price strong { font-size: 64px; line-height: 1; letter-spacing: -0.03em; }
.offer__price span { font-size: 24px; }
.offer__price small { font-family: var(--font-text); font-size: 15px; font-weight: 600; color: var(--muted); }
.offer__free {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #FFF4CF;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: #5C4300;
}
.offer__free svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.offer .plan__features { flex: none; align-content: start; gap: 10px; margin-bottom: 26px; }
.offer .plan__features li { font-size: 14px; }
.offer .btn--block { height: 46px; border-radius: 999px; font-size: 15px; }
.offer__example { padding: 26px 30px; background: #fff; border: 1px solid #EAF0EC; border-radius: 12px; box-shadow: var(--shadow-sm); }
.offer__example h3 { font-family: var(--font-title); font-size: 18px; font-weight: 800; color: var(--green-dark); }
.offer__example > p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.calc { width: 100%; margin: 16px 0 14px; border-collapse: collapse; font-size: 14.5px; }
.calc td { padding: 10px 0; border-bottom: 1px solid #EEF2EF; }
.calc td:last-child { text-align: right; font-weight: 600; white-space: nowrap; }
.calc__free td { color: var(--green-600); }
.calc__total td { border-bottom: 0; font-family: var(--font-title); font-size: 18px; font-weight: 800; color: var(--green-dark); }
.offer__note { font-size: 13px; line-height: 1.6; color: var(--muted); }
.offer__proof { display: grid; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line-green); font-size: 13px; color: var(--muted); }
.offer__proof img { width: 100%; max-width: 440px; height: auto; border-radius: 10px; border: 1px solid #E3EBE6; box-shadow: var(--shadow-sm); }

/* ---------- Pied de page : contact et liens légaux ---------- */
.footer__mid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.footer__contact, .footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; font-size: 13.5px; }
.footer__contact a, .footer__contact span { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .92); }
.footer__contact a:hover { color: var(--yellow-btn); }
.footer__contact svg { width: 18px; height: 18px; fill: none; stroke: var(--yellow-btn); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer__contact .is-todo { color: rgba(255, 255, 255, .55); }
.footer__legal a { color: rgba(255, 255, 255, .75); transition: color .2s ease; }
.footer__legal a:hover { color: var(--yellow-btn); }

@media (max-width: 1080px) {
  .video-teaser__grid, .security__grid, .offer { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .sec-cards { grid-template-columns: 1fr; }
  .offer__card, .offer__example { padding: 24px 20px; }
  .offer__price strong { font-size: 52px; }
  .player__play { width: 68px; height: 68px; }
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .step, .benefit, .plan { transition: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1280px) {
  .nav__links { margin-left: 36px; gap: 26px; }
  .nav__actions { gap: 22px; }
  .problem__grid { grid-template-columns: 1fr 1fr; }
  .issues { grid-template-columns: 1fr 1fr; }
  .benefits__content { max-width: calc(100% - 34%); }
  .benefits__media { width: 31%; }
  .benefit { padding: 22px 16px 18px 20px; }
  .benefit-cards { column-gap: 20px; }
  .audience__content { padding-left: 56px; }
}

@media (max-width: 1180px) {
  .header__inner { height: 66px; }
  .logo img { height: 44px; }
  .burger {
    display: grid;
    gap: 5px;
    margin-left: auto;
    padding: 10px;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .burger span { display: block; width: 24px; height: 2px; background: var(--green-dark); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 18px var(--gutter) 24px;
    background: #F5F8F4;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(5, 46, 34, .08);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__links { flex-direction: column; gap: 4px; margin: 0; }
  .nav__links a { display: block; padding: 10px 0; font-size: 16px; }
  .nav__actions { justify-content: space-between; gap: 16px; }
}

@media (max-width: 1080px) {
  .lead br, .hero__lead br { display: none; }
  .problem__grid { grid-template-columns: 1fr; gap: 40px; }
  .problem__media { max-width: 640px; }
  .solution { padding-block: 48px; }
  .solution__grid { grid-template-columns: 1fr; }
  .solution__media { max-width: 640px; }
  .solution__rings { left: 70%; }

  .steps__grid { grid-template-columns: repeat(2, 1fr); margin-inline: 0; }
  .step + .step::before { display: none; }

  .audience { grid-template-columns: 1fr; }
  .audience__media img { aspect-ratio: 16 / 8; height: auto; }
  .audience__content { padding: 40px var(--gutter); }
  .audience__types { grid-template-columns: repeat(2, 1fr); }
  .audience__types li { min-height: 0; border-radius: 0 !important; }

  .benefits { padding-bottom: 0; }
  .benefits__content { max-width: none; }
  .benefit-cards { grid-template-columns: repeat(2, 1fr); }
  .benefits__media { position: static; width: auto; margin: 36px var(--gutter) 0; }
  .benefits__media img { aspect-ratio: 16 / 9; border-radius: var(--radius); }

  .plans { grid-template-columns: 1fr; max-width: 520px; gap: 34px; }
  .faq__grid { grid-template-columns: 240px 1fr; }

  .footer__top { grid-template-columns: 1fr; gap: 24px; }
  .footer__links { padding-top: 0; flex-wrap: wrap; gap: 14px 32px; }
  .footer__social { justify-content: flex-start; padding-top: 0; }
  .footer__deco { opacity: .5; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 14.5px; }
  .hero { min-height: 0; align-items: flex-end; }
  .hero__bg { object-position: 47% 50%; }
  .hero__shade { background: linear-gradient(0deg, rgba(10, 18, 12, .92) 0%, rgba(10, 18, 12, .8) 48%, rgba(10, 18, 12, .2) 78%, rgba(10, 18, 12, .1) 100%); }
  .hero__inner { padding-top: 330px; padding-bottom: 40px; }
  .hero__logo { height: 34px; }
  .hero__lead br, .lead br { display: none; }
  .actions { gap: 16px 22px; }
  .btn { height: 48px; padding: 0 24px; }

  .problem__grid { grid-template-columns: 1fr; gap: 40px; }
  .sticky-note { left: -6px; top: -18px; width: 150px; font-size: 18px; }
  .issues { grid-template-columns: 1fr; gap: 12px; }

  .steps__grid { grid-template-columns: 1fr; }
  .step__text { min-height: 0; }

  .audience__types { grid-template-columns: 1fr; }
  .audience__types li { padding: 18px 20px; align-items: center; }

  .benefit-cards { grid-template-columns: 1fr; }
  .benefits__media { margin-inline: var(--gutter); }

  .cta__bg { width: 100%; object-position: 75% 70%; }
  .cta__shade { background: linear-gradient(90deg, rgba(2, 47, 34, .95), rgba(2, 47, 34, .78)); }
  .cta__title br { display: none; }

  .faq__grid { grid-template-columns: 1fr; }
  .faq__media img { aspect-ratio: 16 / 10; object-position: 50% 30%; }
  .faq__head { flex-direction: column; }
  .arrow-link { margin-top: 0; }

  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer__deco { display: none; }
}
