/* Accueil : la vitrine. Les jetons de la maquette pointent sur ceux du site (site.css). */
body.vitrine {
  --encre: var(--bc-encre); --papier: var(--bc-papier); --papier-2: var(--bc-papier-2);
  --ambre: var(--bc-ambre); --champ: var(--bc-ambre-champ); --ambre-pale: var(--bc-ambre-pale); --ambre-encre: var(--bc-ambre-encre);
  --ciel: var(--bc-bleu-champ); --ciel-encre: var(--bc-bleu-encre); --menthe: var(--bc-vert-champ); --menthe-encre: var(--bc-vert-encre);
  --lilas: var(--bc-lilas-champ); --lilas-encre: var(--bc-lilas-encre);
  --gout: var(--gouttiere); --t-petit: var(--step-small); --t-texte: var(--step-body); --t-lead: var(--step-lead); --t-titre: var(--step-head);
  --ui: var(--police-ui); --sortie: var(--ease-out);
  /* l'en-tête prend la couleur du héros, qui change avec l'appel joué */
  --entete-fond: var(--champ);
}
body.vitrine[data-cas="recruteur"] { --entete-fond: var(--ciel); }
body.vitrine[data-cas="candidat"] { --entete-fond: var(--menthe); }
body.vitrine[data-cas="reunion"] { --entete-fond: var(--lilas); }
.vitrine main :is(h1, h2, h3) { margin: 0; }
.vitrine main p { margin: 0; }
.vitrine .titre { font-size: var(--t-titre); }
.vitrine .chapo { font-size: var(--t-lead); line-height: 1.3; font-weight: 500; max-width: 34ch; }
.vitrine .titre + .chapo { margin-top: 20px; }
.vitrine .partie { padding-block: var(--partie); }

