/* ===========================================================
   🎧 LANCE TON SON — Styles globaux
   Version : 1.0
   Auteur : 37karas / n0X_
   =========================================================== */

/* === ROOT VARIABLES === */
:root {
	--brand: #6c5ce7; /* Violet principal */
	--brand-2: #00cec9; /* Turquoise accent */
	--ink: #0f172a; /* Texte principal (Slate-900) */
	--muted: #6b7280; /* Texte secondaire */
	--bg: #fafafa; /* Fond clair */
	--card: #ffffff; /* Fond des cartes */
	--radius: 20px;
	--ring: rgba(108, 92, 231, 0.14);
	--shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.06);
	--shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* === RESET === */
html,
body {
	height: 100%;
	scroll-behavior: smooth;
}

body {
	font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
	background: var(--bg);
	color: var(--ink);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.6;
}

/* === NAVIGATION === */
.site-nav {
	background: #fff;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.brand {
	color: var(--brand);
	font-weight: 800;
	letter-spacing: 0.2px;
	text-decoration: none;
}

.brand:hover {
	color: var(--brand-2);
	opacity: 0.9;
}

/* === HERO SECTION === */
.hero {
	background: radial-gradient(1200px 600px at 10% -10%, rgba(0, 206, 201, 0.25), transparent 60%),
		radial-gradient(1200px 600px at 90% -10%, rgba(108, 92, 231, 0.28), transparent 60%),
		linear-gradient(135deg, var(--brand), var(--brand-2));
	color: #fff;
	padding: 80px 0 100px;
	border-radius: 0 0 var(--radius) var(--radius);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hero h1 {
	font-weight: 800;
	font-size: clamp(2rem, 4vw, 3rem);
}

.hero p {
	font-size: 1.1rem;
	opacity: 0.95;
}

.hero .halo {
	position: absolute;
	inset: auto -20% -60% -20%;
	height: 220px;
	filter: blur(60px);
	opacity: 0.45;
	background: linear-gradient(90deg, #fff 0, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

/* === CONTAINERS === */
.container-narrow {
	max-width: 1000px;
	margin: 0 auto;
}

/* === CARDS === */
.card-soft {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	border: 1px solid rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card-soft:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.card-soft h3,
.card-soft h4 {
	color: var(--ink);
}

/* === BUTTONS === */
.btn-brand {
	background: var(--brand);
	color: #fff;
	border: 0;
	border-radius: 14px;
	padding: 0.9rem 1.3rem;
	font-weight: 800;
	transition: all 0.2s ease-in-out;
}

.btn-brand:hover {
	background: #5a4adf;
}

.btn-ghost {
	border: 1px solid rgba(0, 0, 0, 0.12);
	color: #111;
	background: #fff;
	border-radius: 14px;
	padding: 0.85rem 1.1rem;
	font-weight: 700;
}

.btn-ghost:hover {
	border-color: var(--brand);
	color: var(--brand);
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5 {
	font-weight: 800;
	line-height: 1.2;
}

h2 {
	margin-top: 2rem;
	margin-bottom: 1rem;
}

p {
	margin: 0.6rem 0 1rem;
	color: #364152;
}

a {
	color: var(--brand);
	text-decoration: underline;
}

a:hover {
	color: var(--brand-2);
}

/* === BLOCKQUOTE === */
blockquote {
	border-left: 4px solid var(--brand);
	background: rgba(108, 92, 231, 0.06);
	border-radius: 10px;
	padding: 1rem 1.2rem;
	margin: 1.5rem 0;
	color: #333;
}

/* === TABLES === */
table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0;
	font-size: 0.98rem;
}

th,
td {
	border: 1px solid rgba(0, 0, 0, 0.08);
	padding: 0.7rem 1rem;
}

th {
	background: #f5f7fb;
	font-weight: 700;
}

/* === FIGURES / IMAGES === */
figure {
	text-align: center;
	margin: 2rem 0;
}

figure img {
	max-width: 100%;
	border-radius: 12px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

figcaption {
	font-size: 0.9rem;
	color: var(--muted);
	margin-top: 0.4rem;
}

/* === FORMS === */
form {
	display: grid;
	gap: 1rem;
	margin-top: 1rem;
}

input,
textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	border-radius: 12px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	font-size: 1rem;
	background: #fff;
	transition: box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
	outline: none;
	box-shadow: 0 0 0 0.22rem var(--ring);
	border-color: var(--brand);
}

/* === INFO PILL === */
.info-pill {
	display: flex;
	gap: 0.9rem;
	align-items: center;
	padding: 0.9rem 1.1rem;
	border-radius: 16px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow: var(--shadow-sm);
}

.info-pill .icon {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--brand), var(--brand-2));
	color: #fff;
	font-weight: 800;
}

/* === FEATURES / LISTS === */
.feature {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-bottom: 1rem;
}

.feature i {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(108, 92, 231, 0.12);
	color: var(--brand);
}

/* === MAP PLACEHOLDER === */
.map {
	border-radius: 16px;
	min-height: 320px;
	background: url("locate.jpg") #e0e0e0 center/cover no-repeat;
	position: relative;
	isolation: isolate;
}

.map::after {
	content: "Localisation (indicative)";
	position: absolute;
	inset: auto 0 0 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.58) 90%);
	color: #fff;
	padding: 1rem 1.25rem;
	border-radius: 0 0 16px 16px;
	font-weight: 700;
	letter-spacing: 0.2px;
}

/* === FOOTER === */
footer {
	color: var(--muted);
	background: #fff;
	padding: 3rem 1rem;
	text-align: center;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
}

footer small {
	display: block;
	margin-top: 0.3rem;
	font-size: 0.9rem;
}

/* === UTILS === */
.muted {
	color: var(--muted);
}

.kbd {
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-bottom-width: 2px;
	border-radius: 8px;
	padding: 0 0.5rem;
	font-weight: 700;
}

.ring:focus {
	outline: none;
	box-shadow: 0 0 0 0.22rem var(--ring);
}

/* === MEDIA QUERIES === */
@media (max-width: 768px) {
	.hero {
		padding: 60px 0 80px;
	}

	.card-soft {
		border-radius: 16px;
	}

	h1 {
		font-size: 1.9rem;
	}
}

footer {
	background: #111;
	color: #9ca3af;
}
