/* ============================================
   PRELEX.FR - Feuille de styles principale
   ============================================ */

/* --- Variables --- */
:root {
	/* Couleurs principales */
	--navy: #1B3252;
	--sky: #5BA4CF;
	--gold: #C49A6C;

	/* Couleurs dérivées */
	--navy-light: #243d62;
	--navy-dark: #111f33;
	--sky-light: #7dbde0;
	--sky-pale: #e8f2f9;
	--gold-light: #d4b48e;
	--gold-dark: #a8834f;

	/* Neutres */
	--white: #ffffff;
	--off-white: #f7f8fa;
	--gray-100: #f0f1f3;
	--gray-200: #e0e2e6;
	--gray-300: #c5c8ce;
	--gray-400: #8b909a;
	--gray-500: #6b7080;
	--gray-600: #4a4e57;
	--gray-700: #2e3138;
	--black: #1a1c20;

	/* Typographie */
	--font-heading: 'Outfit', sans-serif;
	--font-body: 'DM Sans', sans-serif;

	/* Tailles */
	--text-xs: 0.8125rem;
	--text-sm: 0.9375rem;
	--text-base: 1.0625rem;
	--text-lg: 1.25rem;
	--text-xl: 1.5rem;
	--text-2xl: 2rem;
	--text-3xl: 2.5rem;
	--text-4xl: 3.25rem;

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

	/* Rayons */
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 16px;
	--radius-full: 9999px;

	/* Ombres */
	--shadow-sm: 0 1px 3px rgba(27, 50, 82, 0.08);
	--shadow-md: 0 4px 12px rgba(27, 50, 82, 0.1);
	--shadow-lg: 0 8px 30px rgba(27, 50, 82, 0.12);

	/* Transitions */
	--transition-fast: 0.2s ease;
	--transition-base: 0.3s ease;
	--transition-slow: 0.5s ease;

	/* Largeurs */
	--container-max: 1200px;
	--container-narrow: 800px;
}


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

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: var(--font-body);
	font-size: var(--text-base);
	line-height: 1.7;
	color: var(--gray-700);
	background-color: var(--white);
}

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

a {
	color: var(--sky);
	text-decoration: none;
	transition: color var(--transition-fast);
}

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


/* --- Typographie --- */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 600;
	color: var(--navy);
	line-height: 1.25;
}

h1 {
	font-size: var(--text-4xl);
	font-weight: 700;
	letter-spacing: -0.02em;
}

h2 {
	font-size: var(--text-3xl);
	letter-spacing: -0.01em;
}

h3 {
	font-size: var(--text-xl);
}

h4 {
	font-size: var(--text-lg);
}

p {
	margin-bottom: var(--space-sm);
}

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

.text-accent {
	color: var(--gold);
}

.text-sky {
	color: var(--sky);
}

.text-light {
	color: var(--gray-400);
}

.text-center {
	text-align: center;
}


/* --- Layout --- */
.container {
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--space-md);
}

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

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

.section--gray {
	background-color: var(--off-white);
}

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

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

.section__header {
	text-align: center;
	margin-bottom: var(--space-xl);
}

.section__header p {
	font-size: var(--text-lg);
	color: var(--gray-500);
	max-width: 600px;
	margin: var(--space-sm) auto 0;
}

.section__label {
	font-family: var(--font-heading);
	font-size: var(--text-sm);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--gold);
	display: block;
	margin-bottom: var(--space-sm);
}

.grid {
	display: grid;
	gap: var(--space-lg);
}

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

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

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


/* --- Header --- */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background-color: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--gray-200);
	transition: box-shadow var(--transition-base);
}

.header--scrolled {
	box-shadow: var(--shadow-md);
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--space-md);
}

.header__logo {
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-weight: 700;
	color: var(--navy);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.header__logo span {
	color: var(--gold);
}

.header__nav {
	display: flex;
	align-items: center;
	gap: var(--space-lg);
}

.header__nav a {
	font-family: var(--font-heading);
	font-size: var(--text-sm);
	font-weight: 500;
	color: var(--gray-600);
	transition: color var(--transition-fast);
	position: relative;
}

.header__nav a::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--gold);
	transition: width var(--transition-base);
}

