/* ==========================================================================
   IHLI WEB — feuille de style
   Mobile d'abord : les styles de base visent le téléphone, les @media élargissent.
   ========================================================================== */

/* ---------- Police (hébergée sur le site : aucun appel à Google) ---------- */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/inter-latin.woff2") format("woff2");
}

/* ---------- Variables ---------- */
:root {
	--brand: #12a8ec;          /* bleu de marque : décors, accents */
	--brand-strong: #0877ad;   /* bleu foncé : boutons, liens (contraste suffisant sur blanc) */
	--brand-darker: #065a85;
	--brand-soft: #e8f6fd;

	--text: #0f172a;
	--text-muted: #475569;
	--border: #e2e8f0;
	--bg: #ffffff;
	--bg-alt: #f8fafc;
	--dark: #0b1220;

	--success: #15803d;
	--success-bg: #f0fdf4;
	--error: #b91c1c;
	--error-bg: #fef2f2;

	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius: 12px;
	--radius-small: 8px;
	--shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 16px rgba(15, 23, 42, .06);
	--shadow-hover: 0 2px 4px rgba(15, 23, 42, .06), 0 12px 32px rgba(15, 23, 42, .1);

	--container: 1180px;
	--gutter: 20px;
	--header-height: 68px;
	--section-space: clamp(56px, 8vw, 96px);
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

h1,
h2,
h3,
h4 {
	margin: 0 0 .5em;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -.02em;
	text-wrap: balance;
}

p,
ul,
ol {
	margin: 0 0 1em;
}

a {
	color: var(--brand-strong);
	text-underline-offset: 3px;
}

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

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

.visually-hidden {
	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 {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--brand-strong);
	color: #fff;
	border-radius: var(--radius-small);
}

.skip-link:focus {
	top: 12px;
	color: #fff;
}

.icon {
	width: 1.15em;
	height: 1.15em;
	flex-shrink: 0;
}

/* ---------- Mise en page ---------- */
.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.container--narrow {
	max-width: calc(780px + var(--gutter) * 2);
}

.section {
	padding: var(--section-space) 0;
}

.section--tight {
	padding-top: clamp(32px, 5vw, 56px);
}

.section--alt {
	background: var(--bg-alt);
}

.section__head {
	max-width: 680px;
	margin-bottom: clamp(32px, 5vw, 48px);
}

.section__head--split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 32px;
	max-width: none;
}

.section__title {
	font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
}

.section__intro {
	color: var(--text-muted);
	font-size: 1.075rem;
}

.grid {
	display: grid;
	gap: 20px;
}

.center {
	text-align: center;
}

.small {
	font-size: .9rem;
	color: var(--text-muted);
}

.eyebrow {
	margin-bottom: .75em;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--brand-strong);
}

.lead {
	font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem);
	color: var(--text-muted);
	max-width: 640px;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 28px 0;
}

