/* =====================================================================
   Flowaivo.V1 v2 — « Le Poinçon » — Auto Nama
   Noir profond, or estampé. Une seule couleur d'accent, utilisée
   comme une dorure à chaud : fine, précise, gravée.
   ===================================================================== */

:root {
	--noir: #0a0908;
	--carbone: #14120f;
	--graphite: #211e19;
	--or: #c9a227;
	--or-clair: #e8c55b;
	--ivoire: #f2ede4;
	--fumee: #9c948a;

	--font-display: "Cinzel", "Times New Roman", serif;
	--font-body: "Jost", "Segoe UI", system-ui, sans-serif;
	--font-data: "Spline Sans Mono", "Courier New", monospace;

	--w-content: 1180px;
	--pad-x: clamp(20px, 4vw, 48px);
	--radius: 2px;
	--rule: 1px solid rgba(201, 162, 39, 0.28);
	--rule-soft: 1px solid rgba(242, 237, 228, 0.09);
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--noir);
	color: var(--ivoire);
	font-family: var(--font-body);
	font-weight: 300;
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a {
	color: var(--or);
	text-decoration: none;
	transition: color 0.25s var(--ease);
}

a:hover {
	color: var(--or-clair);
}

:focus-visible {
	outline: 2px solid var(--or-clair);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	background: var(--or);
	color: var(--noir);
	padding: 10px 18px;
	font-weight: 500;
}

.skip-link:focus {
	left: 12px;
	top: 12px;
	color: var(--noir);
}

/* ---------- Typographie ---------- */
h1,
h2,
h3 {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.15;
	margin: 0 0 0.5em;
	text-wrap: balance;
}

.an-eyebrow {
	font-family: var(--font-data);
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--or);
	margin: 0 0 14px;
}

.an-eyebrow::before {
	content: "";
	display: inline-block;
	width: 26px;
	height: 1px;
	background: var(--or);
	vertical-align: middle;
	margin-right: 12px;
}

.an-section__title {
	font-size: clamp(1.7rem, 3.4vw, 2.6rem);
	max-width: 22ch;
}

.an-link {
	border-bottom: 1px solid rgba(201, 162, 39, 0.4);
	padding-bottom: 2px;
}

/* ---------- Boutons ---------- */
.an-btn {
	display: inline-block;
	background: var(--or);
	color: var(--noir);
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 15px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 14px 30px;
	border: 1px solid var(--or);
	border-radius: var(--radius);
	cursor: pointer;
	transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.an-btn:hover {
	background: var(--or-clair);
	border-color: var(--or-clair);
	color: var(--noir);
}

.an-btn--ghost {
	background: transparent;
	color: var(--or);
}

.an-btn--ghost:hover {
	background: rgba(201, 162, 39, 0.12);
	color: var(--or-clair);
}

.an-btn--small {
	padding: 9px 18px;
	font-size: 13px;
}

.an-btn--large {
	padding: 17px 40px;
	font-size: 16px;
}

/* ---------- Sceau (poinçon) ---------- */
.an-seal {
	display: block;
	color: var(--or);
}

.an-seal__ring {
	transform-origin: 50% 50%;
	animation: an-seal-rotate 60s linear infinite;
}

.an-seal__mono,
.an-seal text {
	font-family: var(--font-display);
}

@keyframes an-seal-rotate {
	to {
		transform: rotate(360deg);
	}
}

/* ---------- En-tête ---------- */
.an-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(10, 9, 8, 0.86);
	backdrop-filter: blur(10px);
	border-bottom: var(--rule-soft);
	transition: background 0.3s var(--ease);
}

.an-header__inner {
	max-width: var(--w-content);
	margin: 0 auto;
	padding: 14px var(--pad-x);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.an-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--ivoire);
}

.an-brand:hover {
	color: var(--ivoire);
}

.an-brand__name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 20px;
	letter-spacing: 0.08em;
}

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

