/*
Theme Name: Sciurus
Theme URI: https://www.sciurus-agence.fr/
Author: Nicolas Lécureuil — Sciurus Web & Formation
Author URI: https://www.sciurus-agence.fr/
Description: Thème sur mesure de Sciurus Web & Formation. Page d'accueil une page (services, réalisations, formations, méthode, à propos, contact), formations et réalisations gérées depuis l'administration, formulaire de contact intégré. Sans constructeur de pages.
Version: 1.13.2
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sciurus
*/

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

:root {
	--navy: #1A2B3C;
	--steel: #3B4C5D;
	--amber: #E0823E;
	--amber-text: #A6581F;   /* orange foncé : texte sur fond clair (contraste AA) */
	--paper: #F4F6F8;
	--white: #FFFFFF;
	--line: #DDE3E9;
	--on-dark-muted: #C9D1DA;
	--field-border: #7F8C9A;
	--ghost-border: #6B7C8F;
	--dot: #5A6B7E;
	--url-bar: #2A3D50;
	--success: #1F7A4D;
	--error: #B3261E;

	--font-title: 'Montserrat', sans-serif;
	--font-body: 'Open Sans', system-ui, sans-serif;
	--radius: 16px;
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } }

body {
	margin: 0;
	background: var(--paper);
	color: var(--navy);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
}

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

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

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
	outline: 3px solid var(--navy);
	outline-offset: 3px;
}
.on-dark :focus-visible { outline-color: var(--amber); }

.skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 100;
	background: var(--amber); color: var(--navy);
	font-family: var(--font-title); font-weight: 700;
	padding: 12px 18px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

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

.container { max-width: 1200px; margin: 0 auto; }
.container--narrow { max-width: 1100px; margin: 0 auto; }

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

.btn {
	display: inline-block;
	font-family: var(--font-title); font-weight: 700;
	text-decoration: none; border-radius: 8px;
	padding: 15px 28px;
}
.btn--amber { background: var(--amber); color: var(--navy); }
.btn--amber:hover { background: var(--paper); color: var(--navy); }
.btn--ghost {
	color: var(--paper); font-weight: 600;
	padding: 14px 26px; border: 1.5px solid var(--ghost-border);
}
.btn--ghost:hover { color: var(--amber); border-color: var(--amber); }
.btn--navy { background: var(--navy); color: var(--paper); padding: 16px 30px; }
.btn--navy:hover { background: var(--steel); color: var(--paper); }

/* ==========================================================================
   En-tête
   ========================================================================== */

.site-header { background: var(--navy); color: var(--paper); }
.site-header__inner {
	max-width: 1200px; margin: 0 auto; padding: 18px 24px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper); }
.brand:hover { color: var(--paper); }
.brand img { width: 44px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-title); font-weight: 800; font-size: 22px; letter-spacing: 0.02em; transition: color .15s; }
.brand__tag { font-family: var(--font-title); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; color: var(--on-dark-muted); }
.brand:hover .brand__name { color: var(--amber); }

.main-nav ul {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px;
	font-family: var(--font-title); font-weight: 600; font-size: 15px;
}
.main-nav a { display: block; color: var(--paper); text-decoration: none; padding: 10px 0; }
.main-nav a:hover { color: var(--amber); }
.main-nav .nav-cta a { background: var(--amber); color: var(--navy); padding: 11px 20px; border-radius: 8px; }
.main-nav .nav-cta a:hover { background: var(--paper); color: var(--navy); }