@media (min-width: 640px) {
	.grid--3,
	.grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 960px) {
	:root {
		--gutter: 32px;
	}
	.grid {
		gap: 24px;
	}
	.grid--3 {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1100px) {
	.grid--4 {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* ---------- Boutons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	min-height: 48px;
	padding: 12px 22px;
	border: 2px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-weight: 600;
	font-size: .975rem;
	line-height: 1.2;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}

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

.btn--primary {
	background: var(--brand-strong);
	color: #fff;
}

.btn--primary:hover {
	background: var(--brand-darker);
	color: #fff;
}

.btn--ghost {
	border-color: var(--border);
	background: #fff;
	color: var(--text);
}

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

.btn--light {
	background: #fff;
	color: var(--brand-darker);
}

.btn--light:hover {
	background: var(--brand-soft);
	color: var(--brand-darker);
}

.btn--small {
	min-height: 40px;
	padding: 8px 16px;
	font-size: .9rem;
}

.btn--block {
	width: 100%;
}

/* ---------- En-tête ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--border);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-height);
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--text);
	text-decoration: none;
	font-weight: 700;
}

.logo:hover {
	color: var(--text);
}

.logo__text {
	font-size: 1.3rem;
	letter-spacing: -.02em;
}

.logo__text span {
	margin-left: .25em;
	color: var(--brand-strong);
}

.logo--light,
.logo--light:hover {
	color: #fff;
}

.logo--light .logo__text span {
	color: var(--brand);
}

.nav-toggle {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-right: -8px;
	border: 0;
	border-radius: var(--radius-small);
	background: transparent;
	color: var(--text);
	cursor: pointer;
}

.nav-toggle .icon {
	width: 26px;
	height: 26px;
	grid-area: 1 / 1;
}

.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open {
	display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
	display: block;
}

.nav__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav__link {
	display: block;
	color: var(--text);
	font-weight: 500;
	text-decoration: none;
}

.nav__link:hover,
.nav__link[aria-current="page"] {
	color: var(--brand-strong);
}

/* Menu mobile : panneau sous l'en-tête */
@media (max-width: 959px) {
	.js .nav {
		position: fixed;
		inset: var(--header-height) 0 auto 0;
		max-height: calc(100vh - var(--header-height));
		overflow-y: auto;
		padding: 8px var(--gutter) 24px;
		background: #fff;
		border-bottom: 1px solid var(--border);
		box-shadow: 0 16px 32px rgba(15, 23, 42, .08);
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity .2s, transform .2s, visibility .2s;
	}

	.js .nav.is-open {
		visibility: visible;
		opacity: 1;
		transform: none;
	}

	/* Sans JavaScript, le menu reste visible sous le logo */
	.no-js .nav-toggle {
		display: none;
	}

	.no-js .site-header__inner {
		flex-wrap: wrap;
		height: auto;
		padding-top: 12px;
		padding-bottom: 12px;
	}

	.nav__link {
		padding: 14px 0;
		border-bottom: 1px solid var(--border);
		font-size: 1.05rem;
	}

	.nav__cta {
		width: 100%;
		margin-top: 20px;
		min-height: 48px;
	}
}

@media (min-width: 960px) {
	.nav-toggle {
		display: none;
	}

	.nav {
		display: flex;
		align-items: center;
		gap: 28px;
	}

	.nav__list {
		display: flex;
		gap: 28px;
	}

	.nav__link {
		position: relative;
		padding: 6px 0;
		font-size: .95rem;
	}

	.nav__link[aria-current="page"]::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: -2px;
		height: 2px;
		border-radius: 2px;
		background: var(--brand);
	}
}

/* ---------- Fil d'Ariane ---------- */
.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	margin: 0;
	padding: 20px 0 0;
	list-style: none;
	font-size: .85rem;
	color: var(--text-muted);
}

.breadcrumbs li + li::before {
	content: "/";
	margin: 0 8px;
	color: #94a3b8;
}

.breadcrumbs a {
	color: var(--text-muted);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--brand-strong);
	text-decoration: underline;
}

/* ---------- En-tête de page ---------- */
.page-header {
	padding: clamp(28px, 5vw, 56px) 0 0;
}

.page-header__title {
	max-width: 820px;
	font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
}

/* ---------- Accueil : hero ---------- */
.hero {
	position: relative;
	padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px);
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	top: -30%;
	right: -20%;
	width: 70vw;
	max-width: 900px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, var(--brand-soft) 0%, rgba(232, 246, 253, 0) 70%);
	z-index: -1;
}

.hero__grid {
	display: grid;
	gap: 48px;
	align-items: center;
}

.hero__title {
	font-size: clamp(2.2rem, 1.5rem + 3.2vw, 3.6rem);
	letter-spacing: -.03em;
}

.hero__visual {
	position: relative;
	max-width: 560px;
	margin: 0 auto;
	padding: 0 0 40px 40px;
	width: 100%;
}

.browser {
	overflow: hidden;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: 0 24px 48px rgba(15, 23, 42, .14), 0 2px 6px rgba(15, 23, 42, .06);
	border: 1px solid var(--border);
}

.browser__bar {
	display: flex;
	gap: 6px;
	padding: 10px 12px;
	background: var(--bg-alt);
	border-bottom: 1px solid var(--border);
}

.browser__bar span {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #cbd5e1;
}

.browser--back {
	position: absolute;
	top: 0;
	left: 0;
	width: 72%;
	opacity: .9;
}

.browser--front {
	position: relative;
	margin-top: 22%;
	margin-left: auto;
	width: 82%;
}

.hero__badge {
	position: absolute;
	left: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-hover);
	line-height: 1.2;
}

