/* ==========================================================================
   EPEF — Composants réutilisables
   ========================================================================== */

/* ---------- Boutons & liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font-family: var(--font-text); font-weight: 700; font-size: .95rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--c-orange); color: var(--c-anthracite); }
.btn-primary:hover { background: #DB8A5B; box-shadow: 0 10px 24px -10px rgba(208, 123, 74, .8); }
.btn-dark { background: var(--c-anthracite); color: var(--c-creme); }
.btn-dark:hover { background: #000; }
[data-theme="dark"] .btn-dark { background: var(--c-creme); color: var(--c-anthracite); }
[data-theme="dark"] .btn-dark:hover { background: #fff; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--c-creme); color: var(--c-anthracite); }
.btn-light:hover { background: #fff; }
.btn-ghost-light { border-color: rgba(255, 251, 246, .4); color: var(--c-creme); background: transparent; }
.btn-ghost-light:hover { border-color: var(--c-creme); background: rgba(255, 251, 246, .08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--link); text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.prose a, .text-link { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- Cartes ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s;
}
:where(a.card) { text-decoration: none; display: block; }
a.card:hover, .card.is-hoverable:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.icon-badge {
  width: 52px; height: 52px; border-radius: 16px; flex: none;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--tone, var(--c-orange)) 16%, transparent);
  color: var(--tone, var(--c-orange));
}
.icon-badge .icon { width: 24px; height: 24px; }
[data-theme="dark"] .icon-badge { background: color-mix(in srgb, var(--tone, var(--c-orange)) 24%, transparent); }

.tone-bordeaux { --tone: var(--c-bordeaux); }
.tone-jaune { --tone: #C9952F; }
.tone-orange { --tone: var(--c-orange); }
.tone-bleu { --tone: var(--c-bleu); }
.tone-vert { --tone: var(--c-vert); }
[data-theme="dark"] .tone-jaune { --tone: var(--c-jaune); }
[data-theme="dark"] .tone-vert { --tone: #6FA39C; }
[data-theme="dark"] .tone-bleu { --tone: #6BA6CC; }
[data-theme="dark"] .tone-bordeaux { --tone: #D57A85; }

/* ---------- Hero d'accueil ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--hero-bg); color: var(--hero-ink);
  padding-block: clamp(72px, 10vw, 140px) clamp(96px, 11vw, 150px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(55% 70% at 85% 10%, rgba(240, 191, 89, .20), transparent 60%),
    radial-gradient(45% 60% at 0% 100%, rgba(208, 123, 74, .25), transparent 60%),
    radial-gradient(40% 50% at 50% 120%, rgba(58, 124, 165, .25), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero .kicker { color: var(--hero-accent); }
.hero h1 { margin-bottom: .35em; }
.hero h1 .accent { color: var(--hero-accent); }
.hero p { color: rgba(255, 251, 246, .85); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 560px; }
.hero .btn-row { margin-top: 32px; }
.hero-mark {
  position: absolute; z-index: -1; right: -90px; bottom: -120px;
  width: clamp(280px, 38vw, 560px); opacity: .07; pointer-events: none;
  will-change: transform;
}
.hero-scroll {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  color: rgba(255, 251, 246, .7);
}
.hero-scroll .icon { animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* Carrousel de versets (repris du site d'origine) */
.verse-carousel {
  position: relative;
  background: rgba(255, 251, 246, .07);
  border: 1px solid rgba(255, 251, 246, .14);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  backdrop-filter: blur(6px);
  min-height: 420px;
  display: flex; flex-direction: column;
}
.verse-slides { position: relative; flex: 1; display: grid; }
.verse-slide {
  grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), visibility .7s;
}
.verse-slide.is-active { opacity: 1; visibility: visible; transform: none; }
.verse-slide img { width: auto; max-width: 78%; max-height: 190px; margin: 0 auto auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .3)); }
.verse-slide blockquote { margin: 0; font-family: var(--font-title); font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.4; color: var(--c-creme); }
.verse-slide cite { font-style: normal; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--c-jaune); }
.verse-dots { display: flex; gap: 8px; margin-top: 20px; }
.verse-dots button {
  width: 28px; height: 4px; border-radius: 4px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255, 251, 246, .25); transition: background-color .3s, width .3s var(--ease);
}
.verse-dots button[aria-current="true"] { background: var(--c-jaune); width: 44px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .verse-carousel { min-height: 0; }
  .verse-slide img { max-height: 140px; }
}

