/* ===== Polices auto-hébergées (ex-Google Fonts : Inter, Space Grotesk) ===== */
/* Inter 400 — latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/inter-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter 400 — latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/inter-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter 500 — latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/inter-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter 500 — latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/inter-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter 600 — latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/inter-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter 600 — latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/inter-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Space Grotesk 500 — latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/space-grotesk-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Space Grotesk 500 — latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/space-grotesk-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Space Grotesk 600 — latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/space-grotesk-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Space Grotesk 600 — latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/space-grotesk-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Space Grotesk 700 — latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/space-grotesk-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Space Grotesk 700 — latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/space-grotesk-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Formations Rhino 3D — Design System v4
   Thème sombre premium, accent rouge (identité logo)
   ========================================================================== */

:root {
	--bg: #0b0c10;
	--bg-soft: #101218;
	--bg-card: #151821;
	--bg-card-hover: #1a1e29;
	--border: rgba(255, 255, 255, 0.08);
	--border-strong: rgba(255, 255, 255, 0.16);
	--text: #f4f5f7;
	--text-soft: #b6bcc8;
	--text-muted: #848b99;
	--accent: #e8382e;
	--accent-soft: #ff5a4f;
	--accent-glow: rgba(232, 56, 46, 0.35);
	--success: #3ecf8e;
	--error: #ff6b61;
	--radius: 16px;
	--radius-sm: 10px;
	--font-heading: "Space Grotesk", system-ui, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--container: 1200px;
	--header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--text-soft);
	background: var(--bg);
	overflow-x: hidden;
}

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

a { color: var(--accent-soft); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--text); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	color: var(--text);
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -0.01em;
}

strong { color: var(--text); }

ul, ol { padding-left: 1.2em; }

::selection { background: var(--accent); color: #fff; }

/* ---------- Layout ---------- */
.container {
	width: min(100% - 2.5rem, var(--container));
	margin-inline: auto;
}

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-soft { background: var(--bg-soft); }

.section-head { max-width: 860px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.wide { max-width: 1100px; }
.section-head h2.fit-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); white-space: nowrap; }
@media (max-width: 900px) {
	.section-head h2.fit-title { white-space: normal; }
}

.kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent-soft);
	margin-bottom: 1rem;
}
.kicker::before {
	content: "";
	width: 24px;
	height: 2px;
	background: var(--accent);
	border-radius: 2px;
}
.section-head.center .kicker::after {
	content: "";
	width: 24px;
	height: 2px;
	background: var(--accent);
	border-radius: 2px;
}

.section-head .software-logo { display: block; height: 140px; width: auto; margin: 0 auto 1.5rem; }
.section-head h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 1rem; text-wrap: balance; }
.section-head p { font-size: 1.0625rem; color: var(--text-soft); text-wrap: pretty; }

.grid { display: grid; gap: 1.5rem; }
@media (min-width: 720px) {
	.grid-2 { grid-template-columns: repeat(2, 1fr); }
	.grid-3 { grid-template-columns: repeat(3, 1fr); }
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Grille formateurs : 4 colonnes comme grid-4, dans un conteneur légèrement plus large pour laisser respirer les noms longs */
@media (min-width: 620px) {
	.grid-team { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.grid-team { grid-template-columns: repeat(4, 1fr); }
}
.container-wide { width: min(100% - 2.5rem, 1440px); margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.75rem;
	border-radius: 999px;
	font-family: var(--font-heading);
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	cursor: pointer;
	border: 1px solid transparent;
	transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
	background: linear-gradient(135deg, var(--accent) 0%, #c22015 100%);
	color: #fff;
	box-shadow: 0 8px 24px -8px var(--accent-glow);
}
.btn-primary:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 14px 32px -8px var(--accent-glow);
}

.btn-ghost {
	background: transparent;
	color: var(--text);
	border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--text-soft); color: var(--text); background: rgba(255,255,255,0.04); }

.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.875rem; }

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	height: var(--header-h);
	display: flex;
	align-items: center;
	background: rgba(11, 12, 16, 0.55);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid transparent;
	transition: background 0.3s, border-color 0.3s;
}
.site-header.scrolled {
	background: rgba(11, 12, 16, 0.88);
	border-bottom-color: var(--border);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	width: min(100% - 2.5rem, 1320px);
	margin-inline: auto;
}

