/* ============================================
   gilles-lesieur.fr
   Site dédié au Dr Gilles Lesieur, chirurgien ophtalmologiste
   ============================================ */

/* ============================================
   Variables
   ============================================ */

:root {
	/* Palette */
	--navy: #14304a;
	--navy-deep: #0c1f31;
	--navy-soft: #2c4866;
	--cream: #f4f0e8;
	--cream-light: #fbf8f2;
	--off-white: #ffffff;
	--terracotta: #b94a3e;
	--terracotta-deep: #9c3c33;
	--terracotta-light: #d8a99e;
	--rule: #d7cfc0;
	--ink: #1a1a1a;
	--ink-soft: #4a4a4a;
	--gray: #f4f0e8;

	/* Typographie */
	--font-display: 'Fraunces', 'Times New Roman', serif;
	--font-body: 'Public Sans', system-ui, -apple-system, sans-serif;

	/* Espaces */
	--space-xs: 0.5rem;
	--space-sm: 1rem;
	--space-md: 1.5rem;
	--space-lg: 2.5rem;
	--space-xl: 4rem;

	/* Layout */
	--maxw: 1240px;
	--maxw-text: 720px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--header-h: 78px;

	/* Transitions */
	--ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Reset et bases
   ============================================ */

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-h);
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--cream);
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a {
	color: var(--navy);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	text-decoration-color: var(--terracotta);
	transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

a:hover {
	color: var(--terracotta);
}

/* ============================================
   Typographie générale
   ============================================ */

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 500;
	color: var(--navy);
	letter-spacing: -0.015em;
	line-height: 1.12;
	margin: 0 0 0.9em;
}

h1 {
	font-size: clamp(2.4rem, 5.5vw, 4.4rem);
	font-weight: 400;
	letter-spacing: -0.025em;
	line-height: 1.05;
}

h2 {
	font-size: clamp(1.7rem, 3.2vw, 2.6rem);
	font-weight: 400;
}

h3 {
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	font-weight: 500;
}

p {
	margin: 0 0 1.1em;
}

p:last-child {
	margin-bottom: 0;
}

.lede {
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 2.2vw, 1.55rem);
	line-height: 1.45;
	font-weight: 300;
	font-style: italic;
	color: var(--navy);
	margin-bottom: 1.6em;
}

/* ============================================
   Layout
   ============================================ */

.container {
	max-width: var(--maxw);
	margin: 0 auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

.container--narrow {
	max-width: 920px;
}

.container--text {
	max-width: var(--maxw-text);
}

.section {
	padding-top: clamp(3.5rem, 6vw, 5.5rem);
	padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.section--gray {
	background: var(--cream-light);
}

.section--navy {
	background: var(--navy);
	color: var(--cream);
}

.section--navy h2,
.section--navy h3 {
	color: var(--cream);
}

.section__header {
	margin-bottom: var(--space-lg);
	max-width: 60ch;
}

.section__label {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--terracotta-deep);
	margin-bottom: 1.2rem;
	padding-bottom: 0.4rem;
	border-bottom: 1px solid var(--terracotta);
}

/* ============================================
   Header
   ============================================ */

.header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid var(--rule);
}

/* Effet glass sur un pseudo-élément pour ne pas créer
   de containing block pour les enfants en position: fixed
   (le menu mobile en a besoin) */
.header::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(244, 240, 232, 0.94);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	z-index: -1;
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 1.1rem var(--gutter);
	max-width: var(--maxw);
	margin: 0 auto;
}

.header__logo {
	font-family: var(--font-display);
	font-size: 1.3rem;
	font-weight: 500;
	color: var(--navy);
	text-decoration: none;
	letter-spacing: -0.01em;
	line-height: 1.1;
}

.header__logo:hover {
	color: var(--navy);
}

.header__logo small {
	display: block;
	font-family: var(--font-body);
	font-size: 0.7rem;
	font-weight: 400;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin-top: 0.2em;
}

.header__nav {
	display: flex;
	align-items: center;
	gap: 1.4rem;
}

.header__nav a {
	font-size: 0.94rem;
	text-decoration: none;
	color: var(--ink);
	font-weight: 500;
	white-space: nowrap;
}

