/* ==========================================================================
   ADAM – African Digital Art Market · thème WordPress
   Charte : ciel de l'affiche, encre bleu nuit, rose cauri, triangles du logo.
   ========================================================================== */

:root {
	--ink: #17275E;
	--ink-2: #22357A;
	--blue: #3CA7E2;
	--blue-text: #1D6FA8;
	--deep: #2E86CB;
	--sky: #A6DCFB;
	--sky-2: #D6EEFD;
	--mist: #F1F9FF;
	--cowrie: #E22E7F;
	--cowrie-strong: #D41F72;
	--cowrie-text: #B0155C;
	--white: #FFFFFF;
	--muted: #4A5A8A;
	--line: #CBDDF0;
	--field: #B4C7DE;

	--font-display: "Sora", "Avenir Next", "Segoe UI", sans-serif;
	--font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 14px;
	--radius-sm: 8px;
	--header-h: 76px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--blue-text); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--cowrie); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }

p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; top: 12px; left: 12px; width: auto; height: auto; clip: auto;
	z-index: 1000; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px;
}

/* ---------- Typo ---------- */

.h-display { font-size: clamp(1.9rem, 3.6vw, 3.1rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; max-width: 18ch; }
.h-section { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; }
.h-block { font-size: 1.3rem; font-weight: 700; margin-bottom: .8em; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.32rem); line-height: 1.5; color: var(--ink); }

.prose { max-width: 68ch; }
.prose--page { margin-inline: auto; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.5em 0; padding: .2em 0 .2em 1.2em; border-left: 4px solid var(--cowrie); font-size: 1.15rem; }
.prose img { border-radius: var(--radius); }

/* ---------- Triangles ---------- */

.tri { width: 18px; height: auto; fill: var(--cowrie); flex: none; }
.tri--blue { fill: var(--blue); }
.tri--deep { fill: var(--deep); }
.tri--ink { fill: var(--ink); }
.tri--cowrie { fill: var(--cowrie); }
.tri--sky { fill: var(--sky); }

/* ---------- Boutons ---------- */

.btn {
	--btn-bg: var(--ink);
	--btn-fg: var(--white);
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: .75em 1.5em;
	border: 2px solid var(--btn-bg); border-radius: 999px;
	background: var(--btn-bg); color: var(--btn-fg);
	font-family: var(--font-display); font-weight: 600; font-size: .95rem; letter-spacing: -.005em;
	text-decoration: none; line-height: 1.2; cursor: pointer;
	transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--cowrie-strong); }