/* ---------- Bandeau défilant ---------- */
.service-strip { background: var(--strip-bg); color: var(--c-creme); padding: 18px 0; overflow: hidden; }
.marquee { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover, .marquee:focus-within { animation-play-state: paused; }
.marquee-run { display: flex; align-items: center; gap: 28px; padding-right: 28px; flex: none; }
.marquee-item { font-family: var(--font-title); font-size: 1.12rem; white-space: nowrap; text-decoration: none; }
.marquee-item:hover { color: var(--c-jaune); }
.marquee-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-orange); flex: none; }
.marquee-run:nth-child(odd) .marquee-dot:nth-of-type(3n+2) { background: var(--c-jaune); }
.marquee-run .marquee-dot:nth-of-type(3n) { background: var(--c-bleu); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Photo + médaillon « depuis » ---------- */
.photo-frame { position: relative; }
.photo-frame > img, .photo-frame > picture img {
  width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.since-card {
  position: absolute; right: -18px; bottom: -28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  padding: 18px 24px; box-shadow: var(--shadow);
  min-width: 190px;
}
.since-card .kicker { margin-bottom: 4px; font-size: .68rem; }
.since-card .serif { font-size: 2.6rem; line-height: 1; margin: 0 0 4px; color: var(--accent-ink); }
.since-card div:last-child { font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 600px) { .since-card { right: 12px; bottom: -24px; } }

/* ---------- Cartes horaires ---------- */
.schedule-list { display: grid; gap: 14px; }
.schedule-card {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 22px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.schedule-card:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.schedule-card .kicker { margin-bottom: 4px; font-size: .68rem; }
.schedule-card .kicker::before { display: none; }
.schedule-card .serif { font-size: 1.35rem; margin: 0; }
.schedule-card p { margin: 6px 0 0; font-size: .92rem; color: var(--ink-soft); }
.schedule-card.is-featured { background: var(--c-anthracite); color: var(--c-creme); border-color: transparent; }
.schedule-card.is-featured p { color: rgba(255, 251, 246, .72); }
.schedule-card.is-featured .kicker { color: var(--c-jaune); }
[data-theme="dark"] .schedule-card.is-featured { background: var(--c-vert); }

.notice {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 20px; border-radius: var(--radius);
  background: color-mix(in srgb, var(--c-jaune) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--c-jaune) 55%, transparent);
  font-size: .95rem;
}
.notice .icon { margin-top: 3px; color: #A87A1C; }
[data-theme="dark"] .notice .icon { color: var(--c-jaune); }

/* ---------- Actualités ---------- */
.news-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.news-feature { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.news-feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-feature .news-body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; flex: 1; }
.news-feature .news-body .link-arrow { margin-top: auto; align-self: flex-start; }
.news-list { display: grid; gap: 24px; }
.news-row { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: center; padding: 18px; }
.news-row img { width: 100%; height: 120px; object-fit: cover; border-radius: 14px; }
.news-row h3 { font-size: 1.3rem; margin-bottom: .3em; }
.news-row p { font-size: .93rem; color: var(--ink-soft); margin: 0; }
.news-meta { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--kicker); margin-bottom: 8px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .news-row { grid-template-columns: 1fr; } .news-row img { height: 180px; } }

/* ---------- Cartes « vie de l'Église » ---------- */
.ministry-card { display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.ministry-card::after {
  content: ""; position: absolute; inset: auto -40px -40px auto; width: 140px; height: 140px; border-radius: 50%;
  background: var(--tone, var(--c-orange)); opacity: .08; transition: transform .5s var(--ease);
}
.ministry-card:hover::after { transform: scale(1.5); }
.ministry-card h3 { margin: 6px 0 0; }
.ministry-card p { color: var(--ink-soft); margin: 0; font-size: .97rem; }
.ministry-card .meta { margin-top: auto; padding-top: 8px; font-size: .85rem; font-weight: 700; color: var(--tone, var(--accent-ink)); display: flex; align-items: center; gap: 8px; }

/* ---------- Verset ---------- */
.verse-section {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--c-anthracite); color: var(--c-creme); text-align: center;
}
[data-theme="dark"] .verse-section { background: #1A1A1A; }
.verse-watermark { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(620px, 90vw); transform: translate(-50%, -50%); opacity: .06; pointer-events: none; }
.verse-quote-mark { font-family: var(--font-title); font-size: 6rem; line-height: .6; color: var(--c-orange); height: 50px; }
.verse-text { font-family: var(--font-title); font-size: clamp(1.6rem, 3.6vw, 2.7rem); line-height: 1.3; max-width: 900px; margin: 0 auto 28px; text-wrap: balance; }
.verse-section .kicker { color: var(--c-jaune); justify-content: center; }
.verse-section .kicker::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- Partenaires ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partner-tile {
  display: grid; place-items: center; height: 130px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; transition: transform .3s var(--ease), box-shadow .3s;
}
.partner-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.partner-tile img { max-height: 86px; max-width: 100%; width: auto; object-fit: contain; }
.partner-name { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-weight: 700; font-size: .9rem; text-decoration: none; }
.partner-name .icon { width: 15px; height: 15px; color: var(--ink-mute); }
@media (max-width: 600px) { .partner-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Infos de contact ---------- */
.info-list { display: grid; gap: 0; margin: 28px 0; border-top: 1px solid var(--line); }
.info-row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-row dt { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); padding-top: 4px; }
.info-row dd { margin: 0; font-family: var(--font-title); font-size: 1.2rem; }
@media (max-width: 480px) { .info-row { grid-template-columns: 1fr; gap: 2px; } }

.map-card { padding: 0; overflow: hidden; }
.map-card iframe { width: 100%; height: 360px; border: 0; filter: saturate(.85); }
[data-theme="dark"] .map-card iframe { filter: invert(.9) hue-rotate(180deg) saturate(.6) brightness(.95); }
.map-card .btn-row { padding: 18px; }

/* ---------- Formulaire ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: .85rem; font-weight: 700; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--line-strong); background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--c-orange); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-orange) 20%, transparent); }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.checkbox input { margin-top: 4px; accent-color: var(--c-orange); width: 18px; height: 18px; }
.form-status { font-size: .95rem; padding: 14px 18px; border-radius: 12px; }
.form-status.is-ok { background: color-mix(in srgb, var(--c-vert) 18%, transparent); }
.form-status.is-error { background: color-mix(in srgb, var(--c-bordeaux) 16%, transparent); }

/* ---------- Frise chronologique ---------- */
.timeline { position: relative; display: grid; gap: 28px; padding-left: 0; list-style: none; margin: 0; }
.timeline::before { content: ""; position: absolute; left: 148px; top: 8px; bottom: 8px; width: 2px; background: var(--line-strong); }
.timeline-item { display: grid; grid-template-columns: 130px 1fr; gap: 40px; position: relative; }
.timeline-year { font-family: var(--font-title); font-size: 1.5rem; color: var(--accent-ink); text-align: right; line-height: 1.2; padding-top: 18px; }
.timeline-item::before {
  content: ""; position: absolute; left: 142px; top: 28px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--c-orange);
}
.timeline-item .card { padding: 24px 28px; }
/* agenda : des dates (« 13 déc. – 3 janv. ») plutôt que des années */
.timeline--agenda .timeline-year { font-size: 1.1rem; padding-top: 22px; }
.timeline--agenda .card h3 { margin-bottom: .3em; }
/* événement avec affiche : vignette à gauche, texte à droite */
.agenda-event { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: start; }
.agenda-event .agenda-poster { display: block; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.agenda-event .agenda-poster:hover { transform: scale(1.03); }
.timeline-item .agenda-event img { display: block; width: 100%; height: auto; margin: 0; border-radius: 0; }
.agenda-event p { margin-bottom: .6em; }
@media (max-width: 640px) { .agenda-event { grid-template-columns: 1fr; } .agenda-event .agenda-poster { max-width: 220px; } }

/* ---------- Visionneuse d'images ---------- */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 20, 19, .88); }
.lightbox img { display: block; max-width: min(92vw, 900px); max-height: 90vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); cursor: zoom-out; }
.lightbox-close {
  position: fixed; top: max(16px, env(safe-area-inset-top)); right: 16px; width: 48px; height: 48px;
  display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--c-creme); color: var(--c-anthracite); box-shadow: var(--shadow);
}
.lightbox-close .icon { width: 22px; height: 22px; }
.lightbox[open] { animation: lightbox-in .2s ease-out; }
@keyframes lightbox-in { from { opacity: 0; transform: scale(.96); } }
@media (prefers-reduced-motion: reduce) { .lightbox[open] { animation: none; } }
body.lightbox-open { overflow: hidden; }
.agenda-poster { cursor: zoom-in; }
.timeline-item .card p:last-child { margin-bottom: 0; }
.timeline-item .card img { border-radius: 14px; margin: 8px 0 16px; }
@media (max-width: 640px) {
  .timeline::before { left: 7px; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; padding-left: 32px; }
  .timeline-item::before { left: 0; top: 8px; }
  .timeline-year { text-align: left; padding-top: 0; }
}

