/* ==========================================================================
   Riviera Sodipa — design system
   ========================================================================== */

/* Polices auto-hébergées (sous-ensemble latin) --------------------------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

/* Polices de secours calées sur les dimensions des polices du site : le texte ne
   bouge plus quand Cormorant et Inter arrivent (CLS). Valeurs calculées depuis
   les fichiers de police (largeur moyenne pondérée, ascendante, descendante). */
@font-face { font-family: "Cormorant Fallback"; font-weight: 100 500; src: local("Times New Roman"), local("TimesNewRomanPSMT"); size-adjust: 98.65%; ascent-override: 93.67%; descent-override: 29.09%; line-gap-override: 0%; }
@font-face { font-family: "Cormorant Fallback"; font-weight: 600 900; src: local("Times New Roman Bold"), local("TimesNewRomanPS-BoldMT"); size-adjust: 91.50%; ascent-override: 100.99%; descent-override: 31.37%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; font-weight: 100 500; src: local("Arial"), local("ArialMT"); size-adjust: 106.97%; ascent-override: 90.56%; descent-override: 22.55%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; font-weight: 600 900; src: local("Arial Bold"), local("Arial-BoldMT"); size-adjust: 101.10%; ascent-override: 95.82%; descent-override: 23.86%; line-gap-override: 0%; }

/* Tokens ----------------------------------------------------------------- */
:root {
	--navy: #063B63;
	--navy-2: #0B4F7A;
	--navy-3: #042A47;
	--orange: #F39200;
	--orange-hover: #FFA41F;
	/* Orange éclairci : seul orange lisible (AA) en petit texte sur --navy-2 */
	--orange-light: #FFB547;
	--white: #FFFFFF;
	--off-white: #FAF9F6;
	--text: #18364F;
	--muted: #5A7186;
	--line: #E3E8ED;
	--error: #B42318;

	--font-serif: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
	--font-sans: "Inter", "Inter Fallback", Arial, Helvetica, sans-serif;

	--container: 1240px;
	--gutter: 24px;
	--header-h: 80px;
	--section-y: clamp(56px, 7vw, 80px);
	--radius: 8px;
	--shadow: 0 2px 14px rgba(6, 59, 99, .08);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }

body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
	margin: 0;
	font-family: var(--font-serif);
	font-weight: 600;
	color: var(--navy);
	letter-spacing: -.01em;
}

h1 { font-size: clamp(42px, 6vw, 72px); line-height: .98; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; }

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

.container {
	width: min(var(--container), calc(100% - 2 * var(--gutter)));
	margin-inline: auto;
}

.sr-only {
	position: absolute;
	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: 2000;
	padding: 12px 18px;
	background: var(--navy);
	color: var(--white);
	font-weight: 600;
	border-radius: 0 0 var(--radius) var(--radius);
}
.skip-link:focus { top: 0; }

/* Composants communs ----------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 22px;
	border: 0;
	border-radius: 6px;
	font: 600 15px/1.2 var(--font-sans);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s var(--ease);
}

/* Texte marine sur orange : 4,9:1 (AA). Le blanc sur orange ne passe pas. */
.btn--primary { background: var(--orange); color: var(--navy); }
.btn--primary:hover { background: var(--orange-hover); }

.eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
	color: var(--navy-2);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	background: var(--orange);
}
.eyebrow--on-dark { color: var(--orange-light); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p:last-child { margin-top: 14px; font-size: 17px; }
.section-head--on-dark h2 { color: var(--white); }
.section-head--on-dark p:last-child { color: rgba(255, 255, 255, .85); }

/* Emplacement photo (maquette uniquement — remplacé par <picture> dans le thème) */
.ph {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	background:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 14px, transparent 14px 28px),
		linear-gradient(135deg, #0F5583 0%, var(--navy) 55%, var(--navy-3) 100%);
}
.ph::after {
	content: attr(data-label);
	position: absolute;
	right: 14px;
	bottom: 12px;
	max-width: calc(100% - 28px);
	color: rgba(255, 255, 255, .8);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-align: right;
}
.ph--round::after {
	inset: 0;
	display: grid;
	place-items: center;
	max-width: none;
	padding: 18px;
	text-align: center;
}

/* Header ----------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--white);
	transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 2px 16px rgba(6, 59, 99, .1); }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 32px;
	min-height: var(--header-h);
}

.site-logo {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	text-decoration: none;
	line-height: 1;
}
.site-logo__name {
	font-family: var(--font-serif);
	font-size: 30px;
	font-weight: 600;
	color: var(--navy);
	letter-spacing: .02em;
}
.site-logo__sub {
	margin-top: 3px;
	color: var(--navy-2);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .32em;
	text-transform: uppercase;
}

.site-logo__img { width: auto; height: 60px; }

.site-nav {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.site-nav__list {
	display: flex;
	gap: 4px;
	margin-inline: auto;
}
.site-nav__list a {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0 12px;
	font-size: 15px;
	font-weight: 500;
	color: var(--text);
	text-decoration: none;
}
.site-nav__list a::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 6px;
	height: 2px;
	background: var(--orange);
	transform: scaleX(0);
	transition: transform .2s var(--ease);
}
.site-nav__list a:hover::after,
.site-nav__list a[aria-current]::after { transform: scaleX(1); }
.site-nav__list a[aria-current] { color: var(--navy); font-weight: 600; }

.site-nav__aside {
	display: flex;
	align-items: center;
	gap: 16px;
}

.lang-switch { display: flex; }
.lang-switch a {
	display: grid;
	place-items: center;
	min-width: 36px;
	min-height: 44px;
	font-size: 13px;
	font-weight: 600;
	color: var(--muted);
	text-decoration: none;
}
.lang-switch a:hover { color: var(--navy); }
.lang-switch a[aria-current] { color: var(--navy); text-decoration: underline 2px var(--orange); text-underline-offset: 6px; }

.nav-toggle {
	display: none;
	margin-left: auto;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--navy);
	cursor: pointer;
}
.nav-toggle svg { margin: auto; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open,
.nav-toggle[aria-expanded="false"] .nav-toggle__close { display: none; }

/* Fil d'Ariane ----------------------------------------------------------- */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Hero ------------------------------------------------------------------- */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(430px, 62vh, 580px);
	overflow: hidden;
	color: var(--white);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(4, 30, 52, .88) 0%, rgba(4, 30, 52, .6) 42%, rgba(4, 30, 52, .05) 78%);
}
.hero__content { position: relative; z-index: 1; padding-block: 64px; }
.hero .ph::after { top: 12px; bottom: auto; }
.hero .breadcrumb { margin-bottom: 36px; color: rgba(255, 255, 255, .85); }
.hero__title { max-width: 9.5ch; color: var(--white); text-wrap: balance; }
.hero__lead { max-width: 520px; margin-top: 22px; font-size: 18px; color: rgba(255, 255, 255, .92); }