.header__nav a:hover,
.header__nav a.active {
	color: var(--navy);
}

.header__nav a:hover::after,
.header__nav a.active::after {
	width: 100%;
}

.header__burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	padding: 8px;
	background: none;
	border: none;
}

.header__burger span {
	display: block;
	width: 24px;
	height: 2px;
	background-color: var(--navy);
	transition: transform var(--transition-base), opacity var(--transition-base);
}

.header__burger.active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

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

.header__burger.active span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}


/* --- Boutons --- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: var(--space-xs);
	font-family: var(--font-heading);
	font-size: var(--text-sm);
	font-weight: 600;
	padding: 14px 32px;
	border-radius: var(--radius-full);
	border: none;
	cursor: pointer;
	transition: all var(--transition-base);
	text-decoration: none;
}

.btn--primary {
	background-color: var(--gold);
	color: var(--white);
}

.btn--primary:hover {
	background-color: var(--gold-dark);
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(196, 154, 108, 0.35);
}

.btn--secondary {
	background-color: var(--navy);
	color: var(--white);
}

.btn--secondary:hover {
	background-color: var(--navy-light);
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(27, 50, 82, 0.35);
}

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

.btn--outline:hover {
	background-color: var(--navy);
	color: var(--white);
}

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

.btn--white:hover {
	background-color: var(--off-white);
	color: var(--navy);
	transform: translateY(-2px);
}

.btn--sm {
	padding: 10px 24px;
	font-size: var(--text-xs);
}

.btn i {
	font-size: 0.85em;
}


/* --- Hero --- */
.hero {
	position: relative;
	min-height: 85vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	margin-top: 72px;
}

.hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-color: var(--navy-dark);
}

.hero__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(17, 31, 51, 0.85) 0%, rgba(27, 50, 82, 0.6) 100%);
}

.hero__content {
	position: relative;
	z-index: 2;
	max-width: 650px;
	color: var(--white);
	padding: var(--space-xl) 0;
}

.hero__content h1 {
	color: var(--white);
	margin-bottom: var(--space-md);
}

.hero__content p {
	font-size: var(--text-lg);
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: var(--space-lg);
	line-height: 1.8;
}

.hero__actions {
	display: flex;
	gap: var(--space-sm);
	flex-wrap: wrap;
}


/* --- Hero page intérieure --- */
.hero--page {
	min-height: 45vh;
}

.hero--page .hero__content {
	max-width: 750px;
}

.hero--page .hero__content p {
	margin-bottom: 0;
}


/* --- Contenu page --- */
.content {
	max-width: var(--container-narrow);
	margin: 0 auto;
}

.content h2 {
	margin-top: var(--space-xl);
	margin-bottom: var(--space-md);
}

.content h3 {
	margin-top: var(--space-lg);
	margin-bottom: var(--space-sm);
}

.content p {
	color: var(--gray-600);
	line-height: 1.85;
}

.content strong {
	color: var(--navy);
	font-weight: 600;
}

.content a {
	color: var(--sky);
	text-decoration: underline;
	text-decoration-color: var(--sky-light);
	text-underline-offset: 3px;
}

.content a:hover {
	color: var(--navy);
	text-decoration-color: var(--navy);
}


/* --- Bloc image-texte dans le contenu --- */
.content-media {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-xl);
	align-items: center;
	margin: var(--space-xl) 0;
}

.content-media--reverse {
	direction: rtl;
}

.content-media--reverse > * {
	direction: ltr;
}

.content-media__image {
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
}

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

.content-media__body h2 {
	margin-top: 0;
	margin-bottom: var(--space-md);
}

.content-media__body h3 {
	margin-top: var(--space-sm);
	margin-bottom: var(--space-xs);
}


/* --- Bouton retour en haut --- */
.back-to-top {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background-color: var(--navy);
	color: var(--white);
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: var(--text-base);
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base), background-color var(--transition-fast);
	z-index: 900;
}

