/* ───────────────────────────────────────────
   CONCORD — Site institutionnel
   Inspiration : DSFR (Système de design de l'État)
   Sobriété, autorité, lisibilité.
   ─────────────────────────────────────────── */

/* Marianne — typographie officielle de l'État (substituts Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Public+Sans:wght@400;500;600;700&family=Spectral:wght@400;500;600;700&display=swap');

:root {
  /* Bleus République / Marianne */
  --bf500-plain: #000091;       /* bleu France officiel */
  --bf500: #1212ff;
  --bf300: #6a6af4;
  --bf200: #cacafb;
  --bf100: #e3e3fd;
  --bf50:  #f5f5fe;

  /* Rouge Marianne (utilisé avec parcimonie) */
  --rm500-plain: #e1000f;
  --rm200: #fcbfb7;
  --rm100: #fee9e6;

  /* Neutres officiels */
  --grey-1000: #161616;
  --grey-900: #2a2a2a;
  --grey-800: #3a3a3a;
  --grey-700: #666666;
  --grey-600: #929292;
  --grey-500: #cecece;
  --grey-400: #dddddd;
  --grey-300: #e5e5e5;
  --grey-200: #eeeeee;
  --grey-100: #f6f6f6;
  --grey-50:  #fafafa;

  --text:        var(--grey-1000);
  --text-mention: var(--grey-700);
  --text-disabled: var(--grey-600);
  --text-action: var(--bf500-plain);

  --bg-default: #ffffff;
  --bg-alt:     #f6f6f6;
  --bg-contrast: var(--grey-1000);

  --border-default: #dddddd;
  --border-action: var(--bf500-plain);
  --border-strong: var(--grey-1000);

  /* Typographie */
  --ff-sans: "Public Sans", "Marianne", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --ff-serif: "Spectral", "Marianne", Georgia, "Times New Roman", serif;
  --ff-display: "Marcellus", "Spectral", Georgia, serif;

  /* Spacing */
  --container: 1200px;
  --gutter: 32px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg-default);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