.header__nav a:hover {
	color: var(--terracotta);
}

.header__nav a.active {
	color: var(--terracotta);
}

/* Sous-menu déroulant */
.header__nav .has-submenu {
	position: relative;
	display: flex;
	align-items: center;
}

.header__nav .submenu-toggle {
	background: transparent;
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	font: inherit;
	color: inherit;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 500;
	font-size: 0.94rem;
	line-height: 1;
	white-space: nowrap;
}

.header__nav .submenu-toggle::after {
	content: '';
	display: inline-block;
	width: 0.45em;
	height: 0.45em;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-25%);
	transition: transform 0.25s var(--ease);
	margin-left: 0.15em;
}

.header__nav .submenu-toggle:hover {
	color: var(--terracotta);
}

.header__nav .submenu-toggle.is-section {
	color: var(--terracotta);
}

.header__nav .submenu {
	position: absolute;
	top: calc(100% + 0.6rem);
	left: 50%;
	transform: translateX(-50%) translateY(-6px);
	min-width: 220px;
	background: var(--cream);
	border: 1px solid var(--rule);
	border-top: 3px solid var(--terracotta);
	padding: 0.4rem 0;
	margin: 0;
	list-style: none;
	box-shadow: 0 12px 28px rgba(20, 48, 74, 0.1);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s linear 0.18s;
	z-index: 110;
}

/* Pont invisible qui couvre l'espace entre le bouton et le sous-menu,
   pour éviter que le hover ne se perde lors de la descente vers les items */
.header__nav .submenu::before {
	content: '';
	position: absolute;
	top: -0.9rem;
	left: 0;
	right: 0;
	height: 0.9rem;
}

.header__nav .has-submenu:hover .submenu,
.header__nav .has-submenu.is-open .submenu,
.header__nav .has-submenu:focus-within .submenu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
	transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s linear 0s;
}

.header__nav .has-submenu:hover .submenu-toggle::after,
.header__nav .has-submenu.is-open .submenu-toggle::after {
	transform: rotate(-135deg) translateY(0);
}

.header__nav .submenu li {
	display: block;
}

.header__nav .submenu a {
	display: block;
	padding: 0.7rem 1.2rem;
	font-size: 0.92rem;
	font-weight: 400;
	color: var(--ink);
	white-space: nowrap;
}

.header__nav .submenu a:hover {
	background: var(--cream-light);
	color: var(--terracotta);
}

.header__nav .submenu a.active {
	color: var(--terracotta);
	font-weight: 500;
}

.header__burger {
	display: none;
	background: transparent;
	border: 0;
	cursor: pointer;
	padding: 0.5rem;
	width: 44px;
	height: 44px;
	position: relative;
}

.header__burger span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--navy);
	margin: 5px auto;
	transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.header__burger.is-open span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.header__burger.is-open span:nth-child(2) {
	opacity: 0;
}

.header__burger.is-open span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 880px) {
	.header__burger {
		display: block;
	}
	.header__nav {
		position: fixed;
		top: var(--header-h);
		left: 0;
		right: 0;
		bottom: 0;
		background: var(--cream);
		flex-direction: column;
		justify-content: flex-start;
		padding: 2.5rem var(--gutter);
		gap: 1.5rem;
		transform: translateX(100%);
		transition: transform 0.35s var(--ease);
		align-items: flex-start;
		overflow-y: auto;
	}
	.header__nav.is-open {
		transform: translateX(0);
	}
	.header__nav a {
		font-family: var(--font-display);
		font-size: 1.5rem;
		font-weight: 400;
	}
	.header__nav .btn {
		margin-top: 1rem;
	}

	/* Sous-menu en mobile : déplié au tap, à plat dans la liste */
	.header__nav .has-submenu {
		width: 100%;
		display: block;
	}
	.header__nav .submenu-toggle {
		font-family: var(--font-display);
		font-size: 1.5rem;
		font-weight: 400;
		width: 100%;
		justify-content: space-between;
		text-align: left;
	}
	.header__nav .submenu {
		position: static;
		transform: none;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		box-shadow: none;
		border: 0;
		border-left: 2px solid var(--rule);
		padding: 0.5rem 0 0.5rem 1.2rem;
		margin: 0.6rem 0 0;
		min-width: 0;
		background: transparent;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s var(--ease);
	}
	.header__nav .has-submenu.is-open .submenu {
		max-height: 600px;
	}
	/* Surcharger les transforms desktop pour les états ouverts en mobile */
	.header__nav .has-submenu:hover .submenu,
	.header__nav .has-submenu.is-open .submenu,
	.header__nav .has-submenu:focus-within .submenu {
		transform: none;
	}
	.header__nav .submenu a {
		padding: 0.5rem 0;
		font-family: var(--font-display);
		font-size: 1.15rem;
		font-weight: 400;
	}
}