.brand {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.4rem;
	color: var(--text);
	line-height: 1.1;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.75rem;
	white-space: nowrap;
}
.brand:hover { color: var(--text); }
.brand-icon { height: 52px; width: auto; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; }
.brand .brand-top { letter-spacing: 0.08em; font-size: 0.8em; color: var(--text-soft); font-weight: 600; }
.brand .brand-main { color: var(--accent-soft); letter-spacing: 0.02em; }

.main-nav ul {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	list-style: none;
	padding: 0;
}
.main-nav a {
	display: block;
	padding: 0.5rem 0.85rem;
	color: var(--text-soft);
	font-size: 0.9375rem;
	font-weight: 500;
	border-radius: 8px;
}
.main-nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.main-nav a[aria-current="page"] { color: var(--text); }
.main-nav a[aria-current="page"]:not(.btn) { position: relative; }
.main-nav a[aria-current="page"]:not(.btn)::after {
	content: "";
	position: absolute;
	left: 0.85rem;
	right: 0.85rem;
	bottom: 0.15rem;
	height: 2px;
	background: var(--accent);
	border-radius: 2px;
}
.main-nav .btn { margin-left: 0.5rem; }

/* Dropdown Formations */
.has-dropdown { position: relative; }
.has-dropdown > a::after { content: " ▾"; font-size: 0.7em; }
.dropdown {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 240px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 0.5rem;
	box-shadow: 0 20px 50px -12px rgba(0,0,0,0.6);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
	display: block;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.dropdown li { list-style: none; }
.dropdown a { padding: 0.55rem 0.85rem; border-radius: 6px; white-space: nowrap; }

/* Burger */
.nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--border-strong);
	border-radius: 8px;
	width: 44px;
	height: 44px;
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}
.nav-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
	transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
	.nav-toggle { display: flex; }
	.main-nav {
		position: fixed;
		top: var(--header-h);
		left: 0;
		right: 0;
		max-height: calc(100dvh - var(--header-h));
		overflow-y: auto;
		background: rgba(11, 12, 16, 0.97);
		-webkit-backdrop-filter: blur(14px);
		backdrop-filter: blur(14px);
		border-bottom: 1px solid var(--border);
		padding: 1rem 1.25rem 1.5rem;
		display: none;
	}
	.main-nav.open { display: block; }
	.main-nav ul { flex-direction: column; align-items: stretch; gap: 0.15rem; }
	.main-nav a { padding: 0.8rem 1rem; font-size: 1.05rem; }
	.main-nav a[aria-current="page"]:not(.btn)::after { display: none; }
	.main-nav a[aria-current="page"]:not(.btn) { color: var(--accent-soft); }
	.dropdown {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: none;
		background: transparent;
		padding: 0 0 0 1rem;
		min-width: 0;
	}
	.has-dropdown > a::after { content: ""; }
	.main-nav .btn { margin: 0.75rem 1rem 0; }
}

/* ---------- Hero (accueil) ---------- */
.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	padding: calc(var(--header-h) + 3rem) 0 4rem;
	overflow: hidden;
}
.hero-bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		radial-gradient(ellipse 60% 50% at 75% 40%, rgba(232, 56, 46, 0.14), transparent 65%),
		radial-gradient(ellipse 50% 45% at 15% 85%, rgba(60, 90, 220, 0.10), transparent 65%),
		var(--bg);
}
.hero-grid-lines {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}

.hero-inner {
	display: grid;
	gap: 3rem;
	align-items: center;
}
@media (min-width: 980px) {
	.hero-inner { grid-template-columns: 1.1fr 0.9fr; }
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.45em 1em;
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--text-soft);
	background: rgba(255,255,255,0.03);
	margin-bottom: 1.5rem;
}
.hero-badge .dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--success);
	box-shadow: 0 0 10px var(--success);
}

.hero h1 {
	font-size: clamp(2.4rem, 6vw, 4.2rem);
	letter-spacing: -0.02em;
	margin-bottom: 1.5rem;
}
.hero h1 .accent {
	background: linear-gradient(120deg, var(--accent-soft), #ff8f6b);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hero .lead {
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	max-width: 34em;
	margin-bottom: 2.25rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.hero-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem 2.5rem;
}
.hero-trust .item { display: flex; flex-direction: column; }
.hero-trust .num {
	font-family: var(--font-heading);
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--text);
}
.hero-trust .label { font-size: 0.85rem; color: var(--text-muted); }