.an-nav__list {
	display: flex;
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.an-nav__list a {
	color: var(--ivoire);
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.03em;
	padding-bottom: 3px;
	border-bottom: 1px solid transparent;
	transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.an-nav__list a:hover,
.an-nav__list .current-menu-item a {
	color: var(--or-clair);
	border-bottom-color: var(--or);
}

.an-burger {
	display: none;
	background: none;
	border: 1px solid rgba(242, 237, 228, 0.2);
	border-radius: var(--radius);
	padding: 12px 10px;
	cursor: pointer;
}

.an-burger__line {
	display: block;
	width: 22px;
	height: 1.5px;
	background: var(--ivoire);
	margin: 4px 0;
	transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.an-burger[aria-expanded="true"] .an-burger__line:first-child {
	transform: translateY(2.75px) rotate(45deg);
}

.an-burger[aria-expanded="true"] .an-burger__line:last-child {
	transform: translateY(-2.75px) rotate(-45deg);
}

/* ---------- Hero : lavage au défilement ---------- */
.an-hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: flex-end;
	overflow: clip;
	isolation: isolate;
}

.an-hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.an-hero__layer {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.an-hero__layer--dirty {
	filter: grayscale(0.85) sepia(0.4) brightness(0.55) contrast(0.85);
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
	will-change: clip-path;
}

.an-hero__squeegee {
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s var(--ease);
}

.an-hero__squeegee.is-active {
	opacity: 1;
}

.an-hero__foam {
	position: absolute;
	top: -10%;
	bottom: -10%;
	left: 0;
	width: 3px;
	background: linear-gradient(var(--or) 0%, var(--or-clair) 50%, var(--or) 100%);
	box-shadow:
		0 0 14px rgba(232, 197, 91, 0.35),
		-6px 12vh 0 -1px rgba(242, 237, 228, 0.55),
		-14px 34vh 0 0 rgba(242, 237, 228, 0.4),
		-8px 55vh 0 -1px rgba(242, 237, 228, 0.5),
		-18px 76vh 0 0 rgba(242, 237, 228, 0.35),
		-10px 92vh 0 -1px rgba(242, 237, 228, 0.45);
	transform: translateX(var(--wash-x, 100vw)) rotate(4deg);
}

.an-hero__grain {
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
	mix-blend-mode: overlay;
	pointer-events: none;
}

.an-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(10, 9, 8, 0.35) 0%, rgba(10, 9, 8, 0.15) 45%, rgba(10, 9, 8, 0.92) 100%);
}

.an-hero__content {
	position: relative;
	max-width: var(--w-content);
	margin: 0 auto;
	padding: 120px var(--pad-x) clamp(72px, 12vh, 130px);
	width: 100%;
}

.an-hero__title {
	font-size: clamp(2.4rem, 6vw, 4.4rem);
	font-weight: 800;
	max-width: 16ch;
	margin-bottom: 0.4em;
}

.an-hero__title em {
	font-style: normal;
	color: var(--or);
}

.an-hero__lead {
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
	color: var(--ivoire);
	max-width: 52ch;
	margin: 0 0 30px;
}

.an-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.an-hero__seal {
	position: absolute;
	top: clamp(90px, 14vh, 140px);
	right: clamp(20px, 5vw, 64px);
	opacity: 0.85;
}

.an-hero__hint {
	position: absolute;
	bottom: 18px;
	left: 50%;
	transform: translateX(-50%);
	font-family: var(--font-data);
	font-size: 11.5px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--fumee);
	transition: opacity 0.4s var(--ease);
}

.an-hero__hint.is-hidden {
	opacity: 0;
}

/* ---------- Bande intro ---------- */
.an-strip {
	border-top: var(--rule);
	border-bottom: var(--rule);
	background: var(--carbone);
}

.an-strip__text {
	max-width: 880px;
	margin: 0 auto;
	padding: clamp(34px, 5vw, 56px) var(--pad-x);
	font-family: var(--font-display);
	font-size: clamp(1.15rem, 2.2vw, 1.55rem);
	font-weight: 500;
	letter-spacing: 0.02em;
	text-align: center;
	line-height: 1.5;
}

/* ---------- Sections génériques ---------- */
.an-section {
	max-width: var(--w-content);
	margin: 0 auto;
	padding: clamp(64px, 9vw, 110px) var(--pad-x) 0;
}

.an-section__head {
	margin-bottom: clamp(34px, 5vw, 56px);
}