/* ============================================
   Boutons
   ============================================ */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 0.9rem 1.7rem;
	font-family: var(--font-body);
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-decoration: none;
	border-radius: 2px;
	transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
	border: 1px solid transparent;
	cursor: pointer;
	line-height: 1.2;
	white-space: nowrap;
}

.btn i {
	color: inherit;
	line-height: 1;
	font-size: 0.95em;
}

.btn--sm {
	padding: 0.55rem 1.1rem;
	font-size: 0.86rem;
	letter-spacing: 0.035em;
	gap: 0.4rem;
}

.btn--primary {
	background: var(--terracotta);
	color: #ffffff;
	border-color: var(--terracotta);
}

.btn--primary:hover {
	background: var(--terracotta-deep);
	border-color: var(--terracotta-deep);
	color: #ffffff;
}

.btn--ghost {
	background: transparent;
	color: var(--navy);
	border-color: var(--navy);
}

/* Spécificité augmentée pour gagner sur .header__nav a:hover */
.btn--ghost:hover,
.header__nav a.btn--ghost:hover {
	background: var(--navy);
	color: #ffffff;
}

.btn--white {
	background: var(--cream-light);
	color: var(--navy);
	border-color: var(--cream-light);
}

.btn--white:hover {
	background: transparent;
	color: #ffffff;
	border-color: #ffffff;
}

.btn--outline {
	background: transparent;
	color: var(--navy);
	border-color: var(--navy);
}

.btn--outline:hover {
	background: var(--navy);
	color: #ffffff;
	border-color: var(--navy);
}

/* ============================================
   Rayures marinière (signature)
   ============================================ */

.stripes {
	height: 14px;
	background-image: repeating-linear-gradient(
		90deg,
		var(--navy) 0 14px,
		transparent 14px 28px
	);
	opacity: 0.85;
}

.stripes--thin {
	height: 6px;
	background-image: repeating-linear-gradient(
		90deg,
		var(--navy) 0 8px,
		transparent 8px 16px
	);
	opacity: 0.55;
}

/* ============================================
   Hero (Accueil)
   ============================================ */

.hero {
	padding-top: clamp(3rem, 6vw, 5.5rem);
	padding-bottom: clamp(2rem, 4vw, 3rem);
	position: relative;
	overflow: hidden;
}

.hero__grid {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

@media (max-width: 880px) {
	.hero__grid {
		grid-template-columns: 1fr;
	}
}

.hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--terracotta-deep);
	margin-bottom: 1.8rem;
}

.hero__eyebrow::before {
	content: '';
	width: 32px;
	height: 1px;
	background: var(--terracotta);
}

.hero__title {
	font-style: italic;
	font-weight: 300;
	margin-bottom: 1.4rem;
}

.hero__title em {
	font-style: normal;
	color: var(--terracotta);
	font-weight: 400;
}

.hero__intro {
	max-width: 36em;
	margin-bottom: 2.2rem;
	font-size: 1.05rem;
	color: var(--ink-soft);
}

.hero__cta {
	display: flex;
	gap: 0.9rem;
	flex-wrap: wrap;
}

.hero__image {
	position: relative;
	aspect-ratio: 4/5;
}

.hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.hero__image::after {
	content: '';
	position: absolute;
	inset: auto -16px -16px auto;
	width: 80px;
	height: 80px;
	background-image: repeating-linear-gradient(45deg, var(--navy) 0 4px, transparent 4px 10px);
	z-index: -1;
}

