/* ==========================================================================
   ADPME — Filières prioritaires
   Design system porté depuis la maquette Claude Design.
   Toutes les classes commencent par .fp- et s'appliquent via
   Elementor > Avancé > Classes CSS.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs de marque */
  --fp-green:        #107038;  /* vert principal ADPME */
  --fp-green-hover:  #0C6E42;
  --fp-green-deep:   #095328;  /* fond des héros */
  --fp-mint:         #EAF6EF;  /* vert très clair, fonds de pastilles */
  --fp-gold:         #FFBF00;
  --fp-gold-hover:   #FFCD42;
  --fp-red:          #CF1717;

  /* Neutres */
  --fp-ink:          #0F2E1C;  /* texte courant */
  --fp-ink-strong:   #12211C;  /* titres */
  --fp-muted:        #628470;  /* texte secondaire */
  --fp-faint:        #8CA094;  /* mentions, sources */
  --fp-line:         #DAE7DF;  /* bordures de cartes */
  --fp-border:       #E3E3DD;  /* séparateurs d'en-tête */
  --fp-surface:      #F3F6F5;  /* fonds de sections alternées */
  --fp-bg:           #FCFCFC;  /* fond de page */
  --fp-white:        #FFFFFF;

  /* Pied de page */
  --fp-footer-bg:    #0F172A;
  --fp-footer-card:  rgba(30,41,59,.6);
  --fp-footer-text:  #CBD5E1;
  --fp-footer-muted: #94A3B8;
  --fp-footer-line:  rgba(148,163,184,.2);

  /* Rayons */
  --fp-radius:       12px;
  --fp-pill:         9999px;

  /* Ombres */
  --fp-shadow-sm:  0 4px 6px -1px rgba(15,46,28,.1), 0 2px 4px -2px rgba(15,46,28,.1);
  --fp-shadow-md:  0 10px 15px -3px rgba(15,46,28,.1), 0 4px 6px -4px rgba(15,46,28,.1);
  --fp-shadow-lg:  0 20px 40px -12px rgba(12,110,66,.22);

  /* Typo */
  --fp-font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
body.fp-site {
  background: var(--fp-bg);
  color: var(--fp-ink);
  font-family: var(--fp-font);
  -webkit-font-smoothing: antialiased;
}

.fp-site a { color: var(--fp-green); text-decoration: none; }
.fp-site a:hover { color: var(--fp-green-hover); }

/* Largeur de contenu de référence de la maquette (1400 px, gouttières 48 px).
   À reproduire dans Elementor : Conteneur > Largeur du contenu = 1304 px. */
.fp-wrap, .e-con.fp-wrap {
  max-width: 1400px; margin-left: auto; margin-right: auto; padding: 0 48px; width: 100%;
}

/* --------------------------------------------------------------------------
   3. Typographie
   -------------------------------------------------------------------------- */
.fp-eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-size: 12px; font-weight: 600; line-height: 16px;
  letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--fp-green);
}
.fp-eyebrow::before {
  content: ""; width: 32px; height: 1px; flex-shrink: 0;
  background: var(--fp-gold);
}
.fp-eyebrow--light { color: var(--fp-gold); }
.fp-eyebrow--center { justify-content: center; }
.fp-eyebrow--center::after {
  content: ""; width: 32px; height: 1px; flex-shrink: 0;
  background: var(--fp-gold);
}
/* Variante sans filet, pour les en-têtes centrés simples */
.fp-eyebrow--bare::before, .fp-eyebrow--bare::after { display: none; }

.fp-h1 {
  font-size: 50px; font-weight: 700; line-height: 60px;
  letter-spacing: -1.5px; color: var(--fp-white); text-wrap: balance;
}
.fp-h2 {
  font-size: 30px; font-weight: 700; line-height: 38px;
  letter-spacing: -.6px; color: var(--fp-ink-strong); text-wrap: balance;
}
.fp-h3 {
  font-size: 26px; font-weight: 700; line-height: 34px;
  letter-spacing: -.5px; color: var(--fp-ink-strong);
}
.fp-lead {
  font-size: 18px; line-height: 29.25px; color: rgba(255,255,255,.7);
  text-wrap: pretty; max-width: 580px;
}
.fp-lead--dark { color: var(--fp-muted); font-size: 16px; line-height: 26px; }
.fp-h2--light, .fp-h3--light { color: var(--fp-white); }
.fp-text--light { color: rgba(255,255,255,.75); font-size: 15px; line-height: 25px; text-wrap: pretty; }
.fp-source {
  font-size: 12.5px; line-height: 19px; color: var(--fp-faint); text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   4. Boutons
   -------------------------------------------------------------------------- */
.fp-btn:not(.elementor-widget),
.fp-btn .elementor-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 24px; border: 0; border-radius: var(--fp-pill);
  font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap;
  cursor: pointer; transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.fp-btn--sm:not(.elementor-widget), .fp-btn--sm .elementor-button { height: 40px; padding: 0 20px; font-size: 12px; }
.fp-btn--xs:not(.elementor-widget), .fp-btn--xs .elementor-button { height: 36px; padding: 0 16px; font-size: 12px; }
.fp-btn--block:not(.elementor-widget), .fp-btn--block .elementor-button { width: 100%; }

.fp-btn--green:not(.elementor-widget), .fp-btn--green .elementor-button { background: var(--fp-green); color: var(--fp-white); box-shadow: var(--fp-shadow-sm); }
.fp-btn--green:not(.elementor-widget):hover, .fp-btn--green .elementor-button:hover { background: var(--fp-green-hover); color: var(--fp-white); }
.fp-btn--gold:not(.elementor-widget), .fp-btn--gold .elementor-button { background: var(--fp-gold); color: var(--fp-ink); }
.fp-btn--gold:not(.elementor-widget):hover, .fp-btn--gold .elementor-button:hover { background: var(--fp-gold-hover); color: var(--fp-ink); }
.fp-btn--white:not(.elementor-widget), .fp-btn--white .elementor-button { background: var(--fp-white); color: var(--fp-green); }
.fp-btn--white:not(.elementor-widget):hover, .fp-btn--white .elementor-button:hover { background: var(--fp-surface); color: var(--fp-green); }
.fp-btn--outline:not(.elementor-widget), .fp-btn--outline .elementor-button { background: transparent; color: var(--fp-green); box-shadow: inset 0 0 0 2px var(--fp-green); }
.fp-btn--outline:not(.elementor-widget):hover, .fp-btn--outline .elementor-button:hover { background: var(--fp-mint); color: var(--fp-green); }
.fp-btn--ghost:not(.elementor-widget), .fp-btn--ghost .elementor-button { background: transparent; color: var(--fp-white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.fp-btn--ghost:not(.elementor-widget):hover, .fp-btn--ghost .elementor-button:hover { background: rgba(255,255,255,.12); color: var(--fp-white); }

/* --------------------------------------------------------------------------
   5. En-tête
   -------------------------------------------------------------------------- */
.fp-topbar {
  background: var(--fp-green);
  font-size: 12px; line-height: 16px; color: var(--fp-white);
}
.fp-topbar a, .fp-topbar a:hover { color: var(--fp-white); }
.fp-topbar .fp-topbar__meta { color: rgba(252,252,252,.7); }

/* Filet tricolore ADPME — à poser en bas du header et du footer */
.fp-tricolore {
  height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--fp-green) 0%, var(--fp-gold) 50%, var(--fp-red) 100%);
}

/* Sélecteur segmenté Filières / Portail ePME */
.fp-switch {
  display: inline-flex; align-items: center; gap: 3px;
  background: rgba(15,46,28,.06); border-radius: var(--fp-pill); padding: 3px;
}
.fp-switch__on, .fp-switch a {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 12px; border-radius: var(--fp-pill);
  font-size: 12px; font-weight: 500; white-space: nowrap;
}
.fp-switch__on {
  background: var(--fp-white); box-shadow: 0 1px 2px rgba(15,46,28,.12);
  font-weight: 600; color: var(--fp-green);
}
.fp-switch a { color: rgba(15,46,28,.55); }
.fp-switch a:hover { background: rgba(255,255,255,.6); color: var(--fp-ink); }
.fp-switch__dot {
  width: 6px; height: 6px; border-radius: var(--fp-pill); background: var(--fp-gold);
  animation: fpPulse 2.4s ease-in-out infinite;
}
@keyframes fpPulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }

/* Menu principal (widget Nav Menu Elementor) */
.fp-nav .elementor-item {
  height: 36px; padding: 0 14px; border-radius: var(--fp-radius);
  font-size: 13px; font-weight: 500; color: rgba(15,46,28,.7);
}
.fp-nav .elementor-item:hover,
.fp-nav .elementor-item.highlighted { background: var(--fp-surface); color: var(--fp-green); }
.fp-nav .elementor-item.elementor-item-active { color: var(--fp-green); }
.fp-nav .elementor-item-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; border-radius: var(--fp-pill); background: var(--fp-gold);
}
.fp-nav .elementor-nav-menu--dropdown a.elementor-item {
  height: 46px; font-size: 15px; color: var(--fp-ink);
}


/* Barre principale de l'en-tête, posée sur le conteneur Elementor. */
.fp-sticky, .e-con.fp-sticky { position: sticky; top: 0; z-index: 300; }
.fp-headerbar, .e-con.fp-headerbar {
  background: var(--fp-white); border-bottom: 1px solid var(--fp-border);
}
.fp-headerbar__inner, .e-con.fp-headerbar__inner {
  display: flex; flex-direction: row; align-items: center; gap: 20px; min-height: 76px;
}
.fp-topbar__inner, .e-con.fp-topbar__inner {
  display: flex; flex-direction: row; align-items: center;
  justify-content: space-between; gap: 20px; min-height: 38px;
}

/* Listes de la barre utilitaire (widget HTML). */
.fp-topbar__list { display: flex; align-items: center; gap: 20px; margin: 0; padding: 0; list-style: none; }
.fp-topbar__list li { display: flex; align-items: center; gap: 6px; }

/* Logo et séparateur vertical. */
.fp-logo img { display: block; height: 35px; width: auto; }
.fp-sep { width: 1px; height: 34px; flex: 0 0 auto; background: var(--fp-border); }
.fp-sep .elementor-divider-separator { border-top: 0; }

/* Pousse le menu et le bouton vers la droite. */
.fp-push { margin-left: auto; }

@media (max-width: 1080px) {
  .fp-sep, .fp-switch { display: none; }
  .fp-headerbar__inner, .e-con.fp-headerbar__inner { min-height: 64px; }
  .fp-topbar__hide-sm { display: none; }
}

/* --------------------------------------------------------------------------
   6. Héros
   -------------------------------------------------------------------------- */
.fp-hero { background: var(--fp-green-deep); overflow: hidden; }
.fp-hero__media { position: relative; min-height: 420px; }
.fp-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(-90deg, rgba(9,83,40,0) 0%, rgba(9,83,40,.7) 100%);
}
.fp-hero--home .fp-hero__media::after {
  background: linear-gradient(-90deg, rgba(9,83,40,0) 0%, rgba(9,83,40,.85) 100%);
}
.fp-breadcrumb { font-size: 12px; color: rgba(255,255,255,.6); }
.fp-breadcrumb a { color: rgba(255,255,255,.8); }
.fp-breadcrumb a:hover { color: var(--fp-gold); }

/* Pastilles de territoires sur fond vert */
.fp-tag-light {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px;
  border-radius: var(--fp-pill); background: rgba(255,255,255,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
  font-size: 12px; color: var(--fp-white);
}

/* --------------------------------------------------------------------------
   7. Cartes
   -------------------------------------------------------------------------- */
.fp-card {
  display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--fp-line); border-radius: var(--fp-radius);
  background: var(--fp-white); overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.fp-card:hover { box-shadow: var(--fp-shadow-md); }
.fp-card__body { display: flex; flex-direction: column; gap: 12px; padding: 20px; flex: 1; }
.fp-card__body--lg { padding: 24px; }

/* Titre de carte : deux lignes maximum (préférence projet) */
.fp-card__title,
.fp-card .elementor-heading-title {
  font-size: 18px; font-weight: 600; line-height: 24px; color: var(--fp-ink-strong);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.fp-card__title--sm, .fp-card__title--sm.elementor-heading-title { font-size: 16px; }
.fp-card__text { font-size: 14px; line-height: 22.75px; color: var(--fp-muted); text-wrap: pretty; }

.fp-card__media { position: relative; height: 180px; overflow: hidden; }
.fp-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Étiquettes posées sur l'image */
.fp-card__flag,
.fp-card__flag--right {
  position: absolute; top: 12px; display: inline-flex; align-items: center;
  height: 24px; padding: 0 10px; border-radius: var(--fp-pill);
  font-size: 11px; font-weight: 600;
}
.fp-card__flag { left: 12px; background: var(--fp-green); color: var(--fp-white); }
.fp-card__flag--right { right: 12px; background: rgba(255,255,255,.92); color: var(--fp-ink); }

/* Cartes raccourcis de l'accueil, remontées sur le héros */
.fp-quick { position: relative; z-index: 5; margin-top: -52px; }
.fp-quick .fp-card { align-items: center; text-align: center; padding: 22px 20px 18px; gap: 8px; }
.fp-quick__icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--fp-radius);
}
.fp-quick__icon--green { background: var(--fp-green); }
.fp-quick__icon--gold  { background: var(--fp-gold); }
.fp-quick__icon--red   { background: var(--fp-red); }
.fp-quick__icon--deep  { background: var(--fp-green-deep); }
.fp-quick__more {
  margin-top: auto; padding-top: 12px; width: 100%;
  border-top: 1px solid var(--fp-surface);
  font-size: 12px; font-weight: 600; color: var(--fp-green);
}