/* ── Liens ── */
a {
  color: var(--text-action);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover { text-decoration-thickness: 2px; }
a:focus { outline: 2px solid var(--bf500-plain); outline-offset: 2px; }

/* ── Container ── */
.fr-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (max-width: 768px) {
  .fr-container { padding: 0 16px; }
  :root { --gutter: 16px; }
}

/* ──────────────────────────────────────────
   BANDEAU OFFICIEL — filet tricolore + mention agrément
   (Pas d'usurpation : ni Marianne ni « République Française ».)
   ────────────────────────────────────────── */
.fr-republique {
  background: #fff;
}
.fr-republique__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--border-default);
  font-size: 12px;
  color: var(--grey-700);
}
.fr-republique__flag {
  display: flex;
  width: 54px;
  height: 36px;
  border: 1px solid var(--grey-300);
  flex-shrink: 0;
}
.fr-republique__flag span { flex: 1; height: 100%; }
.fr-republique__flag span:nth-child(1) { background: #000091; }
.fr-republique__flag span:nth-child(2) { background: #ffffff; }
.fr-republique__flag span:nth-child(3) { background: #e1000f; }
.fr-republique__mention {
  flex: 1;
  font-family: var(--ff-sans);
  line-height: 1.45;
}
.fr-republique__mention strong { color: var(--grey-1000); font-weight: 600; }
.fr-republique__seal {
  font-family: var(--ff-serif);
  font-size: 11px;
  font-style: italic;
  color: var(--grey-700);
  white-space: nowrap;
  padding-left: 18px;
  border-left: 1px solid var(--grey-400);
}
@media (max-width: 720px) {
  .fr-republique__inner { flex-wrap: wrap; gap: 12px; }
  .fr-republique__seal { display: none; }
}

/* Bloc tricolore réutilisable en footer (sans mention « République ») */
.fr-tricolore {
  display: flex;
  align-items: center;
  gap: 14px;
}
.fr-tricolore__flag {
  display: flex;
  width: 48px;
  height: 32px;
  border: 1px solid var(--grey-400);
}
.fr-tricolore__flag span { flex: 1; height: 100%; }
.fr-tricolore__flag span:nth-child(1) { background: #000091; }
.fr-tricolore__flag span:nth-child(2) { background: #ffffff; }
.fr-tricolore__flag span:nth-child(3) { background: #e1000f; }
.fr-tricolore__text {
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--grey-1000);
  text-transform: uppercase;
}
.fr-tricolore__text small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: var(--grey-700);
  text-transform: none;
  letter-spacing: 0;
  margin-top: 2px;
  font-style: italic;
  font-family: var(--ff-serif);
}

/* ──────────────────────────────────────────
   HEADER OFFICIEL
   ────────────────────────────────────────── */
.fr-header {
  background: #fff;
  border-bottom: 4px solid var(--bf500-plain);
}
.fr-header__top {
  border-bottom: 1px solid var(--border-default);
}
.fr-header__top-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}
.fr-logo {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: inherit;
}
.fr-logo__sceau {
  width: 64px;
  height: 64px;
  border: 2px solid var(--bf500-plain);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 22px; font-weight: 600; letter-spacing: 0.5px;
  color: var(--bf500-plain);
  background: #fff;
  position: relative;
}
.fr-logo__sceau::before,
.fr-logo__sceau::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--bf200);
  border-radius: 50%;
}
.fr-logo__sceau::after {
  inset: 8px;
  border-style: dashed;
  border-color: var(--bf500-plain);
  opacity: 0.3;
}
.fr-logo__text { line-height: 1.15; }
.fr-logo__name {
  font-family: var(--ff-display);
  font-size: 26px;
  letter-spacing: 0.02em;
  color: var(--grey-1000);
  display: block;
}
.fr-logo__sub {
  font-size: 12px;
  color: var(--grey-700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  display: block;
}

.fr-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.fr-header__tools {
  display: flex;
  gap: 8px;
}

/* ── Navigation ── */
.fr-nav {
  background: #fff;
}
.fr-nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.fr-nav__list {
  list-style: none;
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
.fr-nav__item { position: relative; }
.fr-nav__link {
  display: block;
  padding: 16px 20px;
  font-size: 15px;
  color: var(--grey-1000);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: background-color 0.1s;
}
.fr-nav__link:hover { background: var(--grey-100); }
.fr-nav__link.is-current,
.fr-nav__link[aria-current="page"] {
  color: var(--bf500-plain);
  border-bottom-color: var(--bf500-plain);
  background: var(--bf50);
}

/* ──────────────────────────────────────────
   BOUTONS (DSFR)
   ────────────────────────────────────────── */
.fr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.1s, border-color 0.1s;
}
.fr-btn--primary {
  background: var(--bf500-plain);
  color: #fff;
  border-color: var(--bf500-plain);
}
.fr-btn--primary:hover { background: #1212ff; }
.fr-btn--secondary {
  background: #fff;
  color: var(--bf500-plain);
  border-color: var(--bf500-plain);
}
.fr-btn--secondary:hover { background: var(--bf50); }
.fr-btn--tertiary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-default);
}
.fr-btn--tertiary:hover { background: var(--grey-100); }
.fr-btn--lg { padding: 14px 28px; font-size: 16px; }
.fr-btn--sm { padding: 6px 14px; font-size: 13px; }

/* ──────────────────────────────────────────
   TYPOGRAPHIE
   ────────────────────────────────────────── */
.fr-display {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--grey-1000);
}
.fr-h1 {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.2;
  color: var(--grey-1000);
  letter-spacing: -0.005em;
}
.fr-h2 {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 22px; font-weight: 600; letter-spacing: 0.5px;
  line-height: 1.25;
  color: var(--grey-1000);
}
.fr-h3 {
  font-family: var(--ff-sans);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.35;
  color: var(--grey-1000);
}
.fr-h4 {
  font-family: var(--ff-sans);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
  color: var(--grey-1000);
}
.fr-lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--grey-900);
  font-family: var(--ff-sans);
}
.fr-text { font-size: 16px; line-height: 1.55; color: var(--grey-900); }
.fr-text--sm { font-size: 14px; }
.fr-text--xs { font-size: 12px; color: var(--grey-700); }
.fr-mention {
  font-size: 12px;
  color: var(--grey-700);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .fr-display { font-size: 36px; }
  .fr-h1 { font-size: 28px; }
  .fr-h2 { font-size: 22px; }
}

/* Filets décoratifs */
.fr-rule {
  border: 0;
  border-top: 1px solid var(--border-default);
  margin: 0;
}
.fr-rule--strong { border-top-color: var(--grey-1000); border-top-width: 2px; }
.fr-rule--accent { border-top-color: var(--bf500-plain); border-top-width: 2px; }
.fr-rule--double {
  height: 6px;
  border: 0;
  border-top: 1px solid var(--grey-1000);
  border-bottom: 1px solid var(--grey-1000);
}

