/* ==========================================================================
   Altitude Store : styles principaux
   ========================================================================== */

:root {
	--c-primaire: #001e50;
	--c-accent: #0b6bcb;
	--c-texte: #101828;
	--c-doux: #5b6577;
	--c-ligne: #e4e8ef;
	--c-fond: #ffffff;
	--c-alt: #f3f5f9;
	--h-entete: 78px;
	--largeur: 1240px;
	--largeur-large: 1480px;
	--rayon: 2px;
	--ease: cubic-bezier(.22, .61, .36, 1);
	--ombre: 0 18px 50px rgba(0, 20, 60, .14);
	--police: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--police);
	font-size: 16px;
	line-height: 1.65;
	color: var(--c-texte);
	background: var(--c-fond);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.menu-ouvert,
body.recherche-ouverte,
body.panier-ouvert { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.2em; }
ul, ol { padding-left: 1.2em; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .6em;
	font-weight: 300;
	line-height: 1.15;
	letter-spacing: -.01em;
	color: var(--c-primaire);
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }

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

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute; width: 1px; word-wrap: normal !important;
}
.lien-evitement {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--c-primaire); color: #fff; padding: 10px 16px;
	transition: top .2s;
}
.lien-evitement:focus { top: 12px; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 28px; }
.conteneur-large { width: 100%; max-width: var(--largeur-large); margin: 0 auto; padding: 0 32px; }

.icone { display: block; flex: none; }

/* ---------- Boutons et liens ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 12px;
	padding: 16px 30px;
	font: inherit; font-size: 13px; font-weight: 600;
	letter-spacing: .12em; text-transform: uppercase;
	border: 1px solid transparent; border-radius: var(--rayon);
	cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn .icone { transition: transform .3s var(--ease); }
.btn:hover .icone { transform: translateX(5px); }
.btn-plein { background: var(--c-primaire); color: #fff; }
.btn-plein:hover { background: var(--c-accent); }
.btn-clair { background: #fff; color: var(--c-primaire); }
.btn-clair:hover { background: var(--c-accent); color: #fff; }
.btn-contour { background: transparent; color: var(--c-primaire); border-color: var(--c-primaire); }
.btn-contour:hover { background: var(--c-primaire); color: #fff; }

.lien-fleche {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	color: var(--c-primaire);
}
.lien-fleche .icone { transition: transform .3s var(--ease); }
.lien-fleche:hover { color: var(--c-accent); }
.lien-fleche:hover .icone { transform: translateX(6px); }

.btn-icone {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; padding: 0;
	background: none; border: 0; color: inherit; cursor: pointer;
	transition: color .2s, transform .2s;
}
.btn-icone:hover { color: var(--c-accent); }

.surtitre {
	margin: 0 0 14px;
	font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
	color: var(--c-accent);
}
.surtitre-clair { color: rgba(255, 255, 255, .85); }

.vide { text-align: center; color: var(--c-doux); padding: 40px 0; }
.doux { color: var(--c-doux); }
.piege { position: absolute; left: -9999px; }

/* ---------- Animations au défilement ---------- */
.reveal {
	opacity: 0; transform: translateY(36px);
	transition: opacity .9s var(--ease), transform .9s var(--ease);
	transition-delay: var(--d, 0s);
}
.reveal.est-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.reveal { opacity: 1; transform: none; }
}

