/* ═══════════════════════════════════════════════════════════════════
   BornToCraft Theme - v2-accueil.css
   Accueil refondu, charte v2 « Ardoise & laiton » (tache 7.6, conception D16).
   Maquette : sec-site.html 2a (bureau), 2b (suite), 2c (telephone 360 px).
   ═══════════════════════════════════════════════════════════════════

   CHARGEMENT. Uniquement sur l'accueil (layouts/base.blade.php, sous
   `request()->routeIs('home')`), APRES borntocraft.css : ce fichier ne redefinit
   que ce que l'accueil change. Aucune couleur en dur : tout pointe sur un token
   --btc-* (tokens-web.css et roles de borntocraft.css).

   REGLES DE CONTRASTE tenues ici (voir borntocraft.css, tete de fichier) :
   - texte attenue (--btc-text-dim) jamais sur --btc-surface-2 (a3) ;
   - --btc-decor n'est jamais un texte ; il ne sert qu'aux filets et aux pastilles ;
   - texte cuivre clair / laiton clair / patine clair seulement sur a0, a1, a2 ou
     sur un fond teinte a 12 % au plus ;
   - le rouge (--btc-danger) ne porte que des bordures et des pastilles.

   DEFILEMENT PLEIN ECRAN (maquette validee 10/2026). Les quatre sections (heros,
   univers, rejoindre, actualites) sont chacune une `.btc-snap-section`, donc un point
   d'accroche. Le mode depend de l'ecran (borntocraft.css) : `proximity` par defaut,
   `mandatory` seulement a 992 x 700 et plus avec une souris, `none` sous 560 px de
   haut. Chaque section a une hauteur MINIMUM d'un ecran (dvh) et grandit si son
   contenu est plus haut : rien n'est rogne. L'entree d'une section (`[data-reveal]`)
   est jouee une seule fois, quand le JS pose `.is-in` ; sans JS tout reste visible. */

/* ─── Utilitaires ────────────────────────────────────────────────── */
/* Texte lu par les lecteurs d'ecran seulement. */
.btc-vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.btc-acc [hidden], .btc-hero--v2 [hidden] { display: none !important; }

/* Sections plein ecran : colonne flexible, le contenu centre verticalement. */
.btc-snap-container > .btc-snap-section { display: flex; flex-direction: column; }

/* Entree des sections : jouee UNE fois (.is-in pose par borntocraft.js, jamais retire).
   `.has-js` est pose dans le <head> de l'accueil : sans JS, rien n'est masque. Seuls
   opacity et transform sont animes (aucun recalcul de mise en page). */
.has-js .btc-snap-container .btc-snap-section:not(.is-in) [data-reveal] { opacity: 0; transform: translateY(16px); }
[data-reveal] {
  transition: opacity .6s cubic-bezier(.22, .7, .2, 1) calc(var(--d, 0) * 70ms),
              transform .6s cubic-bezier(.22, .7, .2, 1) calc(var(--d, 0) * 70ms);
}

/* Pastille d'etat. Gris tant que l'etat est inconnu : jamais vert par defaut,
   ce serait affirmer un etat que personne n'a mesure. L'etat est AUSSI porte par
   du texte (.btc-vh ou valeur), la couleur ne le dit jamais seule. */
.btc-led {
  display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%;
  background: var(--btc-decor);
}
.btc-led[data-state="up"]   { background: var(--btc-success); box-shadow: 0 0 6px color-mix(in srgb, var(--btc-success) 60%, transparent); }
.btc-led[data-state="down"] { background: var(--btc-danger); }
.btc-led--live[data-state="up"] { background: var(--btc-secondary); box-shadow: 0 0 7px var(--btc-secondary); animation: btc-led-pulse 2.4s ease-in-out infinite; }
@keyframes btc-led-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* Pastilles de libelle (.btc-pill, --brass, --teal) : definies dans v2-pages.css,
   charge sur toutes les pages, avant ce fichier. */