.btn--primary:hover { --btn-bg: var(--cowrie-text); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); }
.btn--light:hover { --btn-bg: var(--sky-2); --btn-fg: var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--field); cursor: default; }
.btn--ghost:hover { transform: none; color: var(--ink); }
.btn--disabled { --btn-bg: #E4E9F2; --btn-fg: #5C678F; border-color: #E4E9F2; cursor: not-allowed; }
.btn--disabled:hover { transform: none; color: #5C678F; }
.btn--sm { min-height: 40px; padding: .55em 1.15em; font-size: .88rem; }
.btn--lg { min-height: 56px; padding: .9em 1.9em; font-size: 1.02rem; }
.btn--block { width: 100%; }

.link-arrow {
	display: inline-flex; align-items: center; gap: .55em;
	font-family: var(--font-display); font-weight: 600; color: var(--ink); text-decoration: none;
	border-bottom: 2px solid var(--cowrie); padding-bottom: 2px;
}
.link-arrow::after { content: ""; width: .5em; height: .5em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.link-arrow:hover { color: var(--cowrie-text); }

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

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .86);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid rgba(23, 39, 94, .08);
	transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.is-home .site-header:not(.is-scrolled) { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: block; flex: none; }
.brand .logo-img { height: 42px; width: auto; }
.is-home .site-header:not(.is-scrolled) .brand { opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.is-home .site-header.is-scrolled .brand { opacity: 1; transition: opacity .3s var(--ease); }

.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a {
	display: block; padding: 8px 12px; border-radius: 999px;
	color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem;
}
.site-nav .menu a:hover, .site-nav .current-menu-item > a, .site-nav .current_page_item > a { background: rgba(60, 167, 226, .16); }
.site-nav__cta { display: flex; align-items: center; gap: 16px; }
.site-nav__date { font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: var(--muted); white-space: nowrap; }

.nav-toggle { display: none; }

@media (max-width: 1080px) {
	.site-nav__date { display: none; }
}

@media (max-width: 900px) {
	.nav-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		margin-left: auto; width: 48px; height: 48px; border-radius: 50%;
		border: 0; background: var(--ink); cursor: pointer;
	}
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
		display: block; width: 20px; height: 2px; background: var(--white); border-radius: 2px;
		position: relative; transition: transform .25s var(--ease), background-color .2s;
	}
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bars::before { top: -6px; }
	.nav-toggle__bars::after { top: 6px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

	.site-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 16px var(--gutter) 24px;
		background: var(--white); border-bottom: 1px solid var(--line);
		box-shadow: 0 24px 40px -24px rgba(23, 39, 94, .35);
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
	}
	.site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu a { padding: 12px 8px; border-radius: 8px; font-size: 1.1rem; }
	.site-nav__cta .btn { flex: 1; }
	.is-home .site-header.nav-open .brand { opacity: 1; pointer-events: auto; }
	.is-home .site-header.nav-open { background: var(--white); }
}

/* ---------- Héros d'accueil ---------- */

.hero {
	position: relative; overflow: hidden;
	margin-top: calc(var(--header-h) * -1);
	padding-top: calc(var(--header-h) + clamp(16px, 4vw, 48px));
	padding-bottom: clamp(40px, 6vw, 72px);
	background:
		url("../img/lowpoly.svg") center / cover no-repeat,
		linear-gradient(180deg, #9FD8F8 0%, #A9DDFB 45%, #BCE4FB 100%);
}

.hero__top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; position: relative; z-index: 2; }

.hero__presenter { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); letter-spacing: .01em; margin-bottom: .6em; }
.hero__logo { margin: 0; }
.hero__logo .logo-img { width: min(100%, 560px); height: auto; }

.hero__intro { padding-bottom: 6px; }
.hero__edition { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink); background: var(--white); padding: .3em .8em; border-radius: 999px; margin-bottom: 1em; }
.hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.18; letter-spacing: -.025em; color: var(--ink); max-width: 22ch; margin-bottom: .55em; }
.hero__text { color: var(--ink-2); font-size: 1.08rem; max-width: 46ch; margin: 0; }

.hero__visual { position: relative; margin: clamp(-8px, -1vw, 0px) 0 0; z-index: 1; }
.hero__visual img {
	width: 100%; height: clamp(220px, 30vw, 460px); object-fit: cover; object-position: 50% 30%;
	-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 74%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 74%, transparent 100%);
}
.hero__spark {
	position: absolute; left: 50.3%; top: 31%; width: 18vw; aspect-ratio: 1; translate: -50% -50%;
	background: radial-gradient(circle, rgba(255, 255, 255, .95) 0, rgba(255, 255, 255, .55) 14%, rgba(166, 220, 251, 0) 60%);
	mix-blend-mode: screen; pointer-events: none; opacity: .0;
	animation: spark 2.4s .4s var(--ease) both;
}
@keyframes spark {
	0% { opacity: 0; transform: scale(.2); }
	35% { opacity: 1; transform: scale(1.15); }
	100% { opacity: .55; transform: scale(.8); }
}
@media (prefers-reduced-motion: reduce) { .hero__spark { animation: none; opacity: .5; } }

.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; position: relative; z-index: 2; margin-top: clamp(-90px, -6vw, -20px); }

.formats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; max-width: 560px; font-family: var(--font-display); font-weight: 600; font-size: clamp(.95rem, 1.3vw, 1.1rem); color: var(--ink); }
.formats li { display: inline-flex; align-items: center; }
.formats li:not(:last-child)::after { content: ""; width: 7px; height: 7px; margin: 0 .75em; border-radius: 50%; background: var(--cowrie); }