/* Ornement fleuron */
.fr-fleuron {
  text-align: center;
  font-family: var(--ff-display);
  color: var(--bf500-plain);
  font-size: 24px;
  letter-spacing: 1em;
  padding: 0 1em 0 0;
  user-select: none;
}

/* ──────────────────────────────────────────
   SECTIONS
   ────────────────────────────────────────── */
.fr-section { padding: 64px 0; }
.fr-section--alt { background: var(--bg-alt); }
.fr-section--contrast { background: var(--bg-contrast); color: #fff; }
.fr-section--contrast .fr-h1,
.fr-section--contrast .fr-h2,
.fr-section--contrast .fr-h3,
.fr-section--contrast .fr-display { color: #fff; }
.fr-section--contrast .fr-lead,
.fr-section--contrast .fr-text { color: var(--grey-300); }

.fr-section__head {
  margin-bottom: 40px;
  max-width: 760px;
}
.fr-section__head .fr-mention {
  color: var(--bf500-plain);
  margin-bottom: 12px;
  display: block;
}

/* ──────────────────────────────────────────
   FOOTER OFFICIEL
   ────────────────────────────────────────── */
.fr-footer {
  background: #fff;
  border-top: 1px solid var(--border-default);
  padding: 48px 0 0;
  margin-top: 64px;
}
.fr-footer__top {
  border-top: 2px solid var(--bf500-plain);
  padding-top: 40px;
}
.fr-footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-default);
}
.fr-footer__brand-text { flex: 1; }
.fr-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border-default);
}
.fr-footer__col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--grey-1000);
  margin-bottom: 12px;
  font-weight: 700;
}
.fr-footer__col ul { list-style: none; }
.fr-footer__col li { margin-bottom: 8px; }
.fr-footer__col a { color: var(--grey-900); font-size: 14px; text-decoration: none; }
.fr-footer__col a:hover { text-decoration: underline; }

.fr-footer__bottom {
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  color: var(--grey-700);
}
.fr-footer__bottom a { color: var(--grey-900); text-decoration: none; }
.fr-footer__bottom a:hover { text-decoration: underline; }
.fr-footer__legal { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 768px) {
  .fr-footer__cols { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ──────────────────────────────────────────
   COMPOSANTS — Cartes, Tableaux, Encadrés
   ────────────────────────────────────────── */

/* Carte officielle (sans rounded, juste filet) */
.fr-card {
  background: #fff;
  border: 1px solid var(--border-default);
  padding: 24px 28px;
  position: relative;
}
.fr-card__cat {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bf500-plain);
  font-weight: 600;
  margin-bottom: 8px;
}
.fr-card__title {
  font-family: var(--ff-serif);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--grey-1000);
}
.fr-card__desc { font-size: 14px; color: var(--grey-800); line-height: 1.55; }
.fr-card--linked { transition: border-color 0.15s; }
.fr-card--linked:hover { border-color: var(--bf500-plain); }
.fr-card--linked a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Tableau officiel */
.fr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--grey-1000);
}
.fr-table caption {
  text-align: left;
  font-size: 13px;
  color: var(--grey-700);
  padding: 8px 0;
  caption-side: bottom;
  font-style: italic;
}
.fr-table th, .fr-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-default);
  vertical-align: top;
}
.fr-table thead th {
  background: var(--grey-1000);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--grey-1000);
}
.fr-table tbody tr:nth-child(even) { background: var(--grey-50); }
.fr-table tbody tr:last-child td { border-bottom: 0; }
.fr-table .fr-cell--num { text-align: right; font-variant-numeric: tabular-nums; }

/* Encadré "À retenir" / "Information" / "Avertissement" */
.fr-callout {
  background: var(--bf50);
  border-left: 4px solid var(--bf500-plain);
  padding: 20px 24px;
  margin: 24px 0;
}
.fr-callout__title {
  font-family: var(--ff-sans);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bf500-plain);
  margin-bottom: 8px;
}
.fr-callout--alert { background: var(--rm100); border-left-color: var(--rm500-plain); }
.fr-callout--alert .fr-callout__title { color: var(--rm500-plain); }
.fr-callout--neutral { background: var(--grey-100); border-left-color: var(--grey-1000); }
.fr-callout--neutral .fr-callout__title { color: var(--grey-1000); }