.hero__badge strong {
	font-size: 1.8rem;
	color: var(--brand-strong);
}

.hero__badge span {
	max-width: 90px;
	font-size: .85rem;
	color: var(--text-muted);
}

@media (min-width: 960px) {
	.hero__grid {
		grid-template-columns: 1.05fr 1fr;
		gap: 56px;
	}
}

/* ---------- Listes avec coches ---------- */
.checklist {
	padding: 0;
	list-style: none;
}

.checklist li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-bottom: .55em;
}

.checklist .icon {
	margin-top: .25em;
	color: var(--brand-strong);
}

.checklist--inline {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	color: var(--text-muted);
	font-size: .95rem;
}

.checklist--inline li {
	margin: 0;
}

.checklist--small {
	font-size: .925rem;
}

/* ---------- Logos clients ---------- */
.clients {
	padding: 8px 0 clamp(40px, 6vw, 64px);
}

.clients__title {
	margin-bottom: 20px;
	font-size: .85rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-align: center;
	color: var(--text-muted);
}

.clients__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 16px 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.clients__list img {
	width: auto;
	height: 44px;
	filter: grayscale(1);
	opacity: .75;
	transition: filter .2s, opacity .2s;
}

.clients__list img:hover {
	filter: none;
	opacity: 1;
}

/* ---------- Cartes ---------- */
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 28px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: #fff;
	transition: box-shadow .2s, border-color .2s, transform .2s;
}

.card p {
	color: var(--text-muted);
}

.card__icon,
.feature__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 20px;
	border-radius: 12px;
	background: var(--brand-soft);
	color: var(--brand-strong);
}

.card__icon .icon,
.feature__icon .icon {
	width: 24px;
	height: 24px;
}

.card__title {
	font-size: 1.2rem;
}

/* Toute la carte est cliquable, tout en gardant un lien lisible par les lecteurs d'écran */
.card__link {
	color: inherit;
	text-decoration: none;
}

.card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: var(--radius);
}

.card:has(.card__link):hover {
	border-color: #bae6fd;
	box-shadow: var(--shadow-hover);
	transform: translateY(-2px);
}

.card:has(.card__link):hover .card__title {
	color: var(--brand-strong);
}

.card__price {
	margin: auto 0 0;
	padding-top: 12px;
	font-weight: 600;
	color: var(--text) !important;
}

.card--price .card__amount {
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--text);
}

.card--price .btn {
	margin-top: auto;
}

/* ---------- Atouts ---------- */
.feature__title {
	font-size: 1.1rem;
}

.feature p {
	color: var(--text-muted);
}

/* ---------- Réalisations ---------- */
.project-card {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	background: #fff;
	transition: box-shadow .2s, transform .2s;
}

.project-card:hover {
	box-shadow: var(--shadow-hover);
	transform: translateY(-2px);
}

.project-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.project-card__image {
	width: 100%;
	aspect-ratio: 600 / 338;
	object-fit: cover;
	border-bottom: 1px solid var(--border);
}

.project-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px 22px 22px;
}

.project-card__title {
	margin-bottom: .2em;
	font-size: 1.1rem;
}

.project-card__category {
	color: var(--text-muted);
	font-size: .925rem;
}

.project-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	font-size: .9rem;
	font-weight: 600;
	color: var(--brand-strong);
}

.project-card:hover .project-card__title {
	color: var(--brand-strong);
}

/* Carte "toutes les réalisations" qui complète la grille de l'accueil */
.project-more {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	min-height: 220px;
	padding: 28px;
	border: 2px dashed #bae6fd;
	border-radius: var(--radius);
	background: var(--brand-soft);
	color: var(--text);
	text-decoration: none;
	transition: border-color .2s, background-color .2s;
}

.project-more strong {
	font-size: 1.4rem;
}

.project-more span {
	color: var(--text-muted);
}

.project-more .project-more__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	font-weight: 600;
	color: var(--brand-strong);
}

.project-more:hover {
	border-color: var(--brand-strong);
	color: var(--text);
}

/* ---------- À propos ---------- */
.about-teaser,
.about {
	display: grid;
	gap: 32px;
	align-items: center;
}

