/* ------------------------------------------------------------------
   First Face — gabarit "annuaire de liens" 2005.
   Reproduction structurelle de la mise en page de référence :
   bandeau utilitaire, barre logo, navigation 7 entrées, bandeau de
   titre, colonne gauche à 4 blocs, colonne principale paginée,
   pied de page à 4 liens.
   Aucun élément graphique de tiers n'est repris : palette, grille et
   structure uniquement. Branding First Face Montreux.
   ------------------------------------------------------------------ */

:root {
  --ff-pink:        #cc0066;
  --ff-pink-dark:   #a80054;
  --ff-row-a:       #ffd9e8;
  --ff-row-b:       #ffe9f2;
  --ff-sidebar-bg:  #ffcfe2;
  --ff-grey-nav:    #4d4d4d;
  --ff-grey-band:   #3f3f3f;
  --ff-grey-light:  #e8e8e8;
  --ff-link:        #7a0038;
  --ff-text:        #1a1a1a;
  --ff-container:   1040px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background: #000;
  color: var(--ff-text);
  font: 11px/1.45 Arial, Helvetica, sans-serif;
}

a { color: var(--ff-link); }

.ff-container {
  width: var(--ff-container);
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
}

/* ---- 1. bandeau utilitaire ---- */
.ff-topstrip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #2b2b2b;
  color: #fff;
  padding: 3px 10px;
  font-size: 11px;
}
.ff-topstrip a { color: #fff; text-decoration: none; }
.ff-topstrip .ff-clock { font-weight: bold; }

/* ---- le diamant : brillant taille, en SVG inline.
   Il prend la couleur du texte courant (currentColor), donc blanc sur les
   fonds sombres et rose dans la colonne de gauche, sans variante de fichier. */
.ff-gem {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.14em;
  flex: none;
}
.ff-gem--sm { width: 10px; height: 10px; vertical-align: -1px; }
.ff-gem--md { width: 24px; height: 24px; vertical-align: -3px; }
.ff-gem--lg { width: 30px; height: 30px; vertical-align: -3px; margin-right: 5px; }
.ff-gem--bullet { width: 7px; height: 7px; vertical-align: 0; }

/* ---- 2. barre logo + liens utilitaires ---- */
.ff-logobar {
  display: flex;
  align-items: stretch;
  background: #000;
}
/* Marque et domaine partagent UNE ligne de base. Ne pas repasser
   .ff-logo-mark en flex : un conteneur flex prend sa ligne de base sur son
   premier enfant — ici le SVG, qui n'en a pas — et le domaine décroche. */
.ff-logo {
  flex: 0 0 auto;
  padding: 12px 16px;
  display: block;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.ff-logo-mark {
  color: #fff;
  font-size: 34px;
  font-weight: bold;
  letter-spacing: -1px;
  font-family: Georgia, "Times New Roman", serif;
}
.ff-logo-domain {
  color: #b0b0b0;
  font-size: 15px;
  letter-spacing: 1px;
  font-weight: bold;
  margin-left: 10px;
}
.ff-utility {
  flex: 1 1 auto;
  background: var(--ff-grey-light);
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  text-align: right;
}
.ff-utility a { color: #111; text-decoration: none; }
.ff-utility a:hover { text-decoration: underline; }
.ff-utility-row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.ff-utility-sep { color: #888; }
.ff-langselect {
  background: var(--ff-grey-nav);
  color: #fff;
  border: 1px solid #333;
  font: bold 11px Arial, Helvetica, sans-serif;
  padding: 2px 4px;
}
.ff-mailto { display: inline-flex; align-items: center; gap: 5px; }
.ff-mailto .ff-env { color: var(--ff-pink); font-size: 13px; }

/* ---- 3. navigation principale (7 entrées) ---- */
.ff-nav {
  background: var(--ff-grey-nav);
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}
.ff-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 11.5px;
  letter-spacing: .3px;
  padding: 8px 16px;
  white-space: nowrap;
}
.ff-nav a:hover { background: #5f5f5f; }
.ff-nav .ff-nav-sep { color: #9a9a9a; align-self: center; }
.ff-nav a.is-current { background: #5f5f5f; }

/* ---- 4. bandeau de titre de section ---- */
.ff-band {
  background: var(--ff-grey-band);
  color: #fff;
  padding: 22px 18px;
  font-size: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---- 5. corps : sidebar + colonne principale ---- */
.ff-body { display: flex; align-items: flex-start; background: #fff; }
.ff-sidebar { flex: 0 0 255px; max-width: 255px; }
.ff-main { flex: 1 1 auto; min-width: 0; }

.ff-blocktitle {
  background: var(--ff-pink);
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  letter-spacing: .4px;
  padding: 5px 10px;
  text-transform: uppercase;
}
.ff-blockbody { background: var(--ff-sidebar-bg); padding: 8px 10px 12px; }

.ff-linklist { list-style: none; margin: 0; padding: 0; }
.ff-linklist li { padding: 1px 0; }
.ff-linklist a {
  color: var(--ff-link);
  font-weight: bold;
  text-decoration: none;
  font-size: 11.5px;
}
.ff-linklist a:hover { text-decoration: underline; }
.ff-linklist .ff-bullet {
  color: var(--ff-pink-dark);
  margin-right: 5px;
  display: inline-block;
  line-height: 1;
}
.ff-linklist a.is-current { color: #000; }

.ff-sidebar-figure {
  width: 100%;
  height: 190px;
  background: #111 center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font: bold 15px Georgia, "Times New Roman", serif;
  letter-spacing: 1px;
  padding: 10px;
}
/* Le markup emet ff-is-bethe1 (le prefixe suit --salt) : la regle doit le
   cibler tel quel, sinon elle ne s'applique jamais et le bloc reste noir. */
.ff-sidebar-figure.ff-is-bethe1 { height: 172px; }

.ff-search-row { margin: 6px 0; }
.ff-search-row label { display: block; font-weight: bold; color: var(--ff-link); }
.ff-search-row select {
  width: 100%;
  font: 11px Arial, Helvetica, sans-serif;
  padding: 1px 2px;
  border: 1px solid #999;
}
.ff-search-arrow { color: var(--ff-pink-dark); font-weight: bold; }
.ff-btn-ok {
  float: right;
  margin-top: 6px;
  font: bold 11px Arial, Helvetica, sans-serif;
  padding: 2px 10px;
  border: 1px solid #999;
  background: var(--ff-grey-light);
  cursor: pointer;
}
.ff-tagline { padding: 8px 0 0; color: #111; }
.ff-tagline strong { color: var(--ff-link); }

/* ---- 6. colonne principale ---- */
.ff-maintitle {
  background: var(--ff-pink);
  color: #fff;
  font-weight: bold;
  font-size: 12.5px;
  letter-spacing: .4px;
  padding: 5px 10px;
  text-transform: uppercase;
}
.ff-banner {
  height: 118px;
  background: #000 center/cover no-repeat;
  color: #55555f;
  display: flex;
  align-items: center;
  justify-content: center;
  font: bold 13px Georgia, "Times New Roman", serif;
  letter-spacing: 3px;
  overflow: hidden;
}
.ff-intro {
  background: var(--ff-row-b);
  color: var(--ff-pink);
  font-weight: bold;
  padding: 8px 10px;
  font-size: 11.5px;
}
.ff-intro strong { color: var(--ff-pink); }

.ff-pagerrow {
  display: flex;
  align-items: stretch;
  border-top: 1px solid #fff;
}
.ff-pager {
  flex: 1 1 auto;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 6px 8px;
  border: 1px solid #e2e2e2;
}
.ff-pager a, .ff-pager span { color: #444; text-decoration: none; font-size: 12px; }
.ff-pager a:hover { color: var(--ff-pink); }
.ff-pager .is-current { font-weight: bold; color: #000; }
.ff-pager .is-disabled { color: #c8c8c8; }
.ff-suggest {
  flex: 0 0 auto;
  background: var(--ff-pink);
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  letter-spacing: .5px;
  padding: 8px 22px;
  display: flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}
.ff-suggest:hover { background: var(--ff-pink-dark); color: #fff; }

/* lignes de l'annuaire */
.ff-list { width: 100%; border-collapse: collapse; }
.ff-list tr { background: var(--ff-row-a); }
.ff-list tr:nth-child(even) { background: var(--ff-row-b); }
.ff-list td {
  padding: 7px 10px;
  border-bottom: 1px solid var(--ff-pink);
  vertical-align: top;
  font-size: 11.5px;
}
.ff-list td.ff-c-name { width: 46%; }
.ff-list td.ff-c-link { width: 38%; }
.ff-list td.ff-c-meta { width: 16%; color: #6a4055; white-space: nowrap; }
.ff-list a.ff-entity { color: #111; font-weight: bold; text-decoration: none; }
.ff-list a.ff-entity:hover { color: var(--ff-pink); }
.ff-list a.ff-url { color: var(--ff-link); text-decoration: underline; word-break: break-all; }
/* Indentation suspendue : quand un nom passe a la ligne, la suite s'aligne
   sur le texte, pas sous la fleche. Le <td> reste une cellule de tableau
   (sinon les largeurs de colonnes sautent) ; c'est l'enveloppe interne qui
   porte le flex. */
.ff-list .ff-namewrap { display: flex; align-items: baseline; }
.ff-list .ff-arrow {
  color: var(--ff-pink-dark);
  font-weight: bold;
  margin-right: 5px;
  flex: none;
}
.ff-list .ff-namewrap .ff-entity { min-width: 0; }

.ff-empty { background: var(--ff-row-b); padding: 18px 12px; color: #7a0038; font-weight: bold; }

/* fiche entité */
.ff-sheet { background: var(--ff-row-b); padding: 12px; }
.ff-sheet dl { margin: 0; display: grid; grid-template-columns: 120px 1fr; gap: 4px 10px; }
.ff-sheet dt { font-weight: bold; color: var(--ff-link); }
.ff-sheet dd { margin: 0; }
.ff-sheet .ff-verified { margin-top: 10px; color: #6a4055; font-style: italic; }

/* facettes (cantons / villes) */
.ff-facets { background: #fff; padding: 8px 10px; border: 1px solid #e2e2e2; }
.ff-facets a { color: var(--ff-link); text-decoration: none; font-weight: bold; }
.ff-facets a:hover { text-decoration: underline; }
.ff-facets .ff-sep { color: #bbb; margin: 0 4px; }

/* ------------------------------------------------------------------
   LA PLAQUE — d'apres la composition de la page de reference :
   titre en capitales tres espacees, diamant au centre, sous-titre en
   italiques, decoupe blanche en diagonale, et menu en cascade a puces
   diamant. La zone sombre porte le titre, la zone blanche porte le menu.
   ------------------------------------------------------------------ */
.ff-plaque {
  position: relative;
  background: #fff;
  overflow: hidden;
  min-height: 250px;
}
/* La photo occupe un coin gauche en diagonale ; le reste reste blanc et porte
   le texte. Titre SOMBRE sur blanc : un titre clair centre passerait a moitie
   sur le blanc. */
.ff-plaque::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #0d0d0d center/cover no-repeat;
  clip-path: polygon(0 0, 42% 0, 14% 100%, 0 100%);
}
.ff-plaque > * { position: relative; }

.ff-plaque-titre {
  text-align: center;
  padding: 30px 18px 10px 34%;
  color: #1a1a1a;
  white-space: nowrap;
}
.ff-plaque-mot {
  font: 30px/1 Georgia, "Times New Roman", serif;
  letter-spacing: 12px;
}
.ff-plaque-titre .ff-gem {
  width: 30px; height: 30px;
  vertical-align: -4px;
  margin: 0 2px 0 12px;
  color: #1a1a1a;
}
.ff-plaque-sur {
  display: block;
  margin-top: 3px;
  font: italic 13px/1.2 Georgia, "Times New Roman", serif;
  letter-spacing: 5px;
  color: #6a6a6a;
}
.ff-plaque-annee {
  display: block;
  font: bold 9px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 4px;
  color: #9a9a9a;
  margin-top: 4px;
}

/* Le menu en cascade : aligne a gauche sur un bord commun, puis decale d'un
   cran a chaque ligne. Centrer ET indenter donnait un escalier irregulier,
   chaque libelle ayant sa propre largeur. */
.ff-cascade {
  list-style: none;
  margin: 0;
  padding: 8px 22px 28px 34%;
  text-align: left;
}
.ff-cascade li { padding: 3px 0; }
.ff-cascade li + li { margin-left: 15px; }
.ff-cascade li:nth-child(1) { margin-left: 0; }
.ff-cascade li:nth-child(2) { margin-left: 15px; }
.ff-cascade li:nth-child(3) { margin-left: 30px; }
.ff-cascade li:nth-child(4) { margin-left: 45px; }
.ff-cascade li:nth-child(5) { margin-left: 60px; }
.ff-cascade li:nth-child(6) { margin-left: 75px; }
.ff-cascade a {
  color: #7a0038;
  font: bold 13px/1.3 Arial, Helvetica, sans-serif;
  text-decoration: none;
}
.ff-cascade a:hover { color: var(--ff-pink); text-decoration: underline; }
.ff-cascade .ff-gem { width: 8px; height: 8px; margin-right: 7px; color: var(--ff-pink); }

/* ------------------------------------------------------------------
   OFFRE 1 — page Be The 1 Programme
   ------------------------------------------------------------------ */
.ff-prog-hero { background: #000; color: #fff; padding: 22px 18px 24px; }
.ff-prog-eyebrow {
  color: var(--ff-pink);
  font-weight: bold;
  font-size: 11px;
  letter-spacing: 2.5px;
  margin: 0 0 8px;
}
.ff-prog-titre {
  font: bold 38px/1 Georgia, "Times New Roman", serif;
  letter-spacing: -1px;
  margin: 0;
}
.ff-prog-baseline {
  font: italic 20px/1.3 Georgia, "Times New Roman", serif;
  color: #c9c9c9;
  margin: 6px 0 14px;
}
.ff-prog-chapeau { max-width: 62ch; color: #d8d8d8; font-size: 12px; line-height: 1.7; margin: 0; }

.ff-prog-bloc { background: var(--ff-row-b); padding: 12px 14px 16px; }
.ff-prog-bloc h2 {
  margin: 0 0 8px;
  color: var(--ff-pink);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.ff-prog-bloc p { margin: 0 0 8px; font-size: 12px; line-height: 1.7; max-width: 70ch; }

/* les 4 etapes, en bande horizontale — le rythme du gabarit */
.ff-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; background: #fff; padding: 3px 0; }
.ff-step { background: var(--ff-row-a); padding: 10px 11px 13px; border: 1px solid #f0f0f0; }
.ff-step-n {
  display: inline-block;
  background: var(--ff-pink);
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  width: 19px; height: 19px;
  line-height: 19px;
  text-align: center;
  margin-bottom: 6px;
}
.ff-step h3 { margin: 0 0 4px; font-size: 11.5px; color: var(--ff-link); }
.ff-step p { margin: 0; font-size: 11px; line-height: 1.55; }

/* ce que ce n'est pas — l'argument anti-arnaque, assume visuellement */
/* parcours : 5 etapes au lieu de 4 */
.ff-steps--5 { grid-template-columns: repeat(5, 1fr); }

/* les trois criteres de progression */
.ff-criteres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: #fff; padding: 3px 0; }
.ff-critere { background: var(--ff-row-a); border: 1px solid #f0f0f0; padding: 10px 11px 13px; }
.ff-critere strong { display: block; color: var(--ff-pink); font-size: 12px; margin-bottom: 4px; }
.ff-critere span { font-size: 11px; line-height: 1.55; }

/* table des defilés : en-tetes visibles */
.ff-shows th {
  background: var(--ff-pink);
  color: #fff;
  text-align: left;
  font-size: 11px;
  letter-spacing: .3px;
  padding: 5px 10px;
  text-transform: uppercase;
}
.ff-shows td { font-size: 11px; padding: 7px 10px; border-bottom: 1px solid var(--ff-pink); vertical-align: top; }
.ff-shows em { color: #8a6076; }

/* le lexique : un mot, une chose */
.ff-lexique { background: #fff; border: 1px solid #e2c6d5; padding: 12px 14px 6px; }
.ff-lexique > h2 { margin: 0 0 3px; color: var(--ff-pink); font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.ff-lexique > p { margin: 0 0 10px; font-size: 12px; }
.ff-lex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.ff-lex { background: var(--ff-row-b); padding: 9px 11px 12px; }
.ff-lex-terme { display: block; font: bold 13px Georgia, "Times New Roman", serif; color: #111; }
.ff-lex-quoi { display: block; color: var(--ff-pink); font-weight: bold; font-size: 10.5px; text-transform: uppercase; letter-spacing: .4px; margin: 2px 0 5px; }
.ff-lex p { margin: 0; font-size: 11px; line-height: 1.55; }

/* Moitie negative de « ce que fait l'agence » : meme rang visuel, le titre
   est donc porte par un bandeau .ff-maintitle et non par un h2 interne. */
.ff-prog-non { background: #fff; border: 1px solid #e2c6d5; border-top: 0; padding: 10px 14px 14px; }
.ff-prog-non h2 { margin: 0 0 8px; color: #111; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.ff-prog-non ul { list-style: none; margin: 0; padding: 0; }
.ff-prog-non li { font-size: 12px; line-height: 1.6; padding: 4px 0 4px 20px; position: relative; }
.ff-prog-non li::before {
  content: "\00D7";
  position: absolute; left: 4px; top: 3px;
  color: var(--ff-pink); font-weight: bold; font-size: 14px;
}

/* les 4 arguments de l'offre */
.ff-args { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; background: #fff; padding: 3px 0; }
.ff-arg { background: var(--ff-row-b); border: 1px solid #f0f0f0; }
.ff-arg-head { color: #fff; font-weight: bold; font-size: 12px; padding: 5px 9px; letter-spacing: .3px; }
.ff-arg--rose .ff-arg-head { background: #cc0066; }
.ff-arg--orange .ff-arg-head { background: #ef7215; }
.ff-arg--vert .ff-arg-head { background: #6a9c17; }
.ff-arg--bleu .ff-arg-head { background: #0f86b8; }
.ff-arg p { margin: 0; padding: 9px 10px 12px; font-size: 11.5px; line-height: 1.6; }

/* bande d'appel a l'action */
.ff-ctaband {
  background: var(--ff-grey-band);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.ff-ctaband-txt { color: #fff; }
.ff-ctaband-txt strong { display: block; font: bold 15px Georgia, serif; margin-bottom: 3px; }
.ff-ctaband-txt span { color: #c4c4c4; font-size: 11.5px; }
.ff-btn {
  background: var(--ff-pink);
  color: #fff;
  font-weight: bold;
  font-size: 12.5px;
  letter-spacing: .6px;
  padding: 11px 24px;
  text-decoration: none;
  white-space: nowrap;
  flex: none;
}
.ff-btn:hover { background: var(--ff-pink-dark); color: #fff; }
.ff-btn--ghost { background: transparent; border: 1px solid #8a8a8a; color: #fff; }
.ff-btn--ghost:hover { background: #5f5f5f; color: #fff; }

/* document telechargeable */
.ff-doc { background: var(--ff-row-a); padding: 12px 14px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.ff-doc-txt { flex: 1 1 260px; min-width: 0; }
.ff-doc-txt strong { display: block; color: var(--ff-link); font-size: 12.5px; margin-bottom: 3px; }
.ff-doc-txt span { font-size: 11.5px; }
.ff-doc-attente { font-size: 11px; font-style: italic; color: #6a4055; }

/* relance vers la candidature, posee sur les pages d'annuaire */
.ff-relance {
  background: var(--ff-row-a);
  border-top: 2px solid var(--ff-pink);
  padding: 12px 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.ff-relance-txt { flex: 1 1 280px; min-width: 0; }
.ff-relance-txt strong { display: block; color: var(--ff-link); font-size: 12.5px; margin-bottom: 3px; }
.ff-relance-txt span { font-size: 11.5px; }

/* formulaire Be The 1 */
.ff-form { background: var(--ff-row-b); padding: 14px; }
.ff-form label { display: block; font-weight: bold; color: var(--ff-link); margin-top: 8px; }
.ff-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.ff-form-aide { font-size: 11px; color: #6a4055; margin: 3px 0 0; }
.ff-form-req { color: var(--ff-pink); }

/* Bloc parental : masque par defaut, revele par le JS des que la date de
   naissance indique moins de 18 ans. Le serveur revalide de son cote — un
   champ masque cote client n'est pas une garantie. */
.ff-form-mineur { display: none; margin-top: 14px; border: 2px solid var(--ff-pink); padding: 10px 12px 12px; background: #fff; }
.ff-form-mineur.is-visible { display: block; }
.ff-form-mineur h3 { margin: 0 0 4px; color: var(--ff-pink); font-size: 12.5px; text-transform: uppercase; letter-spacing: .4px; }
.ff-form-mineur p { margin: 0; font-size: 11.5px; line-height: 1.6; }

.ff-form-suite { background: #fff; border: 1px solid #e2c6d5; padding: 11px 13px 13px; margin-top: 14px; }
.ff-form-suite h3 { margin: 0 0 6px; color: var(--ff-link); font-size: 12.5px; text-transform: uppercase; letter-spacing: .4px; }
.ff-form-suite ol { margin: 0; padding-left: 20px; }
.ff-form-suite li { font-size: 11.5px; line-height: 1.6; padding: 2px 0; }
.ff-form input, .ff-form select, .ff-form textarea {
  width: 100%;
  font: 11.5px Arial, Helvetica, sans-serif;
  padding: 4px;
  border: 1px solid #b78ba2;
  background: #fff;
}
.ff-form .ff-consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-weight: normal; }
.ff-form .ff-consent input { width: auto; margin-top: 2px; }
.ff-form button {
  margin-top: 14px;
  background: var(--ff-pink);
  color: #fff;
  border: 0;
  font: bold 12px Arial, Helvetica, sans-serif;
  letter-spacing: .5px;
  padding: 9px 24px;
  cursor: pointer;
}
.ff-form button:hover { background: var(--ff-pink-dark); }
.ff-formnote { margin-top: 10px; color: #6a4055; }
.ff-formstatus { margin-top: 10px; font-weight: bold; }

/* prose des pages statiques */
.ff-prose { background: #fff; padding: 12px 14px; font-size: 12px; line-height: 1.6; }
.ff-prose h2 { color: var(--ff-pink); font-size: 14px; margin: 16px 0 6px; }
.ff-prose h3 { font-size: 12.5px; margin: 12px 0 4px; }
.ff-prose table { border-collapse: collapse; width: 100%; margin: 10px 0; }
.ff-prose th, .ff-prose td { border: 1px solid #e2c6d5; padding: 5px 7px; text-align: left; }
.ff-prose th { background: var(--ff-row-a); }

/* ---- 7. pied de page ---- */
.ff-footerbar {
  background: var(--ff-grey-nav);
  color: #fff;
  text-align: center;
  padding: 8px 10px;
  font-size: 11.5px;
}
.ff-footerbar a { color: #fff; text-decoration: none; }
.ff-footerbar a:hover { text-decoration: underline; }
.ff-footerbar .ff-sep { color: #b5b5b5; margin: 0 6px; }
.ff-copyright {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 11px;
}
.ff-copyright a { color: #fff; }
.ff-copyright .ff-sep { color: #888; margin: 0 5px; }

/* Utilitaires. La CSP du site est stricte (style-src 'self') : aucun
   attribut style= ni bloc <style> ne serait applique. Tout passe par ici. */
.ff-clear { clear: both; }
.ff-mt8 { margin-top: 8px; }

/* ------------------------------------------------------------------
   PAGE D'ACCUEIL — grille de tuiles.
   Le gabarit de reference tire sa personnalite de sa DENSITE : des
   bandeaux de couleurs franches, du texte serre, un appel a l'action par
   bloc. Une tuile sans contenu n'affiche donc jamais un tiret : elle
   invite a s'inscrire, ce qui est aussi ce qui la remplira.
   ------------------------------------------------------------------ */
.ff-tiles {
  display: grid;
  gap: 3px;
  background: #fff;
  padding: 3px 0;
}
/* Le rythme de la reference : une large + deux, puis quatre, puis quatre. */
.ff-tiles--haut   { grid-template-columns: 2fr 1fr 1fr; }
.ff-tiles--milieu,
.ff-tiles--bas    { grid-template-columns: repeat(4, 1fr); }

.ff-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
  color: var(--ff-text);
  background: var(--ff-row-b);
  border: 1px solid #f0f0f0;
}
.ff-tile:hover { background: #fff; }
.ff-tile[data-href] { cursor: pointer; }
.ff-tile-cta { text-decoration: none; }

/* Emplacement de vignette : bande d'image en tete de tuile, comme la
   reference. Tant qu'aucune image n'est fournie, le bloc porte le nom du
   site sur fond sombre — jamais un trou. */
.ff-tile-figure {
  height: 92px;
  background: #111 center/cover no-repeat;
  color: #55555f;
  display: flex;
  align-items: center;
  justify-content: center;
  font: bold 11px Georgia, "Times New Roman", serif;
  letter-spacing: 3px;
  flex: none;
  overflow: hidden;
}
.ff-tile--grande .ff-tile-figure { height: 132px; }

.ff-tile-head {
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  letter-spacing: .4px;
  padding: 5px 9px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.ff-tile-count {
  background: rgba(0, 0, 0, .28);
  border-radius: 2px;
  padding: 0 6px;
  font-size: 11px;
}
.ff-tile-body { padding: 8px 9px 10px; flex: 1 1 auto; }
.ff-tile-body p { margin: 0 0 4px; font-size: 11.5px; line-height: 1.5; }
.ff-tile-cta {
  display: block;
  margin-top: 7px;
  font-weight: bold;
  color: var(--ff-link);
  font-size: 11.5px;
}
.ff-tile-cta .ff-gem { width: 7px; height: 7px; margin-right: 4px; }

/* Bandeaux de couleur — la palette franche de l'epoque. */
.ff-tile--rose   .ff-tile-head { background: #cc0066; }
.ff-tile--orange .ff-tile-head { background: #ef7215; }
.ff-tile--jaune  .ff-tile-head { background: #d9a300; }
.ff-tile--bleu   .ff-tile-head { background: #0f86b8; }
.ff-tile--vert   .ff-tile-head { background: #6a9c17; }
.ff-tile--violet .ff-tile-head { background: #7a4b9c; }

.ff-tile--grande .ff-tile-head { font-size: 13.5px; padding: 7px 10px; }
.ff-tile--grande .ff-tile-body { padding: 11px 11px 13px; }
.ff-tile--grande .ff-tile-body p { font-size: 12px; }

/* facettes cantons dans la tuile principale */
.ff-tile-facets { margin-top: 8px; font-size: 11px; line-height: 1.9; }
.ff-tile-facets a { color: var(--ff-link); text-decoration: none; font-weight: bold; }
.ff-tile-facets a:hover { text-decoration: underline; }
.ff-tile-facets .ff-sep { color: #c9a4b7; margin: 0 3px; }

/* ---- bande "derniere minute" ---- */
/* Le concept en une ligne, sous le bandeau de titre de la page d'accueil. */
.ff-baseline {
  background: #1c1c1c;
  color: #fff;
  font: italic 19px/1.35 Georgia, "Times New Roman", serif;
  padding: 13px 18px;
  border-bottom: 3px solid var(--ff-pink);
}
.ff-baseline strong { font-style: normal; font-weight: bold; color: #fff; }

.ff-ticker {
  display: flex;
  align-items: center;
  background: #2b2b2b;
  color: #ddd;
  font-size: 11.5px;
  overflow: hidden;
  white-space: nowrap;
}
.ff-ticker-label {
  flex: none;
  background: var(--ff-pink);
  color: #fff;
  font-weight: bold;
  padding: 6px 10px;
}
.ff-ticker-text { padding: 6px 12px; overflow: hidden; text-overflow: ellipsis; }

/* ---- acces direct par canton ---- */
.ff-shortcuts {
  background: var(--ff-grey-band);
  color: #fff;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ff-shortcuts-label { font-size: 16px; color: #cfcfcf; font-family: Georgia, serif; }
.ff-shortcuts select {
  font: bold 11.5px Arial, Helvetica, sans-serif;
  padding: 3px 6px;
  border: 1px solid #888;
  min-width: 210px;
}

/* ---- mega-menu de pied de page (4 colonnes) ---- */
.ff-features { background: #fff; border-top: 3px solid var(--ff-pink); }
.ff-features-title {
  background: var(--ff-grey-band);
  color: #cfcfcf;
  font: 15px Georgia, "Times New Roman", serif;
  padding: 7px 12px;
}
.ff-features-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: #e2e2e2;
}
.ff-features-col { background: var(--ff-row-b); padding: 9px 11px 13px; }
.ff-features-col h3 {
  margin: 0 0 6px;
  font-size: 11.5px;
  color: var(--ff-pink);
  text-transform: uppercase;
  letter-spacing: .3px;
}
.ff-features-col ul { list-style: none; margin: 0; padding: 0; }
.ff-features-col li { padding: 1px 0; }
.ff-features-col a { color: var(--ff-link); text-decoration: none; font-size: 11.5px; font-weight: bold; }
.ff-features-col a:hover { text-decoration: underline; }
.ff-features-col .ff-gem { width: 6px; height: 6px; margin-right: 4px; color: var(--ff-pink-dark); }

/* ---- pages d'entree : racine (choix de langue) et 404 ---- */
.ff-entry {
  text-align: center;
  padding: 70px 20px;
  color: #fff;
}
.ff-entry-title {
  font: bold 40px Georgia, "Times New Roman", serif;
  letter-spacing: -1px;
  margin: 0 0 6px;
}
.ff-entry-title .ff-gem { width: 32px; height: 32px; vertical-align: -2px; margin-right: 4px; }
.ff-entry-domain { color: #b0b0b0; letter-spacing: 2px; font-weight: bold; margin: 0 0 8px; }
.ff-entry h2 {
  color: var(--ff-pink);
  font-size: 15px;
  letter-spacing: 1px;
  margin: 30px 0 10px;
  text-transform: uppercase;
}
.ff-entry p { color: #b0b0b0; margin: 6px 0; }
.ff-entry ul { list-style: none; padding: 0; margin: 18px 0 0; }
.ff-entry li { display: inline-block; }
.ff-entry a {
  color: #ff5fa2;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  padding: 8px 16px;
}
.ff-entry a:hover { text-decoration: underline; }

.ff-skip {
  position: absolute; left: -9999px;
}
.ff-skip:focus {
  left: 8px; top: 8px; z-index: 10; background: #fff; padding: 6px 10px;
}

/* ---- mobile : 41 % des impressions Search Console. La grille se
   déplie, l'aspect 2005 est conservé. ---- */
@media (max-width: 900px) {
  .ff-plaque { min-height: 0; }
  .ff-plaque::before { clip-path: polygon(0 0, 100% 0, 100% 32%, 0 44%); }
  .ff-plaque-titre { padding: 96px 14px 8px; }
  .ff-plaque-mot { font-size: 20px; letter-spacing: 6px; }
  .ff-plaque-titre .ff-gem { width: 20px; height: 20px; margin-left: 8px; }
  .ff-plaque-sur { font-size: 11px; letter-spacing: 3px; }
  .ff-cascade { padding: 6px 14px 22px; text-align: center; }
  .ff-cascade li { margin-left: 0 !important; }
  .ff-steps, .ff-steps--5 { grid-template-columns: repeat(2, 1fr); }
  .ff-criteres { grid-template-columns: 1fr; }
  .ff-lex-grid { grid-template-columns: 1fr; }
  .ff-args { grid-template-columns: 1fr; }
  .ff-prog-titre { font-size: 30px; }
  .ff-prog-baseline { font-size: 17px; }
  .ff-ctaband, .ff-relance, .ff-doc { flex-direction: column; align-items: stretch; }
  .ff-btn { text-align: center; }
  .ff-form-grid { grid-template-columns: 1fr; }
  .ff-tiles--haut, .ff-tiles--milieu, .ff-tiles--bas { grid-template-columns: repeat(2, 1fr); }
  .ff-tiles--haut > .ff-tile:first-child { grid-column: span 2; }
  .ff-tile-figure { height: 74px; }
  .ff-features-cols { grid-template-columns: repeat(2, 1fr); }
  .ff-shortcuts select { min-width: 0; width: 100%; }
  .ff-ticker { white-space: normal; }
  .ff-ticker-text { white-space: normal; }
  .ff-body { flex-direction: column; }
  .ff-sidebar { flex: 1 1 auto; max-width: 100%; width: 100%; order: 2; }
  .ff-main { width: 100%; order: 1; }
  .ff-logobar { flex-direction: column; }
  .ff-utility { align-items: flex-start; text-align: left; }
  .ff-utility-row { justify-content: flex-start; }
  .ff-nav { justify-content: flex-start; }
  .ff-nav .ff-nav-sep { display: none; }
  .ff-nav a { padding: 8px 10px; font-size: 11px; }
  .ff-band { font-size: 20px; padding: 14px; }
  .ff-pagerrow { flex-direction: column; }
  .ff-suggest { justify-content: center; }
  .ff-list td.ff-c-meta { display: none; }
  .ff-sheet dl { grid-template-columns: 1fr; }
  .ff-sheet dt { margin-top: 6px; }
}

/* vignettes des tuiles (generees) */
.ff-tile-figure[data-img="agences"] { background-image: url(/assets/img/agences.9aa3c38f.jpg); }
.ff-tile-figure[data-img="agenda"] { background-image: url(/assets/img/agenda.1c410376.jpg); }
.ff-tile-figure[data-img="awards"] { background-image: url(/assets/img/awards.17781264.jpg); }
.ff-banner[data-img="be-the-1"], .ff-plaque[data-img="be-the-1"]::before { background-image: url(/assets/img/banner-be-the-1.b8de2451.jpg); }
.ff-banner[data-img="default"], .ff-plaque[data-img="default"]::before { background-image: url(/assets/img/banner-default.96a41ac3.jpg); }
.ff-banner[data-img="designers"], .ff-plaque[data-img="designers"]::before { background-image: url(/assets/img/banner-designers.13136764.jpg); }
.ff-banner[data-img="fashion-schools"], .ff-plaque[data-img="fashion-schools"]::before { background-image: url(/assets/img/banner-fashion-schools.41c3f8a0.jpg); }
.ff-banner[data-img="magazines"], .ff-plaque[data-img="magazines"]::before { background-image: url(/assets/img/banner-magazines.cc4494a2.jpg); }
.ff-banner[data-img="model-agencies"], .ff-plaque[data-img="model-agencies"]::before { background-image: url(/assets/img/banner-model-agencies.1114230a.jpg); }
.ff-banner[data-img="models"], .ff-plaque[data-img="models"]::before { background-image: url(/assets/img/banner-models.49762d18.jpg); }
.ff-banner[data-img="photographers"], .ff-plaque[data-img="photographers"]::before { background-image: url(/assets/img/banner-photographers.1a85b04e.jpg); }
.ff-tile-figure[data-img="bethe1"] { background-image: url(/assets/img/bethe1.f879b170.jpg); }
.ff-tile-figure[data-img="castings"] { background-image: url(/assets/img/castings.fe17ad70.jpg); }
.ff-tile-figure[data-img="createurs"] { background-image: url(/assets/img/createurs.ce00994a.jpg); }
.ff-tile-figure[data-img="devenir"] { background-image: url(/assets/img/devenir.b6b05356.jpg); }
.ff-tile-figure[data-img="ecoles"] { background-image: url(/assets/img/ecoles.be17086d.jpg); }
.ff-tile-figure[data-img="magazines"] { background-image: url(/assets/img/magazines.9e9c2651.jpg); }
.ff-tile-figure[data-img="mannequins"] { background-image: url(/assets/img/mannequins.395d7aa7.jpg); }
.ff-tile-figure[data-img="photographes"] { background-image: url(/assets/img/photographes.4aac62e8.jpg); }
.ff-sidebar-figure[data-img="bethe1"] { background-image: url(/assets/img/side-bethe1.8574a787.jpg); }
.ff-sidebar-figure[data-img="search"] { background-image: url(/assets/img/side-search.f1b9950b.jpg); }