/* ---------- Piliers ---------- */
.an-pillars__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.an-pillar {
	position: relative;
	display: block;
	background: var(--carbone);
	border: var(--rule-soft);
	border-radius: var(--radius);
	overflow: hidden;
	color: var(--ivoire);
	transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.an-pillar:hover {
	border-color: rgba(201, 162, 39, 0.5);
	color: var(--ivoire);
	transform: translateY(-3px);
}

.an-pillar__media {
	height: 280px;
	background-size: cover;
	background-position: center;
	filter: saturate(0.9);
	transition: filter 0.4s var(--ease), transform 0.6s var(--ease);
}

.an-pillar:hover .an-pillar__media {
	filter: saturate(1.05);
}

.an-pillar__body {
	padding: 26px 28px 30px;
}

.an-pillar__title {
	font-size: 1.35rem;
	color: var(--or);
}

.an-pillar__body p {
	color: var(--fumee);
	margin: 0 0 16px;
}

.an-pillar__count {
	font-family: var(--font-data);
	font-size: 12.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--or);
	border: 1px solid rgba(201, 162, 39, 0.4);
	padding: 5px 12px;
	border-radius: var(--radius);
}

/* ---------- Onglets ---------- */
.an-tabs__bar {
	display: flex;
	gap: 4px;
	border-bottom: var(--rule);
	margin-bottom: 34px;
	overflow-x: auto;
}

.an-tabs__tab {
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	color: var(--fumee);
	font-family: var(--font-body);
	font-size: 15.5px;
	font-weight: 400;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 12px 20px;
	cursor: pointer;
	white-space: nowrap;
	transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.an-tabs__tab:hover {
	color: var(--ivoire);
}

.an-tabs__tab.is-active {
	color: var(--or);
	border-bottom-color: var(--or);
}

.an-tabs__panel[hidden] {
	display: none;
}

/* ---------- Fiches atelier ---------- */
.an-catalog__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
	margin-bottom: 24px;
}

.an-catalog__pillar-title {
	font-size: clamp(1.3rem, 2.4vw, 1.7rem);
	color: var(--or);
	margin: 44px 0 24px;
}

.an-catalog__pillar-title:first-of-type {
	margin-top: 0;
}

.an-fiche {
	position: relative;
	background: var(--carbone);
	border: var(--rule-soft);
	border-radius: var(--radius);
	padding: 24px 24px 20px;
	overflow: hidden;
	transition: border-color 0.3s var(--ease);
}

.an-fiche:hover {
	border-color: rgba(201, 162, 39, 0.45);
}

.an-fiche__head {
	display: flex;
	align-items: baseline;
	gap: 14px;
	border-bottom: 1px dashed rgba(242, 237, 228, 0.14);
	padding-bottom: 12px;
	margin-bottom: 14px;
}

.an-fiche__no {
	font-family: var(--font-data);
	font-size: 12.5px;
	letter-spacing: 0.1em;
	color: var(--or);
	border: 1px solid rgba(201, 162, 39, 0.45);
	padding: 3px 8px;
	border-radius: var(--radius);
	flex-shrink: 0;
}

.an-fiche__title {
	font-size: 1.08rem;
	margin: 0;
}

.an-fiche__desc {
	color: var(--fumee);
	font-size: 15px;
	margin: 0 0 16px;
	min-height: 3.2em;
}

.an-fiche__meta {
	display: flex;
	gap: 26px;
	margin: 0 0 16px;
	border-top: 1px dashed rgba(242, 237, 228, 0.14);
	padding-top: 12px;
}

.an-fiche__meta div {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.an-fiche__meta dt {
	font-family: var(--font-data);
	font-size: 10.5px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--fumee);
}

.an-fiche__meta dd {
	margin: 0;
	font-family: var(--font-data);
	font-size: 14px;
	color: var(--ivoire);
}

.an-fiche__meta--large dd {
	font-size: 17px;
	color: var(--or);
}

.an-fiche__link {
	font-size: 14px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border-bottom: 1px solid rgba(201, 162, 39, 0.4);
	padding-bottom: 2px;
}

.an-fiche__stamp {
	position: absolute;
	right: -8px;
	bottom: -10px;
	opacity: 0;
	transform: scale(1.5) rotate(8deg);
	transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
	pointer-events: none;
	color: rgba(201, 162, 39, 0.35);
}