/* ─── Plaque d'adresse (elements/ipbar.blade.php) ────────────────── */
.btc-ipbar {
  display: inline-flex; align-items: stretch; min-height: 44px; max-width: 100%;
  margin: 0; padding: 0; overflow: hidden;
  border: 1px solid var(--btc-lisere); border-radius: 8px;
  background: var(--btc-bg2); color: var(--btc-text);
  font: 600 13px/1.2 var(--btc-font-mono); text-align: left; white-space: nowrap;
}
button.btc-ipbar { cursor: pointer; appearance: none; transition: border-color .2s; }
button.btc-ipbar:hover { border-color: color-mix(in srgb, var(--btc-laiton) 70%, var(--btc-lisere)); }
.btc-ipbar:focus-visible { outline: 2px solid var(--btc-accent); outline-offset: 3px; }
.btc-ipbar-tag {
  display: flex; align-items: center; padding: 0 10px; flex: none;
  background: var(--btc-surface-2); color: var(--btc-accent); letter-spacing: .08em; font-style: normal;
}
.btc-ipbar-text {
  display: flex; align-items: center; min-width: 0; padding: 0 12px;
  color: var(--btc-text); overflow: hidden; text-overflow: ellipsis;
}
.btc-ipbar-act {
  display: flex; align-items: center; gap: 6px; flex: none; padding: 0 12px;
  border-left: 1px solid var(--btc-bouton); color: var(--btc-secondary-text);
  font-size: 11.5px; transition: background .2s;
}
button.btc-ipbar:hover .btc-ipbar-act, button.btc-ipbar:focus-visible .btc-ipbar-act {
  background: color-mix(in srgb, var(--btc-patine) 12%, var(--btc-bg2));
}
.btc-ipbar-ico { width: 14px; height: 14px; flex: none; }
.btc-ipbar-ico--done { display: none; }
.btc-ipbar.is-copied .btc-ipbar-ico--copy { display: none; }
.btc-ipbar.is-copied .btc-ipbar-ico--done { display: block; }
.btc-ipbar.is-copied .btc-ipbar-act { color: var(--btc-success); }
.btc-ipbar--big { min-height: 48px; font-size: 15px; border-color: color-mix(in srgb, var(--btc-laiton) 55%, var(--btc-lisere)); }
.btc-ipbar--big .btc-ipbar-act { font-size: 12.5px; }
.btc-ipbar--static { flex-wrap: wrap; }
.btc-ipbar-tag--port { border-left: 1px solid var(--btc-bouton); }
.btc-ipbar-text--port { padding-left: 12px; }

/* ─── Heros ──────────────────────────────────────────────────────── */
/* Le heros garde le plein ecran MINIMUM (dvh suit la barre d'adresse mobile, vh en
   repli), et grandit si son contenu (telephone) est plus haut. */
.btc-hero--v2 {
  display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
  height: auto; min-height: 100vh; min-height: 100dvh;
}
.btc-hero--v2 .btc-stars { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
/* Cuir : hachurage a 12 % (22 % x 0,55) sur la moitie gauche seulement, jamais
   une surface. Les enfants du heros passent au-dessus (z-index 1). */
.btc-hero--v2::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--btc-cuivre-ombre) 22%, transparent) 0 2px, transparent 2px 9px);
  -webkit-mask: linear-gradient(90deg, #000, transparent 50%);
  mask: linear-gradient(90deg, #000, transparent 50%);
}
.btc-hero--v2 > * { position: relative; z-index: 1; }
.btc-hero-main {
  flex: 1; display: flex; align-items: center;
  padding: 98px 0 64px;
}
.btc-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 10px; align-items: center;
}
.btc-hero--v2 .btc-hero-text { max-width: 720px; }

.btc-hero-badge {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 4px;
  padding: 5px 13px 5px 11px; border: 1px solid var(--btc-bouton); border-radius: 999px;
  background: color-mix(in srgb, var(--btc-bg) 70%, transparent);
  font: 600 13px/1.3 var(--btc-font-body); color: var(--btc-text-dim);
}
.btc-hero-badge b { color: var(--btc-text); }
.btc-hero-badge-count { display: inline-flex; align-items: center; gap: 5px; }
.btc-hero-badge-sep { color: var(--btc-decor); }