/* Menu burger : seulement sur petit écran et si JavaScript fonctionne (sinon le menu reste affiché). */
.nav-toggle { display: none; }
@media (max-width: 960px) {
	.js-nav .site-header__inner { padding-top: 14px; padding-bottom: 14px; }
	.js-nav .nav-toggle {
		display: inline-flex; align-items: center; gap: 10px;
		min-height: 48px; padding: 10px 14px;
		background: transparent; color: var(--paper);
		border: 2px solid rgba(255, 255, 255, .35); border-radius: 8px;
		font-family: var(--font-title); font-weight: 600; font-size: 15px; cursor: pointer;
	}
	.js-nav .nav-toggle:hover { border-color: var(--amber); color: var(--amber); }
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
		display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor;
		transition: transform .2s, background-color .2s;
	}
	.nav-toggle__bars { position: relative; }
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bars::before { top: -6px; }
	.nav-toggle__bars::after { top: 6px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background-color: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

	.js-nav .main-nav { display: none; flex-basis: 100%; }
	.js-nav .main-nav.is-open { display: block; }
	.js-nav .main-nav ul {
		flex-direction: column; align-items: stretch; gap: 0;
		padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 17px;
	}
	.js-nav .main-nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.js-nav .main-nav .nav-cta { margin-top: 16px; }
	.js-nav .main-nav .nav-cta a { text-align: center; padding: 14px 20px; border-bottom: 0; }
}
@media (max-width: 960px) and (prefers-reduced-motion: reduce) {
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { transition: none; }
}

/* Bouton « remonter en haut » : affiché après un peu de défilement (toujours visible sans JavaScript). */
.back-to-top {
	position: fixed; right: 24px; bottom: 24px; z-index: 50;
	display: flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 50%;
	background: var(--amber); color: var(--navy);
	box-shadow: 0 6px 18px rgba(26, 43, 60, .28);
	transition: opacity .2s, visibility .2s, transform .2s, background-color .15s;
}
.back-to-top:hover { background: var(--navy); color: var(--paper); }
.back-to-top:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.js-top .back-to-top { opacity: 0; visibility: hidden; transform: translateY(12px); }
.js-top .back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 600px) {
	.back-to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) { .back-to-top { transition: none; } }

/* ==========================================================================
   Sections communes
   ========================================================================== */

.section { padding: 96px 24px; }
.section--white { background: var(--white); border-top: 1px solid var(--line); }
.section--white.section--bordered { border-bottom: 1px solid var(--line); }
.section--flush-top { padding-top: 0; }

.section__inner { display: flex; flex-direction: column; gap: 48px; }

.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }

.eyebrow {
	margin: 0;
	font-family: var(--font-title); font-weight: 700; font-size: 14px;
	letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber-text);
}
.eyebrow--on-dark { font-weight: 600; color: var(--amber); }

.section-title {
	margin: 0;
	font-family: var(--font-title); font-weight: 800;
	font-size: clamp(1.9rem, 3.5vw, 2.6rem); line-height: 1.15;
}

.muted { margin: 0; color: var(--steel); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { background: var(--navy); color: var(--paper); overflow: hidden; }
.hero__inner {
	max-width: 1200px; margin: 0 auto; padding: 72px 24px 96px;
	display: flex; flex-wrap: wrap; align-items: center; gap: 56px;
}
.hero__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__title {
	margin: 0;
	font-family: var(--font-title); font-weight: 800;
	font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -0.01em;
}
.hero__lead { margin: 0; max-width: 560px; font-size: 19px; color: var(--on-dark-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 8px; }

.hero__visual { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; position: relative; }
.hero__lines { position: absolute; width: 120%; max-width: 520px; top: -10%; opacity: 0.55; }
.hero__logo {
	position: relative; width: 100%; max-width: 340px; aspect-ratio: 1; height: auto;
	filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35));
}

/* ==========================================================================
   Services
   ========================================================================== */

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }

.service-card {
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 32px 28px; display: flex; flex-direction: column; gap: 14px;
}
.service-card__icon {
	width: 52px; height: 52px; border-radius: 12px; background: var(--navy);
	display: flex; align-items: center; justify-content: center;
}
.service-card h3 { margin: 0; font-family: var(--font-title); font-weight: 700; font-size: 20px; }
.service-card p { margin: 0; color: var(--steel); font-size: 16px; }