.hero__date { display: flex; flex-direction: column; align-items: flex-end; gap: 22px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* Bloc date façon affiche */
.date-lockup { font-family: var(--font-display); color: var(--ink); text-align: right; }
.date-lockup__days { display: flex; align-items: flex-end; justify-content: flex-end; line-height: .8; }
.date-lockup__num { font-weight: 800; font-size: clamp(4.2rem, 9vw, 8.2rem); letter-spacing: -.06em; }
.date-lockup__tag {
	position: relative; z-index: 1; align-self: center; translate: 0 .55em;
	margin-right: -.18em; padding: .18em .45em;
	background: var(--white); color: var(--deep);
	font-weight: 700; font-size: clamp(.9rem, 1.6vw, 1.35rem); letter-spacing: .08em; text-transform: uppercase; line-height: 1;
}
.date-lockup__num + .date-lockup__tag { margin-left: .12em; }
.date-lockup__month { font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.7rem); letter-spacing: .2em; text-transform: uppercase; margin-top: .25em; margin-right: -.2em; }

@media (max-width: 860px) {
	.hero__top { grid-template-columns: 1fr; gap: 20px; }
	.hero__logo .logo-img { width: min(100%, 420px); }
	.hero__visual img { height: 220px; object-position: 46% 30%; }
	.hero__spark { width: 34vw; left: 47%; }
	.hero__bottom { flex-direction: column-reverse; align-items: stretch; margin-top: -10px; }
	.hero__date { align-items: flex-start; }
	.date-lockup { text-align: left; }
	.date-lockup__days { justify-content: flex-start; }
}

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

.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(24px, 4vw, 44px); flex-wrap: wrap; }
.section-head .h-section { margin-bottom: .25em; }
.section-head__text { color: var(--muted); margin: 0; max-width: 56ch; }

.empty { padding: 40px; border: 2px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); }
.empty .btn { margin-top: 8px; }

/* À propos */
.about__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.about__text p { max-width: 60ch; }
.about__focus { padding: 16px 20px; border-left: 4px solid var(--cowrie); background: var(--mist); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.audience { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.audience li { padding: .38em .9em; border-radius: 999px; background: var(--sky-2); color: var(--ink); font-weight: 600; font-size: .95rem; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } }

/* Les quatre espaces */
.pillars { background: var(--mist); }
.pillars__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(24px, 4vw, 48px); }
.pillar { padding: 4px clamp(18px, 2.2vw, 32px) 8px; border-left: 1px solid var(--line); }
.pillar:first-child { padding-left: 0; border-left: 0; }
.pillar .tri { width: 22px; margin-bottom: 18px; }
.pillar h3 { font-size: 1.35rem; font-weight: 700; }
.pillar p { color: var(--ink-2); }
.pillar ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pillar li { padding: .55em 0; border-bottom: 1px solid var(--line); font-size: .97rem; font-weight: 500; }
@media (max-width: 1000px) {
	.pillars__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
	.pillar:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
	.pillars__grid { grid-template-columns: 1fr; }
	.pillar { padding-left: 0; border-left: 0; }
}

/* ---------- Puces de thématique ---------- */

