/* ==========================================================================
   Talentel Training Group SARL — Feuille de style principale
   Palette : rouge TTG (#D8232A) / bleu nuit (#0F1B33) / gris clair (#F5F6F8)
   Typo    : Playfair Display (titres, rappel du logotype) + Inter (texte)
   ========================================================================== */

:root {
  --red: #d8232a;
  --red-dark: #a8151c;
  --red-soft: #fdeaea;
  --navy: #0f1b33;
  --navy-2: #16233f;
  --navy-3: #1e2f52;
  --ink: #1c2434;
  --body: #4a5567;
  --muted: #7b8698;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --bg-soft-2: #eef1f6;
  --gold: #c9a227;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(15, 27, 51, .06);
  --shadow: 0 14px 40px rgba(15, 27, 51, .10);
  --shadow-lg: 0 28px 70px rgba(15, 27, 51, .18);
  --container: 1180px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --header-h: 78px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--body);
  background: var(--bg);
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--red-dark); }

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.18;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.55rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.42rem); }
h4 { font-family: var(--sans); font-size: 1.02rem; font-weight: 700; letter-spacing: 0; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }

:focus-visible {
  outline: 3px solid rgba(216, 35, 42, .55);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: 0; color: #fff; }

/* Libellé accessible mais invisible (ne pas confondre avec .skip-link, qui est
   positionné en haut de page et redevient visible au focus clavier). */
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Utilitaires ---------- */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #c9d3e4; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--red);
  display: block;
}
.section--navy .eyebrow { color: #ff8a8f; }
.section--navy .eyebrow::before { background: #ff8a8f; }

.section-head { max-width: 720px; margin-bottom: clamp(30px, 4vw, 50px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.lead { font-size: 1.08rem; color: var(--body); }
.section--navy .lead { color: #b9c5da; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: .93rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .22s var(--ease), background .22s var(--ease),
              color .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(216, 35, 42, .26); }
.btn--primary:hover { background: var(--red-dark); color: #fff; box-shadow: 0 14px 30px rgba(216, 35, 42, .32); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: .85rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .92rem;
}
.link-arrow svg { transition: transform .22s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Barre supérieure ---------- */
.topbar {
  background: var(--navy);
  color: #aebbd0;
  font-size: .82rem;
  letter-spacing: .01em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
  flex-wrap: wrap;
  padding-block: 6px;
}
.topbar a { color: #dfe6f2; }
.topbar a:hover { color: #fff; }
.topbar__list { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.topbar__list li { display: flex; align-items: center; gap: 8px; margin: 0; }
.topbar__list svg { color: var(--red); flex: none; }
.topbar__socials { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.topbar__socials li { margin: 0; }
.topbar__socials a {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.topbar__socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- En-tête / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(15, 27, 51, .10); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }

/* Logo TTG : le fichier fourni contient de larges marges blanches.
   On recadre sur l'emprise réelle du logotype (mesurée sur le fichier)
   sans jamais redessiner le logo : simple mise à l'échelle + décalage. */
.logo {
  display: block;
  height: var(--logo-h, 46px);
  aspect-ratio: 3.76 / 1;
  overflow: hidden;
  flex: none;
}
.logo img {
  display: block;
  width: 153.4%;
  height: auto;
  transform: translate(-20.3%, -35.5%);
}
.logo--footer { --logo-h: 46px; }
.logo--page { --logo-h: 62px; }

.nav__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
  color: var(--navy);
}
.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background .2s var(--ease);
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__menu > li { margin: 0; }
.nav__link {
  display: block;
  padding: 10px 13px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  border-radius: 8px;
  position: relative;
}
.nav__link:hover { color: var(--red); background: var(--bg-soft); }
.nav__link[aria-current="page"] { color: var(--red); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 2px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.nav__cta { margin-left: 8px; }

/* ---------- Hero avec carrousel photo ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 82vh, 780px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
}
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.15s var(--ease);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: kenburns 14s ease-in-out both;
}
.hero__slide.is-active { opacity: 1; }
@keyframes kenburns {
  from { transform: scale(1.02); }
  to { transform: scale(1.11); }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(15, 27, 51, .94) 0%, rgba(15, 27, 51, .82) 42%, rgba(15, 27, 51, .42) 72%, rgba(15, 27, 51, .55) 100%);
}
.hero__inner { position: relative; padding: clamp(60px, 9vw, 110px) 0 clamp(80px, 8vw, 100px); }
.hero__content { max-width: 680px; color: #d7dfee; }
.hero__content h1 { color: #fff; margin-bottom: 20px; }
.hero__content h1 em {
  font-style: normal;
  color: #ff5a5f;
  display: block;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero__kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.hero__text { font-size: 1.06rem; color: #c8d3e6; max-width: 560px; margin-bottom: 30px; }

.hero__controls {
  position: absolute;
  right: 22px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}
.hero__dots { display: flex; gap: 9px; margin-right: 8px; }
.hero__dots button {
  width: 10px; height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .38);
  cursor: pointer;
  transition: background .2s var(--ease), width .24s var(--ease);
}
.hero__dots button[aria-selected="true"] { background: var(--red); width: 30px; border-radius: 999px; }
.carousel-arrow {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(15, 27, 51, .35);
  color: #fff;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.carousel-arrow:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }

/* ---------- Bande de statistiques ---------- */
.stats {
  position: relative;
  margin-top: -56px;
  z-index: 4;
}
.stats__card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}
.stat {
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.stat__num span { color: var(--red); }
.stat__label { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }

/* ---------- Cartes ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; }

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  height: 100%;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.feature::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff7a2f);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature:hover::after { transform: scaleX(1); }
.feature__icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--red-soft);
  color: var(--red);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.feature h3 { font-size: 1.18rem; }
.feature p { font-size: .94rem; margin-bottom: 0; }
.feature__index {
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--bg-soft-2);
  font-weight: 700;
  line-height: 1;
}

/* ---------- Galerie carrousel (photos) ---------- */
.gallery { position: relative; }
.gallery__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  display: flex;
  gap: 20px;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.gallery__viewport::-webkit-scrollbar { display: none; }
.gallery__item {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy);
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.gallery__item:hover img { transform: scale(1.07); }
.gallery__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 44px 20px 18px;
  background: linear-gradient(to top, rgba(15, 27, 51, .92), rgba(15, 27, 51, 0));
  color: #fff;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.4;
}
.gallery__caption small {
  display: block;
  font-weight: 500;
  color: #b9c5da;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 4px;
}
.gallery__nav { display: flex; gap: 10px; justify-content: center; margin-top: 26px; }
.gallery__nav .carousel-arrow {
  border-color: var(--line);
  background: #fff;
  color: var(--navy);
}
.gallery__nav .carousel-arrow:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Formations (dynamique) ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 32px;
}
.chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-family: var(--sans);
  font-size: .84rem;
  font-weight: 600;
  padding: 9px 17px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.formation {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.formation:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.formation__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft-2);
  overflow: hidden;
}
.formation__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.formation:hover .formation__media img { transform: scale(1.06); }
.formation__tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--red);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.formation__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.formation__body h3 { font-size: 1.14rem; margin-bottom: 8px; }
.formation__body p { font-size: .92rem; color: var(--body); margin-bottom: 16px; }
.formation__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.formation__meta span { display: inline-flex; align-items: center; gap: 6px; }
.formation__meta svg { color: var(--red); flex: none; }
.formation__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.formation__price { font-family: var(--serif); font-size: 1.05rem; color: var(--navy); font-weight: 700; }
.formation__price small { font-family: var(--sans); font-size: .74rem; color: var(--muted); font-weight: 500; display: block; }

.state-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  font-size: .94rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
}
.state-msg--error { background: #fff4f4; color: #a8151c; }

/* ---------- Témoignages ---------- */
.testimonials { position: relative; }
.testimonial {
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(32px, 4vw, 52px);
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
}
.testimonial__quote {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.1vw, 1.42rem);
  line-height: 1.55;
  color: var(--navy);
  margin-bottom: 26px;
}
.testimonial__stars { color: var(--gold); margin-bottom: 16px; letter-spacing: 3px; font-size: 1rem; }
.testimonial__who { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testimonial__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  flex: none;
}
.testimonial__name { font-weight: 700; color: var(--navy); font-size: .95rem; line-height: 1.3; }
.testimonial__role { font-size: .82rem; color: var(--muted); }
.testimonial__track { position: relative; }
.testimonial__dots { display: flex; justify-content: center; gap: 9px; margin-top: 26px; }
.testimonial__dots button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%;
  background: #c8d0de; cursor: pointer; transition: background .2s var(--ease), width .2s var(--ease);
}
.testimonial__dots button[aria-selected="true"] { background: var(--red); width: 26px; border-radius: 999px; }

/* ---------- Équipe / Leadership ---------- */
.founder {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.founder__photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--navy);
}
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.founder__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 8px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  pointer-events: none;
}
.founder__badge {
  position: absolute;
  right: 16px; bottom: 16px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: var(--shadow);
  font-size: .8rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  line-height: 1.35;
}
.founder__badge span { display: block; color: var(--red); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.founder__name { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 6px; }
.founder__role {
  color: var(--red);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;
  margin-bottom: 22px;
  display: block;
}
.founder__quote {
  border-left: 3px solid var(--red);
  padding: 6px 0 6px 20px;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-style: italic;
  color: var(--navy-3);
  margin: 24px 0;
}
.pill-list { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 22px 0 0; padding: 0; }
.pill-list li {
  margin: 0;
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
}

.member {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  height: 100%;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member__avatar {
  width: 62px; height: 62px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-3), var(--navy));
  margin-bottom: 16px;
}
.member__avatar--red { background: linear-gradient(135deg, #ef4444, var(--red-dark)); }
.member h3 { font-size: 1.05rem; margin-bottom: 4px; }
.member__role { font-size: .82rem; color: var(--red); font-weight: 600; margin-bottom: 12px; display: block; }
.member p { font-size: .9rem; margin-bottom: 0; }
.member__meta {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  color: var(--muted);
}
.member__meta strong { color: var(--navy); }
.member--lead {
  border-color: rgba(216, 35, 42, .32);
  box-shadow: 0 12px 34px rgba(15, 27, 51, .08);
}
.member--lead .member__role { color: var(--navy); }

/* ---------- Séparateurs de section « équipe » ---------- */
.team-split { margin-bottom: clamp(30px, 4vw, 44px); }
.team-split:last-child { margin-bottom: 0; }
.team-split__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.team-split__head h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  margin: 0;
}
.team-split__head span.tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 999px;
  padding: 5px 13px;
}
.team-split__head .rule {
  flex: 1 1 60px;
  height: 1px;
  background: var(--line);
  min-width: 24px;
}

/* ---------- Groupes de choix (radios) ---------- */
.radio-group {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}
.radio-group .check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.radio-group .check:hover { border-color: #c9d1de; }
.radio-group .check:has(input:checked) {
  border-color: var(--red);
  background: var(--red-soft);
}
.radio-group .check input { margin-top: 3px; flex: none; }
.radio-group .check span { font-size: .9rem; line-height: 1.5; color: var(--ink); }
.radio-group .check small { display: block; color: var(--muted); font-size: .8rem; }

/* ---------- Panneau de confirmation ---------- */
.confirmation {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 38px);
  box-shadow: var(--shadow);
}
.confirmation.is-visible { display: block; }
.confirmation__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.confirmation h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 10px; }
.confirmation > p { font-size: .95rem; }
.confirmation__recap {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 22px 0;
}
.confirmation__recap dl { margin: 0; display: grid; gap: 10px; }
.confirmation__recap dt {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--muted);
  font-weight: 700;
}
.confirmation__recap dd {
  margin: 2px 0 0;
  font-size: .92rem;
  color: var(--navy);
  font-weight: 600;
}
.confirmation__ref {
  font-family: var(--sans);
  font-size: .82rem;
  color: var(--muted);
  word-break: break-all;
}