.hero-visual { position: relative; }
.hero-visual .frame {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	border: 1px solid var(--border-strong);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 60px -20px var(--accent-glow);
	transform: rotate(1.5deg);
}
.hero-visual .frame img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.hero-visual .chip {
	position: absolute;
	background: rgba(21, 24, 33, 0.9);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border: 1px solid var(--border-strong);
	border-radius: 12px;
	padding: 0.6rem 1rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text);
	box-shadow: 0 12px 30px -10px rgba(0,0,0,0.7);
}
.hero-visual .chip small { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.75rem; }
.hero-visual .chip-1 { top: 8%; left: -1rem; }
.hero-visual .chip-2 { bottom: 10%; right: -0.5rem; }
@media (max-width: 979px) {
	.hero-visual { max-width: 480px; }
	.hero-visual .chip-1 { left: 0.5rem; }
	.hero-visual .chip-2 { right: 0.5rem; }
}

/* ---------- Page hero (pages intérieures) ---------- */
.page-hero {
	position: relative;
	padding: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem)) 0 clamp(2.5rem, 5vw, 4rem);
	background:
		radial-gradient(ellipse 55% 65% at 70% 0%, rgba(232, 56, 46, 0.12), transparent 65%),
		var(--bg-soft);
	border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: 1rem; max-width: 18em; }
.page-hero .lead { font-size: 1.125rem; max-width: 44em; color: var(--text-soft); }

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35em;
	list-style: none;
	padding: 0;
	font-size: 0.85rem;
	color: var(--text-muted);
	margin-bottom: 1.5rem;
}
.breadcrumb li + li::before { content: "/"; margin-right: 0.35em; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb [aria-current="page"] { color: var(--text-soft); }

/* ---------- Cartes ---------- */
.card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 2rem;
	transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
a.card { display: block; color: inherit; }
.card:hover { border-color: var(--border-strong); background: var(--bg-card-hover); }
a.card:hover { transform: translateY(-4px); }

.card .icon {
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(232,56,46,0.18), rgba(232,56,46,0.06));
	border: 1px solid rgba(232, 56, 46, 0.25);
	margin-bottom: 1.25rem;
	font-size: 1.4rem;
	line-height: 1;
}
.card .icon svg { width: 26px; height: 26px; stroke: var(--accent-soft); }
.card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.card p { font-size: 0.9375rem; color: var(--text-soft); }

.file-card { text-align: center; }
.file-card .icon { margin-inline: auto; }
.file-card h3, .file-card p {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.file-card p { font-size: 0.875rem; }
.card .meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.25rem;
}
.tag {
	display: inline-block;
	padding: 0.25em 0.8em;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--text-soft);
	background: rgba(255,255,255,0.05);
	border: 1px solid var(--border);
}
.tag.accent { color: var(--accent-soft); border-color: rgba(232,56,46,0.35); background: rgba(232,56,46,0.08); }

.card .card-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	margin-top: 1.25rem;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--accent-soft);
}
a.card:hover .card-link { color: var(--text); }
.card .card-link::after { content: "→"; transition: transform 0.2s; }
a.card:hover .card-link::after { transform: translateX(4px); }

/* ---------- Stats ---------- */
.stats-band {
	background:
		radial-gradient(ellipse 70% 100% at 50% 0%, rgba(232,56,46,0.10), transparent 70%),
		var(--bg-soft);
	border-block: 1px solid var(--border);
}
.stat { text-align: center; padding: 1rem; }
.stat .num {
	font-family: var(--font-heading);
	font-size: clamp(2.2rem, 4.5vw, 3.2rem);
	font-weight: 700;
	color: var(--text);
	line-height: 1;
}
.stat .num .suffix { color: var(--accent-soft); }
.stat .label { margin-top: 0.6rem; font-size: 0.9375rem; color: var(--text-muted); }

