/*
 * Composants de page — styles qui, dans le handoff, vivaient dans le <style>
 * de chaque fichier HTML (hero, split, stat-band, citation, galerie, newsletter…).
 * Consolidés ici, versionnés, et enfilés globalement (réutilisés par plusieurs pages).
 */

/* ---------- HERO ---------- */
.hero { min-height: min(100vh, 900px); display: flex; align-items: flex-end; position: relative; overflow: hidden; background: var(--blue-deep); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,58,92,.72) 0%, rgba(9,58,92,.32) 42%, rgba(9,58,92,.9) 100%); }
.hero .wrap { position: relative; z-index: 3; padding: 150px 0 clamp(48px, 6vw, 84px); color: #fff; }
.hero h1 { font-size: clamp(62px, 9.6vw, 124px); color: #fff; }
.hero h1 em { font-style: normal; color: var(--yellow); display: block; }
.hero p { color: rgba(255,255,255,.88); margin-top: 24px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 44px; }
.hero .hero-cta .btn { padding: 12px 22px; font-size: 12px; letter-spacing: .06em; }
.hero .hero-cta .btn-y { box-shadow: 0 10px 30px -14px rgba(0,0,0,.4); }
.hero-meta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.24); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,.7); }

/* ---------- SPLIT 2 colonnes ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Photo décalée + badge ---------- */
.ph-stack { position: relative; padding: 0 0 40px 40px; }
.ph-stack img { border-radius: 20px; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; }
.ph-stack .badge { position: absolute; left: 0; bottom: 0; background: var(--yellow); color: var(--ink); border-radius: 18px; padding: 20px 24px; max-width: 230px; font-family: var(--am-font-head); font-weight: 800; text-transform: uppercase; font-size: 15px; line-height: 1.1; }

/* Promo « Marie dans le monde » : fenêtre sombre (aperçu du globe) calée sur .ph-stack. */
.ph-stack .am-atlas-screen { display: block; position: relative; width: 100%; aspect-ratio: 4/5; border-radius: 20px; overflow: hidden;
	background: radial-gradient(120% 120% at 40% 34%, #12406A 0%, #0A2B47 44%, #04101B 100%);
	box-shadow: 0 30px 60px -28px rgba(8,36,61,.55); transition: transform .3s ease, box-shadow .3s ease; }
.ph-stack .am-atlas-screen:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -28px rgba(8,36,61,.6); }
.ph-stack .am-atlas-screen svg,
.ph-stack .am-atlas-screen img { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 82%; height: auto; border-radius: 0; aspect-ratio: 1/1; object-fit: contain; }

/* ---------- Bande de statistiques ---------- */
.stat-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(8,36,61,.14); border-radius: 18px; overflow: hidden; margin-top: 44px; }
.stat-band div { background: rgba(255,255,255,.62); padding: 22px 20px; }
.stat-band b { display: block; font-family: var(--am-font-head); font-size: 30px; color: var(--ink); line-height: 1; }
.stat-band span { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(8,36,61,.7); }
@media (max-width: 720px) { .stat-band { grid-template-columns: 1fr; } }

/* ---------- Titre de section large ---------- */
.h2big { font-size: clamp(42px, 5.6vw, 72px); }

/* ---------- Citation ---------- */
.quote { background: var(--yellow-soft); border-radius: 26px; padding: clamp(30px, 4vw, 58px); display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.quote .q { font-family: var(--am-font-head); font-size: 64px; color: var(--yellow); line-height: .7; }
.quote blockquote { margin: 0; font-size: clamp(19px, 2vw, 27px); line-height: 1.35; font-weight: 500; }
.quote cite { display: block; margin-top: 18px; font-style: normal; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--blue-mid); }
@media (max-width: 640px) { .quote { grid-template-columns: 1fr; } }

/* ---------- Bloc CTA / Newsletter ---------- */
.cta { background: var(--yellow); color: var(--ink); text-align: center; padding: clamp(56px, 7vw, 110px) 0; }
.cta h2 { font-size: clamp(32px, 5.4vw, 74px); }
.nl { display: flex; gap: 10px; max-width: 520px; margin: 28px auto 0; }
.nl input { flex: 1; border: 2px solid var(--ink); border-radius: 999px; padding: 14px 20px; font-family: inherit; font-size: 15px; background: #fff; }

/* ---------- Galerie mosaïque (repli statique) ---------- */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 44px; }
.gal img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; width: 100%; height: auto; }
.gal img:nth-child(1) { grid-column: span 2; aspect-ratio: 2/1; }
@media (max-width: 720px) { .gal { grid-template-columns: 1fr 1fr; } .gal img:nth-child(1) { grid-column: span 2; } }

/* ---------- Galerie « bande » à défilement opposé (pilotée par am.js) ---------- */
.galx { overflow: hidden; margin-top: 44px; display: flex; flex-direction: column; gap: 14px; }
.galx-row { display: flex; gap: 14px; width: max-content; will-change: transform; transform: translateX(-8%); }
.galx-row img { width: clamp(200px, 22vw, 300px); aspect-ratio: 4/3; height: auto; object-fit: cover; border-radius: 14px; flex: 0 0 auto; }
@media (prefers-reduced-motion: reduce) { .galx-row { transform: none; } }

/* =========================================================
   FICHE ÉVÉNEMENT (single-evenement.php)
   ========================================================= */