/* ---------- Timeline / valeurs ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 11px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--line);
}
.timeline li {
  position: relative;
  padding-left: 42px;
  margin-bottom: 30px;
}
.timeline li:last-child { margin-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 4px; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--red);
}
.timeline h4 { margin-bottom: 6px; color: var(--navy); }
.timeline p { font-size: .93rem; margin-bottom: 0; }

/* ---------- Bandeau CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy-3) 62%, #24406e 100%);
  color: #d6dfef;
  border-radius: var(--radius);
  padding: clamp(34px, 5vw, 58px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 35, 42, .45), transparent 70%);
  right: -80px; top: -120px;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta-band p { margin-bottom: 0; color: #becce4; max-width: 620px; }

/* ---------- En-tête des pages intérieures ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(112deg, var(--navy) 0%, var(--navy-3) 100%);
  color: #c9d3e4;
  padding: clamp(52px, 7vw, 84px) 0;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 82% 20%, rgba(216, 35, 42, .30), transparent 52%);
  z-index: -1;
}
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { max-width: 660px; color: #bccae1; margin-bottom: 0; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  font-size: .8rem;
  color: #93a3bf;
}
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 8px; }
.breadcrumb li::after { content: "/"; color: #5d6e8e; }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: #c9d3e4; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Formulaires ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 40px);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 600; color: var(--navy); }
.field__label { font-size: .84rem; font-weight: 600; color: var(--navy); }
.field label .req,
.field__label .req { color: var(--red); }
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: .94rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(216, 35, 42, .12);
}
.field input:invalid:not(:placeholder-shown) { border-color: #d98b8b; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .84rem;
  color: var(--body);
  line-height: 1.5;
}
.check input { width: 17px; height: 17px; margin-top: 3px; flex: none; accent-color: var(--red); }
.form-note { font-size: .78rem; color: var(--muted); }
.form-status { margin-top: 16px; font-size: .9rem; font-weight: 600; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-ok { color: #1c7c4a; }
.form-status.is-error { color: var(--red-dark); }
.form-status.is-pending { color: var(--navy-3); }

.contact-card {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-card:last-child { border-bottom: 0; }
.contact-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  display: grid; place-items: center;
  flex: none;
}
.contact-card h4 { margin-bottom: 3px; color: var(--navy); font-size: .94rem; }
.contact-card p, .contact-card a { font-size: .9rem; margin: 0; }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 300px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 26px;
}

/* ---------- FAQ / accordéon ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  cursor: pointer;
  padding: 20px 40px 20px 0;
  font-weight: 600;
  color: var(--navy);
  font-size: .98rem;
  list-style: none;
  position: relative;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--red);
  line-height: 1;
  font-weight: 400;
}
.accordion details[open] summary::after { content: "–"; }
.accordion details p { padding: 0 40px 20px 0; font-size: .93rem; margin: 0; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy); color: #9fb0c9; padding: clamp(46px, 6vw, 70px) 0 0; font-size: .9rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px 32px;
  padding-bottom: 44px;
}
.site-footer h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer p { color: #9fb0c9; }
.footer-brand .logo { margin-bottom: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #9fb0c9; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact svg { color: var(--red); flex: none; margin-top: 4px; }
.footer-contact a { color: #d8e1ef; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: #8298b6;
}
.footer-bottom a { color: #b6c6dc; }

/* ---------- Bouton WhatsApp flottant ---------- */
.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 56px;
  padding: 0 21px 0 15px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 12px 28px rgba(37, 211, 102, .40);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), background .24s var(--ease);
}
.wa-fab:hover,
.wa-fab:focus-visible {
  background: #1fb959;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(37, 211, 102, .48);
}
.wa-fab svg { flex: none; }
/* Halo discret qui attire l'œil sans être intrusif */
.wa-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid rgba(37, 211, 102, .65);
  animation: wa-pulse 2.8s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .8; }
  70%, 100% { transform: scale(1.3); opacity: 0; }
}