.an-fiche:hover .an-fiche__stamp {
	opacity: 1;
	transform: scale(1) rotate(-6deg);
}

/* ---------- Processus ---------- */
.an-process__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	border-top: var(--rule);
	border-bottom: var(--rule);
}

.an-process__step {
	padding: 34px 26px 38px;
	border-left: 1px dashed rgba(242, 237, 228, 0.12);
}

.an-process__step:first-child {
	border-left: none;
}

.an-process__no {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--or);
	border-radius: 50%;
	font-family: var(--font-data);
	font-size: 15px;
	color: var(--or);
	margin-bottom: 16px;
}

.an-process__step h3 {
	font-size: 1.05rem;
}

.an-process__step p {
	color: var(--fumee);
	font-size: 15px;
	margin: 0;
}

/* ---------- Pourquoi nous ---------- */
.an-why {
	padding-bottom: 0;
}

.an-why__inner {
	background: var(--carbone);
	border: var(--rule-soft);
	border-radius: var(--radius);
	padding: clamp(34px, 5vw, 60px);
}

.an-why__stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
	margin: 0 0 34px;
}

.an-why__stat {
	border-left: 2px solid var(--or);
	padding-left: 18px;
}

.an-why__stat dt {
	font-family: var(--font-data);
	font-size: 11.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fumee);
	margin-bottom: 6px;
}

.an-why__stat dd {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 3.4vw, 2.6rem);
	font-weight: 700;
	color: var(--ivoire);
	line-height: 1;
}

.an-why__proofs {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px 34px;
}

.an-why__proofs li {
	position: relative;
	padding-left: 26px;
	color: var(--ivoire);
}

.an-why__proofs li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 14px;
	height: 1.5px;
	background: var(--or);
}

/* ---------- Avant / après ---------- */
.an-ba__frame {
	position: relative;
	height: clamp(320px, 55vw, 560px);
	border: var(--rule);
	border-radius: var(--radius);
	overflow: hidden;
	touch-action: pan-y;
}

.an-ba__img {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.an-ba__img--before {
	filter: grayscale(0.85) sepia(0.4) brightness(0.55) contrast(0.85);
	clip-path: inset(0 50% 0 0);
}

.an-ba__handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	background: var(--or);
	pointer-events: none;
}

.an-ba__handle span {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 42px;
	height: 42px;
	border: 1px solid var(--or);
	border-radius: 50%;
	background: rgba(10, 9, 8, 0.8);
}

.an-ba__handle span::before,
.an-ba__handle span::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 8px;
	height: 8px;
	border-top: 1.5px solid var(--or);
	border-left: 1.5px solid var(--or);
}

.an-ba__handle span::before {
	left: 9px;
	transform: translateY(-50%) rotate(-45deg);
}

.an-ba__handle span::after {
	right: 9px;
	transform: translateY(-50%) rotate(135deg);
}

.an-ba__range {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: ew-resize;
	margin: 0;
}

.an-ba__tag {
	position: absolute;
	bottom: 16px;
	font-family: var(--font-data);
	font-size: 11.5px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	background: rgba(10, 9, 8, 0.72);
	border: 1px solid rgba(201, 162, 39, 0.4);
	color: var(--ivoire);
	padding: 6px 12px;
	border-radius: var(--radius);
	pointer-events: none;
}

.an-ba__tag--before {
	left: 16px;
}

.an-ba__tag--after {
	right: 16px;
}

/* ---------- Équipe ---------- */
.an-team__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.an-team__grid--full {
	grid-template-columns: repeat(3, 1fr);
}

.an-member {
	background: var(--carbone);
	border: var(--rule-soft);
	border-radius: var(--radius);
	padding: 0 0 22px;
	overflow: hidden;
	transition: border-color 0.3s var(--ease);
}

.an-member:hover {
	border-color: rgba(201, 162, 39, 0.4);
}

.an-member__photo {
	height: 320px;
	background-size: cover;
	background-position: center top;
	filter: saturate(0.85);
	margin-bottom: 18px;
	transition: filter 0.4s var(--ease);
}

.an-member:hover .an-member__photo {
	filter: saturate(1);
}

.an-member__name {
	font-size: 1.1rem;
	margin: 0 22px 4px;
}