/* --------------------------------------------------------------------------
   8. Pastilles et badges
   -------------------------------------------------------------------------- */
.fp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fp-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px; border-radius: var(--fp-pill);
  background: var(--fp-surface); font-size: 12px; line-height: 16px;
  color: var(--fp-muted); white-space: nowrap;
}
.fp-chip--lg { height: 28px; padding: 0 12px; color: var(--fp-ink); }
.fp-chip--outline {
  height: 40px; padding: 0 18px; background: var(--fp-white);
  border: 1px solid var(--fp-line); font-size: 13px; font-weight: 500; color: var(--fp-ink);
}
.fp-chip::before {
  content: ""; width: 5px; height: 5px; flex-shrink: 0;
  border-radius: var(--fp-pill); background: var(--fp-green);
}
.fp-chip--gold::before { background: var(--fp-gold); }
.fp-chip--red::before  { background: var(--fp-red); }
.fp-chip--nodot::before { display: none; }
.fp-chip--outline::before { width: 6px; height: 6px; }

.fp-badge {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: var(--fp-pill); background: var(--fp-green);
  font-size: 11px; font-weight: 600; color: var(--fp-white);
}
.fp-badge--soon { background: var(--fp-gold); color: var(--fp-ink); }
.fp-badge--soft { background: var(--fp-surface); font-weight: 500; color: var(--fp-muted); }

/* --------------------------------------------------------------------------
   9. Chiffres
   -------------------------------------------------------------------------- */
/* Bandeau vert plein largeur */
.fp-stats { position: relative; overflow: hidden; }
.fp-stats::before { content: ""; position: absolute; inset: 0; background: rgba(16,112,56,.93); }
.fp-stats > * { position: relative; }
.fp-stat { text-align: center; }
.fp-stat__value {
  display: block; font-size: 48px; font-weight: 800; line-height: 56px;
  letter-spacing: -1.2px; color: var(--fp-white);
}
.fp-stat__label { display: block; font-size: 14px; line-height: 20px; color: rgba(255,255,255,.8); }

/* Cartes KPI de l'observatoire */
.fp-kpi {
  border: 1px solid var(--fp-line); border-radius: var(--fp-radius);
  background: var(--fp-white); padding: 24px;
}
.fp-kpi__value {
  display: block; font-size: 36px; font-weight: 700; letter-spacing: -1px; color: var(--fp-green);
}
.fp-kpi__label { display: block; margin-top: 6px; font-size: 13px; line-height: 20px; color: var(--fp-muted); }
.fp-kpi--sm .fp-kpi__value { font-size: 32px; letter-spacing: -.8px; }
.fp-kpi--sm { padding: 22px; }

/* Encadré de repères (fiche filière) */
.fp-reperes {
  border: 1px solid var(--fp-line); border-radius: var(--fp-radius);
  background: var(--fp-white); padding: 24px;
}
.fp-reperes__title {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--fp-muted);
}
.fp-reperes__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--fp-surface);
}
.fp-reperes__row:last-child { border-bottom: 0; }
.fp-reperes__label { font-size: 14px; color: var(--fp-muted); }
.fp-reperes__value { font-size: 20px; font-weight: 700; color: var(--fp-ink); }
.fp-reperes__value--green { color: var(--fp-green); }

/* --------------------------------------------------------------------------
   10. Encadrés d'information
   -------------------------------------------------------------------------- */
.fp-note {
  display: flex; gap: 12px; align-items: flex-start;
  border-radius: var(--fp-radius); background: var(--fp-surface);
  border: 1px solid var(--fp-line); padding: 20px 24px;
  font-size: 13px; line-height: 21px; color: var(--fp-muted); text-wrap: pretty;
}
.fp-note::before {
  content: ""; width: 6px; height: 6px; margin-top: 8px; flex-shrink: 0;
  border-radius: var(--fp-pill); background: var(--fp-muted);
}
.fp-note--mint {
  background: var(--fp-mint); border: 0; padding: 18px 20px;
  font-size: 14px; line-height: 22.75px; color: var(--fp-ink);
}
.fp-note--mint::before { background: var(--fp-gold); }
.fp-note strong { font-weight: 600; }

/* --------------------------------------------------------------------------
   11. Chaîne de valeur
   -------------------------------------------------------------------------- */
.fp-maillon {
  border: 1px solid var(--fp-line); border-radius: var(--fp-radius);
  background: var(--fp-white); padding: 28px;
}
.fp-maillon__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: var(--fp-pill);
  background: var(--fp-green); font-size: 12px; font-weight: 700; color: var(--fp-white);
}
.fp-maillon__num--soft { background: var(--fp-mint); color: var(--fp-green); width: 26px; height: 26px; font-size: 11px; font-weight: 600; }
.fp-maillon__step,
.fp-label {
  font-size: 11px; font-weight: 600; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--fp-muted);
}
.fp-maillon__name { font-size: 22px; font-weight: 600; line-height: 30px; color: var(--fp-ink-strong); }
.fp-maillon__text { font-size: 14px; line-height: 22.75px; color: var(--fp-muted); text-wrap: pretty; }
.fp-maillon__blocage { font-size: 14px; line-height: 22.75px; color: var(--fp-ink); text-wrap: pretty; }

/* Encadré numéroté (critères, étapes) */
.fp-step__num {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--fp-radius);
  font-size: 13px; font-weight: 700;
}
.fp-step__num--soft  { background: var(--fp-mint); color: var(--fp-green); }
.fp-step__num--solid { background: var(--fp-green); color: var(--fp-white); }

/* Maillons de la fiche filière */
.fp-link-card { display: flex; flex-direction: column; gap: 10px; }
.fp-link-card__rule { width: 32px; height: 2px; border-radius: var(--fp-pill); background: var(--fp-gold); }
.fp-acteurs {
  display: inline-flex; align-items: center; align-self: flex-start;
  height: 26px; padding: 0 10px; border-radius: var(--fp-pill);
  background: var(--fp-mint); font-size: 12px; font-weight: 600; color: var(--fp-green);
}

/* Faîtières */
.fp-faitiere {
  display: flex; gap: 16px; align-items: flex-start;
  border: 1px solid var(--fp-line); border-radius: var(--fp-radius);
  background: var(--fp-white); padding: 22px;
}
.fp-faitiere__sigle {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; flex-shrink: 0; border-radius: var(--fp-radius);
  background: var(--fp-green); font-size: 13px; font-weight: 700; color: var(--fp-white);
}
.fp-faitiere__nom { display: block; font-size: 15px; font-weight: 600; line-height: 22px; color: var(--fp-ink-strong); text-wrap: pretty; }
.fp-faitiere__meta { display: block; margin-top: 6px; font-size: 13px; color: var(--fp-muted); }

