/* Impulsion v2 : styles propres à la seconde maquette. S'appuie sur les
   variables et composants de styles.css (charte Loire Tourisme). */

/* Bandeau de version, au-dessus de l'en-tête */
.v2-bandeau { background: var(--ink); color: #fff; font-size: .86rem; }
.v2-bandeau .wrap { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; justify-content: space-between; padding-top: .4rem; padding-bottom: .4rem; }
.v2-bandeau a { color: var(--amber); font-weight: 600; }

/* Accueil */
.v2-hero .lead { max-width: 46rem; }
.v2-recherche { display: flex; gap: .5rem; max-width: 40rem; margin-top: 1.2rem; }
.v2-recherche input { flex: 1; min-width: 0; font: inherit; font-size: 1.05rem; padding: .85rem 1rem; border: 2px solid var(--ink); border-radius: var(--radius-sm); background: #fff; }
.v2-recherche input:focus { outline: none; box-shadow: var(--focus); }
.v2-recherche .btn { white-space: nowrap; }
.v2-recherche-page { margin: 1rem 0 1.2rem; }
.v2-saison { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1rem; }
.v2-saison-label { font-weight: 600; margin-right: .2rem; }
.v2-saison button { font: inherit; display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .85rem; border-radius: var(--radius-pill); border: 1.5px solid var(--ink); background: rgba(255,255,255,.7); color: var(--ink); cursor: pointer; }
.v2-saison button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.v2-saison button:focus-visible { outline: none; box-shadow: var(--focus); }

.v2-perso { background: var(--amber-soft); border-bottom: 1px solid var(--line); }
.v2-perso p { margin: 0; padding: .75rem 0; }
.v2-perso a { color: var(--amber-ink); font-weight: 700; }

.v2-portes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.v2-portes-sec { grid-template-columns: repeat(4, 1fr); margin-bottom: 1rem; }
.v2-porte { display: flex; flex-direction: column; gap: .45rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; transition: transform .12s, box-shadow .12s; }
.v2-porte:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.v2-porte:focus-visible { outline: none; box-shadow: var(--focus); }
.v2-porte-ico { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--amber-soft); color: var(--amber-ink); display: grid; place-items: center; }
.v2-porte-ico .ic { width: 1.35rem; height: 1.35rem; }
.v2-porte-titre { font-family: Poppins, system-ui, sans-serif; font-weight: 700; font-size: 1.1rem; }
.v2-porte-desc { color: var(--ink-soft); font-size: .95rem; }

.v2-deux { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.v2-actus { list-style: none; margin: 0 0 1rem; padding: 0; }
.v2-actus li { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.v2-actus-detail li { display: flex; flex-direction: column; gap: .25rem; }
.v2-actus-detail li > span:last-child { color: var(--ink-soft); }

/* Challenges */
.v2-challenge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.2rem; }
.v2-challenge-card { display: flex; gap: .9rem; align-items: flex-start; padding: 1.05rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); transition: transform .12s, box-shadow .12s; }
.v2-challenge-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.v2-challenge-card:focus-visible { outline: none; box-shadow: var(--focus); }
.v2-challenge-ico { flex: none; width: 2.4rem; height: 2.4rem; border-radius: var(--radius-sm); background: var(--th-environnement-bg); color: var(--th-environnement-ink); display: grid; place-items: center; }
.v2-challenge-body { display: flex; flex-direction: column; gap: .3rem; }
.v2-challenge-titre { font-weight: 700; font-size: 1.04rem; line-height: 1.3; }
.v2-challenge-meta { color: var(--grey); font-size: .86rem; }
.v2-pour-vous { display: inline-block; align-self: flex-start; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--amber-ink); background: var(--amber-soft); border-radius: var(--radius-pill); padding: .1rem .55rem; }

.v2-absent { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); background: #fff; margin: .6rem 0 1rem; }
.v2-absent p { margin: 0; flex: 1; }
.v2-absent-ico { color: var(--amber-ink); }