/* Référence juridique inline */
.fr-ref {
  font-family: var(--ff-serif);
  font-style: italic;
  color: var(--grey-700);
  font-size: 13px;
}

/* Liste numérotée formelle */
.fr-list-numbered {
  list-style: none;
  counter-reset: fr-step;
}
.fr-list-numbered > li {
  counter-increment: fr-step;
  position: relative;
  padding: 16px 0 16px 56px;
  border-top: 1px solid var(--border-default);
}
.fr-list-numbered > li:last-child { border-bottom: 1px solid var(--border-default); }
.fr-list-numbered > li::before {
  content: counter(fr-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 16px;
  font-family: var(--ff-display);
  font-size: 24px;
  color: var(--bf500-plain);
  font-weight: 400;
}
.fr-list-numbered h3 { margin-bottom: 4px; }
.fr-list-numbered p { font-size: 14px; color: var(--grey-800); }

/* Stats officielles */
.fr-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border-default);
  background: #fff;
}
.fr-stat {
  padding: 28px 24px;
  border-right: 1px solid var(--border-default);
}
.fr-stat:last-child { border-right: 0; }
.fr-stat__value {
  font-family: var(--ff-display);
  font-size: 44px;
  color: var(--bf500-plain);
  line-height: 1;
  letter-spacing: -0.01em;
}
.fr-stat__label {
  font-size: 13px;
  color: var(--grey-800);
  margin-top: 8px;
  line-height: 1.45;
}
.fr-stat__source {
  font-size: 11px;
  color: var(--grey-700);
  margin-top: 8px;
  font-style: italic;
}
@media (max-width: 768px) {
  .fr-stats { grid-template-columns: 1fr 1fr; }
  .fr-stat:nth-child(2) { border-right: 0; }
  .fr-stat:nth-child(1), .fr-stat:nth-child(2) { border-bottom: 1px solid var(--border-default); }
}

/* Fil d'Ariane */
.fr-breadcrumb {
  padding: 12px 0;
  font-size: 13px;
  color: var(--grey-700);
  border-bottom: 1px solid var(--border-default);
}
.fr-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.fr-breadcrumb li::after {
  content: "›";
  margin-left: 8px;
  color: var(--grey-600);
}
.fr-breadcrumb li:last-child::after { content: ""; }
.fr-breadcrumb a { color: var(--bf500-plain); }
.fr-breadcrumb [aria-current="page"] { color: var(--grey-900); font-weight: 500; }

/* ──────────────────────────────────────────
   HERO INSTITUTIONNEL
   ────────────────────────────────────────── */
.fr-hero {
  padding: 56px 0 64px;
  background: var(--bg-default);
  border-bottom: 1px solid var(--border-default);
}
.fr-hero__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
.fr-hero__category {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bf500-plain);
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  font-weight: 600;
}
.fr-hero__title { margin-bottom: 24px; }
.fr-hero__lead { margin-bottom: 32px; max-width: 640px; }
.fr-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.fr-hero__meta {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-default);
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.fr-hero__meta-item {
  font-size: 12px;
}
.fr-hero__meta-label {
  color: var(--grey-700);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 2px;
}
.fr-hero__meta-value {
  color: var(--grey-1000);
  font-weight: 500;
  font-size: 14px;
}

.fr-hero__visual {
  position: relative;
  border: 1px solid var(--border-default);
  background: var(--grey-100);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.fr-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
}
.fr-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,145,0.08) 100%);
}
.fr-hero__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.96);
  padding: 12px 16px;
  font-size: 12px;
  color: var(--grey-800);
  border-top: 2px solid var(--bf500-plain);
}

@media (max-width: 1024px) {
  .fr-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .fr-hero__visual { aspect-ratio: 16/9; max-width: 500px; }
}

/* ──────────────────────────────────────────
   GRILLES
   ────────────────────────────────────────── */