/* ==========================================================================
   Réalisations
   ========================================================================== */

.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 28px; }

.project-card {
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; display: flex; flex-direction: column;
}
.project-card__bar { background: var(--navy); padding: 14px 18px; display: flex; align-items: center; gap: 8px; }
.project-card__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }
.project-card__dot:first-child { background: var(--amber); }
.project-card__url {
	margin-left: 10px; flex: 1; min-width: 0;
	background: var(--url-bar); color: var(--on-dark-muted);
	font-size: 13px; padding: 5px 12px; border-radius: 6px;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.project-card__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.project-card__type {
	font-family: var(--font-title); font-weight: 700; font-size: 13px;
	letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-text);
}
.project-card h3 { margin: 0; font-family: var(--font-title); font-weight: 700; font-size: 22px; }
.project-card p { margin: 0; color: var(--steel); font-size: 16px; flex-grow: 1; }
.project-card__link {
	align-self: flex-start;
	font-family: var(--font-title); font-weight: 700; color: var(--navy);
	text-decoration: none; border-bottom: 2px solid var(--amber); padding: 10px 0 2px;
}
.project-card__link:hover { color: var(--amber-text); }

/* ==========================================================================
   Tarifs
   ========================================================================== */

.offers-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.offer-card {
	flex: 1 1 300px; max-width: 370px; min-width: 0;
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 32px 28px; display: flex; flex-direction: column; gap: 12px;
}
.offer-card--featured { background: var(--navy); color: var(--paper); border-color: var(--navy); box-shadow: 0 18px 40px rgba(26, 43, 60, 0.22); }
.offer-card__tag {
	align-self: flex-start;
	font-family: var(--font-title); font-weight: 700; font-size: 12px;
	letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--amber-text); border: 1px solid rgba(166, 88, 31, 0.45); padding: 5px 10px; border-radius: 999px;
}
.offer-card--featured .offer-card__tag { color: var(--navy); background: var(--amber); border-color: var(--amber); }
.offer-card h3 { margin: 0; font-family: var(--font-title); font-weight: 700; font-size: 21px; }
.offer-card .offer-card__price { margin: 0; font-family: var(--font-title); font-weight: 700; font-size: 24px; color: var(--navy); }
.offer-card--featured .offer-card__price { color: var(--amber); }
.offer-card .offer-card__text { margin: 0; color: var(--steel); font-size: 16px; }
.offer-card--featured .offer-card__text { color: var(--on-dark-muted); }
.offer-card__list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; align-content: start; gap: 8px; font-size: 15px; flex-grow: 1; }
.offer-card__list li { position: relative; padding-left: 26px; }
.offer-card__list li::before {
	content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px;
	border-left: 2px solid var(--amber-text); border-bottom: 2px solid var(--amber-text); transform: rotate(-45deg);
}
.offer-card--featured .offer-card__list li::before { border-color: var(--amber); }
.offer-card__cta {
	margin-top: 8px; align-self: flex-start;
	font-family: var(--font-title); font-weight: 600; font-size: 15px;
	color: var(--navy); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 4px; text-decoration-thickness: 2px;
}
.offer-card__cta:hover { color: var(--amber-text); }
.offer-card--featured .offer-card__cta { color: var(--paper); }
.offer-card--featured .offer-card__cta:hover { color: var(--amber); }
.offers-note { margin: 28px auto 0; max-width: 760px; text-align: center; color: var(--steel); font-size: 15px; }

/* ==========================================================================
   Formations
   ========================================================================== */