.back-to-top.visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-to-top:hover {
	background-color: var(--gold);
	transform: translateY(-2px);
}


/* --- Timeline / Étapes --- */
.timeline {
	position: relative;
	padding: var(--space-lg) 0;
	padding-left: 28px;
}

.timeline::before {
	content: '';
	position: absolute;
	left: 28px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: linear-gradient(to bottom, var(--sky-light), var(--gold-light));
}

.timeline__step {
	position: relative;
	padding-left: 52px;
	padding-bottom: var(--space-lg);
}

.timeline__step:last-child {
	padding-bottom: 0;
}

.timeline__marker {
	position: absolute;
	left: -28px;
	top: 0;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--white);
	border: 2px solid var(--sky);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: var(--text-lg);
	color: var(--sky);
	z-index: 2;
	transition: all var(--transition-base);
}

.timeline__step:hover .timeline__marker {
	background: var(--sky);
	color: var(--white);
	transform: scale(1.1);
}

.timeline__content h3 {
	font-size: var(--text-lg);
	line-height: 56px;
	margin: 0;
}

.timeline__content p {
	color: var(--gray-500);
	font-size: var(--text-sm);
	line-height: 1.75;
	margin-top: var(--space-xs);
}


/* --- Highlight box --- */
.highlight {
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
	border-radius: var(--radius-lg);
	padding: var(--space-xl);
	color: var(--white);
	display: grid;
	grid-template-columns: auto 1fr;
	gap: var(--space-lg);
	align-items: center;
	margin: var(--space-xl) 0;
}

.highlight__icon {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: var(--text-2xl);
	color: var(--gold-light);
}

.highlight__body h3 {
	color: var(--white);
	margin-bottom: var(--space-xs);
}

.highlight__body p {
	color: rgba(255, 255, 255, 0.8);
	font-size: var(--text-sm);
	line-height: 1.75;
}


/* --- Comparaison deux colonnes --- */
.compare {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-md);
	margin: var(--space-xl) 0;
}

.compare__col {
	border-radius: var(--radius-lg);
	padding: var(--space-lg);
}

.compare__col--dim {
	background: var(--gray-100);
	border: 1px solid var(--gray-200);
}

.compare__col--accent {
	background: linear-gradient(135deg, var(--sky-pale) 0%, rgba(196, 154, 108, 0.08) 100%);
	border: 2px solid var(--sky);
	position: relative;
}

.compare__badge {
	position: absolute;
	top: -12px;
	left: var(--space-md);
	background: var(--sky);
	color: var(--white);
	font-family: var(--font-heading);
	font-size: var(--text-xs);
	font-weight: 600;
	padding: 4px 14px;
	border-radius: var(--radius-full);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.compare__col h3 {
	font-size: var(--text-lg);
	margin-bottom: var(--space-md);
}

.compare__item {
	display: flex;
	align-items: flex-start;
	gap: var(--space-xs);
	margin-bottom: var(--space-sm);
	font-size: var(--text-sm);
	color: var(--gray-600);
	line-height: 1.6;
}

.compare__item i {
	margin-top: 3px;
	flex-shrink: 0;
}

.compare__item i.fa-check {
	color: var(--sky);
}

.compare__item i.fa-xmark {
	color: var(--gray-300);
}


/* --- Bannière image pleine largeur --- */
.banner {
	position: relative;
	height: 350px;
	overflow: hidden;
	margin: var(--space-xl) 0;
	border-radius: var(--radius-lg);
}

.banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.banner__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(27, 50, 82, 0.8) 0%, transparent 70%);
	display: flex;
	align-items: center;
	padding: var(--space-xl);
}

.banner__text {
	max-width: 450px;
	color: var(--white);
}

.banner__text h3 {
	color: var(--white);
	font-size: var(--text-2xl);
	margin-bottom: var(--space-xs);
}

.banner__text p {
	color: rgba(255, 255, 255, 0.85);
	font-size: var(--text-sm);
	line-height: 1.75;
}