.evh { position: relative; overflow: hidden; background: var(--blue); min-height: min(88vh, 760px); display: flex; align-items: flex-end; }
.evh > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.evh.hasph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,58,92,.62), rgba(9,58,92,.42) 44%, rgba(9,58,92,.94)), linear-gradient(100deg, rgba(9,58,92,.5), rgba(9,58,92,0) 62%); }
.evh .wrap { position: relative; z-index: 3; padding: 146px 0 clamp(38px, 4.4vw, 64px); }
.evh.hasph .wrap, .evh.hasph h1 { color: #fff; }
.evh.hasph .bc a, .evh.hasph .bc span { color: rgba(255,255,255,.7); }
.evh.hasph .hmeta { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.28); }
.evh h1 { font-size: clamp(38px, 6.6vw, 96px); margin: 20px 0 0; color: var(--ink); }
.bc { display: flex; gap: 9px; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(8,36,61,.6); margin-bottom: 18px; }
.bc a { color: inherit; } .bc a:hover { color: inherit; text-decoration: underline; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sub { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; max-width: 58ch; margin-top: 18px; }
.hmeta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(8,36,61,.22); color: rgba(8,36,61,.8); }
.hmeta div { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.hmeta svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hcta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.body { display: grid; grid-template-columns: 1fr minmax(300px, 340px); gap: clamp(30px, 4vw, 64px); align-items: start; padding: clamp(48px, 6vw, 86px) 0; }
.body.solo { grid-template-columns: 1fr; }
.body.solo .rail { position: static; flex-direction: row; flex-wrap: wrap; gap: 14px; }
.body.solo .rail .card2 { flex: 1 1 300px; }
.body.solo .rail .card2.acc .dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 26px; }
.body.solo .rail .card2.acc .dl > div { border-top: 1px solid rgba(8,36,61,.16); padding-top: 11px; }
@media (max-width: 940px) { .body { grid-template-columns: 1fr; } }
.blk { margin-bottom: clamp(40px, 5vw, 68px); }
.blk:last-child { margin-bottom: 0; }
.blk h2 { font-size: clamp(24px, 3.2vw, 40px); margin-bottom: 20px; }
.rich p { font-size: 17.5px; color: #33506a; margin-bottom: 14px; }
.rich p:first-of-type { font-size: 19px; color: var(--ink); }
.rich strong { font-weight: 700; color: var(--ink); }
.rail { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px; }
.card2 { background: #fff; border: 1px solid var(--rule); border-radius: 22px; padding: 24px 22px; }
.card2.acc { background: var(--blue); border-color: transparent; }
.card2 h3 { font-size: 12px; letter-spacing: .16em; margin-bottom: 16px; color: rgba(8,36,61,.55); }
.card2.acc h3 { color: rgba(8,36,61,.7); }
.dl { display: flex; flex-direction: column; }
.dl > div { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--rule); align-items: start; }
.dl > div:first-child { border-top: none; padding-top: 0; }
.card2.acc .dl > div { border-color: rgba(8,36,61,.16); }
.dl svg { width: 19px; height: 19px; stroke: rgba(8,36,61,.6); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.dl b { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: rgba(8,36,61,.5); margin-bottom: 3px; }
.dl span { font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.dl small { display: block; font-weight: 400; font-size: 13.5px; color: rgba(8,36,61,.6); margin-top: 2px; }
.prog { display: flex; flex-direction: column; }
.pi { display: grid; grid-template-columns: 86px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--rule); }
.pi:last-child { border-bottom: 1px solid var(--rule); }
.pi .h { font-family: var(--am-font-head); font-weight: 700; font-size: 13px; color: var(--ink); padding-top: 3px; }
.pi .ti { font-weight: 600; font-size: 17px; }
.pi .de { font-size: 15px; color: #4b647c; margin-top: 5px; max-width: 60ch; }
.pi .tg { display: inline-block; margin-top: 9px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--blue-soft); color: var(--ink); }
.pday { font-family: var(--am-font-head); font-weight: 800; text-transform: uppercase; font-size: 14px; color: var(--ink); background: var(--yellow); border-radius: 999px; padding: 8px 16px; display: inline-block; margin: 26px 0 4px; }
.pday:first-child { margin-top: 0; }
@media (max-width: 600px) { .pi { grid-template-columns: 1fr; } .pi .h { padding-top: 0; } }
.spks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .spks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .spks { grid-template-columns: 1fr; } }
.sp2 { background: #fff; border: 1px solid var(--rule); border-radius: 20px; overflow: hidden; }
.sp2 img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.sp2 .ph { width: 100%; aspect-ratio: 1; background: var(--blue-soft); display: grid; place-items: center; font-family: var(--am-font-head); font-weight: 800; font-size: 34px; color: rgba(8,36,61,.3); }
.sp2 .bd { padding: 18px 18px 20px; }
.sp2 .n { font-family: var(--am-font-head); font-weight: 700; text-transform: uppercase; font-size: 14px; line-height: 1.15; }
.sp2 .f { font-size: 14px; color: rgba(8,36,61,.62); margin-top: 5px; }
.sp2 .bio { font-size: 14.5px; color: #4b647c; margin-top: 10px; }
.prat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .prat { grid-template-columns: 1fr; } }
.pc { background: #fff; border: 1px solid var(--rule); border-radius: 20px; padding: 26px 22px; }
.pc .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--blue); display: grid; place-items: center; margin-bottom: 14px; }
.pc .ic svg { width: 21px; height: 21px; stroke: var(--ink); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pc h3 { font-size: 17px; margin-bottom: 9px; }
.pc p { font-size: 15px; color: #4b647c; }
.pc ul { margin: 8px 0 0; padding-left: 18px; font-size: 15px; color: #4b647c; }
.pc li { margin-bottom: 5px; }
.faq .ac-i { border-top: 1px solid var(--rule); }
.faq .ac-i:last-child { border-bottom: 1px solid var(--rule); }
.faq .ac-h { display: flex; align-items: center; gap: 18px; padding: 20px 2px; cursor: pointer; font-family: var(--am-font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(14px, 1.5vw, 17px); color: var(--ink); }
.faq .pm { margin-left: auto; font-family: var(--am-font-body); font-size: 24px; color: rgba(8,36,61,.5); transition: transform .2s; }
.faq .ac-i.open .pm { transform: rotate(45deg); }
.faq .ac-b { max-height: 0; overflow: hidden; transition: max-height .3s; }
.faq .ac-i.open .ac-b { max-height: 320px; }
.faq .ac-b p { padding: 0 2px 22px; font-size: 16px; color: #4b647c; max-width: 72ch; }
.gal2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.gal2 img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; display: block; }
.mapx { border-radius: 20px; overflow: hidden; border: 1px solid var(--rule); background: var(--blue-soft); aspect-ratio: 16/7; }
.mapx iframe { width: 100%; height: 100%; border: 0; display: block; }
.rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .rel { grid-template-columns: 1fr; } }
.rc { display: block; background: #fff; border: 1px solid var(--rule); border-radius: 20px; overflow: hidden; transition: transform .2s; }
.rc:hover { transform: translateY(-4px); }
.rc img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.rc .bd { padding: 20px; }
.rc .d { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-mid); margin-bottom: 8px; }
.rc h3 { font-size: 17px; line-height: 1.15; }
.evcta { background: var(--yellow); text-align: center; padding: clamp(52px, 6.4vw, 100px) 0; }
.evcta h2 { font-size: clamp(30px, 5vw, 68px); }
.evcta p { max-width: 48ch; margin: 14px auto 0; color: rgba(8,36,61,.78); }
.evcta .r { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* =========================================================
   ROSAIRE M (template-rosaire.php)
   ========================================================= */
/* Overrides hero + citation — scopés pour ne pas toucher l'accueil */
.am-rosaire .hero { background: var(--ink); }
.am-rosaire .hero > img { object-position: 50% 42%; }
.am-rosaire .hero::after { background: linear-gradient(180deg, rgba(9,58,92,.72), rgba(9,58,92,.4) 46%, rgba(9,58,92,.94)), linear-gradient(100deg, rgba(9,58,92,.5), rgba(9,58,92,0) 60%); }
.am-rosaire .hero h1 { font-size: clamp(60px, 9.6vw, 140px); }
.am-rosaire .hero h1 em { color: var(--blue); }
.am-rosaire .quote { background: var(--yellow); }
.am-rosaire .quote .q { color: rgba(8,36,61,.35); }

.facts { display: inline-flex; flex-wrap: wrap; max-width: 100%; gap: 0; margin-top: 40px; border: 1px solid rgba(255,255,255,.28); border-radius: 16px; overflow: hidden; }
.facts div { padding: 18px 26px; border-right: 1px solid rgba(255,255,255,.2); font-family: var(--am-font-head); font-weight: 700; text-transform: uppercase; font-size: 14px; color: #fff; }
.facts div:last-child { border: none; background: var(--yellow); color: var(--ink); }
/* Mobile : mêmes segments empilés proprement que .datebar. */
@media (max-width: 782px) {
	.facts { display: flex; flex-direction: column; align-items: stretch; width: 100%; }
	.facts div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); text-align: center; }
	.facts div:last-child { border-bottom: 0; }
}
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } }
.pil { display: grid; grid-template-columns: auto 1fr .82fr; gap: clamp(20px, 3vw, 44px); padding: clamp(28px, 3.4vw, 44px) 0; border-top: 1px solid var(--rule); align-items: center; }
.pil figure { margin: 0; position: relative; align-self: center; aspect-ratio: 16 / 10; }
.pil figure img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; display: block; }
.pil figure figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255,251,243,.92); color: var(--ink); border-radius: 999px; padding: 7px 13px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pil.rev figure { order: -1; }
.pil.rev .n { order: -2; }
@media (max-width: 980px) { .pil { grid-template-columns: auto 1fr; } .pil figure { grid-column: 1/-1; order: 0 !important; } }
.ico { width: 44px; height: 44px; border-radius: 13px; background: var(--blue); color: var(--ink); display: grid; place-items: center; margin-bottom: 16px; flex: none; }
.ico svg { width: 23px; height: 23px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pil-h { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.pil-h .ico { margin-bottom: 0; }
.pil-h h3 { margin: 0; }
.pil:last-of-type { border-bottom: 1px solid var(--rule); }
.pil .n { font-family: var(--am-font-head); font-weight: 800; font-size: clamp(26px, 3.6vw, 54px); color: rgba(8,36,61,.6); line-height: .9; min-width: 2.4em; }
.pil h3 { font-size: clamp(21px, 2.6vw, 34px); margin-bottom: 12px; }
.pil p { font-size: 17px; color: #3b566d; max-width: 62ch; }
.pil p + p { margin-top: 12px; }
.pil .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pil .tags span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--ink); }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; padding: 0 0 clamp(40px, 5vw, 80px); }
.strip img { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; }
.strip img:nth-child(2), .strip img:nth-child(5) { aspect-ratio: 3/4; align-self: stretch; }
@media (max-width: 820px) { .strip { grid-template-columns: repeat(3, 1fr); } .strip img:nth-child(2), .strip img:nth-child(5) { aspect-ratio: 3/4; } }
.mission { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .mission { grid-template-columns: 1fr; } }
.mission img { border-radius: 24px; width: 100%; height: auto; max-height: 540px; aspect-ratio: 4/5; object-fit: cover; }
.carry { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: rgba(8,36,61,.14); border-radius: 18px; overflow: hidden; margin-top: 30px; }
.carry > div { background: var(--blue); padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start; }
.carry svg { width: 22px; height: 22px; stroke: var(--ink); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; margin-top: 2px; }
.carry b { display: block; font-family: var(--am-font-head); font-size: 13px; margin-bottom: 5px; }
.carry span { font-size: 15px; color: rgba(8,36,61,.75); }
.fruits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
@media (max-width: 900px) { .fruits { grid-template-columns: 1fr; } }
.fruit { background: #fff; border: 1px solid var(--rule); border-radius: 22px; padding: 0; overflow: hidden; }
.fruit img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.fruit .bd { padding: 26px 26px 30px; }
.fruit .k { font-family: var(--am-font-head); font-weight: 800; text-transform: uppercase; font-size: 15px; color: var(--ink); margin-bottom: 10px; }
.fruit p { font-size: 15.5px; color: #3b566d; }
.join { text-align: center; padding: clamp(56px, 7vw, 110px) 0; }
.join h2 { font-size: clamp(32px, 5.4vw, 74px); }
.join-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* =========================================================
   FESTIVAL (template-festival.php)
   ========================================================= */
.am-festival .hero > img { object-position: 50% 40%; }
.am-festival .hero::after { background: linear-gradient(180deg, rgba(9,58,92,.78), rgba(9,58,92,.58) 45%, rgba(9,58,92,.94)), linear-gradient(100deg, rgba(9,58,92,.5), rgba(9,58,92,0) 62%); }
.am-festival .hero h1 { font-size: clamp(62px, 10vw, 146px); }

.datebar { display: inline-flex; flex-wrap: wrap; max-width: 100%; gap: 0; margin-top: 40px; border: 1px solid rgba(255,255,255,.28); border-radius: 16px; overflow: hidden; }
.datebar div { padding: 18px 26px; border-right: 1px solid rgba(255,255,255,.2); font-family: var(--am-font-head); font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: .04em; color: #fff; }
.datebar div:last-child { border: none; background: var(--yellow); color: var(--ink); }
.datebar .db-link { background: none; border: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; cursor: pointer; padding: 18px 26px; margin: -18px -26px; }
/* Mobile : les segments s'empilent proprement (séparateurs horizontaux, CTA pleine largeur). */
@media (max-width: 782px) {
	.datebar { display: flex; flex-direction: column; align-items: stretch; width: 100%; }
	.datebar div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); text-align: center; }
	.datebar div:last-child { border-bottom: 0; }
}

.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 34px 0 32px; }
.tab { padding: 12px 22px; border-radius: 999px; border: 2px solid var(--rule); background: #fff; font-family: var(--am-font-body); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; color: var(--blue-deep); transition: .18s; }
.tab:hover { border-color: var(--blue-mid); }
.tab.act { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.pane { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.pane img { border-radius: 22px; width: 100%; height: auto; aspect-ratio: 5/4; object-fit: cover; }
.pane[hidden] { display: none; }
@media (max-width: 820px) { .pane { grid-template-columns: 1fr; } }
.sched { margin-top: 26px; display: flex; flex-direction: column; }
.sched > div { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule); font-size: 15.5px; }
.sched b { font-family: var(--am-font-head); font-weight: 700; font-size: 13px; color: var(--blue-mid); }

/* Accordéon 10 raisons — scopé Festival (l'événement a sa FAQ scopée .faq) */
.am-festival .ac-i { border-top: 1px solid rgba(8,36,61,.18); }
.am-festival .ac-i:last-child { border-bottom: 1px solid rgba(8,36,61,.18); }
.am-festival .ac-h { display: flex; align-items: center; gap: 20px; padding: 22px 4px; cursor: pointer; font-family: var(--am-font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(17px, 2vw, 25px); color: var(--ink); }
.am-festival .ac-h .n { color: rgba(8,36,61,.55); font-size: 14px; min-width: 36px; }
.am-festival .ac-h .pm { margin-left: auto; font-family: var(--am-font-body); font-size: 24px; color: var(--ink); transition: transform .2s; }
.am-festival .ac-i.open .pm { transform: rotate(45deg); }
.am-festival .ac-b { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: rgba(8,36,61,.8); }
.am-festival .ac-i.open .ac-b { max-height: 280px; }
.am-festival .ac-b p { padding: 0 4px 26px 60px; max-width: 70ch; }
@media (max-width: 640px) { .am-festival .ac-b p { padding-left: 4px; } }

.travel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .travel { grid-template-columns: 1fr; } }
.tcard { background: #fff; border-radius: 22px; padding: 30px 26px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--rule); }
.tcard h3 { font-size: 19px; }
.tcard p { font-size: 15.5px; color: #41506f; }
.tcard .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--yellow); display: grid; place-items: center; font-family: var(--am-font-head); font-weight: 800; font-size: 15px; color: var(--ink); }
.map { margin-top: 22px; border-radius: 22px; overflow: hidden; border: 1px solid var(--rule); background: var(--blue-soft); aspect-ratio: 21/7; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Édition */
.ed-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 38px; }
.ed-teaser { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .ed-teaser { grid-template-columns: 1fr; } }
.ed-big { font-size: clamp(44px, 7.6vw, 116px); line-height: .88; }
.ed-big em { font-style: normal; color: #fff; display: block; }
.locks { display: flex; flex-direction: column; }
.lock { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 20px 4px; border-top: 1px solid rgba(8,36,61,.18); }
.lock:last-child { border-bottom: 1px solid rgba(8,36,61,.18); }
.lock .n { font-family: var(--am-font-head); font-weight: 800; font-size: 13px; color: rgba(8,36,61,.55); }
.lock .t { font-family: var(--am-font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(15px, 1.6vw, 20px); color: var(--ink); }
.lock .s { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(8,36,61,.55); white-space: nowrap; }
.ed-note { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.theme { background: #fff; color: var(--ink); border-radius: 24px; padding: clamp(22px, 2.6vw, 30px); display: grid; grid-template-columns: minmax(220px, .42fr) 1fr; gap: clamp(24px, 3vw, 44px); align-items: center; margin-bottom: 44px; overflow: hidden; }
.theme .aff { margin: 0; position: relative; border-radius: 16px; overflow: hidden; background: var(--blue-soft); aspect-ratio: 1/1.414; }
.theme .aff img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme .aff figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(255,251,243,.94); border-radius: 999px; padding: 6px 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.theme .bd { padding: clamp(4px, 1vw, 14px) clamp(4px, 1.4vw, 18px) clamp(4px, 1vw, 14px) 0; }
.theme .yr { font-family: var(--am-font-head); font-weight: 800; font-size: clamp(30px, 4vw, 58px); line-height: .9; margin-bottom: 14px; display: block; }
.theme h3 { font-size: clamp(22px, 2.8vw, 38px); margin-bottom: 10px; }
.theme p { color: rgba(8,36,61,.78); max-width: 62ch; }
@media (max-width: 760px) { .theme { grid-template-columns: 1fr; } }

/* Programme jour par jour */
.days { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.day { border: 1px solid rgba(8,36,61,.25); background: none; color: var(--ink); border-radius: 14px; padding: 12px 18px; cursor: pointer; font-family: var(--am-font-body); text-align: left; line-height: 1.15; transition: .18s; }
.day b { display: block; font-family: var(--am-font-head); font-weight: 700; font-size: 13px; text-transform: uppercase; }
.day span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(8,36,61,.6); }
.day:hover { border-color: var(--ink); }
.day.act { background: var(--ink); border-color: var(--ink); color: #fff; }
.day.act span { color: rgba(255,255,255,.65); }
.dpanel[hidden] { display: none; }
.dblock { margin-bottom: 26px; }
.dblock h4 { font-size: 12px; letter-spacing: .18em; color: var(--ink); margin-bottom: 6px; }
.slot { display: grid; grid-template-columns: 82px 1fr auto; gap: 18px; align-items: baseline; padding: 16px 4px; border-top: 1px solid rgba(8,36,61,.18); }
.slot .h { font-family: var(--am-font-head); font-weight: 700; font-size: 13px; color: var(--ink); }
.slot .ti { font-weight: 600; color: var(--ink); font-size: 16.5px; }
.slot .sp { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.spk { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 999px; padding: 6px 18px 6px 6px; }
.spk img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.spk .nm { font-family: var(--am-font-head); font-weight: 700; text-transform: uppercase; font-size: 12.5px; letter-spacing: .01em; line-height: 1.15; color: var(--ink); }
.spk .fn { display: block; font-family: var(--am-font-body); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 13px; color: rgba(8,36,61,.6); margin-top: 3px; }
.spk.tbc { padding-left: 18px; }
.spk.tbc .ph { width: 52px; height: 52px; border-radius: 50%; background: var(--blue-soft); display: grid; place-items: center; font-family: var(--am-font-head); font-weight: 800; font-size: 15px; color: rgba(8,36,61,.45); flex: none; }
.slot .tg { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: #fff; border-radius: 999px; padding: 5px 11px; white-space: nowrap; }
@media (max-width: 640px) { .slot { grid-template-columns: 64px 1fr; } .slot .tg { grid-column: 2; } }

.insc { background: var(--yellow); color: var(--ink); padding: clamp(56px, 7vw, 110px) 0; text-align: center; }
.insc h2 { font-size: clamp(32px, 5.6vw, 80px); }
.insc-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* =========================================================
   MÉDIAS (template-medias.php)
   ========================================================= */
.mh { padding: 132px 0 clamp(30px, 4vw, 52px); background: var(--blue); position: relative; overflow: hidden; }
.mh h1 { font-size: clamp(56px, 8.4vw, 116px); color: var(--ink); }
.mh h1 em { font-style: normal; color: #fff; display: block; }
.mh p { color: rgba(8,36,61,.78); margin-top: 20px; max-width: 46ch; }
.mh .eyebrow::before { background: #fff; }
.mh-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 60px); align-items: end; }
@media (max-width: 900px) { .mh-in { grid-template-columns: 1fr; } }
.srch { display: flex; gap: 10px; margin-top: 26px; }
.srch input { flex: 1; border: 2px solid var(--ink); border-radius: 999px; padding: 14px 20px; font-family: inherit; font-size: 15px; background: #fff; color: var(--ink); }
.srch input::placeholder { color: rgba(8,36,61,.45); }
.feat { display: grid; grid-template-columns: 1.35fr .65fr; gap: 14px; margin-top: clamp(28px, 4vw, 48px); }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr; } }
.fmain { position: relative; border-radius: 24px; overflow: hidden; min-height: clamp(320px, 44vw, 520px); display: flex; align-items: flex-end; background: var(--ink); }
.fmain img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fmain::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,58,92,.1) 30%, rgba(9,58,92,.92)); }
.fmain .bd { position: relative; z-index: 2; padding: clamp(24px, 3vw, 40px); color: #fff; max-width: 640px; }
.fmain h2 { font-size: clamp(24px, 3.4vw, 46px); color: #fff; margin: 14px 0 12px; }
.fmain p { color: rgba(255,255,255,.82); font-size: 16px; }
.play { position: absolute; top: clamp(20px, 3vw, 34px); right: clamp(20px, 3vw, 34px); z-index: 2; width: 66px; height: 66px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; transition: transform .2s; }
.fmain:hover .play { transform: scale(1.08); }
.play svg { width: 22px; height: 22px; fill: var(--ink); }
.fside { display: flex; flex-direction: column; gap: 14px; }
.fs { position: relative; border-radius: 20px; overflow: hidden; flex: 1; min-height: 150px; display: flex; align-items: flex-end; background: var(--ink); }
.fs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fs::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,58,92,.05) 35%, rgba(9,58,92,.9)); }
.fs .bd { position: relative; z-index: 2; padding: 20px; color: #fff; }
.fs h3 { font-size: 17px; color: #fff; margin-top: 10px; line-height: 1.1; }
.kind { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); }
.kind.b { background: var(--blue); color: var(--ink); }
.kind.w { background: rgba(255,255,255,.92); color: var(--ink); }
.fbar { position: sticky; top: 72px; z-index: 40; background: rgba(255,251,243,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); padding: 16px 0; margin-top: clamp(40px, 5vw, 72px); }
.fbar-in { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fb { border: 2px solid var(--rule); background: #fff; border-radius: 999px; padding: 11px 20px; font-family: var(--am-font-body); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); cursor: pointer; transition: .18s; display: inline-flex; align-items: center; gap: 8px; }
.fb:hover { border-color: var(--ink); }
.fb.act { background: var(--ink); border-color: var(--ink); color: #fff; }
.fb i { font-style: normal; opacity: .5; font-size: 11px; }
.fb.act i { opacity: .7; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }
.it { background: #fff; border: 1px solid var(--rule); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; color: var(--ink); }
.it:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -32px rgba(9,58,92,.5); }
.it[hidden] { display: none; }
.it .th { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--blue-soft); }
.it .th img { width: 100%; height: 100%; object-fit: cover; }
.it .th .kind { position: absolute; left: 14px; top: 14px; }
.it .dur { position: absolute; right: 12px; bottom: 12px; background: rgba(8,36,61,.86); color: #fff; border-radius: 8px; padding: 4px 9px; font-size: 11.5px; font-weight: 600; }
.it .bd { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.it h3 { font-size: 18px; line-height: 1.1; }
.it .ex { font-size: 15px; color: #3b566d; flex: 1; }
.it .meta { display: flex; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(8,36,61,.5); margin-top: 2px; }
.it.txt .th { aspect-ratio: auto; height: 8px; background: var(--yellow); }
.it.txt .th .kind { position: static; }
.it.pray { background: var(--blue); border-color: transparent; }
.it.pray .th { display: none; }
.it.pray .bd { padding-top: 24px; }
.it.pray .ex { color: rgba(8,36,61,.78); }
.it.pray blockquote { margin: 0; font-family: var(--am-font-head); font-weight: 700; text-transform: uppercase; font-size: 17px; line-height: 1.15; }
.more { display: flex; justify-content: center; margin-top: 44px; }
.pods { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .pods { grid-template-columns: 1fr; } }
.pods > img { border-radius: 24px; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.ep { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 18px 4px; border-top: 1px solid rgba(8,36,61,.18); color: var(--ink); }
.ep:last-of-type { border-bottom: 1px solid rgba(8,36,61,.18); }
.ep .pl { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; flex: none; transition: .18s; }
.ep:hover .pl { background: var(--yellow); }
.ep .pl svg { width: 14px; height: 14px; fill: #fff; }
.ep:hover .pl svg { fill: var(--ink); }
.ep .t { font-weight: 600; font-size: 16.5px; }
.ep .t span { display: block; font-weight: 400; font-size: 14px; color: rgba(8,36,61,.6); margin-top: 2px; }
.ep .d { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(8,36,61,.55); white-space: nowrap; }
@media (max-width: 640px) { .ep { grid-template-columns: auto 1fr; } .ep .d { grid-column: 2; } }
.nlbox { background: var(--yellow); border-radius: 26px; padding: clamp(30px, 4.4vw, 60px); text-align: center; }
.nlbox h2 { font-size: clamp(28px, 4.2vw, 58px); }
.empty { padding: 60px 0; text-align: center; color: rgba(8,36,61,.55); font-weight: 600; }

/* Croix de fermeture du menu overlay — blanche pour rester visible sur la colonne foncée */
.ov-close { color: #fff; }

/* =========================================================
   AGENDA (archive-evenement.php) — tout scopé .am-agenda
   (classes .ah/.fbar/.fb/.empty partagées avec Médias/Single)
   ========================================================= */
.am-agenda { background: var(--cream); }
.am-agenda .ah { padding: 130px 0 clamp(26px, 3vw, 40px); }
.am-agenda .ah-top { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
@media (max-width: 820px) { .am-agenda .ah-top { grid-template-columns: 1fr; } }
.am-agenda .ah h1 { font-size: clamp(56px, 13vw, 190px); line-height: .82; letter-spacing: -.02em; }
.am-agenda .ah h1 em { font-style: normal; color: var(--blue); }
.am-agenda .ah .yr { font-family: var(--am-font-head); font-weight: 700; font-size: clamp(13px, 1.2vw, 16px); letter-spacing: .06em; color: rgba(8,36,61,.45); text-align: right; padding-bottom: 10px; }
@media (max-width: 820px) { .am-agenda .ah .yr { text-align: left; } }
.am-agenda .chapo { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.5; max-width: 52ch; margin-top: 26px; color: rgba(8,36,61,.68); }
.am-agenda .fbar { position: sticky; top: 70px; z-index: 40; background: rgba(255,251,243,.96); backdrop-filter: blur(12px); padding: 13px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); margin: 0; }
.am-agenda .fbar-in { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.am-agenda .fb { border: none; background: none; padding: 8px 2px; font-family: var(--am-font-head); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(8,36,61,.4); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: color .16s; position: relative; }
.am-agenda .fb:hover { color: var(--ink); }
.am-agenda .fb.act { color: var(--ink); background: none; }
.am-agenda .fb.act::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--yellow); }
.am-agenda .fb .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.am-agenda .fb sup { font-family: var(--am-font-body); font-size: 10px; font-weight: 700; opacity: .5; top: -.6em; }
.am-agenda .fsep { width: 1px; height: 18px; background: var(--rule); }
.am-agenda .mb { display: flex; align-items: baseline; gap: 18px; padding: clamp(38px, 4.4vw, 64px) 0 6px; }
.am-agenda .mb h2 { font-size: clamp(15px, 1.5vw, 19px); letter-spacing: .02em; }
.am-agenda .mb .n { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(8,36,61,.35); }
.am-agenda .mb .ln { flex: 1; height: 1px; background: var(--ink); opacity: .18; }
.am-agenda .ev { display: grid; grid-template-columns: 112px 1fr auto; gap: clamp(16px, 2.4vw, 38px); align-items: center; padding: clamp(18px, 2.2vw, 28px) 0; border-bottom: 1px solid var(--rule); position: relative; color: var(--ink); }
.am-agenda .ev::before { content: ""; position: absolute; left: -3vw; right: -3vw; top: 0; bottom: 0; background: var(--ink); border-radius: 14px; opacity: 0; transform: scaleY(.86); transition: opacity .22s, transform .22s; z-index: 0; }
.am-agenda a.ev:hover::before { opacity: 1; transform: scaleY(1); }
.am-agenda .ev > * { position: relative; z-index: 1; transition: color .18s; }
.am-agenda a.ev:hover, .am-agenda a.ev:hover .dt b, .am-agenda a.ev:hover .ti { color: #fff; }
.am-agenda a.ev:hover .dt span, .am-agenda a.ev:hover .sb { color: rgba(255,255,255,.62); }
.am-agenda a.ev:hover .tg { background: var(--yellow); color: var(--ink); border-color: transparent; }
.am-agenda .dt { display: flex; align-items: baseline; gap: 8px; }
.am-agenda .dt b { font-family: var(--am-font-head); font-weight: 800; font-size: clamp(26px, 3.2vw, 42px); line-height: .9; letter-spacing: -.02em; }
.am-agenda .dt span { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(8,36,61,.42); }
.am-agenda .ti { font-family: var(--am-font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(16px, 2.1vw, 29px); line-height: 1.08; letter-spacing: -.01em; }
.am-agenda .sb { display: flex; gap: 6px 18px; flex-wrap: wrap; margin-top: 9px; font-size: 14px; color: rgba(8,36,61,.55); }
.am-agenda .sb i { font-style: normal; display: flex; align-items: center; gap: 7px; }
.am-agenda .sb svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: .6; flex: none; }
.am-agenda .rt { display: flex; align-items: center; gap: 14px; }
.am-agenda .tg { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; white-space: nowrap; border: 1px solid transparent; }
.am-agenda .tg.am { background: var(--blue); color: var(--ink); }
.am-agenda .tg.fete { background: var(--yellow); color: var(--ink); }
.am-agenda .tg.part { border-color: var(--rule); color: rgba(8,36,61,.55); }
.am-agenda .ar { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: .35; transition: transform .2s, opacity .2s; }
.am-agenda a.ev:hover .ar { opacity: 1; transform: translateX(5px); }
.am-agenda .ev.part { padding-left: clamp(12px, 1.4vw, 20px); }
.am-agenda .ev.part::after { content: ""; position: absolute; left: 0; top: clamp(14px, 1.8vw, 22px); bottom: clamp(14px, 1.8vw, 22px); width: 3px; border-radius: 999px; background: repeating-linear-gradient(180deg, rgba(8,36,61,.34) 0 5px, transparent 5px 10px); z-index: 1; }
.am-agenda a.ev.part:hover::after { background: repeating-linear-gradient(180deg, var(--yellow) 0 5px, transparent 5px 10px); }
.am-agenda .org { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--rule); border-radius: 999px; padding: 4px 12px 4px 4px; font-size: 12.5px; font-weight: 600; color: rgba(8,36,61,.72); margin-top: 10px; }
.am-agenda .org .lg { width: 24px; height: 24px; border-radius: 50%; background: var(--blue-soft); display: grid; place-items: center; font-family: var(--am-font-head); font-weight: 800; font-size: 10px; color: rgba(8,36,61,.55); flex: none; }
.am-agenda .org em { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(8,36,61,.4); }
.am-agenda .ev.feast { padding: clamp(15px, 1.8vw, 21px) clamp(14px, 1.6vw, 22px); border-bottom: none; margin: 6px 0; border-radius: 14px; background: linear-gradient(90deg, rgba(255,223,39,.34), rgba(255,223,39,.1) 55%, rgba(255,223,39,0)); border-left: 3px solid var(--yellow); }
.am-agenda .ev.feast .dt { align-items: center; gap: 11px; }
.am-agenda .ev.feast .dt b { font-family: var(--am-font-body); font-weight: 600; font-size: 16.5px; letter-spacing: 0; color: var(--ink); width: 46px; height: 46px; background: var(--cream); border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; flex: none; }
.am-agenda .ev.feast .ti { font-family: var(--am-font-body); font-weight: 500; text-transform: none; letter-spacing: .005em; font-size: clamp(16px, 1.75vw, 23px); line-height: 1.2; color: var(--ink); display: flex; align-items: baseline; gap: 11px; }
.am-agenda .ev.feast .ti::before { content: "✦"; color: var(--ink); font-size: .82em; flex: none; line-height: 1; opacity: .55; }
.am-agenda .ev.feast .sb { font-size: 13.5px; letter-spacing: .03em; color: rgba(8,36,61,.5); margin-top: 6px; padding-left: 23px; }
.am-agenda .ev.feast .tg.fete { background: var(--ink); border-color: transparent; color: var(--yellow); letter-spacing: .16em; }
@media (max-width: 720px) { .am-agenda .ev.feast .sb { padding-left: 0; } }
@media (max-width: 720px) { .am-agenda .ev { grid-template-columns: 78px 1fr; gap: 14px; } .am-agenda .rt { grid-column: 2; } .am-agenda .ev::before { left: -4vw; right: -4vw; } }
.am-agenda .peek, .peek { position: fixed; width: 270px; height: 200px; border-radius: 16px; overflow: hidden; pointer-events: none; z-index: 70; opacity: 0; transform: translate(-50%,-50%) scale(.92) rotate(-3deg); transition: opacity .22s, transform .22s; }
.peek.on { opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(-3deg); }
.peek img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px), (pointer: coarse) { .peek { display: none; } }
.am-agenda .band { margin-top: clamp(52px, 6vw, 96px); border-top: 1px solid var(--ink); padding: clamp(34px, 4vw, 60px) 0 0; }
.am-agenda .band-in { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: end; }
@media (max-width: 760px) { .am-agenda .band-in { grid-template-columns: 1fr; } }
.am-agenda .band h2 { font-size: clamp(26px, 4vw, 54px); line-height: .95; }
.am-agenda .band p { color: rgba(8,36,61,.6); margin-top: 14px; max-width: 40ch; }
.am-agenda .band .r { display: flex; gap: 11px; flex-wrap: wrap; }
.am-agenda .leg { display: flex; gap: 22px; flex-wrap: wrap; margin-top: clamp(34px, 4vw, 52px); padding-top: 20px; border-top: 1px solid var(--rule); font-size: 13px; color: rgba(8,36,61,.5); }
.am-agenda .leg div { display: flex; align-items: center; gap: 9px; }
.am-agenda .leg .sw { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.am-agenda .empty { padding: 70px 0; text-align: center; color: rgba(8,36,61,.45); font-weight: 600; }

/* =========================================================
   QUI SOMMES-NOUS (template-quisommes.php) — scopé .am-qsn
   ========================================================= */
.am-qsn .qh { padding: 130px 0 clamp(30px, 3.4vw, 48px); }
.am-qsn .qh h1 { font-size: clamp(58px, 9vw, 132px); line-height: .86; letter-spacing: -.02em; }
.am-qsn .qh .chapo { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; max-width: 54ch; margin-top: 26px; color: rgba(8,36,61,.68); }
.am-qsn .strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: clamp(28px, 3.4vw, 44px); }
.am-qsn .strip img { width: 100%; height: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: 50% 40%; border-radius: 16px; display: block; }
@media (max-width: 720px) { .am-qsn .strip { grid-template-columns: 1fr 1fr; } }
.am-qsn .mani { padding: clamp(56px, 7vw, 110px) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-align: center; }
.am-qsn .mani .eyebrow { justify-content: center; }
.am-qsn .mani p { font-family: var(--am-font-head); font-weight: 400; text-transform: uppercase; font-size: clamp(21px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -.01em; max-width: 28ch; margin-left: auto; margin-right: auto; text-wrap: balance; }
.am-qsn .mani p em { font-style: normal; color: var(--blue-mid); }
.am-qsn .mani .sig { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(8,36,61,.72); margin-top: 28px; }
.am-qsn .tl { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .am-qsn .tl { grid-template-columns: 1fr; } }
.am-qsn .tl-l { position: sticky; top: 100px; }
@media (max-width: 900px) { .am-qsn .tl-l { position: static; } }
.am-qsn .step { display: grid; grid-template-columns: 88px 1fr; gap: 22px; padding: 24px 0; border-top: 1px solid var(--rule); }
.am-qsn .step:last-child { border-bottom: 1px solid var(--rule); }
.am-qsn .step .y { font-family: var(--am-font-head); font-weight: 800; font-size: clamp(19px, 1.9vw, 23px); color: var(--ink); line-height: 1.1; }
.am-qsn .step h3 { font-size: clamp(16px, 1.7vw, 21px); margin-bottom: 8px; }
.am-qsn .step p { font-size: 15.5px; color: #4b647c; max-width: 52ch; }
.am-qsn .step img { width: 100%; height: auto; border-radius: 14px; margin-top: 14px; aspect-ratio: 16/9; object-fit: cover; }
@media (max-width: 560px) { .am-qsn .step { grid-template-columns: 1fr; gap: 8px; } }
.am-qsn .pf { background: var(--blue); color: var(--ink); padding: clamp(56px, 7vw, 110px) 0; }
.am-qsn .pf h2, .am-qsn .pf h3 { color: var(--ink); }
.am-qsn .vis { display: grid; grid-template-columns: 150px 1fr; gap: clamp(22px, 4vw, 64px); align-items: start; padding-bottom: clamp(34px, 4vw, 56px); border-bottom: 1px solid rgba(8,36,61,.2); }
@media (max-width: 760px) { .am-qsn .vis { grid-template-columns: 1fr; } }
.am-qsn .vis .lb { font-family: var(--am-font-head); font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .18em; color: var(--ink); padding-top: 10px; white-space: nowrap; }
.am-qsn .vis p { font-family: var(--am-font-head); font-weight: 400; text-transform: uppercase; font-size: clamp(20px, 2.9vw, 40px); line-height: 1.12; color: var(--ink); max-width: 33ch; }
.am-qsn .amb { display: grid; grid-template-columns: 150px 1fr; gap: clamp(22px, 4vw, 64px); align-items: start; padding: clamp(34px, 4vw, 56px) 0; border-bottom: 1px solid rgba(8,36,61,.2); }
@media (max-width: 760px) { .am-qsn .amb { grid-template-columns: 1fr; } }
.am-qsn .amb .lb { font-family: var(--am-font-head); font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .18em; color: var(--ink); padding-top: 6px; white-space: nowrap; }
.am-qsn .amb p { font-size: clamp(17px, 1.7vw, 22px); line-height: 1.45; color: rgba(8,36,61,.85); max-width: 50ch; }
.am-qsn .amb p + p { margin-top: 14px; }
.am-qsn .miss { padding-top: clamp(34px, 4vw, 56px); }
.am-qsn .miss .lb { font-family: var(--am-font-head); font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .18em; color: var(--ink); margin-bottom: 26px; }
.am-qsn .mgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: rgba(8,36,61,.16); border-radius: 18px; overflow: hidden; }
@media (max-width: 1000px) { .am-qsn .mgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .am-qsn .mgrid { grid-template-columns: 1fr; } }
.am-qsn .mcell { background: var(--blue); padding: 26px 22px 28px; }
.am-qsn .mcell .n { font-family: var(--am-font-head); font-weight: 800; font-size: 12px; color: var(--ink); margin-bottom: 14px; }
.am-qsn .mcell h3 { font-size: 17px; line-height: 1.15; margin-bottom: 10px; }
.am-qsn .mcell p { font-size: 15px; color: rgba(8,36,61,.88); }
.am-qsn .nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 34px); }
@media (max-width: 820px) { .am-qsn .nums { grid-template-columns: 1fr 1fr; } }
.am-qsn .num2 b { display: block; font-family: var(--am-font-head); font-weight: 800; font-size: clamp(34px, 4.6vw, 64px); line-height: .9; letter-spacing: -.02em; }
.am-qsn .num2 span { display: block; font-size: 14px; color: rgba(8,36,61,.75); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule); }
.am-qsn .join { padding: clamp(56px, 7vw, 104px) 0; text-align: left; }
.am-qsn .jrow { display: grid; grid-template-columns: 64px 1fr auto; gap: clamp(16px, 2.4vw, 34px); align-items: center; padding: clamp(20px, 2.4vw, 30px) 0; border-top: 1px solid var(--rule); position: relative; color: var(--ink); }
.am-qsn .jrow:last-of-type { border-bottom: 1px solid var(--rule); }
.am-qsn .jrow::before { content: ""; position: absolute; left: -3vw; right: -3vw; top: 0; bottom: 0; background: var(--ink); border-radius: 14px; opacity: 0; transform: scaleY(.88); transition: opacity .22s, transform .22s; z-index: 0; }
.am-qsn a.jrow:hover::before { opacity: 1; transform: scaleY(1); }
.am-qsn .jrow > * { position: relative; z-index: 1; transition: color .18s; }
.am-qsn a.jrow:hover, .am-qsn a.jrow:hover h3 { color: #fff; }
.am-qsn a.jrow:hover p { color: rgba(255,255,255,.65); }
.am-qsn a.jrow:hover .jn { color: var(--yellow); }
.am-qsn a.jrow:hover .jar { background: var(--yellow); border-color: transparent; color: var(--ink); }
.am-qsn .jn { font-family: var(--am-font-head); font-weight: 800; font-size: clamp(22px, 2.4vw, 32px); color: rgba(8,36,61,.62); line-height: .9; }
.am-qsn .jrow h3 { font-size: clamp(17px, 2.1vw, 27px); }
.am-qsn .jrow p { font-size: 15.5px; color: rgba(8,36,61,.75); margin-top: 8px; max-width: 56ch; }
.am-qsn .jar { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); display: grid; place-items: center; color: rgba(8,36,61,.5); flex: none; }
.am-qsn .jar svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 700px) { .am-qsn .jrow { grid-template-columns: 44px 1fr; } .am-qsn .jar { display: none; } }
.am-qsn .quote { background: var(--yellow); border-radius: 26px; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start; margin-top: clamp(40px, 5vw, 72px); }
.am-qsn .quote .q { font-family: var(--am-font-head); font-size: 60px; line-height: .7; color: rgba(8,36,61,.3); }
.am-qsn .quote blockquote { margin: 0; font-size: clamp(18px, 2vw, 27px); line-height: 1.32; font-weight: 500; }
.am-qsn .quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: rgba(8,36,61,.78); }
@media (max-width: 620px) { .am-qsn .quote { grid-template-columns: 1fr; } }

/* Menu overlay : « Accueil » traité comme lien utilitaire, petit, en haut à gauche */
.ov-l { position: relative; }
.ov-l a.ov-home { position: absolute; top: clamp(20px, 3.5vw, 40px); left: clamp(28px, 6vw, 84px); font-family: var(--am-font-body) !important; font-weight: 700; font-size: 13px !important; letter-spacing: .18em; text-transform: uppercase; color: rgba(8,36,61,.6); line-height: 1; }
.ov-l a.ov-home::before { content: "← "; opacity: .6; }
.ov-l a.ov-home:hover { color: var(--ink); transform: none; }
@media (max-width: 820px) { .ov-l a.ov-home { top: 20px; left: clamp(24px, 6vw, 40px); } }

/* =========================================================
   SINGLE MÉDIA (single-media.php) — scopé .am-single
   ========================================================= */
.am-single .ah { position: relative; overflow: hidden; background: var(--cream); border-bottom: 1px solid var(--rule); }
.am-single .ah .wrap { position: relative; z-index: 3; padding: 132px 0 clamp(26px, 3.2vw, 44px); }
.am-single .ah.dark { background: var(--ink); border-bottom: none; }
.am-single .bc { display: flex; gap: 9px; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(8,36,61,.6); margin-bottom: 16px; }
.am-single .bc a { color: inherit; } .am-single .bc a:hover { text-decoration: underline; color: inherit; }
.am-single .ah h1 { font-size: clamp(28px, 4.2vw, 60px); color: var(--ink); margin: 14px 0 0; max-width: 24ch; }
.am-single .ah .chapo { font-size: clamp(16.5px, 1.4vw, 19.5px); line-height: 1.5; max-width: 60ch; margin-top: 16px; color: rgba(8,36,61,.7); }
.am-single .ah.dark h1 { color: #fff; } .am-single .ah.dark .chapo { color: rgba(255,255,255,.82); } .am-single .ah.dark .bc { color: rgba(255,255,255,.6); }
.am-single .amet { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin-top: 22px; font-size: 14px; font-weight: 500; color: rgba(8,36,61,.6); }
.am-single .ah.dark .amet { color: rgba(255,255,255,.8); }
.am-single .amet div { display: flex; align-items: center; gap: 9px; }
.am-single .amet svg { width: 15px; height: 15px; opacity: .65; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.am-single .amet img.au { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
.am-single .badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.am-single .player { position: relative; border-radius: 22px; overflow: hidden; background: var(--ink); aspect-ratio: 16/9; margin-top: clamp(22px, 3vw, 34px); display: block; }
.am-single .player img { width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.am-single .player .pbtn { position: absolute; inset: 0; display: grid; place-items: center; border: none; background: none; cursor: pointer; }
.am-single .player .pbtn span { width: 78px; height: 78px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; transition: transform .2s; }
.am-single .player:hover .pbtn span { transform: scale(1.08); }
.am-single .player .pbtn svg { width: 26px; height: 26px; fill: var(--ink); margin-left: 3px; }
.am-single .player .dur { position: absolute; right: 14px; bottom: 14px; background: rgba(8,36,61,.86); color: #fff; border-radius: 8px; padding: 5px 11px; font-size: 12.5px; font-weight: 600; }
.am-single .audio { background: var(--ink); border-radius: 22px; padding: clamp(20px, 2.4vw, 28px); display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; margin-top: clamp(22px, 3vw, 34px); }
.am-single .audio .cov { width: clamp(84px, 10vw, 116px); height: clamp(84px, 10vw, 116px); border-radius: 16px; object-fit: cover; flex: none; }
.am-single .audio .ep { font-family: var(--am-font-head); font-weight: 700; text-transform: uppercase; font-size: 11.5px; letter-spacing: .14em; color: var(--yellow); }
.am-single .audio .ti { color: #fff; font-weight: 600; font-size: 17px; margin: 6px 0 14px; }
.am-single .audio .bar { display: flex; align-items: center; gap: 14px; }
.am-single .audio .pl { width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); border: none; display: grid; place-items: center; cursor: pointer; flex: none; }
.am-single .audio .pl svg { width: 16px; height: 16px; fill: var(--ink); margin-left: 2px; }
.am-single .audio .track { flex: 1; height: 5px; border-radius: 999px; background: rgba(255,255,255,.22); position: relative; }
.am-single .audio .track i { position: absolute; left: 0; top: 0; bottom: 0; width: 8%; background: var(--yellow); border-radius: 999px; }
.am-single .audio .t { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7); white-space: nowrap; }
.am-single .audio .subs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.am-single .audio .subs a { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 7px 14px; }
.am-single .audio .subs a:hover { background: #fff; color: var(--ink); }
@media (max-width: 620px) { .am-single .audio { grid-template-columns: 1fr; } }
.am-single .cover { margin-top: clamp(24px, 3vw, 36px); }
.am-single .cover img { width: 100%; height: auto; aspect-ratio: 16/7; object-fit: cover; border-radius: 20px; }
.am-single .abody { display: grid; grid-template-columns: minmax(0,1fr) minmax(230px,262px); gap: clamp(34px, 6vw, 96px); align-items: start; padding: clamp(48px, 6vw, 90px) 0; }
.am-single .abody.solo { grid-template-columns: 1fr; }
.am-single .abody.solo .rail { position: static; display: flex; flex-direction: row; flex-wrap: wrap; }
.am-single .abody.solo .rail > * { flex: 1 1 280px; }
@media (max-width: 940px) { .am-single .abody { grid-template-columns: 1fr; } .am-single .rail { position: static !important; } }
.am-single .prose { max-width: 70ch; }
.am-single .prose > p { font-size: 18px; line-height: 1.65; color: #33506a; margin-bottom: 20px; }
.am-single .prose > p:first-child { font-size: 20.5px; color: var(--ink); }
.am-single .prose h2 { font-size: clamp(22px, 2.6vw, 32px); margin: 38px 0 14px; }
.am-single .prose h3 { font-size: clamp(18px, 2vw, 23px); margin: 30px 0 10px; }
.am-single .prose strong { color: var(--ink); font-weight: 700; }
.am-single .prose ul { margin: 0 0 20px; padding-left: 22px; }
.am-single .prose li { font-size: 17.5px; line-height: 1.6; color: #33506a; margin-bottom: 8px; }
.am-single .prose blockquote { margin: 30px 0; padding: 0 0 0 22px; border-left: 4px solid var(--yellow); }
.am-single .prose blockquote p { font-family: var(--am-font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(16px, 1.8vw, 21px); line-height: 1.25; color: var(--ink); margin: 0; }
.am-single .prose figure { margin: 32px 0; }
.am-single .prose figure img { width: 100%; border-radius: 18px; }
.am-single .prose figcaption { font-size: 13.5px; color: rgba(8,36,61,.6); margin-top: 9px; }
.am-single .pull { border-top: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow); padding: 22px 0; margin: 34px 0; }
.am-single .pull p { font-size: 18.5px; color: var(--ink); margin: 0; font-weight: 500; line-height: 1.5; }
.am-single .fmt-breve .prose > p { font-size: 19px; } .am-single .fmt-breve .prose { max-width: 62ch; }
.am-single .pray { max-width: 56ch; border-left: 3px solid var(--yellow); padding-left: clamp(20px, 3vw, 40px); }
.am-single .pray .lbl { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(8,36,61,.5); margin-bottom: 22px; }
.am-single .pray p { font-size: clamp(19px, 2.1vw, 25px); line-height: 1.5; color: var(--ink); margin-bottom: 18px; text-wrap: pretty; }
.am-single .pray .amen { font-family: var(--am-font-head); font-weight: 800; text-transform: uppercase; font-size: 15px; color: var(--blue-mid); margin-top: 26px; }
.am-single .pray .src { font-size: 13.5px; color: rgba(8,36,61,.6); margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--rule); }
.am-single .praytools { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.am-single .rail { position: sticky; top: 100px; display: flex; flex-direction: column; }
.am-single .card2 { padding: 22px 0; border-top: 1px solid var(--rule); background: none; border-radius: 0; }
.am-single .card2:first-child { padding-top: 0; border-top: none; }
.am-single .card2 h3 { font-size: 11px; letter-spacing: .16em; margin-bottom: 14px; color: rgba(8,36,61,.42); }
.am-single .auth { display: flex; gap: 14px; align-items: center; }
.am-single .auth img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.am-single .auth .ph { width: 48px; height: 48px; border-radius: 50%; background: var(--blue-soft); display: grid; place-items: center; font-family: var(--am-font-head); font-weight: 800; font-size: 18px; color: rgba(8,36,61,.35); flex: none; }
.am-single .auth .n { font-family: var(--am-font-head); font-weight: 700; text-transform: uppercase; font-size: 13px; line-height: 1.15; }
.am-single .auth .f { font-size: 13.5px; color: rgba(8,36,61,.62); margin-top: 4px; }
.am-single .authbio { font-size: 14px; color: #4b647c; margin-top: 14px; }
.am-single .toc { display: flex; flex-direction: column; gap: 2px; }
.am-single .toc a { font-size: 14.5px; font-weight: 600; color: rgba(8,36,61,.72); padding: 7px 0; border-top: 1px solid var(--rule); }
.am-single .toc a:first-child { border-top: none; padding-top: 0; }
.am-single .toc a:hover { color: var(--ink); }
.am-single .chips { display: flex; gap: 7px; flex-wrap: wrap; }
.am-single .chips a { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(8,36,61,.6); border: 1px solid var(--rule); border-radius: 999px; padding: 6px 11px; }
.am-single .chips a:hover { background: var(--yellow); color: var(--ink); }
.am-single .share { display: flex; gap: 8px; }
.am-single .share a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--rule); display: grid; place-items: center; color: rgba(8,36,61,.65); }
.am-single .share a:hover { background: var(--ink); color: #fff; }
.am-single .share svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.am-single .dl2 { display: flex; flex-direction: column; gap: 9px; }
.am-single .dl2 a { display: flex; align-items: center; gap: 11px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.am-single .dl2 svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.am-single .chap { display: flex; flex-direction: column; }
.am-single .chap > div { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid var(--rule); font-size: 16.5px; }
.am-single .chap > div:last-child { border-bottom: 1px solid var(--rule); }
.am-single .chap b { font-family: var(--am-font-head); font-weight: 700; font-size: 12.5px; color: var(--blue-mid); }
.am-single .blk { margin-bottom: clamp(38px, 4.6vw, 62px); }
.am-single .blk h2 { font-size: clamp(22px, 2.8vw, 34px); margin-bottom: 18px; }
.am-single .rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .am-single .rel { grid-template-columns: 1fr; } }
.am-single .rc { display: block; transition: transform .2s; }
.am-single .rc:hover { transform: translateY(-3px); }
.am-single .rc img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; border-radius: 16px; }
.am-single .rc .st { aspect-ratio: 16/10; border-radius: 16px; background: var(--blue-soft); border: 1px solid var(--rule); display: grid; place-items: center; padding: 22px; text-align: center; font-family: var(--am-font-head); font-weight: 800; text-transform: uppercase; font-size: clamp(13px, 1.2vw, 15px); line-height: 1.2; color: rgba(8,36,61,.55); }
.am-single .rc .bd { padding: 14px 2px 0; }
.am-single .rc .k { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-mid); margin-bottom: 8px; }
.am-single .rc h3 { font-size: 17px; line-height: 1.15; }
.am-single .endcta { background: var(--yellow); text-align: center; padding: clamp(48px, 6vw, 92px) 0; }
.am-single .endcta h2 { font-size: clamp(28px, 4.6vw, 62px); }
.am-single .endcta p { max-width: 46ch; margin: 14px auto 0; color: rgba(8,36,61,.78); }

/* Single : cartes « à lire aussi » sans image → carte pleine propre (au lieu d'une boîte vide) */
.am-single .rc-txt { background: var(--blue-soft); border: 1px solid var(--rule); border-radius: 16px; min-height: clamp(170px, 19vw, 230px); display: flex; transition: background .2s, transform .2s; }
.am-single .rc-txt:hover { background: var(--yellow); transform: translateY(-3px); }
.am-single .rc-txt .bd { padding: 24px 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.am-single .rc-txt h3 { font-family: var(--am-font-head); font-weight: 800; text-transform: uppercase; font-size: clamp(15px, 1.4vw, 20px); line-height: 1.12; }

/* Header : décalage sous la barre d'admin WordPress (utilisateurs connectés) */
body.admin-bar .hdr { top: 32px; }
@media (max-width: 782px) { body.admin-bar .hdr { top: 46px; } }

/* Séparateur décoratif SVG (remplace les ★) */
.am-sep { display: inline-block; width: .82em; height: .82em; stroke: currentColor; stroke-width: 3.2; fill: none; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.08em; opacity: .85; }
.mq-t span { display: inline-block; gap: 0; }

/* Logo : blanc par défaut (hero foncé + footer), bleu quand le header passe en bandeau clair (.solid) */
.brand { background: none; box-shadow: none; padding: 0; }
.brand img.brand-blue { display: none; }
.hdr.solid .brand img.brand-white { display: none; }
.hdr.solid .brand img.brand-blue { display: block; }

/* ── Captions en Vangeda ──
   Police pilotée par --am-font-caption (défaut Vangeda, auto-hébergée via @font-face dans am.css).
   Corps de citation en ITALIQUE, signature en REGULAR (droit). */
/* Corps de la citation → Vangeda italique */
.quote blockquote,
.am-qsn .quote blockquote,
.am-single .prose blockquote,
.am-single .prose figcaption {
  font-family: var(--am-font-caption, 'Vangeda'), Georgia, serif;
  font-style: italic;
  font-weight: 400;
}
/* Signature / attribution → Vangeda regular (droit) */
.quote cite,
.am-qsn .quote cite,
.am-single .prose blockquote cite {
  font-family: var(--am-font-caption, 'Vangeda'), Georgia, serif;
  font-style: normal;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
}

/* ── Agenda (accueil) : couleur au survol + aperçu de l'événement ── */
.row { position: relative; }
.row:hover .t { color: #159fff; }
.row .row-thumb { position: absolute; right: 56px; bottom: 68%; width: 160px; height: 100px; border-radius: 12px; overflow: hidden; opacity: 0; transform: translateY(10px) scale(.96); pointer-events: none; box-shadow: 0 22px 46px -20px rgba(6,47,82,.55); transition: opacity .24s, transform .24s; z-index: 6; }
.row .row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.row.has-thumb:hover .row-thumb { opacity: 1; transform: translateY(0) scale(1); }
@media (max-width: 900px) { .row .row-thumb { display: none; } }

/* ── Formulaires WPForms intégrés (newsletter, contact, intention…) ──
   Markup « moderne » : on LAISSE WPForms gérer la grille (colonnes prénom/nom,
   demi-largeurs, gouttières) et on ne fait que le thématiser via ses variables.
   !important pour battre le <style> inline #wpforms-XXX généré par formulaire.
   Réutilisé aussi dans la modale des étoiles (.et-wpf). */
.am-wpf .wpforms-form,
.am-wpf .wpforms-form input,
.am-wpf .wpforms-form select,
.am-wpf .wpforms-form textarea,
.am-wpf .wpforms-form button,
.et-wpf .wpforms-form,
.et-wpf .wpforms-form input,
.et-wpf .wpforms-form select,
.et-wpf .wpforms-form textarea,
.et-wpf .wpforms-form button { font-family: var(--am-font-body); }

.am-wpf .wpforms-container-full,
.et-wpf .wpforms-container-full {
	margin: 0;
	--wpforms-field-border-radius: 12px !important;
	--wpforms-field-background-color: #ffffff !important;
	--wpforms-field-border-color: var(--rule) !important;
	--wpforms-field-text-color: var(--ink) !important;
	--wpforms-label-color: var(--ink) !important;
	--wpforms-label-sublabel-color: #7488a0 !important;
	--wpforms-button-background-color: var(--ink) !important;
	--wpforms-button-text-color: #ffffff !important;
	--wpforms-button-border-radius: 999px !important;
}
.am-wpf .wpforms-field-label, .et-wpf .wpforms-field-label { font-weight: 700; }
.am-wpf .wpforms-submit, .et-wpf .wpforms-submit { text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.am-wpf .wpforms-submit:hover, .et-wpf .wpforms-submit:hover { background: var(--blue-mid) !important; border-color: var(--blue-mid) !important; }
.am-wpf .wpforms-confirmation-container-full,
.et-wpf .wpforms-confirmation-container-full { background: var(--blue-soft); border: none; border-radius: 14px; padding: 16px 18px; color: var(--blue-night); font-weight: 600; }
/* Newsletter (section jaune) : formulaire centré et cadré */
.am-wpf-nl { max-width: 620px; margin: 22px auto 0; text-align: left; }

/* ── Page Contact ── */
.am-contact .ct { padding: 130px 0 clamp(60px, 8vw, 110px); }
.am-contact .ct .wrap { max-width: 1120px; }
.am-contact .ct-head { max-width: 640px; }
.am-contact .ct-head h1 { font-size: clamp(42px, 7vw, 84px); margin-top: 14px; line-height: .9; }
.am-contact .ct-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: #4b647c; margin-top: 20px; }

.am-contact .ct-split { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(28px, 5vw, 60px); margin-top: clamp(34px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .am-contact .ct-split { grid-template-columns: 1fr; } }
.am-contact .ct-channels { display: flex; flex-direction: column; gap: 12px; }
.am-contact .ct-chan { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--rule); border-radius: 16px; padding: 15px 18px; transition: transform .16s, border-color .16s, box-shadow .16s; }
.am-contact a.ct-chan:hover { transform: translateY(-2px); border-color: var(--blue-mid); box-shadow: 0 16px 34px -26px rgba(6,47,82,.5); }
.am-contact .ct-ic { width: 46px; height: 46px; flex: none; border-radius: 13px; background: var(--blue-soft); display: grid; place-items: center; color: var(--blue-mid); }
.am-contact .ct-ic svg { width: 22px; height: 22px; }
.am-contact .ct-txt b { display: block; font-weight: 700; font-size: 15px; color: var(--ink); }
.am-contact .ct-txt small { display: block; font-size: 13.5px; color: #6a8099; margin-top: 2px; }
.am-contact .ct-reassure { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--blue-night); background: var(--blue-soft); border-radius: 12px; padding: 12px 16px; }
.am-contact .ct-map { margin-top: 18px; border-radius: 18px; overflow: hidden; border: 1px solid var(--rule); aspect-ratio: 16/10; background: var(--blue-soft); }
.am-contact .ct-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.am-contact .ct-more { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.am-contact .ct-mini { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; color: var(--ink); }
.am-contact .ct-mini span { color: var(--blue-mid); font-size: 16px; }
.am-contact .ct-mini:hover { color: var(--blue-mid); }
.am-contact .ct-social { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.am-contact .ct-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--rule); color: var(--blue-night); transition: background .16s, color .16s, border-color .16s; }
.am-contact .ct-social a svg { width: 19px; height: 19px; }
.am-contact .ct-social a:hover { border-color: var(--blue-mid); background: var(--blue-soft); color: var(--blue-mid); }

/* Réseaux sociaux — footer */
.ft-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ft-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); transition: background .16s, color .16s, transform .16s; }
.ft-social a:hover { background: var(--yellow); color: var(--ink); transform: translateY(-2px); }
.ft-social svg { width: 18px; height: 18px; }
.am-contact .ct-split .ct-form { margin-top: 0; max-width: none; background: #fff; border: 1px solid var(--rule); border-radius: 24px; padding: clamp(26px, 3vw, 40px); box-shadow: 0 26px 60px -44px rgba(6,47,82,.5); }
.am-contact .ct-form-title { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 18px; }

/* ── Festival : itinéraire sur la carte + en-tête galerie ── */
.map { position: relative; }
.map .map-dir { position: absolute; right: 2px; bottom: 16px; z-index: 2; box-shadow: 0 12px 28px -12px rgba(0,0,0,.55); }
.gal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
@media (max-width: 560px) { .map .map-dir { left: 16px; right: 16px; bottom: 16px; text-align: center; justify-content: center; } }

/* ── Agenda : le filtre doit vraiment masquer (bat le display:grid de .ev/.mb) ── */
.am-agenda .ev[hidden], .am-agenda .mb[hidden] { display: none !important; }

/* ── Popups génériques (formulaire WPForms en modale) ── */
.am-popup { position: fixed; inset: 0; z-index: 200; display: none; }
.am-popup.open { display: block; }
.am-popup-bg { position: absolute; inset: 0; background: rgba(8,36,61,.55); backdrop-filter: blur(3px); }
.am-popup-box { position: relative; z-index: 2; width: min(560px, 92vw); max-height: 92vh; overflow-y: auto; margin: max(4vh, 40px) auto 0; background: var(--cream); border-radius: 26px; padding: clamp(26px, 4vw, 42px); box-shadow: 0 40px 90px -40px rgba(6,47,82,.7); }
.am-popup-box h3 { font-size: clamp(24px, 3vw, 34px); margin: 10px 0 6px; }
.am-popup-sub { font-size: 14px; color: #5a7089; margin-bottom: 20px; }
.am-popup-x { position: absolute; top: 16px; right: 18px; background: none; border: none; font-size: 24px; line-height: 1; color: var(--ink); cursor: pointer; opacity: .6; font-family: var(--am-font-body); }
.am-popup-x:hover { opacity: 1; }

/* ── Espace responsable (« Gérer mon étoile ») ── */
.am-gerer .gm-members { margin-top: clamp(24px, 3vw, 36px); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; }
.am-gerer .gm-row { display: flex; align-items: center; gap: 16px; padding: 15px 18px; border-top: 1px solid var(--rule); }
.am-gerer .gm-row:first-child { border-top: none; }
.am-gerer .gm-row.is-resp { background: var(--blue-soft); }
.am-gerer .gm-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.am-gerer .gm-who b { font-weight: 700; }
.am-gerer .gm-who span { font-size: 13.5px; color: #6a8099; overflow: hidden; text-overflow: ellipsis; }
.am-gerer .gm-badge { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 5px 11px; border-radius: 999px; }
.am-gerer .gm-badge.ok { background: #d8f5e3; color: #1b7a45; }
.am-gerer .gm-badge.wait { background: var(--yellow-soft); color: #8a6d00; }
.am-gerer .gm-badge.no { background: #eef2f6; color: #7488a0; }
.am-gerer .gm-actions { display: flex; gap: 8px; flex: none; }
.am-gerer .gm-actions form { margin: 0; }
.am-gerer .gm-btn { border: 1px solid var(--rule); background: #fff; color: var(--ink); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.am-gerer .gm-btn:hover { border-color: var(--blue-mid); }
.am-gerer .gm-btn.danger { color: #a1221f; border-color: #f0c9c9; }
.am-gerer .gm-btn.danger:hover { background: #a1221f; color: #fff; border-color: #a1221f; }
.am-gerer .gm-add { margin-top: clamp(26px, 3vw, 40px); background: var(--cream); border: 1px solid var(--rule); border-radius: 20px; padding: clamp(22px, 3vw, 30px); max-width: 640px; }
.am-gerer .gm-add h3 { font-size: clamp(20px, 2.4vw, 26px); }
.am-gerer .gm-sub { font-size: 14px; color: #5a7089; margin: 4px 0 16px; }
.am-gerer .gm-add .et-form { display: flex; flex-direction: column; gap: 14px; }
.am-gerer .et-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.am-gerer .et-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.am-gerer .et-form input { font: inherit; font-weight: 500; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 12px; background: #fff; color: var(--ink); outline: none; }
.am-gerer .et-form input:focus { border-color: var(--blue-mid); box-shadow: 0 0 0 3px rgba(16,132,216,.15); }
.am-gerer .et-hp { position: absolute; left: -9999px; }
.am-gerer .et-form .btn { align-self: flex-start; }
@media (max-width: 560px) { .am-gerer .gm-row { flex-wrap: wrap; } .am-gerer .et-row { grid-template-columns: 1fr; } }

/* ── Teaser Festival : effet « bientôt dévoilé » sur les lignes à venir ── */
.lock { position: relative; overflow: hidden; }
.lock::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.42) 50%, transparent 65%);
	transform: translateX(-120%);
	animation: lock-shimmer 3.4s ease-in-out infinite;
}
.lock:nth-child(2)::after { animation-delay: .45s; }
.lock:nth-child(3)::after { animation-delay: .9s; }
.lock:nth-child(4)::after { animation-delay: 1.35s; }
@keyframes lock-shimmer { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(120%); } }
.lock .s { animation: lock-pulse 2.6s ease-in-out infinite; }
@keyframes lock-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lock::after, .lock .s { animation: none; } }

/* ── Média : bannière « À la une » (un seul média épinglé) ── */
.flash-sec { padding: clamp(20px, 3vw, 36px) 0 0; }
.flash { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; background: var(--ink); color: #fff; border-radius: 26px; overflow: hidden; box-shadow: 0 26px 60px -44px rgba(6,47,82,.6); transition: transform .2s; }
.flash:hover { transform: translateY(-3px); }
.flash-media { position: relative; min-height: clamp(260px, 32vw, 420px); background: var(--blue-night); }
.flash-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flash .play { top: 50%; left: 50%; right: auto; transform: translate(-50%, -50%); }
.flash:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.flash-bd { padding: clamp(26px, 3.4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.flash-tag { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; }
.flash-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: flash-dot 1.4s ease-in-out infinite; }
@keyframes flash-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .3; transform: scale(.6); } }
.flash .kind { align-self: flex-start; }
.flash h2 { font-size: clamp(26px, 3.2vw, 46px); line-height: 1.02; color: #fff; transition: color .18s; }
.flash:hover h2 { color: var(--yellow); }
.flash-bd p { color: rgba(255,255,255,.82); font-size: 15.5px; max-width: 46ch; }
.flash .lnk { align-self: flex-start; color: #fff; margin-top: 4px; }
@media (max-width: 820px) { .flash { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .flash-tag i { animation: none; } }

/* ── Agenda : menu d'abonnement calendrier ── */
.am-agenda .cal-menu { position: relative; display: inline-block; }
.am-agenda .cal-menu > summary { list-style: none; cursor: pointer; }
.am-agenda .cal-menu > summary::-webkit-details-marker { display: none; }
.am-agenda .cal-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 272px; background: #fff; border: 1px solid var(--rule); border-radius: 16px; box-shadow: 0 24px 54px -26px rgba(6,47,82,.55); padding: 6px; }
.am-agenda .cal-pop a { display: block; padding: 11px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.am-agenda .cal-pop a:hover { background: var(--blue-soft); color: var(--blue-mid); }
@media (max-width: 640px) { .am-agenda .cal-pop { right: auto; left: 0; } }

/* ── Qui sommes-nous : Grands témoins (caution ecclésiale) ── */
.am-qsn .temoins { border-top: 1px solid var(--rule); }
.am-qsn .tem-head { max-width: 720px; }
.am-qsn .tem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(20px, 3vw, 34px); margin-top: clamp(34px, 4vw, 54px); }
@media (max-width: 560px) { .am-qsn .tem-grid { grid-template-columns: 1fr; max-width: 520px; } }
.am-qsn .tem { background: #fff; border: 1px solid var(--rule); border-radius: 22px; padding: clamp(24px, 3vw, 36px); text-align: center; box-shadow: 0 18px 44px -34px rgba(6,47,82,.45); }
.am-qsn .tem-ph { width: 110px; height: 110px; margin: 0 auto 18px; border-radius: 50%; overflow: hidden; background: var(--blue-soft); display: grid; place-items: center; color: var(--blue-mid); }
.am-qsn .tem-ph img { width: 100%; height: 100%; object-fit: cover; }
.am-qsn .tem-mono .am-sep { width: 44px; height: 44px; opacity: .9; margin: 0; }
.am-qsn .tem h3 { font-size: clamp(19px, 2vw, 24px); line-height: 1.05; }
.am-qsn .tem-role { display: block; margin-top: 7px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-mid); }
.am-qsn .tem p { margin-top: 14px; font-size: 14.5px; line-height: 1.5; color: #4b647c; }

/* ── Accueil : témoignages vidéo façon Shorts ── */
.tm-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.tm-nav { display: flex; gap: 10px; }
.tm-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--rule); background: #fff; font-size: 22px; line-height: 1; color: var(--ink); cursor: pointer; transition: background .16s, color .16s, border-color .16s; }
.tm-arrow:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 720px) { .tm-nav { display: none; } }
.tm-scroll { display: flex; gap: 16px; margin-top: clamp(28px, 3.5vw, 44px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tm-scroll::-webkit-scrollbar { display: none; }
.tm-scroll.drag { cursor: grabbing; user-select: none; }
.tm-card { position: relative; flex: 0 0 auto; width: clamp(196px, 24vw, 258px); aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: var(--ink); scroll-snap-align: start; cursor: pointer; box-shadow: 0 20px 44px -30px rgba(6,47,82,.6); transition: transform .2s; }
.tm-card:hover { transform: translateY(-4px); }
.tm-card:not(.has-video) { cursor: default; }
.tm-ph { position: absolute; inset: 0; }
.tm-ph img { width: 100%; height: 100%; object-fit: cover; }
.tm-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,36,61,0) 42%, rgba(8,36,61,.86)); }
.tm-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; transition: transform .18s, background .18s; }
.tm-card:hover .tm-play { transform: translate(-50%, -50%) scale(1.1); background: var(--yellow); }
.tm-play svg { width: 22px; height: 22px; fill: var(--ink); margin-left: 3px; }
.tm-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 16px 18px; color: #fff; }
.tm-cap .tm-title { display: block; font-family: var(--am-font-head); font-weight: 800; font-size: 17px; line-height: 1.08; }
.tm-cap .tm-who { display: block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.82); margin-top: 6px; font-weight: 600; }

/* Lightbox témoignage (vertical) */
.tm-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.tm-modal.open { display: block; }
.tm-modal-bg { position: absolute; inset: 0; background: rgba(8,36,61,.72); backdrop-filter: blur(4px); }
.tm-modal-box { position: relative; z-index: 2; height: 100%; display: grid; place-items: center; padding: 20px; }
.tm-player { position: relative; width: min(900px, 92vw); aspect-ratio: 16 / 9; max-height: 86vh; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); }
.tm-player.v { width: auto; height: 86vh; aspect-ratio: 9 / 16; max-width: 92vw; }
.tm-frame, .tm-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tm-modal-x { position: absolute; top: 18px; right: 20px; z-index: 5; background: rgba(255,255,255,.16); border: none; color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 20px; cursor: pointer; }
.tm-modal-x:hover { background: rgba(255,255,255,.32); }

/* ── Switcher de langue (drapeaux SVG, Polylang) ──
   Header desktop = drapeaux ronds compacts ; menu overlay = drapeaux + code. */
.am-lang { display: inline-flex; align-items: center; gap: 8px; }
.am-lang-i { position: relative; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; opacity: .5; transition: opacity .18s ease, transform .18s ease; }
.am-lang-i:hover { opacity: 1; transform: translateY(-1px); }
.am-lang-i.is-current { opacity: 1; }
.am-flag { display: block; border-radius: 50%; overflow: hidden; line-height: 0; box-shadow: inset 0 0 0 1px rgba(8,36,61,.12); }
.am-flag svg { display: block; width: 100%; height: 100%; }
.am-lang-code { font-family: var(--am-font-head); font-weight: 800; }

/* Header desktop : ronds 24px, code masqué (accessible), retiré sous 1080px. */
.am-lang--hdr .am-flag { width: 24px; height: 24px; }
.am-lang--hdr .am-lang-code { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.am-lang--hdr .am-lang-i.is-current .am-flag { box-shadow: 0 0 0 2px var(--cream), 0 0 0 3px var(--blue); }
.hdr.over .am-lang--hdr .am-lang-i.is-current .am-flag { box-shadow: 0 0 0 2px rgba(0,0,0,.18), 0 0 0 3px #fff; }
@media (max-width: 1080px) { .am-lang--hdr { display: none; } }

/* Menu overlay (mobile) : drapeaux 30px + code lisible. */
.am-lang--ov { margin-top: 30px; gap: 16px; }
.am-lang--ov .am-flag { width: 30px; height: 30px; }
.am-lang--ov .am-lang-code { font-size: 18px; color: var(--ink); }
.am-lang--ov .am-lang-i.is-current .am-flag { box-shadow: 0 0 0 2px var(--blue), 0 0 0 4px #fff; }
.hdr.over .am-lang--hdr .am-lang-i { opacity: .72; }
.hdr.over .am-lang--hdr .am-lang-i.is-current { opacity: 1; }

/* --------------------------------------------------------------------------
 * Dropdown de langue (header desktop) — FR par défaut, puis ES, puis IT.
 * ------------------------------------------------------------------------ */
.am-lang--dd { position: relative; display: inline-block; }
.am-lang-toggle {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 5px 10px 5px 6px;
	border: 1px solid rgba(8, 36, 61, .2);
	border-radius: 999px;
	background: rgba(8, 36, 61, .04);
	color: var(--ink);                 /* fond clair par défaut → texte foncé */
	cursor: pointer; font: inherit; line-height: 1;
	transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.am-lang-toggle:hover { background: rgba(8, 36, 61, .08); }
.am-lang--dd .am-lang-toggle .am-flag { width: 22px; height: 22px; }
.am-lang--dd .am-lang-toggle .am-lang-code {
	position: static; width: auto; height: auto; padding: 0;
	clip: auto; overflow: visible; white-space: nowrap;
	font-family: var(--am-font-head); font-weight: 800; font-size: 14px;
}
.am-lang-caret { flex: none; opacity: .8; transition: transform .2s ease; }
.am-lang--dd.open .am-lang-caret { transform: rotate(180deg); }
/* Au-dessus d'un hero photo : texte + bordures clairs. */
.hdr.over .am-lang-toggle { color: #fff; border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .14); }
.hdr.over .am-lang-toggle:hover { background: rgba(255, 255, 255, .24); }

.am-lang-menu {
	position: absolute; top: calc(100% + 10px); right: 0;
	min-width: 190px;
	padding: 6px;
	background: #fff;
	border: 1px solid rgba(8, 36, 61, .12);
	border-radius: 14px;
	box-shadow: 0 14px 34px rgba(8, 36, 61, .18);
	z-index: 60;
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.am-lang--dd.open .am-lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.am-lang--dd .am-lang-menu .am-lang-i {
	display: flex; align-items: center; gap: 10px;
	padding: 9px 12px; border-radius: 9px;
	opacity: 1; transform: none;
	color: var(--ink); text-decoration: none;
}
.am-lang--dd .am-lang-menu .am-lang-i:hover { background: rgba(8, 36, 61, .06); opacity: 1; transform: none; }
.am-lang--dd .am-lang-menu .am-lang-i .am-flag { width: 22px; height: 22px; box-shadow: inset 0 0 0 1px rgba(8, 36, 61, .12); }
.am-lang--dd .am-lang-menu .am-lang-i .am-lang-code {
	position: static; width: auto; height: auto; padding: 0;
	clip: auto; overflow: visible; white-space: nowrap;
	min-width: 26px; font-size: 12px; color: rgba(8, 36, 61, .5);
}
.am-lang--dd .am-lang-menu .am-lang-name { font-family: var(--am-font-head); font-weight: 700; }
.am-lang--dd .am-lang-menu .am-lang-i.is-current { background: rgba(16, 132, 216, .1); }
.am-lang--dd .am-lang-menu .am-lang-i.is-current::after {
	content: "\2713"; margin-left: auto; color: var(--blue); font-weight: 800;
}