.fr-grid { display: grid; gap: 24px; }
.fr-grid--2 { grid-template-columns: 1fr 1fr; }
.fr-grid--3 { grid-template-columns: repeat(3, 1fr); }
.fr-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
  .fr-grid--3, .fr-grid--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .fr-grid--2, .fr-grid--3, .fr-grid--4 { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────────
   FORMULAIRES (DSFR-like)
   ────────────────────────────────────────── */
.fr-form-group { margin-bottom: 20px; }
.fr-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-1000);
  margin-bottom: 6px;
}
.fr-label__hint {
  display: block;
  font-size: 12px;
  color: var(--grey-700);
  font-weight: 400;
  margin-top: 2px;
}
.fr-input, .fr-select, .fr-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 2px solid var(--grey-1000);
  background: var(--grey-100);
  font-family: inherit;
  font-size: 15px;
  color: var(--grey-1000);
}
.fr-input:focus, .fr-select:focus, .fr-textarea:focus {
  outline: 2px solid var(--bf500-plain);
  outline-offset: 2px;
  background: #fff;
}
.fr-textarea { min-height: 120px; resize: vertical; }

/* Skip link */
.fr-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bf500-plain);
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 600;
}
.fr-skip:focus { left: 16px; top: 16px; z-index: 100; }

/* Tag / Étiquette */
.fr-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: var(--bf100);
  color: var(--bf500-plain);
  font-size: 12px;
  font-weight: 500;
  border-radius: 0;
}
.fr-tag--neutral { background: var(--grey-200); color: var(--grey-1000); }

/* ──────────────────────────────────────────
   APERÇU DE COURRIEL OFFICIEL
   ────────────────────────────────────────── */
