/* 001 - WWW : compléments au style de 000 - WWW (sous-menu « Son et image », sections vides) */
.menu ul ul { position: static; opacity: 1; visibility: inherit; transform: none; box-shadow: none; background: none; padding: 0 0 4px 10px; min-width: 0; border-radius: 0; transition: none; }
.menu ul ul::before { display: none; }
.menu .sous-titre { display: block; padding: 8px 13px 2px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--vert-texte); }
.menu ul ul a { font-size: .88rem; padding: 5px 13px; }
@media (min-width: 901px) {
  .menu > li > ul { max-height: calc(100vh - 160px); overflow-y: auto; }
  .menu > li:first-child > ul { left: 0; transform: translate(0, 8px); }
  .menu > li:first-child.open > ul, .menu > li:first-child.has-sub:hover > ul { transform: translate(0, 0); }
}
@media (max-width: 900px) { .menu li.open .sous-groupe > ul { display: block; padding-left: 10px; } .menu .sous-titre { padding-left: 8px; } }
main section.article { min-height: 120px; }
.section-accueil { padding: 3rem 0 !important; scroll-margin-top: 140px; }
.liste-pages { padding-top: 0 !important; }
.liste-pages .grille { margin-top: 0; }
.menu li.titre-rubrique > a { font-weight: 700; color: var(--vert-texte); }
.menu a.sous-titre { text-decoration: none; }
.menu a.sous-titre:hover { background: var(--orange-pale); border-radius: 10px; }

/* Son et image : vidéos */
.prose .video-titre { margin: 0 0 .3em; }
.prose .video-artiste { font-weight: 700; margin: 0 0 1em; }
details.video-pli > div { padding-top: .2rem; }
.video-texte { margin-top: .4em; }