/* ---------- Équipe ---------- */
.team-card { overflow: hidden; padding: 0; }
.team-card img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	filter: saturate(0.9);
	transition: filter 0.3s, transform 0.4s;
}
.team-card:hover img { filter: saturate(1.05); transform: scale(1.03); }
.team-card .body { padding: 1.5rem; }
.team-card h3 { font-size: 1.1rem; letter-spacing: -0.01em; margin-bottom: 0.25rem; }
.team-card .role { color: var(--accent-soft); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.75rem; }
.team-card .exp { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.team-card p { font-size: 0.9rem; }
.team-card .pic { overflow: hidden; }

/* ---------- Tarifs ---------- */
.price-card { display: flex; flex-direction: column; padding: 1.75rem 1.35rem; }
.price-card .plan { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }
.price-card .who { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.price-card .price {
	font-family: var(--font-heading);
	font-size: 2.2rem;
	font-weight: 700;
	color: var(--text);
	line-height: 1;
}
.price-card .price small { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
.price-card ul { list-style: none; padding: 0; margin-top: 1.5rem; display: grid; gap: 0.65rem; }
.price-card li {
	display: flex;
	gap: 0.6em;
	font-size: 0.875rem;
	align-items: baseline;
}
.price-card li::before { content: "✓"; color: var(--success); font-weight: 700; }
.price-card.featured {
	border-color: rgba(232, 56, 46, 0.5);
	background: linear-gradient(180deg, rgba(232,56,46,0.09), var(--bg-card) 45%);
	position: relative;
}
.price-card .badge {
	position: absolute;
	top: -12px;
	right: 1.5rem;
	background: var(--accent);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.3em 0.9em;
	border-radius: 999px;
}

/* ---------- Galerie ---------- */
.filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	margin-bottom: 2.5rem;
}
.filter-btn {
	padding: 0.5rem 1.25rem;
	border-radius: 999px;
	border: 1px solid var(--border-strong);
	background: transparent;
	color: var(--text-soft);
	font-family: var(--font-heading);
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
}
.filter-btn:hover { color: var(--text); border-color: var(--text-muted); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: 1.25rem;
}
.gallery-item {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border);
	cursor: zoom-in;
	background: var(--bg-card);
	padding: 0;
}
.gallery-item img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.45s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
	position: absolute;
	inset: auto 0 0 0;
	padding: 2.5rem 1.25rem 1rem;
	background: linear-gradient(transparent, rgba(5, 6, 8, 0.9));
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.3s, transform 0.3s;
}
.gallery-item:hover figcaption { opacity: 1; transform: none; }
.gallery-item .cat {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent-soft);
}
.gallery-item .title { font-family: var(--font-heading); font-weight: 600; color: #fff; }
.gallery-item.hidden { display: none; }

/* Lightbox */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(5, 6, 8, 0.94);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img {
	max-width: min(92vw, 1100px);
	max-height: 86vh;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 30px 90px rgba(0,0,0,0.8);
}
.lightbox .lb-close {
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid var(--border-strong);
	background: rgba(21,24,33,0.8);
	color: var(--text);
	font-size: 1.3rem;
	cursor: pointer;
	transition: background 0.2s;
}
.lightbox .lb-close:hover { background: var(--accent); }
.lightbox .lb-caption {
	position: absolute;
	bottom: 1.5rem;
	left: 50%;
	transform: translateX(-50%);
	color: var(--text-soft);
	font-size: 0.9375rem;
	background: rgba(21,24,33,0.8);
	padding: 0.4em 1.2em;
	border-radius: 999px;
	border: 1px solid var(--border);
	white-space: nowrap;
}

/* ---------- Widget avis (fond clair imposé : le widget tiers suppose une page claire) ---------- */
.reviews-widget-wrap {
	background: #fff;
	border-radius: var(--radius);
	padding: clamp(1rem, 3vw, 2rem);
	box-shadow: 0 30px 60px -25px rgba(0,0,0,0.5);
}

/* ---------- Avis ---------- */
.rating-summary { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1rem; color: var(--text-soft); }
.rating-summary strong { color: var(--text); font-family: var(--font-heading); }

/* ---------- Logos clients ---------- */
.logo-wall {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}
@media (min-width: 640px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
.logo-wall .cell {
	display: grid;
	place-items: center;
	background: #fff;
	border-radius: var(--radius-sm);
	padding: 1.25rem 1.5rem;
	min-height: 96px;
	opacity: 0.92;
	transition: opacity 0.25s, transform 0.25s;
}
.logo-wall .cell:hover { opacity: 1; transform: translateY(-3px); }
.logo-wall img { max-height: 56px; width: auto; object-fit: contain; }

/* ---------- Timeline / listes de points ---------- */
.check-list { list-style: none; padding: 0; display: grid; gap: 1.1rem; }
.check-list li { display: flex; gap: 0.75em; align-items: flex-start; }
.check-list li::before { content: "✓"; color: var(--accent-soft); font-weight: 700; flex-shrink: 0; line-height: 1.5; }
.check-list li > div { display: flex; flex-direction: column; gap: 0.15rem; }
.check-list .check-title { color: var(--text); font-family: var(--font-heading); font-weight: 600; }
.check-list .check-desc { color: var(--text-soft); font-size: 0.9rem; }

.info-callout {
	border: 1px solid var(--border-strong);
	border-left: 3px solid var(--accent);
	border-radius: var(--radius-sm);
	background: var(--bg-card);
	padding: 1.25rem 1.5rem;
	font-size: 0.9375rem;
	margin-block: 1.5rem;
}

/* ---------- Split section ---------- */
.split {
	display: grid;
	gap: 2.5rem;
	align-items: center;
}
@media (min-width: 900px) {
	.split { grid-template-columns: 1fr 1fr; gap: 4rem; }
	.split.rev > .split-media { order: 2; }
}
.split-media img {
	border-radius: var(--radius);
	border: 1px solid var(--border-strong);
	width: 100%;
	box-shadow: 0 30px 60px -25px rgba(0,0,0,0.7);
}
.split h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 1.25rem; }
.split p + p { margin-top: 1rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.85rem; max-width: 820px; margin-inline: auto; }
.faq-item {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	overflow: hidden;
}
.faq-item summary {
	list-style: none;
	cursor: pointer;
	padding: 1.15rem 1.5rem;
	font-family: var(--font-heading);
	font-weight: 600;
	color: var(--text);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: "+";
	font-size: 1.4rem;
	color: var(--accent-soft);
	transition: transform 0.25s;
	flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 1.5rem 1.25rem; font-size: 0.9375rem; }

/* ---------- Formulaire ---------- */
.form-grid { display: grid; gap: 1.1rem; }
.form-control {
	width: 100%;
	padding: 0.9rem 1.15rem;
	background: var(--bg-card);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1rem;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(232, 56, 46, 0.18);
}
textarea.form-control { resize: vertical; min-height: 140px; }
label.form-label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 0.4rem;
}
.form-msg { border-radius: var(--radius-sm); padding: 0.9rem 1.2rem; font-size: 0.9375rem; display: none; }
.form-msg.success { display: block; background: rgba(62, 207, 142, 0.12); border: 1px solid rgba(62,207,142,0.4); color: var(--success); }
.form-msg.error { display: block; background: rgba(255, 107, 97, 0.1); border: 1px solid rgba(255,107,97,0.4); color: var(--error); }