/* ---------- Barre d'annonce ---------- */
.annonce {
	background: var(--c-primaire); color: #fff; text-align: center;
	font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
.annonce p { margin: 0; padding: 10px 20px; }

/* ---------- En-tête ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	height: var(--h-entete);
	background: #fff; color: var(--c-primaire);
	border-bottom: 1px solid var(--c-ligne);
	transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), transform .4s var(--ease);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.site-header.est-defile { box-shadow: 0 6px 24px rgba(0, 20, 60, .08); }
.site-header.est-cache { transform: translateY(-110%); }
body.menu-ouvert .site-header { transform: none !important; }

.accueil .site-header:not(.est-defile) {
	background: linear-gradient(180deg, rgba(0, 12, 38, .55), rgba(0, 12, 38, 0));
	color: #fff; border-color: transparent;
}
.accueil .site-header:not(.est-defile) .logo-texte,
.accueil .site-header:not(.est-defile) .menu > li > a { color: #fff; }
body.menu-ouvert .site-header { background: #fff; color: var(--c-primaire); }

.entete-grille { height: 100%; display: flex; align-items: center; gap: 24px; }

.logo { flex: none; }
.logo-texte {
	font-size: 22px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
	color: var(--c-primaire); transition: color .35s;
}
.logo img, .custom-logo { max-height: 46px; width: auto; }

.nav-principal { flex: 1; display: flex; justify-content: center; }
.nav-principal .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 36px; }
.nav-principal .menu > li { position: relative; }
.nav-principal .menu > li > a {
	position: relative; display: block; padding: 28px 0;
	font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
	color: var(--c-primaire); transition: color .3s;
}
.nav-principal .menu > li > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 1px;
	background: currentColor; transform: scaleX(0); transform-origin: left;
	transition: transform .4s var(--ease);
}
.nav-principal .menu > li:hover > a::after,
.nav-principal .menu > li.current-menu-item > a::after,
.nav-principal .menu > li:focus-within > a::after { transform: scaleX(1); }

.nav-principal .sub-menu {
	list-style: none; margin: 0; padding: 14px 0;
	position: absolute; left: -20px; top: 100%; min-width: 230px;
	background: #fff; box-shadow: var(--ombre);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.nav-principal li:hover > .sub-menu,
.nav-principal li:focus-within > .sub-menu {
	opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.nav-principal .sub-menu a {
	display: block; padding: 9px 24px; font-size: 14px; color: var(--c-texte);
	transition: padding .25s var(--ease), color .25s;
}
.nav-principal .sub-menu a:hover { padding-left: 32px; color: var(--c-accent); }

.entete-actions { margin-left: auto; display: flex; align-items: center; }
.nav-fermer, .burger, .sous-menu-bouton { display: none; }

.panier-compteur {
	position: absolute; top: 4px; right: 2px;
	min-width: 18px; height: 18px; padding: 0 5px;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 11px; font-weight: 700; line-height: 1;
	background: var(--c-accent); color: #fff; border-radius: 9px;
	transition: transform .3s var(--ease);
}
.panier-compteur.est-vide { transform: scale(0); }

/* ---------- Mobile : menu coulissant ---------- */
@media (max-width: 1024px) {
	:root { --h-entete: 68px; }
	.burger { display: inline-flex; margin-left: -10px; }
	.entete-grille { gap: 8px; }
	.logo { flex: 1; text-align: center; }
	.logo-texte { font-size: 19px; }
	.entete-actions { margin-left: 0; }

	.nav-principal {
		position: fixed; top: 0; left: 0; bottom: 0; z-index: 130;
		width: min(86vw, 380px); flex-direction: column; justify-content: flex-start;
		padding: 76px 28px 28px; overflow-y: auto;
		background: #fff; color: var(--c-primaire);
		transform: translateX(-102%);
		transition: transform .45s var(--ease);
	}
	body.menu-ouvert .nav-principal { transform: none; }
	.nav-fermer { display: inline-flex; position: absolute; top: 12px; right: 12px; }

	.nav-principal .menu { flex-direction: column; gap: 0; }
	.nav-principal .menu > li { border-bottom: 1px solid var(--c-ligne); display: flex; flex-wrap: wrap; align-items: center; }
	.nav-principal .menu > li > a { flex: 1; padding: 18px 0; font-size: 15px; color: var(--c-primaire) !important; }
	.nav-principal .menu > li > a::after { display: none; }
	.sous-menu-bouton { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; color: inherit; cursor: pointer; }
	.sous-menu-bouton .icone { transition: transform .3s var(--ease); }
	.sous-menu-ouvert > .sous-menu-bouton .icone { transform: rotate(180deg); }
	.nav-principal .sub-menu {
		position: static; width: 100%; min-width: 0; padding: 0 0 12px 12px;
		box-shadow: none; opacity: 1; visibility: visible; transform: none;
		display: none; background: transparent;
	}
	.sous-menu-ouvert > .sub-menu { display: block; }
}

/* ---------- Voile (fond sombre des panneaux) ---------- */
.voile {
	position: fixed; inset: 0; z-index: 120;
	background: rgba(0, 12, 38, .55);
	opacity: 0; visibility: hidden;
	transition: opacity .4s var(--ease), visibility 0s .4s;
}
body.menu-ouvert .voile,
body.panier-ouvert .voile { opacity: 1; visibility: visible; transition-delay: 0s; }

/* ---------- Panier latéral ---------- */
.tiroir {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 140;
	width: min(100vw, 440px);
	display: flex; flex-direction: column;
	background: #fff; box-shadow: var(--ombre);
	transform: translateX(104%);
	transition: transform .5s var(--ease);
}
body.panier-ouvert .tiroir { transform: none; }
.tiroir-entete {
	display: flex; align-items: center; justify-content: space-between;
	padding: 18px 24px; border-bottom: 1px solid var(--c-ligne);
}
.tiroir-entete h2 { margin: 0; font-size: 1.3rem; }
.tiroir .widget_shopping_cart_content { flex: 1; display: flex; flex-direction: column; min-height: 0; padding: 0 24px 24px; }

/* ---------- Recherche plein écran ---------- */
.recherche {
	position: fixed; inset: 0; z-index: 150; overflow-y: auto;
	padding: 110px 0 60px;
	background: rgba(255, 255, 255, .98);
	opacity: 0; visibility: hidden; transform: translateY(-20px);
	transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s .4s;
}
body.recherche-ouverte .recherche { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.recherche-fermer { position: absolute; top: 22px; right: 28px; }
.recherche-form { display: flex; align-items: center; border-bottom: 2px solid var(--c-primaire); }
.recherche-form input[type="search"] {
	flex: 1; border: 0; background: none; outline: 0;
	padding: 18px 0; font: inherit; font-size: clamp(1.5rem, 4vw, 2.6rem); font-weight: 300;
	color: var(--c-primaire);
}
.recherche-form input::placeholder { color: #a8b0bf; }
.recherche-resultats { margin-top: 30px; }
.resultats-liste { list-style: none; margin: 0; padding: 0; }
.resultats-liste li { border-bottom: 1px solid var(--c-ligne); }
.resultats-liste a { display: flex; align-items: center; gap: 18px; padding: 14px 0; transition: padding .3s var(--ease); }
.resultats-liste a:hover { padding-left: 12px; }
.resultat-image { width: 64px; height: 80px; flex: none; background: var(--c-alt); overflow: hidden; }
.resultat-image img { width: 100%; height: 100%; object-fit: cover; }
.resultat-texte { display: flex; flex-direction: column; }
.resultat-titre { font-size: 1.05rem; color: var(--c-primaire); }
.resultat-prix { font-size: .95rem; color: var(--c-doux); }
.resultats-tous { margin-top: 20px; }
.recherche-suggestions { margin-top: 40px; }
.recherche-suggestions ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.recherche-suggestions a {
	display: inline-block; padding: 9px 20px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
	border: 1px solid var(--c-ligne); transition: all .3s var(--ease);
}
.recherche-suggestions a:hover { background: var(--c-primaire); border-color: var(--c-primaire); color: #fff; }

/* ---------- Carrousel d'accueil ---------- */
.hero {
	position: relative; overflow: hidden;
	height: min(100vh, 900px); min-height: 620px;
	margin-top: calc(var(--h-entete) * -1);
	background: var(--c-primaire); color: #fff;
}
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide {
	opacity: 0; visibility: hidden;
	transition: opacity 1.2s var(--ease), visibility 0s 1.2s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }

.hero-fond {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	transform: scale(1.1);
}
.hero-slide.is-active .hero-fond { animation: kenburns 10s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1); } }

.hero-fond.fond-1 { background-image: linear-gradient(135deg, #001a4d 0%, #0a3d91 100%); }
.hero-fond.fond-2 { background-image: linear-gradient(135deg, #0b2545 0%, #13315c 55%, #1f5fbf 100%); }
.hero-fond.fond-3 { background-image: linear-gradient(135deg, #111827 0%, #1e3a8a 100%); }
.hero-fond[style]::before { display: none; }
.hero-fond::before {
	content: ""; position: absolute; inset: 0; opacity: .12;
	background: repeating-linear-gradient(115deg, #fff 0 1px, transparent 1px 90px);
}
.hero-fond::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(0, 12, 38, .72) 0%, rgba(0, 12, 38, .3) 55%, rgba(0, 12, 38, .05) 100%),
		linear-gradient(0deg, rgba(0, 12, 38, .6), transparent 45%);
}

.hero-slide > .conteneur-large { position: relative; height: 100%; }
.hero-contenu {
	height: 100%; max-width: 720px;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: calc(var(--h-entete) + 40px) 0 150px;
}
.hero-titre { margin: 0 0 18px; font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 300; line-height: 1.05; color: #fff; }
.hero-texte { max-width: 520px; margin: 0 0 32px; font-size: clamp(1rem, 1.5vw, 1.2rem); color: rgba(255, 255, 255, .88); }

.hero-slide .anim { opacity: 0; transform: translateY(40px); }
.hero-slide.is-active .anim {
	opacity: 1; transform: none;
	transition: opacity 1s var(--ease), transform 1s var(--ease);
	transition-delay: calc(var(--i, 0) * .14s + .35s);
}

.hero-nav { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 5; }
.hero-nav-grille { display: flex; align-items: center; gap: 32px; }
.hero-points { display: flex; gap: 10px; flex: 1; max-width: 360px; }
.hero-point { flex: 1; padding: 14px 0; background: none; border: 0; cursor: pointer; }
.hero-point-barre { display: block; position: relative; height: 2px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.hero-point-barre::after {
	content: ""; position: absolute; inset: 0; background: #fff;
	transform: scaleX(0); transform-origin: left;
}
.hero-point.is-active .hero-point-barre::after { animation: progression var(--delai, 6.5s) linear forwards; }
.hero-point.est-fait .hero-point-barre::after { transform: scaleX(1); }
@keyframes progression { to { transform: scaleX(1); } }

.hero-compteur { margin: 0 0 0 auto; font-size: 13px; letter-spacing: .18em; }
.hero-fleches { display: flex; gap: 8px; }
.hero-fleche {
	width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
	background: transparent; color: #fff; cursor: pointer;
	border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%;
	transition: background .3s, color .3s, border-color .3s;
}
.hero-fleche:hover { background: #fff; color: var(--c-primaire); border-color: #fff; }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 9vw, 120px) 0; }
.section-alt { background: var(--c-alt); }
.section-entete { margin-bottom: 48px; }
.section-entete h2 { margin: 0; }
.section-entete-ligne { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* Univers */
.tuiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tuile {
	position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden;
	background: var(--c-primaire); color: #fff;
}
.tuile-fond {
	position: absolute; inset: 0; background-size: cover; background-position: center;
	transition: transform 1.1s var(--ease);
}
.tuile-1 .tuile-fond { background-image: linear-gradient(160deg, #0a3d91, #001a4d); }
.tuile-2 .tuile-fond { background-image: linear-gradient(160deg, #1f5fbf, #0b2545); }
.tuile-3 .tuile-fond { background-image: linear-gradient(160deg, #13315c, #111827); }
.tuile-4 .tuile-fond { background-image: linear-gradient(160deg, #2c6fd0, #0f2a5c); }
.tuile-fond[style] { background-image: none; }
.tuile::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(0, 12, 38, .75), transparent 55%);
	transition: opacity .5s;
}
.tuile:hover .tuile-fond { transform: scale(1.08); }
.tuile-texte { position: absolute; left: 26px; right: 70px; bottom: 26px; z-index: 2; display: flex; flex-direction: column; }
.tuile-nom { font-size: 1.5rem; font-weight: 300; }
.tuile-nb { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.tuile-fleche {
	position: absolute; right: 22px; bottom: 22px; z-index: 2;
	width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
	border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%;
	transition: background .35s, color .35s, transform .35s var(--ease);
}
.tuile:hover .tuile-fleche { background: #fff; color: var(--c-primaire); transform: translateX(4px); }

/* Onglets */
.onglets-liste { display: flex; gap: 34px; margin-bottom: 40px; border-bottom: 1px solid var(--c-ligne); overflow-x: auto; }
.onglet {
	position: relative; padding: 0 0 16px; background: none; border: 0; cursor: pointer; white-space: nowrap;
	font: inherit; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--c-doux); transition: color .3s;
}
.onglet::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
	background: var(--c-primaire); transform: scaleX(0); transition: transform .4s var(--ease);
}
.onglet:hover, .onglet.is-active { color: var(--c-primaire); }
.onglet.is-active::after { transform: scaleX(1); }
.onglet-panneau[hidden] { display: none; }
.onglet-panneau.is-active { animation: apparition .6s var(--ease); }
@keyframes apparition { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Bannière parallaxe */
.promo { position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: center; color: #fff; background: var(--c-primaire); }
.parallaxe-fond {
	position: absolute; left: 0; right: 0; top: -12%; height: 124%;
	background-size: cover; background-position: center;
	background-image: linear-gradient(135deg, #001a4d, #0a3d91 60%, #1f5fbf);
	will-change: transform;
}
.parallaxe-fond::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 12, 38, .75), rgba(0, 12, 38, .15)); }
.promo-contenu { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; }
.promo-boite { max-width: 560px; }
.promo-boite h2 { color: #fff; }
.promo-boite p { color: rgba(255, 255, 255, .88); font-size: 1.1rem; }

/* Notre histoire */
.histoire { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.histoire-texte p { color: var(--c-doux); font-size: 1.1rem; }
.histoire-visuel {
	aspect-ratio: 4 / 5; background-size: cover; background-position: center;
	background-image: linear-gradient(160deg, #13315c, #0a3d91 60%, #2c6fd0);
}

/* Chiffres */
.stats { background: var(--c-primaire); color: #fff; padding: 80px 0; }
.stats-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-nombre { margin: 0; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 200; line-height: 1; }
.stat-nombre::after { content: "+"; font-size: .5em; vertical-align: top; opacity: .7; }
.stat-texte { margin: 12px 0 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }

/* Atouts */
.atouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.atout { text-align: center; color: var(--c-primaire); }
.atout .icone { margin: 0 auto 18px; }
.atout h3 { font-size: 1.1rem; font-weight: 500; }
.atout p { margin: 0; color: var(--c-doux); font-size: .95rem; }

/* Newsletter */
.newsletter {
	padding: clamp(60px, 9vw, 110px) 0; text-align: center; color: #fff;
	background: linear-gradient(135deg, #001a4d, #0a3d91);
}
.newsletter h2 { color: #fff; }
.newsletter-contenu { max-width: 720px; }
.newsletter-contenu > p { color: rgba(255, 255, 255, .85); }
.newsletter-ligne { display: flex; max-width: 560px; margin: 28px auto 14px; }
.newsletter-ligne input[type="email"] {
	flex: 1; min-width: 0; padding: 16px 20px; font: inherit; color: #fff;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .45); border-right: 0; border-radius: var(--rayon) 0 0 var(--rayon);
}
.newsletter-ligne input::placeholder { color: rgba(255, 255, 255, .65); }
.newsletter-ligne .btn { border-radius: 0 var(--rayon) var(--rayon) 0; }
.consentement { display: flex; justify-content: center; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, .75); text-align: left; max-width: 560px; margin: 0 auto; }
.consentement input { margin-top: 4px; }
.newsletter-message { padding: 12px 18px; margin: 18px auto 0; max-width: 560px; font-size: 14px; }
.newsletter-ok { background: rgba(46, 160, 100, .25); }
.newsletter-erreur { background: rgba(220, 60, 60, .3); }

/* ---------- Bandeau de page ---------- */
.bandeau-page {
	padding: clamp(40px, 6vw, 80px) 0; background: var(--c-alt); border-bottom: 1px solid var(--c-ligne);
}
.bandeau-titre { margin: 8px 0 0; font-size: clamp(2rem, 4.5vw, 3.4rem); }
.fil-ariane { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-doux); margin-bottom: 14px; }
.fil-ariane a:hover { color: var(--c-accent); }
.fil-ariane .sep { margin: 0 10px; opacity: .5; }

/* ---------- Blog et pages ---------- */
.grille-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 30px; }
.carte-article-image { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-alt); margin-bottom: 20px; }
.carte-article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.carte-article:hover .carte-article-image img { transform: scale(1.05); }
.carte-article-vide { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #13315c, #2c6fd0); }
.carte-article-titre { font-size: 1.4rem; margin-bottom: 10px; }
.carte-article-titre a:hover { color: var(--c-accent); }
.carte-article-extrait { color: var(--c-doux); }
.article-meta { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-doux); margin-bottom: 10px; }
.meta-sep { margin: 0 8px; }

.article-contenu { font-size: 1.05rem; }
.article-contenu a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }
.article-contenu blockquote { margin: 1.8em 0; padding: 6px 24px; border-left: 3px solid var(--c-accent); color: var(--c-doux); font-size: 1.15rem; }
.article-contenu table { width: 100%; border-collapse: collapse; }
.article-contenu th, .article-contenu td { border: 1px solid var(--c-ligne); padding: 10px 14px; text-align: left; }
.article-contenu pre { background: var(--c-alt); padding: 18px; overflow-x: auto; }
.article-image { margin: 0 0 30px; }
.alignleft { float: left; margin: 0 24px 12px 0; }
.alignright { float: right; margin: 0 0 12px 24px; }
.aligncenter { display: block; margin: 0 auto 12px; }
.alignwide { max-width: var(--largeur-large); }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: .85rem; color: var(--c-doux); }
.archive-description { color: var(--c-doux); margin-bottom: 40px; }

/* Pagination */
.pagination .nav-links, .woocommerce-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 50px; }
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px;
	border: 1px solid var(--c-ligne); font-size: 14px; transition: all .3s var(--ease);
}
a.page-numbers:hover { border-color: var(--c-primaire); color: var(--c-primaire); }
.page-numbers.current { background: var(--c-primaire); border-color: var(--c-primaire); color: #fff; }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 20px; margin: 50px 0; padding-top: 24px; border-top: 1px solid var(--c-ligne); }

/* Formulaires */
input[type="text"], input[type="email"], input[type="url"], input[type="search"],
input[type="password"], input[type="tel"], input[type="number"], select, textarea {
	width: 100%; padding: 13px 16px; font: inherit; color: var(--c-texte);
	background: #fff; border: 1px solid #cfd5df; border-radius: var(--rayon);
	transition: border-color .25s, box-shadow .25s;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(11, 107, 203, .15); }
.form-recherche { display: flex; max-width: 520px; margin: 26px 0; }
.form-recherche button { flex: none; width: 54px; border: 0; background: var(--c-primaire); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.comment-form input[type="submit"], .form-submit input {
	width: auto; padding: 15px 30px; background: var(--c-primaire); color: #fff; border: 0; cursor: pointer;
	font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.comment-form input[type="submit"]:hover { background: var(--c-accent); }
.commentaires { margin-top: 60px; }
.liste-commentaires { list-style: none; padding: 0; }
.liste-commentaires .children { list-style: none; padding-left: 28px; }
.liste-commentaires .comment-body { padding: 20px 0; border-bottom: 1px solid var(--c-ligne); }

.page-404 { padding: clamp(80px, 12vw, 160px) 0; text-align: center; }
.page-404 .form-recherche { margin: 26px auto; }

/* ---------- Pied de page ---------- */
.site-footer { background: #000f2b; color: rgba(255, 255, 255, .72); padding-top: 80px; font-size: 15px; }
.footer-grille { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 60px; }
.footer-logo { font-size: 20px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-texte { max-width: 340px; }
.site-footer .widget-titre, .site-footer h2 {
	font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 20px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { transition: color .25s, padding .25s var(--ease); }
.site-footer li a:hover { color: #fff; padding-left: 6px; }
.reseaux { display: flex; gap: 10px; margin-top: 22px !important; }
.reseaux li { margin: 0; }
.reseaux a {
	width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
	border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; color: #fff;
	transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.site-footer .reseaux a:hover { background: var(--c-accent); border-color: var(--c-accent); padding: 0; transform: translateY(-3px); }
.footer-bas {
	display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px;
}
.footer-bas p { margin: 0; }
.menu-pied { display: flex; gap: 22px; flex-wrap: wrap; }
.menu-pied li { margin: 0 !important; }

.retour-haut {
	position: fixed; right: 24px; bottom: 24px; z-index: 90;
	width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
	background: var(--c-primaire); color: #fff; border: 0; border-radius: 50%; cursor: pointer;
	box-shadow: var(--ombre); opacity: 0; visibility: hidden; transform: translateY(20px);
	transition: opacity .35s, transform .35s var(--ease), visibility 0s .35s, background .3s;
}
.retour-haut.est-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.retour-haut:hover { background: var(--c-accent); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.tuiles, .atouts, .stats-grille { grid-template-columns: repeat(2, 1fr); }
	.grille-articles { grid-template-columns: repeat(2, 1fr); }
	.footer-grille { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
	.conteneur-large, .conteneur { padding: 0 20px; }
	.histoire { grid-template-columns: 1fr; }
	.hero { min-height: 580px; }
	.hero-contenu { padding-bottom: 130px; }
	.hero-fleches, .hero-compteur { display: none; }
	.hero-points { max-width: none; }
	.stats-grille { gap: 40px 20px; }
	.newsletter-ligne { flex-direction: column; gap: 10px; }
	.newsletter-ligne input[type="email"] { border-right: 1px solid rgba(255, 255, 255, .45); border-radius: var(--rayon); }
	.newsletter-ligne .btn { justify-content: center; border-radius: var(--rayon); }
}
@media (max-width: 560px) {
	.tuiles { gap: 12px; }
	.tuile-texte { left: 14px; bottom: 14px; right: 50px; }
	.tuile-nom { font-size: 1.15rem; }
	.tuile-fleche { width: 34px; height: 34px; right: 12px; bottom: 12px; }
	.atouts { grid-template-columns: 1fr; gap: 34px; }
	.grille-articles { grid-template-columns: 1fr; }
	.footer-grille { grid-template-columns: 1fr; gap: 36px; }
	.footer-bas { flex-direction: column; align-items: flex-start; }
}
