/* Pages « Découvrir » (outils/pages_decouvrir.py) et cartes cliquables des accueils. */
a.plusieurs__carte--lien { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s, box-shadow .2s; }
a.plusieurs__carte--lien:hover, a.plusieurs__carte--lien:focus-visible { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0, 0, 0, .35); }
.dp-plus { margin-top: auto; padding-top: 14px; font: 600 14px var(--body); color: var(--accent); }
a.plusieurs__carte--lien:hover .dp-plus { text-decoration: underline; text-underline-offset: 4px; }
.plusieurs__carte--lien p { margin-bottom: 0; }

/* en-tête de page */
main > section.dp-hero { border-top: 0; padding-bottom: clamp(30px, 5vw, 60px); }
.dp-retour { display: inline-block; margin-bottom: 28px; font: 500 14px var(--body); color: var(--muted); text-decoration: none; }
.dp-retour:hover { color: var(--accent); }
.dp-hero .big em, .dp-bloc .big em { font-family: "DM Serif Display", serif; font-style: italic; font-weight: 400; text-transform: none; color: var(--accent); letter-spacing: 0; }
.dp-lead { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.6; max-width: 760px; color: var(--ink); }

/* étapes */
.dp-ex { margin-top: 40px; font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dp-pas { list-style: none; padding: 0; margin: 40px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 1000px; text-align: left; }
.dp-pas li { position: relative; padding-top: 6px; }
.dp-n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 700 15px var(--mono); margin-bottom: 14px; }
.dp-pas b { display: block; font: 400 24px/1.15 "DM Serif Display", serif; margin-bottom: 8px; }
.dp-pas p { color: var(--muted); line-height: 1.55; }

/* bon à savoir */
.dp-bon ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; max-width: 820px; }
.dp-bon li { position: relative; padding-left: 34px; font-size: 18px; line-height: 1.55; }
.dp-bon li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 11px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 108 60'%3E%3Cpath fill-rule='evenodd' d='M50 12C62 2 84 0 100 8C102 28 92 46 72 48C62 49 56 42 50 36C44 42 38 49 28 48C8 46 -2 28 0 8C16 0 38 2 50 12Z M24 24C28 18 40 18 44 24C40 30 28 30 24 24Z M76 24C72 18 60 18 56 24C60 30 72 30 76 24Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 108 60'%3E%3Cpath fill-rule='evenodd' d='M50 12C62 2 84 0 100 8C102 28 92 46 72 48C62 49 56 42 50 36C44 42 38 49 28 48C8 46 -2 28 0 8C16 0 38 2 50 12Z M24 24C28 18 40 18 44 24C40 30 28 30 24 24Z M76 24C72 18 60 18 56 24C60 30 72 30 76 24Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.dp-lien { display: inline-block; margin-top: 26px; font-weight: 600; color: var(--accent); text-decoration: none; }
.dp-lien:hover { text-decoration: underline; text-underline-offset: 4px; }

/* à découvrir aussi */
.dp-grille3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dp-suite h3 { margin: 0; }
.dp-cta { display: inline-block; margin-top: 40px; background: var(--accent); color: var(--accent-ink); font-weight: 700; padding: 16px 28px; border-radius: 12px; text-decoration: none; }
.dp-cta:hover { filter: brightness(1.08); }