.btc-hero--v2 .btc-hero-title { margin: 14px 0 0; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.04; }
.btc-hero--v2 .btc-hero-subtitle-line {
  margin-top: 10px; font: 600 clamp(16px, 1.5vw, 21px)/1.3 var(--btc-font-body);
  color: var(--btc-secondary-text); letter-spacing: .02em;
}
.btc-hero--v2 .btc-typewriter-wrap { height: 28px; margin: 16px 0 22px; }
.btc-hero--v2 .btc-typewriter { font-weight: 600; font-size: clamp(15px, 1.4vw, 17px); color: var(--btc-accent-text); }
.btc-hero--v2 .btc-hero-ctas { gap: 10px; margin-bottom: 0; }
.btc-hero--v2 .btc-btn-lg { padding: 13px 22px; }
.btc-hero--v2 .btc-btn .btc-icon { width: 26px; height: 26px; margin: -4px 0; }
.btc-hero-ip { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 20px; }
.btc-hero-ip-note { font-size: 12.5px; color: var(--btc-text-dim); }

/* Emblème et décor. Ce bloc est aria-hidden : rien n'y porte d'information. */
.btc-hero-art { position: relative; height: 340px; display: grid; place-items: center; min-width: 0; }
.btc-hero-emb {
  position: relative; z-index: 2; width: 290px; max-width: 80%; height: auto;
  filter: drop-shadow(0 14px 22px rgb(0 0 0 / .45));
  animation: btc-hero-bob 7s ease-in-out infinite;
}
.btc-hero-ring {
  position: absolute; width: 330px; height: 330px; max-width: 96%; aspect-ratio: 1; border-radius: 50%;
  border: 1px dashed color-mix(in srgb, var(--btc-laiton) 38%, transparent);
}
/* Nuages : aplats plats a 15 %, pas de la vapeur. */
.btc-cl {
  position: absolute; height: 24px; border-radius: 30px;
  background: color-mix(in srgb, var(--btc-texte-secondaire) 15%, transparent);
  animation: btc-hero-drift 22s ease-in-out infinite alternate;
}
.btc-cl::before {
  content: ""; position: absolute; left: 18%; top: -11px; width: 42%; height: 22px;
  border-radius: 50%; background: inherit;
}
.btc-cl--a { width: 120px; top: 24px; left: 4%; }
.btc-cl--b { width: 92px; top: 262px; right: 0; animation-delay: -9s; }
.btc-isl { position: absolute; shape-rendering: crispEdges; }
.btc-isl .i-w, .btc-isl .i-d { fill: var(--btc-cuivre-ombre); }
.btc-isl .i-g { fill: var(--btc-mousse); }
.btc-isl .i-c { fill: var(--btc-cuivre); }
.btc-isl--a { left: -4px; bottom: 22px; }
.btc-isl--b { right: 10px; top: 36px; }

/* VAPEUR. UN SEUL emetteur par ecran (regle de la charte), 25 % d'opacite au plus :
   ici trois volutes qui montent de la cheminee de l'emblème, decalees dans le temps,
   chacune plafonnee a .25. Rien d'autre sur la page n'emet de vapeur (la vapeur des
   illustrations de cartes est figee et bridee plus bas). */
.btc-vapeur { --vp-rise: -95px; position: absolute; z-index: 3; left: calc(50% - 20px); bottom: calc(50% + 122px); width: 40px; height: 40px; pointer-events: none; }
.btc-vapeur i {
  position: absolute; left: 50%; bottom: 0; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%;
  background: radial-gradient(circle, var(--btc-parchemin), transparent 70%);
  opacity: 0; animation: btc-vapeur 6s ease-out infinite;
}
.btc-vapeur i:nth-child(2) { animation-delay: 2s; }
.btc-vapeur i:nth-child(3) { animation-delay: 4s; }
@keyframes btc-vapeur {
  0%   { opacity: 0;   transform: translate(0, 0) scale(.5); }
  20%  { opacity: .25; }
  100% { opacity: 0;   transform: translate(14px, var(--vp-rise)) scale(1.7); }
}
@keyframes btc-hero-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes btc-hero-drift { from { transform: translateX(-14px); } to { transform: translateX(18px); } }