.trainings { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.trainings__intro { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.trainings__grid {
	flex: 999 1 560px; min-width: 0;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 8px; }
.chip {
	background: var(--paper); border: 1px solid var(--line);
	padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
}
.trainings__note { margin: 0; color: var(--steel); font-size: 15px; }

.training-card {
	background: var(--navy); color: var(--paper); border-radius: var(--radius);
	padding: 28px; display: flex; flex-direction: column; gap: 10px;
}
.training-card__level {
	font-family: var(--font-title); font-weight: 700; font-size: 13px;
	letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber);
}
.training-card h3 { margin: 0; font-family: var(--font-title); font-weight: 700; font-size: 20px; }
.training-card p { margin: 0; color: var(--on-dark-muted); font-size: 16px; flex-grow: 1; }
.training-card .training-card__price {
	margin: 8px 0 0; flex-grow: 0;
	font-family: var(--font-title); font-weight: 600; font-size: 15px; color: var(--paper);
}

/* ==========================================================================
   Méthode
   ========================================================================== */

.steps {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px;
}
.step { display: flex; flex-direction: column; gap: 12px; border-top: 3px solid var(--navy); padding-top: 20px; }
.step__num { font-family: var(--font-title); font-weight: 800; font-size: 40px; line-height: 1; color: var(--amber-text); }
.step h3 { margin: 0; font-family: var(--font-title); font-weight: 700; font-size: 19px; }
.step p { margin: 0; color: var(--steel); font-size: 16px; }

/* ==========================================================================
   À propos
   ========================================================================== */

.about { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.about__photo {
	flex: 1 1 280px; min-width: 0; width: 100%; max-width: 380px; height: auto;
	aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px;
	box-shadow: 0 20px 40px rgba(26, 43, 60, 0.18);
}
.about__text { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about__lead { margin: 0; font-size: 19px; color: var(--navy); }

/* ==========================================================================
   Bandeau d'appel
   ========================================================================== */

.cta-band { background: var(--amber); padding: 64px 24px; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 {
	margin: 0; font-family: var(--font-title); font-weight: 800;
	font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--navy); line-height: 1.2;
}
.cta-band .btn--navy:focus-visible { outline-color: var(--navy); }

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

.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact__info { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.contact__details { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; font-weight: 600; }

.contact-form {
	position: relative;
	flex: 999 1 460px; min-width: 0;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 32px; display: flex; flex-direction: column; gap: 18px;
}
.contact-form__row { display: flex; flex-wrap: wrap; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.contact-form__row label { flex: 1 1 200px; }
.contact-form input, .contact-form select, .contact-form textarea {
	font: inherit; font-weight: 400;
	padding: 12px 14px; border: 1px solid var(--field-border); border-radius: 8px;
	background: var(--paper); min-height: 48px; color: var(--navy);
}
.contact-form textarea { resize: vertical; }
.contact-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form__legal { margin: 0; font-size: 14px; color: var(--steel); }
.contact-form__hint { margin: -6px 0 0; font-size: 14px; color: var(--steel); }
.contact-form .contact-form__consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 15px; color: var(--steel); }
.contact-form .contact-form__consent input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; flex-shrink: 0; accent-color: var(--navy); }
.contact-form button {
	align-self: flex-start;
	background: var(--navy); color: var(--paper); border: 0;
	font-family: var(--font-title); font-weight: 700; font-size: 16px;
	padding: 15px 30px; border-radius: 8px; cursor: pointer; min-height: 48px;
}
.contact-form button:hover { background: var(--steel); }
.contact-form button[disabled] { opacity: .6; cursor: wait; }
.contact-form__status { margin: 0; font-weight: 600; }
.contact-form__status.is-pending { color: var(--steel); }
.contact-form__status.is-success { color: var(--success); }
.contact-form__status.is-error { color: var(--error); }

/* ==========================================================================
   Pied de page
   ========================================================================== */

.site-footer { background: var(--navy); color: var(--on-dark-muted); padding: 40px 24px; }
/* Tout en bas, le bouton « remonter en haut » ne cache pas les liens du pied de page. */
@media (min-width: 601px) { .site-footer__inner { padding-right: 72px; } }
@media (max-width: 600px) { .site-footer { padding-bottom: 88px; } }
.site-footer__inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
	font-size: 14px;
}
.site-footer__brand { display: flex; align-items: center; gap: 10px; }
.site-footer__brand img { width: 32px; height: 32px; }
.site-footer__brand strong { font-family: var(--font-title); font-weight: 700; color: var(--paper); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: var(--paper); }

/* ==========================================================================
   Pages intérieures (mentions légales, confidentialité, articles)
   ========================================================================== */

.page-content { max-width: 820px; margin: 0 auto; padding: 64px 24px 80px; }
.page-content__back { display: inline-block; margin-bottom: 20px; font-family: var(--font-title); font-weight: 600; font-size: 15px; }
.page-title {
	margin: 0 0 8px; font-family: var(--font-title); font-weight: 800;
	font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.15;
}
.page-meta { margin: 0; color: var(--steel); }

.prose {
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 8px 28px 24px; margin-top: 28px;
}
.prose h2 { font-family: var(--font-title); font-weight: 700; font-size: 21px; margin: 40px 0 10px; }
.prose h2:first-child { margin-top: 24px; }
.prose h3 { font-family: var(--font-title); font-weight: 700; font-size: 18px; margin: 28px 0 8px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose img { height: auto; border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { text-align: left; vertical-align: top; padding: 6px 12px 6px 0; border-bottom: 1px solid var(--line); }

.post-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.post-list li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.post-list h2 { margin: 0 0 6px; font-family: var(--font-title); font-weight: 700; font-size: 22px; }
.post-list h2 a { color: var(--navy); text-decoration: none; }
.post-list h2 a:hover { color: var(--amber-text); }
.post-list p { margin: 0; color: var(--steel); }

.pagination { margin-top: 28px; display: flex; gap: 12px; font-weight: 600; }

/* ==========================================================================
   Page 404
   ========================================================================== */

.error-404 {
	position: relative; overflow: hidden;
	background: var(--navy); color: var(--paper);
	min-height: 70vh; display: flex; align-items: center; justify-content: center;
	padding: 72px 24px;
}
.error-404__lines { position: absolute; right: -80px; bottom: -60px; width: min(520px, 90vw); opacity: .5; pointer-events: none; }
.error-404__box { position: relative; max-width: 560px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.error-404__box img { width: 120px; height: 120px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); }
.error-404__code { margin: 0; font-family: var(--font-title); font-weight: 800; font-size: clamp(4rem, 14vw, 7rem); line-height: 1; color: var(--amber); }
.error-404 h1 { margin: 0; font-family: var(--font-title); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.2; }
.error-404 p { margin: 0; color: var(--on-dark-muted); }
.error-404__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; padding-top: 8px; }

/* ==========================================================================
   Page de remerciement (/merci/)
   ========================================================================== */

.thanks {
	position: relative; overflow: hidden;
	background: var(--navy); color: var(--paper);
	min-height: 70vh; display: flex; align-items: center; justify-content: center;
	padding: 80px 24px;
}
.thanks__lines { position: absolute; right: -80px; bottom: -60px; width: min(520px, 90vw); opacity: .5; pointer-events: none; }
.thanks__box { position: relative; max-width: 620px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.thanks__check {
	width: 72px; height: 72px; border-radius: 50%; background: var(--amber);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 16px 32px rgba(0, 0, 0, .3);
}
.thanks h1 { margin: 0; font-family: var(--font-title); font-weight: 800; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.15; }
.thanks__text { color: var(--on-dark-muted); font-size: 18px; }
.thanks__text p { margin: 0 0 12px; }
.thanks__text p:last-child { margin-bottom: 0; }
.thanks__text a { color: var(--amber); }
.thanks__text a:hover { color: var(--paper); }
.thanks__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; padding-top: 10px; }
.thanks__home { color: var(--on-dark-muted); font-family: var(--font-title); font-weight: 600; font-size: 15px; text-decoration: none; padding: 10px 0; }
.thanks__home:hover { color: var(--amber); }
