/* =====================================================================
   LOT 342 (24/11/2026) — le site plus court et plus direct. Chargée sur toutes les pages par includes/header.php, après
   harmonie-340.css. Fichier absent = l'aspect d'avant revient.
   1. Bandeau bêta sur UNE ligne (le détail se déplie dans « En savoir plus »).
   2. Menu : le lien « Tout voir » de chaque porte, en gras.
   3. Accueil (classes .a309-*, présentes seulement sur l'accueil) : sur téléphone, le bouton principal visible dès
      l'arrivée (photo sous le texte, plus basse), blog et engagements en rangées qu'on fait défiler du doigt.
   ===================================================================== */

/* ---------- 1. Bandeau bêta ---------- */
.bandeau-beta{ background:#F6F4FF; color:#17142B; border-bottom:1px solid #E4DFF7; font-size:.9rem; line-height:1.4; }
.bandeau-beta-ligne{ display:flex; gap:.35rem .9rem; align-items:center; justify-content:center; flex-wrap:wrap; padding:.35rem 1rem; text-align:center; }
.bandeau-beta a{ color:#5A3CE0; font-weight:600; }
.bandeau-beta-plus{ display:inline; }
.bandeau-beta-plus summary{ display:inline; cursor:pointer; color:#5A3CE0; font-weight:600; text-decoration:underline; text-underline-offset:2px; }
.bandeau-beta-plus summary::-webkit-details-marker{ display:none; }
.bandeau-beta-plus[open]{ flex-basis:100%; order:5; }
.bandeau-beta-plus[open] p{ margin:.3rem auto 0; max-width:60ch; }
.bandeau-beta-fermer{ min-height:32px; min-width:32px; border:1px solid #D2CAEF; background:#fff; color:inherit; border-radius:999px;
  cursor:pointer; padding:0; font:inherit; font-size:1.1rem; line-height:1; }
@media (max-width:640px){
  .bandeau-beta{ font-size:.85rem; }
  .bandeau-beta-ligne{ padding:.3rem .75rem; gap:.25rem .7rem; }
}
html[data-theme="dark"] .bandeau-beta{ background:#221E38; color:#F2EFFF; border-color:#3A3458; }
html[data-theme="dark"] .bandeau-beta a, html[data-theme="dark"] .bandeau-beta-plus summary{ color:#B9A8FF; }
html[data-theme="dark"] .bandeau-beta-fermer{ background:transparent; border-color:#3A3458; }

/* ---------- 2. Menu ---------- */
.main-nav .dropdown-panel a.dropdown-tout{ font-weight:700; color:var(--color-accent, #5A3CE0); border-top:1px solid var(--color-border, #E4DFF7); margin-top:.25rem; padding-top:.6rem; }

/* ---------- 3. Accueil ---------- */
@media (max-width:900px){
  /* La photo passe SOUS le texte et les boutons : « Faire le point en 5 minutes » est visible dès l'arrivée. */
  html body .a309-hero .a309-hero-visuel{ order:1; aspect-ratio:16/7; }
}
@media (max-width:640px){
  html body .a309-hero{ padding-top:1rem; }
  html body .a309-hero h1{ font-size:1.5rem; }
  .a309-hero .ecouter-boite, .a309-hero .ecouter{ margin-top:0; margin-bottom:1rem; }
  /* Blog et engagements : une rangée qu'on fait défiler du doigt, comme les fiches et « Mes proches » */
  html body .a309-blog .b285-grille, html body .a309-eng{ display:flex; gap:.85rem; overflow-x:auto; scroll-snap-type:x mandatory; margin:0 -16px;
    padding:.25rem 16px 1rem; scrollbar-width:none; }
  .a309-blog .b285-grille::-webkit-scrollbar, .a309-eng::-webkit-scrollbar{ display:none; }
  .a309-blog .b285-grille > *, .a309-eng > li{ flex:0 0 80%; scroll-snap-align:start; }
  /* Les fiches profils : la ligne d'explication suffit, la carte garde son titre et son étiquette */
  #me-comprendre .grid-cards > .card p{ display:none; }
}

/* ---------- 4. Espace membre : « Aujourd'hui, pour vous » et le questionnaire replié ---------- */
.e342{ margin:0 0 1.4rem; padding:1.15rem 1.25rem 1rem; border-radius:24px; background:linear-gradient(135deg,#F6F4FF,#EFEBFD);
  border:1px solid #E4DFF7; color:#17142B; }
.e342-sur{ margin:0 0 .45rem; font-size:.8rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#5A3CE0; }
.e342-sugg{ display:flex; gap:.8rem 1.2rem; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.e342-sugg > div{ flex:1 1 260px; }
.e342 h2{ margin:0 0 .25rem; font-size:1.25rem; line-height:1.25; }
.e342-sugg p{ margin:0; color:#4A4563; }
.e342-sugg .btn{ flex:0 0 auto; }
.e342-reprendre{ margin:.85rem 0 0; padding-top:.7rem; border-top:1px solid #E4DFF7; }
.e342-reprendre a, .e342-liens a{ color:#5A3CE0; font-weight:600; }
.e342-liens{ margin:.6rem 0 0; font-size:.92rem; display:flex; flex-wrap:wrap; gap:.2rem .5rem; }
@media (max-width:640px){ .e342-sugg .btn{ width:100%; justify-content:center; } }
html[data-theme="dark"] .e342{ background:#221E38; border-color:#3A3458; color:#F2EFFF; }
html[data-theme="dark"] .e342-sugg p{ color:#CFC9E8; }
html[data-theme="dark"] .e342-sur, html[data-theme="dark"] .e342-reprendre a, html[data-theme="dark"] .e342-liens a{ color:#B9A8FF; }
html[data-theme="dark"] .e342-reprendre{ border-color:#3A3458; }

details.db-suivi-pli > summary{ cursor:pointer; list-style:none; display:flex; flex-wrap:wrap; align-items:baseline; gap:.2rem .7rem; }
details.db-suivi-pli > summary::-webkit-details-marker{ display:none; }
details.db-suivi-pli > summary::before{ content:"+"; font-weight:700; color:var(--color-accent, #5A3CE0); width:1rem; }
details.db-suivi-pli[open] > summary::before{ content:"−"; }
.db-suivi-pli-t{ font-weight:700; font-size:1.05rem; }
.db-suivi-pli-s{ color:var(--color-ink-soft, #4A4563); font-size:.9rem; }
details.db-suivi-pli[open] > summary{ margin-bottom:.8rem; }