/* Indicateur de defilement : un vrai bouton (va a la section suivante). */
.btc-hero--v2 .btc-scroll-indicator {
  bottom: 14px; z-index: 2; border: 0; background: none; padding: 6px 10px; cursor: pointer;
  font: inherit; color: inherit; border-radius: 8px;
}
.btc-hero--v2 .btc-scroll-indicator:focus-visible { outline: 2px solid var(--btc-accent); outline-offset: 2px; }

/* ─── Bande de statut ────────────────────────────────────────────── */
/* Deux cases centrees : Joueurs, Serveur (un seul serveur Java, compatible Bedrock,
   avec ses deux adresses). */
.btc-ls {
  display: flex; justify-content: center;
  background: var(--btc-bg2); border-top: 1px solid var(--btc-surface-2); border-bottom: 1px solid var(--btc-surface-2);
}
.btc-ls-cell {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px;
  flex: 0 1 400px; min-width: 0; padding: 14px 28px; border-right: 1px solid var(--btc-surface-2);
}
.btc-ls-cell:last-child { border-right: 0; }
.btc-ls-addr {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin: 2px 0 0;
  font: 600 12.5px/1.4 var(--btc-font-mono); color: var(--btc-text);
}
.btc-ls-addr div { display: flex; gap: 8px; min-width: 0; }
.btc-ls-addr dt { font-weight: 600; color: var(--btc-text-dim); }
.btc-ls-addr dd { margin: 0; overflow-wrap: anywhere; }
.btc-ls-cell small {
  font: 600 10.5px/1.3 var(--btc-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--btc-text-dim);
}
.btc-ls-cell b { display: flex; align-items: center; gap: 8px; font: 700 18px/1.3 var(--btc-font-display); color: var(--btc-text); }
.btc-ls-unit { font: 600 13px/1.3 var(--btc-font-body); color: var(--btc-text-dim); }

/* ─── Sections courantes ─────────────────────────────────────────── */
/* Chaque section est son propre point d'accroche (plus d'enveloppe .btc-rest). Le
   haut laisse la place de la barre de navigation fixe (62 px). */
.btc-acc { justify-content: center; padding: 86px 0 40px; }
/* Derniere section : le pied de page y est le dernier enfant. Les deux marges auto se
   partagent l'espace libre : le contenu reste a peu pres centre, le pied en bas. */
.btc-acc--last { padding-bottom: 0; }
.btc-acc--last > .container { margin-top: auto; }
.btc-acc--last > .btc-footer-section { margin-top: auto; padding-top: 32px; }
.btc-acc-lead { margin: 12px 0 0; max-width: 620px; font-size: 14.5px; line-height: 1.6; color: var(--btc-text-dim); }
.btc-acc--alt { background: linear-gradient(var(--btc-bg2), var(--btc-bg)); }
.btc-acc-head { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 26px; }
.btc-acc-head--center { align-items: center; text-align: center; }
.btc-acc-eyebrow {
  margin: 0 0 8px; font: 700 11px/1.4 var(--btc-font-body); letter-spacing: .25em; text-transform: uppercase;
  color: var(--btc-accent-text);
}
.btc-acc-eyebrow--card { margin: 0; letter-spacing: .18em; font-size: 10.5px; }
.btc-acc-title { margin: 0; font-size: clamp(24px, 3vw, 36px); text-shadow: 0 0 40px color-mix(in srgb, var(--btc-laiton) 30%, transparent); }
.btc-acc-divider { width: 56px; height: 3px; margin-top: 14px; }
.btc-acc-divider i { display: block; height: 100%; background: linear-gradient(90deg, var(--btc-accent), var(--btc-secondary)); }