/* Produits de la filière */
.fp-produit { border: 1px solid var(--fp-line); border-radius: var(--fp-radius); background: var(--fp-white); overflow: hidden; }
.fp-produit__media { position: relative; height: 150px; overflow: hidden; }
.fp-produit__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fp-produit__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,83,40,0) 45%, rgba(9,83,40,.8) 100%);
}
.fp-produit__nom {
  position: absolute; left: 16px; bottom: 12px; z-index: 2;
  font-size: 16px; font-weight: 600; color: var(--fp-white);
}
.fp-produit__desc { margin: 0; padding: 18px 20px 20px; font-size: 14px; line-height: 22.75px; color: var(--fp-muted); text-wrap: pretty; }

/* Autres filières (vignettes en pied de fiche) */
.fp-vignette { position: relative; display: block; height: 150px; border-radius: var(--fp-radius); overflow: hidden; }
.fp-vignette img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fp-vignette::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,83,40,.1) 40%, rgba(9,83,40,.9) 100%);
}
.fp-vignette__label { position: absolute; left: 16px; bottom: 14px; z-index: 2; }
.fp-vignette__nom { display: block; font-size: 18px; font-weight: 600; color: var(--fp-white); }
.fp-vignette__meta { display: block; font-size: 12px; color: rgba(255,255,255,.8); }

/* --------------------------------------------------------------------------
   12. Tableau de l'observatoire
   -------------------------------------------------------------------------- */
.fp-table {
  border: 1px solid var(--fp-line); border-radius: var(--fp-radius);
  background: var(--fp-white); overflow-x: auto;
}
.fp-table__inner { min-width: 940px; }
.fp-table__head,
.fp-table__row {
  display: grid; grid-template-columns: 1.1fr 1fr .8fr .9fr 1fr 1.4fr;
  gap: 16px; padding: 16px 24px; align-items: center;
}
.fp-table__head { background: var(--fp-surface); border-bottom: 1px solid var(--fp-line); }
.fp-table__head span {
  font-size: 11px; font-weight: 600; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--fp-muted);
}
.fp-table__row { border-bottom: 1px solid var(--fp-surface); font-size: 14px; color: var(--fp-ink); }
.fp-table__row:last-child { border-bottom: 0; }
.fp-table__row:hover { background: var(--fp-bg); }
.fp-table__filiere { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--fp-ink-strong); }
.fp-table__thumb { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; object-fit: cover; }
.fp-table__money { font-weight: 600; color: var(--fp-green); }
.fp-table__muted { color: var(--fp-muted); }

/* --------------------------------------------------------------------------
   13. Widgets Elementor — mise au gabarit
   -------------------------------------------------------------------------- */

/* Onglets « Focus filière » (Nested Tabs et onglets classiques) */
.fp-tabs .e-n-tabs-heading { justify-content: center; gap: 10px; flex-wrap: wrap; border: 0; }
.fp-tabs .e-n-tab-title,
.fp-tabs .elementor-tab-title {
  height: 40px; padding: 0 22px; border: 0 !important; border-radius: var(--fp-pill);
  background: var(--fp-white); box-shadow: inset 0 0 0 1px var(--fp-line);
  font-size: 13px; font-weight: 600; color: var(--fp-ink);
  display: inline-flex; align-items: center; transition: background .18s ease, color .18s ease;
}
.fp-tabs .e-n-tab-title[aria-selected="true"],
.fp-tabs .elementor-tab-title.elementor-active {
  background: var(--fp-green); box-shadow: none; color: var(--fp-white);
}
.fp-tabs .e-n-tabs-content { border: 0; padding: 32px 0 0; }

/* Filtre par taxonomie des dispositifs */
.fp-filter .e-filter-item {
  height: 34px; padding: 0 16px; border: 0; border-radius: var(--fp-pill);
  background: var(--fp-white); box-shadow: inset 0 0 0 1px var(--fp-line);
  font-size: 12px; font-weight: 600; color: var(--fp-ink); white-space: nowrap;
}
.fp-filter .e-filter-item[aria-pressed="true"] {
  background: var(--fp-green); box-shadow: none; color: var(--fp-white);
}

/* Grilles de boucle : cartes de hauteur égale */
.fp-loop .e-loop-item { display: flex; }
.fp-loop .e-loop-item > .e-con { width: 100%; }


/* --------------------------------------------------------------------------
   13 bis. Report des classes vers l'élément interne des widgets
   Elementor pose la classe saisie dans « Classes CSS » sur le conteneur du
   widget, jamais sur le titre, le paragraphe ou le lien qu'il contient.
   Ces règles font redescendre le style d'un cran.
   -------------------------------------------------------------------------- */
.fp-h1 .elementor-heading-title,
.fp-h2 .elementor-heading-title,
.fp-h3 .elementor-heading-title,
.fp-card__title .elementor-heading-title,
.fp-maillon__name .elementor-heading-title,
.fp-stat__value .elementor-heading-title,
.fp-kpi__value .elementor-heading-title {
  font: inherit; color: inherit; letter-spacing: inherit; text-wrap: inherit; margin: 0;
}

.fp-card__title .elementor-heading-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.fp-lead p, .fp-lead--dark p, .fp-text--light p,
.fp-card__text p, .fp-source p, .fp-maillon__text p, .fp-maillon__blocage p {
  font: inherit; color: inherit; margin: 0; text-wrap: inherit;
}

/* Widgets Image : l'image doit remplir le conteneur, à travers
   .elementor-widget-container puis <figure>. */
.fp-hero__media > *, .fp-hero__media .elementor-widget-container, .fp-hero__media figure,
.fp-card__media--tall > *, .fp-card__media--tall .elementor-widget-container, .fp-card__media--tall figure {
  height: 100%; margin: 0;
}
.fp-hero__media img, .fp-card__media--tall img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.fp-card__media--tall { overflow: hidden; }

/* --------------------------------------------------------------------------
   14. Pied de page
   -------------------------------------------------------------------------- */
.fp-footer { background: var(--fp-footer-bg); color: var(--fp-footer-text); }
.fp-footer a { color: var(--fp-footer-text); }
.fp-footer a:hover { color: var(--fp-white); }
.fp-footer p { font-size: 14px; line-height: 22.75px; text-wrap: pretty; }
.fp-footer__title {
  font-size: 12px; font-weight: 600; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--fp-gold);
}
.fp-footer__legal { font-size: 13px; color: var(--fp-footer-muted); }
.fp-footer__bar { border-top: 1px solid var(--fp-footer-line); padding: 24px 0; }
.fp-footer__card { border-radius: var(--fp-radius); background: var(--fp-footer-card); padding: 20px 16px 16px; }
.fp-footer__card strong { display: block; font-size: 14px; font-weight: 600; color: var(--fp-white); }
.fp-footer__card span { display: block; margin-top: 4px; font-size: 12px; line-height: 18px; color: var(--fp-footer-muted); }
.fp-footer .fp-nav .elementor-item { color: var(--fp-footer-text); padding: 0; height: auto; font-size: 14px; }
.fp-footer .fp-nav .elementor-item:hover { background: none; color: var(--fp-white); }