/* écrans des téléphones propres aux pages */
.dp-titre { margin: 4px 0 0; font: 400 19px/1.2 "DM Serif Display", serif; }
.dp-micro { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 14px 0 4px; }
.dp-micro__rond { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; background: var(--accent); box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 22%, transparent), 0 0 0 20px color-mix(in srgb, var(--accent) 10%, transparent); }
.dp-micro__temps { font: 600 12px var(--mono); color: var(--muted); margin-top: 10px; }
.dp-onde { display: flex; align-items: center; gap: 2px; height: 26px; }
.dp-onde i { flex: 1; min-width: 2px; border-radius: 2px; background: var(--accent); opacity: .8; }
.dp-aveugle { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 12px; border-radius: 16px; text-align: center; background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%), var(--frame); border: 1px dashed color-mix(in srgb, var(--accent) 50%, transparent); }
.dp-aveugle b { font-size: 13px; } .dp-aveugle span { font-size: 10.5px; color: var(--muted); }
.dp-ecouter { margin-top: 6px; color: var(--accent-ink) !important; background: var(--accent); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 11.5px !important; }
.dp-nom { margin: 6px 0 0; font: 400 20px "DM Serif Display", serif; }
.dp-meta { margin: 0; font-size: 10.5px; color: var(--muted); }
.dp-vocal { display: flex !important; align-items: center; gap: 6px; width: 76%; }
.dp-vocal .dp-onde { flex: 1; height: 18px; } .dp-vocal small { font-size: 9px; opacity: .8; }
.dp-moi { align-self: flex-end !important; background: var(--accent) !important; color: var(--accent-ink); border-radius: 14px 14px 4px 14px !important; }
.dp-moi .dp-onde i { background: var(--accent-ink); }
.dp-evt { margin-top: 10px; padding: 12px 10px; border-radius: 14px; text-align: center; font-size: 11.5px; line-height: 1.4; border: 1px solid var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); display: flex; flex-direction: column; gap: 10px; }
.dp-evt .jx-btnr { margin-top: 0; font-size: 11px; padding: 8px; }
.dp-evt--ok { margin: 0 0 6px; }
.dp-feuille .jx-h span { color: var(--accent); font-family: "DM Serif Display", serif; font-style: italic; font-weight: 400; text-transform: none; }
.dp-feuille .jx-btnr { margin-top: auto; }
.dp-gauche { text-align: left !important; font-size: 11px !important; }
.dp-album { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 8px; }
.dp-album span { aspect-ratio: 3 / 4; border-radius: 10px; display: grid; place-items: center; color: rgba(255, 255, 255, .35); }
.dp-album span svg { width: 34px; }
.dp-album .a0 { background: linear-gradient(160deg, #6b2a45, #2a1520); } .dp-album .a1 { background: linear-gradient(160deg, #3d2a52, #1d1428); }
.dp-album .a2 { background: linear-gradient(160deg, #7a3a2a, #2b1712); } .dp-album .a3 { background: linear-gradient(160deg, #2a4a52, #121f24); }
.dp-champ { display: flex; flex-direction: column; gap: 4px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--frame); }
.dp-champ small { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; } .dp-champ b { font-size: 12px; }
.dp-confirme { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; padding: 14px 12px; border-radius: 14px; border: 1px solid #7fe0b0; background: rgba(127, 224, 176, .08); font-size: 11.5px; }
.dp-confirme b { color: #7fe0b0; font-size: 13px; }
.dp-danger { border: 1px solid #ff6b6b; color: #ff8f8f; border-radius: 10px; text-align: center; padding: 9px; font-weight: 600; }

@media (max-width: 900px) {
  .dp-pas, .dp-grille3 { grid-template-columns: 1fr; }
  .dp-pas { gap: 22px; }
}

/* décor animé des 4 cartes de l'accueil : grands symboles lumineux */
.cz a.plusieurs__carte--lien { position: relative; overflow: hidden; isolation: isolate; padding-top: 150px; }
.cz-zone { position: absolute; left: 0; right: 0; top: 0; height: 140px; z-index: -1; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.cz-sym { display: flex; align-items: center; gap: 10px; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--accent) 60%, transparent)); }
.cz-sym svg { display: block; overflow: visible; }
.cz-onde { display: flex; align-items: center; gap: 2px; width: 120px; height: 40px; }
.cz-onde i { flex: 1; height: var(--h); border-radius: 2px; background: currentColor; animation: cz-barre 1.2s ease-in-out infinite; animation-delay: var(--d); }
@keyframes cz-barre { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
.cz-cartes span { display: grid; place-items: center; width: 58px; height: 80px; border-radius: 9px; border: 2.5px solid currentColor; font: 700 28px var(--body); }
.cz-cartes .c1 { rotate: -10deg; animation: cz-retourne 4s ease-in-out infinite; }
.cz-cartes .c2 { rotate: 8deg; background: currentColor; animation: cz-retourne 4s ease-in-out infinite 2s; }
.cz-cartes .c2 { background: var(--accent) !important; border-color: var(--accent); color: var(--accent-ink); }
@keyframes cz-retourne { 0%, 40%, 100% { transform: none; } 50% { transform: rotateY(180deg); } 60% { transform: rotateY(360deg); } }
.cz-lever svg { animation: cz-lever 3.4s ease-in-out infinite; }
@keyframes cz-lever { 0%, 20%, 100% { transform: none; } 50%, 70% { transform: translateY(-22px) rotate(-10deg); } }
.cz-verres { gap: 0; }
.cz-verres .g1 { transform-origin: bottom right; animation: cz-t1 2.8s ease-in-out infinite; }
.cz-verres .g2 { transform-origin: bottom left; animation: cz-t2 2.8s ease-in-out infinite; }
@keyframes cz-t1 { 0%, 30%, 100% { rotate: -14deg; } 50%, 60% { rotate: 4deg; } }
@keyframes cz-t2 { 0%, 30%, 100% { rotate: 14deg; } 50%, 60% { rotate: -4deg; } }
@media (prefers-reduced-motion: reduce) { .cz-zone * { animation: none !important; } }
/* une seule fois, à l'arrivée de la carte à l'écran (cz.js) */
.cz .cz-zone * { animation-iteration-count: 1 !important; animation-play-state: paused; }
.cz .cz-on .cz-zone * { animation-play-state: running; }
.cz .cz-onde i { animation-iteration-count: 3 !important; animation-fill-mode: forwards; }