/* ─── Cartes d'univers ───────────────────────────────────────────── */
.btc-uv { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.btc-uc {
  grid-column: span 2; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: linear-gradient(var(--btc-surface), var(--btc-bg2));
  border: 1px solid var(--btc-bouton); border-radius: 14px; transition: border-color .2s;
}
.btc-uc:hover, .btc-uc:focus-within { border-color: color-mix(in srgb, var(--btc-laiton) 55%, var(--btc-lisere)); }
.btc-uc--wide { grid-column: span 4; flex-direction: row; }
/* Cartes compactes (maquette) : l'ecran entier doit tenir 1 large + 4 cartes. */
.btc-uc-art {
  position: relative; height: 96px; flex: none; overflow: hidden;
  background: radial-gradient(70% 90% at 50% 70%, color-mix(in srgb, var(--btc-laiton) 14%, transparent), transparent), linear-gradient(var(--btc-bg), var(--btc-surface));
  border-bottom: 1px solid var(--btc-surface-2);
}
.btc-uc--wide .btc-uc-art { width: 42%; height: auto; min-height: 0; border-bottom: 0; border-right: 1px solid var(--btc-surface-2); }
.btc-uc-art .btc-sec-art { height: 100%; }
.btc-uc-art .btc-sec-art-svg { width: 100%; max-width: none; height: 100%; filter: none; }
/* Les illustrations ne bougent qu'au survol / focus de la carte, et leur vapeur
   (heritee de section-art) est plafonnee a 25 % : l'emetteur de l'ecran est celui
   du heros. */
.btc-uc-art .btc-sec-art-svg [class*="a-"] { animation-play-state: paused; }
.btc-uc:hover .btc-sec-art-svg [class*="a-"], .btc-uc:focus-within .btc-sec-art-svg [class*="a-"] { animation-play-state: running; }
.btc-uc-art .a-steam { opacity: .25; }
.btc-uc-art .a-steam-1, .btc-uc-art .a-steam-2 { animation-name: btc-uc-steam; }
@keyframes btc-uc-steam { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: .25; } 100% { opacity: 0; transform: translateY(-16px); } }

.btc-uc-body { position: relative; flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 14px 18px 8px; }
.btc-uc--wide .btc-uc-body { padding-top: 16px; justify-content: center; }
.btc-uc-title { margin: 0; font-size: 19px; }
.btc-uc--wide .btc-uc-title { font-size: 22px; }
.btc-uc-lead { margin: 0; font-size: 13px; line-height: 1.6; color: var(--btc-text-dim); }
.btc-uc-lead--wide { font-size: 13.5px; }
.btc-uc-chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 2px 0 4px; padding: 0; list-style: none; }
.btc-uc-link {
  display: inline-flex; align-items: center; align-self: flex-start; min-height: 40px; margin-top: auto;
  font: 700 13px/1.3 var(--btc-font-body); color: var(--btc-secondary-text); text-decoration: none;
}
.btc-uc-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.btc-uc-link:focus-visible, .btc-box-link:focus-visible, .btc-nc-title:focus-visible, .btc-rw-link:focus-visible {
  outline: 2px solid var(--btc-accent); outline-offset: 3px; border-radius: 3px;
}

/* ─── Comment rejoindre ──────────────────────────────────────────── */
.btc-join { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.btc-jc {
  display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 20px 22px;
  background: var(--btc-bg2); border: 1px solid var(--btc-bouton); border-radius: 14px;
}
.btc-jc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.btc-jc-title { margin: 0; font-size: 18px; }
.btc-jc .btc-ipbar { align-self: flex-start; }
.btc-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.btc-steps li { display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.5; color: var(--btc-text-dim); }
.btc-steps b { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--btc-text); }
.btc-steps em {
  flex: none; width: 22px; height: 22px; display: grid; place-items: center;
  border: 1px solid var(--btc-accent); border-radius: 50%;
  font: 700 12px/1 var(--btc-font-body); font-style: normal; color: var(--btc-accent-text);
}

/* ─── Actualites / voteurs / statut ──────────────────────────────── */
/* Actualites + voteurs. La case « Statut » a quitte la grille : elle est dans la
   bande du heros. Sans module de vote, une seule colonne. */
