/* Vers le Digital — charte : bleu #1BA6D7, vert #8CC34C, gris-bleu #354D56 */
:root {
  --bleu: #1BA6D7;
  --bleu-fonce: #0f7fa8;
  --vert: #8CC34C;
  --ardoise: #354D56;
  --encre: #22323a;
  --doux: #5a707a;
  --fond: #f5fafc;
  --ligne: #dbe9ef;
  --blanc: #ffffff;
  --rayon: 14px;
  --ombre: 0 10px 30px rgba(53, 77, 86, .10);
  --titre: 'Raleway', system-ui, sans-serif;
  --texte: 'Source Sans 3', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-wrap: break-word; font-family: var(--texte); font-size: 1.125rem; line-height: 1.6; color: var(--encre); background: var(--blanc); }
img { max-width: 100%; height: auto; }
a { color: var(--bleu-fonce); }
h1, h2, h3 { font-family: var(--titre); color: var(--ardoise); line-height: 1.2; }
/* Raleway dessine les chiffres « à l'ancienne » par défaut : on les aligne */
body, h1, h2, h3, .marque, .carte-tuto__titre, .situation strong, .etapes li::before { font-variant-numeric: lining-nums; font-feature-settings: 'lnum' 1; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; margin: .2em 0 .3em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin: 0 0 .4em; }
h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 .25em; }
.conteneur { width: min(1120px, 100% - 32px); margin-inline: auto; }
.conteneur--etroit { width: min(760px, 100% - 32px); }
.saut { position: absolute; left: -9999px; }
.saut:focus { left: 16px; top: 16px; z-index: 99; background: var(--blanc); padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ligne); }
.entete__ligne { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.marque img { width: 44px; height: 44px; object-fit: contain; }
.marque { display: inline-flex; align-items: center; gap: 10px; font-family: var(--titre); font-weight: 800; font-size: 1.2rem; color: var(--ardoise); text-decoration: none; }
.marque--clair { color: var(--blanc); }
.menu { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.menu a:not(.bouton) { color: var(--ardoise); text-decoration: none; font-weight: 600; padding: 6px 2px; border-bottom: 2px solid transparent; }
.menu a:not(.bouton):hover, .menu a[aria-current="page"] { border-color: var(--bleu); }

/* Boutons */
.bouton { display: inline-block; padding: 13px 22px; border-radius: 10px; background: var(--bleu); color: var(--blanc); font-weight: 700; text-decoration: none; border: 2px solid var(--bleu); transition: transform .15s, background .15s; }
.bouton:hover { background: var(--bleu-fonce); border-color: var(--bleu-fonce); transform: translateY(-1px); }
.bouton--contour { background: transparent; color: var(--bleu-fonce); }
.bouton--contour:hover { background: #e9f6fb; color: var(--bleu-fonce); }
.bouton--blanc { background: var(--blanc); color: var(--ardoise); border-color: var(--blanc); }
.bouton--blanc:hover { background: #eef6f8; border-color: #eef6f8; }
.bouton--petit { padding: 8px 14px; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.actions--centre { justify-content: center; }

/* Héros */
.hero { background: linear-gradient(180deg, #e7f6fc 0%, var(--blanc) 100%); padding: clamp(40px, 7vw, 90px) 0 40px; }
.hero__grille { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.hero h1 span { color: var(--bleu); display: block; }
.hero__texte { font-size: 1.25rem; color: var(--doux); max-width: 34em; }
.surtitre { text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; font-weight: 700; color: var(--vert); margin: 0; }
.hero__visuel { position: relative; display: grid; place-items: center; min-height: 280px; }
.hero__visuel img { width: 220px; filter: drop-shadow(0 18px 30px rgba(27, 166, 215, .25)); animation: flotte 6s ease-in-out infinite; }
.hero__video { width: min(100%, 380px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 28px; box-shadow: 0 24px 50px rgba(27, 166, 215, .28); background: #e7f6fc; }
.bulle { position: absolute; background: var(--blanc); border-radius: 999px; padding: 8px 14px; font-weight: 700; box-shadow: var(--ombre); color: var(--ardoise); font-size: .95rem; }
.bulle--1 { top: 10%; left: 4%; }
.bulle--2 { top: 22%; right: 0; }
.bulle--3 { bottom: 10%; left: 18%; }
@keyframes flotte { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero__visuel img { animation: none; } html { scroll-behavior: auto; } }

/* Blocs */
.bloc { padding: clamp(40px, 6vw, 72px) 0; }
.bloc--clair { background: var(--fond); }
.bloc--entete { padding-top: 40px; }
.intro { color: var(--doux); font-size: 1.2rem; margin-top: 0; }
.titre-ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.titre-ligne a { font-weight: 700; }
.centre { text-align: center; }
.grand-emoji { font-size: 4rem; margin: 0; }

/* Situations */
.grille-situations { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 16px; margin-top: 24px; }
.situation { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--rayon); background: var(--blanc); border: 1px solid var(--ligne); border-top: 5px solid var(--couleur); text-decoration: none; color: var(--encre); box-shadow: var(--ombre); transition: transform .15s; }
.situation:hover { transform: translateY(-3px); }
.situation__icone { font-size: 2rem; }
.situation strong { font-family: var(--titre); font-size: 1.15rem; color: var(--ardoise); }
.situation span { color: var(--doux); font-size: 1rem; }
.situation .situation__nb { margin-top: auto; color: var(--bleu-fonce); font-weight: 700; }

/* Cartes de tuto */
.grille-tutos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 18px; margin-top: 24px; }
.carte-tuto { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--rayon); background: var(--blanc); border: 1px solid var(--ligne); text-decoration: none; color: var(--encre); box-shadow: var(--ombre); transition: transform .15s, box-shadow .15s; position: relative; overflow: hidden; }
.carte-tuto::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--couleur); }
.carte-tuto:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(53, 77, 86, .16); }
.carte-tuto__icone { font-size: 2rem; }
.carte-tuto__meta { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--couleur); }
.carte-tuto__titre { font-family: var(--titre); font-weight: 800; font-size: 1.2rem; color: var(--ardoise); line-height: 1.25; }
.carte-tuto__resume { color: var(--doux); font-size: 1rem; }
.carte-tuto__lien { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--bleu-fonce); }
.carte-tuto[hidden] { display: none; }

/* Filtres */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; }
.filtre { font: inherit; font-weight: 600; font-size: 1rem; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--ligne); background: var(--blanc); color: var(--ardoise); cursor: pointer; }
.filtre[aria-pressed="true"] { background: var(--ardoise); border-color: var(--ardoise); color: var(--blanc); }
.vide { color: var(--doux); }