/* ============================================
   Bandeau facts
   ============================================ */

.facts {
	background: var(--navy);
	color: var(--cream);
}

.facts__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	padding: 2.5rem 0;
}

@media (max-width: 820px) {
	.facts__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.facts__grid {
		grid-template-columns: 1fr;
	}
}

.fact h3 {
	font-family: var(--font-body);
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(244, 240, 232, 0.6);
	margin-bottom: 0.5rem;
}

.fact p {
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 400;
	font-style: italic;
	color: var(--cream);
	line-height: 1.35;
	margin: 0;
}

/* ============================================
   Prose
   ============================================ */

.prose {
	font-size: 1.05rem;
	color: var(--ink);
}

.prose p {
	margin-bottom: 1.25em;
}

.prose h3 {
	margin-top: 2.6rem;
	margin-bottom: 0.9rem;
}

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

.prose strong {
	font-weight: 600;
}

/* ============================================
   Split (texte + image)
   ============================================ */

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}

@media (max-width: 880px) {
	.split {
		grid-template-columns: 1fr;
	}
}

.figure {
	position: relative;
}

.figure img {
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
}

.figure--portrait img {
	aspect-ratio: 3/4;
}

.figure__caption {
	font-size: 0.85rem;
	color: var(--ink-soft);
	font-style: italic;
	margin-top: 0.7rem;
	font-family: var(--font-display);
}

/* ============================================
   Domaines (cards)
   ============================================ */

.domains-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2px;
	background: var(--rule);
	margin-top: 2.5rem;
}

@media (max-width: 880px) {
	.domains-grid {
		grid-template-columns: 1fr;
	}
}

.domain {
	background: var(--cream-light);
	padding: 2.2rem 1.8rem;
	display: flex;
	flex-direction: column;
}

.domain__num {
	font-family: var(--font-display);
	font-size: 0.85rem;
	font-style: italic;
	color: var(--terracotta);
	margin-bottom: 0.8rem;
	letter-spacing: 0.05em;
}

.domain h3 {
	font-size: 1.4rem;
	margin-bottom: 0.8rem;
}

.domain p {
	color: var(--ink-soft);
	font-size: 0.97rem;
	flex: 1;
}

.domain__link {
	margin-top: 1.2rem;
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	text-decoration: none;
	color: var(--navy);
	border-bottom: 1px solid var(--terracotta);
	align-self: flex-start;
	padding-bottom: 0.25rem;
	transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.domain__link:hover {
	color: var(--terracotta);
}

/* ============================================
   Bio (section navy)
   ============================================ */

.bio {
	background: var(--navy-deep);
	color: var(--cream);
}

.bio h2 {
	color: var(--cream);
}

.bio .section__label {
	color: var(--terracotta-light);
	border-bottom-color: var(--terracotta-light);
}

.bio .prose {
	color: rgba(244, 240, 232, 0.88);
}

.bio .prose strong {
	color: var(--cream);
	font-weight: 500;
}

.bio .figure img {
	aspect-ratio: 4/5;
	object-position: center;
}

.bio .figure__caption {
	color: rgba(244, 240, 232, 0.55);
}

/* ============================================
   Lieux d'exercice
   ============================================ */

.places {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--rule);
	margin-top: 3rem;
}

@media (max-width: 880px) {
	.places {
		grid-template-columns: 1fr;
	}
}

.place {
	background: var(--cream);
	padding: 2rem 1.8rem;
}

.place__step {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 2.4rem;
	color: var(--terracotta);
	line-height: 1;
	margin-bottom: 0.6rem;
}

.place h3 {
	font-size: 1.15rem;
	margin-bottom: 0.6rem;
}

.place p {
	color: var(--ink-soft);
	font-size: 0.97rem;
	margin: 0;
}

/* ============================================
   Zone géographique
   ============================================ */

.geo-cities {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 2rem;
}

.geo-city {
	display: inline-block;
	padding: 0.4rem 1rem;
	background: transparent;
	border: 1px solid var(--navy);
	color: var(--navy);
	font-size: 0.92rem;
	font-weight: 500;
	border-radius: 999px;
}

