/* =========================================================
   MEET THE LEAD — V2 : inscriptions, partenaires,
   devenir partenaire. S'appuie sur les variables de mtl.css.
   ========================================================= */

/* ---------- Utilitaires communs ---------- */
.tri { display: inline-block; width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid var(--c, var(--teal)); }
.link-arrow { position: relative; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; color: var(--ink); }
.link-arrow::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%; background: var(--c, var(--pink)); transform: scaleX(.35); transform-origin: left; transition: transform .35s ease; }
.link-arrow:hover, .link-arrow:focus-visible { color: var(--ink); }
.link-arrow:hover::after, .link-arrow:focus-visible::after { transform: scaleX(1); }
.link-arrow i { transition: transform .25s; }
.link-arrow:hover i { transform: translateX(4px); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.btn.is-pending, .space-cta.is-pending { cursor: default; background: var(--bg-soft); color: var(--muted); border-color: var(--line); box-shadow: none; transform: none; }

/* ---------- Header : menu « S'inscrire » ---------- */
.reg-menu { position: relative; }
.reg-toggle i { font-size: 11px; transition: transform .2s; }
.reg-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.reg-panel {
    position: absolute; right: 0; top: calc(100% + 14px); width: 360px; z-index: 120;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px;
    box-shadow: 0 30px 60px -24px rgba(30,20,70,.45);
    animation: regIn .18s ease-out;
}
.reg-panel[hidden] { display: none; }
.reg-panel::before { content: ""; position: absolute; top: -7px; right: 34px; width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
@keyframes regIn { from { opacity: 0; transform: translateY(-6px); } }
.reg-panel-title { margin: 6px 10px 8px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.reg-item {
    position: relative; display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center;
    padding: 12px; border-radius: 10px; color: var(--ink); transition: background .2s;
}
.reg-item:hover { background: var(--bg-soft); color: var(--ink); }
.reg-item .reg-num { display: grid; place-items: center; width: 34px; height: 34px; font-size: 13px; font-weight: 800; color: #fff; background: var(--c); clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%); }
.reg-item.is-yellow .reg-num { color: var(--ink); }
.reg-item b { display: block; font-size: 15px; line-height: 1.25; }
.reg-item small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.reg-item > i { color: var(--c); font-size: 13px; transition: transform .2s; }
.reg-item:hover > i { transform: translateX(3px); }
.reg-panel-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; margin-top: 6px; padding: 12px 12px 6px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.reg-panel-foot a { color: var(--purple); }
.reg-panel-foot a:hover { color: var(--pink); }

.mobile-cta-title { margin: 14px 4px 6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.main-nav .mobile-cta .reg-item { padding: 10px 8px; }
.main-nav .mobile-cta .btn { margin-top: 10px; }

@media (max-width: 991px) {
    .main-nav { max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
    .header-cta .reg-toggle { display: inline-flex; }
    .reg-menu { position: static; }
    .reg-panel { position: fixed; left: 12px; right: 12px; top: calc(var(--header-h) + 6px); width: auto; max-height: calc(100vh - var(--header-h) - 20px); overflow-y: auto; }
    .reg-panel::before { right: 78px; }
}
@media (max-width: 420px) {
    .brand { width: 128px; height: 56px; }
    .brand img { width: 128px; height: 128px; margin-top: -32px; }
    .header-cta { gap: 8px; }
    .header-cta .reg-toggle { padding: 9px 14px; font-size: 13px; }
    .nav-toggle { width: 42px; height: 42px; }
    .reg-panel::before { right: 70px; }
}

/* ---------- Hero : actions ---------- */
.hero-actions .video-btn { margin-left: 6px; }
@media (max-width: 560px) {
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-actions .video-btn { margin: 6px 0 0; }
}

/* ---------- Hub d'inscription : trois espaces ---------- */
.spaces-section { position: relative; overflow: hidden; }
.spaces-section .section-title { text-transform: uppercase; letter-spacing: -.01em; }
.spaces-section .bg-dots { position: absolute; right: -20px; top: 60px; width: 260px; height: 200px; background-image: radial-gradient(rgba(75,57,133,.18) 1.4px, transparent 1.6px); background-size: 18px 18px; pointer-events: none; }
.spaces-section .bg-diag { position: absolute; left: -30px; bottom: 80px; width: 120px; height: 180px; background: repeating-linear-gradient(118deg, var(--pink) 0 3px, transparent 3px 16px); opacity: .22; pointer-events: none; }
.spaces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.space-card {
    position: relative; display: flex; flex-direction: column; background: #fff;
    border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
}
.space-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.space-visual {
    position: relative; height: 190px; overflow: hidden; background: var(--c);
    clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
}
.space-card.is-dark .space-visual { background: var(--purple-dark); }
.space-visual .num {
    position: absolute; left: 26px; bottom: 34px; font-size: 104px; font-weight: 800; line-height: .8; letter-spacing: -.04em;
    color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.85);
}
.space-visual span { position: absolute; display: block; }
.space-visual .geo-a { right: 34px; top: 30px; width: 0; height: 0; border-top: 34px solid transparent; border-bottom: 34px solid transparent; border-left: 58px solid rgba(255,255,255,.92); transition: transform .6s ease; }
.space-visual .geo-b { right: 104px; top: 96px; width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-bottom: 24px solid var(--accent, var(--yellow)); transition: transform .6s ease; }
.space-visual .geo-lines { right: 22px; bottom: 30px; width: 90px; height: 70px; background: repeating-linear-gradient(118deg, rgba(255,255,255,.55) 0 2px, transparent 2px 11px); }
.space-visual .geo-ring { left: 60%; top: 26px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); }
.space-card:hover .geo-a { transform: translateX(-8px) rotate(-6deg); }
.space-card:hover .geo-b { transform: translateY(-6px) rotate(12deg); }
.space-card.is-dark .geo-a { border-left-color: var(--yellow); }
.space-card.is-dark .geo-lines { background: repeating-linear-gradient(118deg, rgba(246,190,30,.6) 0 2px, transparent 2px 11px); }
.space-badge { position: absolute; top: 18px; left: 22px; z-index: 2; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.space-badge[hidden] { display: none; }
.space-body { display: flex; flex-direction: column; flex: 1; padding: 6px 28px 28px; }
.space-name { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.space-card.is-dark .space-name { color: #a87c00; }
.space-body h3 { margin: 12px 0; font-size: 22px; line-height: 1.22; text-transform: uppercase; letter-spacing: -.005em; }
.space-body p { font-size: 15px; color: var(--muted); }
.space-date { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; margin: 2px 0 22px; padding: 7px 18px 7px 14px; font-size: 14px; font-weight: 600; color: #fff; background: var(--c); clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.space-card.is-dark .space-date { background: var(--purple-dark); color: var(--yellow); }
.space-date.is-muted { background: var(--bg-soft); color: var(--ink); }
.space-card.is-dark .space-date.is-muted { background: var(--bg-soft); color: var(--ink); }
.space-cta {
    margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 54px; padding: 0 22px; border-radius: 4px; border: 2px solid var(--ink);
    font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; color: var(--ink);
    transition: background .25s, color .25s, border-color .25s;
}
.space-cta i { transition: transform .25s; }
.space-cta:hover, .space-cta:focus-visible { background: var(--ink); color: #fff; border-color: var(--ink); }
.space-cta:hover i { transform: translateX(5px); }
/* Toute la carte est cliquable via le lien principal (un seul lien par carte) */
.space-cta::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.space-card:hover .space-cta { background: var(--ink); color: #fff; }
.spaces-foot { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px; font-size: 15px; color: var(--muted); text-align: center; }
.spaces-foot p { margin: 0; }

@media (max-width: 991px) {
    .spaces { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; }
    .space-card { display: grid; grid-template-columns: 190px 1fr; }
    .space-visual { height: auto; min-height: 100%; clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%); }
    .space-visual .num { font-size: 80px; left: 20px; bottom: 24px; }
    .space-visual .geo-lines, .space-visual .geo-ring { display: none; }
    .space-visual .geo-a { right: 46px; }
    .space-body { padding: 26px 24px 24px 8px; }
    .space-badge { left: auto; right: 22px; background: var(--bg-soft); }
}
@media (max-width: 600px) {
    .space-card { display: flex; }
    .space-visual { height: 130px; min-height: 0; clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%); }
    .space-visual .num { font-size: 72px; bottom: 30px; }
    .space-visual .geo-a { right: 24px; top: 22px; border-top-width: 26px; border-bottom-width: 26px; border-left-width: 44px; }
    .space-visual .geo-b { right: 84px; top: 62px; }
    .space-visual .geo-ring { display: block; left: 60%; top: 20px; }
    .space-body { padding: 4px 22px 22px; }
    .space-badge { left: 22px; right: auto; background: rgba(255,255,255,.95); }
    .space-body h3 { font-size: 20px; }
}

/* ---------- Mur des partenaires ---------- */
.partners-section { position: relative; overflow: hidden; }
.partners-section .section-title { text-transform: uppercase; }
.partners-section .bg-diag { position: absolute; top: 70px; left: -40px; width: 120px; height: 160px; background: repeating-linear-gradient(118deg, var(--teal) 0 3px, transparent 3px 16px); opacity: .25; pointer-events: none; }
.partners-section .bg-tri { position: absolute; right: 6%; top: 100px; width: 0; height: 0; border-top: 16px solid transparent; border-bottom: 16px solid transparent; border-left: 28px solid var(--yellow); pointer-events: none; animation: float 7s ease-in-out infinite; }
.partners-section .bg-ring { position: absolute; left: 8%; bottom: 60px; width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--pink); opacity: .5; pointer-events: none; }
.partner-wall { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); border-top: 2px solid var(--ink); position: relative; }
.partner-group { grid-column: span 5; padding: 26px 30px 30px; border-bottom: 1px solid var(--line); min-width: 0; }
.partner-group.is-institutionnels { grid-column: span 4; border-right: 1px solid var(--line); padding-left: 0; }
.partner-group.is-gold { grid-column: span 6; padding-right: 0; }
.partner-group.is-hackathon { border-right: 1px solid var(--line); padding-left: 0; }
.partner-group.is-sponsor { padding-right: 0; }
.partner-group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pg-num { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; font-size: 12px; font-weight: 800; color: #fff; background: var(--c); clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%); }
.partner-group.is-gold .pg-num { color: var(--ink); }
.partner-group-head h3 { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.partner-logos { display: flex; }
.partner-cell {
    position: relative; display: grid; place-items: center; flex: 1 1 0; min-width: 0; min-height: 170px; padding: 22px 18px;
    transition: background .3s;
}
.partner-cell + .partner-cell::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.partner-cell::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; background: var(--c); transform: scaleX(0); transition: transform .4s ease; }
.partner-cell:hover { background: var(--bg-soft); }
.partner-cell:hover::after { transform: scaleX(1); }
/* Taille optique calculée en JS (--logo-w) ; jamais étiré ni recadré */
.partner-cell img { width: min(var(--logo-w, 160px), 100%); height: auto; max-height: 124px; object-fit: contain; }
.is-single .partner-cell { min-height: 190px; }
.is-single .partner-cell img { max-height: 140px; }
.partner-cell.is-missing { text-align: center; }
.partner-name { display: block; max-width: 220px; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; }
.partners-note { margin: 22px 0 0; font-size: 13.5px; color: var(--muted); text-align: right; }
.partners-note strong { color: var(--ink); }

@media (max-width: 991px) {
    .partner-group, .partner-group.is-institutionnels, .partner-group.is-gold { grid-column: 1 / -1; padding-inline: 0; border-right: 0; }
    .partner-group.is-hackathon, .partner-group.is-sponsor { grid-column: span 5; }
    .partner-group.is-hackathon { padding-right: 20px; border-right: 1px solid var(--line); }
    .partner-group.is-sponsor { padding-left: 20px; }
}
@media (max-width: 600px) {
    .partner-group.is-hackathon, .partner-group.is-sponsor { grid-column: 1 / -1; padding-inline: 0; border-right: 0; }
    .partner-group.is-gold .partner-logos { flex-wrap: wrap; }
    .partner-group.is-gold .partner-cell { flex: 1 1 50% !important; }
    .partner-group.is-gold .partner-cell:nth-child(1) { flex-basis: 100% !important; }
    .partner-group.is-gold .partner-cell:nth-child(2)::before { display: none; }
    .partner-cell { min-height: 130px; padding: 16px 10px; }
    .partner-cell img { max-height: 92px; }
    .is-single .partner-cell { min-height: 150px; }
    .is-single .partner-cell img { max-height: 110px; }
    .partners-note { text-align: left; }
}

/* ---------- Bloc « Et si vous faisiez partie de l'aventure ? » ---------- */
.join-band {
    position: relative; overflow: hidden; display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: center;
    padding: 64px; border-radius: 8px; color: rgba(255,255,255,.8);
    background: linear-gradient(120deg, var(--purple-dark) 0%, #2a1d63 60%, var(--purple) 100%);
}
.join-band::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: linear-gradient(180deg, var(--pink) 0 25%, var(--blue) 25% 50%, var(--teal) 50% 75%, var(--yellow) 75%); }
.join-band h2 { color: #fff; font-size: clamp(26px, 3.6vw, 40px); text-transform: uppercase; letter-spacing: -.01em; max-width: 640px; }
.join-band p { font-size: 17px; max-width: 600px; margin-bottom: 30px; }
.join-band .eyebrow { color: var(--yellow); }
.join-band .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.join-art { position: relative; height: 220px; }
.join-art span { position: absolute; display: block; }
.join-art .t1 { right: 30%; top: 8%; width: 0; height: 0; border-top: 46px solid transparent; border-bottom: 46px solid transparent; border-left: 80px solid var(--pink); animation: float 6s ease-in-out infinite; }
.join-art .t2 { right: 6%; top: 46%; width: 0; height: 0; border-top: 30px solid transparent; border-bottom: 30px solid transparent; border-left: 52px solid var(--teal); animation: float 7s ease-in-out infinite reverse; }
.join-art .t3 { left: 12%; bottom: 6%; width: 0; height: 0; border-left: 18px solid transparent; border-right: 18px solid transparent; border-bottom: 32px solid var(--yellow); }
.join-art .ring { left: 26%; top: 12%; width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(255,255,255,.55); }
.join-art .lines { right: 0; bottom: -10px; width: 120px; height: 120px; background: repeating-linear-gradient(118deg, rgba(255,255,255,.35) 0 3px, transparent 3px 14px); }
@media (max-width: 991px) {
    .join-band { grid-template-columns: 1fr; padding: 48px 30px; text-align: center; }
    .join-band h2, .join-band p { margin-inline: auto; }
    .join-band .actions { justify-content: center; }
    .join-art { display: none; }
}
@media (max-width: 480px) {
    .join-band { padding: 40px 22px; }
    .join-band .actions .btn { width: 100%; }
}

/* ---------- Pages d'inscription ---------- */
.reg-hero {
    position: relative; overflow: hidden; color: rgba(255,255,255,.82);
    background: linear-gradient(110deg, rgba(30,20,70,.98) 0%, rgba(30,20,70,.92) 55%, rgba(75,57,133,.86) 100%), url("../img/hero/h1_hero.png") center / cover no-repeat;
    padding-block: 72px 96px;
}
.reg-hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: center; }
.reg-hero .breadcrumb { color: rgba(255,255,255,.65); }
.reg-hero .breadcrumb a { color: var(--yellow); }
.reg-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.reg-kicker b { display: grid; place-items: center; width: 40px; height: 40px; background: var(--c); color: #fff; font-size: 15px; clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%); }
.reg-hero.is-yellow .reg-kicker b { color: var(--ink); }
.reg-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 58px); font-weight: 800; line-height: 1.05; text-transform: uppercase; letter-spacing: -.015em; margin-bottom: 24px; overflow-wrap: anywhere; }
.reg-hero h1 .accent { color: var(--c); }
.reg-hero .date-band { background: var(--c); }
.reg-hero.is-yellow .date-band { color: var(--ink); }
.reg-hero .reg-desc { font-size: 18px; max-width: 580px; margin: 6px 0 32px; color: rgba(255,255,255,.85); }
.reg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.btn-lg { padding: 18px 34px; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.btn-space { background: var(--c); color: #fff; box-shadow: 0 14px 30px -14px var(--c); }
.btn-space:hover { background: #fff; color: var(--ink); }
.reg-hero.is-yellow .btn-space { color: var(--ink); }
.reg-hero .btn.is-pending { background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.25); }
.reg-hint { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 0; font-size: 14px; color: rgba(255,255,255,.66); max-width: 560px; }
.reg-hint i { color: var(--c); margin-top: 4px; }
.reg-pending { margin-top: 18px; padding: 16px 20px; border-left: 4px solid var(--yellow); background: rgba(255,255,255,.07); font-size: 15px; color: rgba(255,255,255,.88); max-width: 580px; }
.reg-pending[hidden] { display: none; }
.reg-pending a { color: var(--yellow); font-weight: 600; }
.reg-art { position: relative; height: 380px; }
.reg-art span { position: absolute; display: block; }
.reg-art .big-num { right: 0; bottom: -10px; font-size: 230px; font-weight: 800; line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.22); }
.reg-art .t1 { left: 8%; top: 10%; width: 0; height: 0; border-top: 64px solid transparent; border-bottom: 64px solid transparent; border-left: 110px solid var(--c); animation: float 6s ease-in-out infinite; }
.reg-art .t2 { left: 56%; top: 4%; width: 0; height: 0; border-left: 20px solid transparent; border-right: 20px solid transparent; border-bottom: 34px solid var(--pink); animation: float 7s ease-in-out infinite reverse; }
.reg-art .ring { left: 46%; top: 46%; width: 54px; height: 54px; border-radius: 50%; border: 3px solid var(--yellow); box-shadow: inset 0 0 0 7px transparent, inset 0 0 0 10px var(--yellow); opacity: .8; }
.reg-art .lines { left: 4%; bottom: 4%; width: 140px; height: 140px; background: repeating-linear-gradient(118deg, rgba(255,255,255,.4) 0 3px, transparent 3px 15px); }
.reg-art .dots { right: 6%; top: 8%; width: 120px; height: 90px; background-image: radial-gradient(rgba(255,255,255,.45) 1.5px, transparent 1.7px); background-size: 14px 14px; }

.reg-info { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.reg-info > div { padding: 26px 26px 26px 0; min-width: 0; }
.reg-info > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.reg-info h2 { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.reg-info p { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.reg-info p small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--muted); }
.reg-partner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; margin-top: 36px; padding: 22px 30px; background: var(--bg-soft); border-left: 4px solid var(--teal); --c: var(--teal); }
.reg-partner[hidden] { display: none; }
.reg-partner p { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.reg-partner ul { display: flex; gap: 20px; }
.reg-partner .partner-cell { min-height: 0; padding: 0; background: none; }
.reg-partner .partner-cell::after { display: none; }
.reg-partner .partner-cell img { max-height: 80px; }

.others-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 14px; margin-bottom: 26px; }
.others-head h2 { margin: 0; font-size: clamp(22px, 3vw, 30px); text-transform: uppercase; }
.others { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.other-card { position: relative; display: grid; grid-template-columns: 64px 1fr auto; gap: 20px; align-items: center; padding: 26px 28px; background: #fff; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); transition: border-color .25s, box-shadow .25s, transform .25s; }
.other-card:hover { color: var(--ink); border-color: var(--c); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.other-card .num { display: grid; place-items: center; width: 64px; height: 64px; font-size: 22px; font-weight: 800; color: #fff; background: var(--c); clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%); }
.other-card.is-yellow .num { color: var(--ink); }
.other-card b { display: block; font-size: 19px; }
.other-card small { display: block; color: var(--muted); font-size: 14px; }
.other-card > i { color: var(--c); transition: transform .25s; }
.other-card:hover > i { transform: translateX(5px); }

@media (max-width: 991px) {
    .reg-hero .container { grid-template-columns: 1fr; }
    .reg-art { display: none; }
    .reg-info { grid-template-columns: 1fr; }
    .reg-info > div, .reg-info > div + div { padding: 18px 0; border-left: 0; }
    .reg-info > div + div { border-top: 1px solid var(--line); }
    .others { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .reg-hero { padding-block: 52px 70px; }
    .reg-actions .btn { width: 100%; white-space: normal; text-align: center; }
    .reg-hero .date-band { font-size: 18px; }
    .other-card { grid-template-columns: 52px 1fr auto; gap: 14px; padding: 20px; }
    .other-card .num { width: 52px; height: 52px; font-size: 18px; }
    .reg-partner { padding: 20px; }
}

/* ---------- Page « Devenir partenaire » ---------- */
.partner-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.partner-aside { min-width: 0; }
.partner-aside h2 { font-size: clamp(24px, 3vw, 32px); text-transform: uppercase; }
.partner-figures { display: grid; grid-template-columns: repeat(2, 1fr); margin: 30px 0; border-top: 2px solid var(--ink); }
.partner-figures div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.partner-figures div:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
.partner-figures b { display: block; font-size: 30px; font-weight: 800; line-height: 1.1; color: var(--ink); }
.partner-figures div:nth-child(1) b { color: var(--pink); }
.partner-figures div:nth-child(2) b { color: var(--blue); }
.partner-figures div:nth-child(3) b { color: var(--teal); }
.partner-figures div:nth-child(4) b { color: var(--purple); }
.partner-figures span { font-size: 13.5px; color: var(--muted); }
.partner-formats h3 { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.partner-formats li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.partner-formats li .tri { flex-shrink: 0; }
.partner-formats a { font-weight: 600; color: var(--ink); }
.partner-formats a:hover { color: var(--pink); }
.partner-contact { margin-top: 28px; padding: 20px 22px; background: var(--bg-soft); border-left: 4px solid var(--pink); font-size: 15px; }
.partner-contact p { margin: 0; }
.partner-contact a { font-weight: 600; word-break: break-word; }

.form-card.is-partner { border-radius: 8px; border-top: 6px solid var(--pink); padding: 44px; min-width: 0; }
.form-card h2 { font-size: 24px; margin-bottom: 6px; }
.form-card .form-intro { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.req { color: var(--pink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #c0392b; background: #fff; }
.field-error { font-size: 13px; color: #c0392b; }
.field-error[hidden] { display: none; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field input, .field select { min-height: 52px; }
.consent-field { margin-bottom: 8px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; font-weight: 400 !important; color: var(--text) !important; cursor: pointer; }
.consent input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--pink); }
.consent-field .field-error { margin-left: 34px; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 18px; }
.form-actions .btn { min-height: 54px; }
.form-actions .btn:disabled { opacity: .7; cursor: wait; transform: none; }
.privacy-note { font-size: 12.5px; line-height: 1.55; color: var(--muted); margin: 0; flex: 1 1 220px; }
.form-status:empty { display: none; }
.form-status.ok, .form-status.err { padding: 14px 16px; border-radius: 6px; font-size: 15px; }
.form-status.ok { background: rgba(19,131,74,.08); border: 1px solid rgba(19,131,74,.3); }
.form-status.err { background: rgba(192,57,43,.06); border: 1px solid rgba(192,57,43,.25); }
.form-status:focus { outline: none; }
.spinner { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 991px) { .partner-layout { grid-template-columns: 1fr; } }
@media (max-width: 680px) {
    .form-card.is-partner { padding: 28px 20px; }
    .form-actions .btn { width: 100%; }
}

/* ---------- Footer : sous-groupe ---------- */
.site-footer h4.footer-sub { margin-top: 26px; }

/* ---------- Temps forts : date du format ---------- */
.feature .feature-date { display: inline-flex; align-self: flex-start; gap: 8px; align-items: center; margin: -8px 0 14px; font-size: 13px; font-weight: 700; color: var(--c); }
.feature.featured .feature-date { color: var(--yellow); }
.feature .btn { position: relative; }

/* Mouvement réduit : la règle globale de mtl.css coupe déjà animations et transitions */
@media (prefers-reduced-motion: reduce) {
    .space-card:hover, .other-card:hover { transform: none; }
}

/* =========================================================
   V4 — Organisateur + New Speakers 2026
   ========================================================= */

/* ---------- Organisateur (fin de la section partenaires) ---------- */
.organizer-block { grid-column: 1 / -1; position: relative; display: flex; flex-direction: column; align-items: center; padding: 40px 0 6px; }
.organizer-block::before { content: ""; position: absolute; left: 50%; top: -1px; width: 64px; height: 3px; transform: translateX(-50%); background: var(--c); }
.org-label { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.org-label::before, .org-label::after { content: ""; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.org-label::before { border-left: 8px solid var(--pink); }
.org-label::after { border-right: 8px solid var(--teal); }
.organizer-block .partner-logos { justify-content: center; width: min(420px, 100%); }
.organizer-block .partner-cell { min-height: 130px; }
.organizer-block .partner-cell img { max-height: 76px; }

/* ---------- Speakers 2026 — « The voices of 2026 » ----------
   Portraits en arche + filet décalé à la couleur de chaque intervenant.
   Volontairement distinct de Past Speakers (cartes rectangulaires sur fond sombre). */
.new-speakers { position: relative; overflow: hidden; background: #fff; padding-block: 110px 120px; }
.new-speakers::before { content: ""; position: absolute; inset: 0 0 auto; height: 420px; background: linear-gradient(180deg, var(--bg-soft), #fff); pointer-events: none; }
.new-speakers .container { position: relative; }
.ns-bg-dots { position: absolute; right: 4%; top: 64px; width: 132px; height: 84px; background-image: radial-gradient(rgba(60,131,187,.55) 1.6px, transparent 2px); background-size: 16px 16px; pointer-events: none; }
.ns-bg-tri { display: none; }
.ns-bg-lines { position: absolute; left: -26px; bottom: 120px; width: 90px; height: 120px; pointer-events: none; }
.ns-bg-lines i { position: absolute; bottom: 0; width: 6px; height: 100%; border-radius: 6px; transform: rotate(28deg); transform-origin: bottom; }
.ns-bg-lines i:nth-child(1) { left: 10px; height: 75%; background: var(--teal); }
.ns-bg-lines i:nth-child(2) { left: 34px; background: var(--yellow); }
.ns-bg-lines i:nth-child(3) { left: 58px; height: 85%; background: var(--pink); }

/* En-tête */
.ns-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 18px 40px; margin-bottom: 72px; }
.ns-kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.ns-kicker::before { content: ""; width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid var(--pink); }
.ns-title { position: relative; margin: 14px 0 0; font-size: clamp(44px, 6.4vw, 84px); font-weight: 800; line-height: .92; letter-spacing: -.035em; text-transform: uppercase; color: var(--black); }
.ns-title span { color: var(--pink); }
.ns-when { margin: 0; padding-left: 22px; border-left: 3px solid var(--blue); text-align: left; }
.ns-when b { display: block; font-size: clamp(18px, 2vw, 24px); font-weight: 800; line-height: 1.2; color: var(--blue); letter-spacing: -.01em; }
.ns-when span { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.ns-when i { color: var(--blue); font-size: 13px; }

/* Galerie : 4 + 3 centrés */
.ns-grid { --gap-x: 44px; display: flex; flex-wrap: wrap; justify-content: center; gap: 64px var(--gap-x); }
.ns-item { position: relative; display: flex; flex-direction: column; flex: 0 0 calc((100% - 3 * var(--gap-x)) / 4); min-width: 0; }

/* Portrait en arche */
.ns-photo { position: relative; margin: 0 0 26px; padding: 0 12px 12px 0; }
.ns-photo::before { /* filet décalé */
    content: ""; position: absolute; inset: 12px 0 0 12px; border: 1.5px solid var(--c);
    border-radius: 999px 999px 4px 4px; transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.ns-photo::after { /* triangle d'accent */
    content: ""; position: absolute; right: -2px; bottom: 34px; width: 0; height: 0;
    border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 15px solid var(--c);
    transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.ns-frame { position: relative; z-index: 1; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 4px 4px; background: var(--bg-soft); }
.ns-frame picture, .ns-frame img { display: block; width: 100%; height: 100%; }
.ns-frame img { object-fit: cover; object-position: center 22%; transition: transform .9s cubic-bezier(.2,.7,.2,1); }

/* Texte */
.ns-name { margin: 0 0 10px; padding-left: 14px; border-left: 3px solid var(--c); font-size: 18px; font-weight: 800; line-height: 1.2; letter-spacing: .02em; text-transform: uppercase; color: var(--black); text-wrap: balance; transition: color .3s; }
.ns-role { margin: 0 0 16px; padding-left: 17px; font-size: 14px; font-weight: 400; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.ns-role b { display: block; margin-top: 2px; font-weight: 600; color: var(--ink); }
.ns-flag { display: block; width: 22px; height: 15px; margin: auto 0 0 17px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(22,21,28,.1); }

/* Interactions (souris) */
@media (hover: hover) {
    .ns-item:hover .ns-photo::before { transform: translate(-6px, -6px); }
    .ns-item:hover .ns-photo::after { transform: translateX(6px); }
    .ns-item:hover .ns-frame img { transform: scale(1.045); }
    .ns-item:hover .ns-name { color: var(--c); }
}
/* Apparition échelonnée */
.ns-item.reveal { transition-delay: calc(var(--i, 0) * 70ms); }
.ns-soon { margin: 0; padding: 40px 0; font-size: clamp(22px, 3vw, 32px); font-weight: 800; text-transform: uppercase; color: var(--ink); text-align: center; }
.ns-soon span { color: var(--pink); }

@media (max-width: 1199px) {
    .ns-grid { --gap-x: 32px; }
    .ns-name { font-size: 16.5px; }
}
/* Tablette : 3 + 3 + 1 serait déséquilibré → 2 colonnes larges, dernier centré */
@media (max-width: 991px) {
    .new-speakers { padding-block: 90px 100px; }
    .ns-head { grid-template-columns: 1fr; margin-bottom: 56px; }
    .ns-grid { --gap-x: 40px; max-width: 640px; margin: 0 auto; row-gap: 56px; }
    .ns-item { flex-basis: calc((100% - var(--gap-x)) / 2); }
}
/* Mobile : galerie éditoriale 2 colonnes, texte lisible, presse tactile */
@media (max-width: 600px) {
    .new-speakers { padding-block: 72px 80px; }
    .new-speakers::before { height: 260px; }
    .ns-bg-dots { top: 40px; right: 16px; width: 80px; height: 52px; opacity: .7; }
    .ns-bg-lines { display: none; }
    .ns-head { margin-bottom: 40px; gap: 18px; }
    .ns-title { font-size: clamp(42px, 13vw, 54px); }
    .ns-when { padding-left: 14px; }
    .ns-grid { --gap-x: 16px; row-gap: 40px; }
    .ns-photo { margin-bottom: 16px; padding: 0 8px 8px 0; }
    .ns-photo::before { inset: 8px 0 0 8px; border-width: 1.25px; }
    .ns-photo::after { bottom: 22px; border-top-width: 6px; border-bottom-width: 6px; border-left-width: 10px; }
    .ns-name { margin-bottom: 8px; padding-left: 10px; border-left-width: 2.5px; font-size: 14.5px; letter-spacing: .01em; }
    .ns-role { margin-bottom: 12px; padding-left: 12.5px; font-size: 12.75px; line-height: 1.5; }
    .ns-flag { margin-left: 12.5px; width: 20px; height: 14px; }
    .ns-item:active .ns-frame img { transform: scale(1.03); transition-duration: .2s; }
}
@media (max-width: 374px) {
    .ns-grid { --gap-x: 12px; }
    .ns-name { font-size: 13.5px; }
    .ns-role { font-size: 12.25px; }
}
@media (prefers-reduced-motion: reduce) {
    .ns-item.reveal { transition-delay: 0s; }
    .ns-item:hover .ns-photo::before, .ns-item:hover .ns-photo::after, .ns-item:hover .ns-frame img, .ns-item:active .ns-frame img { transform: none; }
}

/* ---------- Logo Meet The Lead transparent ---------- */
.brand { width: auto; height: auto; overflow: visible; display: flex; align-items: center; }
.brand img { width: auto; height: 56px; max-width: none; margin: 0; }
.footer-logo { background: none; padding: 0; border-radius: 0; }
.footer-logo .brand { width: auto; height: auto; }
.footer-logo .brand img { width: auto; height: 66px; margin: 0; }
@media (max-width: 420px) {
    .brand { width: auto; height: auto; }
    .brand img { width: auto; height: 46px; margin: 0; }
}

/* ---------- Navigation : 7 entrées sur grand écran ---------- */
@media (min-width: 992px) and (max-width: 1199px) {
    .header-inner { gap: 12px; }
    .main-nav ul { gap: 0; }
    .main-nav a { padding: 9px 9px; font-size: 14px; }
    .brand img { height: 48px; }
}

/* ---------- Partenaires : version mobile en tuiles ---------- */
@media (max-width: 600px) {
    .partner-group { padding: 24px 0 20px; }
    .partner-group-head { margin-bottom: 14px; }
    .partner-group-head h3 { font-size: 12.5px; letter-spacing: .14em; }
    .partner-logos, .partner-group.is-gold .partner-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .partner-cell, .partner-group.is-gold .partner-cell { flex: none !important; min-height: 108px; padding: 16px 14px; border-radius: 6px; background: var(--bg-soft); }
    .partner-cell + .partner-cell::before, .partner-cell::after { display: none; }
    .partner-cell img { width: min(calc(var(--logo-w, 160px) * .78), 100%); max-height: 66px; }
    .partner-group.is-gold .partner-cell:nth-child(1) { grid-column: 1 / -1; }
    .partner-group.is-gold .partner-cell:nth-child(1) img { width: min(calc(var(--logo-w, 160px) * .9), 100%); }
    .is-single .partner-logos { grid-template-columns: 1fr; }
    .is-single .partner-cell { min-height: 120px; }
    .is-single .partner-cell img { max-height: 76px; }
    .partner-group.is-institutionnels .partner-cell img { max-height: 78px; }
    .organizer-block { padding: 30px 0 4px; }
    .organizer-block .partner-logos { grid-template-columns: 1fr; width: 100%; }
    .organizer-block .partner-cell { min-height: 110px; background: none; border: 1px solid var(--line); }
    .organizer-block .partner-cell img { max-height: 54px; }
}

/* ---------- Formulaire partenariat : solution de repli ---------- */
.form-status .form-fallback { display: inline-flex; margin: 12px 0 6px; }
.form-status small { display: block; font-size: 12.5px; color: var(--muted); }

/* ---------- Hackathon : thématiques ---------- */
.hk-themes { position: relative; overflow: hidden; }
.hk-bg-tri { position: absolute; right: 5%; top: 70px; width: 0; height: 0; border-top: 18px solid transparent; border-bottom: 18px solid transparent; border-left: 32px solid var(--yellow); pointer-events: none; }
.hk-head { max-width: 720px; margin-bottom: 48px; }
.hk-poles { display: grid; grid-template-columns: 1fr 2fr; gap: 26px; align-items: stretch; }
.hk-pole { position: relative; padding: 30px 30px 18px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: 6px; }
.hk-pole-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.hk-pole-head > i { margin-left: auto; font-size: 30px; color: var(--c); opacity: .25; }
.hk-pole-num { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; font-size: 16px; font-weight: 800; color: #fff; background: var(--c); clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%); }
.hk-pole-kicker { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hk-pole h3 { margin: 0; font-size: 21px; text-transform: uppercase; letter-spacing: -.005em; }
.hk-pole ul { display: grid; grid-template-columns: 1fr; column-gap: 30px; }
.hk-pole:nth-child(2) ul { grid-template-columns: 1fr 1fr; }
.hk-theme { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px dashed var(--line); }
.hk-ico { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--c); color: var(--c); font-size: 15px; transition: background .25s, color .25s; }
.hk-theme:hover .hk-ico { background: var(--c); color: #fff; }
.hk-theme h4 { margin: 0 0 4px; font-size: 15.5px; line-height: 1.3; }
.hk-theme p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ---------- Hackathon : profils recherchés ---------- */
.hk-profiles-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.hk-profiles .reg-actions { margin-top: 28px; }
.hk-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.hk-chips li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink); transition: border-color .25s, transform .25s, box-shadow .25s; }
.hk-chips li:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.hk-chips li i { font-size: 15px; }
.hk-chips li:nth-child(5n+1) i { color: var(--pink); }
.hk-chips li:nth-child(5n+2) i { color: var(--blue); }
.hk-chips li:nth-child(5n+3) i { color: var(--teal); }
.hk-chips li:nth-child(5n+4) i { color: #c99a00; }
.hk-chips li:nth-child(5n+5) i { color: var(--purple); }

@media (max-width: 991px) {
    .hk-poles, .hk-profiles-grid { grid-template-columns: 1fr; }
    .hk-profiles-grid { gap: 36px; }
}
@media (max-width: 600px) {
    .hk-pole { padding: 24px 20px 10px; }
    .hk-pole:nth-child(2) ul { grid-template-columns: 1fr; }
    .hk-chips { gap: 10px; }
    .hk-chips li { padding: 10px 16px; font-size: 13.5px; }
    .hk-bg-tri { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hk-chips li:hover { transform: none; }
}

/* Hackathon : appel final */
.hk-cta-section { padding-top: 0; }
.hk-profiles .lead { margin-bottom: 0; }

/* Partenaires mobile : tuiles blanches à filet (logos non transparents bien intégrés) */
@media (max-width: 600px) {
    .partners-section .bg-tri, .partners-section .bg-diag, .partners-section .bg-ring { display: none; }
    .partner-cell, .partner-group.is-gold .partner-cell { background: #fff; border: 1px solid var(--line); }
    .partner-group.is-institutionnels .partner-cell { min-height: 124px; }
    .partner-group.is-institutionnels .partner-cell img { max-height: 92px; width: min(calc(var(--logo-w, 160px) * .95), 100%); }
}
@media (max-width: 560px) {
    .join-band .actions .btn { width: 100%; white-space: normal; text-align: center; padding-inline: 20px; letter-spacing: .04em; }
}

/* Menu mobile : les entrées « S'inscrire » gardent leur mise en ligne (numéro, nom, flèche) */
.main-nav .mobile-cta .reg-item { display: grid; border-radius: 10px; }
.main-nav .mobile-cta .btn { display: flex; justify-content: center; color: #fff; border-radius: 999px; font-weight: 600; }

/* Speakers 2026 : plusieurs fonctions (une par bloc) */
.ns-role > span { display: block; }
.ns-role > span + span { margin-top: 8px; }

/* ---------- Past Speakers : même langage que Speakers 2026 (arche + filet), en plus sobre ----------
   Le fond sombre (accueil) et le tag « Speaker MTL » restent ce qui les distingue. */
.speakers { gap: 48px 32px; }
.speaker { position: relative; display: flex; flex-direction: column; --c: var(--pink); }
.speaker:nth-child(4n+2) { --c: var(--blue); }
.speaker:nth-child(4n+3) { --c: var(--teal); }
.speaker:nth-child(4n+4) { --c: var(--yellow); }
.speaker::before { /* filet décalé en arche */
    content: ""; position: absolute; left: 10px; top: 10px; width: calc(100% - 10px); aspect-ratio: 4 / 5;
    border: 1.5px solid var(--c); border-radius: 999px 999px 4px 4px; opacity: .8;
    transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.speaker .photo { width: calc(100% - 10px); aspect-ratio: 4 / 5; margin-bottom: 30px; border-radius: 999px 999px 4px 4px; background: rgba(255,255,255,.06); }
.speaker .photo::after { display: none; }
.speaker .photo img { object-position: center 18%; }
.speaker .edition-tag { top: auto; bottom: 12px; left: 12px; padding: 3px 10px; font-size: 11px; letter-spacing: .04em; border-radius: 4px; background: var(--c); color: #fff; backdrop-filter: none; }
.speaker:nth-child(4n+4) .edition-tag { color: var(--black); }
.speaker h3 { margin: 0 0 8px; padding-left: 12px; border-left: 3px solid var(--c); font-size: 16.5px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; line-height: 1.25; text-wrap: balance; }
.speaker p { padding-left: 15px; text-wrap: pretty; }
@media (hover: hover) {
    .speaker:hover::before { transform: translate(-5px, -5px); }
}
@media (max-width: 680px) {
    .speakers { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
    .speaker::before { left: 7px; top: 7px; width: calc(100% - 7px); }
    .speaker .photo { width: calc(100% - 7px); margin-bottom: 20px; }
    .speaker .edition-tag { bottom: 8px; left: 8px; font-size: 9.5px; padding: 2px 7px; }
    .speaker h3 { padding-left: 9px; border-left-width: 2.5px; font-size: 13.5px; }
    .speaker p { padding-left: 11.5px; font-size: 12.5px; }
}
/* Toujours 2 par ligne sur mobile, même en très petite largeur */
@media (max-width: 400px) {
    .speakers { grid-template-columns: 1fr 1fr; gap: 32px 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .speaker:hover::before { transform: none; }
}