.fr-mail {
  background: #fff;
  border: 1px solid var(--grey-400);
  box-shadow: 0 1px 0 var(--grey-200), 0 18px 40px -28px rgba(0,0,20,0.18);
  max-width: 540px;
  margin: 0 auto;
  position: relative;
}
.fr-mail__stamp {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey-700);
  border: 1px solid var(--grey-500);
  padding: 3px 8px;
  background: #fff;
}
.fr-mail__head {
  padding: 18px 24px 14px;
  border-bottom: 1px solid var(--grey-300);
  background: var(--grey-50);
}
.fr-mail__row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  font-size: 12px;
  line-height: 1.5;
  padding: 2px 0;
}
.fr-mail__row dt {
  color: var(--grey-700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.fr-mail__row dd {
  color: var(--grey-1000);
  font-weight: 500;
}
.fr-mail__subject {
  font-family: var(--ff-serif);
  font-size: 17px;
  line-height: 1.3;
  color: var(--grey-1000);
  margin-top: 10px;
  font-weight: 600;
}
.fr-mail__body {
  padding: 24px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--grey-900);
}
.fr-mail__body p { margin-bottom: 12px; }
.fr-mail__body ul {
  list-style: none;
  margin: 6px 0 14px;
  padding: 0;
}
.fr-mail__body ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 4px;
}
.fr-mail__body ul li::before {
  content: "·";
  position: absolute;
  left: 6px;
  color: var(--bf500-plain);
  font-weight: 700;
}
.fr-mail__sign {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--grey-400);
  font-size: 12px;
  color: var(--grey-700);
  line-height: 1.55;
}
.fr-mail__sign strong { color: var(--grey-1000); }
.fr-mail__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 24px 22px;
  border-top: 1px solid var(--grey-300);
  background: #fff;
}
.fr-mail__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid;
  cursor: default;
}
.fr-mail__btn--primary {
  background: var(--bf500-plain);
  color: #fff;
  border-color: var(--bf500-plain);
}
.fr-mail__btn--secondary {
  background: #fff;
  color: var(--bf500-plain);
  border-color: var(--bf500-plain);
}
.fr-mail__btn--ghost {
  background: transparent;
  color: var(--grey-1000);
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.fr-mail-caption {
  text-align: center;
  font-size: 12px;
  color: var(--grey-700);
  font-style: italic;
  margin-top: 14px;
}

/* Bloc invitation : 50/50 */
.fr-invitation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.fr-invitation__bullets {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  border-top: 1px solid var(--grey-300);
}
.fr-invitation__bullets li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--grey-300);
  font-size: 14px;
  color: var(--grey-900);
  line-height: 1.55;
}
.fr-invitation__bullets li::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-top: 6px;
  background: var(--bf500-plain);
  display: block;
}
.fr-invitation__bullets li strong {
  display: block;
  font-weight: 600;
  color: var(--grey-1000);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.fr-invitation__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 28px;
  border-top: 2px solid var(--grey-1000);
  border-bottom: 1px solid var(--grey-300);
}
.fr-invitation__stat {
  padding: 16px 18px 16px 0;
  border-right: 1px solid var(--grey-300);
}
.fr-invitation__stat:last-child { border-right: 0; padding-right: 0; }
.fr-invitation__stat-num {
  font-family: var(--ff-display);
  font-size: 32px;
  line-height: 1;
  color: var(--bf500-plain);
  margin-bottom: 6px;
}
.fr-invitation__stat-lbl {
  font-size: 12px;
  color: var(--grey-700);
  line-height: 1.4;
}
@media (max-width: 1024px) {
  .fr-invitation { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .fr-invitation__stats { grid-template-columns: 1fr; }
  .fr-invitation__stat { border-right: 0; border-bottom: 1px solid var(--grey-300); padding-right: 0; }
  .fr-invitation__stat:last-child { border-bottom: 0; }
}


/* ──────────────────────────────────────────
   BLOC LE BARREAU CONCORD
   ────────────────────────────────────────── */
.fr-bar-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 48px 0 56px;
  border-top: 2px solid var(--grey-1000);
  border-bottom: 1px solid var(--border-default);
}
.fr-bar-stat {
  padding: 28px 28px 24px;
  border-right: 1px solid var(--border-default);
}
.fr-bar-stat:last-child { border-right: 0; }
.fr-bar-stat__num {
  font-family: var(--ff-display);
  font-size: 44px;
  line-height: 1;
  color: var(--bf500-plain);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.fr-bar-stat__num sup {
  font-size: 0.45em;
  vertical-align: super;
  font-family: var(--ff-sans);
}
.fr-bar-stat__suffix {
  font-size: 0.55em;
  color: var(--grey-700);
  margin-left: 2px;
  font-family: var(--ff-sans);
}
.fr-bar-stat__lbl {
  font-size: 13px;
  line-height: 1.45;
  color: var(--grey-800);
}
@media (max-width: 880px) {
  .fr-bar-stats { grid-template-columns: repeat(2, 1fr); }
  .fr-bar-stat { border-bottom: 1px solid var(--border-default); }
  .fr-bar-stat:nth-child(2) { border-right: 0; }
  .fr-bar-stat:nth-child(3), .fr-bar-stat:nth-child(4) { border-bottom: 0; }
}
@media (max-width: 520px) {
  .fr-bar-stats { grid-template-columns: 1fr; }
  .fr-bar-stat { border-right: 0; border-bottom: 1px solid var(--border-default); }
  .fr-bar-stat:last-child { border-bottom: 0; }
}

.fr-counsel { margin-top: 8px; }
.fr-counsel__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-default);
  border-left: 1px solid var(--border-default);
}
.fr-counsel__card {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  border-right: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  background: #fff;
}
.fr-counsel__avatar {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border-default);
  background: var(--grey-100);
}
.fr-counsel__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.15);
}
.fr-counsel__body { flex: 1; min-width: 0; }
.fr-counsel__name {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 17px;
  color: var(--grey-1000);
  line-height: 1.25;
  margin-bottom: 2px;
}
.fr-counsel__bar {
  font-size: 12px;
  color: var(--grey-700);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.fr-counsel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.fr-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bf500-plain);
  background: var(--bf50);
  border: 1px solid var(--bf200);
  border-radius: 0;
}
.fr-tag--neutral {
  color: var(--grey-800);
  background: var(--grey-100);
  border-color: var(--grey-300);
}
.fr-counsel__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 10px;
  border-top: 1px dotted var(--border-default);
}
.fr-counsel__meta div { min-width: 0; }
.fr-counsel__meta dt {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--grey-700);
  font-weight: 600;
  margin-bottom: 2px;
}
.fr-counsel__meta dd {
  font-size: 13px;
  color: var(--grey-1000);
  font-family: var(--ff-sans);
}
.fr-counsel__meta dd strong {
  font-family: var(--ff-display);
  font-size: 17px;
  color: var(--bf500-plain);
  font-weight: 400;
}
.fr-counsel__avis {
  font-size: 11px;
  color: var(--grey-700);
}
.fr-counsel__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 32px;
}
@media (max-width: 980px) {
  .fr-counsel__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .fr-counsel__list { grid-template-columns: 1fr; }
  .fr-counsel__card { padding: 18px 18px; }
}


/* ──────────────────────────────────────────
   SECTION NOTIFICATION — typographie réduite
   ────────────────────────────────────────── */
