/* ==========================================================================
   Quiz Challenge — page Presse (/presse/)
   Complète style.css (tokens, polices, .article, .colophon) avec les blocs
   propres au kit presse.

   Servi en `immutable` comme style.css : après toute modification, changer
   le `?v=` dans presse/index.html.
   ========================================================================== */

/* --------------------------------------------------------------------------
   En-tête : le titre et les deux actions à gauche, le téléphone à droite.
   -------------------------------------------------------------------------- */
.press-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(36px, 6vw, 56px);
	align-items: center;
}

@media (min-width: 900px) {
	.press-hero {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	}
}

.press-hero__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	max-width: 36rem;
}

.press-hero__lede {
	margin: 0;
	font-size: clamp(1.1rem, 1.6vw, 1.3rem);
	line-height: 1.5;
	max-width: 36ch;
}

.press-hero .phone {
	width: min(260px, 64vw);
}

@media (min-width: 900px) {
	.press-hero .phone {
		width: min(300px, 26vw);
	}
}

/* Sur mobile, le téléphone ne ferait que repousser le contenu : il n’apparaît
   qu’à côté du titre, sur grand écran. Son image est en lazy, donc jamais
   téléchargée tant qu’elle est masquée. */
.press-hero .hero__device {
	display: none;
	justify-self: center;
}

@media (min-width: 900px) {
	.press-hero .hero__device {
		display: block;
	}
}

/* --------------------------------------------------------------------------
   Boutons — la forme « pastille avec tranche » des boutons de l'app.
   -------------------------------------------------------------------------- */
.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--display);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 13px 22px;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn:active {
	transform: translateY(3px);
}

.btn--rose {
	background: #fc4c86;
	color: #ffffff;
	box-shadow: 0 4px 0 #c81e57;
}

.btn--rose:active {
	box-shadow: 0 1px 0 #c81e57;
}

.btn--plain {
	background: var(--surface);
	color: var(--ink);
	box-shadow: 0 4px 0 var(--line);
}

.btn--plain:active {
	box-shadow: 0 1px 0 var(--line);
}