/* ---------- Accordéons (details/summary natifs) ---------- */
.accordion { display: grid; gap: 14px; }
.accordion details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .3s, border-color .3s;
}
.accordion details[open] { box-shadow: var(--shadow); border-color: var(--line-strong); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 18px;
  padding: 22px 26px;
  font-family: var(--font-title); font-size: clamp(1.2rem, 2vw, 1.5rem);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .num { font-family: var(--font-text); font-size: .8rem; font-weight: 700; color: var(--kicker); letter-spacing: .1em; min-width: 26px; }
.accordion summary .icon { margin-left: auto; transition: transform .3s var(--ease); color: var(--ink-mute); }
.accordion details[open] summary .icon { transform: rotate(180deg); }
.accordion .acc-body { padding: 0 26px 26px 70px; }
@media (max-width: 600px) { .accordion .acc-body { padding: 0 22px 22px; } }
.refs { margin-top: 14px; padding: 14px 18px; border-left: 3px solid var(--c-orange); background: var(--surface-2); border-radius: 0 12px 12px 0; font-size: .88rem; color: var(--ink-soft); }
.refs b { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--kicker); margin-bottom: 4px; }

/* ---------- Équipe ---------- */
.team-card { text-align: center; padding: 0; overflow: hidden; }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; filter: grayscale(.15); transition: filter .4s, transform .6s var(--ease); }
.team-card:hover img { filter: none; transform: scale(1.03); }
.team-card .team-body { padding: 22px 20px 26px; }
.team-card h3 { margin: 0 0 4px; }
.team-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.team-photo { overflow: hidden; }