.chip {
	display: inline-flex; align-items: center; padding: .22em .7em; border-radius: 999px;
	font-size: .8rem; font-weight: 700; line-height: 1.3; text-decoration: none;
	background: #E2F2FD; color: var(--blue-text);
}
a.chip:hover { filter: brightness(.96); }
.chip--cowrie { background: #FCE4EF; color: var(--cowrie-text); }
.chip--ink { background: #E3E7F3; color: var(--ink); }
.chip--deep { background: #DCEAF8; color: #1A5C97; }

/* ---------- Programme : lignes de talk ---------- */

.talk-list { border-top: 2px solid var(--ink); }

.talk-row {
	display: grid; grid-template-columns: 170px minmax(0, 1fr) 210px; gap: clamp(16px, 3vw, 40px);
	padding: 28px 0; border-bottom: 1px solid var(--line);
}
.talk-row[hidden] { display: none; }

.talk-row__time { display: flex; flex-direction: column; gap: 4px; }
.talk-row__day { font-weight: 700; font-size: .9rem; color: var(--blue-text); }
.talk-row__hours { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }
.talk-row__room { font-size: .92rem; color: var(--muted); }

.talk-row__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; }
.talk-row__format { font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: var(--ink); padding-right: 4px; }
.talk-row__title { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: .4em; max-width: 36ch; }
.talk-row__title a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--cowrie), var(--cowrie)) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.talk-row__title a:hover { background-size: 100% 2px; }
.talk-row__excerpt { color: var(--ink-2); max-width: 62ch; margin-bottom: 16px; }

