/* Page Experiences : styles repris tels quels de maquettes/experiences.html (validée le 19 novembre 2026).
   Seules les polices ont été retirées : le socle les fournit. Les règles de l'en-tête restent pour la fidélité ;
   celles du socle, plus précises, passent devant. */
:root { --ink: #111; --text: #333; --muted: #777; --line: #e4e4e4; --bg: #f4f4f4; --card: #fff; --gold: #b18d17; --gold-deep: #8c6f10; --gold-pale: #f3ecd6; --gold-clair: #d9bf6a; --wrap: 1160px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }

/* En-tête du site, comme sur les autres maquettes */
.site-tete { position: relative; z-index: 5; background: #fff; box-shadow: 0 1px 0 var(--line); }
.site-tete-in { max-width: var(--wrap); margin: 0 auto; height: 72px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.site-tete nav { display: flex; gap: 34px; }
.site-tete nav a { text-decoration: none; }
.site-tete nav a:hover, .site-tete nav a.is-ici { color: var(--gold); }
.logo { display: block; flex: none; line-height: 0; }
.logo img { display: block; width: auto; height: 50px; }

/* Le double filet doré, repris des pictos art déco */
.filet { display: block; width: 64px; height: 5px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }

/* Bandeau : la photo du bloc Explore Regions de l'accueil, le titre et le texte du site posés dessus, comme sur les pages golf */
.heros { position: relative; height: min(64vh, 580px); min-height: 430px; overflow: hidden; background: #222; }
.heros > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.heros::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.04) 30%, rgba(0,0,0,.7) 100%); }
.heros-texte { position: absolute; z-index: 1; left: 0; right: 0; bottom: 52px; }
.heros-texte .in { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
h1 { margin: 0; color: #fff; font-size: clamp(40px, 5.6vw, 72px); line-height: 1; font-weight: 700; letter-spacing: -.02em; text-transform: uppercase; }
.heros .filet { margin-top: 20px; border-color: var(--gold-clair); }
.intro { max-width: 660px; margin: 18px 0 0; color: rgba(255,255,255,.92); font-size: 16px; line-height: 1.6; }

/* L'en-tête et la barre des régions restent à l'écran, l'une sous l'autre, comme sur la page golf */
.site-tete { position: sticky; top: 0; z-index: 50; }
.barre { position: sticky; top: 72px; z-index: 40; background: #fff; box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(0,0,0,.04); }
.barre-in { display: flex; align-items: center; max-width: var(--wrap); height: 62px; margin: 0 auto; padding: 0 16px; }
.barre-nav { display: flex; flex: 1; align-self: stretch; gap: 34px; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 28px), transparent); padding: 0 20px; }
.barre-nav::-webkit-scrollbar { display: none; }
/* Deux pistes identiques à la suite : la barre défile en boucle, sans à-coup au retour au début */
.barre-piste { display: flex; flex: none; gap: 24px; }
.barre-nav a { display: flex; flex: none; align-items: center; color: var(--muted); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; white-space: nowrap; box-shadow: inset 0 -2px 0 transparent; transition: color .2s ease, box-shadow .2s ease; }
.barre-nav a.barre-groupe { color: var(--gold); font-weight: 700; letter-spacing: .18em; }
.barre-nav a.barre-groupe { padding-left: 34px; border-left: 1px solid var(--line); }
.barre-piste:first-child a.barre-groupe:first-child { padding-left: 0; border-left: 0; }
.barre-piste a.barre-groupe:not(:first-child) { margin-left: 10px; }
.barre-nav a:hover { color: var(--ink); }
.barre-nav a.is-on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--gold); }
.barre-nav a:focus-visible, .btn-cadre:focus-visible, .region-photo:focus-visible, .article:focus-visible, .lien-lieux:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

