/* Incognito Films — structure FR / EN, responsive */
* {
	box-sizing: border-box;
}

:root {
	--bg: #0b0d0c;
	--fg: #f5f5f2;
	--muted: #c6c8c4;
	--line: rgba(255, 255, 255, 0.24);
}

html,
body {
	margin: 0;
	padding: 0;
	width: 100%;
	min-height: 100%;
	background: var(--bg);
}

body {
	color: var(--fg);
	font-family: Arial, Helvetica, sans-serif;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

main {
	width: 100%;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px 22px;
}

/* Largeur globale identique à la version précédente */
.content {
	width: min(100%, 800px);
	margin: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.status-block,
.logo-section,
.text-section,
.email-section {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.status-block h1 {
	margin: 0;
	color: var(--fg);
	font-size: 12px;
	line-height: 1.3;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

/* IMPORTANT : dimensions du logo reprises de la version précédente */
.logo {
	display: block;
	width: min(300px, 60vw);
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.text-section {
	max-width: 730px;
}

.text-section p {
	width: 100%;
	max-width: 710px;
	margin: 0 auto;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.65;
	font-weight: 400;
}

/* Un trait entre CHAQUE section */
.separator {
	display: block;
	flex: 0 0 auto;
	width: 200px;
	height: 1px;
	margin: 18px auto;
	background: var(--line);
}

.email {
	display: inline-block;
	color: var(--fg);
	font-size: 13px;
	line-height: 1.4;
	letter-spacing: 0.04em;
	text-decoration: underline;
	text-underline-offset: 4px;
	overflow-wrap: anywhere;
}

.email:hover {
	opacity: 0.72;
}

/* =========================================
   SMARTPHONE / TABLETTE
   ========================================= */

@media (max-width: 600px) {
	main {
		width: 100%;
		min-height: 100vh;
		min-height: 100svh;

		padding: 24px 18px;

		display: flex;
		align-items: center;
		justify-content: center;
	}

	.content {
		width: 100%;
		max-width: 420px;

		margin: 0 auto;

		display: flex;
		flex-direction: column;
		align-items: center;

		text-align: center;
	}

	/* Titres */
	.status-block h1 {
		font-size: 10.5px;
		line-height: 1.3;
		letter-spacing: 0.13em;
	}

	/*
       Logo :
       on respecte maintenant la proportion desktop.
       Il ne grossit plus jusqu'à 390px.
    */
	.logo {
		width: min(300px, 78vw);
		max-width: 100%;
		height: auto;

		margin: 0 auto;
	}

	/* Textes */
	.text-section {
		width: 100%;
		max-width: 390px;

		margin: 0 auto;
	}

	.text-section p {
		width: 100%;
		max-width: 100%;

		margin: 0 auto;

		font-size: 14px;
		line-height: 1.58;

		text-align: center;
	}

	/*
       Traits :
       même logique visuelle que les 200px desktop,
       mais sans dépasser l'écran.
    */
	.separator {
		width: min(160px, 45vw);
		height: 1px;

		margin: 15px auto;

		background: var(--line);
	}

	/* Email */
	.email {
		font-size: 12.5px;
		line-height: 1.4;

		text-align: center;
	}
}

/* =========================================
   PETITS SMARTPHONES
   ========================================= */

@media (max-width: 360px) {
	main {
		padding: 20px 16px;
	}

	.content {
		width: 100%;
		max-width: 330px;
	}

	.status-block h1 {
		font-size: 10px;
		letter-spacing: 0.12em;
	}

	.logo {
		width: min(270px, 80vw);
		max-width: 100%;
	}

	.text-section {
		width: 100%;
		max-width: 330px;
	}

	.text-section p {
		font-size: 13.5px;
		line-height: 1.52;
	}

	.separator {
		width: min(140px, 45vw);
		margin: 13px auto;
	}

	.email {
		font-size: 12px;
	}
}

/* =========================================
   SMARTPHONE EN MODE PAYSAGE
   ========================================= */

@media (orientation: landscape) and (max-height: 600px) {
	main {
		min-height: 100vh;

		/*
           Le contenu peut dépasser la hauteur disponible
           en paysage, donc on commence en haut.
        */
		align-items: flex-start;

		padding: 16px 20px;
	}

	.content {
		width: 100%;
		max-width: 720px;

		margin: 0 auto;
	}

	.status-block h1 {
		font-size: 9px;
		letter-spacing: 0.13em;
	}

	/*
       Logo réduit en paysage pour éviter
       qu'il prenne toute la hauteur.
    */
	.logo {
		width: min(260px, 40vw);
		max-width: 100%;
		height: auto;
	}

	.text-section {
		width: 100%;
		max-width: 680px;
	}

	.text-section p {
		font-size: 12px;
		line-height: 1.4;
	}

	.separator {
		width: 140px;
		margin: 9px auto;
	}

	.email {
		font-size: 11px;
	}
}