.fr-section--invitation .fr-text { font-size: 16px; line-height: 1.55; }
.fr-section--invitation .fr-invitation__bullets li { font-size: 15.5px; }
.fr-section--invitation .fr-invitation__bullets strong { font-size: 14px; }
.fr-section--invitation .fr-invitation__stat-num { font-size: 36px; }
.fr-section--invitation .fr-invitation__stat-lbl { font-size: 14px; line-height: 1.45; }
.fr-section--invitation .fr-mail { font-size: 15px; }
.fr-section--invitation .fr-mail__row dt,
.fr-section--invitation .fr-mail__row dd { font-size: 14px; }
.fr-section--invitation .fr-mail__subject { font-size: 17px; }
.fr-section--invitation .fr-mail__body p { font-size: 15px; line-height: 1.6; }
.fr-section--invitation .fr-mail__sign { font-size: 14px; }
.fr-section--invitation .fr-mail__btn { font-size: 14px; padding: 10px 16px; }
.fr-section--invitation .fr-mail__stamp { font-size: 12px; }
.fr-section--invitation .fr-mail-caption { font-size: 14px; }
.fr-section--invitation h2.fr-h2[style*="font-size:26px"] { font-size: 31px !important; line-height: 1.2 !important; }


/* ──────────────────────────────────────────
   BLOC VIDÉO — DÉCOUVRIR LES MODES AMIABLES
   ────────────────────────────────────────── */
.fr-video-section { padding-bottom: 56px; }
.fr-video {
  margin: 32px 0 0;
  position: relative;
}
.fr-video__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f1220;
  border: 1px solid var(--border-default);
  overflow: hidden;
  cursor: pointer;
  display: block;
  box-shadow: 0 12px 40px rgba(15, 18, 32, 0.25);
  transition: box-shadow 0.2s, transform 0.2s;
}
.fr-video__player:hover {
  box-shadow: 0 16px 50px rgba(15, 18, 32, 0.35), 0 0 0 3px var(--bf500-plain);
  outline: none;
}
.fr-video__player:focus { box-shadow: 0 0 0 3px var(--bf500-plain); outline: none; }
.fr-video__art {
  display: block;
  width: 100%;
  height: 100%;
}
.fr-video__scrim {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
}
.fr-video__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  pointer-events: none;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
  transition: transform 0.2s;
}
.fr-video__player:hover .fr-video__play { transform: translate(-50%, -50%) scale(1.06); }
.fr-video__play svg { width: 110px; height: 110px; display: block; }
.fr-video__play-label {
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.65);
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.fr-video__badge {
  position: absolute;
  top: 16px; left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e1000f;
  color: #ffffff;
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 7px 12px;
  text-transform: uppercase;
  pointer-events: none;
}
.fr-video__badge-dot {
  width: 8px; height: 8px;
  background: #ffffff;
  border-radius: 50%;
  animation: fr-video-pulse 1.4s infinite;
}
@keyframes fr-video-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.fr-video__duration {
  position: absolute;
  right: 16px; bottom: 16px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 7px 14px;
  text-transform: uppercase;
  pointer-events: none;
}
.fr-video__caption {
  margin-top: 12px;
  font-size: 12px;
  color: var(--grey-700);
  font-style: italic;
  font-family: var(--ff-serif);
}
.fr-video__chapters {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 2px solid var(--grey-1000);
  border-bottom: 1px solid var(--border-default);
}
.fr-video__chapters li {
  padding: 16px 18px;
  border-right: 1px solid var(--border-default);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fr-video__chapters li:last-child { border-right: 0; }
.fr-video__chap-num {
  font-family: var(--ff-display);
  font-size: 14px;
  color: var(--bf500-plain);
  letter-spacing: 0.04em;
}
.fr-video__chap-time {
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--grey-700);
  letter-spacing: 0.06em;
}
.fr-video__chap-lbl {
  font-size: 13px;
  color: var(--grey-1000);
  line-height: 1.35;
}
@media (max-width: 980px) {
  .fr-video__chapters { grid-template-columns: repeat(2, 1fr); }
  .fr-video__chapters li { border-bottom: 1px solid var(--border-default); }
  .fr-video__chapters li:nth-child(2) { border-right: 0; }
  .fr-video__chapters li:nth-last-child(-n+1) { border-bottom: 0; }
  .fr-video__play { width: 72px; height: 72px; }
}
@media (max-width: 560px) {
  .fr-video__chapters { grid-template-columns: 1fr; }
  .fr-video__chapters li { border-right: 0; }
  .fr-video__play { width: 56px; height: 56px; }
}