.v2-filtres { display: flex; flex-direction: column; gap: .55rem; margin-bottom: 1rem; }
.v2-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.v2-chips-label { font-weight: 700; font-size: .9rem; min-width: 4.5rem; }
.v2-chips .chip { text-decoration: none; }
.v2-chips .chip[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.v2-note-bas { color: var(--ink-soft); }

/* Fiche d'un challenge */
.v2-video { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; margin: 1rem 0 1.4rem; border-radius: var(--radius); background: linear-gradient(135deg, #2a2e33, #4c525a); color: #fff; }
.v2-video-play { width: 3rem; height: 3rem; border-radius: 50%; background: var(--amber); color: var(--ink); display: grid; place-items: center; flex: none; }
.v2-video-txt { display: flex; flex-direction: column; gap: .15rem; }
.v2-video-txt span { opacity: .85; font-size: .9rem; }

.v2-actions { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .7rem; }
.v2-action { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .85rem 1rem; background: #fff; }
.v2-action-titre { font-weight: 700; margin: 0 0 .5rem; }
.v2-action-chiffres { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: .6rem; margin: 0; }
.v2-action-chiffres dt { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--grey); }
.v2-action-chiffres dd { margin: 0; font-size: .94rem; }
.v2-action-cobenef { margin: .5rem 0 0; font-size: .9rem; color: var(--th-environnement-ink); }

.v2-fiche-box { border: 2px solid var(--amber); border-radius: var(--radius); padding: 1.1rem 1.3rem; background: var(--amber-soft); margin: 1.4rem 0; }
.v2-fiche-box h2 { margin-top: 0; display: flex; gap: .5rem; align-items: center; }
.v2-fiche-points { padding-left: 1.3rem; line-height: 1.55; }
.v2-fiche-points li { margin-bottom: .3rem; }
.v2-boutons { display: flex; flex-wrap: wrap; gap: .6rem; }

.v2-rex-grid { display: grid; gap: 1rem; margin-bottom: 1.2rem; }
.v2-rex { border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: var(--radius-sm); padding: 1rem 1.1rem; background: #fff; }
.v2-rex h3 { margin: .2rem 0 .4rem; font-size: 1.05rem; }
.v2-rex-structure { margin: 0; font-size: .86rem; color: var(--grey); font-weight: 600; }
.v2-rex-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.v2-rex-cols ul { margin: .2rem 0 0; padding-left: 1.1rem; }
.v2-rex-label { margin: .4rem 0 0; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-soft); }
.v2-rex-pied { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin: .7rem 0 0; font-size: .9rem; color: var(--ink-soft); }
.v2-aside .aside-card h2 { display: flex; gap: .4rem; align-items: center; }
.v2-liste-fins { list-style: none; padding: 0; margin: 0; }
.v2-liste-fins li { padding: .45rem 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }

.v2-demo { font-size: .85rem; color: var(--grey); display: flex; gap: .35rem; align-items: center; margin-top: 1.5rem; }

/* Fiche imprimable */
.v2-fiche-page { max-width: 46rem; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 2.2rem; box-shadow: var(--shadow-sm); }
.v2-fiche-tete { display: flex; gap: 1.2rem; align-items: center; border-bottom: 3px solid var(--amber); padding-bottom: 1rem; margin-bottom: 1rem; }
.v2-fiche-tete h1 { margin: .1rem 0; font-size: 1.6rem; }
.v2-fiche-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.v2-fiche-table th, .v2-fiche-table td { text-align: left; vertical-align: top; padding: .45rem .5rem; border-bottom: 1px solid var(--line); }
.v2-fiche-table th { background: var(--bg-warm-2); }
.v2-fiche-pied { margin-top: 1rem; font-size: .85rem; color: var(--grey); }

/* Me former */
.v2-quiz { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; background: var(--bg-warm); margin: 1rem 0 2rem; }
.v2-quiz h2 { margin-top: 0; }
.v2-quiz-q { border: 0; padding: 0; margin: 0 0 .9rem; }
.v2-quiz-q legend { font-weight: 700; margin-bottom: .35rem; }
.v2-quiz-q label { display: inline-flex; gap: .35rem; align-items: center; margin-right: 1.1rem; }
.v2-quiz-reco { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line-strong); }
.v2-pc-etapes { padding-left: 1.2rem; margin: .4rem 0 .6rem; }
.v2-pc-etapes li { margin-bottom: .3rem; }

/* Financements */
.v2-fin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.v2-fin { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; background: #fff; display: flex; flex-direction: column; gap: .2rem; }
.v2-fin h3 { margin: .2rem 0; font-size: 1.04rem; }
.v2-fin p { margin: .15rem 0; }
.v2-fin-cible { box-shadow: 0 0 0 3px var(--amber); }
.v2-fin-statut { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.v2-fin-ouvert { color: var(--th-environnement-ink); }
.v2-fin-avenir { color: var(--amber-ink); }
.v2-fin-clos { color: var(--grey); }
.v2-fin-label { color: var(--th-reconnaissance-ink); }
.v2-fin-elig { margin-top: auto !important; padding-top: .4rem; }
.v2-agenda { list-style: none; padding: 0; margin: 0; }
.v2-agenda li { display: flex; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.v2-agenda li > span:last-child { display: flex; flex-direction: column; gap: .2rem; }
.v2-agenda-date { flex: none; width: 3.6rem; text-align: center; border-radius: var(--radius-sm); background: var(--amber-soft); color: var(--amber-ink); padding: .35rem 0; font-size: .78rem; line-height: 1.2; }
.v2-agenda-date strong { display: block; font-size: 1.35rem; }
.v2-lettre { margin-top: 2rem; border-radius: var(--radius); background: var(--bg-warm); border: 1px solid var(--line); padding: 1.2rem 1.4rem; }
.v2-lettre h2 { margin-top: 0; }
.v2-lettre-form { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.v2-lettre-sujets { width: 100%; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.v2-lettre-form input[type="email"] { font: inherit; padding: .55rem .8rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); min-width: 16rem; }

/* Entre pairs */
.v2-onglets { display: flex; flex-wrap: wrap; gap: .3rem; border-bottom: 2px solid var(--line); margin: 1rem 0 1.2rem; }
.v2-onglets a { padding: .6rem 1rem; text-decoration: none; color: var(--ink-soft); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.v2-onglets a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--amber); }
.v2-fil-tete { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; align-items: center; margin-bottom: 1rem; }
.v2-fil-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.v2-post { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; background: #fff; margin-bottom: .9rem; box-shadow: var(--shadow-sm); }
.v2-post-officiel { border-color: var(--amber); background: #fffdf7; }
.v2-post-head { display: flex; gap: .7rem; align-items: center; }
.v2-post-head > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.v2-avatar { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.v2-post-officiel .v2-avatar { background: var(--amber); color: var(--ink); }
.v2-post-meta { color: var(--grey); font-size: .84rem; display: inline-flex; align-items: center; gap: .25rem; }
.v2-post-texte { margin: .7rem 0 .4rem; line-height: 1.55; }
.v2-post-lien { margin: 0 0 .5rem; font-size: .9rem; display: flex; gap: .3rem; align-items: center; }
.v2-post-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; border-top: 1px solid var(--line); padding-top: .55rem; }
.v2-utile { font: inherit; font-size: .9rem; display: inline-flex; gap: .3rem; align-items: center; background: none; border: 1.5px solid var(--line-strong); border-radius: var(--radius-pill); padding: .25rem .7rem; cursor: pointer; color: var(--ink); }
.v2-utile[aria-pressed="true"] { background: var(--amber-soft); border-color: var(--amber); }
.v2-utile:focus-visible { outline: none; box-shadow: var(--focus); }
.v2-lien-action { font-size: .9rem; font-weight: 600; color: var(--amber-ink); }
.v2-tag-lt { background: var(--amber-soft); color: var(--amber-ink); font-weight: 700; }
.v2-type { font-weight: 600; }
.v2-type-rex, .v2-actu-ressource { background: var(--th-environnement-bg); color: var(--th-environnement-ink); }
.v2-type-question, .v2-actu-evenement { background: var(--th-social-bg); color: var(--th-social-ink); }
.v2-type-financement, .v2-actu-financement { background: var(--amber-soft); color: var(--amber-ink); }
.v2-type-annonce, .v2-actu-reglementation, .v2-annonce-besoin { background: var(--th-engagement-publics-bg); color: var(--th-engagement-publics-ink); }
.v2-annonce-offre, .v2-annonce-mutualisation { background: var(--th-reconnaissance-bg); color: var(--th-reconnaissance-ink); }
.v2-statut { margin: .5rem 0 0; font-size: .88rem; font-weight: 700; }
.v2-statut-attente { color: var(--amber-ink); }
.v2-statut-publie { color: var(--th-environnement-ink); }
.v2-jauge-chiffre { font-family: Poppins, system-ui, sans-serif; font-size: 1.6rem; font-weight: 700; margin: 0 0 .4rem; }
.v2-membres, .v2-annonces { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.v2-membre, .v2-annonce { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; background: #fff; }
.v2-annonce h3 { margin: .5rem 0 .3rem; font-size: 1.04rem; }
.v2-membre-dl { margin: .8rem 0; display: grid; gap: .45rem; }
.v2-membre-dl dt { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--grey); }
.v2-membre-dl dd { margin: 0; }

/* Formulaires */
.v2-etroit { max-width: 44rem; }
.v2-form { display: flex; flex-direction: column; gap: .5rem; margin: 1rem 0; }
.v2-form > label { font-weight: 700; margin-top: .4rem; }
.v2-form input[type="text"], .v2-form input[type="email"], .v2-form input[type="tel"], .v2-form select, .v2-form textarea { font: inherit; padding: .6rem .8rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; }
.v2-form input:focus, .v2-form select:focus, .v2-form textarea:focus { outline: none; box-shadow: var(--focus); }
.v2-form fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem 1rem; margin: .4rem 0; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.v2-form legend { font-weight: 700; padding: 0 .3rem; }
.v2-form fieldset label, .v2-case { display: inline-flex; gap: .4rem; align-items: center; font-weight: 400; }
.v2-form .btn { align-self: flex-start; margin-top: .6rem; }
.v2-confirmation { margin-top: 1rem; padding: .8rem 1rem; border-radius: var(--radius-sm); background: var(--th-environnement-bg); color: var(--th-environnement-ink); display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.v2-modo-actions { white-space: nowrap; }
.v2-modo-actions .btn { margin: .15rem; }

/* Responsive */
@media (max-width: 980px) {
  .v2-portes, .v2-portes-sec { grid-template-columns: repeat(2, 1fr); }
  .v2-challenge-grid, .v2-fin-grid { grid-template-columns: repeat(2, 1fr); }
  .v2-deux, .v2-fil-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .v2-portes, .v2-portes-sec, .v2-challenge-grid, .v2-fin-grid, .v2-membres, .v2-annonces, .v2-rex-cols { grid-template-columns: 1fr; }
  .v2-action-chiffres { grid-template-columns: 1fr; }
  .v2-recherche { flex-direction: column; }
  .v2-absent { flex-direction: column; align-items: flex-start; }
}

/* Impression : la fiche d'une page, sans l'habillage du site */
@media print {
  .v2-bandeau, .site-header, .site-footer, .v2-no-print, .skip-link { display: none !important; }
  .v2-fiche-print { padding: 0 !important; }
  .v2-fiche-page { border: 0; box-shadow: none; padding: 0; max-width: none; }
  body { background: #fff; }
}

/* =========================================================================
   Fil façon réseau social (préfixe fx-)
   ========================================================================= */
.fx-layout { display: grid; grid-template-columns: 200px minmax(0, 600px) minmax(0, 300px); gap: 1.6rem; justify-content: center; align-items: start; }
.fx-gauche { position: sticky; top: 1rem; display: flex; flex-direction: column; gap: .2rem; }
.fx-gauche a { display: flex; align-items: center; gap: .55rem; padding: .6rem .8rem; border-radius: 12px; color: var(--ink-soft); font-weight: 600; text-decoration: none; }
.fx-gauche a:hover { background: var(--bg-warm); color: var(--ink); }
.fx-gauche a[aria-current="true"] { background: var(--ink); color: #fff; }
.fx-droite { position: sticky; top: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.fx-bloc { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1rem 1.1rem; }
.fx-bloc h2 { font-size: 1rem; margin: 0 0 .7rem; }
.fx-bloc-discret { background: var(--bg-warm); font-size: .88rem; color: var(--ink-soft); }
.fx-bloc-discret p { margin: 0; }

/* Avatars */
.fx-avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .9rem; letter-spacing: .02em; background: var(--ink); }
.fx-avatar-lt { background: linear-gradient(135deg, var(--amber), #ffd36b); color: var(--ink); }
.fx-avatar-sm { width: 32px; height: 32px; font-size: .72rem; }
.fx-avatar-story { width: 58px; height: 58px; font-size: 1rem; border: 3px solid #fff; }
.fx-certif { color: var(--amber-ink); vertical-align: -0.15em; }

/* Stories */
.fx-stories { display: flex; gap: .9rem; overflow-x: auto; padding: .3rem .1rem .8rem; margin-bottom: .6rem; scrollbar-width: none; scroll-snap-type: x proximity; }
.fx-stories::-webkit-scrollbar { display: none; }
.fx-story { flex: none; display: flex; flex-direction: column; align-items: center; gap: .35rem; width: 74px; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--ink); text-decoration: none; scroll-snap-align: start; }
.fx-story-cercle { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(from 210deg, #f9b627, #e8590c, #c2255c, #7048e8, #f9b627); transition: transform .15s; }
.fx-story:hover .fx-story-cercle { transform: scale(1.05); }
.fx-story:focus-visible { outline: none; }
.fx-story:focus-visible .fx-story-cercle { box-shadow: var(--focus); }
.fx-story-vue .fx-story-cercle { background: var(--line-strong); }
.fx-story-ajout .fx-story-cercle { background: var(--bg-warm-2); border: 2px dashed var(--line-strong); }
.fx-story-plus { font-size: 1.8rem; font-weight: 300; color: var(--ink-soft); line-height: 1; }
.fx-story-nom { font-size: .76rem; font-weight: 600; max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Zone de publication */
.fx-composer { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--grey); margin-bottom: 1rem; }
.fx-composer:hover .fx-composer-champ { background: var(--bg-warm-2); }
.fx-composer-champ { flex: 1; background: var(--bg-warm); border-radius: var(--radius-pill); padding: .65rem 1rem; transition: background .12s; }
.fx-composer-icones { display: flex; gap: .5rem; color: var(--amber-ink); }

/* Publication */
.fx-post { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); margin-bottom: 1rem; overflow: hidden; }
.fx-post-lt { border-color: #f3d48a; }
.fx-bandeau-attente { margin: 0; padding: .5rem 1rem; background: var(--amber-soft); color: var(--amber-ink); font-size: .86rem; font-weight: 600; display: flex; gap: .4rem; align-items: center; }
.fx-head { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem .4rem; }
.fx-qui { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fx-nom { font-weight: 700; line-height: 1.25; }
.fx-sous { color: var(--grey); font-size: .82rem; }
.fx-type { flex: none; font-size: .72rem; font-weight: 700; padding: .2rem .55rem; border-radius: var(--radius-pill); background: var(--bg-warm-2); color: var(--ink-soft); }
.fx-type-rex { background: var(--th-environnement-bg); color: var(--th-environnement-ink); }
.fx-type-question { background: var(--th-social-bg); color: var(--th-social-ink); }
.fx-type-financement { background: var(--amber-soft); color: var(--amber-ink); }
.fx-type-evenement { background: var(--th-reconnaissance-bg); color: var(--th-reconnaissance-ink); }
.fx-type-annonce { background: var(--th-engagement-publics-bg); color: var(--th-engagement-publics-ink); }
.fx-corps { padding: 0 1rem; }
.fx-corps p { margin: .3rem 0 .5rem; line-height: 1.55; }
.fx-tags { display: flex; flex-wrap: wrap; gap: .1rem .6rem; }
.fx-tags a { color: #1f5478; font-weight: 600; text-decoration: none; }
.fx-tags a:hover { text-decoration: underline; }

/* Visuels */
.fx-media { margin: .4rem 0 0; }
.fx-chiffre { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: .3rem; min-height: 190px; padding: 1.6rem 1.2rem; color: #fff; }
.fx-chiffre-val { font-family: Poppins, system-ui, sans-serif; font-weight: 700; font-size: clamp(2.6rem, 8vw, 3.8rem); line-height: 1; letter-spacing: -.02em; }
.fx-chiffre-leg { font-size: 1rem; max-width: 26rem; opacity: .95; }
.fx-ton-ambre { background: linear-gradient(135deg, #f9b627 0%, #f08c00 100%); color: var(--ink); }
.fx-ton-vert { background: linear-gradient(135deg, #2f9e44 0%, #1b5e2a 100%); }
.fx-ton-bleu { background: linear-gradient(135deg, #1c7ed6 0%, #1f3f78 100%); }
.fx-ton-violet { background: linear-gradient(135deg, #7048e8 0%, #4a2a8a 100%); }
.fx-aa { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; background: var(--bg-warm); }
.fx-aa > div:not(.fx-aa-fleche) { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.4rem .8rem; gap: .2rem; }
.fx-aa span { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.fx-aa strong { font-family: Poppins, system-ui, sans-serif; font-size: clamp(1.6rem, 5vw, 2.3rem); }
.fx-aa-avant { background: #fbe6df; color: #9a3b1e; }
.fx-aa-apres { background: #e4f1e4; color: #245c2a; }
.fx-aa-fleche { display: grid; place-items: center; padding: 0 .5rem; color: var(--ink-soft); background: #fff; }
.fx-aa-leg { grid-column: 1 / -1; margin: 0; padding: .55rem 1rem; font-size: .88rem; color: var(--ink-soft); background: #fff; border-top: 1px solid var(--line); }
.fx-evt { display: flex; align-items: center; gap: 1rem; padding: 1rem; margin: .5rem 1rem 0; border-radius: 14px; background: linear-gradient(135deg, #ece3f3, #e2eef7); }
.fx-evt-date { flex: none; width: 64px; height: 64px; border-radius: 14px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: .8rem; color: #5a3382; font-weight: 600; box-shadow: var(--shadow-sm); }
.fx-evt-date strong { font-size: 1.5rem; line-height: 1; }
.fx-evt-txt { flex: 1; display: flex; flex-direction: column; gap: .15rem; font-size: .9rem; }
.fx-evt-txt strong { font-size: 1rem; }

.fx-challenge { display: flex; align-items: center; gap: .6rem; margin: .7rem 1rem 0; padding: .6rem .8rem; border-radius: 12px; background: var(--bg-warm); color: var(--ink); text-decoration: none; }
.fx-challenge:hover { background: var(--bg-warm-2); }
.fx-challenge > span { flex: 1; display: flex; flex-direction: column; font-size: .9rem; }
.fx-challenge > span > span { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--grey); }
.fx-chevron { width: .8rem; height: .8rem; color: var(--grey); }

/* Réactions et actions */
.fx-stats { display: flex; justify-content: space-between; align-items: center; padding: .7rem 1rem .5rem; font-size: .86rem; color: var(--grey); }
.fx-coeur { color: #e03131; fill: #e03131; }
.fx-lien { background: none; border: 0; padding: 0; font: inherit; color: var(--grey); cursor: pointer; }
.fx-lien:hover { text-decoration: underline; color: var(--ink); }
.fx-actions { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 .6rem; }
.fx-actions button { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; background: none; border: 0; border-radius: 10px; margin: .2rem 0; font: inherit; font-size: .88rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: background .12s, color .12s; }
.fx-actions button:hover { background: var(--bg-warm); color: var(--ink); }
.fx-actions button:focus-visible { outline: none; box-shadow: var(--focus); }
.fx-actions [data-utile][aria-pressed="true"] { color: #e03131; }
.fx-actions [data-utile][aria-pressed="true"] .ic { fill: #e03131; }
.fx-actions [data-garder][aria-pressed="true"] { color: var(--amber-ink); }
.fx-actions [data-garder][aria-pressed="true"] .ic { fill: var(--amber); }
.fx-pulse .ic { animation: fx-pulse .35s ease; }
@keyframes fx-pulse { 50% { transform: scale(1.35); } }

/* Commentaires */
.fx-coms { padding: .5rem 1rem .9rem; }
.fx-plus { margin: .2rem 0 .4rem; font-weight: 600; }
.fx-com-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.fx-com { display: flex; gap: .5rem; align-items: flex-start; }
.fx-com-bulle { background: var(--bg-warm); border-radius: 16px; padding: .5rem .8rem; display: flex; flex-direction: column; gap: .1rem; font-size: .9rem; max-width: 100%; }
.fx-com-bulle strong { font-size: .84rem; }
.fx-com-date { font-size: .74rem; color: var(--grey); }
.fx-com-attente { font-size: .74rem; color: var(--amber-ink); }
.fx-com-form { display: flex; align-items: center; gap: .5rem; margin-top: .6rem; }
.fx-com-form input { flex: 1; min-width: 0; min-height: 40px; font: inherit; font-size: .92rem; padding: .5rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--bg-warm); }
.fx-com-form input:focus { outline: none; box-shadow: var(--focus); background: #fff; }
.fx-envoyer { min-height: 40px; border: 0; background: none; color: #1f5478; font: inherit; font-weight: 700; cursor: pointer; padding: 0 .4rem; }

.fx-fin { text-align: center; color: var(--grey); font-size: .9rem; display: flex; gap: .4rem; justify-content: center; align-items: center; margin: 1.4rem 0; }

/* Colonne de droite */
.fx-suggestions { list-style: none; margin: 0 0 .6rem; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.fx-suggestions li { display: flex; align-items: center; gap: .6rem; }
.fx-suggestions li > span { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: .86rem; }
.fx-suggestions li > span > span { color: var(--grey); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-suivre { flex: none; min-height: 32px; padding: .25rem .8rem; border-radius: var(--radius-pill); border: 0; background: var(--ink); color: #fff; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.fx-suivre[aria-pressed="true"] { background: var(--bg-warm-2); color: var(--ink); }
.fx-tendances { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; }
.fx-tendances a { display: inline-flex; gap: .35rem; align-items: center; padding: .3rem .7rem; border-radius: var(--radius-pill); background: var(--bg-warm); color: #1f5478; font-weight: 600; font-size: .86rem; text-decoration: none; }
.fx-tendances a span { color: var(--grey); font-weight: 400; font-size: .76rem; }

/* Notification éphémère */
.fx-toast { position: fixed; left: 50%; bottom: calc(1.2rem + env(safe-area-inset-bottom)); transform: translate(-50%, 150%); background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 12px; font-size: .92rem; box-shadow: var(--shadow); z-index: 60; transition: transform .25s ease; max-width: calc(100vw - 2rem); }
.fx-toast.on { transform: translate(-50%, 0); }

/* Visionneuse de stories */
.fx-viewer { position: fixed; inset: 0; z-index: 70; background: rgba(15, 17, 20, .88); display: grid; place-items: center; padding: 1rem; }
.fx-viewer-carte { position: relative; width: min(420px, 100%); aspect-ratio: 9 / 16; max-height: calc(100vh - 2rem); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.fx-barres { display: flex; gap: 4px; padding: .8rem .8rem 0; position: relative; z-index: 2; }
.fx-barre { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.4); overflow: hidden; }
.fx-barre > span { display: block; height: 100%; width: 0; background: #fff; }
.fx-barre .fx-barre-pleine { width: 100%; }
.fx-barre .fx-barre-active { width: 100%; animation: fx-avance 5s linear; }
@keyframes fx-avance { from { width: 0; } to { width: 100%; } }
.fx-ton-ambre .fx-barre { background: rgba(42,46,51,.25); }
.fx-ton-ambre .fx-barre > span { background: var(--ink); }
.fx-viewer-tete { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; position: relative; z-index: 3; }
.fx-viewer-tete strong { flex: 1; font-size: .92rem; }
.fx-viewer-fermer { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.2); color: inherit; display: grid; place-items: center; cursor: pointer; }
.fx-viewer-fermer:focus-visible { outline: none; box-shadow: 0 0 0 3px #fff; }
.fx-viewer-corps { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 1rem; padding: 1.5rem; position: relative; z-index: 3; pointer-events: none; }
.fx-viewer-corps a { pointer-events: auto; }
.fx-viewer-chiffre { font-family: Poppins, system-ui, sans-serif; font-weight: 700; font-size: clamp(2.6rem, 12vw, 4.2rem); line-height: 1.05; }
.fx-viewer-corps p { font-size: 1.2rem; line-height: 1.4; margin: 0; max-width: 18rem; }
.fx-zone { position: absolute; top: 4rem; bottom: 0; width: 40%; background: none; border: 0; cursor: pointer; z-index: 2; }
.fx-zone-prec { left: 0; }
.fx-zone-suiv { right: 0; }
@media (prefers-reduced-motion: reduce) { .fx-barre .fx-barre-active { animation: none; } .fx-toast { transition: none; } }

/* =========================================================================
   Barre d'onglets mobile (façon application)
   ========================================================================= */
.v2-tabbar { display: none; }

@media (max-width: 1100px) {
  .fx-layout { grid-template-columns: minmax(0, 600px) minmax(0, 280px); }
  .fx-gauche { position: static; grid-column: 1 / -1; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .fx-gauche a { flex: none; }
}

@media (max-width: 760px) {
  /* Navigation : barre d'onglets en bas, plus de menu hamburger */
  .v2-tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-top: 1px solid var(--line); padding: .3rem .2rem calc(.3rem + env(safe-area-inset-bottom));
  }
  .v2-tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 52px; border-radius: 12px; color: var(--grey); text-decoration: none; font-size: .68rem; font-weight: 600; }
  .v2-tabbar a .ic { width: 1.45rem; height: 1.45rem; }
  .v2-tabbar a[aria-current="page"] { color: var(--ink); }
  .v2-tabbar a[aria-current="page"] .ic { color: var(--amber-ink); }
  .v2-tabbar a[aria-current="page"]::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--amber-ink); }
  .v2-tabbar a:focus-visible { outline: none; box-shadow: var(--focus); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .main-nav { display: none; }
  .site-header .header-inner { min-height: 0; padding-top: .45rem; padding-bottom: .45rem; }
  .brand-logo { width: 64px; height: auto; }
  .v2-bandeau { font-size: .78rem; }
  .v2-bandeau-long { display: none; }

  /* Rythme général */
  .section { padding: 1.4rem 0; }
  .section-head { margin-bottom: .9rem; }
  h1 { font-size: 1.65rem; line-height: 1.2; }
  .lead { font-size: 1rem; }
  .breadcrumb { display: none; }

  /* Accueil */
  .v2-hero .hero-inner { padding-top: 1.4rem; padding-bottom: 1.4rem; }
  .v2-hero h1 { font-size: 1.75rem; }
  .v2-recherche { flex-direction: row; }
  .v2-recherche input { font-size: 1rem; padding: .75rem .85rem; }
  .v2-recherche .btn { padding-left: .9rem; padding-right: .9rem; }
  .v2-saison { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
  .v2-saison-label { grid-column: 1 / -1; font-size: .9rem; }
  .v2-saison button { justify-content: center; min-height: 44px; padding: .4rem .5rem; font-size: .92rem; }
  .v2-portes { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .v2-porte { padding: .9rem; gap: .3rem; }
  .v2-porte-titre { font-size: 1rem; }
  .v2-porte-desc { font-size: .84rem; line-height: 1.35; }
  .v2-porte-ico { width: 2.2rem; height: 2.2rem; }

  /* Listes de challenges : cartes en liste serrée */
  .v2-challenge-grid { grid-template-columns: 1fr; gap: .6rem; }
  .v2-challenge-card { padding: .85rem; }
  .v2-challenge-card:hover { transform: none; }

  /* Filtres : une ligne qui défile au doigt */
  .v2-filtres { gap: .4rem; margin-left: calc(-1 * clamp(1.25rem, 4vw, 2rem)); margin-right: calc(-1 * clamp(1.25rem, 4vw, 2rem)); }
  .v2-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: .1rem clamp(1.25rem, 4vw, 2rem); scroll-snap-type: x proximity; }
  .v2-chips::-webkit-scrollbar { display: none; }
  .v2-chips-label { flex: none; min-width: 0; color: var(--grey); font-size: .8rem; }
  .v2-chips .chip { flex: none; min-height: 40px; display: inline-flex; align-items: center; scroll-snap-align: start; }
  .v2-onglets { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .v2-onglets a { flex: none; padding: .7rem .8rem; }

  /* Page d'un challenge */
  .v2-video { margin: .6rem 0 1rem; }
  .v2-action-chiffres { grid-template-columns: 1fr 1fr; }
  .v2-action-chiffres > div:nth-child(2) { grid-column: 1 / -1; order: 3; }
  .v2-fiche-box { padding: .9rem 1rem; }
  .v2-boutons .btn { flex: 1; justify-content: center; min-height: 44px; }
  .v2-rex-cols { grid-template-columns: 1fr; gap: .2rem; }
  .v2-aside { display: grid; gap: .8rem; }

  /* Fiche imprimable lue à l'écran */
  .v2-fiche-page { padding: 1.2rem 1rem; border-radius: 14px; }
  .v2-fiche-tete { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .v2-fiche-table thead { display: none; }
  .v2-fiche-table tr { display: block; padding: .5rem 0; border-bottom: 1px solid var(--line); }
  .v2-fiche-table td { display: block; border: 0; padding: .1rem 0; }
  .v2-fiche-table td:first-child { font-weight: 700; }

  /* Financements, agenda, annuaire */
  .v2-fin-grid, .v2-membres, .v2-annonces { grid-template-columns: 1fr; gap: .7rem; }
  .v2-lettre-form input[type="email"] { min-width: 0; flex: 1; }
  .v2-quiz { padding: 1rem; }
  .v2-quiz-q label { min-height: 40px; }

  /* Formulaires : champs confortables au pouce, pas de zoom iOS */
  .v2-form input, .v2-form select, .v2-form textarea, .fx-com-form input { font-size: 16px; }
  .v2-form fieldset label { min-height: 40px; }
  .v2-form .btn { align-self: stretch; justify-content: center; min-height: 48px; }

  /* Fil : pleine largeur, comme une application */
  .fx-layout { grid-template-columns: 1fr; gap: .6rem; }
  .fx-droite { display: none; }
  .fx-gauche { margin: 0 calc(-1 * clamp(1.25rem, 4vw, 2rem)); padding: 0 clamp(1.25rem, 4vw, 2rem) .3rem; gap: .4rem; }
  .fx-gauche a { padding: .5rem .85rem; min-height: 40px; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: .88rem; }
  .fx-gauche a[aria-current="true"] { border-color: var(--ink); }
  .fx-centre { margin: 0 calc(-1 * clamp(1.25rem, 4vw, 2rem)); }
  .fx-stories { padding-left: clamp(1.25rem, 4vw, 2rem); padding-right: clamp(1.25rem, 4vw, 2rem); }
  .fx-composer { border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; margin-bottom: .5rem; }
  .fx-composer-icones { display: none; }
  .fx-post { border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; margin-bottom: .5rem; }
  .fx-actions { margin: 0; }
  .fx-actions button { font-size: .78rem; flex-direction: column; gap: .1rem; min-height: 50px; }
  .fx-chiffre { min-height: 160px; }
  .fx-evt { flex-wrap: wrap; }
  .fx-evt .btn { width: 100%; justify-content: center; }
  .fx-fin, .v2-demo { padding: 0 clamp(1.25rem, 4vw, 2rem); }
  .v2-deux .fx-post { border-radius: 14px; border: 1px solid var(--line); }
  .fx-toast { bottom: calc(76px + env(safe-area-inset-bottom)); }

  /* Visionneuse : plein écran */
  .fx-viewer { padding: 0; background: #000; }
  .fx-viewer-carte { width: 100%; height: 100%; max-height: none; aspect-ratio: auto; border-radius: 0; padding-top: env(safe-area-inset-top); }

  /* Pied de page allégé */
  .footer-grid { gap: 1.2rem; }
  .footer-col.footer-news, .parcours-etapes-footer { display: none; }
}

/* Héros de l'accueil : texte et illustration côte à côte */
.v2-insecable { white-space: nowrap; }
.v2-hero-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 340px); gap: 2.5rem; align-items: center; }
.v2-hero .hero-inner h1 { max-width: none; }
.v2-hero-visuel { margin: 0; justify-self: end; width: 100%; max-width: 340px; }
.v2-hero-visuel svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 28px rgba(122, 82, 0, .18)); }
@media (max-width: 900px) {
  .v2-hero-grille { grid-template-columns: 1fr; }
  .v2-hero-visuel { display: none; }
}
/* Mobile : un contenu ramené à l'écran ne doit pas finir sous la barre d'onglets */
@media (max-width: 760px) { html { scroll-padding-bottom: 84px; } }
/* Les colonnes du fil ne s'élargissent jamais à leur contenu : les rangées défilent */
.fx-layout > * { min-width: 0; }
/* Visionneuse au-dessus de tout, texte clair sur les fonds foncés */
.fx-viewer { z-index: 1000; }
.fx-viewer-carte { color: #fff; }
.fx-viewer-carte.fx-ton-ambre { color: var(--ink); }
.fx-viewer-carte .fx-viewer-fermer { color: inherit; }
/* Pas de surlignage bleu au toucher ; le focus clavier reste visible */
.fx-actions button, .fx-story, .v2-tabbar a, .fx-suivre, .v2-saison button { -webkit-tap-highlight-color: transparent; }
.fx-actions button:focus:not(:focus-visible) { box-shadow: none; outline: none; }

/* =========================================================================
   Lisibilité des cartes : filet marqué, ombre perceptible, fond teinté du fil
   ========================================================================= */
:root {
  --v2-carte-bord: #d6cdbb;
  --v2-carte-ombre: 0 1px 2px rgba(42, 46, 51, .10), 0 6px 18px rgba(42, 46, 51, .09);
  --v2-fond-fil: #f1ede4;
}
.v2-challenge-card, .v2-porte, .v2-fin, .v2-membre, .v2-annonce, .v2-rex, .v2-action, .v2-absent,
.fx-post, .fx-bloc, .fx-composer {
  border-color: var(--v2-carte-bord);
  box-shadow: var(--v2-carte-ombre);
}
.v2-rex { border-left-color: var(--amber); }
.fx-post-lt { border-color: #e9c46a; }
.fx-fond { background: var(--v2-fond-fil); }
.fx-fond .fx-bloc-discret { background: #fff; }
.fx-fond .fx-gauche a[aria-current="true"] { background: var(--ink); }
.fx-fond .fx-gauche a:hover { background: #fff; }
/* À l'intérieur d'une carte, les blocs secondaires restent sur fond chaud */
.fx-post .fx-challenge, .fx-post .fx-com-bulle { background: var(--bg-warm); }
.section-warm .v2-challenge-card { border-color: var(--v2-carte-bord); }

@media (max-width: 760px) {
  /* Fil mobile : publications pleine largeur séparées par une bande teintée */
  .fx-fond .fx-post { border-top: 1px solid var(--v2-carte-bord); border-bottom: 1px solid var(--v2-carte-bord); box-shadow: none; margin-bottom: .6rem; }
  .fx-fond .fx-composer { box-shadow: none; border-bottom: 1px solid var(--v2-carte-bord); }
  .fx-fond .fx-gauche a { background: #fff; }
  .fx-fond .fx-gauche a[aria-current="true"] { background: var(--ink); }
}

/* Avatars photo, logo et icône */
.fx-avatar { overflow: hidden; }
.fx-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-avatar-photo { background: var(--bg-warm-2); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.fx-avatar-lt { background: #fff; box-shadow: inset 0 0 0 1px var(--v2-carte-bord); }
.fx-avatar-lt img { object-fit: contain; padding: 14%; }
.fx-avatar-icone { background: linear-gradient(135deg, #e2eef7, #c7e3f6); color: #1f5478; }
.fx-avatar-icone .ic { width: 50%; height: 50%; }
.fx-avatar-md { width: 44px; height: 44px; }
.fx-story-cercle .fx-avatar { width: 60px; height: 60px; }
/* Suggestions : la pastille garde sa taille, seul le texte prend la place */
.fx-suggestions li > span.fx-avatar { flex: none; }
.fx-suggestions .fx-sugg-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: .86rem; line-height: 1.3; }
.fx-suggestions .fx-sugg-txt > span { color: var(--grey); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-membre .v2-post-head .fx-avatar { width: 52px; height: 52px; }

/* =========================================================================
   Lisibilité des publications : tailles et contrastes renforcés
   ========================================================================= */
.fx-nom { font-size: 1.04rem; }
.fx-sous { font-size: .88rem; color: var(--ink-soft); }
.fx-type { font-size: .78rem; padding: .25rem .65rem; }
.fx-corps p { font-size: 1.04rem; line-height: 1.6; color: var(--ink); }
.fx-tags a { font-size: .98rem; color: #17466a; }

.fx-challenge { padding: .75rem .9rem; gap: .75rem; }
.fx-challenge .ic { width: 1.25rem; height: 1.25rem; color: var(--ink); }
.fx-challenge > span > span { font-size: .76rem; color: var(--ink-soft); }
.fx-challenge strong { font-size: .98rem; }
.fx-chevron { width: 1rem !important; height: 1rem !important; color: var(--ink-soft) !important; }

.fx-stats { font-size: .92rem; color: var(--ink-soft); }
.fx-stats .fx-coeur { width: 1.1rem; height: 1.1rem; vertical-align: -0.2em; }
.fx-stats [data-nb-utile] { font-weight: 700; color: var(--ink); }
.fx-lien { color: var(--ink-soft); font-size: .92rem; }

.fx-actions button { font-size: .95rem; color: var(--ink); gap: .5rem; }
.fx-actions button .ic { width: 1.3rem; height: 1.3rem; stroke-width: 2; }

.fx-com-bulle { font-size: .97rem; line-height: 1.5; padding: .6rem .9rem; }
.fx-com-bulle strong { font-size: .92rem; }
.fx-com-date { font-size: .8rem; color: var(--ink-soft); }
.fx-com-attente { font-size: .8rem; }
.fx-com-form input { font-size: 1rem; }
.fx-com-form input::placeholder { color: var(--ink-soft); }
.fx-envoyer { font-size: 1rem; }

@media (max-width: 760px) {
  .fx-actions button { font-size: .82rem; }
  .fx-actions button .ic { width: 1.4rem; height: 1.4rem; }
}