/* ============================================
   CTA finale
   ============================================ */

.cta {
	background: var(--navy);
	color: var(--cream);
	text-align: center;
	padding: clamp(4rem, 7vw, 6rem) 0;
}

.cta h2 {
	color: var(--cream);
	margin-bottom: 1.2rem;
}

.cta p {
	max-width: 50ch;
	margin: 0 auto 2rem;
	color: rgba(244, 240, 232, 0.85);
}

.cta__actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */

.footer {
	background: var(--navy-deep);
	color: rgba(244, 240, 232, 0.7);
	padding: 3.5rem 0 1.8rem;
	font-size: 0.92rem;
}

.footer a {
	color: var(--cream);
	text-decoration-color: var(--terracotta);
}

.footer__inner {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 3rem;
}

@media (max-width: 700px) {
	.footer__inner {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

.footer__brand {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 500;
	color: var(--cream);
	margin-bottom: 1rem;
	letter-spacing: -0.01em;
}

.footer__brand span {
	color: var(--terracotta-light);
}

.footer__text {
	color: rgba(244, 240, 232, 0.65);
	line-height: 1.65;
}

.footer__social {
	display: flex;
	gap: 0.6rem;
	margin-top: 1.2rem;
}

.footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(244, 240, 232, 0.3);
	color: var(--cream);
	text-decoration: none;
	border-radius: 50%;
	transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
	font-size: 1rem;
}

.footer__social a:hover {
	background: var(--terracotta);
	border-color: var(--terracotta);
	color: var(--cream-light);
}

.footer__title {
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--cream);
	margin-bottom: 1rem;
}

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

.footer__links li {
	margin-bottom: 0.5rem;
	line-height: 1.6;
}

.footer__bottom {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(244, 240, 232, 0.15);
	font-size: 0.85rem;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
}

.footer__bottom a {
	margin-left: 0.3rem;
}

/* ============================================
   Page Chirurgie réfractive
   ============================================ */

.page-hero {
	padding-top: clamp(3rem, 5vw, 4.5rem);
	padding-bottom: clamp(2rem, 4vw, 3.5rem);
	border-bottom: 1px solid var(--rule);
}

.page-hero h1 {
	margin-bottom: 1.2rem;
	max-width: 16ch;
}

.page-hero .lede {
	margin: 0;
	max-width: 38em;
}

/* Layout : sommaire flottant + contenu */
.refractive {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 4rem;
	align-items: flex-start;
}