.about-teaser__photo,
.about__photo {
	width: 100%;
	max-width: 440px;
	border-radius: 20px;
	box-shadow: var(--shadow);
	object-fit: cover;
	aspect-ratio: 570 / 500;
}

@media (min-width: 860px) {
	.about-teaser {
		grid-template-columns: 5fr 7fr;
		gap: 64px;
	}
	.about {
		grid-template-columns: 5fr 7fr;
		align-items: start;
		gap: 64px;
	}
}

/* ---------- Étapes ---------- */
.steps {
	display: grid;
	gap: 0;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.step {
	position: relative;
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 20px;
	padding-bottom: 28px;
}

.step:not(:last-child)::before {
	content: "";
	position: absolute;
	top: 52px;
	bottom: 4px;
	left: 23px;
	width: 2px;
	background: var(--border);
}

.step__number {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--brand-soft);
	color: var(--brand-strong);
	font-weight: 700;
	font-size: 1.1rem;
}

.step__title {
	margin-top: 10px;
	font-size: 1.15rem;
}

.step p {
	color: var(--text-muted);
	margin: 0;
}

/* Version compacte (accueil) : en ligne sur grand écran */
@media (min-width: 960px) {
	.steps--compact {
		grid-template-columns: repeat(5, 1fr);
		gap: 24px;
	}
	.steps--compact .step {
		grid-template-columns: 1fr;
		align-content: start;
		gap: 12px;
		padding: 0;
	}
	.steps--compact .step::before {
		top: 23px;
		bottom: auto;
		left: 60px;
		right: -12px;
		width: auto;
		height: 2px;
	}
	.steps--compact .step__title {
		margin-top: 4px;
	}
	.steps--compact p {
		font-size: .925rem;
	}
}

/* ---------- Bandeau d'appel à l'action ---------- */
.cta {
	display: grid;
	gap: 24px;
	align-items: center;
	padding: clamp(32px, 5vw, 56px);
	border-radius: 20px;
	background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand-darker) 100%);
	color: #fff;
}

.cta__title {
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
}

.cta p {
	margin: 0;
	color: rgba(255, 255, 255, .88);
	max-width: 620px;
}

@media (min-width: 860px) {
	.cta {
		grid-template-columns: 1fr auto;
		gap: 48px;
	}
}

/* ---------- Services ---------- */
.service-list {
	display: grid;
	gap: 20px;
}

.service-row {
	display: grid;
	gap: 8px 24px;
	padding: 28px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.service-row .card__icon {
	margin-bottom: 8px;
}

.service-row__title {
	font-size: 1.35rem;
}

.service-row__body p {
	color: var(--text-muted);
}

.service-row__body .checklist {
	margin: 0;
}

.service-row__side {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.service-row__side .card__price {
	margin: 0;
	padding: 0;
}

@media (min-width: 860px) {
	.service-row {
		grid-template-columns: auto 1fr auto;
		align-items: start;
		padding: 32px;
	}
	.service-row__side {
		align-items: flex-end;
		text-align: right;
		min-width: 200px;
	}
}

/* ---------- Texte long ---------- */
.prose {
	font-size: 1.05rem;
}

.prose h2 {
	margin-top: 1.8em;
	font-size: 1.45rem;
}

.prose h2:first-child {
	margin-top: 0;
}

.prose p,
.prose li {
	color: #334155;
}

.prose__image {
	margin-bottom: 32px;
	border-radius: var(--radius);
	border: 1px solid var(--border);
}

.quote {
	margin: 32px 0;
	padding: 24px 28px;
	border-left: 4px solid var(--brand);
	border-radius: 0 var(--radius) var(--radius) 0;
	background: var(--bg-alt);
}

.quote p {
	font-size: 1.1rem;
	font-style: italic;
}

.quote footer {
	font-weight: 600;
}

/* ---------- Contenu + encadré latéral ---------- */
.layout-sidebar {
	display: grid;
	gap: 40px;
	align-items: start;
}

.sidebar-card {
	padding: 28px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg-alt);
}

.sidebar-card__label {
	margin-bottom: .25em;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.sidebar-card__price {
	font-size: 1.5rem;
	font-weight: 700;
}

.sidebar-card__email {
	font-weight: 600;
	word-break: break-all;
}

.sidebar-card__link {
	display: block;
	margin-top: 16px;
	text-align: center;
	font-size: .925rem;
}

@media (min-width: 960px) {
	.layout-sidebar {
		grid-template-columns: 1fr 320px;
		gap: 64px;
	}
	.layout-sidebar .sidebar-card {
		position: sticky;
		top: calc(var(--header-height) + 24px);
	}
}

/* ---------- FAQ ---------- */
.faq {
	border-top: 1px solid var(--border);
	margin-bottom: 40px;
}

.faq__group {
	margin: 40px 0 16px;
	font-size: 1.3rem;
}

.faq__group:first-child {
	margin-top: 0;
}

.faq__item {
	border-bottom: 1px solid var(--border);
}

.faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	font-weight: 600;
	font-size: 1.05rem;
	cursor: pointer;
	list-style: none;
}

.faq__question::-webkit-details-marker {
	display: none;
}

.faq__question:hover {
	color: var(--brand-strong);
}

.faq__chevron {
	color: var(--text-muted);
	transition: transform .2s;
}

.faq__item[open] .faq__chevron {
	transform: rotate(180deg);
}

.faq__answer p {
	margin: 0;
	padding: 0 0 20px;
	color: var(--text-muted);
}

/* ---------- Formulaire ---------- */
.form__row {
	display: grid;
	gap: 0 20px;
}

@media (min-width: 640px) {
	.form__row {
		grid-template-columns: 1fr 1fr;
	}
}

.form__group {
	margin-bottom: 20px;
}

.form label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: .95rem;
}

