/* ==========================================================
   PESA — thème du site public
   Carte d'Épargne Santé & microassurance — Congo-Brazzaville
   ========================================================== */
/* Polices hébergées sur le site (pas d'appel à Google) */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }


:root {
  --p-ink: #10233f;        /* bleu nuit : textes, fonds sombres */
  --p-green: #0f8a5f;      /* vert malachite : couleur de marque */
  --p-green-d: #0a6a49;
  --p-mint: #e6f4ec;       /* fond doux */
  --p-sun: #f2b705;        /* jaune wax : accent rare */
  --p-paper: #ffffff;
  --p-mist: #f5f7f4;
  --p-text: #3a4a5c;
  --p-line: #d9e2dc;
  --p-radius-lg: 28px;
  --p-radius: 14px;
  --p-radius-sm: 8px;
  --p-display: "Bricolage Grotesque", system-ui, sans-serif;
  --p-body: "Source Sans 3", system-ui, sans-serif;

  /* Variables du thème d'origine, réalignées sur Pesa */
  --heading-font: var(--p-display);
  --body-font: var(--p-body);
  --heading-color: 215 59% 16%;
  --body-color: 211 22% 29%;
}

body.pesa {
  font-family: var(--p-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--p-text);
  background: var(--p-paper);
}
.pesa h1, .pesa h2, .pesa h3, .pesa h4, .pesa h5, .pesa h6 {
  font-family: var(--p-display);
  color: var(--p-ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .5em;
}
.pesa p { margin: 0 0 1em; }
.pesa a { color: var(--p-green-d); }
.pesa a:focus-visible, .pesa button:focus-visible, .pesa summary:focus-visible {
  outline: 3px solid var(--p-sun);
  outline-offset: 3px;
  border-radius: 4px;
}
.p-container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.p-section { padding: 96px 0; }
.p-section--mint { background: var(--p-mint); }
.p-section--mist { background: var(--p-mist); }
.p-section--ink { background: var(--p-ink); color: #c9d4e3; }
.p-section--ink h2, .p-section--ink h3 { color: #fff; }
.p-lead { font-size: 1.2rem; max-width: 62ch; }
.p-h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; max-width: 22ch; }
.p-head { margin-bottom: 48px; }
.p-head p { max-width: 60ch; font-size: 1.125rem; }

/* ---------- Boutons ---------- */
.p-btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 999px;
  font-family: var(--p-body); font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer; line-height: 1.2;
}
.pesa .p-btn--green { background: var(--p-green); color: #fff; }
.pesa .p-btn--green:hover { background: var(--p-green-d); color: #fff; }
.pesa .p-btn--sun { background: var(--p-sun); color: var(--p-ink); }
.pesa .p-btn--sun:hover { background: #ffc829; color: var(--p-ink); }
.pesa .p-btn--ghost { border-color: var(--p-ink); color: var(--p-ink); background: transparent; }
.pesa .p-btn--ghost:hover { background: var(--p-ink); color: #fff; }
.pesa .p-btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.pesa .p-btn--ghost-light:hover { background: #fff; color: var(--p-ink); }
.p-btn--sm { padding: .55em 1.1em; font-size: .95rem; }
.p-link { font-weight: 700; color: var(--p-green-d); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Barre supérieure ---------- */
.p-topbar { background: var(--p-ink); color: #c9d4e3; font-size: .9rem; }
.p-topbar .p-container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.p-topbar a { color: #fff; text-decoration: none; }
.p-topbar a:hover { color: var(--p-sun); }
.p-topbar__left, .p-topbar__right { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.p-topbar i { color: var(--p-sun); margin-right: 6px; }

/* ---------- En-tête ---------- */
.p-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--p-line); }
.p-header .p-container { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.p-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.p-logo img { max-height: 44px; width: auto; }
.p-logo__word { font-family: var(--p-display); font-weight: 800; font-size: 1.9rem; color: var(--p-ink); letter-spacing: -0.03em; }
.p-nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.p-nav > li { position: relative; }
.p-nav > li > a, .p-nav > li > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px; border: 0; background: none;
  font: 600 1rem var(--p-body); color: var(--p-ink); text-decoration: none; cursor: pointer;
}
.p-nav > li > a:hover, .p-nav > li > button:hover, .p-nav > li.active > a { background: var(--p-mint); color: var(--p-green-d); }
.p-sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 330px;
  background: #fff; border: 1px solid var(--p-line); border-radius: var(--p-radius);
  padding: 10px; list-style: none; margin: 0;
  box-shadow: 0 18px 40px -18px rgba(16,35,63,.35);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.p-nav > li:hover .p-sub, .p-nav > li:focus-within .p-sub, .p-nav > li.open .p-sub { opacity: 1; visibility: visible; transform: none; }
.p-sub a { display: block; padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--p-ink); }
.p-sub a:hover { background: var(--p-mist); }
.p-sub strong { display: block; font-weight: 700; }
.p-sub span { display: block; font-size: .9rem; color: var(--p-text); }
.p-header__actions { display: flex; align-items: center; gap: 10px; }
.p-burger { display: none; background: none; border: 0; font-size: 1.9rem; color: var(--p-ink); padding: 4px 8px; cursor: pointer; }

@media (max-width: 1199px) {
  /* backdrop-filter créerait un repère pour le menu fixe : on le retire sur mobile */
  .p-header { backdrop-filter: none; background: #fff; }
  .p-burger { display: block; }
  .p-menu {
    position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); background: #fff;
    padding: 90px 24px 30px; overflow-y: auto; transform: translateX(100%); transition: transform .25s;
    box-shadow: -20px 0 50px -20px rgba(16,35,63,.4); z-index: 60;
  }
  .p-menu { visibility: hidden; }
  .p-menu.is-open { transform: none; visibility: visible; }
  .p-nav { flex-direction: column; align-items: stretch; }
  .p-nav > li > a, .p-nav > li > button { width: 100%; justify-content: space-between; border-radius: 10px; font-size: 1.1rem; }
  .p-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 10px; min-width: 0; display: none; }
  .p-nav > li.open .p-sub { display: block; }
  .p-menu .p-header__actions { flex-direction: column; align-items: stretch; margin-top: 20px; }
  .p-menu .p-header__actions .p-btn { justify-content: center; }
  .p-header__actions--desk { display: none; }
  .p-menu__close { position: absolute; top: 22px; right: 22px; font-size: 1.8rem; background: none; border: 0; color: var(--p-ink); cursor: pointer; }
  .p-scrim { position: fixed; inset: 0; background: rgba(16,35,63,.45); opacity: 0; visibility: hidden; transition: .25s; z-index: 55; }
  .p-scrim.is-open { opacity: 1; visibility: visible; }
}
@media (min-width: 1200px) {
  .p-menu { display: flex; align-items: center; gap: 18px; }
  .p-menu .p-header__actions, .p-menu__close { display: none; }
  .p-scrim { display: none; }
}

/* ---------- Hero ---------- */
.p-hero { position: relative; overflow: hidden; overflow: clip; background: var(--p-paper); }
.p-stage { overflow: visible; }
.p-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 72px 0 96px; }
.p-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; margin-bottom: 22px; }
.p-hero__lead { font-size: 1.25rem; max-width: 34em; margin-bottom: 32px; }
.p-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.p-hero__pay { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--p-text); font-size: .98rem; }
.p-hero__pay span { display: inline-flex; align-items: center; gap: 8px; }
.p-hero__pay i { color: var(--p-green); font-size: 1.25rem; }

/* La carte : élément signature */
.p-stage { position: relative; min-height: 470px; display: grid; place-items: center; }
.p-stage::before {
  content: ""; position: absolute; inset: 6% -30% 6% 8%;
  background: var(--p-green); border-radius: 40px 0 0 40px;
}
.p-stage__pattern {
  position: absolute; inset: 6% -30% 6% 8%; border-radius: 40px 0 0 40px; opacity: .09;
  background-image:
    radial-gradient(circle at 20px 20px, #fff 3px, transparent 3.5px),
    linear-gradient(45deg, transparent 46%, #fff 46%, #fff 54%, transparent 54%);
  background-size: 40px 40px, 40px 40px;
}
.p-card {
  position: relative; width: min(420px, 92%); aspect-ratio: 1.586;
  border-radius: 22px; padding: 26px 28px; color: #fff;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(242,183,5,.35) 0%, transparent 55%),
    linear-gradient(135deg, #142c50 0%, #10233f 60%, #0b1a30 100%);
  box-shadow: 0 30px 60px -20px rgba(6,16,30,.6), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: rotate(-6deg); display: flex; flex-direction: column; justify-content: space-between;
}
.p-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.p-card__brand { font-family: var(--p-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.03em; }
.p-card__brand small { display: block; font-family: var(--p-body); font-weight: 600; font-size: .78rem; letter-spacing: 0; opacity: .75; }
.p-card__chip { width: 46px; height: 34px; border-radius: 7px; background: linear-gradient(135deg, #f7d36a, #c99a12); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.p-card__label { font-size: .85rem; opacity: .8; margin-bottom: 2px; }
.p-card__balance { font-family: var(--p-display); font-size: 2.3rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.p-card__balance small { font-size: 1rem; font-weight: 600; opacity: .85; }
.p-card__bottom { display: flex; justify-content: space-between; align-items: flex-end; font-size: .9rem; }
.p-card__qr { width: 54px; height: 54px; border-radius: 8px; background: #fff; padding: 5px; }
.p-card__qr svg { width: 100%; height: 100%; display: block; }
.p-toast {
  position: absolute; background: #fff; color: var(--p-ink); border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 20px 40px -18px rgba(16,35,63,.45); display: flex; gap: 12px; align-items: center;
  font-size: .95rem; line-height: 1.3; max-width: 290px;
}
.p-toast b { display: block; }
.p-toast__ico { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; }
.p-toast--top { top: 4%; right: 2%; }
.p-toast--top .p-toast__ico { background: var(--p-mint); color: var(--p-green-d); }
.p-toast--bottom { bottom: 2%; left: 0; }
.p-toast--bottom .p-toast__ico { background: #fff4cc; color: #8a6400; }
@media (prefers-reduced-motion: no-preference) {
  .p-card { animation: p-card-in .9s cubic-bezier(.2,.8,.2,1) both; }
  .p-toast--top { animation: p-pop .5s .7s both; }
  .p-toast--bottom { animation: p-pop .5s 1.1s both; }
  @keyframes p-card-in { from { transform: rotate(4deg) translateY(30px); opacity: 0; } to { transform: rotate(-6deg); opacity: 1; } }
  @keyframes p-pop { from { transform: translateY(10px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* ---------- Bandeau de confiance ---------- */
.p-trust { border-top: 1px solid var(--p-line); border-bottom: 1px solid var(--p-line); background: var(--p-mist); }
.p-trust .p-container { display: grid; grid-template-columns: repeat(4, 1fr); }
.p-trust__item { padding: 26px 22px; display: flex; gap: 14px; align-items: flex-start; }
.p-trust__item + .p-trust__item { border-left: 1px solid var(--p-line); }
.p-trust__item i { font-size: 1.7rem; color: var(--p-green); }
.p-trust__item b { display: block; color: var(--p-ink); font-size: 1.02rem; }
.p-trust__item span { font-size: .94rem; }

/* ---------- Constat ---------- */
.p-why { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.p-quote {
  font-family: var(--p-display); font-size: clamp(1.25rem, 1.9vw, 1.55rem); font-weight: 500;
  color: var(--p-ink); line-height: 1.3; border-left: 6px solid var(--p-sun); padding-left: 26px; margin: 0;
}
.p-why__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.p-why__list li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; }
.p-why__list i { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--p-mint); color: var(--p-green-d); font-size: 1.5rem; }
.p-why__list b { display: block; color: var(--p-ink); font-size: 1.1rem; margin-bottom: 2px; }

/* ---------- Offres ---------- */
.p-offers { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 22px; align-items: stretch; }
.p-offer { background: #fff; border: 1px solid var(--p-line); border-radius: var(--p-radius-lg); padding: 34px 30px; display: flex; flex-direction: column; }
.p-offer__ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 22px; background: var(--p-mint); color: var(--p-green-d); }
.p-offer h3 { font-size: 1.55rem; font-weight: 800; }
.p-offer ul { list-style: none; padding: 0; margin: 8px 0 28px; display: grid; gap: 10px; }
.p-offer li { display: flex; gap: 10px; }
.p-offer li i { color: var(--p-green); margin-top: 5px; }
.p-offer .p-btn { margin-top: auto; align-self: flex-start; }
.p-offer--pack { background: var(--p-ink); border-color: var(--p-ink); color: #c9d4e3; position: relative; }
.p-offer--pack h3 { color: #fff; }
.p-offer--pack .p-offer__ico { background: var(--p-sun); color: var(--p-ink); }
.p-offer--pack li i { color: var(--p-sun); }
.p-offer__tag { position: absolute; top: 26px; right: 26px; background: var(--p-sun); color: var(--p-ink); font-weight: 700; font-size: .85rem; border-radius: 999px; padding: 4px 12px; }

/* ---------- Carte santé : fonctionnalités ---------- */
.p-feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.p-phone {
  width: min(320px, 100%); margin-inline: auto; border-radius: 38px; background: var(--p-ink); padding: 14px;
  box-shadow: 0 30px 60px -25px rgba(16,35,63,.55);
}
.p-phone__screen { background: var(--p-mist); border-radius: 28px; padding: 22px 18px; min-height: 520px; }
.p-phone__hello { font-size: .9rem; margin-bottom: 4px; }
.p-phone__name { font-family: var(--p-display); font-weight: 800; color: var(--p-ink); font-size: 1.35rem; margin-bottom: 16px; }
.p-phone__bal { background: var(--p-green); color: #fff; border-radius: 18px; padding: 16px; margin-bottom: 14px; }
.p-phone__bal small { opacity: .85; }
.p-phone__bal div { font-family: var(--p-display); font-size: 1.8rem; font-weight: 700; }
.p-phone__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.p-phone__tile { background: #fff; border-radius: 14px; padding: 12px; font-size: .85rem; color: var(--p-ink); font-weight: 600; }
.p-phone__tile i { display: block; font-size: 1.4rem; color: var(--p-green); margin-bottom: 6px; }
.p-phone__med { background: #fff; border-radius: 14px; padding: 14px; font-size: .88rem; }
.p-phone__med b { color: var(--p-ink); display: block; margin-bottom: 8px; }
.p-phone__med dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; }
.p-phone__med dt { color: var(--p-text); font-weight: 400; }
.p-phone__med dd { margin: 0; color: var(--p-ink); font-weight: 600; text-align: right; }
.p-checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.p-checks li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; }
.p-checks i { color: var(--p-green); font-size: 1.4rem; margin-top: 2px; }
.p-checks b { color: var(--p-ink); display: block; }
.p-note { font-size: .95rem; background: #fff; border-radius: var(--p-radius); padding: 14px 16px; border: 1px dashed var(--p-line); }

/* ---------- Étapes (séquence réelle) ---------- */
.p-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.p-step { padding: 0 22px 0 0; position: relative; }
.p-step__n {
  width: 54px; height: 54px; border-radius: 50%; background: var(--p-green); color: #fff;
  font-family: var(--p-display); font-weight: 800; font-size: 1.35rem; display: grid; place-items: center;
  position: relative; z-index: 1; margin-bottom: 20px;
}
.p-step::before { content: ""; position: absolute; top: 27px; left: 54px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--p-green) 0 8px, transparent 8px 14px); }
.p-step:last-child::before { display: none; }
.p-step h3 { font-size: 1.25rem; font-weight: 700; }

/* ---------- Réseau de soins ---------- */
.p-network { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.p-kinds { display: grid; gap: 14px; }
.p-kind { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center; background: #fff; border-radius: var(--p-radius); padding: 18px; border: 1px solid var(--p-line); }
.p-kind i { width: 64px; height: 64px; border-radius: 16px; background: var(--p-mint); color: var(--p-green-d); display: grid; place-items: center; font-size: 1.9rem; }
.p-kind b { display: block; color: var(--p-ink); font-size: 1.15rem; }
.p-map {
  position: relative; border-radius: var(--p-radius-lg); background: var(--p-ink); aspect-ratio: 1.1; overflow: hidden;
}
.p-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.p-map__caption { position: absolute; left: 22px; bottom: 20px; right: 22px; color: #fff; }
.p-map__caption b { font-family: var(--p-display); font-size: 1.5rem; display: block; }

/* ---------- Diaspora ---------- */
.p-diaspora { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.p-flow { display: grid; gap: 0; }
.p-flow__item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding-bottom: 26px; position: relative; }
.p-flow__item::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: rgba(255,255,255,.18); }
.p-flow__item:last-child::before { display: none; }
.p-flow__dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: var(--p-sun); font-size: 1.25rem; }
.p-flow__item b { color: #fff; display: block; font-size: 1.1rem; }
.p-legal { font-size: .88rem; opacity: .75; margin-top: 18px; }

/* ---------- Publics ---------- */
.p-people { display: flex; flex-wrap: wrap; gap: 12px; }
.p-person { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--p-line); font-weight: 600; color: var(--p-ink); }
.p-person i { color: var(--p-green); font-size: 1.3rem; }

/* ---------- FAQ ---------- */
.p-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.p-faq details { border-bottom: 1px solid var(--p-line); padding: 20px 0; }
.p-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px; font-family: var(--p-display); font-weight: 700; font-size: 1.2rem; color: var(--p-ink); }
.p-faq summary::-webkit-details-marker { display: none; }
.p-faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--p-green); transition: transform .2s; }
.p-faq details[open] summary::after { transform: rotate(45deg); }
.p-faq details p { margin: 12px 0 0; max-width: 64ch; }

/* ---------- Appel final ---------- */
.p-cta { background: var(--p-green); border-radius: var(--p-radius-lg); padding: 56px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; color: #e4f5ec; }
.p-cta h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; }
.p-cta__actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.p-cta__actions .p-btn { justify-content: center; }
.p-stores { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; font-size: .9rem; }

/* ---------- Pages intérieures ---------- */
.p-page-hero { background: var(--p-mint); padding: 64px 0 56px; }
.p-page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; max-width: 20ch; }
.p-page-hero p { font-size: 1.2rem; max-width: 60ch; margin: 0; }
.p-crumbs { font-size: .95rem; margin-bottom: 14px; }
.p-crumbs a { color: var(--p-green-d); text-decoration: none; }
.p-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.p-box { background: #fff; border: 1px solid var(--p-line); border-radius: var(--p-radius-lg); padding: 32px; }
.p-box--mint { background: var(--p-mint); border-color: transparent; }
.p-box h3 { font-size: 1.4rem; }
.p-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.p-table th, .p-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--p-line); vertical-align: top; }
.p-table th { font-family: var(--p-display); color: var(--p-ink); font-size: 1.05rem; }
.p-table td:first-child { font-weight: 600; color: var(--p-ink); }
.p-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.p-plan { background: #fff; border: 1px solid var(--p-line); border-radius: var(--p-radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--p-text); }
.p-plan:hover { border-color: var(--p-green); }
.p-plan img { width: 48px; height: 48px; object-fit: contain; }
.p-plan b { color: var(--p-ink); font-family: var(--p-display); font-size: 1.2rem; }
.p-empty { background: #fff; border: 1px dashed var(--p-line); border-radius: var(--p-radius); padding: 28px; }

/* ---------- Pied de page ---------- */
.p-footer { background: var(--p-ink); color: #b8c5d6; padding: 72px 0 28px; font-size: .98rem; }
.p-footer a { color: #e3eaf3; text-decoration: none; }
.p-footer a:hover { color: var(--p-sun); }
.p-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12); }
.p-footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 16px; }
.p-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.p-footer__brand .p-logo__word { color: #fff; }
.p-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.p-footer__social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.p-footer__bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 24px; font-size: .9rem; }
.p-news { display: flex; gap: 8px; margin-top: 12px; }
.p-news input { flex: 1; min-width: 0; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; padding: 10px 16px; font: inherit; }
.p-news input::placeholder { color: #8fa0b6; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .p-offers { grid-template-columns: 1fr 1fr; }
  .p-offer--pack { grid-column: 1 / -1; }
  .p-trust .p-container { grid-template-columns: 1fr 1fr; }
  .p-trust__item:nth-child(3) { border-left: 0; }
  .p-trust__item:nth-child(n+3) { border-top: 1px solid var(--p-line); }
  .p-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
  .p-section { padding: 72px 0; }
  .p-hero__grid, .p-why, .p-feature, .p-network, .p-diaspora, .p-faq, .p-split, .p-cta { grid-template-columns: 1fr; gap: 40px; }
  .p-hero__grid { padding: 48px 0 72px; }
  .p-stage { min-height: 380px; }
  .p-stage::before, .p-stage__pattern { inset: 8% -20px 8% 4%; }
  .p-steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .p-step:nth-child(2)::before { display: none; }
  .p-feature__visual { order: 2; }
  .p-cta { padding: 40px 28px; }
}
@media (max-width: 575px) {
  body.pesa { font-size: 1rem; }
  .p-offers, .p-trust .p-container, .p-steps, .p-footer__grid { grid-template-columns: 1fr; }
  .p-trust__item + .p-trust__item { border-left: 0; border-top: 1px solid var(--p-line); }
  .p-step::before { display: none; }
  .p-toast { max-width: 230px; font-size: .85rem; }
  .p-toast--top { right: 0; top: 0; }
  .p-card { padding: 20px; }
  .p-card__balance { font-size: 1.8rem; }
  .p-topbar__right { display: none; }
  .p-header__actions--desk .pesa .p-btn--ghost { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Le thème d'origine colore tous les <p> : on rend la main aux blocs Pesa */
.pesa .p-section--ink p, .pesa .p-offer--pack p, .pesa .p-cta p, .pesa .p-footer p, .pesa .p-footer li { color: inherit; }
.pesa .p-section--ink .p-lead { color: #dbe4ef; }
.pesa .p-cta p { color: #e4f5ec; }
.pesa .p-footer .p-logo img { max-height: 40px; }
.pesa .p-quote { margin-top: 28px; }

/* Empêche les grilles de déborder sur petit écran */
.p-faq > *, .p-split > *, .p-why > *, .p-feature > *, .p-network > *, .p-diaspora > *, .p-hero__grid > * { min-width: 0; }
.p-faq summary { overflow-wrap: anywhere; }
.p-faq summary::after { flex: none; width: 1em; text-align: center; }
.p-faq details { overflow: hidden; }

/* ---------- Les trois cartes : Kimia, Bolingo, Libota ---------- */
.p-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.p-tier { background: var(--p-paper); border: 1px solid var(--p-line); border-radius: var(--p-radius-lg); padding: 22px; display: flex; flex-direction: column; }
.p-tier__face { aspect-ratio: 1.586; border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; margin-bottom: 18px; }
.p-tier--kimia .p-tier__face { background: linear-gradient(135deg, #1d6b52, var(--p-green-d)); }
.p-tier--bolingo .p-tier__face { background: linear-gradient(135deg, #1d3557, var(--p-ink)); }
.p-tier--libota .p-tier__face { background: linear-gradient(135deg, #3a2a05, #7a5a00 55%, var(--p-sun)); }
.p-tier__brand { font-family: var(--p-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.p-tier__name { font-family: var(--p-display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.3rem); letter-spacing: -0.02em; }
.p-tier__tag { color: var(--p-ink); font-weight: 600; min-height: 3em; }
.p-tier__prices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px 0; margin-bottom: 16px; border-top: 1px solid var(--p-line); border-bottom: 1px solid var(--p-line); }
.p-tier__prices strong { display: block; font-family: var(--p-display); font-size: 1.45rem; color: var(--p-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.p-tier__prices strong small { font-size: .8rem; font-weight: 700; }
.p-tier__prices span { font-size: .92rem; }
.p-checks--tight { gap: 10px; margin-bottom: 0; }
.p-checks--tight li { grid-template-columns: 24px 1fr; gap: 8px; }
.p-checks--tight i { font-size: 1.15rem; }
.p-tiers__note { margin: 28px 0 0; max-width: 75ch; font-size: .98rem; }
@media (max-width: 991px) { .p-tiers { grid-template-columns: 1fr; max-width: 520px; } }