.btn--small {
	padding: 7px 14px;
	font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.press-section {
	display: flex;
	flex-direction: column;
	gap: clamp(18px, 2.6vw, 26px);
}

.press-section__head {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 52ch;
}

.press-section__title {
	margin: 0;
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(1.75rem, 3.6vw, 2.6rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.press-section__sub {
	margin: 0;
	color: var(--ink-soft);
}

/* Fiche d’identité : ce qu’un article recopie tel quel. Une fiche technique
   à filets fins plutôt que des cartes : elle se lit d’un coup d’œil et
   laisse la place aux visuels. Deux colonnes de lignes sur grand écran. */
.facts {
	margin: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	column-gap: clamp(32px, 5vw, 64px);
	border-top: 1px solid var(--line);
}

@media (min-width: 900px) {
	.facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.facts div {
	display: grid;
	grid-template-columns: 11rem minmax(0, 1fr);
	gap: 4px 16px;
	align-items: baseline;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
	min-width: 0;
}

@media (max-width: 520px) {
	.facts div {
		grid-template-columns: minmax(0, 1fr);
	}
}

.facts dt {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.facts dd {
	margin: 0;
	font-weight: 500;
	overflow-wrap: anywhere;
}

/* Les trois longueurs du pitch, chacune copiable. */
.pitches {
	display: grid;
	gap: 18px;
}

.pitch {
	background: var(--surface);
	border-radius: 26px;
	padding: clamp(20px, 3vw, 28px);
	box-shadow: var(--shadow-card);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.pitch__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.pitch__len {
	font-family: var(--display);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--cyan-deep);
	margin: 0;
	display: flex;
	align-items: center;
	gap: 9px;
}

.pitch__len::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--cyan);
	flex: none;
}

.pitch__text {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	max-width: 68ch;
}

.pitch__text p {
	margin: 0;
}

.pitch__text--one {
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(1.3rem, 2.4vw, 1.6rem);
	line-height: 1.2;
}

/* L'histoire : une frise verticale, années à gauche. */
.story {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	max-width: 62ch;
	border-left: 3px solid var(--cyan);
}

.story li {
	position: relative;
	display: grid;
	grid-template-columns: 5rem minmax(0, 1fr);
	gap: 4px 16px;
	padding: 12px 0 12px 22px;
}

.story li::before {
	content: "";
	position: absolute;
	left: -9px;
	top: 19px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: var(--rose);
	border: 3px solid var(--ground);
}

.story b {
	font-family: var(--display);
	font-weight: 800;
	font-size: 1.3rem;
	line-height: 1.2;
}

@media (max-width: 520px) {
	.story li {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Engagements */
.pledges {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
	gap: 14px;
}

.pledges li {
	background: var(--surface);
	border-radius: 20px;
	padding: 18px 20px;
	box-shadow: var(--shadow-card);
}

.pledges b {
	display: block;
	font-family: var(--display);
	font-weight: 700;
	font-size: 1.2rem;
	line-height: 1.2;
	margin-bottom: 6px;
}

/* Visuels : chaque vignette est un lien de téléchargement. */
.assets {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

/* Six fichiers : deux rangées de trois, jamais de vignette orpheline. */
@media (min-width: 760px) {
	.assets {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.asset a {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--surface);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: var(--shadow-card);
	text-decoration: none;
	transition: transform 0.25s ease;
}

.asset a:hover {
	transform: translateY(-3px);
}

.asset__thumb {
	display: block;
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--ground);
}

/* Le logo blanc a besoin d'un fond sombre pour se voir. */
.asset__thumb--dark {
	background: #0f4448;
}

/* En absolu, l'image ne peut pas agrandir la vignette : sans ça, la hauteur
   propre d'une capture d'écran l'emporte sur l'aspect-ratio. */
.asset__thumb img {
	position: absolute;
	inset: 18px;
	width: calc(100% - 36px);
	height: calc(100% - 36px);
	object-fit: contain;
}

.asset__meta {
	padding: 12px 16px 16px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.asset__meta b {
	font-weight: 600;
}

.asset__meta small {
	font-size: 0.85rem;
	color: var(--ink-soft);
}

.kit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 20px;
	background: var(--jaune);
	color: #0f4448;
	border-radius: 22px;
	padding: 18px 22px;
}

.kit p {
	margin: 0;
	flex: 1 1 240px;
	font-weight: 500;
}

/* Contact : le seul bloc foncé de la page, pour qu'on le trouve. */
.press-contact {
	background: #0f4448;
	color: #e2f6f7;
	border-radius: 26px;
	padding: clamp(22px, 4vw, 36px);
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
	align-items: center;
}

@media (min-width: 760px) {
	.press-contact {
		grid-template-columns: minmax(0, 1fr) auto;
	}
}

.press-contact h2 {
	margin: 0 0 6px;
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	line-height: 1.05;
	color: #ffffff;
}

.press-contact p {
	margin: 0;
	color: #b9dcdf;
	max-width: 46ch;
}

.press-contact__links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.press-contact__mail {
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(1.2rem, 2.4vw, 1.5rem);
	color: #ffffff;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.press-contact__mail:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.press-contact__social {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.press-contact__social a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.press-contact__social a:hover {
	background: rgba(255, 255, 255, 0.24);
	transform: translateY(-2px);
}

.press-contact__social svg {
	fill: currentColor;
}

.press-contact :focus-visible {
	outline-color: #fad141;
}

/* Confirmation discrète après un « Copier ». */
.toast {
	position: fixed;
	left: 50%;
	bottom: calc(20px + env(safe-area-inset-bottom, 0px));
	transform: translateX(-50%);
	background: var(--ink);
	color: var(--ground);
	padding: 10px 18px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.9rem;
	z-index: 10;
}

/* --------------------------------------------------------------------------
   L'app en images
   -------------------------------------------------------------------------- */

/* Les captures iPhone défilent à l'horizontale sur mobile, et tiennent sur
   une ligne à partir de la tablette. */
.shots {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

.shots--phone {
	grid-auto-flow: column;
	grid-auto-columns: minmax(150px, 44%);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 12px;
	/* Laisse l'ombre des cartes respirer dans la zone qui défile. */
	padding-top: 4px;
	margin-inline: -4px;
	padding-inline: 4px;
}

@media (min-width: 760px) {
	.shots--phone {
		grid-auto-flow: row;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		overflow: visible;
	}
}


.shots li {
	scroll-snap-align: start;
	min-width: 0;
}

.shots a {
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-decoration: none;
	transition: transform 0.25s ease;
}

.shots a:hover {
	transform: translateY(-3px);
}

.shots img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 22px;
	box-shadow: var(--shadow-card);
	background: var(--surface);
}


.shots span {
	font-size: 0.9rem;
	line-height: 1.35;
	color: var(--ink-soft);
}

.shots em {
	font-style: normal;
	font-weight: 600;
	color: var(--ink);
}



/* Le teaser YouTube, sur toute la largeur. */
.teaser {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.teaser iframe {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
	border-radius: 26px;
	overflow: hidden;
	box-shadow: var(--shadow-card);
	background: #14262b;
}


.teaser__caption {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	font-size: 0.9rem;
	color: var(--ink-soft);
}

.teaser__caption > span:first-child {
	flex: 1 1 320px;
	max-width: 60ch;
}

.teaser__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
}

.teaser__links a {
	font-weight: 600;
	color: var(--ink);
}

/* L'image de partage, avec son explication à côté. */
.share-shot {
	margin: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px 32px;
	align-items: center;
}

@media (min-width: 900px) {
	.share-shot {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	}
}

.share-shot img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 22px;
	box-shadow: var(--shadow-card);
}

.share-shot figcaption {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: 44ch;
}

.share-shot figcaption p {
	margin: 0;
}

.share-shot__title {
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(1.4rem, 2.6vw, 1.8rem);
	line-height: 1.1;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