/* Bandeau arguments (USP) ------------------------------------------------ */
.usp { border-bottom: 1px solid var(--line); }
.usp__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}
.usp__item {
	display: flex;
	gap: 16px;
	padding: 36px 28px;
}
.usp__item + .usp__item { border-left: 1px solid var(--line); }
.usp__item:first-child { padding-left: 0; }
.usp__icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	color: var(--orange);
}
.usp__title { font-weight: 600; color: var(--navy); }
.usp__text { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* Familles en filtre (gabarit unique gamme / famille) -------------------- */
.family-filter { padding-block: 48px 40px; background: var(--navy-2); }
.family-filter .section-head { margin-bottom: 28px; }
.family-filter h2 { font-size: clamp(28px, 3vw, 38px); }
.family-filter__list {
	display: flex;
	justify-content: center;
	gap: 12px;
}
.family-filter__list > li { flex: 0 0 128px; }
.family-chip {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 8px 4px;
	border-radius: var(--radius);
	color: var(--white);
	text-align: center;
	text-decoration: none;
}
.family-chip__media {
	display: grid;
	place-items: center;
	width: 100px;
	aspect-ratio: 1;
	overflow: hidden;
	border: 2px solid rgba(243, 146, 0, .55);
	border-radius: 50%;
	background: var(--navy);
	color: var(--orange-light);
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.family-chip__media > * { transition: transform .4s var(--ease); }
.family-chip__media img { width: 100%; height: 100%; object-fit: cover; }
.family-chip:hover .family-chip__media { border-color: var(--orange); }
.family-chip:hover .family-chip__media > .ph { transform: scale(1.06); }
.family-chip__name { font-family: var(--font-serif); font-size: 20px; font-weight: 600; line-height: 1.1; }
.family-chip__count { margin-top: -6px; color: rgba(255, 255, 255, .75); font-size: 12px; }
.family-chip[aria-current="page"] .family-chip__media {
	border: 3px solid var(--orange);
	box-shadow: 0 0 0 5px rgba(243, 146, 0, .3);
}
.family-chip[aria-current="page"] .family-chip__name { text-decoration: underline 2px var(--orange); text-underline-offset: 6px; }

.products__reset {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	color: var(--navy-2);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}
.products__reset:hover { text-decoration: underline; }

/* Formats professionnels ------------------------------------------------- */
.formats { padding-block: var(--section-y); background: var(--navy); color: var(--white); }
.formats__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}
.formats h2 { color: var(--white); }
.formats__intro { margin-top: 16px; max-width: 520px; font-size: 17px; color: rgba(255, 255, 255, .85); }
.formats__list { display: grid; gap: 4px; margin-top: 32px; }
.formats__item {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 16px 0;
	border-top: 1px solid rgba(255, 255, 255, .14);
}
.formats__item:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.formats__icon {
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 1.5px solid var(--orange);
	border-radius: 50%;
	color: var(--orange);
}
.formats__name { font-family: var(--font-serif); font-size: 24px; font-weight: 600; line-height: 1.1; }
.formats__desc { margin-top: 2px; font-size: 14px; color: rgba(255, 255, 255, .78); }
.formats__note { margin-top: 20px; font-size: 14px; color: rgba(255, 255, 255, .78); }
.formats__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--radius);
	box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}
.formats__media img { width: 100%; height: 100%; object-fit: cover; }

/* Hero compact (familles) ------------------------------------------------ */
.hero--compact { min-height: clamp(320px, 42vh, 400px); }
.hero--compact .hero__title { max-width: none; }

/* Emplacement packshot sur fond clair */
.ph--light { background: var(--off-white); }
.ph--light::after { color: var(--muted); }

/* Gammes (page Nos produits) --------------------------------------------- */
.ranges { padding-block: var(--section-y); }
.ranges__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}
.range-card {
	position: relative;
	display: flex;
	align-items: flex-end;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: var(--radius);
	color: var(--white);
	text-decoration: none;
	box-shadow: var(--shadow);
}
.range-card__media { position: absolute; inset: 0; }
.range-card__media > * { transition: transform .5s var(--ease); }
.range-card__media img { width: 100%; height: 100%; object-fit: cover; }
.range-card:hover .range-card__media > * { transform: scale(1.05); }
.range-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(4, 30, 52, 0) 30%, rgba(4, 30, 52, .9) 100%);
}
.range-card .ph::after { top: 14px; bottom: auto; }
.range-card__body { position: relative; z-index: 1; padding: 28px; }
.range-card__name {
	display: block;
	font-family: var(--font-serif);
	font-size: clamp(30px, 2.8vw, 38px);
	font-weight: 600;
	line-height: 1.05;
}
.range-card__desc { display: block; margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, .88); }
.range-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 18px;
	padding-bottom: 4px;
	border-bottom: 2px solid var(--orange);
	font-size: 14px;
	font-weight: 600;
}
.range-card__cta svg { transition: transform .2s var(--ease); }
.range-card:hover .range-card__cta svg { transform: translateX(4px); }

/* Grille produits -------------------------------------------------------- */
.products { padding-block: var(--section-y); }
.products__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 24px;
	margin-bottom: 36px;
}
.products__count { color: var(--muted); font-size: 15px; }

.products-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
}

.product-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	text-decoration: none;
	transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.product-card:hover { border-color: var(--orange); box-shadow: var(--shadow); }