.btc-tri { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; }
.btc-tri--1 { grid-template-columns: minmax(0, 1fr); }
.btc-box {
  display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 18px 20px;
  background: var(--btc-bg2); border: 1px solid var(--btc-bouton); border-radius: 14px;
}
.btc-box-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.btc-box-title { margin: 0; font-size: 16px; }
.btc-box-head .btc-icon { width: 32px; height: 32px; }
.btc-box-link {
  display: inline-flex; align-items: center; min-height: 32px;
  font: 700 12.5px/1.3 var(--btc-font-body); color: var(--btc-secondary-text); text-decoration: none;
}
.btc-box-link:hover, .btc-rw-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.btc-box-empty { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--btc-text-dim); }
.btc-box-empty b { color: var(--btc-text); }
.btc-box-cta { align-self: flex-start; margin-top: 4px; }

.btc-nc { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; }
.btc-nc-th {
  height: 68px; overflow: hidden; border-radius: 8px; border: 1px solid var(--btc-surface-2);
  background: linear-gradient(var(--btc-bg), var(--btc-surface));
}
.btc-nc-th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.btc-nc-th .btc-sec-art, .btc-nc-th .btc-sec-art-svg { width: 100%; max-width: none; height: 100%; filter: none; }
.btc-nc-th [class*="a-"] { animation: none; }
.btc-nc-th .a-steam { display: none; }
.btc-nc-body { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; min-width: 0; }
.btc-nc-title { font: 700 14px/1.3 var(--btc-font-body); color: var(--btc-text); text-decoration: none; }
/* Lien etire : toute la ligne est cliquable, la cible depasse 44 px. */
.btc-nc-title::after { content: ""; position: absolute; inset: 0; }
.btc-nc-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.btc-nc small { font: 11px/1.3 var(--btc-font-mono); color: var(--btc-text-dim); }

.btc-rw { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 13.5px; }
.btc-rw b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--btc-text); }
.btc-rw-n { width: 22px; flex: none; text-align: center; font: 700 12px/1 var(--btc-font-mono); color: var(--btc-text-dim); }
.btc-rw-av { width: 26px; height: 26px; flex: none; border-radius: 4px; background: var(--btc-surface-2); object-fit: cover; }
.btc-rw-v { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; flex: none; font: 600 12px/1.3 var(--btc-font-mono); color: var(--btc-text-dim); }
.btc-rw--status { justify-content: space-between; min-height: 32px; color: var(--btc-text); }
.btc-rw-link { display: inline-flex; align-items: center; min-height: 32px; color: var(--btc-secondary-text); font-weight: 700; text-decoration: none; }
.btc-med {
  flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%;
  font: 700 11px/1 var(--btc-font-body); color: var(--btc-on-light);
}
.btc-med--1 { background: radial-gradient(circle at 35% 30%, var(--btc-grade-pioneer-clair), var(--btc-grade-pioneer) 55%, var(--btc-grade-pioneer-ombre)); }
.btc-med--2 { background: radial-gradient(circle at 35% 30%, var(--btc-grade-joueur-clair), var(--btc-grade-joueur) 55%, var(--btc-grade-joueur-ombre)); }
.btc-med--3 { background: radial-gradient(circle at 35% 30%, var(--btc-grade-wayfarer-clair), var(--btc-grade-wayfarer) 55%, var(--btc-grade-wayfarer-ombre)); }