/* ============ 1. Le nom, et un vrai appel qui se joue ============ */
.heros { --fond: var(--champ); --nom-1: var(--ambre-encre); background: var(--fond); transition: background-color 700ms var(--sortie); }
.heros[data-cas="recruteur"] { --fond: var(--ciel); --nom-1: var(--ciel-encre); }
.heros[data-cas="candidat"] { --fond: var(--menthe); --nom-1: var(--menthe-encre); }
.heros[data-cas="reunion"] { --fond: var(--lilas); --nom-1: var(--lilas-encre); }
.heros .grille { align-items: center; padding-block: clamp(24px, 4vw, 56px) var(--partie); row-gap: 48px; }
.heros-texte { grid-column: 1 / 7; container-type: inline-size; }
/* le nom se règle sur la largeur de sa colonne : il ne touche jamais la fenêtre */
.heros h1 { font-size: min(200px, 29cqi); line-height: 0.86; letter-spacing: -0.05em; }
.heros h1 .l { display: block; }
.heros h1 .l1 { color: var(--nom-1); transition: color 700ms var(--sortie); }
.heros .chapo { margin-top: 32px; max-width: 24ch; }
.choix { margin-top: 28px; display: none; }
.js .choix { display: block; }
.choix p { font-size: var(--t-petit); margin-bottom: 10px; }
.choix-boutons { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 28px; background: rgba(255,255,255,.6); }
.choix-boutons button { font: 500 16px/1.2 "Epilogue", sans-serif; border: 0; background: transparent; color: var(--encre); padding: 11px 16px; border-radius: 999px; cursor: pointer; transition: background-color 200ms, transform 200ms var(--sortie); }
.choix-boutons button:hover { background: rgba(255,255,255,.85); }
.choix-boutons button:active { transform: scale(.96); }
.choix-boutons button[aria-pressed="true"] { background: var(--bc-nuit); color: var(--papier); }
.action { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.action small { font-size: var(--t-petit); }
.heros-fenetre { grid-column: 7 / -1; display: flex; justify-content: flex-end; }

/* La fenêtre de l'appli (fragment d'interface : ses propres bords et son ombre de fenêtre) */
.fenetre { width: 100%; max-width: 470px; background: #F7F6F3; border-radius: 14px; font-family: var(--ui); color: #222; font-size: 14px;
  box-shadow: 0 24px 60px -24px rgba(40, 30, 0, .4), 0 0 0 1px rgba(0,0,0,.06); } /* taste-skill-ignore: fenêtre de l'appli */
.f-tete { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; }
.f-tete b { font-weight: 700; font-size: 15px; }
.f-logo { width: 24px; height: 24px; flex: none; }
.f-puce { border: 1px solid #DDD9D0; border-radius: 99px; padding: 3px 10px; font-size: 12px; color: #555; white-space: nowrap; } /* taste-skill-ignore: fenêtre de l'appli */
.f-onde { margin-left: auto; display: flex; gap: 3px; align-items: center; height: 16px; flex: none; }
.f-onde i { width: 3px; border-radius: 2px; background: var(--ambre); height: 4px; animation: onde 900ms ease-in-out infinite; }
.f-onde i:nth-child(2) { animation-delay: -200ms; } .f-onde i:nth-child(3) { animation-delay: -450ms; } .f-onde i:nth-child(4) { animation-delay: -650ms; }
@keyframes onde { 0%, 100% { height: 4px; } 50% { height: 15px; } }
.f-btn { border: 1px solid #DDD9D0; background: #fff; border-radius: 8px; padding: 4px 9px; font-size: 12px; white-space: nowrap; flex: none; } /* taste-skill-ignore: fenêtre de l'appli */
.f-onglets { display: flex; flex-wrap: wrap; gap: 0 20px; padding: 0 16px; border-bottom: 1px solid #E4E0D7; color: #666; } /* taste-skill-ignore: fenêtre de l'appli */
.f-onglets span { padding: 9px 2px; } .f-onglets .actif { color: #222; font-weight: 600; box-shadow: inset 0 -2px 0 var(--ambre); } /* taste-skill-ignore: fenêtre de l'appli */
.f-onglets em { font-style: normal; font-size: 11px; background: var(--ambre); color: #1B1C19; border-radius: 99px; padding: 1px 6px; margin-left: 4px; }
.f-etat { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; padding: 11px 16px; font-size: 12px; color: #666; }
.f-seg { display: inline-flex; border: 1px solid #DDD9D0; border-radius: 8px; padding: 2px; background: #fff; flex: none; } /* taste-skill-ignore: fenêtre de l'appli */
.f-seg span { padding: 2px 8px; border-radius: 6px; } .f-seg .on { background: #EFECE6; color: #222; }
.f-fil { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.carte { background: #fff; border: 1px solid #EAE6DD; border-radius: 12px; padding: 13px 15px; } /* taste-skill-ignore: fenêtre de l'appli */
.carte .q { font-size: 12.5px; color: #6B675F; font-weight: 600; line-height: 1.35; }
.carte .r { font-size: 15.5px; line-height: 1.45; margin-top: 7px; color: #222; }
.carte.repond .r small { animation: rebond 600ms cubic-bezier(.34,1.56,.64,1) 200ms both; }
@keyframes rebond { from { transform: scale(.4); opacity: 0; } }
.carte .r small { display: inline-block; font-size: 11px; font-weight: 700; color: #1F7A45; background: #E3F4EA; border-radius: 99px; padding: 1px 7px; margin-left: 4px; vertical-align: 1px; }
.carte.relance .r b { font-weight: 700; color: var(--ambre-encre); }
.carte.ia { background: #FBF3E6; border: 1px dashed #E9C68C; } /* taste-skill-ignore: fenêtre de l'appli */
.carte.ia .q { color: #8F5300; }
.carte .mot { opacity: 0; transition: opacity 120ms; } .carte .mot.dit { opacity: 1; }
.js-pret .fenetre .carte .r { opacity: 0; transform: translateY(8px); transition: opacity 360ms var(--sortie), transform 420ms var(--sortie); }
.js-pret .fenetre .carte.repond .r { opacity: 1; transform: none; }
.carte.nouvelle { animation: arrive 420ms var(--sortie); }
@keyframes arrive { from { opacity: 0; transform: translateY(-12px); } }
.f-bas { display: flex; align-items: center; gap: 10px; padding: 10px 14px 12px; border-top: 1px solid #E4E0D7; font-size: 12px; color: #555; } /* taste-skill-ignore: fenêtre de l'appli */
.f-bas .ce-qui { flex: 1; min-width: 0; min-height: 2.8em; line-height: 1.4; display: flex; align-items: center; }
.ecoute-curseur #f-dit::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: #1B1C19; animation: clignote 1s steps(1) infinite; }
@keyframes clignote { 50% { opacity: 0; } }
.f-bas .ce-qui b { font-weight: 400; color: #6B675F; margin-right: 6px; white-space: nowrap; }
.f-rep { background: var(--ambre); color: #1B1C19; font-weight: 700; border-radius: 9px; padding: 6px 12px; font-size: 13px; flex: none; }

/* ============ 2. Les vrais écrans, en entier ============ */
.ecrans .grille { row-gap: var(--bloc); align-items: start; }
.ecrans-texte { grid-column: 1 / 6; }
.onglets { display: grid; gap: 8px; margin-top: var(--bloc); }
.onglet { all: unset; box-sizing: border-box; display: block; cursor: pointer; padding: 18px 20px; border-radius: 16px; background: var(--papier-2); transition: background-color 250ms, transform 250ms var(--sortie); }
.onglet b { display: block; font-weight: 900; font-size: 20px; letter-spacing: -0.02em; }
.onglet span { display: block; font-size: 15px; line-height: 1.45; margin-top: 4px; }
.onglet:hover { transform: translateX(4px); }
.onglet[aria-selected="true"] { background: var(--teinte, var(--champ)); }
.onglet:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; }
.onglet { position: relative; overflow: hidden; }
.onglet .progres { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: rgba(27,28,25,.55); transform: scaleX(0); transform-origin: left; }
@media (prefers-reduced-motion: no-preference) {
  .ecrans.auto.en-vue .onglet[aria-selected="true"] .progres { animation: progres 6s linear forwards; }
  .ecrans.auto.en-vue:hover .onglet[aria-selected="true"] .progres, .ecrans.auto.en-vue:focus-within .onglet[aria-selected="true"] .progres { animation-play-state: paused; }
}
@keyframes progres { to { transform: scaleX(1); } }
.ecran-cadre { grid-column: 7 / -1; justify-self: end; width: 100%; max-width: 440px; }
.ecran-image { position: relative; aspect-ratio: 1040 / 1720; border-radius: 18px; background: #F7F6F3;
  overflow: hidden; }
.ecran-image img { position: absolute; inset: 0 0 auto 0; width: 100%; height: auto; opacity: 0; transition: opacity 450ms var(--sortie); }
.ecran-image img.montre { opacity: 1; }
.ecran-legende { margin-top: 14px; font-size: var(--t-petit); }

/* ============ 2 bis. À toi de jouer le client ============ */
.essai { background: var(--menthe); }
.essai .grille { row-gap: var(--bloc); align-items: center; }
.essai-texte { grid-column: 1 / 6; }
.suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--bloc); }
.suggestions button { font: 500 15px/1.3 "Epilogue", sans-serif; color: var(--encre); background: rgba(255,255,255,.7); border: 0; border-radius: 999px; padding: 10px 16px; cursor: pointer; text-align: left;
  transition: background-color 200ms, transform 200ms var(--sortie); }
.suggestions button:hover { background: #fff; transform: translateY(-2px); }
.suggestions button:active { transform: scale(.97); }
.suggestions button[aria-pressed="true"] { background: var(--bc-nuit); color: var(--papier); }
.essai-appli { grid-column: 7 / -1; background: #F7F6F3; border-radius: 18px; padding: 18px; font-family: var(--ui); color: #222;
  box-shadow: 0 24px 60px -28px rgba(10, 60, 30, .45); } /* taste-skill-ignore: fenêtre de l'appli */
.essai-champ { display: block; }
.essai-champ span { display: block; font-size: 13px; color: #555; margin-bottom: 6px; }
.essai-champ input { width: 100%; font: 17px var(--ui); padding: 13px 15px; border: 1px solid #D7D3CA; border-radius: 12px; background: #fff; color: #222; } /* taste-skill-ignore: champ de formulaire */
.essai-champ input:focus { outline: 2px solid var(--ambre); border-color: transparent; }
.essai-sortie { margin-top: 12px; min-height: 172px; display: grid; }
.essai-sortie .carte { animation: arrive 420ms var(--sortie); }
.essai-sortie .r { font-size: 17px; }
.essai-vide .q, .essai-vide .r { color: #7A766D; }
.carte.sans-fiche { background: #FBF3E6; border: 1px dashed #E9C68C; } /* taste-skill-ignore: fenêtre de l'appli */
.carte.sans-fiche .q { color: #8F5300; }
.essai-note { margin-top: 12px; font-size: 12.5px; color: #6B675F; }

/* ============ 3. Les avantages, en gros plans ============ */
.avantages { background: var(--papier-2); }
.avantages .titre { margin-bottom: var(--bloc); }
.tuiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); gap: 16px;
  grid-template-areas: "a a b c" "a a b d" "e f f g"; }
.tuile { border-radius: var(--rayon); background: var(--fond, var(--papier)); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-width: 0; }
.tuile .leg b { display: block; font-weight: 500; font-size: 17px; line-height: 1.25; }
.tuile .leg span { display: block; font-size: var(--t-petit); line-height: 1.4; margin-top: 3px; }
.t-a { grid-area: a; --fond: var(--ambre-pale); } .t-b { grid-area: b; --fond: var(--ciel); } .t-c { grid-area: c; --fond: var(--bc-nuit); color: var(--papier); }
.t-d { grid-area: d; --fond: var(--menthe); } .t-e { grid-area: e; --fond: var(--champ); } .t-f { grid-area: f; --fond: var(--papier); } .t-g { grid-area: g; --fond: var(--ciel); }
.mini { font-family: var(--ui); display: grid; gap: 10px; }
.mini .carte .r { font-size: 15px; }
.grille-app .g-titre { font-size: 13px; font-weight: 600; color: #5B49B8; margin-top: 8px; }
.grille-app .r { font-size: 14px; margin-top: 6px; }
.grille-app .suivi { font-size: 12.5px; color: #1F7A45; font-weight: 600; margin-top: 10px; }
.debrief { display: flex; align-items: center; gap: 14px; }
.debrief svg { width: 54px; height: 54px; flex: none; }
.debrief b { display: block; font-size: 15px; font-weight: 700; }
.debrief small { font-size: 12px; color: #6B675F; }
.a-faire { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; background: #fff; border: 1px solid #EAE6DD; border-radius: 10px; padding: 10px 12px; } /* taste-skill-ignore: fenêtre de l'appli */
.a-faire i { width: 16px; height: 16px; border: 1.5px solid #8C877D; border-radius: 4px; flex: none; margin-top: 2px; } /* taste-skill-ignore: case à cocher */
.gros-chiffre { font-size: 92px; font-weight: 900; letter-spacing: -0.05em; line-height: .9; color: var(--champ); }
:where(button.interrupteur-ligne) { all: unset; }
button.interrupteur-ligne { cursor: pointer; border-radius: 99px; }
button.interrupteur-ligne:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; }
.interrupteur-ligne { display: flex; align-items: center; gap: 12px; font-family: var(--ui); font-size: 15px; color: #2C2A26; }
.interrupteur { display: block; width: 84px; height: 46px; border-radius: 99px; background: #fff; position: relative; flex: none; }
.interrupteur::after { content: ""; position: absolute; width: 34px; height: 34px; border-radius: 50%; background: #A9A49A; top: 6px; left: 6px; transition: left 300ms var(--sortie), background-color 300ms; }
[aria-checked="true"] .interrupteur::after { left: calc(100% - 40px); background: #1F9D55; }
.visios { display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--ui); font-size: 14px; }
.visios span { background: #fff; padding: 6px 12px; border-radius: 99px; }
.etat-ligne { display: flex; align-items: center; gap: 10px; font-family: var(--ui); font-size: 15px; color: #2C2A26; background: #fff; border-radius: 12px; padding: 12px 14px; }
.etat-ligne i { width: 12px; height: 12px; border-radius: 50%; background: #1F9D55; flex: none; }

/* ============ 4. Avant, pendant, après ============ */
.etapes { background: var(--ciel); }
.etapes .titre { margin-bottom: var(--bloc); }
.barre-etapes { display: flex; gap: 16px; align-items: stretch; }
.seg { border-radius: var(--rayon); padding: 26px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.seg h3 { font-size: var(--t-lead); letter-spacing: -0.02em; line-height: 1.1; }
.seg p { font-size: 16px; line-height: 1.45; }
.seg-1 { flex: 1.1; background: var(--champ); } .seg-2 { flex: 2.2; background: var(--papier); } .seg-3 { flex: 1; background: var(--menthe); }
.ecoute { margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 14px; font-family: var(--ui); font-size: 14px; color: #555; }
.ecoute .f-onde { margin-left: 0; height: 34px; gap: 5px; }
.ecoute .f-onde i { width: 5px; }
@keyframes onde-grande { 0%, 100% { height: 6px; } 50% { height: 32px; } }
.ecoute .f-onde i { animation-name: onde-grande; }

/* ============ 5. Phrases ou mots-clés ============ */
.reglage { --fond: var(--ambre); background: var(--fond); transition: background-color 600ms var(--sortie); }
.reglage.mots { --fond: var(--ciel); }
.reglage .grille { align-items: center; row-gap: var(--bloc); }
.reglage-texte { grid-column: 1 / 6; }
.reglage-texte .chapo { margin-top: 20px; }
.geant { grid-column: 7 / -1; font-family: var(--ui); }
.g-seg { display: inline-flex; flex-wrap: wrap; padding: 5px; border-radius: 16px; background: #fff; gap: 4px; }
.g-seg button { font: 400 clamp(22px, 1rem + 1.4vw, 34px)/1.2 var(--ui); border: 0; background: transparent; padding: 10px 22px; border-radius: 12px; cursor: pointer; color: #555; transition: background-color 250ms, color 250ms, transform 200ms var(--sortie); }
.g-seg button:active { transform: scale(.97); }
.g-seg button[aria-pressed="true"] { background: #EFECE6; color: #1B1C19; }
.g-carte { margin-top: 16px; background: #fff; border-radius: 18px; padding: 22px 26px; }
.g-carte .q { font-size: 14px; color: #6B675F; font-weight: 600; }
.g-carte .r { font-size: clamp(18px, 0.9rem + 0.5vw, 22px); line-height: 1.5; margin-top: 8px; color: #222; }
.g-carte ol { margin: 8px 0 0; padding-left: 1.3em; font-size: clamp(19px, 0.9rem + 0.7vw, 25px); line-height: 1.55; font-weight: 600; color: #222; }
.mots-seuls { display: none; } .reglage.mots .mots-seuls { display: block; } .reglage.mots .phrase-entiere { display: none; }

/* ============ 7. Les questions ============ */
.faq-tete { background: var(--champ); padding-block: var(--partie) 40px; }
.bande { padding-block: 44px; background: var(--papier); }
.bande:nth-child(even) { background: var(--papier-2); }
.bande .grille { row-gap: 12px; }
.bande h3 { grid-column: 1 / 6; font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; }
.bande p { grid-column: 7 / -1; }

/* ============ 8. Le premier écran, déjà ouvert ============ */
.depart { background: var(--ciel); }
.depart .grille { align-items: center; row-gap: var(--bloc); }
.depart-texte { grid-column: 1 / 7; }
.depart .chapo { margin-top: 20px; }
.dialogue { grid-column: 8 / -1; justify-self: end; width: 100%; max-width: 460px; background: #fff; border-radius: 18px; padding: 26px; font-family: var(--ui); color: #222;
  box-shadow: 0 30px 70px -28px rgba(25, 40, 90, .45); } /* taste-skill-ignore: fenêtre de l'appli */
.dialogue h3 { font: 700 19px/1.3 var(--ui); letter-spacing: 0; }
.dialogue label { display: block; font-size: 13px; color: #555; margin: 16px 0 6px; }
.dialogue input { width: 100%; font: 16px var(--ui); padding: 11px 13px; border: 1px solid #D7D3CA; border-radius: 10px; background: #FBFAF7; } /* taste-skill-ignore: champ de formulaire */
.dialogue input:focus { outline: 2px solid var(--ambre); border-color: transparent; }
.d-seg { display: flex; flex-wrap: wrap; border: 1px solid #DDD9D0; border-radius: 10px; padding: 3px; gap: 2px; } /* taste-skill-ignore: fenêtre de l'appli */
.d-seg button { flex: 1 1 auto; font: 14px var(--ui); border: 0; background: transparent; padding: 9px 8px; border-radius: 8px; cursor: pointer; color: #555; }
.d-seg button[aria-pressed="true"] { background: #EFECE6; color: #1B1C19; font-weight: 600; }
.d-apercu { margin-top: 16px; padding: 11px 13px; background: #F7F6F3; border-radius: 10px; font-size: 13px; color: #555; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.d-apercu .f-puce { background: #fff; color: #333; white-space: normal; }
.dialogue .bouton { width: 100%; margin-top: 18px; }
.dialogue small { display: block; text-align: center; margin-top: 10px; font-size: 13px; color: #666; }
.dialogue .deux-systemes { margin-top: 18px; }
.dialogue .deux-systemes .bouton { margin-top: 0; }

/* ============ Mouvement ============ */
@media (prefers-reduced-motion: no-preference) {
  .js [data-in] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--sortie), transform 800ms var(--sortie); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-in].vu { opacity: 1; transform: none; }
  .js .heros h1 .l { animation: parait 900ms var(--sortie) both; } .js .heros h1 .l2 { animation-delay: 110ms; }
  .js .apres-titre { animation: parait 700ms var(--sortie) 500ms both; }
  .js .fenetre { animation: parait 1000ms var(--sortie) 300ms both; }
  /* la barre se remplit de gauche à droite */
  .js .barre-etapes .seg { clip-path: inset(0 100% 0 0 round 20px); transition: clip-path 1000ms var(--sortie); }
  .js .barre-etapes.vu .seg { clip-path: inset(0 0 0 0 round 20px); }
  .js .barre-etapes.vu .seg-2 { transition-delay: 300ms; } .js .barre-etapes.vu .seg-3 { transition-delay: 600ms; }
  /* les mots-clés arrivent un par un */
  .reglage.mots .mots-seuls li { animation: parait 500ms var(--sortie) both; }
  .reglage.mots .mots-seuls li:nth-child(2) { animation-delay: 110ms; } .reglage.mots .mots-seuls li:nth-child(3) { animation-delay: 220ms; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tuile { transition: transform 400ms var(--sortie); }
  .tuile:hover { transform: translateY(-4px); }
  .heros-fenetre { transition: transform 500ms var(--sortie); }
}
@media (prefers-reduced-motion: reduce) { .carte.repond .r small, .essai-sortie .carte { animation: none; } }
@keyframes parait { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (min-width: 961px) { .t-a .mini { gap: 14px; } .t-a .carte { padding: 18px 20px; } .t-a .carte .q { font-size: 15px; } .t-a .carte .r { font-size: 21px; line-height: 1.4; margin-top: 10px; } }
/* ============ Ordinateur étroit ============ */
@media (max-width: 1180px) {
  .f-btn.pause { display: none; }
}
/* ============ Tablette ============ */
@media (max-width: 960px) {
  .heros-texte, .heros-fenetre, .ecrans-texte, .ecran-cadre, .reglage-texte, .geant, .depart-texte, .dialogue, .essai-texte, .essai-appli { grid-column: 1 / -1; }
  .heros-fenetre, .ecran-cadre, .dialogue { justify-self: start; justify-content: flex-start; }
  .onglets { grid-template-columns: 1fr 1fr; }
  .tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "c d" "a a" "b e" "b g" "f f"; }
  .barre-etapes { flex-direction: column; }
  .bande h3, .bande p { grid-column: 1 / -1; }
  .pied-bas { grid-template-columns: 1fr; }
}
/* ============ Téléphone ============ */
@media (max-width: 600px) {
  .suggestions button { flex: 1 1 auto; }
  .heros .chapo { max-width: none; }
  .choix-boutons { display: flex; }
  .choix-boutons button { flex: 1 1 auto; padding: 11px 10px; font-size: 15px; }
  .action .bouton { width: 100%; }
  .fenetre { max-width: none; }
  .f-btn, .f-onde { display: none; }
  .onglets { grid-template-columns: 1fr; gap: 6px; }
  .onglet { padding: 14px 16px; } .onglet span { display: none; } .onglet[aria-selected="true"] span { display: block; }
  .ecran-cadre { max-width: none; }
  .tuiles { grid-template-columns: 1fr 1fr; grid-template-areas: "c d" "a a" "b b" "e e" "f f" "g g"; gap: 12px; grid-auto-rows: auto; }
  .tuile { padding: 18px; }
  .gros-chiffre { font-size: 60px; }
  .interrupteur { width: 64px; height: 36px; } .interrupteur::after { width: 26px; height: 26px; top: 5px; left: 5px; }
  .interrupteur-ligne { font-size: 13px; flex-wrap: wrap; }
  .g-seg { display: flex; } .g-seg button { flex: 1 1 auto; padding: 10px 12px; }
  .g-carte { padding: 18px; }
  .bande { padding-block: 32px; } .bande h3 { font-size: 21px; }
}