/* ---------- Texte long ---------- */
.prose { font-size: 1.05rem; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--c-orange); }
.prose blockquote, .scripture {
  margin: 1.4em 0; padding: 18px 24px;
  border-left: 3px solid var(--c-orange); background: var(--surface-2); border-radius: 0 14px 14px 0;
  font-family: var(--font-title); font-size: 1.18rem; line-height: 1.5;
}
.prose blockquote cite, .scripture cite { display: block; margin-top: 8px; font-family: var(--font-text); font-style: normal; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--kicker); }
.prose figure { margin: 1.6em 0; }
.prose figure img { border-radius: var(--radius); background: #fff; }

/* Sommaire collant */
.with-toc { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .92rem; }
.toc .kicker { margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--ink-soft); }
.toc a:hover { color: var(--ink); }
.toc a.is-active { border-left-color: var(--c-orange); color: var(--accent-ink); font-weight: 700; }
@media (max-width: 900px) { .with-toc { grid-template-columns: 1fr; } .toc { position: static; } }

/* ---------- Vidéos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video-grid .video-card:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
@media (max-width: 800px) { .video-grid { grid-template-columns: 1fr; } }
/* grille plus serrée pour les longues listes (podcast, paroles) */
.video-grid--compact { grid-template-columns: repeat(3, 1fr); }
.video-grid--compact .video-card:first-child:nth-last-child(odd) { grid-column: auto; }
@media (max-width: 1000px) { .video-grid--compact { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .video-grid--compact { grid-template-columns: 1fr; } }
.video-grid--compact .video-card .video-body { padding: 16px 20px; }
.video-grid--compact .video-card h3 { font-size: 1.1rem; }
.video-card .video-body p { margin: 6px 0 0; color: var(--ink-soft); font-size: .95rem; }
.video-card { padding: 0; overflow: hidden; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe, .video-frame button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame button { cursor: pointer; padding: 0; background: #000 center / cover no-repeat; }
.video-frame button::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--c-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%232F2F2F'/%3E%3C/svg%3E") 55% 50% / 34px no-repeat;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4); transition: transform .3s var(--ease);
}
.video-frame button:hover::after { transform: translate(-50%, -50%) scale(1.08); }
.video-card .video-body { padding: 20px 24px; }
.video-card h3 { margin: 0; font-size: 1.3rem; }

/* ---------- Divers ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--bg-alt); font-size: .85rem; font-weight: 700; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1em; }

.cta-band {
  background: var(--c-orange); color: var(--c-anthracite); border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.cta-band h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band p { margin: 8px 0 0; }

.placeholder-card { text-align: center; padding: clamp(40px, 6vw, 72px); border-style: dashed; }
.placeholder-card .icon-badge { margin: 0 auto 18px; }
.placeholder-card p { color: var(--ink-soft); max-width: 520px; margin-inline: auto; }

.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.anchor-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; font-weight: 600; font-size: .92rem; transition: background-color .2s, border-color .2s; }
.anchor-nav a:hover { background: var(--surface); border-color: var(--c-orange); }
.anchor-nav .icon { color: var(--tone, var(--c-orange)); }

.split-block { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-block.is-reversed > :first-child { order: 2; }
.split-block img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.split-block img.contain { object-fit: contain; background: #fff; padding: 24px; }
@media (max-width: 860px) { .split-block { grid-template-columns: 1fr; } .split-block.is-reversed > :first-child { order: 0; } }

.cta-band .btn-ghost { color: var(--c-anthracite); border-color: rgba(47, 47, 47, .35); }
.cta-band .btn-ghost:hover { border-color: var(--c-anthracite); }

.media-card { display: grid; grid-template-columns: 140px 1fr; gap: 28px; align-items: start; }
.media-card > img { background: #fff; border-radius: 14px; padding: 10px; }
@media (max-width: 560px) { .media-card { grid-template-columns: 1fr; } .media-card > img { width: 120px; } }