.an-member__role {
	font-family: var(--font-data);
	font-size: 12.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--or);
	margin: 0 22px 10px;
}

.an-member__bio {
	color: var(--fumee);
	font-size: 14.5px;
	margin: 0 22px;
}

.an-team__more {
	margin-top: 30px;
}

/* ---------- Témoignages ---------- */
.an-quotes__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.an-quote {
	margin: 0;
	background: var(--carbone);
	border: var(--rule-soft);
	border-left: 2px solid var(--or);
	border-radius: var(--radius);
	padding: 26px 28px;
}

.an-quote p {
	font-size: 16.5px;
	margin: 0 0 16px;
}

.an-quote cite {
	font-style: normal;
	font-weight: 500;
	display: block;
}

.an-quote__meta {
	font-family: var(--font-data);
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--fumee);
}

/* ---------- Localisation ---------- */
.an-map__inner {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 40px;
	align-items: center;
}

.an-map__address,
.an-contact__address {
	font-style: normal;
	margin: 0 0 16px;
	line-height: 1.8;
}

.an-map__hours {
	color: var(--fumee);
	margin: 0 0 24px;
}

.an-map__embed {
	border: var(--rule);
	border-radius: var(--radius);
	overflow: hidden;
	height: 380px;
}

.an-map__embed iframe {
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(1) invert(0.92) contrast(0.9);
}

/* ---------- CTA ---------- */
.an-cta {
	margin-top: clamp(64px, 9vw, 110px);
	border-top: var(--rule);
	background:
		radial-gradient(ellipse at 50% 120%, rgba(201, 162, 39, 0.13), transparent 62%),
		var(--carbone);
}

.an-cta__inner {
	max-width: 760px;
	margin: 0 auto;
	padding: clamp(64px, 9vw, 100px) var(--pad-x);
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.an-cta__title {
	font-size: clamp(1.6rem, 3.2vw, 2.4rem);
}

.an-cta__text {
	color: var(--fumee);
	margin: 0 0 22px;
}

/* ---------- Entêtes de pages internes ---------- */
.an-page-head {
	max-width: var(--w-content);
	margin: 0 auto;
	padding: clamp(64px, 9vw, 100px) var(--pad-x) 0;
}

.an-page-head__title {
	font-size: clamp(2rem, 4.6vw, 3.2rem);
	font-weight: 800;
}

.an-page-head__lead {
	font-size: 1.15rem;
	color: var(--fumee);
	max-width: 56ch;
	margin: 0;
}

/* ---------- Histoire / valeurs / certifs ---------- */
.an-story__inner {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 44px;
	align-items: center;
}

.an-story__media {
	border: var(--rule);
	border-radius: var(--radius);
	overflow: hidden;
}

.an-story__media img {
	width: 100%;
	filter: saturate(0.9);
}

.an-values__grid,
.an-certs__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.an-certs__list {
	grid-template-columns: repeat(4, 1fr);
}

.an-value,
.an-cert {
	background: var(--carbone);
	border: var(--rule-soft);
	border-radius: var(--radius);
	padding: 26px 26px 28px;
	transition: border-color 0.3s var(--ease);
}

.an-value:hover,
.an-cert:hover {
	border-color: rgba(201, 162, 39, 0.4);
}

.an-value h3,
.an-cert h3 {
	font-size: 1.02rem;
	color: var(--or);
}

.an-value p,
.an-cert p {
	color: var(--fumee);
	font-size: 15px;
	margin: 0;
}

.an-cert__seal {
	display: block;
	margin-bottom: 14px;
	opacity: 0.85;
}

/* ---------- Réservation multi-étapes ---------- */
.an-contact__grid {
	display: grid;
	grid-template-columns: 1.7fr 1fr;
	gap: 36px;
	align-items: start;
}

.an-resa {
	background: var(--carbone);
	border: var(--rule);
	border-radius: var(--radius);
	padding: clamp(24px, 4vw, 40px);
}

.an-resa__steps {
	list-style: none;
	display: flex;
	gap: 8px;
	margin: 0 0 30px;
	padding: 0;
}

.an-resa__steps li {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-data);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--fumee);
	border-bottom: 2px solid rgba(242, 237, 228, 0.12);
	padding-bottom: 10px;
	transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.an-resa__steps li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border: 1px solid currentColor;
	border-radius: 50%;
	font-size: 11px;
}