@media (max-width: 880px) {
	.refractive {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

/* Sommaire (TOC flottant avec scrollspy) */
.toc {
	position: sticky;
	top: calc(var(--header-h) + 2rem);
	font-family: var(--font-body);
	font-size: 0.93rem;
	max-height: calc(100vh - var(--header-h) - 4rem);
	overflow-y: auto;
}

@media (max-width: 880px) {
	.toc {
		position: static;
		padding: 1.2rem 1.4rem;
		background: var(--cream-light);
		border-left: 3px solid var(--terracotta);
		max-height: none;
	}
}

.toc__label {
	font-size: 0.72rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--terracotta);
	margin: 0 0 1.2rem;
	font-weight: 600;
}

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

.toc li {
	margin: 0;
}

.toc a {
	text-decoration: none;
	color: var(--ink-soft);
	border-left: 2px solid var(--rule);
	padding: 0.6rem 0 0.6rem 1rem;
	display: block;
	line-height: 1.4;
	transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.toc a:hover {
	color: var(--terracotta);
	border-left-color: var(--terracotta);
}

.toc a.is-active {
	color: var(--navy);
	border-left-color: var(--terracotta);
	font-weight: 600;
}

/* Contenu Chirurgie réfractive */
.refractive h2 {
	margin-top: 3rem;
	margin-bottom: 1rem;
	scroll-margin-top: calc(var(--header-h) + 1rem);
}

.refractive h2:first-of-type {
	margin-top: 0;
}

.refractive h2 + .subtitle {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 300;
	color: var(--terracotta);
	font-size: 1.05rem;
	margin-bottom: 1.8rem;
}

.refractive h3 {
	margin-top: 2.4rem;
	margin-bottom: 0.9rem;
	font-size: 1.25rem;
	scroll-margin-top: calc(var(--header-h) + 1rem);
}

.refractive__rule {
	height: 1px;
	background: var(--rule);
	margin: 3.5rem 0;
}

/* Images décoratives intégrées */
.refractive__figure {
	margin: 2.5rem 0;
}

.refractive__figure img {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
}

.refractive__figure--portrait img {
	aspect-ratio: 3/2;
}

.refractive__figure figcaption {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 0.9rem;
	color: var(--ink-soft);
	margin-top: 0.7rem;
}

/* Callout */
.callout {
	padding: 2rem 2rem;
	background: var(--cream-light);
	border-left: 3px solid var(--terracotta);
	margin: 2rem 0;
}

.callout h3 {
	margin-top: 0 !important;
	color: var(--navy);
}

.callout p {
	margin-bottom: 0;
}

/* Utilitaires accessibilité */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* À retenir : encart court pour le lecteur rapide */
.keypoint {
	margin: 1.6rem 0 2rem;
	padding: 1.4rem 1.6rem;
	background: transparent;
	border-left: 3px solid var(--terracotta);
	font-family: var(--font-body);
}

.keypoint__label {
	display: block;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--terracotta-deep);
	margin-bottom: 0.8rem;
}

.keypoint p {
	margin: 0;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 400;
	font-size: 1.1rem;
	line-height: 1.45;
	color: var(--navy);
}

/* Variante numérotée pour le lecteur rapide */
.keypoint__list {
	counter-reset: kp-counter;
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.7rem;
}

.keypoint__list li {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.05rem;
	line-height: 1.4;
	color: var(--navy);
	padding-left: 1.6rem;
	position: relative;
}

.keypoint__list li::before {
	content: counter(kp-counter, decimal-leading-zero);
	counter-increment: kp-counter;
	position: absolute;
	left: 0;
	top: 0;
	font-family: var(--font-body);
	font-style: normal;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	color: var(--terracotta);
	line-height: 2;
}

/* Phrase-clé : pour faire ressortir une idée structurante dans le corps */
.prose .lead-sentence {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 400;
	font-size: 1.15rem;
	line-height: 1.5;
	color: var(--navy);
	display: block;
	margin-bottom: 0.5em;
}

/* ============================================
   Animations
   ============================================ */

@keyframes fade-up {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in {
	opacity: 0;
	animation: fade-up 0.8s var(--ease) forwards;
}

.stagger > .fade-in:nth-child(1) { animation-delay: 0.05s; }
.stagger > .fade-in:nth-child(2) { animation-delay: 0.15s; }
.stagger > .fade-in:nth-child(3) { animation-delay: 0.25s; }
.stagger > .fade-in:nth-child(4) { animation-delay: 0.35s; }

.hero__title,
.hero__intro,
.hero__cta,
.hero__image,
.hero__eyebrow {
	animation: fade-up 0.8s var(--ease) backwards;
}

.hero__eyebrow { animation-delay: 0.05s; }
.hero__title   { animation-delay: 0.15s; }
.hero__intro   { animation-delay: 0.3s; }
.hero__cta     { animation-delay: 0.45s; }
.hero__image   { animation-delay: 0.1s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.fade-in {
		opacity: 1;
	}
}

/* ============================================
   Back to top
   ============================================ */

.back-to-top {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--navy);
	color: var(--cream-light);
	border: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s var(--ease), background 0.2s var(--ease);
	z-index: 50;
	font-size: 0.9rem;
}

.back-to-top:hover {
	background: var(--terracotta);
}

.back-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
}

/* ============================================
   Page Contact
   ============================================ */

.contact-hero-figure {
	margin: 0 auto clamp(2rem, 4vw, 3rem);
	max-width: 100%;
	position: relative;
}

.contact-hero-figure img {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
}

.contact-hero-figure figcaption {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 0.95rem;
	color: var(--ink-soft);
	margin-top: 0.7rem;
	text-align: center;
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2.5rem, 5vw, 4.5rem);
	align-items: start;
}