.talk-row__action { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.talk-row__more { font-size: .92rem; font-weight: 600; color: var(--ink); }

.seats { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: .9rem; font-weight: 600; color: var(--ink); }
.seats::before { content: ""; width: 10px; height: 9px; flex: none; margin-top: .42em; background: var(--cowrie); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.seats--full { color: var(--cowrie-text); }
.seats--soon { color: var(--muted); }
.seats--soon::before { background: var(--field); }

.talk-row.is-full .talk-row__title a { color: var(--ink-2); }

@media (max-width: 960px) {
	.talk-row { grid-template-columns: 130px minmax(0, 1fr); }
	.talk-row__action { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
}
@media (max-width: 620px) {
	.talk-row { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
	.talk-row__time { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
	.talk-row__action { grid-column: auto; }
}

/* Pile d'intervenants */
.speaker-stack { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.speaker-stack li { display: flex; align-items: center; gap: 10px; }
.speaker-stack__text { display: flex; flex-direction: column; line-height: 1.25; }
.speaker-stack__text strong { font-size: .95rem; }
.speaker-stack__text span { font-size: .83rem; color: var(--muted); }

/* ---------- Portraits (coin taillé + triangle cauri) ---------- */

.portrait { position: relative; display: block; aspect-ratio: 1; width: 100%; }
.portrait > img, .portrait__initials {
	width: 100%; height: 100%; object-fit: cover;
	clip-path: polygon(0 0, 76% 0, 100% 24%, 100% 100%, 0 100%);
}
.portrait__initials {
	display: grid; place-items: center;
	background: linear-gradient(140deg, var(--blue), var(--deep) 70%, var(--ink));
	color: var(--white); font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em;
	font-size: clamp(1.6rem, 4vw, 2.8rem);
}
.portrait::after {
	content: ""; position: absolute; top: 0; right: 0; width: 15%; height: 15%;
	background: var(--cowrie); clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.portrait--xs { width: 44px; flex: none; }
.portrait--xs .portrait__initials { font-size: .85rem; }
.portrait--md { width: 120px; }
.portrait--md .portrait__initials { font-size: 1.8rem; }
.portrait--lg { width: clamp(160px, 22vw, 260px); flex: none; }

/* ---------- Intervenants ---------- */

.speakers-home { background: var(--mist); }
.speaker-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
@media (max-width: 1000px) { .speaker-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.speaker-card__link { display: block; text-decoration: none; color: var(--ink); }
.speaker-card__link .portrait > img { transition: transform .5s var(--ease); }
.speaker-card__link:hover .portrait > img { transform: scale(1.04); }
.speaker-card__name { font-size: 1.12rem; font-weight: 700; margin: 14px 0 4px; }
.speaker-card__link:hover .speaker-card__name { color: var(--cowrie-text); }
.speaker-card__meta { font-size: .93rem; color: var(--ink-2); margin: 0 0 2px; }
.speaker-card__country { font-size: .85rem; font-weight: 600; color: var(--blue-text); margin: 0; }
@media (max-width: 700px) { .speaker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; } }

/* ---------- Bootcamp ---------- */

.bootcamp {
	background:
		linear-gradient(rgba(23, 39, 94, .78), rgba(23, 39, 94, .78)),
		url("../img/lowpoly.svg") right center / 900px auto no-repeat,
		var(--ink);
	color: #E6EEFB;
}
.bootcamp .h-section, .bootcamp h3 { color: var(--white); }
.bootcamp__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.bootcamp__intro p { max-width: 50ch; margin-bottom: 1.6em; }
.tracks { list-style: none; margin: 0; padding: 0; }
.tracks li { display: grid; grid-template-columns: 26px 1fr; column-gap: 18px; padding: 24px 0; border-top: 1px solid rgba(166, 220, 251, .3); }
.tracks li:last-child { border-bottom: 1px solid rgba(166, 220, 251, .3); }
.tracks .tri { grid-row: span 2; width: 20px; margin-top: 6px; }
.tracks h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .3em; }
.tracks p { margin: 0; color: #C9D6EE; }
@media (max-width: 860px) { .bootcamp__grid { grid-template-columns: 1fr; } }

/* ---------- Appel à candidatures ---------- */

.call { background: linear-gradient(160deg, var(--sky) 0%, #C7E9FC 100%); position: relative; overflow: hidden; }
.call::before {
	content: ""; position: absolute; right: -60px; top: -40px; width: 260px; height: 225px;
	background: var(--cowrie); clip-path: polygon(0 0, 100% 0, 50% 100%); opacity: .9;
}
.call__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; position: relative; }
.call__text p { font-size: 1.1rem; max-width: 52ch; color: var(--ink-2); }
.call__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.call__deadline { margin: 0; font-weight: 600; color: var(--ink); }
.call__ways { display: grid; gap: 16px; }
.way { background: var(--white); padding: 24px 26px; border-radius: var(--radius); display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 14px; }
.way__from, .way__to { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 1.75rem); letter-spacing: -.03em; color: var(--ink); }
.way__arrow { position: relative; height: 2px; background: var(--blue); }
.way__arrow::after { content: ""; position: absolute; right: -2px; top: 50%; width: 12px; height: 12px; translate: 0 -50%; background: var(--blue); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.way--alt .way__arrow, .way--alt .way__arrow::after { background: var(--cowrie); }
.way p { grid-column: 1 / -1; margin: 12px 0 0; color: var(--ink-2); font-size: .98rem; }
@media (max-width: 860px) { .call__inner { grid-template-columns: 1fr; } .call::before { width: 110px; height: 95px; right: -30px; top: -10px; } .call .h-display { padding-right: 48px; } }

/* ---------- Infos pratiques ---------- */

.practical__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: clamp(20px, 3vw, 36px) 0 0; }
.practical__grid > div { border-top: 2px solid var(--ink); padding-top: 16px; }
.practical__grid dt { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.practical__grid dd { margin: 0; color: var(--ink-2); }
.practical__partner { margin: 40px 0 0; color: var(--muted); }
.practical__partner strong { color: var(--ink); }
@media (max-width: 900px) { .practical__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .practical__grid { grid-template-columns: 1fr; } }

/* ---------- Héros des pages intérieures ---------- */

.page-hero {
	background:
		url("../img/lowpoly.svg") 70% 40% / 1400px auto no-repeat,
		linear-gradient(180deg, #A3DAF9 0%, #C2E7FC 100%);
	padding-block: clamp(40px, 7vw, 88px) clamp(36px, 5vw, 64px);
}
.page-hero__kicker { font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--ink); margin-bottom: .8em; }
.page-hero__title { font-size: clamp(2.1rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.04; max-width: 20ch; margin-bottom: .35em; }
.page-hero__title--talk { font-size: clamp(1.9rem, 4.2vw, 3.2rem); max-width: 26ch; }
.page-hero__text { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-2); max-width: 60ch; margin: 0; }
.page-hero .hero__actions { margin-top: 28px; }

.back-link { display: inline-flex; align-items: center; gap: .5em; margin-bottom: 20px; font-weight: 600; color: var(--ink); text-decoration: none; }
.back-link::before { content: ""; width: .45em; height: .45em; border-bottom: 2px solid currentColor; border-left: 2px solid currentColor; transform: rotate(45deg); }
.back-link:hover { color: var(--cowrie-text); }

/* ---------- Page programme ---------- */

.programme__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 32px; margin-bottom: 32px; }

.day-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.day-tab {
	display: grid; justify-items: center; min-width: 88px; padding: 10px 16px 12px;
	border: 2px solid var(--line); border-radius: var(--radius); background: var(--white);
	color: var(--ink); text-decoration: none; line-height: 1.1;
	transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.day-tab:hover { border-color: var(--ink); color: var(--ink); }
.day-tab__dow { font-size: .82rem; font-weight: 600; }
.day-tab__num { font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: -.04em; }
.day-tab__mon { font-size: .8rem; font-weight: 600; color: var(--muted); }
.day-tab.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.day-tab.is-active .day-tab__mon { color: var(--sky); }

.track-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.track-filter__btn {
	padding: .45em .95em; border-radius: 999px; border: 1.5px solid var(--field);
	font-size: .9rem; font-weight: 600; color: var(--ink); text-decoration: none; background: var(--white);
}
.track-filter__btn:hover { border-color: var(--ink); color: var(--ink); }
.track-filter__btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.day-group + .day-group { margin-top: 56px; }
.day-group__title { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; }
.programme.has-tabs .day-group:not(.is-active) { display: none; }
.programme.has-tabs .day-group + .day-group { margin-top: 0; }
.day-group__empty { padding: 24px 0; color: var(--muted); }

.strip { background: var(--mist); }
.strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.strip__inner p { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; max-width: 48ch; }

/* ---------- Fiche talk ---------- */

.talk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.talk-main > section + section { margin-top: 48px; }
.talk-main__media { margin: 0 0 40px; }
.talk-main__media img { border-radius: var(--radius); width: 100%; }

.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.points li { display: grid; grid-template-columns: 14px 1fr; gap: 14px; align-items: start; font-size: 1.05rem; }
.points .tri { width: 14px; margin-top: .42em; }
.points--compact li { font-size: .98rem; gap: 12px; }
.points--compact .tri { width: 12px; }

.speaker-bios { display: grid; gap: 28px; }
.speaker-bio { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start; }
.speaker-bio__name { font-size: 1.2rem; margin-bottom: .2em; }
.speaker-bio__name a { color: var(--ink); text-decoration: none; }
.speaker-bio__name a:hover { color: var(--cowrie-text); }
.speaker-bio__meta { color: var(--muted); font-weight: 500; margin-bottom: .6em; }
.speaker-bio__country { display: inline-block; margin-left: 8px; font-weight: 700; color: var(--blue-text); }

.talk-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.admin-bar .talk-aside { top: calc(var(--header-h) + 56px); }
.reg-card { padding: 28px; border-radius: var(--radius); background: var(--mist); border: 1px solid var(--line); }
.reg-card__facts { margin: 0 0 20px; }
.reg-card__facts > div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.reg-card__facts dt { font-size: .88rem; color: var(--muted); font-weight: 600; }
.reg-card__facts dd { margin: 0; font-weight: 600; }
.reg-card .seats { margin-bottom: 14px; }
.reg-card__note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }

.related { background: var(--mist); }

@media (max-width: 960px) {
	.talk-layout { grid-template-columns: 1fr; }
	.talk-aside { position: static; order: -1; }
}
@media (max-width: 520px) { .speaker-bio { grid-template-columns: 80px 1fr; gap: 16px; } .speaker-bio .portrait--md { width: 80px; } }

/* ---------- Fiche intervenant ---------- */

.speaker-head { display: flex; gap: clamp(24px, 4vw, 56px); align-items: center; }
.speaker-head__country { font-weight: 700; color: var(--blue-text); margin: .8em 0 0; }
.speaker-body { display: grid; gap: 56px; }
@media (max-width: 640px) { .speaker-head { flex-direction: column; align-items: flex-start; } }

/* ---------- Réseaux ---------- */

.socials { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: inline-block; padding: .35em .85em; border-radius: 999px; border: 1px solid rgba(166, 220, 251, .4); color: var(--white); text-decoration: none; font-size: .9rem; font-weight: 600; }
.socials a:hover { background: rgba(166, 220, 251, .16); color: var(--white); }
.socials--dark a { border-color: var(--ink); color: var(--ink); }
.socials--dark a:hover { background: var(--ink); color: var(--white); }

/* ---------- Candidature ---------- */

.apply-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.apply-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.admin-bar .apply-aside { top: calc(var(--header-h) + 56px); }
.apply-aside__deadline { display: flex; flex-direction: column; padding: 18px 20px; margin-bottom: 32px; border-radius: var(--radius); background: var(--ink); color: var(--white); }
.apply-aside__deadline span { font-size: .85rem; color: var(--sky); font-weight: 600; }
.apply-aside__deadline strong { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -.02em; }
.apply-steps { list-style: none; counter-reset: step; margin: 36px 0; padding: 0; border-left: 2px solid var(--line); }
.apply-steps li { counter-increment: step; }
.apply-steps a { display: flex; gap: 12px; padding: 8px 0 8px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink); text-decoration: none; font-weight: 600; }
.apply-steps a::before { content: counter(step); font-family: var(--font-display); font-weight: 800; color: var(--blue-text); min-width: 1ch; }
.apply-steps a:hover, .apply-steps a.is-current { border-left-color: var(--cowrie); }
.apply-aside__contact { font-size: .95rem; color: var(--muted); }
.apply-aside__contact a { display: block; font-weight: 600; }

.apply-main { max-width: 780px; }
.apply-main__intro { margin-bottom: 32px; }

.form-step { border: 0; padding: 0; margin: 0 0 56px; min-width: 0; }
.form-step__legend { display: flex; align-items: center; gap: 14px; padding: 0; margin-bottom: 24px; font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; letter-spacing: -.03em; }
.form-step__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sky); color: var(--ink); font-size: 1.15rem; }
.form-step__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }

.field { grid-column: 1 / -1; min-width: 0; }
.field--half { grid-column: span 1; }
.field fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field__label { display: block; margin-bottom: 8px; padding: 0; font-weight: 700; font-size: 1rem; color: var(--ink); }
.field__opt { font-weight: 500; color: var(--muted); font-size: .9rem; }
.field__help { margin: 6px 0 0; font-size: .9rem; color: var(--muted); }
.field__error { margin: 6px 0 0; font-size: .92rem; font-weight: 600; color: var(--cowrie-text); }

.field input[type="text"], .field input[type="email"], .field input[type="url"], .field input[type="tel"], .field input[type="number"],
.field select, .field textarea {
	width: 100%; min-height: 50px; padding: 12px 14px;
	border: 1.5px solid var(--field); border-radius: 10px; background: var(--white);
	color: var(--ink); font: inherit; font-size: 1rem;
	transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--deep); box-shadow: 0 0 0 4px rgba(60, 167, 226, .25); }
.field input[type="file"] { width: 100%; padding: 14px; border: 1.5px dashed var(--field); border-radius: 10px; background: var(--mist); font: inherit; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--cowrie); }

.counter { display: block; text-align: right; font-size: .82rem; color: var(--muted); margin-top: 4px; }
.counter.is-over { color: var(--cowrie-text); font-weight: 700; }

/* Choix en pastilles */
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; display: inline-flex; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__box {
	display: flex; flex-direction: column; gap: 6px; padding: .6em 1.05em;
	border: 1.5px solid var(--field); border-radius: 999px; background: var(--white);
	font-weight: 600; font-size: .95rem; line-height: 1.3;
	transition: border-color .15s, background-color .15s, color .15s;
}
.choice:hover .choice__box { border-color: var(--ink); }
.choice input:checked + .choice__box { background: var(--ink); border-color: var(--ink); color: var(--white); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--cowrie); outline-offset: 2px; }
.choices--checkboxes .choice input:checked + .choice__box .choice__label::before { content: ""; display: inline-block; width: .7em; height: .38em; margin-right: .5em; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.2em) rotate(-45deg); }