/* Formulaire de veille (Contact Form 7) */
.fp-footer .wpcf7-form { display: flex; gap: 8px; margin-top: 12px; }
.fp-footer .wpcf7-form input[type="email"] {
  flex: 1; min-width: 0; height: 38px; padding: 0 12px;
  border: 1px solid #334155; border-radius: var(--fp-radius);
  background: var(--fp-footer-bg); font-size: 13px; color: #E2E8F0;
}
.fp-footer .wpcf7-form input[type="email"]:focus { outline: 2px solid var(--fp-gold); outline-offset: 1px; }
.fp-footer .wpcf7-form input[type="submit"] {
  height: 38px; padding: 0 16px; border: 0; border-radius: var(--fp-radius);
  background: var(--fp-gold); font-size: 13px; font-weight: 600; color: var(--fp-ink); cursor: pointer;
}
.fp-footer .wpcf7-form .wpcf7-spinner { display: none; }

/* Lien vers le portail ePME */
.fp-footer__epme {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px;
  border-radius: var(--fp-pill); background: rgba(30,41,59,.8);
  box-shadow: inset 0 0 0 1px rgba(148,163,184,.25);
  font-size: 12px; font-weight: 600; color: #E2E8F0;
}
.fp-footer__epme:hover { background: #1E293B; color: var(--fp-white); }

/* --------------------------------------------------------------------------
   14 bis. Grilles produites par les shortcodes
   -------------------------------------------------------------------------- */
.fp-grid { display: grid; gap: 20px; width: 100%; }
.fp-grid--produits   { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.fp-grid--chiffres   { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.fp-grid--chaine     { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.fp-grid--faitieres  { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.fp-grid--vignettes  { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.fp-grid--stats      { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px; }

.fp-maillons-courts { display: flex; flex-direction: column; gap: 12px; }
.fp-maillon-court   { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 22.75px; color: var(--fp-ink); }

.fp-reperes__list { display: flex; flex-direction: column; margin-top: 6px; }

.fp-more { font-weight: 600; }

/* --------------------------------------------------------------------------
   14 ter. Utilitaires de mise en page
   Les modèles Elementor importés ne fixent aucun réglage de mise en page :
   tout passe par ces classes, ce qui les rend indépendants de la version
   d'Elementor. Le double sélecteur (.e-con) prend le pas sur le
   « display: flex » appliqué par défaut aux conteneurs.
   -------------------------------------------------------------------------- */
.fp-section, .e-con.fp-section { padding: 96px 0; }
.fp-section--sm, .e-con.fp-section--sm { padding: 64px 0; }
.fp-section--tight, .e-con.fp-section--tight { padding: 40px 0; }
.fp-section--surface { background: var(--fp-surface); }
.fp-section--mint { background: var(--fp-mint); }

.fp-cols, .e-con.fp-cols { display: grid; gap: 20px; align-items: stretch; }
.fp-cols--2 { grid-template-columns: repeat(2, 1fr); }
.fp-cols--3 { grid-template-columns: repeat(3, 1fr); }
.fp-cols--4 { grid-template-columns: repeat(4, 1fr); }

.fp-split, .e-con.fp-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.fp-split--top { align-items: start; }

.fp-stack, .e-con.fp-stack {
  display: flex; flex-direction: column; gap: 16px; align-items: stretch;
}
/* Les éléments de largeur intrinsèque ne s'étirent pas : boutons et pastilles
   restent calés à gauche, tout le reste occupe la largeur disponible. */
.fp-stack > a.fp-btn,
.fp-stack > button.fp-btn,
.fp-stack > .fp-acteurs { align-self: flex-start; }
.fp-stack--center, .e-con.fp-stack--center { align-items: center; text-align: center; }
.fp-stack--center > .fp-eyebrow, .fp-stack--center .fp-eyebrow { justify-content: center; }
.fp-stack--tight, .e-con.fp-stack--tight { gap: 10px; }

.fp-row, .e-con.fp-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.fp-head, .e-con.fp-head {
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: flex-end; justify-content: space-between; margin-bottom: 32px;
}

.fp-grid--cartes { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.fp-card__media--tall { height: 100%; min-height: 380px; border-radius: var(--fp-radius); }

/* --------------------------------------------------------------------------
   14 quater. Onglets en CSS pur (bloc « Focus filière »)
   -------------------------------------------------------------------------- */
.fp-cssTabs__input { position: absolute; opacity: 0; pointer-events: none; }

.fp-cssTabs__nav {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px;
}
.fp-cssTabs__label {
  display: inline-flex; align-items: center; height: 40px; padding: 0 22px;
  border-radius: var(--fp-pill); background: var(--fp-white);
  box-shadow: inset 0 0 0 1px var(--fp-line);
  font-size: 13px; font-weight: 600; color: var(--fp-ink); cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.fp-cssTabs__label:hover { background: var(--fp-mint); }

.fp-cssTabs__panel { display: none; }

/* Un jeu de règles par position d'onglet, jusqu'à huit filières. */
.fp-cssTabs__input:nth-of-type(1):checked ~ .fp-cssTabs__panels > .fp-cssTabs__panel:nth-child(1),
.fp-cssTabs__input:nth-of-type(2):checked ~ .fp-cssTabs__panels > .fp-cssTabs__panel:nth-child(2),
.fp-cssTabs__input:nth-of-type(3):checked ~ .fp-cssTabs__panels > .fp-cssTabs__panel:nth-child(3),
.fp-cssTabs__input:nth-of-type(4):checked ~ .fp-cssTabs__panels > .fp-cssTabs__panel:nth-child(4),
.fp-cssTabs__input:nth-of-type(5):checked ~ .fp-cssTabs__panels > .fp-cssTabs__panel:nth-child(5),
.fp-cssTabs__input:nth-of-type(6):checked ~ .fp-cssTabs__panels > .fp-cssTabs__panel:nth-child(6),
.fp-cssTabs__input:nth-of-type(7):checked ~ .fp-cssTabs__panels > .fp-cssTabs__panel:nth-child(7),
.fp-cssTabs__input:nth-of-type(8):checked ~ .fp-cssTabs__panels > .fp-cssTabs__panel:nth-child(8) {
  display: block;
}

.fp-cssTabs__input:nth-of-type(1):checked ~ .fp-cssTabs__nav > .fp-cssTabs__label:nth-child(1),
.fp-cssTabs__input:nth-of-type(2):checked ~ .fp-cssTabs__nav > .fp-cssTabs__label:nth-child(2),
.fp-cssTabs__input:nth-of-type(3):checked ~ .fp-cssTabs__nav > .fp-cssTabs__label:nth-child(3),
.fp-cssTabs__input:nth-of-type(4):checked ~ .fp-cssTabs__nav > .fp-cssTabs__label:nth-child(4),
.fp-cssTabs__input:nth-of-type(5):checked ~ .fp-cssTabs__nav > .fp-cssTabs__label:nth-child(5),
.fp-cssTabs__input:nth-of-type(6):checked ~ .fp-cssTabs__nav > .fp-cssTabs__label:nth-child(6),
.fp-cssTabs__input:nth-of-type(7):checked ~ .fp-cssTabs__nav > .fp-cssTabs__label:nth-child(7),
.fp-cssTabs__input:nth-of-type(8):checked ~ .fp-cssTabs__nav > .fp-cssTabs__label:nth-child(8) {
  background: var(--fp-green); box-shadow: none; color: var(--fp-white);
}

/* Anneau de focus au clavier : le label suit l'état du bouton radio. */
.fp-cssTabs__input:focus-visible:nth-of-type(1) ~ .fp-cssTabs__nav > .fp-cssTabs__label:nth-child(1),
.fp-cssTabs__input:focus-visible:nth-of-type(2) ~ .fp-cssTabs__nav > .fp-cssTabs__label:nth-child(2),
.fp-cssTabs__input:focus-visible:nth-of-type(3) ~ .fp-cssTabs__nav > .fp-cssTabs__label:nth-child(3),
.fp-cssTabs__input:focus-visible:nth-of-type(4) ~ .fp-cssTabs__nav > .fp-cssTabs__label:nth-child(4) {
  outline: 2px solid var(--fp-gold); outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   15. Accessibilité
   -------------------------------------------------------------------------- */
.fp-site a:focus-visible,
.fp-site button:focus-visible,
.fp-site input:focus-visible { outline: 2px solid var(--fp-gold); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .fp-switch__dot { animation: none; }
  .fp-site * { transition-duration: .01ms !important; }
}

/* --------------------------------------------------------------------------
   16. Points de rupture
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .fp-wrap { padding: 0 24px; }
  .fp-h1 { font-size: 38px; line-height: 46px; letter-spacing: -1px; }
  .fp-h2 { font-size: 26px; line-height: 34px; }
  .fp-stat__value { font-size: 38px; line-height: 46px; }
  .fp-cols--4 { grid-template-columns: repeat(2, 1fr); }
  .fp-cols--3 { grid-template-columns: repeat(2, 1fr); }
  .fp-split, .e-con.fp-split { grid-template-columns: 1fr; gap: 32px; }
  .fp-section, .e-con.fp-section { padding: 72px 0; }
  .fp-card__media--tall { min-height: 260px; }
}

@media (max-width: 767px) {
  .fp-wrap { padding: 0 20px; }
  .fp-h1 { font-size: 30px; line-height: 38px; }
  .fp-h2 { font-size: 22px; line-height: 30px; }
  .fp-h3 { font-size: 20px; line-height: 28px; }
  .fp-lead { font-size: 16px; line-height: 26px; }
  .fp-quick { margin-top: -24px; }
  .fp-stat__value { font-size: 32px; line-height: 40px; }
  .fp-maillon { padding: 20px; }
  .fp-reperes__value { font-size: 18px; }
  .fp-hero__media { min-height: 220px; }
  .fp-cols--2, .fp-cols--3, .fp-cols--4 { grid-template-columns: 1fr; }
  .fp-section, .e-con.fp-section { padding: 56px 0; }
  .fp-section--sm, .e-con.fp-section--sm { padding: 40px 0; }
  .fp-head, .e-con.fp-head { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
  .fp-cssTabs__label { height: 36px; padding: 0 16px; font-size: 12px; }
}

/* ==========================================================================
   17. Priorité sur les styles globaux d'Elementor
   ==========================================================================
   Elementor génère ses réglages de site (typographie, couleurs) dans des
   sélecteurs à deux classes — « .elementor-widget-heading
   .elementor-heading-title » — chargés APRÈS cette feuille. À spécificité
   égale, c'est le dernier chargé qui gagne : les classes .fp- seraient
   ignorées sur les widgets.
   Ce bloc reprend les mêmes déclarations avec une classe de plus, ce qui
   tranche le conflit sans recourir à !important.
   ========================================================================== */

.elementor-widget.fp-h1 .elementor-heading-title {
  font-size: 50px; font-weight: 700; line-height: 60px;
  letter-spacing: -1.5px; color: var(--fp-white);
}
.elementor-widget.fp-h2 .elementor-heading-title {
  font-size: 30px; font-weight: 700; line-height: 38px;
  letter-spacing: -.6px; color: var(--fp-ink-strong);
}
.elementor-widget.fp-h3 .elementor-heading-title {
  font-size: 26px; font-weight: 700; line-height: 34px;
  letter-spacing: -.5px; color: var(--fp-ink-strong);
}
.elementor-widget.fp-h2--light .elementor-heading-title,
.elementor-widget.fp-h3--light .elementor-heading-title { color: var(--fp-white); }

.elementor-widget.fp-card__title .elementor-heading-title {
  font-size: 18px; font-weight: 600; line-height: 24px; color: var(--fp-ink-strong);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.elementor-widget.fp-card__title--sm .elementor-heading-title { font-size: 16px; }

.elementor-widget.fp-lead,
.elementor-widget.fp-lead p {
  font-size: 18px; line-height: 29.25px; color: rgba(255,255,255,.7);
}
.elementor-widget.fp-lead--dark,
.elementor-widget.fp-lead--dark p {
  font-size: 16px; line-height: 26px; color: var(--fp-muted);
}
.elementor-widget.fp-text--light,
.elementor-widget.fp-text--light p {
  font-size: 15px; line-height: 25px; color: rgba(255,255,255,.75);
}
.elementor-widget.fp-card__text,
.elementor-widget.fp-card__text p {
  font-size: 14px; line-height: 22.75px; color: var(--fp-muted);
}
.elementor-widget.fp-source,
.elementor-widget.fp-source p {
  font-size: 12.5px; line-height: 19px; color: var(--fp-faint);
}
.elementor-widget.fp-lead p:last-child,
.elementor-widget.fp-lead--dark p:last-child,
.elementor-widget.fp-text--light p:last-child,
.elementor-widget.fp-card__text p:last-child { margin-bottom: 0; }

/* Boutons : la classe est sur le conteneur du widget, le style sur le lien. */
.elementor-widget.fp-btn .elementor-button {
  height: 44px; padding: 0 24px; border-radius: var(--fp-pill);
  font-size: 13px; font-weight: 600; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.elementor-widget.fp-btn--sm .elementor-button { height: 40px; padding: 0 20px; font-size: 12px; }
.elementor-widget.fp-btn--xs .elementor-button { height: 36px; padding: 0 16px; font-size: 12px; }
.elementor-widget.fp-btn--green .elementor-button   { background: var(--fp-green); color: var(--fp-white); }
.elementor-widget.fp-btn--gold .elementor-button    { background: var(--fp-gold); color: var(--fp-ink); }
.elementor-widget.fp-btn--white .elementor-button   { background: var(--fp-white); color: var(--fp-green); }
.elementor-widget.fp-btn--outline .elementor-button { background: transparent; color: var(--fp-green); box-shadow: inset 0 0 0 2px var(--fp-green); }
.elementor-widget.fp-btn--ghost .elementor-button   { background: transparent; color: var(--fp-white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.elementor-widget.fp-btn .elementor-button-content-wrapper { gap: 8px; }

/* Le conteneur d'un widget bouton ne doit jamais être peint lui-même. */
.elementor-widget.fp-btn { background: none; box-shadow: none; height: auto; padding: 0; }

/* Widget Shortcode : Elementor n'ajoute aucune mise en forme, mais certains
   thèmes imposent une marge au conteneur. */
.elementor-widget-shortcode .fp-grid,
.elementor-widget-shortcode .fp-cssTabs { margin: 0; }

/* Grilles à l'intérieur d'un conteneur Elementor : le « display: flex »
   par défaut des conteneurs ne doit pas écraser la grille. */
.e-con.fp-cols, .e-con.fp-split { display: grid; }
.e-con.fp-stack, .e-con.fp-row, .e-con.fp-head { display: flex; }

/* ==========================================================================
   18. Sections rendues d'un seul tenant
   ==========================================================================
   Ces blocs sortent d'un shortcode : aucun widget Elementor n'intervient
   à l'intérieur. Le conteneur .fp-block coupe l'héritage du thème pour que
   le rendu soit strictement celui de la maquette, quel que soit le thème
   ou les réglages globaux du site.
   ========================================================================== */

.fp-block {
  font-family: var(--fp-font);
  font-size: 16px; font-weight: 400; line-height: 1.5;
  color: var(--fp-ink);
  -webkit-font-smoothing: antialiased;
}
.fp-block, .fp-block *, .fp-block *::before, .fp-block *::after { box-sizing: border-box; }

.fp-block h1, .fp-block h2, .fp-block h3, .fp-block h4, .fp-block p {
  margin: 0; padding: 0; font-family: inherit;
}
.fp-block ul, .fp-block ol { margin: 0; padding: 0; list-style: none; }
.fp-block a { text-decoration: none; }
.fp-block img { max-width: 100%; height: auto; }
.fp-block svg { display: block; }

/* Rappel des échelles à deux classes, pour passer devant les styles
   de contenu du thème (.entry-content h2, etc.). */
.fp-block .fp-h1 { font-size: 50px; font-weight: 700; line-height: 60px; letter-spacing: -1.5px; color: var(--fp-white); }
.fp-block .fp-h2 { font-size: 30px; font-weight: 700; line-height: 38px; letter-spacing: -.6px; color: var(--fp-ink-strong); }
.fp-block .fp-h3 { font-size: 26px; font-weight: 700; line-height: 34px; letter-spacing: -.5px; color: var(--fp-ink-strong); }
.fp-block .fp-h2--light { color: var(--fp-white); }
.fp-block .fp-lead { font-size: 18px; line-height: 29.25px; color: rgba(255,255,255,.7); }
.fp-block .fp-lead--dark { font-size: 16px; line-height: 26px; color: var(--fp-muted); }
.fp-block .fp-card__title { font-size: 18px; font-weight: 600; line-height: 24px; color: var(--fp-ink-strong); }
.fp-block .fp-card__title--sm { font-size: 16px; }

/* Largeur de lecture des paragraphes centrés. */
.fp-measure { max-width: 720px; margin-left: auto; margin-right: auto; text-wrap: pretty; }

.fp-row--center { justify-content: center; }
.fp-stack--head { margin-bottom: 40px; }

/* Le bandeau de chiffres reçoit son image en attribut style ;
   le voile vert reste géré ici. */
.fp-block.fp-stats { background-color: var(--fp-green); }

/* Une section ne doit pas hériter d'une largeur imposée par le widget
   Shortcode ou par le conteneur qui l'accueille. */
.elementor-widget-shortcode > .elementor-widget-container > .fp-block,
.elementor-widget-shortcode .fp-block { width: 100%; }
.elementor-widget-shortcode { width: 100%; }

@media (max-width: 767px) {
  .fp-block .fp-h1 { font-size: 30px; line-height: 38px; }
  .fp-block .fp-h2 { font-size: 22px; line-height: 30px; }
  .fp-block .fp-h3 { font-size: 20px; line-height: 28px; }
  .fp-block .fp-lead { font-size: 16px; line-height: 26px; }
  .fp-stack--head { margin-bottom: 28px; }
}

/* Conteneur de transit : il ne fait que porter une section rendue par
   shortcode et ne doit rien lui imposer. */
.fp-passthrough, .e-con.fp-passthrough {
  padding: 0; margin: 0; max-width: none; width: 100%; display: block;
}

/* --------------------------------------------------------------------------
   19. Filtre par catégorie, en CSS pur (page Dispositifs)
   Les règles d'affichage sont générées par le shortcode, propres à chaque
   instance ; seule l'apparence est ici.
   -------------------------------------------------------------------------- */
.fp-filtre__input { position: absolute; opacity: 0; pointer-events: none; }
.fp-filtre__nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.fp-filtre__label {
  display: inline-flex; align-items: center; height: 34px; padding: 0 16px;
  border-radius: var(--fp-pill); background: var(--fp-white);
  box-shadow: inset 0 0 0 1px var(--fp-line);
  font-size: 12px; font-weight: 600; color: var(--fp-ink);
  white-space: nowrap; cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.fp-filtre__label:hover { background: var(--fp-mint); }
.fp-filtre__item { display: none; }
.fp-filtre__item > .fp-card { height: 100%; }

/* Fiche filière : le fil d'ariane précède le surtitre. */
.fp-block .fp-breadcrumb { display: block; }

/* ==========================================================================
   20. Correctifs de conformité à la maquette
   ========================================================================== */

/* --- Héros : grille pleine largeur, image à fond perdu à droite ----------- */
.fp-hero__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: stretch; min-height: 420px;
}
.fp-hero__col {
  display: flex; align-items: center;
  padding: 72px 48px;
  /* Aligne le texte sur la colonne de contenu de 1304 px. */
  padding-inline-start: max(48px, calc((100vw - 1304px) / 2));
}
.fp-hero__inner { width: 100%; max-width: 620px; }

/* L'image est détachée du flux : c'est la colonne de texte qui fixe la
   hauteur du héros, plus les proportions de la photo. */
.fp-hero__media { position: relative; overflow: hidden; min-height: 100%; }
.fp-hero__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.fp-hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(-90deg, rgba(9,83,40,0) 0%, rgba(9,83,40,.55) 100%);
}
.fp-hero .fp-breadcrumb { margin-bottom: 4px; }

/* --- Bloc Focus filière --------------------------------------------------- */
.fp-focus {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--fp-white); border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius); overflow: hidden;
}
.fp-focus__media { position: relative; min-height: 520px; overflow: hidden; }
.fp-focus__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.fp-focus:hover .fp-focus__media img { transform: scale(1.03); }
.fp-focus__flag {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 14px; border-radius: var(--fp-pill);
  background: var(--fp-green-deep); box-shadow: 0 2px 8px rgba(9,83,40,.35);
  font-size: 12px; font-weight: 600; color: var(--fp-white);
}
.fp-focus__dot { width: 6px; height: 6px; border-radius: var(--fp-pill); background: var(--fp-gold); }

.fp-focus__body { display: flex; flex-direction: column; gap: 24px; padding: 40px; }
.fp-focus__text { font-size: 15px; line-height: 26px; color: var(--fp-muted); text-wrap: pretty; }

.fp-focus__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fp-tile {
  background: var(--fp-surface); border-radius: 10px; padding: 14px 16px;
  transition: background .18s ease, transform .18s ease;
}
.fp-tile:hover { background: var(--fp-mint); transform: translateY(-2px); }
.fp-tile__value { display: block; font-size: 19px; font-weight: 700; line-height: 26px; color: var(--fp-green); }
.fp-tile__label { display: block; margin-top: 2px; font-size: 12px; line-height: 17px; color: var(--fp-muted); }

.fp-focus__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.fp-listtitle {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-size: 14px; font-weight: 600; color: var(--fp-ink-strong);
}
.fp-listtitle::before {
  content: ""; width: 7px; height: 7px; flex-shrink: 0;
  border-radius: var(--fp-pill); background: var(--fp-green);
}
.fp-listtitle--gold::before { background: var(--fp-gold); }

.fp-list { display: flex; flex-direction: column; gap: 10px; }
.fp-list li {
  position: relative; padding-left: 18px;
  font-size: 14px; line-height: 21px; color: var(--fp-muted); text-wrap: pretty;
}
.fp-list li::before {
  content: "•"; position: absolute; left: 0; top: 0;
  color: var(--fp-green); font-weight: 700;
}
.fp-list--arrow li::before { content: "↗"; font-size: 13px; }

/* --- Produits de la filière ---------------------------------------------- */
.fp-produit { display: flex; flex-direction: column; height: 100%; }
.fp-produit__media { height: 210px; flex: 0 0 auto; }
.fp-produit__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.fp-produit:hover .fp-produit__media img { transform: scale(1.04); }
.fp-produit__nom { left: 20px; bottom: 14px; font-size: 17px; }
.fp-produit__desc { flex: 1; padding: 20px 22px 24px; }

/* --- Survols manquants ---------------------------------------------------- */
.fp-kpi, .fp-produit, .fp-faitiere, .fp-maillon, .fp-reperes, .fp-note--mint {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.fp-kpi:hover, .fp-produit:hover, .fp-faitiere:hover, .fp-maillon:hover, .fp-reperes:hover {
  transform: translateY(-2px);
  box-shadow: var(--fp-shadow-md);
  border-color: var(--fp-green);
}
.fp-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.fp-card:hover { transform: translateY(-2px); border-color: var(--fp-green); }
.fp-card__media img, .fp-vignette img { transition: transform .35s ease; }
.fp-card:hover .fp-card__media img, .fp-vignette:hover img { transform: scale(1.04); }
.fp-chip--outline { transition: background .18s ease, border-color .18s ease; }
.fp-chip--outline:hover { background: var(--fp-mint); border-color: var(--fp-green); }
.fp-faitiere__sigle { transition: background .18s ease; }
.fp-faitiere:hover .fp-faitiere__sigle { background: var(--fp-green-deep); }
.fp-table__row { transition: background .15s ease; }
.fp-acteurs { transition: background .18s ease, color .18s ease; }
.fp-link-card:hover .fp-acteurs { background: var(--fp-green); color: var(--fp-white); }

/* --- Adaptations ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .fp-hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .fp-hero__col { padding: 56px 24px; padding-inline-start: 24px; }
  .fp-hero__inner { max-width: none; }
  .fp-hero__media { min-height: 300px; }
  .fp-focus { grid-template-columns: 1fr; }
  .fp-focus__media { min-height: 280px; }
  .fp-focus__body { padding: 28px; }
  .fp-focus__tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .fp-focus__lists { grid-template-columns: 1fr; gap: 24px; }
  .fp-focus__body { padding: 22px; gap: 20px; }
  .fp-hero__media { min-height: 220px; }
  .fp-produit__media { height: 170px; }
}

/* ==========================================================================
   21. Carte produit — définition unique et prioritaire
   ==========================================================================
   Les déclarations des sections 11 et 20 sont volontairement reprises ici
   au complet, avec .fp-block en préfixe : cette version prend le pas sur
   toutes les précédentes et sur les styles de contenu du thème.
   ========================================================================== */

.fp-block .fp-grid--produits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.fp-block .fp-produit {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  background: var(--fp-white);
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius);
  overflow: hidden;
}

/* Zone image : hauteur fixe, l'image est détachée du flux pour qu'elle ne
   puisse jamais imposer sa propre hauteur à la carte. */
.fp-block .fp-produit__media {
  position: relative;
  height: 230px;
  flex: 0 0 230px;
  overflow: hidden;
  background: var(--fp-surface);
}
.fp-block .fp-produit__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.fp-block .fp-produit:hover .fp-produit__media img { transform: scale(1.04); }

/* Voile vert du bas, sur lequel se pose le nom du produit. */
.fp-block .fp-produit__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(9,83,40,0) 42%, rgba(9,83,40,.82) 100%);
}
.fp-block .fp-produit__media--vide::after { background: none; }

.fp-block .fp-produit__nom {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 16px;
  z-index: 2;
  font-size: 17px;
  font-weight: 600;
  line-height: 24px;
  color: var(--fp-white);
  text-wrap: pretty;
}
.fp-block .fp-produit__media--vide .fp-produit__nom { color: var(--fp-ink-strong); }

/* Corps blanc : occupe la hauteur restante, ce qui égalise les cartes
   d'une même rangée quelle que soit la longueur des descriptions. */
.fp-block .fp-produit__body {
  flex: 1 1 auto;
  display: flex;
  align-items: flex-start;
  padding: 22px;
}
.fp-block .fp-produit__desc {
  margin: 0;
  padding: 0;
  font-size: 15px;
  line-height: 26px;
  color: var(--fp-muted);
  text-wrap: pretty;
}

@media (max-width: 767px) {
  .fp-block .fp-produit__media { height: 190px; flex-basis: 190px; }
  .fp-block .fp-produit__body { padding: 18px; }
  .fp-block .fp-produit__desc { font-size: 14px; line-height: 23px; }
}