.an-resa__steps li.is-active,
.an-resa__steps li.is-done {
	color: var(--or);
	border-bottom-color: var(--or);
}

.an-resa__step {
	border: none;
	margin: 0 0 26px;
	padding: 0;
}

.an-resa.is-enhanced .an-resa__step {
	display: none;
}

.an-resa.is-enhanced .an-resa__step.is-active {
	display: block;
}

.an-resa__legend {
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	padding: 0;
	margin-bottom: 18px;
}

.an-resa__group-label {
	font-family: var(--font-data);
	font-size: 11.5px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--or);
	margin: 22px 0 10px;
}

.an-resa__group-label:first-of-type {
	margin-top: 0;
}

.an-resa__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 10px;
}

.an-resa__opt {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 3px;
	background: var(--noir);
	border: 1px solid rgba(242, 237, 228, 0.12);
	border-radius: var(--radius);
	padding: 13px 15px;
	cursor: pointer;
	transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.an-resa__opt:hover {
	border-color: rgba(201, 162, 39, 0.5);
}

.an-resa__opt input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.an-resa__opt:has(input:checked) {
	border-color: var(--or);
	background: rgba(201, 162, 39, 0.1);
}

.an-resa__opt:has(input:focus-visible) {
	outline: 2px solid var(--or-clair);
	outline-offset: 2px;
}

.an-resa__opt-name {
	font-size: 15px;
	font-weight: 400;
}

.an-resa__opt-meta {
	font-family: var(--font-data);
	font-size: 12px;
	color: var(--fumee);
}

.an-resa__fields {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px 18px;
}

.an-resa__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.an-resa__field--full {
	grid-column: 1 / -1;
}

.an-resa__field label {
	font-family: var(--font-data);
	font-size: 11.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fumee);
}

.an-resa__field input,
.an-resa__field select,
.an-resa__field textarea {
	background: var(--noir);
	border: 1px solid rgba(242, 237, 228, 0.15);
	border-radius: var(--radius);
	color: var(--ivoire);
	font-family: var(--font-body);
	font-size: 15.5px;
	padding: 11px 13px;
	transition: border-color 0.25s var(--ease);
}

.an-resa__field input:focus,
.an-resa__field select:focus,
.an-resa__field textarea:focus {
	border-color: var(--or);
	outline: none;
}

.an-resa__field input::placeholder,
.an-resa__field textarea::placeholder {
	color: rgba(156, 148, 138, 0.6);
}

.an-resa__field select {
	color-scheme: dark;
}

.an-resa__field input[type="date"] {
	color-scheme: dark;
}

.an-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.an-resa__nav {
	display: flex;
	gap: 12px;
	margin-top: 8px;
}

.an-resa__error {
	color: var(--or-clair);
	font-size: 14.5px;
	margin: 12px 0 0;
}

.an-alert {
	max-width: var(--w-content);
	margin: 24px auto 0;
	border-radius: var(--radius);
	padding: 16px 22px;
}

.an-alert p {
	margin: 0;
}

.an-alert--ok {
	background: rgba(201, 162, 39, 0.12);
	border: 1px solid rgba(201, 162, 39, 0.5);
}

.an-alert--warn {
	background: rgba(232, 197, 91, 0.08);
	border: 1px solid rgba(232, 197, 91, 0.45);
}

.an-contact__aside {
	background: var(--carbone);
	border: var(--rule-soft);
	border-radius: var(--radius);
	padding: 30px;
	position: relative;
	overflow: hidden;
}

.an-contact__aside-title {
	font-size: 1.15rem;
}

.an-contact__phone {
	font-family: var(--font-data);
	font-size: 1.35rem;
	margin: 0 0 12px;
}

.an-contact__seal {
	position: absolute;
	right: -14px;
	bottom: -18px;
	opacity: 0.25;
}

/* ---------- Prose ---------- */
.an-prose {
	max-width: 760px;
	padding-bottom: clamp(64px, 9vw, 110px);
}

.an-prose a {
	border-bottom: 1px solid rgba(201, 162, 39, 0.4);
}

/* ---------- Service single ---------- */
.an-service-single {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 40px;
	align-items: start;
	padding-bottom: clamp(64px, 9vw, 110px);
}