/* Fond blanc : les packshots sont détourés sur blanc */
.product-card__media { aspect-ratio: 1; overflow: hidden; background: var(--white); }
.product-card__media > * { transition: transform .4s var(--ease); }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; }
.product-card:hover .product-card__media > * { transform: scale(1.04); }
.product-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px 20px;
}
.product-card__name {
	font-family: var(--font-serif);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.1;
	color: var(--navy);
}
.product-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--navy-2);
	font-size: 14px;
	font-weight: 600;
}
.product-card__cta svg { transition: transform .2s var(--ease); }
.product-card:hover .product-card__cta svg { transform: translateX(4px); }

/* Bandeau contact -------------------------------------------------------- */
.cta-band { padding-block: 48px; background: var(--navy); color: var(--white); }
.cta-band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 40px;
}
.cta-band h2 { color: var(--white); font-size: clamp(28px, 3vw, 36px); }
.cta-band p { margin-top: 6px; color: rgba(255, 255, 255, .85); }

/* Boutons secondaires : l'orange reste réservé au CTA catalogue du header */
.btn--secondary { background: var(--navy); color: var(--white); }
.btn--secondary:hover { background: var(--navy-2); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--off-white); }

/* Fil d'Ariane hors hero */
.page-crumbs { padding-block: 20px; color: var(--muted); }
.page-crumbs a:hover { color: var(--navy); }
.page-crumbs [aria-current] { color: var(--navy); font-weight: 500; }

/* Fiche produit ---------------------------------------------------------- */
.product { padding-bottom: var(--section-y); }
.product-layout {
	display: grid;
	grid-template-columns: 53fr 47fr;
	gap: 56px;
	align-items: start;
}

.product-gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.product-gallery__main {
	aspect-ratio: 1.2 / 1;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
}
.product-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-top: 12px;
}
/* Une colonne de grille ne doit jamais s'élargir à cause du tableau */
.product-layout > * { min-width: 0; }

.product-gallery__thumb {
	display: block;
	width: 100%;
	aspect-ratio: 1.2 / 1;
	overflow: hidden;
	padding: 0;
	border: 2px solid var(--line);
	border-radius: 6px;
	background: var(--white);
	cursor: pointer;
	transition: border-color .2s var(--ease);
}
.product-gallery__thumb:hover { border-color: var(--muted); }
.product-gallery__thumb img { object-fit: contain; }
.product-gallery__thumb[aria-current="true"] { border-color: var(--orange); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumb .ph::after { right: 0; bottom: 0; left: 0; top: 0; display: grid; place-items: center; max-width: none; padding: 6px; font-size: 9px; text-align: center; }

.product-info h1 { font-size: clamp(40px, 4.4vw, 60px); line-height: 1; }
.product-info__desc { margin-top: 20px; font-size: 17px; line-height: 1.6; }

.product-args { display: grid; gap: 0; margin-top: 28px; }
.product-args li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 0;
	border-top: 1px solid var(--line);
	font-weight: 500;
	color: var(--navy);
}
.product-args li:last-child { border-bottom: 1px solid var(--line); }
.product-args svg { flex-shrink: 0; width: 28px; height: 28px; color: var(--orange); }

.packaging { margin-top: 36px; }
.packaging h2 { font-size: 28px; margin-bottom: 14px; }
.table-scroll {
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.table-scroll:focus-visible { outline-offset: 2px; }
.packaging-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.packaging-table th,
.packaging-table td {
	padding: 12px 10px;
	text-align: left;
	vertical-align: top;
}
.packaging-table th:first-child,
.packaging-table td:first-child { padding-left: 14px; }
/* Les valeurs chiffrées ne se coupent pas ; le reste peut passer à la ligne */
.packaging-table td:nth-child(2),
.packaging-table td:nth-child(4) { white-space: nowrap; }
.packaging-table th[scope="col"] { min-width: 72px; }
.packaging-table thead th {
	background: var(--navy);
	color: var(--white);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.packaging-table tbody tr:nth-child(even) { background: var(--off-white); }
.packaging-table tbody th { font-weight: 600; color: var(--navy); }
.packaging-table small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 400; }
.todo { color: #9A5B00; font-style: italic; }

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

/* Produits similaires ---------------------------------------------------- */
.similar { padding-block: var(--section-y); background: var(--off-white); }
.similar h2 { margin-bottom: 32px; }
.similar__track {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}
.product-card__name, .product-card__format { display: block; }
.product-card__format { margin-top: 4px; color: var(--muted); font-size: 14px; }

/* Accueil ---------------------------------------------------------------- */
.hero--home { min-height: clamp(520px, 78vh, 720px); }
.hero__title--home { max-width: 19ch; }
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	margin-top: 32px;
}
.hero__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	color: var(--white);
	font-weight: 600;
	text-decoration: underline 2px var(--orange);
	text-underline-offset: 6px;
}
.hero__link:hover { color: var(--orange-light); }