/* --- FAQ Accordéon --- */
.faq-group {
	margin-bottom: var(--space-xl);
}

.faq-group__title {
	font-family: var(--font-heading);
	font-size: var(--text-lg);
	font-weight: 600;
	color: var(--navy);
	margin-bottom: var(--space-md);
	padding-bottom: var(--space-xs);
	border-bottom: 2px solid var(--gold);
	display: flex;
	align-items: center;
	gap: var(--space-sm);
}

.faq-group__title i {
	color: var(--gold);
	font-size: var(--text-base);
}

.faq-item {
	border-bottom: 1px solid var(--gray-200);
}

.faq-item:last-child {
	border-bottom: none;
}

.faq-item__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: var(--space-md) 0;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	font-family: var(--font-heading);
	font-size: var(--text-base);
	font-weight: 600;
	color: var(--navy);
	line-height: 1.4;
	transition: color var(--transition-fast);
}

.faq-item__question:hover {
	color: var(--sky);
}

.faq-item__icon {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--off-white);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: var(--space-md);
	transition: all var(--transition-base);
}

.faq-item__icon i {
	font-size: var(--text-xs);
	color: var(--gray-400);
	transition: transform var(--transition-base);
}

.faq-item.open .faq-item__icon {
	background: var(--sky);
}

.faq-item.open .faq-item__icon i {
	color: var(--white);
	transform: rotate(180deg);
}

.faq-item__answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item__answer__inner {
	padding-bottom: var(--space-md);
	color: var(--gray-500);
	font-size: var(--text-sm);
	line-height: 1.85;
}

.faq-item__answer__inner a {
	color: var(--sky);
	text-decoration: underline;
	text-decoration-color: var(--sky-light);
	text-underline-offset: 3px;
}

.faq-item__answer__inner a:hover {
	color: var(--navy);
}


/* --- Bloc chiffres / stats --- */
.stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-md);
	padding: var(--space-lg) 0;
}

.stats__item {
	text-align: center;
	padding: var(--space-md);
}

.stats__number {
	font-family: var(--font-heading);
	font-size: var(--text-3xl);
	font-weight: 700;
	color: var(--navy);
	line-height: 1;
	margin-bottom: var(--space-xs);
}

.stats__number span {
	color: var(--gold);
}

.stats__label {
	font-size: var(--text-sm);
	color: var(--gray-400);
}


/* --- Cards --- */
.card {
	background-color: var(--white);
	border-radius: var(--radius-lg);
	padding: var(--space-lg);
	box-shadow: var(--shadow-sm);
	transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.card__icon {
	width: 56px;
	height: 56px;
	border-radius: var(--radius-md);
	background-color: var(--sky-pale);
	color: var(--sky);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: var(--text-xl);
	margin-bottom: var(--space-md);
}

.card__icon--gold {
	background-color: rgba(196, 154, 108, 0.12);
	color: var(--gold);
}

.card__title {
	font-family: var(--font-heading);
	font-size: var(--text-lg);
	font-weight: 600;
	color: var(--navy);
	margin-bottom: var(--space-xs);
}

.card__text {
	color: var(--gray-500);
	font-size: var(--text-sm);
	line-height: 1.7;
}


/* --- Bloc médecin --- */
.doctor {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-xl);
	align-items: center;
}

.doctor__image {
	border-radius: var(--radius-lg);
	overflow: hidden;
	aspect-ratio: 4/5;
}

.doctor__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.doctor__content h2 {
	margin-bottom: var(--space-md);
}

.doctor__content p {
	color: var(--gray-500);
	margin-bottom: var(--space-sm);
}


/* --- CTA Section --- */
.cta {
	text-align: center;
	padding: var(--space-2xl) var(--space-md);
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
	color: var(--white);
	border-radius: 0;
}

.cta h2 {
	color: var(--white);
	margin-bottom: var(--space-sm);
}

.cta p {
	font-size: var(--text-lg);
	color: rgba(255, 255, 255, 0.8);
	max-width: 550px;
	margin: 0 auto var(--space-lg);
}