.an-service-single__media img {
	border: var(--rule);
	border-radius: var(--radius);
}

/* ---------- Pied de page ---------- */
.an-footer {
	margin-top: clamp(64px, 9vw, 110px);
	border-top: var(--rule);
	background: var(--carbone);
}

.an-footer__inner {
	max-width: var(--w-content);
	margin: 0 auto;
	padding: clamp(44px, 6vw, 70px) var(--pad-x) 40px;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 36px;
}

.an-footer__seal {
	display: block;
	margin-bottom: 18px;
	opacity: 0.9;
}

.an-footer__tag {
	color: var(--fumee);
	font-size: 15px;
	max-width: 34ch;
	margin: 0;
}

.an-footer__title {
	font-family: var(--font-data);
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--or);
	margin: 0 0 14px;
	font-weight: 500;
}

.an-footer__address,
.an-footer__hours {
	font-style: normal;
	color: var(--ivoire);
	line-height: 1.9;
	margin: 0;
}

.an-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.an-footer__menu a {
	color: var(--ivoire);
}

.an-footer__menu a:hover {
	color: var(--or-clair);
}

.an-footer__bar {
	border-top: var(--rule-soft);
	max-width: var(--w-content);
	margin: 0 auto;
	padding: 20px var(--pad-x);
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-size: 13.5px;
	color: var(--fumee);
}

.an-footer__bar p {
	margin: 0;
}

/* ---------- Révélations au défilement ---------- */
[data-reveal] {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

[data-reveal].is-in {
	opacity: 1;
	transform: none;
}

.no-js [data-reveal] {
	opacity: 1;
	transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
	.an-process__list {
		grid-template-columns: repeat(2, 1fr);
	}

	.an-process__step:nth-child(3) {
		border-left: none;
	}

	.an-process__step {
		border-top: 1px dashed rgba(242, 237, 228, 0.12);
	}

	.an-process__step:nth-child(-n + 2) {
		border-top: none;
	}

	.an-why__stats,
	.an-certs__list {
		grid-template-columns: repeat(2, 1fr);
	}

	.an-team__grid,
	.an-team__grid--full,
	.an-values__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.an-map__inner,
	.an-story__inner,
	.an-service-single {
		grid-template-columns: 1fr;
	}

	.an-contact__grid {
		grid-template-columns: 1fr;
	}

	.an-footer__inner {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 760px) {
	body {
		font-size: 16px;
	}

	.an-burger {
		display: block;
	}

	.an-nav {
		position: fixed;
		inset: 0;
		top: 0;
		z-index: 90;
		flex-direction: column;
		justify-content: center;
		gap: 34px;
		background: rgba(10, 9, 8, 0.97);
		transform: translateX(100%);
		transition: transform 0.35s var(--ease);
	}

	.an-nav.is-open {
		transform: none;
	}

	.an-nav__list {
		flex-direction: column;
		align-items: center;
		gap: 24px;
	}

	.an-nav__list a {
		font-size: 20px;
	}

	.an-burger {
		position: relative;
		z-index: 95;
	}

	.an-pillars__grid,
	.an-quotes__grid,
	.an-team__grid,
	.an-team__grid--full,
	.an-values__grid,
	.an-why__proofs,
	.an-resa__fields {
		grid-template-columns: 1fr;
	}

	.an-process__list {
		grid-template-columns: 1fr;
	}

	.an-process__step {
		border-left: none;
	}

	.an-why__stats,
	.an-certs__list {
		grid-template-columns: 1fr 1fr;
	}

	.an-hero__seal {
		display: none;
	}

	.an-footer__inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.an-footer__bar {
		flex-direction: column;
		gap: 4px;
	}

	.an-member__photo {
		height: 300px;
	}
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001s !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001s !important;
	}

	.an-seal__ring {
		animation: none;
	}

	.an-hero__layer--dirty,
	.an-hero__squeegee,
	.an-hero__hint {
		display: none;
	}

	[data-reveal] {
		opacity: 1;
		transform: none;
	}
}

@media print {
	.an-header,
	.an-footer,
	.an-hero__media,
	.an-cta {
		display: none;
	}

	body {
		background: #fff;
		color: #000;
	}
}