.about-teaser { padding-block: var(--section-y); background: var(--off-white); }
.about-teaser__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}
.about-teaser__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.about-teaser__media img { width: 100%; height: 100%; object-fit: cover; }
.about-teaser__text { margin-block: 18px 20px; max-width: 540px; font-size: 17px; line-height: 1.65; }

.news { padding-block: var(--section-y); }
.news__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}
.news-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-decoration: none;
	transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.news-card:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.news-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.news-card__date { color: var(--muted); font-size: 14px; }
.news-card__title {
	flex: 1;
	font-family: var(--font-serif);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.15;
	color: var(--navy);
}

/* Contact ---------------------------------------------------------------- */
.contact { padding-block: var(--section-y); }
.contact__layout {
	display: grid;
	grid-template-columns: 7fr 5fr;
	gap: 56px;
	align-items: start;
}
.contact__layout > * { min-width: 0; }

.contact-form,
.contact-success {
	padding: clamp(24px, 4vw, 44px);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow);
}
.contact-form__title { margin-bottom: 24px; font-size: clamp(30px, 3vw, 38px); }
.contact-form__status {
	margin-bottom: 20px;
	padding: 12px 16px;
	border-left: 4px solid var(--error);
	border-radius: 4px;
	background: #FEF3F2;
	color: var(--error);
	font-weight: 500;
}
.contact-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 24px;
}
.contact-form__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
	margin-top: 28px;
}
.contact-form__required { color: var(--muted); font-size: 14px; }
.contact-form [aria-busy="true"] { opacity: .7; cursor: progress; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 600; color: var(--navy); }
.field__optional { font-weight: 400; color: var(--muted); }
.field input:not([type="checkbox"]),
.field select,
.field textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid #B9C5D0;
	border-radius: 6px;
	background: var(--white);
	color: var(--text);
	font: 16px/1.4 var(--font-sans);
	transition: border-color .2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 0; border-color: var(--navy); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { color: var(--error); font-size: 14px; }

.field--check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.field--check input { flex-shrink: 0; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy); }
.field--check label { flex: 1; font-weight: 400; color: var(--text); line-height: 1.5; }
.field--check .field__error { flex-basis: 100%; padding-left: 34px; }

.contact-success { text-align: center; }
.contact-success:focus { outline: none; }
.contact-success__icon {
	display: inline-grid;
	place-items: center;
	width: 60px;
	height: 60px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: #E7F4EC;
	color: #1E7A46;
}
.contact-success h2 { font-size: clamp(30px, 3vw, 38px); }
.contact-success p { margin: 12px auto 24px; max-width: 420px; }

.contact__aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-card {
	padding: 32px;
	border-radius: var(--radius);
	background: var(--navy);
	color: rgba(255, 255, 255, .88);
}
.contact-card h2 { color: var(--white); font-size: 32px; }
.contact-card address { margin-top: 12px; font-style: normal; line-height: 1.7; }
.contact-card__links { display: grid; gap: 4px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .15); }
.contact-card__links li { display: flex; align-items: center; gap: 12px; color: var(--orange-light); }
.contact-card__links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--white);
	font-size: 17px;
	font-weight: 600;
	text-decoration: none;
}
.contact-card__links a:hover { text-decoration: underline; }
.contact-note {
	display: flex;
	gap: 16px;
	padding: 24px;
	border-radius: var(--radius);
	background: var(--off-white);
	font-size: 15px;
}
.contact-note svg { flex-shrink: 0; color: var(--orange); }
.contact-note__title { margin-bottom: 4px; font-weight: 600; color: var(--navy); }