/* La carte du site a un voile blanc sur tout son cadre : elle se cale à droite, sur toute la hauteur de la photo, bord gauche fondu */
.calque { position: absolute; top: 0; right: 0; bottom: 0; height: 100%; aspect-ratio: 570 / 475; object-fit: cover; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%); mask-image: linear-gradient(90deg, transparent, #000 22%); }

/* Une section par région : la photo (la carte s'y pose au survol), puis ses articles en cartes */
.region { max-width: var(--wrap); margin: 0 auto; padding: 64px 16px 0; scroll-margin-top: 134px; }
/* Les deux parties de la page : le mot en grand, un double filet doré jusqu'au bord, le nombre de régions */
.chapitre { display: flex; align-items: center; gap: 24px; max-width: var(--wrap); margin: 0 auto; padding: 84px 16px 0; scroll-margin-top: 134px; }
.chapitre:first-child { padding-top: 56px; }
.chapitre h2 { margin: 0; color: var(--ink); font-size: clamp(34px, 4vw, 48px); line-height: 1; font-weight: 700; letter-spacing: -.02em; text-transform: uppercase; }
.chapitre::after { content: ""; flex: 1; height: 5px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.chapitre span { order: 2; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.chapitre::after { order: 1; }
.region-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.region-tete h2 { margin: 0; color: var(--ink); font-size: 30px; line-height: 1.1; font-weight: 700; letter-spacing: -.01em; text-transform: uppercase; }
.region-tete .filet { margin-top: 14px; }
.region-actions { display: flex; flex: none; align-items: center; gap: 22px; }
.compte { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.lien-lieux { color: var(--ink); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.lien-lieux::after { content: " →"; color: var(--gold); }
.lien-lieux:hover { color: var(--gold-deep); }
.btn-cadre { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border: 1px solid var(--ink); color: var(--ink); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.btn-cadre:hover { background: var(--ink); color: #fff; }
.region-photo { position: relative; display: block; aspect-ratio: 21 / 8; overflow: hidden; background: #ddd; }
.region-photo .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.region-photo:hover .photo { transform: scale(1.03); }
.chapitre + .region { padding-top: 40px; }

.articles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 14px; }
.article { display: flex; flex-direction: column; background: var(--card); color: var(--text); text-decoration: none; transition: box-shadow .25s ease, transform .25s ease; }
.article:hover { box-shadow: 0 14px 30px rgba(0,0,0,.09); transform: translateY(-2px); }
.article-photo { aspect-ratio: 3 / 2; overflow: hidden; background: #ddd; }
.article-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.article:hover .article-photo img { transform: scale(1.04); }
.article-corps { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.article h3 { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.3; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.article p { margin: 0; font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lire { margin-top: auto; padding-top: 4px; color: var(--ink); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.lire::after { content: " ↗"; color: var(--gold); }
.fin { height: 90px; }

@media (max-width: 900px) {
	.site-tete nav { display: none; }
	.site-tete-in { justify-content: center; }
	/* Téléphone : la barre ne garde que les régions, qui défilent au doigt ; la carte se pose dans un coin de la photo */
	.heros { height: 76vh; min-height: 480px; }
	.heros-texte { bottom: 34px; }
	.heros-texte .in { text-align: center; }
	h1 { font-size: clamp(36px, 11vw, 48px); }
	.heros .filet { margin: 16px auto 0; }
	.intro { font-size: 15px; }
	.barre-in { height: 52px; padding: 0; }
	.barre-nav { padding: 0 16px; gap: 26px; }
	.barre-piste { gap: 20px; }
	.region { padding-top: 48px; scroll-margin-top: 124px; }
	.chapitre { padding-top: 60px; gap: 16px; scroll-margin-top: 124px; }
	.chapitre + .region { padding-top: 28px; }
	.region-tete { flex-direction: column; align-items: flex-start; gap: 14px; }
	.region-tete h2 { font-size: 24px; }
	.region-actions { flex-wrap: wrap; gap: 14px 20px; }
	.region-photo { aspect-ratio: 3 / 2; }
	.region-photo .calque { top: auto; right: 10px; bottom: 10px; width: 46%; height: auto; -webkit-mask-image: none; mask-image: none; }
	.articles { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; margin-left: -16px; margin-right: -16px; padding: 0 16px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; }
	.articles::-webkit-scrollbar { display: none; }
	.article { scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Revue du 2026-11-20 : entre 901 et 1100 px, une rangée ne finit plus sur une carte seule (5 cartes : cinq
   colonnes ; 9 cartes : trois rangées de trois). */
@media (min-width: 901px) and (max-width: 1100px) {
	.articles:has(> :nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.articles:has(> :nth-child(9):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