@media (max-width: 880px) {
	.contact-grid {
		grid-template-columns: 1fr;
	}
}

.contact-info h3 {
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--terracotta);
	margin-bottom: 0.6rem;
	margin-top: 2rem;
}

.contact-info h3:first-child {
	margin-top: 0;
}

.contact-info p {
	font-family: var(--font-display);
	font-size: 1.3rem;
	line-height: 1.45;
	color: var(--navy);
	margin-bottom: 0;
	font-weight: 400;
}

.contact-info a:not(.btn) {
	color: var(--navy);
	text-decoration: none;
	border-bottom: 1px solid var(--terracotta);
	padding-bottom: 0.1rem;
	transition: color 0.2s var(--ease);
}

.contact-info a:not(.btn):hover {
	color: var(--terracotta);
}

.contact-info .booking-note {
	font-size: 1rem;
	font-style: italic;
	color: var(--ink-soft);
	line-height: 1.6;
	margin-top: 0.4rem;
	font-family: var(--font-body);
}

.contact-actions {
	display: flex;
	gap: 0.8rem;
	flex-wrap: wrap;
	margin-top: 1.6rem;
}

/* Bloc carte + liens */
.map-block {
	position: sticky;
	top: calc(var(--header-h) + 2rem);
}

.map-container {
	position: relative;
	aspect-ratio: 4/3;
	background: var(--rule);
	overflow: hidden;
}

.map-frame {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	pointer-events: none;
	transition: pointer-events 0.1s;
}

.map-container.is-active .map-frame {
	pointer-events: auto;
}

.map-overlay-hint {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(20, 48, 74, 0.04);
	color: var(--navy);
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1rem;
	text-align: center;
	padding: 1rem;
	cursor: pointer;
	pointer-events: auto;
	transition: opacity 0.2s var(--ease);
}

.map-container.is-active .map-overlay-hint {
	opacity: 0;
	pointer-events: none;
}

.map-links {
	margin-top: 1.4rem;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 1.8rem;
	justify-content: flex-start;
}

.map-links a {
	color: var(--navy);
	text-decoration: none;
	font-size: 1rem;
	border-bottom: 1px solid var(--terracotta);
	display: inline-block;
	padding-bottom: 0.15rem;
	transition: color 0.2s var(--ease);
}

.map-links a:hover {
	color: var(--terracotta);
}

.map-links a .external-arrow {
	font-size: 0.85em;
	margin-left: 0.2rem;
	color: var(--ink-soft);
}

/* Accès */
.access-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2px;
	background: var(--rule);
	margin-top: 2.5rem;
}

@media (max-width: 600px) {
	.access-grid {
		grid-template-columns: 1fr;
	}
}

.access {
	background: var(--cream);
	padding: 2rem 1.8rem;
}

.access__icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--cream-light);
	color: var(--terracotta);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	font-size: 1.1rem;
	border: 1px solid var(--rule);
}

.access h3 {
	font-size: 1.15rem;
	margin-bottom: 0.6rem;
}

.access p {
	color: var(--ink-soft);
	font-size: 0.97rem;
	margin: 0;
}

/* Tableau horaires */
.hours-table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--font-body);
	margin-top: 1rem;
}

.hours-table th,
.hours-table td {
	padding: 0.95rem 0.5rem;
	text-align: left;
	border-bottom: 1px solid var(--rule);
	vertical-align: middle;
}

.hours-table th {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.05rem;
	color: var(--navy);
	width: 28%;
	letter-spacing: 0;
}

.hours-table td {
	font-size: 0.98rem;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
}

.hours-table tr:last-child th,
.hours-table tr:last-child td {
	border-bottom: 0;
}

.hours-table__closed th,
.hours-table__closed td {
	color: var(--ink-soft);
}

.hours-table__closed td {
	font-style: italic;
}

@media (max-width: 520px) {
	.hours-table th { width: 35%; }
	.hours-table th,
	.hours-table td {
		padding: 0.85rem 0.4rem;
		font-size: 0.94rem;
	}
}