/* Bannière de consentement ---------------------------------------------- */
.consent {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 2000;
	width: min(520px, calc(100% - 32px));
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: 0 12px 40px rgba(6, 59, 99, .2);
}
.consent[hidden] { display: none; }
.consent__title { margin-bottom: 6px; font-weight: 600; color: var(--navy); }
.consent__text { font-size: 14px; line-height: 1.55; }
.consent__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 18px;
}
/* Refuser et accepter : même taille, même poids visuel (exigence CNIL) */
.consent__btn { background: var(--navy); color: var(--white); }
.consent__btn:hover { background: var(--navy-2); }

.site-footer__cookies {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	cursor: pointer;
}
.site-footer__cookies:hover { color: var(--white); text-decoration: underline; }

/* À propos --------------------------------------------------------------- */
.about { padding-block: var(--section-y); }
.about__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 64px;
	align-items: start;
}
.about__story { max-width: 720px; font-size: 17px; line-height: 1.65; }
.about__figures dl {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--line);
}
.about__figures dl > div { padding: 22px 20px; background: var(--off-white); }
.about__figures dt { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.about__figures dd { margin: 6px 0 0; font-family: var(--font-serif); font-size: 44px; font-weight: 600; line-height: 1; color: var(--navy); }
.about__figures .about__place { font-size: 24px; line-height: 1.15; }

.clients { padding-block: 0 var(--section-y); }
.clients__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}
.clients__item {
	padding: 28px 24px;
	border: 1px solid var(--line);
	border-top: 3px solid var(--orange);
	border-radius: var(--radius);
}
.clients__item svg { color: var(--orange); }
.clients__title { margin-top: 16px; font-family: var(--font-serif); font-size: 24px; font-weight: 600; line-height: 1.1; color: var(--navy); }
.clients__text { margin-top: 8px; color: var(--muted); font-size: 15px; }
.ranges--tinted { background: var(--off-white); }

/* Article et contenus éditoriaux ------------------------------------------- */
.page-default__content h2 { margin-top: 1.6em; font-size: clamp(26px, 2.6vw, 32px); }
.page-default__content a { color: var(--navy-2); }
.article { max-width: 820px; padding-bottom: var(--section-y); }
.article__head { margin-bottom: 28px; }
.article__date { color: var(--muted); font-size: 15px; }
.article__head h1 { margin-top: 8px; font-size: clamp(36px, 4.4vw, 54px); line-height: 1.05; }
.article__media { margin: 0 0 32px; overflow: hidden; border-radius: var(--radius); }
.article__media img { width: 100%; height: auto; max-height: 560px; object-fit: cover; }
.article__content { max-width: none; margin-bottom: 32px; font-size: 17px; line-height: 1.7; }
.article__content img { height: auto; border-radius: var(--radius); }

.news__empty { color: var(--muted); }
.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.nav-links .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 6px;
	color: var(--navy);
	text-decoration: none;
}
.nav-links .page-numbers.current { border-color: var(--navy); background: var(--navy); color: var(--white); }

/* Gabarit par défaut ----------------------------------------------------- */
.page-default { padding-bottom: var(--section-y); }
.page-default h1 { margin: 8px 0 24px; }
.page-default__content { max-width: 760px; }
.page-default__content > * + * { margin-top: 1em; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--navy-3); color: rgba(255, 255, 255, .8); font-size: 15px; }
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 48px;
	padding-block: 64px 48px;
}
.site-footer .site-logo__name { color: var(--white); }
.site-footer .site-logo__sub { color: var(--orange-light); }
.site-footer__about { margin-top: 18px; max-width: 300px; }
.site-footer__title {
	margin-bottom: 16px;
	color: var(--white);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.site-footer__links li + li { margin-top: 6px; }
.site-footer__links a { display: inline-block; padding-block: 4px; text-decoration: none; }
.site-footer__links a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding-block: 20px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: 13px;
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer__legal a { text-decoration: none; }
.site-footer__legal a:hover { color: var(--white); text-decoration: underline; }
.site-footer .lang-switch a { color: rgba(255, 255, 255, .7); }
.site-footer .lang-switch a[aria-current], .site-footer .lang-switch a:hover { color: var(--white); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1199px) {
	.nav-toggle { display: block; }
	.js .site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px var(--gutter) 24px;
		background: var(--white);
		border-top: 1px solid var(--line);
		box-shadow: 0 16px 24px rgba(6, 59, 99, .12);
	}
	.js .site-nav.is-open { display: flex; }
	.site-nav__list { flex-direction: column; margin: 0; }
	.site-nav__list a { min-height: 52px; padding: 0; border-bottom: 1px solid var(--line); font-size: 17px; }
	.site-nav__list a::after { display: none; }
	.site-nav__list a[aria-current] { color: var(--navy); box-shadow: inset 3px 0 0 var(--orange); padding-left: 14px; }
	.site-nav__aside { justify-content: space-between; margin-top: 20px; }
	.no-js .site-header__inner { flex-wrap: wrap; padding-block: 12px; }
	.no-js .nav-toggle { display: none; }
}