/* ---------- Contact ---------- */
.contact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; }
.contact-item .ci-icon {
	width: 44px; height: 44px;
	flex-shrink: 0;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: rgba(232,56,46,0.1);
	border: 1px solid rgba(232,56,46,0.25);
	font-size: 1.15rem;
}
.contact-item .heading { font-weight: 700; color: var(--text); font-family: var(--font-heading); font-size: 0.95rem; }
.contact-item .detail { font-size: 0.9375rem; }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-strong); }
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(0.7) invert(0.9) hue-rotate(180deg) contrast(0.9); }

/* ---------- CTA band ---------- */
.cta-band {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(ellipse 60% 120% at 50% 100%, rgba(232, 56, 46, 0.22), transparent 70%),
		var(--bg-soft);
	border-block: 1px solid var(--border);
	text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; max-width: 22em; margin-inline: auto; }
.cta-band p { max-width: 40em; margin: 0 auto 2rem; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
	background: #07080b;
	border-top: 1px solid var(--border);
	padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
	font-size: 0.9375rem;
}
.footer-grid {
	display: grid;
	gap: 2.5rem;
	margin-bottom: 3rem;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h4 {
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: var(--text-soft); }
.site-footer a:hover { color: var(--text); }
.footer-brand { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; color: var(--text); margin-bottom: 0.75rem; }
.footer-brand .accent { color: var(--accent-soft); }
.footer-about { color: var(--text-muted); font-size: 0.9rem; max-width: 30em; }
.footer-bottom {
	border-top: 1px solid var(--border);
	padding-top: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	font-size: 0.8125rem;
	color: var(--text-muted);
}
.footer-bottom p { max-width: 60em; }

/* ---------- Prose (pages contenu) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
.prose p + p { margin-top: 1rem; }
.prose ul, .prose ol { margin: 1rem 0; display: grid; gap: 0.5rem; }

/* ---------- Table programme ---------- */
.program-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.program-table th, .program-table td {
	text-align: left;
	padding: 0.9rem 1.1rem;
	border-bottom: 1px solid var(--border);
}
.program-table th { color: var(--text); font-family: var(--font-heading); font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; }
.program-table tr:last-child td { border-bottom: none; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-card); }

/* ---------- Animations reveal ---------- */
.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
	.reveal { opacity: 1; transform: none; }
}

/* ---------- Skip link & a11y ---------- */
.skip-link {
	position: absolute;
	top: -60px;
	left: 1rem;
	z-index: 300;
	background: var(--accent);
	color: #fff;
	padding: 0.6em 1.2em;
	border-radius: 8px;
	font-weight: 600;
	transition: top 0.2s;
}
.skip-link:focus { top: 1rem; color: #fff; }

:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 2px; }

/* ---------- Utilitaires ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.muted { color: var(--text-muted); }
.small { font-size: 0.875rem; }