/* ---------- Bouton retour en haut ---------- */
.to-top {
  position: fixed;
  right: 20px; bottom: 88px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--red);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(216, 35, 42, .38);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .28s var(--ease);
  z-index: 90;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Animations d'apparition ----------
   Par défaut tout est visible : l'état masqué n'est appliqué que si le
   JavaScript a bien pris la main (classe .js-reveal sur <html>).
   Ainsi le contenu reste lisible même si le script ne s'exécute pas. */
[data-reveal] { opacity: 1; transform: none; }
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Composants des pages intérieures ---------- */
.split {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(28px, 4.5vw, 60px);
  align-items: start;
}
.split--rev { grid-template-columns: .88fr 1.12fr; }

.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li {
  position: relative;
  padding-left: 26px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: .62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.info-panel {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
}
.info-panel h3 { font-size: 1.1rem; }
.info-panel .prose ul li::before { background: var(--navy); }
/* Les listes de contact réutilisées dans un panneau clair gardent un
   contraste lisible (le style par défaut est prévu pour le footer sombre). */
.info-panel .footer-contact a { color: var(--navy); }
.info-panel .footer-contact a:hover { color: var(--red); }
.info-panel .footer-contact svg { color: var(--red); }

.quote-block {
  position: relative;
  background: var(--navy);
  color: #d8e2f2;
  border-radius: var(--radius);
  padding: clamp(28px, 3.6vw, 44px);
  overflow: hidden;
}
.quote-block::before {
  content: "“";
  position: absolute;
  top: -12px; left: 18px;
  font-family: var(--serif);
  font-size: 8rem;
  color: rgba(216, 35, 42, .45);
  line-height: 1;
}
.quote-block p {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.5;
  color: #fff;
}
.quote-block cite {
  display: block;
  margin-top: 18px;
  font-family: var(--sans);
  font-style: normal;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #ff8a8f;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-strip > div {
  background: #fff;
  padding: 22px 18px;
  text-align: center;
}
.stat-strip strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--navy);
  line-height: 1.1;
}
.stat-strip span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 22px 22px 22px 68px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 20px; top: 20px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  font-weight: 700;
  font-size: .82rem;
}
.steps h4 { margin-bottom: 4px; }
.steps p { font-size: .9rem; margin: 0; }