/* Choix en grandes cartes (sens de l'innovation) */
.choices--cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.choices--cards .choice { display: flex; }
.choices--cards .choice__box { width: 100%; border-radius: var(--radius); padding: 18px 20px; }
.choices--cards .choice__label { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; }
.choices--cards .choice__desc { font-weight: 400; font-size: .93rem; color: var(--ink-2); }
.choices--cards .choice input:checked + .choice__box { background: var(--sky-2); color: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choices--cards .choice input:checked + .choice__box .choice__desc { color: var(--ink-2); }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }

[data-show-if].is-hidden { display: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.apply-form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-top: 28px; border-top: 2px solid var(--ink); }
.apply-form__submit p { margin: 0; color: var(--muted); font-size: .95rem; }

.notice { padding: 28px 30px; border-radius: var(--radius); background: var(--mist); border: 1px solid var(--line); margin-bottom: 36px; }
.notice h2 { font-size: 1.35rem; }
.notice .tri { width: 26px; margin-bottom: 14px; }
.notice--success { background: var(--sky-2); border-color: var(--sky); }
.notice--error { background: #FDF0F5; border-color: #F5BCD4; }
.notice--error ul { margin: 0; padding-left: 1.2em; }
.notice--error a { color: var(--cowrie-text); font-weight: 600; }

@media (max-width: 960px) {
	.apply-layout { grid-template-columns: 1fr; }
	.apply-aside { position: static; }
	.apply-steps { display: none; }
}
@media (max-width: 600px) {
	.form-step__fields { grid-template-columns: 1fr; }
	.field--half { grid-column: 1 / -1; }
	.choices--cards { grid-template-columns: 1fr; }
}

/* ---------- Actualités ---------- */

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 32px; }
.post-card__media img { border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; margin-bottom: 16px; }
.post-card__date { font-size: .88rem; font-weight: 600; color: var(--blue-text); margin-bottom: .4em; }
.post-card__title { font-size: 1.3rem; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--cowrie-text); }
.post-media { margin: 0 auto 40px; max-width: 980px; }
.post-media img { border-radius: var(--radius); width: 100%; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination .page-numbers { padding: .4em .85em; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination .current { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Pied de page ---------- */

.site-footer { background: var(--ink); color: #C9D6EE; padding-top: clamp(48px, 7vw, 88px); font-size: .97rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--sky); text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr; gap: 40px; }
.site-footer__logo .logo-img { width: 200px; height: auto; margin-bottom: 18px; }
.site-footer__title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.site-footer .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__tag { margin-top: 14px; font-family: var(--font-display); font-weight: 700; color: var(--sky); }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-block: 22px; background: linear-gradient(rgba(166, 220, 251, .2), rgba(166, 220, 251, .2)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat; font-size: .86rem; color: #9FB0D3; }
.site-footer__legal p { margin: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Blocs WordPress ---------- */

.alignwide { max-width: 1100px; margin-inline: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-button__link { border-radius: 999px; background: var(--cowrie-strong); font-family: var(--font-display); font-weight: 600; }
.has-ink-color { color: var(--ink); } .has-ink-background-color { background-color: var(--ink); }
.has-blue-color { color: var(--blue); } .has-blue-background-color { background-color: var(--blue); }
.has-blue-deep-color { color: var(--deep); } .has-blue-deep-background-color { background-color: var(--deep); }
.has-sky-color { color: var(--sky); } .has-sky-background-color { background-color: var(--sky); }
.has-cowrie-color { color: var(--cowrie); } .has-cowrie-background-color { background-color: var(--cowrie); }
.has-white-color { color: var(--white); } .has-white-background-color { background-color: var(--white); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (max-width: 640px) {
	.track-filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
	.track-filter::-webkit-scrollbar { display: none; }
	.track-filter__btn { white-space: nowrap; flex: none; }
}