/* Espace VR */
.vr { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; background: linear-gradient(135deg, #e3f5fc, #eef8e4); border-radius: 22px; padding: clamp(24px, 4vw, 48px); }
.vr__visuel { display: grid; place-items: center; font-size: clamp(5rem, 14vw, 9rem); }
.etapes-courtes { padding-left: 1.2em; color: var(--doux); }
.etapes-courtes li { margin-bottom: 4px; }

/* Puces (glossaire) */
.puces { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.puce { padding: 6px 14px; border-radius: 999px; background: var(--blanc); border: 1px solid var(--ligne); color: var(--ardoise); text-decoration: none; font-weight: 600; }
.puce:hover { border-color: var(--bleu); }
.puce--plus { background: var(--bleu); color: var(--blanc); border-color: var(--bleu); }

/* Appel */
.appel { background: var(--ardoise); color: #e6eef1; border-radius: 22px; padding: clamp(28px, 5vw, 56px); text-align: center; }
.appel h2 { color: var(--blanc); }
.appel p { max-width: 40em; margin: 0 auto 20px; }

/* Page de tuto */
.tuto { padding: 32px 0 56px; }
.fil { font-size: .95rem; color: var(--doux); }
.fil a { color: var(--doux); }
.badge { display: inline-block; margin: 18px 0 0; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--couleur) 14%, white); color: var(--ardoise); font-weight: 700; font-size: .95rem; }
.tuto__resume { font-size: 1.3rem; color: var(--doux); }
.encart { background: var(--fond); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 18px 22px; margin: 24px 0; }
.encart h2 { font-size: 1.15rem; margin-bottom: .3em; }
.encart ul { margin: 0; padding-left: 1.2em; }
.etapes { list-style: none; counter-reset: etape; padding: 0; margin: 32px 0; }
.etapes li { counter-increment: etape; position: relative; padding: 0 0 26px 64px; }
.etapes li::before { content: counter(etape); position: absolute; left: 0; top: -2px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--couleur); color: var(--blanc); font-family: var(--titre); font-weight: 800; font-size: 1.2rem; }
.etapes li:not(:last-child)::after { content: ''; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 2px; background: var(--ligne); }
.etapes p { margin: 0; }
.astuce { background: #f1f9e8; border-left: 5px solid var(--vert); border-radius: 0 var(--rayon) var(--rayon) 0; padding: 16px 20px; }
.astuce p { margin: 4px 0 0; }
.video { aspect-ratio: 16 / 9; background: var(--ardoise); border-radius: var(--rayon); overflow: hidden; margin: 24px 0; }
.video iframe { width: 100%; height: 100%; border: 0; }
.video__bouton { width: 100%; height: 100%; border: 0; background: radial-gradient(circle, #46646f, var(--ardoise)); color: var(--blanc); font: inherit; font-size: 1.4rem; font-weight: 700; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.video__bouton small { font-size: .85rem; font-weight: 400; opacity: .8; }

/* Glossaire */
.glossaire { margin: 0; }
.terme { padding: 18px 0; border-bottom: 1px solid var(--ligne); scroll-margin-top: 90px; }
.terme dt { font-family: var(--titre); font-weight: 800; font-size: 1.25rem; color: var(--ardoise); }
.terme dd { margin: 4px 0 0; }
.terme:target { background: #eef8fc; }

/* Outils */
.grille-outils { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 14px; margin: 16px 0 36px; }
.outil { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--rayon); border: 1px solid var(--ligne); background: var(--blanc); text-decoration: none; color: var(--encre); }
.outil:hover { border-color: var(--bleu); }
.outil strong { color: var(--ardoise); font-family: var(--titre); }
.outil span { color: var(--doux); font-size: 1rem; }
.outil small { color: var(--bleu-fonce); margin-top: auto; }

/* Texte long */
.texte-long h2 { font-size: 1.3rem; margin-top: 1.6em; }

/* Pied de page */
.pied { background: var(--ardoise); color: #cfdde2; padding: 48px 0 24px; margin-top: 0; }
.pied__grille { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.pied nav { display: flex; flex-direction: column; gap: 8px; }
.pied a { color: #e9f3f6; }
.pied__signature { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 18px; margin-top: 32px; font-size: .95rem; }

@media (max-width: 760px) {
  .hero__grille, .vr, .pied__grille { grid-template-columns: 1fr; }
  .hero__visuel { min-height: 200px; order: -1; }
  .hero__visuel img { width: 150px; }
  .menu { gap: 4px 14px; font-size: 1rem; }
  .vr__visuel { display: none; }
}

/* ───── Guides, quiz, outils filtrables, section Prépa numérique ───── */
.liste { padding-left: 1.2em; }
.liste li { margin-bottom: 8px; }
.guide__partie { margin-top: 32px; }
.guide__partie h2 { font-size: 1.45rem; }
.tableau { overflow-x: auto; margin: 12px 0; border: 1px solid var(--ligne); border-radius: var(--rayon); }
.tableau table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.tableau th, .tableau td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.tableau th { background: var(--fond); font-family: var(--titre); color: var(--ardoise); }
.tableau tr:last-child td { border-bottom: 0; }
.chiffres { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 14px; margin: 12px 0; }
.chiffre { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--rayon); background: #eef8fc; border: 1px solid var(--ligne); }
.chiffre strong { font-family: var(--titre); font-size: 2rem; color: var(--bleu-fonce); }
.chiffre small { color: var(--doux); }
.astuce--jaune { background: #fff7dd; border-left-color: #f2b705; }
.encart--quiz { background: #eef8fc; }
.badge--video { margin-top: 8px; }
.petit-texte { color: var(--doux); font-size: .95rem; }
.legende { color: var(--doux); font-size: 1rem; line-height: 2; }
.compteur { color: var(--doux); font-weight: 600; margin: 12px 0 0; }

/* Étiquettes IA */
.etiquette { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: .8rem; font-weight: 700; vertical-align: middle; white-space: nowrap; }
.etiquette--ia { background: #ece6fb; color: #4b2fa3; }
.etiquette--sans { background: #e3f4d3; color: #2f5d12; }
.etiquette--attention { background: #fde6cf; color: #8a3b00; }

/* Outils avec pastilles à initiales (pas de logos de marques) */
.outil { flex-direction: row; gap: 14px; align-items: flex-start; }
.outil[hidden] { display: none; }
.outil__corps { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.outil__corps strong { color: var(--ardoise); font-family: var(--titre); }
.outil__cat { color: var(--doux); font-size: .85rem; }
.outil__corps .etiquette { align-self: flex-start; }
.outil .outil__texte { color: var(--encre); font-size: 1rem; }
.outil .outil__cat { color: var(--doux); font-size: .85rem; }
.outil .outil__pastille { color: #fff; font-size: 1rem; }
.outil__pastille { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-family: var(--titre); font-weight: 800; color: #fff; background: var(--ardoise); }
.outil__pastille.c0 { background: #1b7fa8; } .outil__pastille.c1 { background: #354d56; } .outil__pastille.c2 { background: #5f8f2e; }
.outil__pastille.c3 { background: #6a4fbf; } .outil__pastille.c4 { background: #0e7f73; } .outil__pastille.c5 { background: #b4507a; }
.outil__pastille.c6 { background: #a86a00; } .outil__pastille.c7 { background: #2f62d9; } .outil__pastille.c8 { background: #c0392b; }

/* Quiz */
.quiz { margin-top: 24px; padding: 24px; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--fond); min-height: 120px; }
.quiz__etape { margin: 0; color: var(--doux); font-weight: 600; }
.quiz__question { font-size: 1.4rem; margin: 8px 0 16px; }
.quiz__reponses { display: grid; gap: 10px; }
.quiz__reponse { text-align: left; font: inherit; font-size: 1.1rem; padding: 14px 16px; border-radius: 10px; border: 2px solid var(--ligne); background: var(--blanc); color: var(--encre); cursor: pointer; }
.quiz__reponse:hover:not(:disabled) { border-color: var(--bleu); }
.quiz__reponse:disabled { cursor: default; }
.quiz__reponse--juste { border-color: #3d8b1f; background: #e3f4d3; }
.quiz__reponse--faux { border-color: #c0392b; background: #fbe3e0; }
.quiz__explication { margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: #fff7dd; }
.quiz__explication.ok { background: #e9f6dc; }
.quiz__explication p { margin: 4px 0 12px; }
.quiz__resultat { text-align: center; }
.quiz__score { font-family: var(--titre); font-size: 3rem; font-weight: 800; color: var(--bleu-fonce); margin: 0; }

/* Section Prépa numérique : police très lisible, contrastes forts */
body.lisible { font-family: 'Atkinson Hyperlegible', var(--texte); font-size: 1.15rem; line-height: 1.7; color: #141c33; }
body.lisible .intro, body.lisible .prepa__intro, body.lisible .ressource span { color: #2b3550; }
.prepa__hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; margin-bottom: 24px; }
.prepa__intro { font-size: 1.2rem; max-width: 36em; }
.prepa__video { margin: 0; }
.prepa__video { justify-self: center; width: min(100%, 320px); }
.prepa__video video { width: 100%; max-height: 70vh; border-radius: var(--rayon); background: #000; }
.prepa__video figcaption { text-align: center; color: #2b3550; font-weight: 700; margin-top: 6px; }
.grille-ressources { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 14px; margin: 16px 0 40px; }
.ressource { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--rayon); border: 2px solid var(--ligne); background: var(--blanc); text-decoration: none; color: #141c33; }
.ressource:hover { border-color: var(--bleu); }
.ressource__icone { font-size: 1.8rem; }
.ressource strong { font-family: var(--titre); font-size: 1.15rem; }
.seances { display: grid; gap: 10px; margin: 16px 0 32px; }
.seance { border: 2px solid var(--ligne); border-radius: var(--rayon); background: var(--blanc); }
.seance summary { cursor: pointer; padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.seance summary span { color: #2b3550; }
.seance[open] summary { border-bottom: 1px solid var(--ligne); }
.seance__corps { padding: 6px 18px 14px; }
.a-venir { color: var(--doux); font-style: italic; }
.prepa__bruno { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--rayon); background: var(--fond); }
.prepa__bruno img { border-radius: 50%; object-fit: cover; }
@media (max-width: 760px) { .prepa__hero { grid-template-columns: 1fr; } .prepa__video video { max-height: 60vh; } }
@media (prefers-reduced-motion: reduce) { .carte-tuto, .situation, .bouton { transition: none; } .carte-tuto:hover, .situation:hover, .bouton:hover { transform: none; } }

/* Vidéos recommandées */
.grille-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 18px; margin-top: 24px; }
.video-carte { display: flex; flex-direction: column; border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; background: var(--blanc); box-shadow: var(--ombre); }
.video-carte[hidden] { display: none; }
.video-carte .video { margin: 0; border-radius: 0; }
.video-carte .video__bouton { font-size: 2.4rem; }
.video-carte__corps { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.video-carte__corps h3 { margin: 0; }
.video-carte__corps p { margin: 0; color: var(--doux); font-size: 1rem; }
.video-carte__meta { font-size: .85rem !important; font-weight: 700; color: var(--bleu-fonce) !important; }
.video-carte__fiche { margin-top: auto; padding-top: 6px; font-weight: 700; }

/* Logos des outils (icônes publiques, hébergées sur le site) */
.outil__pastille--logo { background: #fff !important; border: 1px solid var(--ligne); padding: 6px; }
.outil__pastille--logo img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Portrait animé de Bruno (rond) */
.portrait-vivant { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 16px; border: 4px solid rgba(255, 255, 255, .85); background: #1d2a30; }
.portrait-vivant--petit { width: 96px; height: 96px; margin: 0; border-color: var(--blanc); box-shadow: var(--ombre); }
.bulle { z-index: 1; }
@media (max-width: 760px) { .hero__video { width: min(100%, 260px); } }

/* ═════════════════════════════════════════════════════════════════════
   Mise en page 2026 — inspirée du DESIGN.md « Airbnb » (awesome-design-md) :
   fond blanc, encre presque noire, UNE couleur d'action (le bleu de la charte),
   titres sobres, photos qui portent la page, cartes arrondies (14 px),
   boutons 8 px, filtres en pilules, une seule ombre (au survol).
   ═════════════════════════════════════════════════════════════════════ */
:root {
  --encre: #222222;
  --texte-corps: #3f3f3f;
  --doux: #6a6a6a;
  --ligne: #ebebeb;
  --ligne-forte: #dddddd;
  --fond: #f7f7f7;
  --rayon: 14px;
  --ombre: none;
  --ombre-survol: rgba(0, 0, 0, .02) 0 0 0 1px, rgba(0, 0, 0, .04) 0 2px 6px 0, rgba(0, 0, 0, .1) 0 4px 8px 0;
}
body { font-size: 1.0625rem; color: var(--texte-corps); }
h1, h2, h3, .carte-tuto__titre, .situation strong, .terme dt { color: var(--encre); }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.75rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 700; }
.conteneur { width: min(1240px, 100% - 32px); }
.intro { font-size: 1.1rem; }

/* En-tête : blanc, 76 px, filet fin */
.entete { background: #fff; backdrop-filter: none; border-bottom: 1px solid var(--ligne); }
.entete__ligne { min-height: 76px; }
.menu a:not(.bouton) { color: var(--encre); font-weight: 500; }
.menu a:not(.bouton):hover, .menu a[aria-current="page"] { border-color: var(--encre); }

/* Boutons : 8 px, 48 px de haut, sans saut */
.bouton { border-radius: 8px; min-height: 48px; padding: 12px 24px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; border-width: 1px; }
.bouton:hover { transform: none; }
.bouton--contour { background: #fff; color: var(--encre); border-color: var(--encre); }
.bouton--contour:hover { background: var(--fond); color: var(--encre); }

/* Héros : blanc, recherche en pilule, collage de photos */
.hero { background: #fff; padding: clamp(32px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); }
.hero__grille { grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 56px); }
.hero h1 span { color: var(--bleu-fonce); }
.hero__texte { color: var(--doux); font-size: 1.15rem; }
.surtitre { color: var(--bleu-fonce); letter-spacing: .06em; font-size: .8rem; }
.hero__liens { color: var(--doux); font-size: 1rem; margin: 14px 4px 0; }
.hero__liens a { color: var(--encre); font-weight: 600; }

.recherche-pill { display: flex; align-items: center; gap: 8px; max-width: 560px; margin-top: 26px; padding: 8px 8px 8px 26px; border-radius: 999px; background: #fff; box-shadow: var(--ombre-survol); }
.recherche-pill__champ { flex: 1; display: flex; flex-direction: column; min-width: 0; cursor: text; }
.recherche-pill__champ small { font-size: .75rem; font-weight: 700; color: var(--encre); letter-spacing: .02em; }
.recherche-pill__champ input { border: 0; outline: 0; padding: 2px 0; font: inherit; font-size: 1rem; color: var(--encre); background: transparent; min-width: 0; }
.recherche-pill__champ input::placeholder { color: var(--doux); }
.recherche-pill:focus-within { outline: 3px solid color-mix(in srgb, var(--bleu) 45%, transparent); }
.recherche-pill__orbe { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--bleu); color: #fff; cursor: pointer; }
.recherche-pill__orbe:hover { background: var(--bleu-fonce); }
.recherche-pill--page { margin: 18px 0 16px; }

.collage { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 5 / 4; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--rayon); display: block; background: var(--fond); }
.collage .collage__grand { grid-row: span 2; }
.collage .bulle { box-shadow: var(--ombre-survol); font-weight: 600; color: var(--encre); }
.collage .bulle--1 { top: 18px; left: 18px; }
.collage .bulle--2 { top: auto; bottom: 18px; right: auto; left: calc(57% + 18px); }

/* Sections */
.bloc { padding: clamp(40px, 6vw, 64px) 0; }
.bloc--clair { background: var(--fond); }
.titre-ligne a { color: var(--encre); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* « Vous voulez… » : cartes photo */
.grille-situations { grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 24px 16px; }
.situation { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; gap: 4px; }
.situation:hover { transform: none; }
.situation__photo { position: relative; display: block; border-radius: var(--rayon); overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 10px; background: var(--fond); transition: box-shadow .2s; }
.situation__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.situation:hover .situation__photo { box-shadow: var(--ombre-survol); }
.situation:hover .situation__photo img { transform: scale(1.03); }
.situation .situation__icone { position: absolute; top: 12px; left: 12px; font-size: 1rem; background: #fff; border-radius: 999px; padding: 4px 10px; box-shadow: var(--ombre-survol); }
.situation strong { font-size: 1.05rem; font-weight: 700; }
.situation span { font-size: .98rem; }
.situation .situation__nb { color: var(--encre); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; margin-top: 2px; }

/* Cartes de tuto : surface douce, sans bordure, ombre au survol */
.grille-tutos { gap: 16px; }
.carte-tuto { border: 0; background: #fff; box-shadow: 0 0 0 1px var(--ligne); }
.bloc--clair .carte-tuto { box-shadow: none; }
.carte-tuto::before { height: 4px; }
.carte-tuto:hover { transform: none; box-shadow: var(--ombre-survol); }
.carte-tuto__titre { font-weight: 700; font-size: 1.12rem; }
.carte-tuto__lien { color: var(--encre); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* Filtres en pilules */
.filtre { border: 1px solid var(--ligne-forte); font-weight: 500; color: var(--encre); }
.filtre:hover { border-color: var(--encre); }
.filtre[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); }

/* Glossaire, encarts */
.puce { border-color: var(--ligne-forte); color: var(--encre); font-weight: 500; }
.puce--plus { background: var(--encre); border-color: var(--encre); color: #fff; }
.encart, .encart--quiz { background: var(--fond); border: 0; }

/* Espace VR */
.vr { background: var(--fond); border-radius: 20px; }

/* Appel : photo + texte, clair */
.appel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; background: transparent; color: var(--texte-corps); text-align: left; padding: 0; border-radius: 0; }
.appel h2 { color: var(--encre); }
.appel p { margin: 0 0 20px; }
.appel__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon); display: block; }

/* Pied de page clair */
.pied { background: var(--fond); color: var(--texte-corps); border-top: 1px solid var(--ligne); }
.pied a { color: var(--encre); }
.pied .marque--clair { color: var(--encre); }
.pied__signature { border-top-color: var(--ligne-forte); color: var(--doux); }

@media (max-width: 760px) {
  .hero__grille, .appel { grid-template-columns: 1fr; }
  .collage { order: -1; aspect-ratio: 4 / 3; }
  .recherche-pill { padding-left: 18px; }
}
@media (prefers-reduced-motion: reduce) { .situation__photo img { transition: none; } .situation:hover .situation__photo img { transform: none; } }