.form__required {
	color: var(--error);
}

.form__optional {
	font-weight: 400;
	color: var(--text-muted);
}

.form input,
.form select,
.form textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid #cbd5e1;
	border-radius: var(--radius-small);
	background: #fff;
	font: inherit;
	font-size: 1rem; /* 16px minimum : évite le zoom automatique sur iPhone */
	color: var(--text);
	transition: border-color .15s, box-shadow .15s;
}

.form textarea {
	resize: vertical;
	min-height: 160px;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
	outline: none;
	border-color: var(--brand-strong);
	box-shadow: 0 0 0 3px rgba(18, 168, 236, .25);
}

.form [aria-invalid="true"] {
	border-color: var(--error);
}

.form__error {
	margin: 6px 0 0;
	font-size: .9rem;
	color: var(--error);
}

.form__trap {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.captcha {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
}

.captcha img {
	border: 1px solid #cbd5e1;
	border-radius: var(--radius-small);
}

.form .captcha__input {
	max-width: 220px;
	text-transform: uppercase;
	letter-spacing: .2em;
}

.form .captcha__input::placeholder {
	text-transform: none;
	letter-spacing: normal;
}

.alert {
	display: flex;
	gap: 14px;
	margin-bottom: 24px;
	padding: 18px 20px;
	border-radius: var(--radius);
	border: 1px solid;
}

.alert p {
	margin: 0;
}

.alert .icon {
	width: 24px;
	height: 24px;
}

.alert--success {
	background: var(--success-bg);
	border-color: #bbf7d0;
	color: var(--success);
}

.alert--error {
	background: var(--error-bg);
	border-color: #fecaca;
	color: var(--error);
}

/* ---------- Pied de page ---------- */
.site-footer {
	padding: 64px 0 0;
	background: var(--dark);
	color: #cbd5e1;
	font-size: .95rem;
}

.site-footer a {
	color: #cbd5e1;
	text-decoration: none;
}

.site-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.site-footer__grid {
	display: grid;
	gap: 40px;
	padding-bottom: 48px;
}

.site-footer__brand p {
	margin-top: 16px;
	max-width: 320px;
}

.site-footer__place {
	display: flex;
	align-items: center;
	gap: 8px;
}

.site-footer__title {
	margin-bottom: 16px;
	font-size: .85rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #fff;
}

.site-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__links li {
	margin-bottom: 10px;
}

.site-footer__links a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	word-break: break-word;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-top: 24px;
	padding-bottom: 24px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: .875rem;
	color: #94a3b8;
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__bottom ul {
	display: flex;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 640px) {
	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 960px) {
	.site-footer__grid {
		grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
		gap: 48px;
	}
}

/* ---------- Animations réduites si demandé par le système ---------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

.grid + .small {
	margin-top: 24px;
}