@media (max-width: 991px) {
	.usp__list { grid-template-columns: repeat(2, 1fr); }
	.usp__item { padding: 28px 20px; }
	.usp__item:nth-child(odd) { padding-left: 0; border-left: 0; }
	.usp__item:nth-child(n + 3) { border-top: 1px solid var(--line); }

	.formats__inner { grid-template-columns: 1fr; gap: 40px; }

	.products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

	.ranges__grid { grid-template-columns: 1fr; gap: 20px; }
	.range-card { aspect-ratio: 16 / 9; }

	.product-layout { gap: 32px; }

	.about-teaser__inner { grid-template-columns: 1fr; gap: 32px; }
	.about__layout { grid-template-columns: 1fr; gap: 40px; }
	.clients__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.contact__layout { grid-template-columns: 1fr; gap: 32px; }
	.contact__aside { position: static; grid-template-columns: 1fr 1fr; }
	.similar__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	/* Filtre familles : défilement horizontal */
	.family-filter__list {
		justify-content: flex-start;
		margin-inline: calc(-1 * var(--gutter));
		padding-inline: var(--gutter);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}
	.family-filter__list > li { flex-basis: 108px; scroll-snap-align: start; }
	.family-chip__media { width: 84px; }
	.family-chip__name { font-size: 18px; }

	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
	:root { --gutter: 16px; --header-h: 68px; }

	.site-logo__name { font-size: 25px; }

	.hero { min-height: 460px; }
	.hero__media::after { background: linear-gradient(180deg, rgba(4, 30, 52, .45) 0%, rgba(4, 30, 52, .88) 70%); }
	.hero__content { align-self: flex-end; padding-block: 40px; }
	.hero .breadcrumb { margin-bottom: 20px; }
	.hero__lead { font-size: 16px; }

	.usp__item { flex-direction: column; gap: 10px; padding: 24px 12px; }


	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 32px; }

	.range-card { aspect-ratio: 1; }
	.range-card__body { padding: 22px; }

	.product-layout { grid-template-columns: 1fr; }

	.hero--home { min-height: 560px; }
	.consent { right: 16px; bottom: 16px; padding: 20px; }
	.news__grid { grid-template-columns: 1fr; }
	.clients__list { grid-template-columns: 1fr; }

	.contact-form__grid { grid-template-columns: 1fr; }
	.contact__aside { grid-template-columns: 1fr; }
	.contact-form__footer .btn { width: 100%; }
	.product-gallery { position: static; }

	/* Produits similaires : carrousel tactile */
	.similar__track {
		display: flex;
		gap: 14px;
		margin-inline: calc(-1 * var(--gutter));
		padding-inline: var(--gutter);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--gutter);
		scrollbar-width: none;
	}
	.similar__track > li { flex: 0 0 72%; scroll-snap-align: start; }

	.products-grid { gap: 14px; }
	.product-card__body { padding: 14px; }
	.product-card__name { font-size: 20px; }
	.product-card__cta { font-size: 13px; }
}

@media (max-width: 479px) {
	.site-nav__aside { flex-direction: column-reverse; align-items: stretch; }
	.site-nav__aside .btn { width: 100%; }
	.usp__text { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
}