/* --- Footer --- */
.footer {
	background-color: var(--navy-dark);
	color: rgba(255, 255, 255, 0.6);
	padding: var(--space-xl) 0 var(--space-lg);
}

.footer__inner {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: var(--space-xl);
}

.footer__brand {
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-weight: 700;
	color: var(--white);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: var(--space-sm);
}

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

.footer__text {
	font-size: var(--text-sm);
	line-height: 1.8;
}

.footer__title {
	font-family: var(--font-heading);
	font-size: var(--text-sm);
	font-weight: 600;
	color: var(--white);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: var(--space-md);
}

.footer__links {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: var(--space-xs);
}

.footer__links a {
	font-size: var(--text-sm);
	color: rgba(255, 255, 255, 0.6);
	transition: color var(--transition-fast);
}

.footer__links a:hover {
	color: var(--gold);
}

.footer__links a.active {
	color: var(--gold);
}

.footer__bottom {
	margin-top: var(--space-xl);
	padding-top: var(--space-md);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: var(--text-xs);
}

.footer__bottom a {
	color: rgba(255, 255, 255, 0.6);
}

.footer__bottom a:hover {
	color: var(--gold);
}


/* --- Animations --- */
.fade-in {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

.fade-in-left {
	opacity: 0;
	transform: translateX(-24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
	opacity: 1;
	transform: translateX(0);
}

.fade-in-right {
	opacity: 0;
	transform: translateX(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
	opacity: 1;
	transform: translateX(0);
}

.stagger > * {
	transition-delay: calc(var(--i, 0) * 0.1s);
}


/* --- Responsive --- */
@media (max-width: 1024px) {
	h1 {
		font-size: var(--text-3xl);
	}

	h2 {
		font-size: var(--text-2xl);
	}

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

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

	.doctor {
		gap: var(--space-lg);
	}

	.footer__inner {
		grid-template-columns: 1fr 1fr;
	}

	/* --- Menu hamburger --- */
	.header__burger {
		display: flex;
		position: relative;
		z-index: 1100;
	}

	.header__nav {
		display: flex;
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		height: 100dvh;
		background: var(--white);
		flex-direction: column;
		justify-content: center;
		align-items: center;
		padding: var(--space-xl) var(--space-md);
		gap: var(--space-lg);
		transform: translateX(100%);
		transition: transform var(--transition-base);
		z-index: 1050;
		overflow: hidden;
	}

	.header__nav.open {
		transform: translateX(0);
	}

	.header__nav a {
		font-size: var(--text-xl);
	}

	.header__nav a::after {
		display: none;
	}
}

@media (max-width: 768px) {
	:root {
		--text-4xl: 2.5rem;
		--text-3xl: 2rem;
		--text-2xl: 1.625rem;
		--space-2xl: 4rem;
		--space-xl: 3rem;
	}

	.hero {
		min-height: 70vh;
	}

	.hero--page {
		min-height: 40vh;
	}

	.stats {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.content-media {
		grid-template-columns: 1fr;
		gap: var(--space-lg);
	}

	.content-media--reverse {
		direction: ltr;
	}

	.compare {
		grid-template-columns: 1fr;
	}

	.highlight {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.highlight__icon {
		margin: 0 auto;
	}

	.banner {
		height: 280px;
	}

	.banner__overlay {
		background: linear-gradient(to top, rgba(27, 50, 82, 0.85) 0%, transparent 100%);
		align-items: flex-end;
		padding: var(--space-md);
	}

	.grid--2,
	.grid--3,
	.grid--4 {
		grid-template-columns: 1fr;
	}

	.doctor {
		grid-template-columns: 1fr;
	}

	.doctor__image {
		aspect-ratio: 3/4;
		max-height: 450px;
	}

	.hero__actions {
		flex-direction: column;
	}

	.hero__actions .btn {
		text-align: center;
		justify-content: center;
	}

	.footer__inner {
		grid-template-columns: 1fr;
		gap: var(--space-lg);
	}

	.footer__bottom {
		flex-direction: column;
		gap: var(--space-xs);
		text-align: center;
	}
}
