/* Club LCF · feuille de style commune */
:root {
  --blue: #1748C8;
  --blue-dark: #0B2E8A;
  --blue-soft: #EAF0FD;
  --navy: #0E2344;
  --text-2: #3D4C63;
  --bg: #F4F7FC;
  --white: #FFFFFF;
  --border: #E3E9F2;
  --border-2: #D5DEEB;
  --gold: #D38B12;
  --ok: #2A7533;
  --ok-bg: #E8F4E3;
  --err: #B42318;
  --err-bg: #FEECEB;
  --radius: 12px;
  --gutter: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--white); color: var(--navy);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* Bandeau bêta */
.beta { background: var(--navy); color: #fff; font-size: 13px; text-align: center; padding: 6px var(--gutter); }

/* En-tête */
.top { border-bottom: 1px solid var(--border); background: var(--white); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand .brand-name { font-size: 22px; letter-spacing: -0.02em; margin-right: 2px; }
.brand .brand-name b { color: var(--blue); font-weight: 800; }
.brand .sep { width: 1px; height: 22px; background: var(--border-2); }
/* « Le Club LCF » : le nom officiel ; sur petit écran, forme courte « Club LCF » quand une rubrique suit le nom. */
.brand .brand-name .brand-le { font: inherit; color: inherit; }
@media (max-width: 719px) { .brand:has(.sep) .brand-le { display: none; } }
.brand span { font-weight: 800; font-size: 17px; color: var(--navy); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--navy); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.nav a:hover { color: var(--blue); }
@media (min-width: 720px) { .brand img { height: 34px; } .brand .brand-name { font-size: 24px; } }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px;
  border-radius: 11px; font-weight: 800; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; }
/* Action principale : orange du design system LCF #D4891A, texte bleu nuit (contraste 5,5:1, AA). */
.btn-primary { background: #D4891A; border-color: #D4891A; color: var(--navy); }
.btn-primary:hover { background: #E0961F; border-color: #E0961F; color: var(--navy); }
.btn[disabled], .btn:disabled { background: #E3E9F2; border-color: #E3E9F2; color: #6B7A90; box-shadow: none; cursor: not-allowed; }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-ghost:hover { background: var(--blue-soft); color: var(--navy); }

/* Accueil */
.hero { background: var(--bg); }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 56px; padding-top: 28px; padding-bottom: 36px; }
.hero-text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.hero h1 { font-size: clamp(28px, 5vw, 48px); }
.hero p.lead { font-size: clamp(15px, 1.6vw, 18px); color: var(--text-2); max-width: 560px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero .reassure { font-size: 14px; font-weight: 600; color: var(--text-2); }
.hero-img { flex: 1 1 420px; min-width: 0; max-width: 520px; order: -1; }
.hero-img img { width: 100%; height: 200px; object-fit: cover; object-position: 80% 50%; border-radius: 8px; }
@media (min-width: 900px) {
  .hero .wrap { padding-top: 56px; padding-bottom: 56px; }
  .hero-img { order: 0; }
  .hero-img img { height: 340px; object-position: 85% 50%; }
}
@media (max-width: 899px) { .hero .ctas .btn { flex: 1 1 220px; } }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; padding-top: 40px; padding-bottom: 56px; }
.card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; background: #fff; }
.card:hover { border-color: var(--border-2); box-shadow: 0 6px 18px rgba(11, 37, 69, 0.06); }
.card img { width: 100%; height: 180px; object-fit: cover; }
.card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.card h2 { font-size: 22px; color: var(--navy); }
.card p { color: var(--text-2); }
.card .more { margin-top: 4px; font-weight: 800; color: var(--blue); }

/* Pages simples */
.page { flex: 1; background: var(--bg); }
.page .wrap { max-width: 760px; padding-top: 40px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 18px; }
.page h1 { font-size: clamp(26px, 4vw, 38px); }
.page p { color: var(--text-2); font-size: 17px; }
.banner { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; }
.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }

/* Statut */
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; background: #fff; font-size: 15px; }
.pill { font-weight: 800; font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.err { background: var(--err-bg); color: var(--err); }

/* Pied de page */
.foot { border-top: 1px solid var(--border); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 24px; padding-top: 26px; padding-bottom: 20px; }
.foot-about { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 4px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); } .foot-about { grid-column: auto; } }
.foot-brand { font-weight: 800; font-size: 16px; color: var(--navy); text-decoration: none; }
.foot-about span { color: var(--text-2); max-width: 34ch; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.foot-col a { font-weight: 600; text-decoration: none; padding: 2px 0; }
.foot-col a:hover, .foot-legal a:hover { text-decoration: underline; }
.foot-h { margin: 0 0 2px; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-2); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 12px; padding-bottom: 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-2); }
.foot-legal a { color: var(--text-2); text-decoration: none; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Questions fréquentes */
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-nav a { min-height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-2);
  background: #fff; font-size: 14px; font-weight: 700; color: var(--navy); text-decoration: none; }
.faq-nav a:hover { border-color: var(--blue); color: var(--blue); }
.faq-section { display: flex; flex-direction: column; gap: 8px; scroll-margin-top: 16px; }
.faq-section h2 { font-size: 22px; color: var(--navy); margin-top: 10px; }
.faq-section details { background: #fff; border: 1px solid var(--border); border-radius: 10px; }
.faq-section summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 700; color: var(--navy); list-style: none; position: relative; }
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--blue); }
.faq-section details[open] summary::after { content: "–"; }
.faq-section summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 10px; }
.faq-answer { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.faq-answer p { font-size: 15px; }

/* Accueil : « En ce moment dans le Club » (défi du jour et derniers certifiés, en direct) */
.live { padding-top: 36px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 16px; }
.live-title { font-size: clamp(22px, 3vw, 28px); color: var(--navy); }
.live-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 860px) { .live-grid { grid-template-columns: 1fr 1fr; } }
.live-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.live-card[hidden] { display: none; } /* sinon une carte vide (sondage absent) reste affichée */
.live-defi { border-top: 5px solid var(--blue); }
.live-hof { border-top: 5px solid var(--gold); }
.live-card h3 { font-size: 21px; color: var(--navy); line-height: 1.25; }
.live-card p { color: var(--text-2); font-size: 15px; }
.live-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.live-tag { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue-dark);
  background: var(--blue-soft); padding: 4px 10px; border-radius: 999px; }