/* Thème « Terre » (choisi par la cliente) : couleur du bandeau par rubrique de la carte mentale */
.sec-reseau { --rub: #9c3f22; } .sec-politique { --rub: #7a2e17; } .sec-expressions { --rub: #8a5a14; }
.sec-histoires { --rub: #6b3a26; } .sec-temoignages { --rub: #5b6b1f; } .sec-agenda { --rub: #a5531f; }
.sec-transfrontiere { --rub: #7c4a1e; } .sec-lecture { --rub: #6e5520; } .sec-util { --rub: #5a3420; }
/* Accordéons vidéo aux couleurs Terre */
details.video-pli { background: #fffaf1; border-color: rgba(156,63,34,.25); }
details.video-pli[open] { box-shadow: 0 10px 30px -20px rgba(156,63,34,.5); }
details.video-pli > summary { color: #9c3f22; }
details.video-pli > summary::after { border-color: #9c3f22; }
/* Agenda (000 à 001) : accordéons et menu « Au cours de l'année » dans le vert olive du thème Terre */
details.mois-agenda:not(.video-pli) { background: #fffaf1; border-color: rgba(91,107,31,.28); }
details.mois-agenda:not(.video-pli)[open] { box-shadow: 0 10px 30px -20px rgba(91,107,31,.5); }
details.mois-agenda:not(.video-pli) > summary { color: #5b6b1f; }
details.mois-agenda:not(.video-pli) > summary::after { border-color: #5b6b1f; }
.subnav-pli > summary { background: #5b6b1f; }
.subnav-pli > summary:hover { background: #4a5819; }
/* Fiche PDF : icône, poids, nombre de pages */
.fiche-pdf { display: inline-flex; align-items: center; gap: .4em; margin-left: .5em; padding: .15em .65em .15em .4em;
  border-radius: 999px; background: rgba(156,63,34,.1); color: #9c3f22; font-size: .82em; font-weight: 700; white-space: nowrap; vertical-align: middle; }
.fiche-pdf .ico-pdf { width: 1.5em; height: 1.5em; flex: none; }
a.carte .fiche-pdf { margin: .2rem 0 .8rem; background: rgba(255,246,232,.16); color: #fff6e8; align-self: flex-start; }
/* Plan de navigation : une carte par rubrique + recherche */
.plan-recherche label { display: block; font-weight: 700; margin-bottom: .4rem; }
.plan-recherche input { width: 100%; font: inherit; padding: .8rem 1.1rem; border-radius: 999px; border: 1px solid rgba(156,63,34,.35); background: #fffaf1; }
.plan-recherche input:focus { outline: 3px solid rgba(156,63,34,.35); outline-offset: 2px; }
.plan-aucun { margin-top: .8rem; font-weight: 700; color: #9c3f22; }
.plan-accueil { margin-top: .6rem; font-size: .92rem; }
.plan-section { padding: 0 0 4rem; }
.plan-grille { columns: 3 300px; column-gap: 1.4rem; }
.plan-grille .plan-carte { break-inside: avoid; margin-bottom: 1.4rem; display: block; }
.plan-carte { background: #fffaf1; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 34px -24px rgba(58,34,22,.55); border: 1px solid rgba(58,34,22,.08); }
.plan-carte[hidden] { display: none; }
.plan-tete { display: flex; align-items: center; gap: .7rem; margin: 0; padding: 1rem 1.2rem; font-size: 1.15rem; background: var(--rub, #9c3f22); color: #fff6e8; }
.plan-tete a { color: #fff6e8; text-decoration: none; }
.plan-tete a:hover { text-decoration: underline; }
.plan-ico { display: inline-flex; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: rgba(255,246,232,.16); align-items: center; justify-content: center; flex: none; }
.plan-ico svg { width: 1.2rem; height: 1.2rem; }
.plan-liste, .plan-liste ul { list-style: none; margin: 0; padding: 0; }
.plan-liste { padding: .8rem 1.2rem 1.1rem; }
.plan-liste li { margin: 0; }
.plan-liste li[hidden] { display: none; }
.plan-liste a { display: block; padding: .32rem 0; color: #3a2216; text-decoration: none; border-bottom: 1px dashed rgba(58,34,22,.12); }
.plan-liste a:hover { color: var(--rub, #9c3f22); }
.plan-sous { margin-top: .7rem !important; }
.plan-sous-titre { margin: 0 0 .2rem; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.plan-sous-titre a { display: inline; border: 0; padding: 0; color: var(--rub, #9c3f22); }
.plan-sous ul { padding-left: .8rem; border-left: 2px solid var(--rub, #9c3f22); }
.plan-seule { padding: .9rem 1.2rem; margin: 0; color: #6b5a4c; font-size: .92rem; }
.plan-liste a svg { width: 1em; height: 1em; vertical-align: -.15em; margin-left: .3em; }

/* Haut-parleur rouge (terre cuite) intégré au lecteur audio du navigateur :
   le haut-parleur gris du lecteur est caché (Chrome, Edge, Safari) et le rouge prend sa place au bout de la barre. */
.audio-ligne { display: inline-flex; align-items: center; max-width: 100%; vertical-align: middle;
  background: #f1f3f4; border-radius: 999px; padding-right: 8px; }
.audio-ligne audio { margin: 0; flex: 1 1 auto; min-width: 220px; }
.hero-audio .audio-ligne { flex: 1 1 300px; max-width: 460px; }
.audio-ligne audio::-webkit-media-controls-mute-button,
.audio-ligne audio::-webkit-media-controls-volume-slider,
.audio-ligne audio::-webkit-media-controls-volume-control-container { display: none !important; }
.son-raaq { flex: none; display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: #9c3f22; cursor: pointer; }   /* rouge terre cuite */
.son-raaq:hover { background: rgba(156,63,34,.12); }
.son-raaq:focus-visible { outline: 2px solid #d4943a; outline-offset: 1px; }
.icone-audio { width: 28px; height: 28px; }
.icone-audio .croix { display: none; }
.audio-ligne.muet .icone-audio .onde { display: none; }
.audio-ligne.muet .icone-audio .croix { display: inline; }
/* Les ondes bougent pendant la lecture */
@keyframes onde-raaq { 0%, 100% { opacity: .25; transform: scale(.85); } 50% { opacity: 1; transform: scale(1); } }
.icone-audio .onde { transform-box: fill-box; transform-origin: left center; }
.audio-ligne.joue .onde-1 { animation: onde-raaq 1s ease-in-out infinite; }
.audio-ligne.joue .onde-2 { animation: onde-raaq 1s ease-in-out .25s infinite; }
@media (prefers-reduced-motion: reduce) { .audio-ligne.joue .onde { animation: none; } }
/* Clap de cinéma (rouge terre cuite) au début de la barre des accordéons vidéo */
.icone-clap { width: 28px; height: 28px; flex: none; color: #9c3f22; vertical-align: middle; margin: -4px 10px -4px 0; }
.icone-clap .clap-haut { transform-box: view-box; transform-origin: 3.5px 11px; }
@keyframes clap-raaq { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-14deg); } }
details.video-pli.joue .icone-clap .clap-haut { animation: clap-raaq .8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { details.video-pli.joue .icone-clap .clap-haut { animation: none; } }
/* Calendrier (rouge terre cuite) au début de la barre des accordéons de l'agenda */
.icone-cal { width: 28px; height: 28px; flex: none; color: #9c3f22; vertical-align: middle; margin: -4px 10px -4px 0; }
/* Pages couvertures des PDF, comme dans une bibliothèque en ligne */
.livre-pdf { display: flex; gap: 18px; align-items: flex-start; margin: 1.2em 0; }
.livre-pdf .couv { flex: none; display: block; width: 150px; border-radius: 4px; overflow: hidden; background: #fff; line-height: 0;
  box-shadow: 0 1px 2px rgba(58,34,22,.2), 0 8px 18px rgba(58,34,22,.18); transition: transform .2s ease, box-shadow .2s ease; }
.livre-pdf .couv img { display: block; width: 100%; height: auto; margin: 0; border-radius: 0; }
.livre-pdf .couv:hover, .livre-pdf .couv:focus-visible { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(58,34,22,.2), 0 14px 26px rgba(58,34,22,.24); }
.livre-pdf .livre-info { flex: 1 1 auto; min-width: 0; }
.livre-pdf .livre-info > p:first-child { margin-top: 0; }
@media (max-width: 520px) { .livre-pdf .couv { width: 110px; } .livre-pdf { gap: 14px; } }
@media (prefers-reduced-motion: reduce) { .livre-pdf .couv { transition: none; } }
/* Boîte « À lire » : couleurs d'origine de l'encadré du site d'hypnose (Jacques Gaudreault) */
.encadre.avis { background: #fff; border: 1px solid rgba(94,113,81,.25); border-left-width: 5px;
  border-radius: 22px; padding: 1.8rem 2rem; margin: 2rem 0; }
.encadre.avis h3 { color: #5E7151; display: flex; gap: .6rem; align-items: center; margin: 0 0 1rem; font-size: 1.15rem; }
.encadre.avis h3 svg { flex: none; }
.encadre-pdf .livre-pdf { margin: 0; }
.encadre-pdf .ouvrir-pdf { margin: .8rem 0 0; }
.encadre-pdf .ouvrir-pdf a { color: #5E7151; font-weight: 600; text-decoration: none; }
.encadre-pdf .ouvrir-pdf a:hover { text-decoration: underline; }
@media (max-width: 520px) { .encadre.avis { padding: 1.3rem 1.2rem; } }
