/* Charte « Le son des lettres » (collection Les Cahiers Oriavel), validée le 02/10/2026 :
   fond lavande pâle, son en violet foncé, texte bleu nuit, actions en corail, bulle de parole lavande. */
@font-face { font-family: "Fredoka"; src: url("fonts/Fredoka.woff2?v=57044ac146") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Playwrite FR Trad"; src: url("fonts/PlaywriteFRTrad.ttf?v=39e8ab1beb") format("truetype"); font-weight: 100 400; font-display: swap; }
:root {
  --fond: #ECE8FB;
  --pale: #F7F5FE;
  --lavande: #8B7FD6;
  --son: #5A4CB5;
  --nuit: #0D2442;
  --nuit-doux: #45597a;
  --corail: #F26B5B;
  --corail-fonce: #cf4f40;
  --turquoise: #8FD3CF;
  --ombre: 0 10px 28px rgba(13, 36, 66, .10);
  --police: "Fredoka", ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, sans-serif;
  --cursive: "Playwrite FR Trad", cursive;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--nuit); font-family: var(--police); font-size: 17px; line-height: 1.5; min-height: 100vh; min-height: 100dvh; }
img { max-width: 100%; display: block; }
a { color: var(--nuit); }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; border: 0; background: none; padding: 0; }
[hidden] { display: none !important; }
.conteneur { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.son { color: var(--son); white-space: nowrap; }
.muette { color: #9aa6b8; }

/* Bande de collection : corail 70 % + couleur du livre 30 % (signe chaque écran) */
.bande { height: 14px; background: linear-gradient(90deg, var(--corail) 0 70%, var(--lavande) 70% 100%); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 14px 26px; min-height: 54px; font-size: 19px; font-weight: 600; text-decoration: none; }
.btn:active { transform: translateY(2px); }
.btn-corail { background: var(--corail); color: #fff; box-shadow: 0 5px 0 var(--corail-fonce); }
.btn-blanc { background: #fff; color: var(--nuit); box-shadow: 0 5px 0 rgba(13,36,66,.14); }
.ico { width: 1.2em; height: 1.2em; flex: none; }

/* Bulle de parole qui contient le son */
.bulle { position: relative; display: inline-grid; place-items: center; width: 92px; height: 92px; flex: none; }
.bulle svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bulle span { position: relative; font-weight: 700; font-size: 40px; line-height: 1; padding-bottom: 14px; color: var(--nuit); }

/* ---------- Accueil parents ---------- */
.entete { display: flex; align-items: center; justify-content: space-between; padding: 18px 0 6px; }
.logo img { height: 46px; width: auto; }
.lien-haut { font-weight: 600; font-size: 16px; text-decoration: none; background: #fff; border-radius: 999px; padding: 8px 16px; }
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 22px 0 46px; }
.pastille { display: inline-block; background: #fff; color: var(--son); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; margin: 0 0 16px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 54px); line-height: 1.06; margin: 0 0 14px; font-weight: 700; }
.hero .accroche { font-size: 19px; color: var(--nuit-doux); margin: 0 0 24px; max-width: 30em; }
.bientot { margin: 18px 0 0; background: #fff; border-left: 6px solid var(--lavande); border-radius: 14px; padding: 12px 16px; max-width: 30em; color: var(--nuit-doux); font-size: 16px; }
.hero h1 .son { white-space: normal; }
.sans { margin: 14px 0 0; font-size: 15px; color: var(--nuit-doux); }
.demo { position: relative; width: min(300px, 78vw); margin: 0 auto; border-radius: 34px; background: var(--nuit); padding: 10px; box-shadow: var(--ombre); }
.demo video, .demo img { display: block; width: 100%; border-radius: 26px; background: var(--fond); aspect-ratio: 9 / 16; object-fit: cover; object-position: top; }
.demo figcaption { text-align: center; color: #fff; font-size: 14px; font-weight: 500; padding: 8px 0 2px; }
.replie { background: #fff; border-radius: 26px; box-shadow: var(--ombre); padding: 0; }
.replie summary { list-style: none; cursor: pointer; padding: 18px 24px; font-size: 20px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.replie summary::-webkit-details-marker { display: none; }
.replie summary::after { content: "+"; font-size: 28px; font-weight: 500; color: var(--son); line-height: 1; }
.replie[open] summary::after { content: "–"; }
.replie .contenu { padding: 0 24px 22px; }
.replie ol, .replie ul { margin: 0 0 14px; padding-left: 22px; color: var(--nuit-doux); }
.replie li { margin-bottom: 9px; }
.replie li strong { color: var(--nuit); font-weight: 600; }
.replie h3 { margin: 6px 0 8px; font-size: 18px; font-weight: 600; }
.photo { position: relative; }
.photo img { width: 100%; height: 380px; object-fit: cover; object-position: 50% 35%; border-radius: 30px; box-shadow: var(--ombre); }
.photo .bulle { position: absolute; right: -8px; bottom: -26px; width: 112px; height: 112px; }
.photo .bulle span { font-size: 50px; padding-bottom: 18px; }
.gestes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.geste { background: #fff; border-radius: 24px; padding: 22px; box-shadow: var(--ombre); }
.geste b { display: block; font-size: 34px; line-height: 1; color: var(--son); font-weight: 700; }
.geste h3 { margin: 6px 0 6px; font-size: 22px; font-weight: 600; }
.geste p { margin: 0; color: var(--nuit-doux); }
.section { padding: 0 0 44px; }
.section h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; margin: 0 0 18px; font-weight: 700; }
.conseils { background: #fff; border-radius: 26px; box-shadow: var(--ombre); padding: 26px 28px; }
.conseils ul { margin: 0; padding-left: 20px; color: var(--nuit-doux); }
.conseils li { margin-bottom: 10px; }
.conseils li strong { color: var(--nuit); font-weight: 600; }
.carte-mail { background: #fff; border-radius: 26px; box-shadow: var(--ombre); padding: 24px 28px; margin-top: 20px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; border-top: 8px solid var(--lavande); }
.carte-mail h3 { margin: 0 0 4px; font-size: 22px; font-weight: 600; }
.carte-mail p { margin: 0; color: var(--nuit-doux); max-width: 32em; }
.facultatif { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--son); }
.reseaux { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 22px; color: var(--nuit-doux); font-size: 15px; }
.reseaux a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px; background: rgba(255,255,255,.75); border-radius: 999px; padding: 8px 14px; }
.texte { max-width: 760px; padding-bottom: 40px; }
.texte h1 { font-size: 32px; margin: 18px 0 8px; }
.texte h2 { font-size: 22px; font-weight: 600; margin: 26px 0 6px; }
.texte p { margin: 0 0 10px; color: var(--nuit-doux); }
.pied { border-top: 3px dotted var(--turquoise); text-align: center; padding: 26px 20px 40px; color: var(--nuit-doux); font-size: 15px; }
.pied img { margin: 0 auto 10px; height: 40px; width: auto; }
.pied p { margin: 4px 0; }

/* ---------- Espace enfant ---------- */
.barre { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 6px; max-width: 1040px; margin: 0 auto; }
.rond { width: 58px; height: 58px; border-radius: 50%; background: #fff; box-shadow: 0 4px 0 rgba(13,36,66,.12); display: grid; place-items: center; text-decoration: none; }
.rond svg { width: 28px; height: 28px; }
.rond:active { transform: translateY(2px); }
.etoiles { background: #fff; border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: 20px; box-shadow: 0 4px 0 rgba(13,36,66,.12); }
.lien-parents { font-size: 15px; font-weight: 600; text-decoration: underline; opacity: .7; padding: 10px 4px; }

.famille { max-width: 1040px; margin: 0 auto; padding: 10px 16px 6px; }
.famille + .famille { border-top: 3px dotted var(--turquoise); margin-top: 18px; padding-top: 18px; }
.famille h2 { font-size: 22px; font-weight: 600; margin: 4px 2px 12px; display: flex; align-items: center; gap: 10px; }
.ecoute-titre { width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: 0 3px 0 rgba(13,36,66,.12); display: grid; place-items: center; flex: none; }
.ecoute-titre svg { width: 24px; height: 24px; }
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 14px; }
.tuile { position: relative; border-radius: 24px; background: #fff; box-shadow: 0 5px 0 rgba(13,36,66,.10); padding: 12px 8px 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; min-height: 138px; }
.tuile:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(13,36,66,.10); }
.tuile .lettre { font-size: 54px; font-weight: 700; line-height: 1; color: var(--son); }
.tuile .image { width: 76px; height: 70px; }
.tuile .etoile { position: absolute; top: 5px; right: 9px; font-size: 22px; line-height: 1; color: #e2def6; transition: color .3s; }
.tuile.fait .etoile { color: var(--son); }
.tuile.touche { animation: rebond .2s ease-out; }
@keyframes rebond { 0% { transform: scale(1); } 45% { transform: scale(.9) rotate(-2deg); } 100% { transform: scale(1.06); } }
.etoiles.gagne { animation: gagne .6s ease-out; }
@keyframes gagne { 0% { transform: scale(1); } 35% { transform: scale(1.28); background: var(--lavande); color: #fff; } 100% { transform: scale(1); } }
.etincelle { position: fixed; z-index: 70; pointer-events: none; line-height: 1; opacity: 0; }
.bravo.saute { animation: saute .5s ease-out; }
@keyframes saute { 0% { transform: scale(.6); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.image { display: grid; place-items: center; position: relative; overflow: hidden; }
.image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; } /* images du livre sur fond blanc : le blanc se fond dans la carte */
.image.vide { border-radius: 16px; background: var(--pale); border: 2px dashed #cfc8f0; }
.image.vide svg { width: 46%; height: 46%; opacity: .55; }

/* Page d'un son */
.lecon { max-width: 720px; margin: 0 auto; padding: 8px 16px 30px; }
.carte-son { background: #fff; border-radius: 32px; box-shadow: var(--ombre); padding: 20px 20px 24px; text-align: center; border-top: 12px solid var(--lavande); }
.graphies { display: flex; justify-content: center; align-items: baseline; gap: 24px; margin: 2px 0 4px; }
.graphies .script { font-size: clamp(92px, 24vw, 150px); font-weight: 700; line-height: 1; color: var(--son); }
.graphies .attache { font-family: var(--cursive); font-size: clamp(50px, 13vw, 84px); line-height: 1.5; color: var(--nuit); font-weight: 400; }
.graphies .capitale { font-size: clamp(44px, 11vw, 72px); font-weight: 600; line-height: 1; color: var(--nuit); opacity: .55; }
.gros-son { margin: 10px auto 0; width: 116px; height: 116px; border-radius: 50%; background: var(--corail); box-shadow: 0 8px 0 rgba(13,36,66,.18); display: grid; place-items: center; }
.gros-son svg { width: 60px; height: 60px; }
.gros-son:active { transform: translateY(4px); box-shadow: 0 4px 0 rgba(13,36,66,.18); }
.joue { animation: pulse .7s ease-in-out infinite alternate; }
@keyframes pulse { from { transform: scale(1); } to { transform: scale(1.07); } }
.note-rare { margin: 12px auto 0; font-size: 15px; color: var(--nuit-doux); max-width: 26em; }

.mot-repere { margin: 20px auto 0; display: flex; align-items: center; gap: 14px; background: var(--pale); border-radius: 24px; padding: 10px 16px; max-width: 440px; width: 100%; }
.mot-repere .image { width: 112px; height: 104px; flex: none; }
.mot-repere .mot { font-size: 36px; font-weight: 700; flex: 1; text-align: left; }
.mini-son { width: 52px; height: 52px; border-radius: 50%; background: #fff; box-shadow: 0 4px 0 rgba(13,36,66,.12); display: grid; place-items: center; flex: none; }
.mini-son svg { width: 26px; height: 26px; }

.filet { border: 0; border-top: 3px dotted var(--turquoise); margin: 20px 0 16px; }
.syllabes, .mots { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.syllabe, .mot-btn { background: #fff; border: 2px solid var(--fond); border-radius: 18px; font-weight: 600; box-shadow: 0 3px 0 var(--fond); }
.syllabe { min-width: 84px; padding: 8px 14px; font-size: 32px; }
.mot-btn { padding: 8px 18px; font-size: 28px; }
.phrase { margin: 14px auto 0; display: inline-flex; align-items: center; gap: 12px; background: var(--pale); border-radius: 20px; padding: 10px 18px; font-size: 24px; font-weight: 600; text-align: left; }
.phrase svg { width: 24px; height: 24px; flex: none; }

.repeter { margin-top: 18px; background: var(--nuit); color: #fff; border-radius: 28px; padding: 20px 18px; text-align: center; }
.repeter .titre { font-size: 22px; font-weight: 600; margin: 0 0 12px; }
.repeter .rangee { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-micro, .btn-ecoute-moi { min-height: 60px; padding: 0 26px; border-radius: 999px; font-size: 21px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.btn-micro { background: var(--corail); color: #fff; }
.btn-micro.enreg { animation: pulse .6s ease-in-out infinite alternate; }
.btn-micro svg, .btn-ecoute-moi svg { width: 24px; height: 24px; }
.btn-ecoute-moi { background: #fff; color: var(--nuit); }
.btn-ecoute-moi:disabled { opacity: .4; }
.bravo { font-size: 24px; font-weight: 700; min-height: 1.4em; margin: 10px 0 0; }

.nav-son { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.fleche { width: 70px; height: 70px; border-radius: 50%; background: #fff; box-shadow: 0 5px 0 rgba(13,36,66,.12); display: grid; place-items: center; text-decoration: none; }
.fleche svg { width: 30px; height: 30px; }

/* Barrière parents */
.voile { position: fixed; inset: 0; background: rgba(13,36,66,.55); display: grid; place-items: center; z-index: 50; padding: 16px; }
.boite { background: #fff; border-radius: 26px; padding: 24px; max-width: 360px; width: 100%; text-align: center; }
.boite h2 { margin: 0 0 6px; font-size: 22px; font-weight: 600; }
.boite p { margin: 0 0 14px; color: var(--nuit-doux); }
.appui { width: 100%; min-height: 62px; border-radius: 999px; background: var(--nuit); color: #fff; font-weight: 600; font-size: 18px; position: relative; overflow: hidden; }
.appui .jauge { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--lavande); }
.appui span { position: relative; }
.annuler { margin-top: 12px; color: var(--nuit-doux); text-decoration: underline; }

/* Repère de maquette (retiré avant la mise en ligne) */
.maquette { position: fixed; bottom: 8px; left: 8px; background: #fff; color: var(--nuit-doux); border: 1px dashed var(--lavande); border-radius: 10px; font-size: 12px; padding: 4px 8px; z-index: 60; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 26px; padding-bottom: 50px; }
  .photo img { height: 250px; }
  .photo .bulle { right: 8px; }
  .gestes { grid-template-columns: 1fr; gap: 12px; }
  .geste { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 16px 18px; }
  .geste b { grid-row: span 2; align-self: center; }
  .geste h3 { margin: 0; }
  .grille { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .tuile { min-height: 122px; border-radius: 20px; }
  .tuile .lettre { font-size: 46px; }
  .tuile .image { width: 70px; height: 62px; }
  .gros-son { width: 104px; height: 104px; }
  .mot-repere .image { width: 96px; height: 90px; }
  .mot-repere .mot { font-size: 32px; }
  .syllabes { gap: 8px; }
  .syllabe { min-width: 0; width: calc(33.33% - 6px); padding: 8px 4px; font-size: 28px; }
  .mots { gap: 8px; }
  .mot-btn { font-size: 23px; padding: 8px 11px; }
  .phrase { font-size: 21px; }
}

/* ---------- Porte publique : fenêtre d'accès (inscription.js), comme le compagnon Cursive, aux couleurs du livre ---------- */
.fenetre-fond { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: min(360px, calc(100vw - 32px)); }
.fenetre { position: relative; max-height: min(78vh, 640px); overflow-y: auto; background: #fff; border-radius: 22px; border-top: 8px solid var(--corail); box-shadow: 0 16px 44px rgba(13, 36, 66, .28); padding: 20px 20px 14px; animation: fenetre-entree .25s ease-out; }
@keyframes fenetre-entree { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .fenetre { animation: none; } }
.fenetre-fermer { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; background: var(--fond); font-size: 26px; line-height: 1; color: var(--nuit); }
.fenetre h2 { margin: 0 40px 4px 0; font-size: 21px; line-height: 1.15; }
.fenetre-promesse { margin: 0 0 12px; color: var(--nuit-doux); font-size: 15px; }
.fenetre form input[type=email] { width: 100%; font: inherit; padding: 11px 13px; border: 2px solid var(--fond); border-radius: 14px; }
.fenetre form input[type=email]:focus { outline: none; border-color: var(--lavande); }
.fenetre-case { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; font-size: 13.5px; color: var(--nuit-doux); line-height: 1.45; }
.fenetre-case input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--son); }
.fenetre-envoyer { width: 100%; margin-top: 14px; min-height: 48px; font-size: 17px; }
.fenetre-note { margin: 10px 0 0; font-size: 12.5px; color: var(--nuit-doux); text-align: center; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fenetre-retour { display: none; margin-top: 10px; padding: 10px 12px; border-radius: 12px; font-size: 14px; }
.fenetre-retour.visible { display: block; }
.fenetre-retour.info { background: #fff3ef; }
.fenetre-retour.bon { background: var(--pale); }
.fenetre-retour p { margin: 0; }
.bandeau-merci { display: flex; gap: 12px; align-items: center; justify-content: center; background: var(--son); color: #fff; padding: 10px 16px; font-weight: 600; font-size: 15px; }
.bandeau-merci p { margin: 0; }
.bandeau-merci button { color: #fff; font-size: 22px; line-height: 1; }

/* ---------- Vrai site (maquette v6 validée le 18/10/2026)
   Menu Accueil / Les sons / Blog, sections de l'accueil, page du blog, page d'un article. Composants de la charte. */

/* Menu */
.menu { display: flex; gap: 4px; align-items: center; }
.menu a { text-decoration: none; color: var(--nuit); font-weight: 600; font-size: 16px; padding: 9px 16px; border-radius: 999px; }
.menu a:hover { background: rgba(255,255,255,.6); }
.menu a[aria-current="page"] { background: #fff; box-shadow: 0 3px 0 rgba(13,36,66,.08); }
@media (max-width: 560px) {
  .entete { flex-wrap: wrap; gap: 8px; }
  .menu { width: 100%; justify-content: space-between; background: #fff; border-radius: 999px; padding: 4px; box-shadow: var(--ombre); }
  .menu a { flex: 1; text-align: center; font-size: 15px; padding: 9px 6px; }
  .menu a[aria-current="page"] { background: var(--fond); box-shadow: none; }
}

/* Titres de section */
.section-tete { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin: 0 0 18px; }
.section-tete h2 { margin: 0; }
.section-tete p { margin: 6px 0 0; color: var(--nuit-doux); }
.lien-suite { font-weight: 600; text-decoration: none; color: var(--son); white-space: nowrap; }
.lien-suite::after { content: " →"; }

/* Comment ça marche : 3 gestes */
.gestes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0; margin: 0; list-style: none; counter-reset: geste; }
.gestes li { background: #fff; border-radius: 22px; box-shadow: var(--ombre); padding: 22px; border-top: 6px solid var(--lavande); }
.gestes li:nth-child(2) { border-top-color: var(--corail); }
.gestes li:nth-child(3) { border-top-color: var(--turquoise); }
.gestes .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--fond); color: var(--son); font-weight: 700; font-size: 19px; margin-bottom: 10px; }
.gestes b { display: block; font-size: 20px; margin-bottom: 4px; }
.gestes p { margin: 0; color: var(--nuit-doux); font-size: 16px; }

/* Les familles de sons (aperçu) */
.familles-apercu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.famille-carte { background: #fff; border-radius: 22px; box-shadow: var(--ombre); padding: 16px; text-decoration: none; color: var(--nuit); display: flex; flex-direction: column; gap: 8px; }
.famille-carte .vignettes { display: flex; gap: 6px; }
.famille-carte .vignettes span { flex: 1; aspect-ratio: 1; background: var(--pale); border-radius: 14px; display: grid; place-items: center; font-weight: 700; font-size: 26px; color: var(--son); position: relative; overflow: hidden; }
.famille-carte .vignettes img { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; mix-blend-mode: multiply; opacity: .9; }
.famille-carte .vignettes b { position: absolute; left: 7px; top: 3px; font-size: 18px; }
.famille-carte strong { font-size: 18px; }
.famille-carte small { color: var(--nuit-doux); font-size: 14px; }

/* Le livre */
.livre { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: #fff; border-radius: 26px; box-shadow: var(--ombre); overflow: hidden; }
.livre img { width: 100%; height: 100%; object-fit: cover; }
.livre div { padding: clamp(22px, 4vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.livre .pastille { align-self: flex-start; background: var(--fond); }
.livre h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 30px); }
.livre p { margin: 0 0 12px; color: var(--nuit-doux); }
.livre .qr { display: flex; gap: 12px; align-items: center; background: var(--pale); border-radius: 16px; padding: 12px 14px; font-size: 15px; color: var(--nuit); }
.livre .qr span { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--nuit); display: grid; place-items: center; }

/* Cartes d'articles */
.liste-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0; margin: 0; list-style: none; }
.carte-article { background: #fff; border-radius: 22px; box-shadow: var(--ombre); overflow: hidden; display: flex; flex-direction: column; }
.carte-article .visuel { aspect-ratio: 16 / 9; background: var(--pale); position: relative; overflow: hidden; }
.carte-article .visuel img { position: absolute; inset: 10% 20%; width: 60%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.carte-article .visuel .etiquette { position: absolute; left: 12px; top: 12px; background: #fff; color: var(--son); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.carte-article div.texte { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.carte-article a { font-weight: 700; font-size: 19px; line-height: 1.25; text-decoration: none; color: var(--nuit); }
.carte-article a::after { content: ""; position: absolute; inset: 0; }
.carte-article { position: relative; }
.carte-article:hover a { color: var(--son); }
.carte-article p { margin: 0; color: var(--nuit-doux); font-size: 15px; }
.carte-article .temps { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--son); font-weight: 600; }

/* Page du blog */
.titre-page { padding: 18px 0 22px; }
.titre-page h1 { margin: 0 0 8px; font-size: clamp(32px, 5vw, 48px); line-height: 1.08; }
.titre-page p { margin: 0; color: var(--nuit-doux); max-width: 34em; font-size: 19px; }
.blog-une { display: grid; grid-template-columns: 1.2fr 1fr; background: #fff; border-radius: 26px; box-shadow: var(--ombre); overflow: hidden; margin: 0 0 26px; position: relative; }
.blog-une .visuel { background: var(--fond); position: relative; min-height: 280px; }
.blog-une .visuel img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; mix-blend-mode: multiply; }
.blog-une .texte { padding: clamp(22px, 4vw, 36px); display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.blog-une a { font-size: clamp(22px, 3vw, 30px); font-weight: 700; line-height: 1.15; text-decoration: none; color: var(--nuit); }
.blog-une a::after { content: ""; position: absolute; inset: 0; }
.blog-une p { margin: 0; color: var(--nuit-doux); }

/* Page d'un article */
.article { background: #fff; border-radius: 26px; box-shadow: var(--ombre); padding: clamp(22px, 5vw, 52px); max-width: 780px; margin: 10px auto 30px; }
.article .fil { font-size: 14px; margin: 0 0 14px; }
.article .fil a { color: var(--son); text-decoration: none; font-weight: 600; }
.article h1 { font-size: clamp(30px, 4.6vw, 44px); line-height: 1.1; margin: 0 0 14px; }
.article .chapo { font-size: 20px; color: var(--nuit-doux); margin: 0 0 22px; }
.article .illustration { background: var(--pale); border-radius: 20px; aspect-ratio: 16 / 8; position: relative; overflow: hidden; margin: 0 0 26px; }
.article .illustration img { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.article h2 { font-size: clamp(22px, 3vw, 27px); margin: 32px 0 10px; }
.article p, .article li { color: #22375a; font-size: 18px; line-height: 1.7; }
.article .le-son { color: var(--son); font-weight: 700; }
.encadre { background: var(--pale); border-left: 6px solid var(--corail); border-radius: 16px; padding: 16px 20px; margin: 24px 0; }
.encadre p { margin: 0; }
.carte-livre { display: flex; gap: 18px; align-items: center; background: var(--fond); border-radius: 20px; padding: 18px; margin: 34px 0 6px; }
.carte-livre img { width: 96px; height: auto; border-radius: 8px; flex: none; box-shadow: 0 4px 12px rgba(13,36,66,.18); }
.carte-livre b { display: block; font-size: 18px; margin-bottom: 4px; }
.carte-livre p { margin: 0 0 10px; font-size: 16px; }
.carte-livre .btn { min-height: 44px; font-size: 16px; padding: 10px 18px; }
.fil-articles { display: flex; justify-content: space-between; gap: 12px; max-width: 780px; margin: 0 auto 34px; font-size: 15px; }
.fil-articles a { text-decoration: none; font-weight: 600; background: #fff; border-radius: 999px; padding: 11px 18px; box-shadow: var(--ombre); }

@media (max-width: 860px) {
  .gestes, .liste-articles { grid-template-columns: 1fr; }
  .familles-apercu { grid-template-columns: 1fr 1fr; }
  .livre, .blog-une { grid-template-columns: 1fr; }
  .livre img { max-height: 260px; }
  .section-tete { flex-direction: column; align-items: start; }
}

/* Démonstration de l'accueil : bouton pour entendre le son de la vidéo */
.demo .activer-son { display: flex; align-items: center; gap: 8px; margin: 6px auto 4px; padding: 10px 18px; border: 0; border-radius: 999px;
  background: var(--corail); color: #fff; font: 600 15px var(--police); cursor: pointer; box-shadow: 0 4px 0 var(--corail-fonce); }
.demo .activer-son:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--corail-fonce); }
.demo .activer-son svg { width: 20px; height: 20px; }
.demo .activer-son[hidden] { display: none; }