.live-tag.gold { color: #7A4B00; background: #FFF4DE; }
.live-tag.soft { text-transform: none; letter-spacing: 0; font-weight: 700; color: var(--text-2); background: var(--bg); }
.live-scenario { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.live-question { font-weight: 800; color: var(--navy) !important; font-size: 16px !important; border-left: 4px solid var(--blue); padding-left: 10px; }
.live-foot { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.live-foot small { font-size: 13px; font-weight: 600; color: var(--text-2); }
.live-people { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.live-people a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); padding: 8px; margin: -8px; border-radius: 10px; }
.live-people a:hover { background: var(--bg); }
.live-people div > strong { display: block; font-size: 15px; }
.live-people div > span { display: block; font-size: 13px; color: var(--text-2); }
.live-avatar { width: 46px; height: 46px; flex: none; border-radius: 999px; object-fit: cover; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; background: var(--blue); color: #fff; }
.live-avatar.c1 { background: var(--navy); }
.live-avatar.c2 { background: var(--blue-soft); color: var(--navy); }
.live-avatar.c3 { background: var(--gold); color: var(--navy); }
.live-count { font-weight: 800; color: var(--navy); }
.live-defis { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.live-defis a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--border); border-left: 4px solid var(--blue);
  border-radius: 8px; text-decoration: none; color: var(--navy); min-height: 44px; }
.live-defis a:hover, .live-defis a:focus-visible { background: var(--bg); border-color: var(--blue); }
.live-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.live-go { flex: none; font-size: 18px; font-weight: 800; color: var(--blue); transition: transform .15s ease; }
.live-defis a:hover .live-go, .live-defis a:focus-visible .live-go { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .live-go { transition: none; } }
.live-sub { margin: -2px 0 2px; }
/* Hall of Fame de l'accueil : encart « Ajouter ma certification » toujours visible, lien vers tout le mur. */
.live-share { margin-top: 4px; background: #FFF8EA; border: 1px solid #F2D9A6; border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.live-share p { margin: 0; color: var(--navy) !important; font-size: 14px !important; font-weight: 600; }
.live-share .btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
.live-more { font-weight: 800; font-size: 15px; text-decoration: none; align-self: flex-start; padding: 4px 0; }
.live-more:hover { text-decoration: underline; }
@media (max-width: 480px) { .live-share .btn { width: 100%; } }
.live-defis strong { font-size: 15px; line-height: 1.3; }
.live-domain { font-size: 12px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; color: var(--blue-dark); }
.live-theme { font-size: 13px; color: var(--text-2); }

/* Bandeau d'annonce (back-office › Annonces) */
.annonce { border-bottom: 1px solid var(--line, #E3E8F2); font-size: 14px; }
.annonce.info { background: #EAF0FD; color: #0B2545; }
.annonce.promo { background: #FFF3DC; color: #5C3B00; }
.annonce.nouveau { background: #E6F4EA; color: #14432A; }
.annonce-inner { max-width: 1160px; margin: 0 auto; padding: 10px var(--gutter, 16px); display: flex; align-items: center; gap: 12px; }
.annonce-inner p { margin: 0; flex: 1; line-height: 1.4; font-weight: 600; }
.annonce-inner a { color: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.annonce-close { background: none; border: 0; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; padding: 2px 6px; border-radius: 6px; }
.annonce-close:hover, .annonce-close:focus-visible { background: rgba(0, 0, 0, .08); }

/* Passerelle vers le diagnostic d'orientation (diagnostic.lecloudfacile.com), sous « En ce moment dans le Club ». */
.diag-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; background: var(--blue-soft);
  border-radius: var(--radius); padding: 16px 20px; }
.diag-strip p { margin: 0; color: var(--navy); font-size: 15px; max-width: 680px; }
.diag-strip .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
@media (max-width: 480px) { .diag-strip .btn { width: 100%; } }

/* Sélecteur d'applications LCF (icône en grille, en haut à droite) */
/* Les deux boutons (grille des applications, puis avatar) sont toujours ensemble, dans le même ordre, en haut à droite.
   Les menus s'alignent sur le bord droit de ce groupe : ils ne débordent jamais de l'écran. */
.top .wrap > .brand + * { margin-left: auto; }
.top-actions { order: 3; position: relative; display: flex; align-items: center; gap: 6px; margin-left: auto; }
.top-actions > .apps, .top-actions > .me { position: static; }
@media (min-width: 720px) {
  .top .wrap > .nav ~ .top-actions, .top .wrap > .streak:not([hidden]) ~ .top-actions { margin-left: 0; }
}
.apps-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px;
  background: transparent; color: var(--navy); cursor: pointer; }
.apps-btn svg { fill: currentColor; }
.apps-btn:hover, .apps-btn[aria-expanded="true"] { background: var(--blue-soft); color: var(--blue); }
.apps-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; width: 300px; max-width: calc(100vw - 32px);
  background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 16px 40px rgba(11, 37, 69, 0.16); padding: 8px; }
.apps-head { margin: 4px 8px 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-2); }
.apps-item { display: flex; flex-direction: column; gap: 1px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--navy); }
.apps-item strong { font-size: 15px; }
.apps-item span { font-size: 13px; color: var(--text-2); }
a.apps-item:hover, a.apps-item:focus-visible { background: var(--bg); }
.apps-item.here { background: var(--blue-soft); margin-bottom: 4px; }
.apps-item.here span { color: var(--blue-dark); font-weight: 700; }
@media (max-width: 719px) {
  .top-actions { order: 1; }
  .top .wrap > .brand + *:not(.top-actions) { margin-left: 0; order: 2; }
  .top .wrap > .nav { order: 2; }
}

/* Pages légales */
.legal-page .wrap { max-width: 760px; }
.legal h2 { font-size: 20px; margin-top: 30px; }
.legal p, .legal li { font-size: 16px; line-height: 1.6; }
.legal ul { padding-left: 20px; }
.legal .lead { font-size: 18px; color: var(--navy); }
.legal .table-scroll { overflow-x: auto; }
.legal table { border-collapse: collapse; width: 100%; min-width: 560px; background: #fff; font-size: 14px; }
.legal th, .legal td { border: 1px solid var(--border); padding: 10px; text-align: left; vertical-align: top; line-height: 1.45; }
.legal th { background: var(--blue-soft); color: var(--navy); }
.legal mark.todo { background: #FFF3DC; color: #7A4B00; padding: 0 4px; border-radius: 4px; }

/* Accueil : colonne de droite (Hall of Fame puis prochains événements) */
.live-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.live-events { border-top: 5px solid var(--ok); }
.live-events[hidden] { display: none; }
.live-tag.green { color: var(--ok); background: var(--ok-bg); font-size: 12px; line-height: inherit; }
/* Événements compacts dans la carte : lignes séparées par un filet, titre sur deux lignes au plus */
.live-events .home-events-list { gap: 0; }
.live-events .home-events-list li[hidden] { display: none; }
.live-events .home-events-list a { border: 0; border-radius: 0; padding: 10px 0; grid-template-columns: 46px minmax(0, 1fr); border-bottom: 1px solid var(--border); }
.live-events .home-events-list li:last-child a, .live-events .home-events-list li:has(+ li[hidden]) a { border-bottom: 0; }
.live-events .home-events-list a:hover strong.t { color: var(--blue); }
.live-events .home-events-list .ev-date { width: 46px; height: 50px; }
.live-events .home-events-list .ev-date strong { font-size: 18px; }
.live-events .home-events-list strong.t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Avec des certifiés affichés, l'invitation tient sur une ligne : la colonne de droite garde de la place pour l'agenda */
@media (min-width: 860px) {
  .live-share.compact { flex-direction: row; align-items: center; justify-content: space-between; padding: 10px 12px 10px 16px; }
  .live-share.compact .btn { min-height: 40px; flex: none; }
}

/* Offres LCF Talents (accueil, après un défi, page de célébration) */
.offers-box { display: flex; flex-direction: column; gap: 12px; }
.offers-box[hidden] { display: none; }
.offers-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; }
.offers-title { font-size: 20px; color: var(--navy); margin: 0; }
.home-offers .offers-title { font-size: clamp(20px, 2.4vw, 24px); }
.offers-all { font-weight: 800; font-size: 15px; text-decoration: none; }
.offers-all:hover { text-decoration: underline; }
.offers-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 860px) { .home-offers .offers-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.offer a { display: flex; flex-direction: column; gap: 4px; height: 100%; background: #fff; border: 1px solid var(--border); border-left: 4px solid #6D3FD1;
  border-radius: 12px; padding: 12px 14px; text-decoration: none; color: var(--navy); }
.offer a:hover { border-color: #6D3FD1; }
.offer-t { font-size: 16px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.offer-m { font-size: 14px; color: var(--text-2); }
.offer-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.offer-tags span { font-size: 12px; font-weight: 700; color: #4B2A99; background: #F1ECFC; border-radius: 999px; padding: 2px 8px; }

/* Plusieurs certifications d'une même personne */
.fiche-others { font-size: 14px; font-weight: 700; text-decoration: none; color: var(--blue-dark); }
.fiche-others:hover { text-decoration: underline; }
.cert-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cert-list li { font-size: 15px; }
.cert-list a { font-weight: 700; }
.cel-others { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.cel-others h2 { font-size: 18px; margin: 0; }
.member-certs { list-style: none; margin: 0; padding: 0 0 0 4px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.member-certs a { font-weight: 700; }
.group-notice { margin: 0 0 12px; background: #FFF8EA; border: 1px solid #F2D9A6; border-radius: 10px; padding: 12px 14px; color: var(--navy); font-size: 15px; }

/* Accueil : « Que veux-tu faire aujourd'hui ? » */
.hello { padding: 30px 0 6px; }
.hello .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; }
.hello h1 { font-size: clamp(28px, 4.4vw, 44px); letter-spacing: -0.02em; }
.hello p { margin: 8px 0 0; color: var(--text-2); font-size: clamp(15px, 1.6vw, 17px); max-width: 620px; }
.hello .reassure { font-size: 14px; font-weight: 700; color: var(--text-2); }
.choose { padding: 18px 0 4px; }
.choose .wrap { display: grid; gap: 16px; }
.choose .live-defi { margin: 0; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px;
  text-decoration: none; color: var(--navy); min-width: 0; }
.tile:hover { border-color: var(--border-2); box-shadow: 0 6px 18px rgba(11, 37, 69, 0.06); color: var(--navy); }
.tile h3 { font-size: 17px; }
.tile p { margin: 0; font-size: 13.5px; color: var(--text-2); line-height: 1.45; }
.tile .now { margin-top: auto; font-size: 13px; color: var(--text-2); border-top: 1px solid var(--border); padding-top: 8px; }
.tile .now b { color: var(--navy); }
.tile .go { font-size: 14px; font-weight: 800; color: var(--blue); }
.tile .new { position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 800; background: #FFF4DE; color: #7A4B00; border-radius: 999px; padding: 2px 8px; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.ico svg { width: 24px; height: 24px; }
.ico.gold { background: #FFF4DE; color: #B26F00; } .ico.navy { background: #E6EAF2; color: var(--navy); }
.ico.green { background: var(--ok-bg); color: var(--ok); } .ico.violet { background: #EFEAFD; color: #6B4BD8; }
@media (max-width: 560px) { .tile { padding: 14px; } .tile p { display: none; } .tile h3 { font-size: 16px; } .ico { width: 38px; height: 38px; } }
.live2 { padding-top: 28px; }
.live-row { display: grid; gap: 16px; align-items: start; }
@media (min-width: 860px) { .live-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .live-row .home-offers { grid-column: 1 / -1; } }
.live-row .live-share.compact { flex-direction: column; align-items: flex-start; padding: 14px 16px; }
.live-row .home-offers { margin: 0; }

/* Photo de la communauté sur l'accueil (compacte) */
.hello .wrap { align-items: center; }
.hello .wrap > div { flex: 1 1 420px; min-width: 0; }
.hello-img { margin: 0; flex: 0 1 460px; min-width: 0; }
.hello-img img { display: block; width: 100%; height: 240px; object-fit: cover; object-position: 80% 50%; border-radius: 12px; }
@media (max-width: 859px) { .hello-img { flex-basis: 100%; order: -1; } .hello-img img { height: 120px; } }
.hello .reassure { display: inline-block; margin-top: 10px; }

/* Défi : « Et maintenant ? » après la correction */
.next-up h2 { margin: 0 0 12px; }
.next-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
@media (max-width: 480px) { .next-actions .btn { flex: 1 1 100%; } }

/* Bouton « Un retour ? » (toutes les pages) */
.fb-fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 14px; font-weight: 800;
  background: var(--navy); color: #fff; border: 0; border-radius: 999px; padding: 10px 14px; box-shadow: 0 6px 18px rgba(10, 30, 60, 0.25); cursor: pointer; }
.fb-fab:hover { background: var(--blue); }
@media (max-width: 600px) { .fb-fab { padding: 10px 12px; right: 12px; bottom: 12px; } .fb-fab .fb-lbl { display: none; } }
@media print { .fb-fab { display: none; } }
.fb-dlg { border: 0; border-radius: 16px; padding: 0; width: min(480px, calc(100vw - 32px)); box-shadow: 0 20px 50px rgba(10, 30, 60, 0.3); }
.fb-dlg::backdrop { background: rgba(10, 30, 60, 0.45); }
.fb-dlg form { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.fb-dlg h2 { margin: 0; font-size: 20px; color: var(--navy); }
.fb-dlg .muted { margin: -6px 0 0; font-size: 14px; }
.fb-kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.fb-kinds label { cursor: pointer; }
.fb-kinds input { position: absolute; opacity: 0; pointer-events: none; }
.fb-kinds span { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border-2); font-size: 14px; font-weight: 700; color: var(--navy); }
.fb-kinds input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.fb-kinds input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.fb-field { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 700; color: var(--navy); }
.fb-field textarea, .fb-field input { font: inherit; font-weight: 400; font-size: 15px; padding: 10px 12px; border: 1px solid var(--border-2); border-radius: 10px; }
.fb-status { margin: 0; font-size: 14px; color: var(--text-2); min-height: 1em; }
.fb-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Défi : progression du jour sur la page des défis */
.hub-today { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 12px; color: var(--navy); }
.hub-progress { display: flex; gap: 4px; }
.hub-progress span { width: 28px; height: 8px; border-radius: 4px; background: var(--border-2); }
.hub-progress span.on { background: var(--ok, #1E7F4F); }

/* Avatar du joueur et menu Mon espace (en haut à droite) */
.me-btn { position: relative; width: 40px; height: 40px; border: 0; padding: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.me-av { display: flex; width: 36px; height: 36px; margin: 2px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; letter-spacing: 0.02em; }
.me-btn:hover .me-av, .me-btn[aria-expanded="true"] .me-av { background: var(--blue); }
.me-dot { position: absolute; top: -2px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #D93A2B; color: #fff;
  font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; border: 2px solid #fff; }
.me-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; width: 290px; max-width: calc(100vw - 32px);
  background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 16px 40px rgba(11, 37, 69, 0.16); padding: 8px; display: flex; flex-direction: column; }
.me-panel[hidden] { display: none; }
.me-name { margin: 6px 10px 8px; font-weight: 800; color: var(--navy); }
.me-notif { display: block; margin: 2px 0; padding: 10px 12px; border-radius: 10px; background: #FFF4DE; color: var(--navy); font-weight: 700; font-size: 14px; text-decoration: none; }
.me-notif:hover { background: #FBE7BF; }
.me-empty { margin: 0 10px 8px; font-size: 14px; color: var(--text-2); }
.me-link { display: block; padding: 10px 12px; border-radius: 10px; color: var(--navy); text-decoration: none; font-weight: 700; font-size: 15px; }
.me-link.me-sep { border-top: 1px solid var(--border); margin-top: 6px; }
.me-link:hover { background: var(--blue-soft); }

/* Mon espace */
.pill.gold { background: #FFF3DC; color: #8A5A00; }
.moi-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.moi-head h1 { margin: 0; }
.moi-head p { margin: 2px 0 0; }
.moi-head .btn { margin-left: auto; }
.moi-av { width: 56px; height: 56px; margin: 0; font-size: 20px; flex: none; }
.moi-notifs { margin-bottom: 16px; gap: 6px; display: flex; flex-direction: column; }
.moi-grid { display: grid; gap: 16px; align-items: start; }
@media (min-width: 860px) { .moi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.moi-card { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.moi-card h2 { margin: 0; font-size: 19px; }
.moi-card .btn { align-self: flex-start; }
.moi-big { margin: 0; font-size: 22px; font-weight: 800; color: var(--navy); }
.moi-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.moi-list a { display: flex; justify-content: space-between; align-items: center; gap: 4px 10px; flex-wrap: wrap; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 10px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 15px; }
.moi-list a:hover { border-color: var(--blue); }
.moi-list .muted { font-weight: 400; font-size: 13px; }
.moi-talents { margin: 18px 0 0; text-align: center; font-weight: 700; }

/* LCF Sondages */
/* Le sondage occupe toute la largeur au-dessus du Hall of Fame et de l'Agenda :
   question en haut, réponses en grille (3 colonnes sur grand écran), actions sur une ligne. */
@media (min-width: 860px) {
  .live-row .live-poll { grid-column: 1 / -1; }
  .live-poll .poll-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .live-poll .poll { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 20px; }
  .live-poll .poll > .poll-q, .live-poll .poll > .poll-opts { flex: 1 1 100%; }
  .live-poll .poll-meta { flex: 1 1 auto; }
}
.live-poll { border-top: 4px solid var(--blue); }
.poll { display: flex; flex-direction: column; gap: 12px; }
.poll-q { margin: 0; }
.poll-opts { display: flex; flex-direction: column; gap: 8px; }
.poll-opt { position: relative; display: block; width: 100%; text-align: left; font: inherit; font-weight: 700; font-size: 15px; color: var(--navy);
  padding: 11px 14px; border-radius: 10px; border: 1px solid var(--border-2); background: #fff; cursor: pointer; overflow: hidden; }
.poll-opt:hover:not([disabled]) { border-color: var(--blue); }
.poll-opt[aria-checked="true"] { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.poll-opt[disabled] { cursor: default; opacity: 1; }
.poll-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--blue-soft); transition: width .6s ease; }
.poll-opt.mine .poll-fill { background: #CFDBF8; }
.poll-t { position: relative; display: flex; justify-content: space-between; gap: 10px; }
.poll-pct { font-variant-numeric: tabular-nums; color: var(--text-2); }
.poll-opt.mine .poll-pct { color: var(--blue); }
.poll-actions, .poll-share { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.poll-thanks { margin: 0; font-weight: 800; color: var(--ok); }
.poll-msg { margin: 0; color: var(--err, #B42318); font-size: 14px; }
.poll-msg:empty { display: none; }
.poll-meta { margin: 0; font-size: 13px; color: var(--text-2); }
.poll-all { font-weight: 800; font-size: 15px; }
.poll-layout { display: grid; gap: 16px; align-items: start; margin-top: 16px; }
@media (min-width: 900px) { .poll-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.poll-main { display: flex; flex-direction: column; gap: 16px; }
.poll-card, .poll-archive { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.poll-archive ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.poll-archive details { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.poll-archive summary { cursor: pointer; display: flex; flex-direction: column; gap: 2px; color: var(--navy); }
.poll-archive details[open] summary { margin-bottom: 10px; }
@media (prefers-reduced-motion: reduce) { .poll-fill { transition: none; } }
.linklike { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--blue); cursor: pointer; text-decoration: underline; }
.poll .linklike { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; font-size: 15px; color: var(--blue); text-decoration: underline; cursor: pointer; }
.poll-pct { white-space: nowrap; }
.sondages-page .wrap { max-width: 1040px; }

/* Accueil : défis du jour en ligne (5 cartes), bannière Cloud Escape, puis 3 tuiles */
@media (min-width: 760px) {
  .live-defi .live-defis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
  .live-defi .live-defis li { display: flex; }
  .live-defi .live-defis a { flex-direction: column; align-items: stretch; gap: 8px; width: 100%; padding: 12px 14px; }
  .live-defi .live-defis .live-text { flex: 1 1 auto; }
  .live-defi .live-defis .live-go { align-self: flex-end; }
  .live-defi .live-defis strong { font-size: 14.5px; }
  .live-defi .live-theme { font-size: 12.5px; }
}
.escape-banner { display: grid; gap: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--navy); }
.escape-banner:hover { border-color: var(--border-2); box-shadow: 0 6px 18px rgba(11, 37, 69, 0.06); color: var(--navy); }
.escape-banner img { display: block; width: 100%; height: 180px; object-fit: cover; object-position: left center; order: -1; }
.eb-text { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; min-width: 0; }
.eb-tags { display: flex; align-items: center; gap: 10px; }
.eb-tags b { font-size: 17px; }
.eb-tags .new { font-size: 11px; font-weight: 800; background: #FFF4DE; color: #7A4B00; border-radius: 999px; padding: 2px 8px; }
.escape-banner h3 { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.25; margin: 0; }
.escape-banner p { margin: 0; color: var(--text-2); font-size: 15px; }
.eb-meta { font-size: 14px; color: var(--text-2); }
.eb-meta b { color: var(--navy); }
.eb-cta { align-self: flex-start; }
@media (min-width: 760px) {
  .escape-banner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  .escape-banner img { order: 0; height: 100%; min-height: 240px; object-position: left top; }
  .eb-text { padding: 26px 28px; justify-content: center; }
}
@media (min-width: 760px) { .choose .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 759px) { .choose .tiles .tile:last-child:nth-child(odd) { grid-column: 1 / -1; } }
/* Défis : 5 colonnes sur grand écran, 3 + 2 en dessous (jamais une carte seule sur sa ligne). */
@media (min-width: 760px) { .live-defi .live-defis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .live-defi .live-defis { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* Photo de l'accueil : à droite du titre seulement si la place le permet. */
@media (min-width: 860px) and (max-width: 1099px) { .hello-img { flex-basis: 100%; } .hello-img img { height: 200px; } }
@media (max-width: 420px) { .top .wrap:has(.me) .brand .sep, .top .wrap:has(.me) .brand .sep + span { display: none; } }

/* Accueil : classement de la semaine dans « En ce moment » */
@media (min-width: 860px) and (max-width: 1099px) { .live-row .live-rank { grid-column: 1 / -1; } .rank-podium { flex-direction: row; } .rank-podium li { flex: 1 1 0; } }
@media (min-width: 1100px) { .live-row:has(.live-rank:not([hidden])) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.live-rank { border-top: 5px solid var(--navy); }
.rank-podium { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rank-podium li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; min-width: 0; }
.rank-podium li.me { border-color: var(--blue); background: var(--blue-soft); }
.rank-podium .medal { font-size: 20px; }
.rank-podium .who { flex: 1 1 auto; min-width: 0; font-weight: 800; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-podium .pts { font-weight: 700; color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rank-me { margin: 0; font-size: 14px; color: var(--text-2); }
@media (min-width: 860px) and (max-width: 1099px) { .live-rank .rank-podium { flex-direction: row; } }
@media (max-width: 420px) { .nav { gap: 4px 14px; font-size: 14px; } }
@media (max-width: 350px) { .nav { gap: 4px 10px; font-size: 13px; } }

/* Badges (badges.js) */
.bdg-ico .bdg-glyph { fill: none; stroke: var(--navy); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.bdg-serie .bdg-out { fill: #D38B12; } .bdg-serie .bdg-in { fill: #F3C568; } .bdg-serie .bdg-glyph { stroke: #6B4100; }
.bdg-volume .bdg-out { fill: #1747C7; } .bdg-volume .bdg-in { fill: #9DB6F4; }
.bdg-maitrise .bdg-out { fill: #0B2E8A; } .bdg-maitrise .bdg-in { fill: #C7D6FA; }
.bdg-curiosite .bdg-out { fill: #0E7C86; } .bdg-curiosite .bdg-in { fill: #9FDCE0; }
.bdg-battle .bdg-out { fill: #2A7533; } .bdg-battle .bdg-in { fill: #A9D9A1; } .bdg-battle .bdg-glyph { stroke: #123D18; }
.bdg-escape .bdg-out { fill: #0B2545; } .bdg-escape .bdg-in { fill: #8D9DB8; }
.bdg-communaute .bdg-out { fill: #6B3FA0; } .bdg-communaute .bdg-in { fill: #D3C1EC; }
.bdg-locked .bdg-out { fill: #D5DEEB; } .bdg-locked .bdg-in { fill: #EEF2F8; } .bdg-locked .bdg-glyph { stroke: #6B7A90; }
.bdg-panel h2 { font-size: 20px; }
.bdg-grid { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px 10px; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.bdg { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.bdg strong { font-size: 13px; line-height: 1.3; }
.bdg-meta { font-size: 12px; color: var(--text-2); line-height: 1.35; }
.bdg-off strong { color: var(--text-2); font-weight: 700; }
.bdg-grid-locked .bdg-meta { font-size: 11px; }
.bdg-sub { margin: 18px 0 0; font-size: 13px; font-weight: 800; color: var(--text-2); }
.bdg-flag { position: absolute; top: -6px; right: 6px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 999px; }
.bdg-row { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bdg-next { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bdg-next li { display: flex; gap: 12px; align-items: flex-start; }
.bdg-next li > div { flex: 1; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.bdg-next strong { font-size: 14px; }
.bdg-bar { display: block; height: 7px; background: var(--border); border-radius: 99px; overflow: hidden; }
.bdg-bar span { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 99px; transition: width .6s ease; }
.bdg-dlg { border: 0; border-radius: 18px; padding: 0; width: min(420px, calc(100vw - 32px)); color: var(--navy); }
.bdg-dlg::backdrop { background: rgba(11, 37, 69, .55); }
.bdg-dlg-in { padding: 26px 22px 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.bdg-dlg-in h2 { font-size: 24px; }
.bdg-kicker { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #9A6200; }
.bdg-dlg-next { width: 100%; background: var(--bg); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; text-align: left; font-size: 13px; }
.bdg-dlg-next .bdg-bar span { background: var(--gold); }
.bdg-dlg-actions { display: flex; gap: 10px; width: 100%; }
.bdg-dlg-actions > * { flex: 1; justify-content: center; }
.member-roles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.member-roles span { background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.bdg-dlg .linklike { background: none; border: 0; padding: 6px; font: inherit; font-weight: 700; font-size: 14px; color: var(--text-2); cursor: pointer; }
.bdg-line { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bdg-grid-locked { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); }
/* Bandeau des simulateurs sur l'accueil */
.sim-banner { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; background: #fff; border: 1px solid var(--border); border-left: 5px solid var(--blue);
  border-radius: var(--radius); padding: 16px 18px; color: var(--navy); text-decoration: none; }
.sim-banner:hover { border-color: var(--border-2); border-left-color: var(--blue-dark); box-shadow: 0 6px 18px rgba(11, 37, 69, 0.06); color: var(--navy); }
.sim-banner .sb-text { flex: 1 1 320px; font-size: 15px; color: var(--text-2); line-height: 1.5; }
.sim-banner .sb-text b { color: var(--navy); }
.sim-banner .sb-cta { flex: 0 0 auto; }
.ico.blue { background: var(--blue-soft); color: var(--blue); }
@media (max-width: 560px) { .sim-banner .sb-cta { width: 100%; justify-content: center; } }

/* Anti-robots Turnstile : invisible la plupart du temps, ne prend de la place que s'il demande un clic. */
.captcha:empty { display: none; }
.captcha { min-height: 0; }

/* Barre écosystème LeCloudFacile.com (guide de référence du 26/10/2026) : identique dans toutes les applications. */
.eco-bar { background: #FFFFFF; border-bottom: 1px solid #E3E9F2; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; }
.eco-bar .wrap { display: flex; align-items: center; height: 40px; }
.eco-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #526581; text-decoration: none; }
.eco-brand:hover { color: #0E2344; }
.eco-cloud { height: auto; }
.eco-sep { width: 1px; height: 16px; background: #E3E9F2; margin: 0 28px; flex: none; }
.eco-apps { display: flex; gap: 24px; height: 40px; }
.eco-apps a { display: inline-flex; align-items: center; height: 40px; font-size: 13px; font-weight: 500; color: #526581; text-decoration: none;
  border-bottom: 2px solid transparent; padding-top: 2px; }
.eco-apps a:hover { color: #0E2344; }
.eco-apps a[aria-current="page"] { color: #0E2344; font-weight: 700; border-bottom-color: #0E2344; }
.eco-bar a:focus-visible { outline: 3px solid #1748C8; outline-offset: 2px; }

/* Barre produit : bouton métier unique et bouton Menu (mobile) */
.top { position: relative; }
.top-cta { min-height: 42px; padding: 0 18px; font-size: 15px; border-radius: 12px; white-space: nowrap; }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid #E3E9F2;
  background: #F5F7FB; color: var(--navy); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.menu-ico, .menu-ico::before, .menu-ico::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; position: relative; content: ''; }
.menu-ico::before { position: absolute; top: -6px; } .menu-ico::after { position: absolute; top: 6px; }
.top.menu-open .menu-ico { background: transparent; }
.top.menu-open .menu-ico::before { top: 0; transform: rotate(45deg); } .top.menu-open .menu-ico::after { top: 0; transform: rotate(-45deg); }
.club-menu { position: absolute; left: 0; right: 0; top: 100%; z-index: 70; background: #fff; border-bottom: 1px solid #E3E9F2;
  box-shadow: 0 18px 40px rgba(14, 35, 68, 0.14); padding: 4px var(--gutter) 20px; max-height: calc(100vh - 80px); overflow-y: auto; }
.club-menu[hidden] { display: none; }
.cm-links a { display: flex; align-items: center; min-height: 52px; font-size: 18px; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 1px solid #E3E9F2; }
.cm-cta { display: flex; width: 100%; margin: 18px 0; }
.cm-eco { background: #F7F9FC; border: 1px solid #E3E9F2; border-radius: 16px; padding: 12px 16px; font-family: 'Inter', system-ui, sans-serif; }
.cm-eco-head { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-size: 13px; font-weight: 700; color: #526581; text-decoration: none; }
.cm-eco-row { display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-size: 15px; color: #0E2344; text-decoration: none; border-top: 1px solid #E3E9F2; }
.cm-eco-row.here { font-weight: 700; }
.cm-here { font-size: 13px; font-weight: 600; color: #526581; }
.cm-arrow { color: #8A99AE; }
@media (max-width: 767px) {
  .eco-bar { display: none; }
  .top .wrap > .nav { display: none; }
  .top-cta { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (min-width: 768px) { .club-menu { display: none !important; } }

/* Application installable : encart en bas de l'écran, sur mobile */
.installer { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: #FFFFFF; border: 1px solid #E3E9F2; box-shadow: 0 16px 40px rgba(14, 35, 68, .18); color: #0E2344; }
.installer img { flex: none; border-radius: 12px; }
.installer-body { flex: 1; min-width: 0; }
.installer-body strong { display: block; font-size: 15px; line-height: 1.3; }
.installer-body p { margin: 4px 0 0; font-size: 14px; line-height: 1.45; color: #526581; }
.installer-body .installer-note { font-size: 13px; color: #92540A; }
.installer-actions { display: flex; gap: 12px; align-items: center; margin-top: 10px; }
.installer-actions .btn { min-height: 44px; }
.installer-close { min-height: 44px; padding: 0 6px; background: none; border: 0; color: #1748C8; font: inherit; font-weight: 700; cursor: pointer; }
.installer-close:focus-visible { outline: 3px solid #1748C8; outline-offset: 2px; border-radius: 6px; }
@media (min-width: 768px) { .installer { left: auto; width: 380px; } }
.cm-install { display: block; margin-top: 12px; padding: 10px 0; font-weight: 700; color: #1748C8; text-decoration: none; }
.cm-install:hover { color: #0E2344; }
.install-grid { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 900px) { .install-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.install-card { padding: 20px; border: 1px solid #E3E9F2; border-radius: 20px; background: #FFFFFF; }
.install-card.is-mine { border-color: #D4891A; background: #FFF8EE; }
.install-card h2 { margin: 0 0 8px; font-size: 20px; }
.install-card ol { margin: 0; padding-left: 20px; line-height: 1.6; }
.page p.install-note, p.install-note { font-size: 14px; line-height: 1.5; color: #92540A; margin-top: 12px; }
.nav-dot { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; margin-left: 6px; padding: 0 5px; border-radius: 999px; background: #D4891A; color: #0E2344; font-size: 11px; font-weight: 800; vertical-align: 2px; }