/* ─── Largeurs intermediaires ────────────────────────────────────── */
@media (max-width: 1199px) {
  .btc-steps { grid-template-columns: 1fr; }
}
@media (max-width: 991px) {
  .btc-hero-main { padding: 84px 0 40px; }
  .btc-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .btc-hero--v2 .btc-hero-text { max-width: none; }
  .btc-hero-art { order: -1; height: 230px; margin-bottom: 8px; }
  .btc-hero-emb { width: 190px; }
  .btc-hero-ring { width: 220px; height: 220px; }
  .btc-cl--b { top: 180px; }
  .btc-vapeur { --vp-rise: -70px; bottom: calc(50% + 78px); }
  .btc-hero--v2 .btc-scroll-indicator { display: none; }
  .btc-uv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btc-uc, .btc-uc--wide { grid-column: auto; }
  .btc-uc--wide { grid-column: 1 / -1; }
  .btc-join { grid-template-columns: 1fr; }
  .btc-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .btc-tri { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .btc-acc { padding: 80px 0 28px; }
  .btc-hero-main { padding: 76px 0 28px; }
  .btc-hero-art { height: 200px; }
  .btc-hero-emb { width: 170px; }
  .btc-hero-ring { width: 200px; height: 200px; }
  .btc-cl--a { width: 80px; top: 8px; left: 0; }
  .btc-cl--b, .btc-isl { display: none; }
  .btc-vapeur { --vp-rise: -55px; bottom: calc(50% + 68px); }
  .btc-hero--v2 .btc-hero-title { font-size: 38px; }
  .btc-hero--v2 .btc-hero-ctas { flex-direction: column; }
  .btc-hero--v2 .btc-hero-ctas .btc-btn { width: 100%; min-height: 48px; }
  .btc-hero-ip { flex-direction: column; align-items: stretch; gap: 10px; }
  .btc-hero-ip .btc-ipbar { width: 100%; }
  .btc-hero-ip .btc-ipbar-text { flex: 1; }
  .btc-ipbar-text { padding: 0 9px; }
  .btc-ipbar-act { padding: 0 10px; }
  .btc-ls { flex-direction: column; }
  .btc-ls-cell { flex: none; padding: 10px 16px; border-right: 0; border-bottom: 1px solid var(--btc-surface-2); }
  .btc-ls-cell:last-child { border-bottom: 0; }
  .btc-ls-cell b { font-size: 15px; }
  .btc-uv { grid-template-columns: 1fr; }
  .btc-uc--wide { flex-direction: column; }
  .btc-uc--wide .btc-uc-art { width: auto; min-height: 0; height: 96px; border-right: 0; border-bottom: 1px solid var(--btc-surface-2); }
  .btc-uc--wide .btc-uc-body { padding-top: 14px; justify-content: flex-start; }
  .btc-jc { padding: 16px; }
  .btc-jc .btc-ipbar { align-self: stretch; }
  .btc-jc .btc-ipbar:not(.btc-ipbar--static) { width: 100%; }
  .btc-jc .btc-ipbar:not(.btc-ipbar--static) .btc-ipbar-text { flex: 1; }
  .btc-steps { grid-template-columns: 1fr; }
  .btc-ipbar--static { font-size: 12.5px; }
  .btc-ipbar--static .btc-ipbar-tag { padding: 0 8px; }
  .btc-ipbar--static .btc-ipbar-text { padding: 0 8px; }
  .btc-box { padding: 16px; }
  .btc-box-cta { min-height: 44px; width: 100%; }
  .btc-box-link, .btc-rw-link { min-height: 44px; }
}
@media (max-height: 760px) and (min-width: 992px) {
  .btc-hero--v2 .btc-scroll-indicator { display: none; }
}

/* ─── Mouvement reduit ───────────────────────────────────────────── */
/* Vapeur, nuages, flottement, curseur du machine a ecrire, pulsation : tout s'arrete.
   Les icones motion ont leur propre coupure (btc-motion-icons.css). */
@media (prefers-reduced-motion: reduce) {
  .btc-snap-container { scroll-behavior: auto; }
  [data-reveal] { transition: none !important; opacity: 1 !important; transform: none !important; }
  .btc-vapeur { display: none; }
  .btc-hero-emb, .btc-cl, .btc-led--live[data-state="up"], .btc-hero--v2 .btc-scroll-indicator,
  .btc-hero--v2 .btc-typewriter-cursor, .btc-hero--v2 .btc-hero-text,
  .btc-uc-art [class*="a-"] { animation: none !important; }
  .btc-hero--v2 .btc-scroll-indicator { transform: translateX(-50%); }
  #btc-particles { display: none; }
  .btc-ipbar, .btc-ipbar-act, .btc-uc { transition: none; }
}

/* ─── Accessibilite (7.20) ──────────────────────────────────────────── */
/* Cibles de 44 px au toucher ; le titre d'une actualite grandit par son remplissage (marge negative :
   la carte garde sa hauteur). */
@media (max-width: 768px), (pointer: coarse) {
  .btc-uc-link, .btc-box-link, .btc-rw-link { min-height: 44px; }
  .btc-nc-title { display: inline-block; padding-block: 13px; margin-block: -13px; }
}