/* Attra - site vitrine. Couleurs et mesures reprises de la maquette « Site · Accueil » (canevas « Logo Attra »). */

@font-face { font-family: 'Sora'; font-style: normal; font-weight: 400; font-display: swap; src: url(polices/sora-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 500; font-display: swap; src: url(polices/sora-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600; font-display: swap; src: url(polices/sora-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 700; font-display: swap; src: url(polices/sora-latin-700-normal.woff2) format('woff2'); }

:root {
  --fond: #F6F5F1;
  --encre: #15122B;
  --corail: #FF5B4A;
  --corail-texte: #C2362B;
  --corail-clair: #FFE3DF;
  --corail-sur-nuit: #FF8A7E;
  --gris: #4A4760;
  --gris-sur-nuit: #C9C6D9;
  --trait: #E4E1D9;
  --blanc: #FFFFFF;
  --a-definir: #FFF1A8;
  --largeur: 1200px;
  --marge-section: clamp(64px, 8vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }

:focus-visible { outline: 3px solid var(--corail); outline-offset: 3px; border-radius: 6px; }

.aller-au-contenu {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  padding: 10px 16px; border-radius: 999px; background: var(--encre); color: var(--blanc);
  font-weight: 600; text-decoration: none;
}
.aller-au-contenu:focus { top: 12px; }

.conteneur { max-width: var(--largeur); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Bandeau de la version provisoire (à retirer à l'ouverture) */
.bandeau-provisoire {
  background: var(--a-definir); color: var(--encre);
  font-size: 14px; line-height: 1.45; text-align: center; padding: 10px 24px;
}
.a-definir {
  background: var(--a-definir); color: var(--encre);
  border-radius: 4px; padding: 0 4px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.sur-nuit .a-definir { color: var(--encre); }

/* En-tête */
.entete .conteneur {
  padding-top: 20px; padding-bottom: 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: inline-flex; align-items: baseline; text-decoration: none; color: var(--encre); }
.logo svg { margin-right: 1px; }
.logo span { font-size: 38px; font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.logo--petit span { font-size: 25px; }

.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font-size: 15px; font-weight: 500; }
.menu a { text-decoration: none; }
.menu a:not(.bouton):hover { text-decoration: underline; text-underline-offset: 4px; }
.page-texte .boutons { margin: 24px 0; }
.menu .texte-court { display: none; }

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  font-weight: 600; text-decoration: none; text-align: center;
  border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .15s ease;
}
.bouton:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(21, 18, 43, 0.14); }
.bouton--grand { min-height: 56px; padding: 0 28px; font-size: 16px; }
.bouton--moyen { min-height: 52px; }
.bouton--nuit { background: var(--encre); color: var(--blanc); }
.bouton--corail { background: var(--corail); color: var(--encre); }
.bouton--contour { border-color: var(--encre); color: var(--encre); background: transparent; }

/* Titres de section */
.surtitre { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--corail-texte); }
.sur-nuit .surtitre { color: var(--corail-sur-nuit); }
.titre-section { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.chapeau { font-size: 17px; line-height: 1.6; color: var(--gris); }
.sur-nuit .chapeau { color: var(--gris-sur-nuit); }
.intro-section { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }

.section { padding-top: var(--marge-section); padding-bottom: var(--marge-section); }
.section--blanche { background: var(--blanc); }
.section--nuit { background: var(--encre); color: var(--blanc); }
.pile { display: flex; flex-direction: column; gap: 48px; }

.coche { flex: 0 0 auto; }

/* Accroche */
.accroche {
  padding-top: 56px; padding-bottom: var(--marge-section);
  display: flex; flex-wrap: wrap; align-items: center; gap: 56px;
}
.accroche__texte { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.accroche h1 { font-size: clamp(38px, 4.4vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; }
.accroche__chapeau { max-width: 560px; font-size: 19px; line-height: 1.55; color: var(--gris); }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.garanties { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--gris); }
.garanties li { display: flex; align-items: center; gap: 8px; }

.carte-exemple {
  flex: 1 1 400px; min-width: 0; padding: 28px; border-radius: 24px; background: var(--blanc);
  box-shadow: 0 1px 2px rgba(21, 18, 43, 0.06), 0 12px 32px rgba(21, 18, 43, 0.08);
  display: flex; flex-direction: column; gap: 20px;
}
.carte-exemple__haut { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.carte-exemple__titre { font-size: 15px; font-weight: 600; }
.pastille { padding: 6px 12px; border-radius: 999px; background: var(--fond); font-size: 12px; color: var(--gris); }
.chiffres { display: flex; flex-wrap: wrap; gap: 12px; }
.chiffre { flex: 1 1 120px; padding: 16px; border-radius: 16px; background: var(--fond); }
.chiffre--fort { background: var(--corail-clair); }
.chiffre__valeur { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.chiffre__libelle { font-size: 13px; color: var(--gris); }
.mini-titre { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gris); }
.direct { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.direct li { display: flex; align-items: center; gap: 12px; }
.direct__icone { flex: 0 0 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--corail-clair); }
.direct__icone--nuit { background: var(--encre); }
.direct__icone--neutre { background: var(--fond); }
.direct__texte { flex: 1 1 auto; min-width: 0; }
.direct__discret { color: var(--gris); }
.legende { font-size: 13px; color: var(--gris); }

/* Nos règles */
.regles { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px; }
.regles__intro { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.regles__liste { flex: 1 1 480px; min-width: 0; list-style: none; padding: 0; display: flex; flex-direction: column; font-size: 17px; }
.regles__liste li { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.regles__liste li:last-child { border-bottom: 0; }

/* Étapes et cartes */
.cartes { display: flex; flex-wrap: wrap; gap: 24px; }
.cartes--serrees { gap: 16px; }
.carte { flex: 1 1 280px; min-width: 0; padding: 28px; border-radius: 20px; background: var(--fond); display: flex; flex-direction: column; gap: 14px; }
.carte--blanche { flex-basis: 220px; padding: 24px; background: var(--blanc); gap: 8px; }
.carte--corail { background: var(--corail-clair); }
.carte h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.carte p { font-size: 16px; color: var(--gris); }
.carte--blanche p { font-size: 15px; }
.numero { width: 40px; height: 40px; border-radius: 12px; background: var(--encre); color: var(--blanc); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.etape { font-size: 13px; font-weight: 600; color: var(--corail-texte); }

/* Tarifs */
.offres { display: flex; flex-wrap: wrap; align-items: stretch; gap: 24px; }
.offre { flex: 1 1 300px; min-width: 0; padding: 32px; border-radius: 24px; border: 1px solid var(--trait); display: flex; flex-direction: column; gap: 20px; }
.offre--mise-en-avant { background: var(--encre); color: var(--blanc); border-color: var(--encre); }
.offre__haut { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.offre h3 { font-size: 20px; font-weight: 600; }
.offre__badge { padding: 6px 12px; border-radius: 999px; background: var(--corail); color: var(--encre); font-size: 12px; font-weight: 600; }
.offre__prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.offre__montant { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.offre__periode { font-size: 15px; color: var(--gris); }
.offre--mise-en-avant .offre__periode, .offre--mise-en-avant .offre__texte { color: var(--gris-sur-nuit); }
.offre__texte { font-size: 15px; color: var(--gris); }
.offre__liste { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.offre__liste li { display: flex; align-items: center; gap: 10px; }
.offre .bouton { margin-top: auto; }

/* Questions */
.questions { max-width: 840px; display: flex; flex-direction: column; gap: 32px; }
.question { padding: 24px 0; border-top: 1px solid var(--trait); display: flex; flex-direction: column; gap: 8px; }
.question:last-child { border-bottom: 1px solid var(--trait); }
.question h3 { font-size: 19px; font-weight: 600; line-height: 1.35; }
.question p { font-size: 16px; line-height: 1.6; color: var(--gris); }

/* Appel à l'action */
.appel { padding-bottom: clamp(48px, 6vw, 80px); }
.appel__boite {
  padding: clamp(32px, 5vw, 64px); border-radius: 32px; background: var(--corail); color: var(--encre);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.appel__texte { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.appel h2 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.appel p { font-size: 17px; }

/* Pied de page */
.pied { border-top: 1px solid var(--trait); }
.pied .conteneur {
  padding-top: 32px; padding-bottom: 32px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 14px; color: var(--gris);
}
.pied__marque { display: flex; align-items: center; gap: 16px; }
.pied__liens { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pied__liens a { color: var(--gris); }

/* Pages de texte (mentions, confidentialité, CGV, retrait) */
.page-texte { max-width: 760px; padding-top: 40px; padding-bottom: var(--marge-section); display: flex; flex-direction: column; gap: 20px; }
.page-texte h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.page-texte h2 { font-size: 22px; line-height: 1.3; font-weight: 600; margin-top: 16px; }
.page-texte p, .page-texte li { font-size: 16px; line-height: 1.65; color: var(--gris); }
.page-texte ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.page-texte strong { color: var(--encre); font-weight: 600; }
.page-texte .encadre { padding: 20px 24px; border-radius: 16px; background: var(--blanc); }
.page-texte .encadre--projet { background: var(--a-definir); }
.page-texte .encadre--projet p { color: var(--encre); }
.page-texte .encadre__action { margin: 16px 0; }
.page-texte .mise-a-jour { font-size: 14px; }
.retour { font-size: 15px; font-weight: 500; }

/* Explication animée « Comment ça marche » (site/animation.js) */
.explication { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.explication__chapitres { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.explication__droite { flex: 1.5 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.explication__scene {
  position: relative; min-height: 500px; padding: 28px; border-radius: 24px; background: var(--fond);
  display: flex; flex-direction: column; justify-content: center; gap: 28px; overflow: hidden;
}
.explication__commandes { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

.chapitre {
  appearance: none; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer;
  width: 100%; padding: 18px 20px; border-radius: 16px;
  display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; row-gap: 6px; align-items: center;
  transition: background .2s ease;
}
.chapitre:hover { background: rgba(246, 245, 241, 0.6); }
.chapitre[aria-selected="true"] { background: var(--fond); }
.chapitre__numero {
  width: 40px; height: 40px; border-radius: 12px; background: var(--trait); color: var(--encre);
  display: flex; align-items: center; justify-content: center; font-weight: 700; transition: background .2s ease, color .2s ease;
}
.chapitre[aria-selected="true"] .chapitre__numero { background: var(--encre); color: var(--blanc); }
.chapitre__titre { font-size: 18px; font-weight: 600; line-height: 1.3; }
.chapitre__texte { grid-column: 2; font-size: 15px; line-height: 1.55; color: var(--gris); }
.chapitre__progression { display: none; grid-column: 1 / -1; height: 3px; margin-top: 10px; border-radius: 3px; background: var(--trait); overflow: hidden; }
.chapitre__progression span { display: block; height: 100%; background: var(--corail); transform-origin: left; transform: scaleX(0); }

.explication--animee .chapitre:not([aria-selected="true"]) .chapitre__texte { display: none; }
.explication--animee .chapitre[aria-selected="true"] .chapitre__progression { display: block; }
.explication--animee .chapitre.joue .chapitre__progression span { animation: progression 7.5s linear both; }
.explication--animee .chapitre.vu .chapitre__progression span { transform: scaleX(1); }
.explication--animee .scene[hidden] { display: none; }

.petit-bouton {
  appearance: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1.5px solid var(--trait); background: var(--blanc); color: var(--encre);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.petit-bouton:hover { border-color: var(--encre); }
.petit-bouton--nuit { background: var(--encre); border-color: var(--encre); color: var(--blanc); }
.petit-bouton .icone-lecture { display: none; }
.petit-bouton[aria-pressed="true"] .icone-lecture { display: block; }
.petit-bouton[aria-pressed="true"] .icone-pause { display: none; }
.explication:not(.explication--animee) .explication__commandes { display: none; }

/* Mouvements communs */
@keyframes progression { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes entree-scene { from { opacity: 0; } to { opacity: 1; } }
@keyframes apparait { from { opacity: 0; transform: translateY(10px); } to { opacity: var(--opacite-fin, 1); transform: none; } }
@keyframes glisse { from { opacity: 0; transform: translateX(-16px); } to { opacity: var(--opacite-fin, 1); transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.3); } 60% { opacity: 1; transform: scale(1.18); } 100% { opacity: 1; transform: scale(1); } }
@keyframes remplit { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes tourne { to { transform: rotate(360deg); } }

.scene.joue { animation: entree-scene .35s ease both; }
.scene.joue .a { animation: apparait .55s cubic-bezier(.2, .7, .2, 1) both; }
.scene.joue .g { animation: glisse .5s cubic-bezier(.2, .7, .2, 1) both; }
.scene.joue .p { animation: pop .55s cubic-bezier(.2, .9, .3, 1.2) both; }
.scene.joue .r { animation: remplit 1.1s cubic-bezier(.2, .7, .2, 1) both; }
.scene.joue .tourne { animation: tourne 3s linear infinite; }
.scene.joue .d1 { animation-delay: .2s; }
.scene.joue .d2 { animation-delay: .5s; }
.scene.joue .d3 { animation-delay: .8s; }
.scene.joue .d4 { animation-delay: 1.1s; }
.scene.joue .d5 { animation-delay: 1.4s; }
.scene.joue .d6 { animation-delay: 1.8s; }
.scene.joue .d7 { animation-delay: 2.2s; }
.scene.joue .d8 { animation-delay: 2.6s; }
.scene.joue .d9 { animation-delay: 3s; }
.scene.joue .d10 { animation-delay: 3.4s; }
.scene.joue .d11 { animation-delay: 3.8s; }

.explication.en-pause *, .explication.en-pause *::before, .explication.en-pause *::after { animation-play-state: paused !important; }

/* Éléments des scènes */
.avatar { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #FFB4A8, #FF5B4A); }
.avatar--petit { flex-basis: 28px; width: 28px; height: 28px; }
.av2 { background: linear-gradient(135deg, #4A4760, #15122B); }
.av3 { background: linear-gradient(135deg, #E9E2D6, #B9AC97); }
.av4 { background: linear-gradient(135deg, #FFD9C9, #F2A27E); }
.av5 { background: linear-gradient(135deg, #C9C6D9, #8F8BA6); }
.av6 { background: linear-gradient(135deg, #F6C7BF, #C2362B); }
.avatar--marque {
  flex-basis: 56px; width: 56px; height: 56px; background: var(--encre); color: var(--blanc);
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700;
}

.s1-sources { display: flex; flex-wrap: wrap; gap: 10px; }
.s1-source { flex: 1 1 150px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--blanc); }
.s1-source strong, .s2-entete strong, .s4-mail strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.s1-source small, .s2-entete small, .s4-mail small { display: block; font-size: 12px; color: var(--gris); }
.s1-lien { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--corail-texte); margin: -8px 0; }
.s1-liste, .s3-notifs { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.s1-ligne { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--blanc); font-size: 14px; }
.s1-ligne .nom { flex: 1 1 auto; min-width: 0; }
.s1-ligne.non { --opacite-fin: .55; opacity: .55; }
.etiquette { flex: 0 0 auto; padding: 4px 10px; border-radius: 999px; background: var(--fond); color: var(--gris); font-size: 12px; font-weight: 600; white-space: nowrap; }
.etiquette--ok { background: var(--corail-clair); color: var(--corail-texte); }
.compteur { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 14px; color: var(--gris); }
.compteur__valeur { font-size: 34px; font-weight: 700; letter-spacing: -.02em; color: var(--encre); }

.scene { display: flex; flex-direction: column; gap: 18px; }
.s2 { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 20px; }
.s2-profil { flex: 1 1 240px; min-width: 0; padding: 16px; border-radius: 18px; background: var(--blanc); }
.s2-entete { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.s2-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tuile { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.tuile > svg { width: 52%; height: 52%; }
.t1 { background: linear-gradient(160deg, #D9CDBB, #B9AC97); }
.t2 { background: linear-gradient(160deg, #F2A27E, #C2362B); }
.t3 { background: linear-gradient(160deg, #E4E1D9, #C9C6D9); }
.t4 { background: linear-gradient(160deg, #4A4760, #15122B); }
.t5 { background: linear-gradient(160deg, #E9C9A8, #B5651D); }
.t6 { background: linear-gradient(160deg, #FFE3DF, #F6C7BF); }
.mot { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--encre); font-size: 11px; font-weight: 600; }
.coeur { position: absolute; top: 6px; right: 6px; width: 30%; filter: drop-shadow(0 2px 4px rgba(21, 18, 43, .25)); }
.coeur svg { width: 100%; height: auto; }
.s2-cote { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.carte-mini { display: block; padding: 14px 16px; border-radius: 14px; background: var(--blanc); font-size: 14px; }
.carte-mini strong { display: block; font-size: 16px; font-weight: 600; }
.carte-mini--ligne { display: flex; align-items: center; gap: 10px; color: var(--gris); }
.carte-mini--ligne svg { flex: 0 0 auto; }
.mini-libelle { display: block; font-size: 12px; color: var(--gris); }
.jauge { display: block; height: 8px; margin-top: 10px; border-radius: 8px; background: var(--fond); overflow: hidden; }
.jauge span { display: block; width: 44%; height: 100%; border-radius: 8px; background: var(--corail); transform-origin: left; }
.s2-jamais { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.s2-jamais li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--encre); color: var(--blanc); font-size: 12px; font-weight: 600; }

.s3-marque { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; padding: 18px; border-radius: 18px; background: var(--blanc); }
.s3-nom { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 15px; }
.s3-nom strong { font-weight: 600; }
.s3-stats { flex: 1 1 220px; display: flex; justify-content: space-around; gap: 12px; text-align: center; }
.s3-stat strong { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.s3-stat small { font-size: 12px; color: var(--gris); }
.s3-stat--fort strong { color: var(--corail-texte); }
.s3-quand { flex: 0 0 auto; font-size: 12px; color: var(--gris); }
.s3-bilan { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--corail-clair); color: var(--corail-texte); font-size: 14px; font-weight: 600; }

.s4-haut .pastille { background: var(--blanc); }
.s4-haut { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; }
.s4-barres { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.s4-barres li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; font-size: 14px; }
.s4-barres strong { font-size: 16px; font-weight: 700; }
.s4-piste { grid-column: 1 / -1; display: block; height: 12px; border-radius: 12px; background: var(--blanc); overflow: hidden; }
.s4-piste span { display: block; height: 100%; border-radius: 12px; background: var(--encre); transform-origin: left; }
.l1 { width: 100%; }
.l2 { width: 58%; }
.l3 { width: 40%; }
.l4 { width: 9%; }
.s4-piste .l4 { background: var(--corail); }
.s4-mail { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--blanc); }

@media (prefers-reduced-motion: reduce) {
  .explication [data-action="pause"], .explication [data-action="rejouer"] { display: none; }
  .scene.joue, .scene.joue *, .chapitre.joue .chapitre__progression span { animation: none !important; }
}

/* Téléphone */
@media (max-width: 720px) {
  .menu__lien { display: none; }
  .menu { gap: 12px 16px; }
  .menu .texte-large { display: none; }
  .menu .texte-court { display: inline; }
  .menu .bouton { padding: 0 18px; }
  .logo span { font-size: 32px; }
  .logo svg { width: 20px; height: 23px; }
  .accroche { padding-top: 24px; gap: 40px; }
  .accroche__chapeau { font-size: 17px; }
  .accroche .boutons .bouton { flex: 1 1 100%; }
  .carte-exemple { padding: 20px; }
  .regles__liste { font-size: 16px; }
  .offre { padding: 24px; }
  .appel__boite .bouton { flex: 1 1 100%; }
  .pied .conteneur { flex-direction: column; align-items: flex-start; }
  .explication { gap: 24px; }
  .explication__droite { order: -1; }
  .explication__scene { min-height: 0; padding: 18px; border-radius: 20px; }
  .explication__commandes { justify-content: flex-start; }
  .chapitre { padding: 14px 16px; }
  .chapitre__titre { font-size: 16px; }
  .explication__scene { min-height: 580px; }
  .s1-sources { flex-wrap: nowrap; gap: 6px; }
  .s1-source { flex: 1 1 0; min-width: 0; padding: 8px; gap: 6px; }
  .s2-jamais li { padding: 5px 9px; font-size: 11px; }
  .petit-bouton .texte-large { display: none; }
  .petit-bouton { padding: 0 14px; }
  .s1-source strong { font-size: 12px; }
  .s1-source small { display: none; }
  .s1-source .avatar { flex-basis: 20px; width: 20px; height: 20px; }
  .s1-ligne { font-size: 13px; padding: 7px 10px; }
  .compteur__valeur { font-size: 28px; }
  .s3-stats { flex-basis: 100%; }
}