.sector {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: flex-end;
}
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform .7s var(--ease), opacity .4s var(--ease); }
.sector:hover img { transform: scale(1.06); opacity: .7; }
.sector__body { position: relative; padding: 24px; }
.sector__body h3 { color: #fff; font-size: 1.1rem; margin-bottom: 6px; }
.sector__body p { font-size: .88rem; color: #d5dfef; margin: 0; }

.avatar-row { display: flex; align-items: center; gap: 12px; }
.avatar-row .testimonial__avatar { width: 44px; height: 44px; font-size: .95rem; }

/* ---------- Sommaire de services (ancres) ---------- */
.toc {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.toc h2 {
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { margin: 0 0 2px; counter-increment: toc; }
.toc a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--navy);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-size: .7rem;
  font-weight: 700;
  color: var(--red);
  flex: none;
}
.toc a:hover { background: var(--bg-soft); color: var(--red); }

/* ---------- Bloc service détaillé ---------- */
.service-block {
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.service-block__head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}
.service-block__num {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 13px;
  background: var(--red-soft);
  color: var(--red);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
}
.service-block h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin-bottom: 6px; }
.service-block__tagline {
  font-size: .9rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: .01em;
  margin: 0;
}
.service-lead { font-size: 1rem; max-width: 760px; }

.service-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.service-panel {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.service-panel h3 {
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
}
.service-panel--accent { background: var(--navy); border-color: var(--navy); }
.service-panel--accent h3 { color: #fff; }
.service-panel--accent li { color: #c3cfe2; }
.service-panel--accent li::before { background: #ff8a8f !important; }
.service-panel ul { list-style: none; margin: 0; padding: 0; }
.service-panel li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  font-size: .9rem;
  line-height: 1.55;
}
.service-panel li:last-child { margin-bottom: 0; }
.service-panel li::before {
  content: "";
  position: absolute;
  left: 2px; top: .6em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.service-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.service-facts span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
}
.service-facts strong { color: var(--red); font-weight: 700; }

/* ---------- Grille de références / certifications ---------- */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
}
.cred {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
}
.cred strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 6px;
}
.cred span {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  line-height: 1.4;
  display: block;
}
.section--navy .cred { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.section--navy .cred strong { color: #fff; }
.section--navy .cred span { color: #a9b8d0; }

/* ---------- Cartes de documents téléchargeables ---------- */
.doc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  height: 100%;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.doc-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.doc-card__icon {
  flex: none;
  width: 46px; height: 56px;
  border-radius: 6px 12px 6px 6px;
  background: var(--red-soft);
  color: var(--red);
  display: grid; place-items: center;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.doc-card h3 { font-size: 1.05rem; margin: 0 0 4px; }
.doc-card__meta { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.doc-card p { font-size: .9rem; margin-bottom: 18px; }
.doc-card ul { list-style: none; margin: 0 0 20px; padding: 0; }
.doc-card li {
  position: relative;
  padding-left: 20px;
  font-size: .86rem;
  margin-bottom: 6px;
  color: var(--body);
}
.doc-card li::before {
  content: "";
  position: absolute;
  left: 2px; top: .58em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.doc-card .btn { margin-top: auto; }
.doc-card--feature {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%);
  border-color: var(--navy);
  color: #c3cfe2;
}
.doc-card--feature h3 { color: #fff; }
.doc-card--feature p { color: #b9c5da; }
.doc-card--feature li { color: #b9c5da; }
.doc-card--feature li::before { background: #ff8a8f; }
.doc-card--feature .doc-card__meta { color: #93a3bf; }
.doc-card--feature .doc-card__icon { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- Mise en page des services détaillés ---------- */
.services-layout {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .service-cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 16px; }
  .founder { grid-template-columns: minmax(0, 330px) minmax(0, 1fr); }
}

@media (max-width: 1120px) {
  .nav__toggle { display: grid; }
  .nav__menu {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(15, 27, 51, .12);
    padding: 12px 16px 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height .35s var(--ease), opacity .25s var(--ease), padding .3s var(--ease);
  }
  .nav__menu.is-open {
    max-height: 78vh;
    overflow-y: auto;
    opacity: 1;
    pointer-events: auto;
  }
  .nav__link { padding: 13px 12px; font-size: .95rem; border-radius: 8px; }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__link[aria-current="page"] { background: var(--red-soft); }
  .nav__cta { margin: 10px 0 0; }
  .nav { flex-wrap: wrap; }
  .site-header .nav { position: relative; }

  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--rev { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder__photo { max-width: 430px; }
  .gallery__item { flex: 0 0 calc((100% - 20px) / 2); }
  .cta-band { grid-template-columns: 1fr; }
  .stats { margin-top: -40px; }
  .stats__card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  /* Sur mobile, le bouton WhatsApp devient une pastille compacte :
     moins d'encombrement, pas de chevauchement avec les contrôles du hero. */
  .wa-fab {
    height: 52px;
    width: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .wa-fab span {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  .to-top { bottom: 84px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery__item { flex: 0 0 88%; }
  .topbar__inner { justify-content: center; font-size: .78rem; }
  .topbar__socials { display: none; }
  .logo { --logo-h: 40px; }
  .hero { min-height: 78vh; }
  .hero__controls { position: static; margin-top: 28px; justify-content: flex-start; }
  .hero__inner { padding-bottom: 40px; }
  .stats { margin-top: 0; }
  .stats__card { border-radius: var(--radius); }
  .stat { padding: 22px 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section-head { text-align: left; }
  .founder__photo { max-width: 100%; }
  .testimonial { padding: 26px 20px; }
  .accordion summary { font-size: .93rem; }
}

/* ==========================================================================
   PLATEFORME — modules (hub, e-learning, quiz, job center, CRM, assistant)
   ========================================================================== */

/* ---------- Hub de modules ---------- */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 22px;
}
.module-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  height: 100%;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease);
}
.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #cfd7e4;
}
.module-card__top {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}
.module-card__icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--red-soft);
  color: var(--red);
}
.module-card h3 { font-size: 1.06rem; margin: 0; }
.module-card__num {
  position: absolute;
  top: 18px; right: 20px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #eaeef5;
  line-height: 1;
}
.module-card p { font-size: .9rem; margin-bottom: 16px; }
.module-card ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: .84rem;
}
.module-card li {
  position: relative;
  padding-left: 21px;
  margin-bottom: 7px;
  color: var(--body);
}
.module-card li::before {
  content: "";
  position: absolute;
  left: 2px; top: .58em;
  width: 11px; height: 6px;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}
.module-card .link-arrow { margin-top: auto; font-size: .88rem; }
.module-card--soon { background: var(--bg-soft); }
.badge-soon {
  display: inline-block;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  background: #fff3d6;
  color: #8a6210;
  border-radius: 999px;
  padding: 3px 10px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ---------- Bandeau d'avertissement honnête ---------- */
.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fffbeb;
  border: 1px solid #f3e0a8;
  border-left: 4px solid #c9a227;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: .88rem;
  color: #6b5518;
  margin-bottom: 28px;
}
.notice svg { flex: none; margin-top: 2px; color: #a5821e; }
.notice p { margin: 0; color: #6b5518; }
.notice strong { color: #52400f; }

/* ---------- Paiement / opérateurs ---------- */
.pay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}
.pay-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pay-card__brand {
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy);
}
.pay-card__num {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--red);
}
.pay-card small { font-size: .78rem; color: var(--muted); }

/* ---------- Quiz ---------- */
.quiz { max-width: 760px; }
.quiz__q {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}
.quiz__q legend,
.quiz__q h3 { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.quiz__opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: .9rem;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.quiz__opt:hover { border-color: #c9d1de; background: var(--bg-soft); }
.quiz__opt input { margin-top: 3px; flex: none; accent-color: var(--red); }
.quiz__opt.is-correct { border-color: #2f9e63; background: #eefaf2; }
.quiz__opt.is-wrong { border-color: #d9534f; background: #fdeeee; }
.quiz__score {
  background: var(--navy);
  color: #d6dfef;
  border-radius: var(--radius);
  padding: 26px;
  margin-top: 8px;
}
.quiz__score strong { color: #fff; font-size: 1.6rem; font-family: var(--serif); }

/* ---------- Certificat ---------- */
.certificate {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 44px);
  box-shadow: var(--shadow);
}
.certificate__inner {
  border: 6px double var(--navy);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 56px);
  text-align: center;
  position: relative;
  background:
    radial-gradient(circle at 50% 0%, rgba(216,35,42,.05), transparent 60%),
    #fff;
}
.certificate__brand {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}
.certificate__sub {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 30px;
}
.certificate__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  color: var(--navy);
  margin-bottom: 6px;
}
.certificate__lede { font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.certificate__name {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4.4vw, 2.4rem);
  color: var(--red);
  border-bottom: 2px solid var(--line);
  display: inline-block;
  padding: 0 26px 10px;
  margin-bottom: 22px;
}
.certificate__course {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.certificate__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 30px;
  font-size: .8rem;
  color: var(--muted);
  margin-top: 26px;
}
.certificate__seal {
  width: 76px; height: 76px;
  border-radius: 50%;
  border: 2px solid var(--red);
  color: var(--red);
  display: grid; place-items: center;
  margin: 26px auto 0;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.25;
}

/* ---------- Tableau de bord / CRM ---------- */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin-bottom: 34px;
}
.dash-kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.dash-kpi strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--navy);
  line-height: 1.1;
}
.dash-kpi span {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 600;
}
.dash-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}
.dash-toolbar select,
.dash-toolbar input {
  font-family: var(--sans);
  font-size: .88rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 13px;
  background: #fff;
  color: var(--ink);
}
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: .84rem;
  min-width: 720px;
}
table.data th {
  text-align: left;
  padding: 13px 16px;
  background: var(--bg-soft);
  color: var(--navy);
  font-size: .72rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--body);
  vertical-align: top;
}
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: #fafbfd; }
.pill-status {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-soft-2);
  color: var(--navy);
  white-space: nowrap;
}
.pill-status--new { background: var(--red-soft); color: var(--red-dark); }
.pill-status--ok { background: #e8f7ee; color: #1c7c4a; }

/* ---------- Étoiles de notation ---------- */
.stars { display: inline-flex; gap: 3px; color: #e2b93b; }
.stars svg { width: 15px; height: 15px; }
.stars--lg svg { width: 30px; height: 30px; }
.rating-input {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 4px;
  border: 0;
  padding: 0;
  margin: 0;
}
.rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-input label {
  cursor: pointer;
  color: #d7dde7;
  font-size: 1.9rem;
  line-height: 1;
  transition: color .15s var(--ease), transform .15s var(--ease);
}
.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label { color: #e2b93b; }
.rating-input label:hover { transform: scale(1.08); }
.rating-input input:focus-visible + label { outline: 2px solid var(--red); outline-offset: 2px; }

/* ---------- Galerie média / vidéo ---------- */
.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 18px; }
.media-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  aspect-ratio: 4 / 3;
}
.media-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.media-item:hover img { transform: scale(1.05); }
.media-item__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 16px 14px;
  background: linear-gradient(transparent, rgba(15,27,51,.86));
  color: #fff;
  font-size: .84rem;
  font-weight: 600;
}
.media-item__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
}
.media-item__play span {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(216,35,42,.92);
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(0,0,0,.3);
}

/* ---------- Blog ---------- */
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__cat {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 9px;
}
.post-card h3 { font-size: 1.06rem; margin-bottom: 10px; }
.post-card p { font-size: .89rem; margin-bottom: 16px; }
.post-card .link-arrow { margin-top: auto; font-size: .86rem; }
.post-card__date { font-size: .76rem; color: var(--muted); margin-bottom: 6px; }

/* ---------- Fil d'actualité / événements ---------- */
.event-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 14px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.event-row:hover { border-color: #cfd7e4; box-shadow: var(--shadow-sm); }
.event-row__date {
  flex: none;
  width: 68px;
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 18px;
}
.event-row__date strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--navy);
  line-height: 1;
}
.event-row__date span {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--red);
  font-weight: 700;
}
/* Variante pour les repères non numériques (« Web », « Annuel », « HSE ») :
   un mot long en Playfair débordait sur le titre de la carte. */
.event-row__date--text { width: 82px; }
.event-row__date--text strong {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.3;
  word-break: break-word;
}
.event-row h3 { font-size: 1.02rem; margin-bottom: 6px; }
.event-row p { font-size: .88rem; margin: 0 0 8px; }
.event-row__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.event-row__tags span {
  font-size: .72rem;
  font-weight: 600;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
  color: var(--navy);
}

/* ---------- Assistant virtuel & chat ---------- */
.bot-launcher {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 96;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 0;
  background: var(--navy);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(15, 27, 51, .34);
  transition: transform .2s var(--ease);
}
.bot-launcher:hover { transform: translateY(-2px); }
.bot-launcher__dot {
  position: absolute;
  top: 3px; right: 3px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: #25d366;
  border: 2px solid #fff;
}

.bot-panel {
  position: fixed;
  right: 20px;
  bottom: 156px;
  z-index: 97;
  width: min(360px, calc(100vw - 40px));
  max-height: min(520px, calc(100vh - 200px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 26px 64px rgba(15, 27, 51, .26);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.bot-panel.is-open { display: flex; }
.bot-panel__head {
  background: var(--navy);
  color: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.bot-panel__head strong { font-size: .92rem; display: block; }
.bot-panel__head small { font-size: .72rem; color: #a9b8d0; }
.bot-panel__close {
  margin-left: auto;
  background: transparent;
  border: 0;
  color: #a9b8d0;
  cursor: pointer;
  padding: 4px;
  line-height: 0;
}
.bot-panel__close:hover { color: #fff; }
.bot-log {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-soft);
}
.bot-msg {
  max-width: 88%;
  font-size: .86rem;
  line-height: 1.55;
  padding: 11px 14px;
  border-radius: 14px;
  white-space: pre-line;
}
.bot-msg--bot { background: #fff; border: 1px solid var(--line); color: var(--body); border-bottom-left-radius: 4px; }
.bot-msg--user { background: var(--red); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.bot-msg a { color: var(--red); font-weight: 600; text-decoration: underline; }
.bot-msg--user a { color: #fff; }
.bot-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 14px 0;
  background: var(--bg-soft);
}
.bot-quick button {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--navy);
  cursor: pointer;
}
.bot-quick button:hover { border-color: var(--red); color: var(--red); }
.bot-form {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.bot-form input {
  flex: 1;
  font-family: var(--sans);
  font-size: .87rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 15px;
}
.bot-form input:focus { outline: none; border-color: var(--red); }
.bot-form button {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--red);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
}

/* Empilement des boutons flottants en mobile */
@media (max-width: 700px) {
  .wa-fab { bottom: 20px; }
  .bot-launcher { bottom: 82px; right: 20px; width: 52px; height: 52px; }
  .bot-panel { bottom: 144px; right: 12px; left: 12px; width: auto; }
  .to-top { bottom: 146px; }
  .event-row { flex-direction: column; gap: 14px; }
  .event-row__date {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 12px;
    width: auto;
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-align: left;
  }
}

/* Impression du certificat */
@media print {
  .topbar, .site-header, .site-footer, .wa-fab, .bot-launcher, .bot-panel,
  .to-top, .page-hero, .no-print { display: none !important; }
  body { background: #fff; }
  .section { padding: 0 !important; }
  .certificate { box-shadow: none; border: 0; padding: 0; }
  .certificate__inner { border-color: #0f1b33; }
}

/* ==========================================================================
   PLATEFORME — compléments (CRM, calendrier, carnet de membre)
   ========================================================================== */

.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 16px; }
.mini-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.mini-card h4 { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; color: var(--navy); }
.mini-card h4 svg { color: var(--red); flex: none; }
.mini-card p { font-size: .87rem; margin: 0; }
.mini-card--soft { background: var(--bg-soft); }

.admin-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  color: #c9d3e4;
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: .88rem;
  margin-bottom: 26px;
}
.admin-banner strong { color: #fff; }
.admin-banner .badge-soon { background: rgba(255, 255, 255, .14); color: #ffe6a3; margin-left: 0; }
.admin-banner p { margin: 0; max-width: 760px; }

.relance-list { display: grid; gap: 12px; }
.relance-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: .86rem;
}
.relance-row strong { color: var(--navy); }
.relance-row .relance-row__action { margin-left: auto; font-weight: 600; color: var(--red); }

.cal-month { margin-bottom: 30px; }
.cal-month:last-child { margin-bottom: 0; }
.cal-month__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cal-month__head span {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
}
.cal-month__head .rule { flex: 1 1 40px; height: 1px; background: var(--line); }

.carnet { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.carnet li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: .87rem;
  margin: 0;
}
.carnet li strong { color: var(--navy); }
.carnet__meta { color: var(--muted); font-size: .78rem; }
.carnet__del {
  margin-left: auto;
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--sans);
  font-size: .78rem;
  text-decoration: underline;
}
.carnet__del:hover { color: var(--red); }
.empty-state {
  text-align: center;
  color: var(--muted);
  font-size: .88rem;
  padding: 22px;
  background: var(--bg-soft);
  border: 1px dashed #d5dbe6;
  border-radius: var(--radius-sm);
}

@media (max-width: 700px) {
  .relance-row .relance-row__action { margin-left: 0; width: 100%; }
}

/* ---------- Événement annuel — ACBIS Summit ---------- */
.acbis-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 40px);
  box-shadow: var(--shadow-sm);
}
.acbis-card__logo {
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
}
.acbis-card__logo img { width: 100%; max-width: 250px; height: auto; }
.acbis-tagline {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a5821e;
  margin-bottom: 10px;
}
.acbis-logo-band {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  max-width: 420px;
  margin-top: 18px;
}
.acbis-logo-band img { width: 72px; height: auto; flex: none; }
.acbis-logo-band p { margin: 0; font-size: .82rem; color: var(--ink); line-height: 1.45; }
.acbis-logo-band strong { display: block; color: var(--navy); font-size: .88rem; }

@media (max-width: 900px) {
  .acbis-card { grid-template-columns: 1fr; }
  .acbis-card__logo { order: 2; }
}

/* ---------- Pied de page : rangée légale ---------- */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .8rem;
}
.footer-legal li { margin: 0; }
.footer-legal a { color: #b6c6dc; }
.footer-legal a:hover { color: #fff; }
