@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,800;1,900&family=Outfit:wght@400;600;700&display=swap");

/* RWE ONCOFORUM (Roche) : nuit bleue, globe connecté, dégradé violet → cyan de l'affiche. */
:root {
    --color-primary: #2546D6;        /* bleu Roche (boutons, liens sur fond clair) */
    --color-primary-dark: #0B1F6B;
    --color-sky: #6C4DF5;            /* violet du dégradé */
    --color-cyan: #1FD1F0;
    --color-violet: #A04DFF;
    --color-accent: var(--color-primary);
    --color-danger: #C62828;
    --color-slate: #4D5A73;
    --color-bg: #FFFFFF;
    --color-bg-soft: #EEF2FC;
    --color-text: #141B33;
    --navy-950: #020821;
    --navy-900: #05113D;
    --navy-800: #0A1B5C;
    --ink: #F3F6FF;
    --ink-soft: rgba(222, 230, 255, .76);
    --grad-brand: linear-gradient(90deg, #A04DFF 0%, #6A5CFF 45%, #1FD1F0 100%);
    --grad-button: linear-gradient(90deg, #8A3FFC 0%, #4F6BFF 100%);
    --glass: rgba(255, 255, 255, .58);
    --glass-edge: rgba(255, 255, 255, .85);
    --glass-dark: rgba(255, 255, 255, .045);
    --glass-dark-edge: rgba(160, 180, 255, .18);
    --radius: 16px;
    --shadow: 0 10px 30px rgba(37, 70, 214, .14);
    --header-h: 92px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    color: var(--color-text);
    background: var(--color-bg-soft);
    line-height: 1.55;
}
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 18px; border-radius: 999px;
    background: #fff; color: var(--color-primary-dark); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 24px 20px 60px; }
.back-link { display: inline-block; margin: -4px 0 12px; font-size: 14px; font-weight: 600; color: var(--color-sky); text-decoration: none; }
.back-link::before { content: "‹ "; }
.back-link:hover, .back-link:focus-visible { text-decoration: underline; color: var(--color-primary); }
.card { background: #fff; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(2, 8, 33, .35); padding: 30px; color: var(--color-text); }
.card h1 { font-size: 26px; line-height: 1.25; letter-spacing: -.01em; }
.form .field { margin-bottom: 16px; }
.form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.form input, .form select {
    width: 100%; padding: 12px 13px; border: 1px solid #cdd5ea;
    border-radius: 10px; font-size: 15px; font-family: inherit; background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form input:focus, .form select:focus { outline: none; border-color: var(--color-sky); box-shadow: 0 0 0 3px rgba(108, 77, 245, .2); }
.error { color: var(--color-danger); font-size: 13px; margin-top: 4px; }
.btn {
    display: inline-block; width: 100%; border: 0; cursor: pointer; font-family: inherit;
    background: var(--grad-button); color: #fff; font-weight: 700; font-size: 16px;
    padding: 14px; border-radius: 999px; transition: filter .15s, transform .15s, box-shadow .15s;
    box-shadow: 0 10px 24px rgba(110, 77, 255, .3);
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 14px 28px rgba(110, 77, 255, .38); }
.btn:focus-visible { outline: 3px solid var(--color-cyan); outline-offset: 3px; }
.alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 600; }
.alert-error { background: #fde8e7; color: #9c1c14; }
.alert-success { background: #e6f5ec; color: #156c3a; }
.muted { color: var(--color-slate); }
.note { margin: 20px 0 0; padding: 14px 16px; border-radius: 10px; background: var(--color-bg-soft); color: var(--color-slate); font-size: 15px; text-align: left; }
.center { text-align: center; }

/* Code du matériel promotionnel : vertical, lisible de bas en haut, fixé en bas à droite */
.code-materiel {
    position: fixed; right: 10px; bottom: 18px; z-index: 50;
    writing-mode: vertical-rl; transform: rotate(180deg);
    font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--color-primary);
    pointer-events: none; user-select: text;
}
.brand-bg .code-materiel { color: rgba(222, 230, 255, .82); }
@media (max-width: 720px) {
    .code-materiel { right: 4px; bottom: 12px; font-size: 12px; }
}

/* Fond de marque : nuit bleue, halos violet et cyan, champ d'étoiles (canvas animé par motion.js) */
.brand-bg {
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(ellipse 70% 55% at 82% 8%, rgba(37, 88, 255, .38), transparent 70%),
        radial-gradient(ellipse 60% 50% at 0% 100%, rgba(160, 77, 255, .22), transparent 70%),
        linear-gradient(180deg, var(--navy-900) 0%, #061650 45%, var(--navy-950) 100%);
    background-attachment: fixed;
}
.starfield { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.brand-bg > .wrap, .brand-bg > .login-wrap, .site-header, main, .site-footer { position: relative; z-index: 1; }
.site-header { z-index: 40; }
@media (max-width: 860px) { .brand-bg { background-attachment: scroll; } }

.consent-field label {
    display: flex; gap: 10px; align-items: flex-start;
    font-weight: 400; font-size: 13px; line-height: 1.5; cursor: pointer;
}
.consent-field input[type=checkbox] { margin-top: 3px; flex-shrink: 0; width: auto; accent-color: var(--color-sky); }
.consent-field .consent-intro { margin: 0 0 10px; font-size: 13px; line-height: 1.5; color: var(--color-slate); }
.link-btn {
    background: none; border: 0; padding: 0; font: inherit; color: var(--color-primary);
    text-decoration: underline; cursor: pointer;
}

/* Fenêtre popup de la clause de confidentialité (loi 18-07) */
.consent-dialog {
    width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0;
    border-radius: 14px; box-shadow: 0 24px 60px rgba(2, 8, 33, .45); color: var(--color-text); overflow: hidden;
}
.consent-dialog::backdrop { background: rgba(2, 8, 33, .7); }
.consent-dialog-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 22px; background: linear-gradient(90deg, var(--navy-800), #3B2FB8); color: #fff;
}
.consent-dialog-head h2 { margin: 0; font-size: 17px; color: #fff; }
.consent-dialog-close { background: none; border: 0; padding: 0 4px; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.consent-dialog-body { padding: 18px 22px; max-height: calc(100vh - 210px); overflow-y: auto; font-size: 14px; line-height: 1.55; }
.consent-dialog-body p { margin: 0 0 10px; }
.consent-dialog-body h3 { margin: 14px 0 6px; font-size: 14px; color: var(--color-primary-dark); }
.consent-dialog-body ul { margin: 0 0 10px; padding-left: 20px; }
.consent-dialog-foot { padding: 12px 22px 18px; text-align: right; }
.consent-dialog-foot .btn { display: inline-block; width: auto; padding: 10px 26px; }

/* ---------- Logotype de l'événement (ressources/rwe-oncoforum/logo-rwe-oncoforum.png) ---------- */
/* « RWE » en blanc, « ONCOFORUM » en dégradé magenta → violet → bleu, trait dégradé dessous ;
   couleurs relevées sur le PNG. Reproduit en HTML/CSS pour rester net à toutes les tailles. */

:root { --wm-size: clamp(46px, 6.4vw, 104px); }
.wordmark {
    display: inline-grid; justify-items: start; margin: 0;
    font-size: var(--wm-size); font-weight: 800; font-style: italic; text-align: left;
    line-height: .98; letter-spacing: -.012em; text-transform: uppercase;
}
.wm-top { padding-left: .05em; color: #fff; }
.wm-bottom {
    padding-right: .06em;
    background-image:
        linear-gradient(105deg, transparent 44%, rgba(255, 255, 255, .7) 50%, transparent 56%),
        linear-gradient(90deg, #EC12B6 0%, #C93BC0 25%, #9F59CD 48%, #7280DB 72%, #46ABE9 100%);
    background-size: 300% 100%, 100% 100%; background-position: var(--shine, 100%) 0%, 0% 0%; background-repeat: no-repeat;
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wm-line {
    display: block; justify-self: stretch; height: max(2px, .04em); margin-top: .14em; border-radius: 99px;
    background: linear-gradient(90deg, rgba(236, 18, 182, 0) 0%, #D326BB 7%, #9F59CD 38%, #51A1E6 70%, #17D6F7 90%, rgba(23, 214, 247, 0) 100%);
    box-shadow: 0 0 .16em rgba(170, 90, 220, .55); transform-origin: left center;
}
.wordmark--sm { --wm-size: 30px; }
.wordmark--ink .wm-top { color: var(--color-primary-dark); }

/* ---------- Pilules (boutons) ---------- */

.pill {
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    padding: 11px 26px; border-radius: 999px; text-decoration: none;
    font-weight: 700; font-size: 14px; letter-spacing: .01em; white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.pill-primary {
    background: var(--grad-button); color: #fff;
    box-shadow: 0 10px 28px rgba(110, 77, 255, .38), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.pill-primary::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .8s ease;
}
.pill-primary:hover::after, .pill-primary:focus-visible::after { transform: translateX(120%); }
.pill-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .78); background: rgba(255, 255, 255, .02); }
.pill-ghost:hover, .pill-ghost:focus-visible { background: rgba(255, 255, 255, .1); border-color: #fff; }
.pill:hover { box-shadow: 0 14px 32px rgba(110, 77, 255, .42); }
.pill:focus-visible { outline: 3px solid var(--color-cyan); outline-offset: 3px; }
.pill-lg { padding: 16px 34px; font-size: 16px; min-width: 230px; }
.pill-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; transition: transform .2s ease; }
.pill:hover .pill-arrow { transform: translateX(4px); }

/* ---------- En-tête ---------- */

.site-header { position: sticky; top: 0; transition: background-color .35s ease, box-shadow .35s ease; }
.site-header.is-scrolled {
    background: rgba(5, 17, 61, .74);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(160, 180, 255, .14), 0 12px 30px rgba(2, 8, 33, .35);
}
.site-header-inner {
    max-width: 1280px; height: var(--header-h); margin: 0 auto; padding: 0 32px;
    display: flex; align-items: center; gap: 28px;
}
.site-menu { display: flex; align-items: center; gap: 24px; }
.site-nav { position: relative; display: flex; gap: 2px; }
.site-nav a {
    padding: 10px 12px; color: var(--ink); font-weight: 600; font-size: 15px; white-space: nowrap;
    text-decoration: none; opacity: .86; transition: opacity .2s ease;
}
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.is-active { opacity: 1; outline: none; }
.site-nav a:focus-visible { text-decoration: underline; text-underline-offset: 6px; }
.nav-indicator {
    position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; border-radius: 2px;
    background: var(--grad-brand); box-shadow: 0 0 12px rgba(31, 209, 240, .55); pointer-events: none;
}
.site-actions { display: flex; gap: 12px; }
.site-logo { display: inline-flex; margin-left: auto; }
.site-logo img { display: block; width: auto; height: 56px; }
.nav-toggle { display: none; }

/* Écran moyen : un seul bouton dans l'en-tête (« Je participe »), le second reste dans le hero */
@media (max-width: 1360px) {
    .site-actions .pill-ghost { display: none; }
}

/* Tablette et mobile : menu replié derrière un bouton (panneau plein écran sous l'en-tête) */
@media (max-width: 1080px) {
    .site-header-inner { gap: 16px; }
    .js .nav-toggle {
        display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; flex: none;
        width: 46px; height: 46px; padding: 0 12px; border-radius: 14px; cursor: pointer;
        border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .05);
    }
    .nav-toggle span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s ease, opacity .2s ease; }
    .nav-toggle:focus-visible { outline: 3px solid var(--color-cyan); outline-offset: 3px; }
    .site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .site-header.is-open { background: rgba(5, 17, 61, .97); }
    .js .site-menu {
        position: fixed; left: 0; right: 0; top: var(--header-h); height: calc(100dvh - var(--header-h)); overflow-y: auto;
        flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px; padding: 18px 24px 32px;
        background: rgba(5, 17, 61, .97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
        border-top: 1px solid rgba(160, 180, 255, .14); visibility: hidden; opacity: 0;
    }
    .js .site-header.is-open .site-menu { visibility: visible; opacity: 1; }
    .js .site-nav { flex-direction: column; gap: 0; }
    .js .site-nav a { padding: 16px 4px; font-size: 20px; opacity: 1; border-bottom: 1px solid rgba(160, 180, 255, .12); }
    .js .site-nav a.is-active { color: #7FD8FF; }
    .js .nav-indicator { display: none; }
    .js .site-actions { flex-direction: column; gap: 12px; }
    .js .site-actions .pill { display: flex; padding: 15px 24px; font-size: 16px; }
    /* Sans JavaScript : les liens passent simplement à la ligne */
    html:not(.js) .site-header-inner { height: auto; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
    html:not(.js) .site-nav { flex-wrap: wrap; }
    html:not(.js) .site-actions { display: none; }
}
html.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */

.hero {
    position: relative; overflow: hidden;
    min-height: max(640px, 100svh); margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h);
    display: flex; align-items: center;
}
.hero-globe { position: absolute; z-index: 1; right: -6vw; bottom: 6%; width: min(62vw, 1060px); pointer-events: none; }
/* Globe fixe ; fondu sur les bords gauche, haut et bas (image et lumières ensemble) */
.globe-stage {
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%), linear-gradient(0deg, transparent 0%, #000 26%), linear-gradient(180deg, transparent 0%, #000 14%);
    -webkit-mask-composite: source-in, source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 30%), linear-gradient(0deg, transparent 0%, #000 26%), linear-gradient(180deg, transparent 0%, #000 14%);
    mask-composite: intersect;
}
.globe-stage img { display: block; width: 100%; height: auto; }
/* Faisceaux : impulsions lumineuses dessinées par motion.js entre les villes du réseau */
.globe-net { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; pointer-events: none; }
/* Soleil levant (position relevée sur l'image : 53,6 % / 24,5 %) : halo, deux couronnes de rayons,
   reflet horizontal et cœur, superposés en « screen » pour n'ajouter que de la lumière */
.sun { position: absolute; inset: 0; pointer-events: none; }
.sun > span {
    position: absolute; left: 53.6%; top: 24.5%; translate: -50% -50%;
    border-radius: 50%; mix-blend-mode: screen;
}
.sun-glow { width: 58%; aspect-ratio: 1; background: radial-gradient(circle, rgba(120, 180, 255, .4) 0%, rgba(60, 120, 255, .14) 35%, transparent 68%); }
.sun-rays {
    aspect-ratio: 1;
    -webkit-mask-image: radial-gradient(circle, #000 0%, rgba(0, 0, 0, .55) 16%, transparent 64%);
    mask-image: radial-gradient(circle, #000 0%, rgba(0, 0, 0, .55) 16%, transparent 64%);
}
.sun-rays--a { width: 56%; background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .5) 0deg 1deg, transparent 1deg 8deg); }
.sun-rays--b { width: 40%; background: repeating-conic-gradient(from 3deg, rgba(160, 215, 255, .55) 0deg 2.2deg, transparent 2.2deg 13deg); }
.sun-streak { width: 64%; height: 1.8%; background: radial-gradient(ellipse at center, rgba(255, 255, 255, .95) 0%, rgba(150, 205, 255, .5) 28%, transparent 70%); }
.sun-core { width: 15%; aspect-ratio: 1; background: radial-gradient(circle, #fff 0%, rgba(215, 240, 255, .9) 16%, rgba(100, 170, 255, .38) 42%, transparent 70%); }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1280px; margin: 0 auto; padding: 40px 32px 170px; }
.hero-copy { max-width: 660px; }
.hero-title { margin: 0; }
/* Accroche du logo, sous le trait : première ligne semi-grasse, seconde légère, même largeur que ONCOFORUM */
.hero-tagline { margin: calc(var(--wm-size) * .2) 0 40px; font-size: calc(var(--wm-size) * .385); line-height: 1.18; color: #fff; }
.tagline-line { display: block; }
.tagline-line strong { font-weight: 600; }
.tagline-line + .tagline-line { font-weight: 300; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.meta-item { display: flex; align-items: center; gap: 16px; margin: 0; font-size: 17px; line-height: 1.4; color: var(--ink-soft); }
.meta-item strong { color: #fff; font-weight: 600; }
.meta-icon svg { display: block; width: 44px; height: 44px; fill: none; stroke: #fff; stroke-width: 1.4; }
.meta-sep { width: 1px; height: 46px; background: rgba(255, 255, 255, .35); }
.hero-confirm { margin: 38px 0 16px; font-size: 16px; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; }

.hero-waves { position: absolute; z-index: 1; left: 0; right: 0; bottom: -10px; height: clamp(170px, 30vh, 320px); pointer-events: none; }
.hero-waves svg { display: block; width: 100%; height: 100%; overflow: visible; }
.wave-lines path { stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.wave-lines path.is-lead { stroke-width: 2.2; filter: drop-shadow(0 0 6px rgba(140, 110, 255, .9)); }

/* ---------- Sections ---------- */

.section { position: relative; max-width: 1280px; margin: 0 auto; padding: 110px 32px; scroll-margin-top: calc(var(--header-h) - 20px); }
#informations { padding-bottom: 30px; }
.section-head { display: flex; align-items: center; gap: 26px; margin-bottom: 48px; }
.section-title {
    margin: 0; font-size: 16px; font-weight: 700; letter-spacing: .34em; text-transform: uppercase;
    color: #9FC2FF; white-space: nowrap;
}
.section-line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(108, 140, 255, .9), rgba(108, 140, 255, .08)); }

/* Thématique : titre puis texte d'invitation, sur une colonne, révélés mot à mot au défilement */
.manifesto { padding-top: 130px; padding-bottom: 90px; }
.manifesto-orb {
    position: absolute; z-index: -1; left: -10%; top: 10%; width: 46vw; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 77, 255, .28), transparent 65%); filter: blur(20px); pointer-events: none;
}
.manifesto-lead { margin: 0; max-width: 24ch; font-size: clamp(30px, 3.6vw, 54px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.manifesto-body { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 880px; margin-top: 40px; }
.manifesto-text { margin: 0; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.7; color: var(--ink-soft); }
.manifesto-text strong { font-weight: 700; color: #7FD8FF; }
.manifesto-text.is-first { font-size: clamp(20px, 1.75vw, 26px); line-height: 1.55; font-weight: 500; color: #fff; }
.manifesto-text.is-last {
    position: relative; margin-top: 6px; padding: 16px 22px 16px 46px; border-radius: 16px;
    font-weight: 600; color: #fff; background: rgba(108, 77, 245, .14); border: 1px solid rgba(167, 139, 250, .32);
}
.manifesto-text.is-last::before {
    content: ""; position: absolute; left: 20px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%;
    background: #FF4D7E; box-shadow: 0 0 0 0 rgba(255, 77, 126, .6); animation: live-dot 1.8s ease-out infinite;
}
@keyframes live-dot { to { box-shadow: 0 0 0 10px rgba(255, 77, 126, 0); } }
@media (prefers-reduced-motion: reduce) { .manifesto-text.is-last::before { animation: none; } }

/* Intervenants */
.speakers { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.speakers--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.speakers--trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.speaker {
    --mx: 50%; --my: 0%;
    position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 22px;
    padding: 34px 26px 32px; text-align: center; border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .02));
    border: 1px solid var(--glass-dark-edge); transition: border-color .3s ease;
}
.speaker::before {
    content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; pointer-events: none;
    background: radial-gradient(420px circle at var(--mx) var(--my), rgba(124, 77, 255, .22), transparent 60%);
}
.speaker:hover { border-color: rgba(160, 140, 255, .45); }
.speaker:hover::before { opacity: 1; }
.speakers--duo .speaker { flex-direction: row; text-align: left; gap: 28px; padding: 28px 30px; }
.speaker-photo { position: relative; flex: none; width: 150px; height: 150px; }
.speaker-ring {
    position: absolute; inset: -7px; border-radius: 50%;
    background: conic-gradient(from 210deg, #D946EF, #8A3FFC, #4F6BFF, #1FD1F0, rgba(31, 209, 240, 0) 72%, rgba(217, 70, 239, 0) 88%, #D946EF);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
}
.speaker-photo img { position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 14px 34px rgba(2, 8, 33, .5); }
.speaker-text { position: relative; display: flex; flex-direction: column; gap: 6px; }
.speaker-name {
    font-size: 21px; font-weight: 800; line-height: 1.2;
    background: linear-gradient(90deg, #F0ABFC, #C4B5FD); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.speaker-role { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.speaker-org { font-size: 15px; font-weight: 700; color: #fff; }

.panel-band { display: flex; align-items: center; gap: 22px; margin: 34px 0; }
.panel-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(108, 140, 255, .8)); }
.panel-line:last-child { background: linear-gradient(90deg, rgba(108, 140, 255, .8), transparent); }
.panel-label {
    margin: 0; padding: 12px 30px; border-radius: 999px; text-align: center;
    font-size: clamp(15px, 1.6vw, 20px); font-weight: 700; color: #fff;
    background: rgba(108, 77, 245, .16); border: 1px solid rgba(167, 139, 250, .38);
}

/* Programme scientifique : sessions numérotées sur une frise, intervenants en pastilles avec photo */
.agenda-meta { margin: -24px 0 30px; font-size: 16px; color: var(--ink-soft); }
.agenda-link { color: var(--color-cyan); font-weight: 600; }
.agenda-poster { display: block; width: 100%; margin-bottom: 24px; border-radius: var(--radius); }
.agenda { --num-w: 64px; --rail: 1; position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.agenda::before {
    content: ""; position: absolute; left: calc(var(--num-w) / 2 - 1px); top: 32px; bottom: 32px; width: 2px; border-radius: 2px;
    background: linear-gradient(180deg, #A04DFF, #4F6BFF 50%, #1FD1F0); opacity: .6;
    transform: scaleY(var(--rail)); transform-origin: top;
}
.agenda-item { display: grid; grid-template-columns: var(--num-w) minmax(0, 1fr); gap: 26px; align-items: start; }
.agenda-num {
    position: relative; z-index: 1; display: grid; place-items: center; width: var(--num-w); height: var(--num-w); border-radius: 50%;
    font-size: 20px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums;
    border: 2px solid transparent;
    background: linear-gradient(var(--navy-900), var(--navy-900)) padding-box, var(--grad-brand) border-box;
    box-shadow: 0 0 24px rgba(108, 77, 245, .45);
}
.agenda-card {
    display: flex; flex-direction: column; gap: 20px; padding: 24px 28px; border-radius: 20px;
    background: var(--glass-dark); border: 1px solid var(--glass-dark-edge);
    transition: border-color .3s ease, background-color .3s ease;
}
.agenda-card:hover { border-color: rgba(160, 140, 255, .45); background-color: rgba(255, 255, 255, .07); }
.agenda-tag {
    align-self: flex-start; margin-bottom: -6px; padding: 4px 12px; border-radius: 999px;
    font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-950); background: var(--grad-brand);
}
.agenda-topic + .agenda-topic { padding-top: 20px; border-top: 1px solid rgba(160, 180, 255, .14); }
.agenda-title { margin: 0 0 14px; font-size: clamp(17px, 1.4vw, 20px); font-weight: 600; line-height: 1.45; color: #fff; }
.agenda-title strong { font-weight: 800; color: #7FD8FF; }
.agenda-speakers { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    display: inline-flex; align-items: center; gap: 10px; padding: 5px 18px 5px 5px; border-radius: 999px;
    background: rgba(2, 8, 33, .45); border: 1px solid rgba(160, 180, 255, .18);
}
.chip-avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.chip-avatar--icon { display: grid; place-items: center; background: rgba(108, 77, 245, .28); }
.chip-avatar--icon svg { width: 20px; height: 20px; fill: none; stroke: #C4B5FD; stroke-width: 1.6; }
.chip-text { display: flex; flex-direction: column; line-height: 1.25; }
.chip-text strong { font-size: 14px; font-weight: 700; color: #fff; }
.chip-text span { font-size: 12.5px; color: var(--ink-soft); }
.chip-stack { display: flex; }
.chip-stack img { width: 36px; height: 36px; margin-left: -12px; border-radius: 50%; object-fit: cover; border: 2px solid var(--navy-900); }
.chip-stack img:first-child { margin-left: 0; }

/* Informations pratiques et compte à rebours */
.info-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; }
.info-card, .countdown, .contact-card {
    border-radius: 22px; background: var(--glass-dark); border: 1px solid var(--glass-dark-edge);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.info-card { margin: 0; padding: 12px 30px; }
.info-row {
    display: grid; grid-template-columns: 44px 160px 1fr; column-gap: 16px; align-items: center;
    padding: 18px 0; border-top: 1px solid rgba(160, 180, 255, .14);
}
.info-row:first-child { border-top: 0; }
.info-icon svg { display: block; width: 34px; height: 34px; fill: none; stroke: #9FC2FF; stroke-width: 1.5; }
.info-row dt { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #9FC2FF; }
.info-row dd { margin: 0; font-size: 17px; font-weight: 600; color: #fff; }
.info-room { display: block; margin-top: 2px; font-size: 15px; font-weight: 700; color: #7FD8FF; }
.info-sub { display: block; font-size: 14px; font-weight: 400; color: var(--ink-soft); }
.info-link { display: inline-block; margin-top: 4px; font-size: 14px; color: var(--color-cyan); }

.countdown { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 32px; position: relative; overflow: hidden; }
.countdown::before {
    content: ""; position: absolute; right: -30%; top: -40%; width: 80%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(31, 209, 240, .22), transparent 65%); pointer-events: none;
}
.countdown-label { position: relative; margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #9FC2FF; }
.countdown-units { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.countdown-unit {
    display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 6px 12px;
    border-radius: 16px; background: rgba(2, 8, 33, .4); border: 1px solid rgba(160, 180, 255, .16); overflow: hidden;
}
.countdown-num {
    display: block; font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums;
    background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.countdown-cap { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.countdown.is-live .countdown-units, .countdown.is-over .countdown-units { display: none; }
.countdown.is-over .countdown-actions { display: none; }
.countdown-actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }

.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { padding: 26px 26px 18px; }
.contact-card h3 { margin: 0 0 10px; font-size: 17px; font-weight: 700; color: #C4B5FD; }
.contact-intro { margin: 0 0 16px; font-size: 14.5px; color: var(--ink-soft); }
.contact-lines { margin: 0; }
.contact-line {
    display: grid; grid-template-columns: 76px 1fr; column-gap: 12px;
    padding: 8px 0; border-top: 1px solid rgba(160, 180, 255, .14); font-size: 14.5px;
}
.contact-line dt { margin: 0; font-weight: 600; color: #9FC2FF; }
.contact-line dd { margin: 0; overflow-wrap: anywhere; color: #fff; }
.contact-line a {
    color: #fff; font-weight: 600; text-decoration: none;
    border-bottom: 1px solid rgba(31, 209, 240, .5); transition: color .15s ease, border-color .15s ease;
}
.contact-line a:hover, .contact-line a:focus-visible { color: var(--color-cyan); border-bottom-color: var(--color-cyan); outline: none; }
.contact-line a[href^="tel:"] { white-space: nowrap; }

/* Pied de page */
.site-footer { border-top: 1px solid rgba(160, 180, 255, .14); background: rgba(2, 8, 33, .55); }
.site-footer-inner { max-width: 1280px; margin: 0 auto; padding: 28px 32px; display: flex; align-items: center; gap: 24px; }
.site-footer img { display: block; height: 44px; width: auto; }
.site-footer p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.site-footer a { color: #fff; }

/* ---------- Pages de formulaire (je participe, indisponibilité, confirmation, 404) ---------- */

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 6px 0 26px; }
.topbar a { text-decoration: none; color: inherit; }
.topbar-logo { display: block; height: 46px; width: auto; }
.page-card { max-width: 520px; margin: 0 auto; text-align: left; }
.page-card.center { text-align: center; }

@media (max-width: 1080px) {
    .hero-globe { width: 80vw; right: -24vw; opacity: .7; }
    .speakers--trio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .speakers--duo .speaker { flex-direction: column; text-align: center; }
    .info-grid { grid-template-columns: 1fr; }
    .contacts { grid-template-columns: 1fr; }
}

/* Mobile : logo + liens sur une ligne, pilules dans le hero uniquement, empilées */
@media (max-width: 720px) {
    :root { --header-h: 70px; }
    .site-header-inner { padding: 0 16px; }
    .site-logo img { height: 40px; }
    .hero { min-height: 0; }
    .hero-globe { width: 120vw; right: -50vw; bottom: auto; top: 40px; opacity: .45; }
    .hero-inner { padding: 36px 20px 190px; }
    .meta-item { font-size: 15px; }
    .meta-icon svg { width: 36px; height: 36px; }
    .meta-sep { display: none; }
    .hero-actions { flex-direction: column; }
    .pill-lg { width: 100%; min-width: 0; }
    .section { padding: 80px 20px; }
    .section-head { margin-bottom: 32px; }
    .speakers--duo, .speakers--trio { grid-template-columns: 1fr; }
    .panel-band { flex-direction: column; gap: 0; }
    .panel-line { display: none; }
    .info-card { padding: 6px 20px; }
    .info-row { grid-template-columns: 36px 1fr; row-gap: 2px; }
    .info-icon { grid-row: span 2; }
    .countdown { padding: 24px 18px; }
    .countdown-units { gap: 8px; }
    .site-footer-inner { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
    .agenda { --num-w: 42px; gap: 16px; }
    .agenda-item { gap: 14px; }
    .agenda-num { font-size: 15px; }
    .agenda-card { padding: 18px 18px; }
    .card { padding: 24px 20px; }
    .wordmark--sm { --wm-size: 24px; }
    .topbar-logo { height: 38px; }
}

/* Moins d'animations : rien ne bouge, tout est visible */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .pill, .pill-primary::after, .pill-arrow, .btn { transition: none; }
}

/* Intro GSAP : éléments masqués le temps que motion.js prenne la main (voir _motion-head.php) */
.motion .site-header, .motion .hero-copy, .motion .hero-globe, .motion .hero-waves,
.motion .topbar, .motion .page-card { visibility: hidden; }
