/*
Theme Name: GPA Sols
Theme URI: https://gpa-sols.fr
Author: GPA – Groupe Professionnel d'Aménagement
Description: Thème sur mesure du site GPA Sols : terrazzo, moquette de marbre, résines et étanchéité dans le Var et les Alpes-Maritimes.
Version: 1.0.3
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.0
License: Propriétaire
Text Domain: gpa-sols
*/

/* ==========================================================================
   1. Repères (couleurs, typographie, espacements)
   ========================================================================== */
:root {
	--gpa-white: #FFFFFF;
	--gpa-mineral: #EEF0EC;
	--gpa-ink: #1D2521;
	--gpa-body: #3A4540;
	--gpa-stone: #59625D;
	--gpa-alpi: #24443A;
	--gpa-alpi-dark: #16302A;
	--gpa-num: #3E6457;
	--gpa-hair: #D3D9D4;
	--gpa-hair-2: #BFC8C2;
	--gpa-field: #7C8681;
	--gpa-serif: Marcellus, "Times New Roman", serif;
	--gpa-sans: Jost, "Avenir Next", "Century Gothic", system-ui, sans-serif;
	--gpa-max: 1360px;
	--gpa-pad-x: clamp(20px, 4.5vw, 64px);
	--gpa-pad-y: clamp(96px, 10.5vw, 152px);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--gpa-sans);
	font-size: 18px;
	line-height: 1.75;
	color: var(--gpa-ink);
	background: var(--gpa-alpi); /* le bas de page se prolonge si l'écran est plus haut que la page */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
/* « relative » : l'en-tête posé sur la photo reste sous la barre d'administration de WordPress quand on est connecté.
   « clip » : les images pleine largeur dans le contenu ne créent jamais de défilement horizontal. */
.site { position: relative; overflow-x: clip; background: var(--gpa-white); }
img { max-width: 100%; height: auto; }
a { color: var(--gpa-alpi); }
a:hover { color: var(--gpa-alpi-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 2px solid var(--gpa-alpi);
	outline-offset: 3px;
}
.on-dark a:focus-visible, .on-dark button:focus-visible { outline-color: var(--gpa-white); }
p { margin: 0; }
figure { margin: 0; }
.nowrap { white-space: nowrap; }

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	padding: 12px 18px; background: var(--gpa-white); color: var(--gpa-alpi);
	font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.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;
}

/* ==========================================================================
   3. Mise en page
   ========================================================================== */
.wrap {
	width: 100%;
	max-width: var(--gpa-max);
	margin: 0 auto;
	padding-left: var(--gpa-pad-x);
	padding-right: var(--gpa-pad-x);
}
.section { padding-top: var(--gpa-pad-y); padding-bottom: var(--gpa-pad-y); }
.section--flush-top { padding-top: 0; }
.section--mineral { background: var(--gpa-mineral); }
.section--white { background: var(--gpa-white); }
.stack { display: flex; flex-direction: column; }
.stack--xl { gap: clamp(64px, 7vw, 104px); }
.stack--lg { gap: clamp(72px, 8.5vw, 128px); }
.stack--md { gap: clamp(48px, 5vw, 72px); }

/* ==========================================================================
   4. Typographie
   ========================================================================== */
.t-display, .t-h2, .t-h3, .t-h3s {
	margin: 0;
	font-family: var(--gpa-serif);
	font-weight: 400;
	color: var(--gpa-ink);
}
.t-display { font-size: clamp(34px, 5.8vw, 84px); line-height: 1.02; letter-spacing: -.005em; }
.t-h2 { font-size: clamp(34px, 3.5vw, 50px); line-height: 1.14; text-wrap: balance; }
.t-h3 { font-size: clamp(30px, 2.8vw, 40px); line-height: 1.12; }
.t-h3s { font-size: 28px; line-height: 1.2; }
.t-label { margin: 0; font-family: var(--gpa-sans); font-size: 19px; font-weight: 500; line-height: 1.3; color: var(--gpa-ink); }
.t-body { font-size: 18px; line-height: 1.75; color: var(--gpa-body); max-width: 34em; text-wrap: pretty; }
.t-small { font-size: 16px; line-height: 1.7; color: var(--gpa-body); max-width: 30em; text-wrap: pretty; }
.t-caption { font-size: 14px; line-height: 1.5; color: var(--gpa-stone); }
.t-price { font-size: 17px; font-weight: 500; line-height: 1.5; color: var(--gpa-alpi); }

/* ==========================================================================
   5. Boutons et liens
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 54px; padding: 0 30px;
	font-family: var(--gpa-sans); font-size: 16px; font-weight: 500; letter-spacing: .02em; line-height: 1.2;
	text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}
.btn--white { background: var(--gpa-white); color: var(--gpa-alpi); }
.btn--white:hover { background: #E8ECE8; color: var(--gpa-alpi); }
.btn--solid { min-height: 56px; padding: 0 36px; background: var(--gpa-alpi); color: var(--gpa-white); }
.btn--solid:hover { background: var(--gpa-alpi-dark); color: var(--gpa-white); }
.btn--ghost {
	min-height: 46px; padding: 0 22px; font-size: 15px;
	background: transparent; color: inherit; border: 1px solid currentColor;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .16); color: inherit; }
.site-header--solid .btn--ghost:hover { background: var(--gpa-alpi); color: var(--gpa-white); border-color: var(--gpa-alpi); }

.link {
	display: inline-flex; align-items: center; min-height: 44px;
	font-size: 16px; font-weight: 500; color: var(--gpa-alpi);
	text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px;
}
.link:hover { text-decoration-thickness: 2px; }

/* ==========================================================================
   6. En-tête
   ========================================================================== */
.site-header { position: relative; z-index: 20; color: var(--gpa-ink); }
.site-header--solid { background: var(--gpa-white); border-bottom: 1px solid var(--gpa-hair); }
.has-hero .site-header { position: absolute; top: 0; left: 0; right: 0; color: var(--gpa-white); }
.site-header__inner {
	max-width: var(--gpa-max); margin: 0 auto;
	padding: 28px var(--gpa-pad-x) 0;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 40px;
}
.site-header--solid .site-header__inner { padding-bottom: 20px; }
.brand {
	display: inline-flex; align-items: center; min-height: 44px;
	font-family: var(--gpa-serif); font-size: 28px; line-height: 1; letter-spacing: .05em;
	color: inherit; text-decoration: none;
}
.brand:hover { color: inherit; }
.nav-main ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; column-gap: 30px; }
.nav-main a, .hdr-phone {
	display: inline-flex; align-items: center; min-height: 44px;
	font-size: 15px; font-weight: 500; letter-spacing: .02em; line-height: 1.2;
	color: inherit; text-decoration: none;
}
.nav-main a:hover, .hdr-phone:hover, .nav-main .current-menu-item > a {
	color: inherit; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
}
.hdr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.menu-toggle {
	display: none; align-items: center; justify-content: center;
	min-height: 44px; padding: 0 18px;
	font-family: var(--gpa-sans); font-size: 15px; font-weight: 500; letter-spacing: .02em;
	color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 0; cursor: pointer;
}

/* ==========================================================================
   7. Accueil : grande photo d'entrée
   ========================================================================== */
.hero {
	position: relative; overflow: hidden;
	/* La photo remplit l'écran (sans dépasser 860 px), pour que le bouton de devis reste visible sur un ordinateur portable. */
	min-height: 860px;
	min-height: clamp(600px, 100vh, 860px);
	min-height: clamp(600px, 100svh, 860px);
	display: flex; flex-direction: column; justify-content: flex-end;
	background: #1B2621; color: var(--gpa-white);
}
.hero__slides { position: absolute; inset: 0; }
.hs {
	position: absolute; top: 0; left: 0; width: 100%; height: 100%;
	object-fit: cover; opacity: 0;
	animation: gpaFade 35s linear infinite;
}
.hs.d1 { opacity: 1; }
.hero__scrim { position: absolute; inset: 0; pointer-events: none; }
.hero__scrim--v {
	background: linear-gradient(180deg, rgba(12,20,16,.58) 0%, rgba(12,20,16,.4) 11%, rgba(12,20,16,0) 30%, rgba(12,20,16,0) 44%, rgba(12,20,16,.38) 70%, rgba(12,20,16,.74) 100%);
}
.hero__scrim--h { background: linear-gradient(90deg, rgba(12,20,16,.4) 0%, rgba(12,20,16,.12) 45%, rgba(12,20,16,0) 70%); }
.hero__content {
	position: relative; z-index: 2; width: 100%; max-width: var(--gpa-max); margin: 0 auto;
	padding: 150px var(--gpa-pad-x) 64px;
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 48px 64px;
}
.hero__text { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.hero__text .t-display { color: var(--gpa-white); }
.hero__lead { max-width: 30em; font-size: 19px; line-height: 1.6; color: var(--gpa-white); text-wrap: pretty; }
.hero__text .btn { margin-top: 6px; }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; flex: 0 0 auto; }
.legend a {
	display: flex; align-items: center; gap: 16px; min-height: 44px;
	font-size: 14px; font-weight: 500; letter-spacing: .03em; line-height: 1.2;
	color: var(--gpa-white); text-decoration: none;
}
.legend__track { position: relative; display: block; width: 48px; height: 1px; overflow: hidden; background: rgba(255,255,255,.36); }
.lgt { opacity: .74; animation: gpaLabel 35s linear infinite; }
.lgt.d1 { opacity: 1; }
.lgf {
	position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: var(--gpa-white);
	transform-origin: 0 50%; transform: scaleX(0);
	animation: gpaBar 35s linear infinite;
}
.d1 { animation-delay: -1.4s; }
.d2 { animation-delay: 5.6s; }
.d3 { animation-delay: 12.6s; }
.d4 { animation-delay: 19.6s; }
.d5 { animation-delay: 26.6s; }
@keyframes gpaFade {
	0% { opacity: 0; transform: scale(1.07); }
	4% { opacity: 1; }
	20% { opacity: 1; }
	25% { opacity: 0; transform: scale(1); }
	100% { opacity: 0; transform: scale(1); }
}
@keyframes gpaLabel { 0% { opacity: 1; } 20% { opacity: 1; } 23% { opacity: .74; } 100% { opacity: .74; } }
@keyframes gpaBar { 0% { transform: scaleX(0); } 20% { transform: scaleX(1); } 22% { transform: scaleX(0); } 100% { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) {
	.hs, .lgt, .lgf { animation: none; }
	.lgf.d1 { transform: scaleX(1); }
}

/* ==========================================================================
   8. Accueil : sections
   ========================================================================== */
.intro { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 80px; }
.intro .t-h2 { flex: 1 1 480px; min-width: 0; max-width: 12.5em; }
.intro__body { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.facts { margin: 0; display: flex; flex-direction: column; border-top: 1px solid var(--gpa-hair); }
.facts__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; padding: 15px 0; border-bottom: 1px solid var(--gpa-hair); }
.facts dt { flex: 0 0 112px; font-size: 15px; line-height: 1.5; color: var(--gpa-stone); }
.facts dd { flex: 1 1 220px; margin: 0; font-size: 17px; line-height: 1.5; color: var(--gpa-ink); }

.duo { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px; }
.duo__big { flex: 7 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.duo__small { flex: 4 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.duo__big img { display: block; width: 100%; height: 600px; object-fit: cover; }
.duo__small img { display: block; width: 100%; height: 440px; object-fit: cover; }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 80px; }
.section-head .t-body { flex: 0 1 34em; min-width: 0; }
.section-head .t-body--short { flex-basis: 30em; }
.t-h2--narrow { max-width: 14em; }

.feature { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 88px; scroll-margin-top: 24px; }
.feature--reverse { flex-direction: row-reverse; }
.feature__media { flex: 7 1 560px; min-width: 0; }
.feature__media img { display: block; width: 100%; height: 640px; object-fit: cover; }
.feature__body { flex: 5 1 360px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.feature__body .t-body { max-width: 30em; }

.tiles { display: flex; flex-wrap: wrap; gap: 56px 32px; scroll-margin-top: 24px; }
.tile { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 22px; scroll-margin-top: 24px; }
.tile img { display: block; width: 100%; height: 500px; object-fit: cover; }
.tile__text { display: flex; flex-direction: column; gap: 10px; }

.pro { display: flex; flex-wrap: wrap; gap: 32px 80px; padding-top: 48px; border-top: 1px solid var(--gpa-hair); }
.pro .t-h3s { flex: 1 1 320px; min-width: 0; max-width: 11em; }
.pro__items { flex: 2 1 560px; min-width: 0; display: flex; flex-wrap: wrap; gap: 32px 56px; }
.pro__item { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }

.band img { display: block; width: 100%; aspect-ratio: 12 / 5; min-height: 340px; object-fit: cover; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 40px; }
.step { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; border-top: 1px solid var(--gpa-hair-2); }
.step__num { font-family: var(--gpa-serif); font-size: 44px; line-height: 1; color: var(--gpa-num); }
.step .t-label { font-size: 20px; }

.gallery { display: flex; flex-direction: column; gap: 40px; }
.gallery__row { display: flex; flex-wrap: wrap; gap: 40px 28px; }
.gallery__item { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.gallery__item--wide { flex: 7 1 520px; }
.gallery__item--mid { flex: 5 1 360px; }
.gallery__item--third { flex: 1 1 300px; }
.gallery__item img { display: block; width: 100%; object-fit: cover; }
.gallery__row--tall img { height: 580px; }
.gallery__row--short img { height: 400px; }

.zones { display: flex; flex-wrap: wrap; gap: 48px 80px; }
.zone { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.zone .t-label { padding-bottom: 12px; border-bottom: 1px solid var(--gpa-hair-2); }
.zone ul { list-style: none; margin: 0; padding: 0; columns: 2 200px; column-gap: 32px; font-size: 16px; line-height: 2.1; color: var(--gpa-body); white-space: nowrap; }
.zone a { color: var(--gpa-alpi); text-decoration: underline; text-decoration-color: var(--gpa-hair-2); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.zone a:hover { text-decoration-color: currentColor; }
.tile h3 a, .pro__item h4 a { color: inherit; text-decoration: none; }
.tile h3 a:hover, .pro__item h4 a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* ==========================================================================
   9. Contact
   ========================================================================== */
.contact { display: flex; flex-wrap: wrap; background: var(--gpa-white); }
.contact__media { position: relative; flex: 1 1 560px; min-width: 0; min-height: 560px; }
.contact__media img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 22% 50%; }
.contact__body {
	flex: 1 1 560px; min-width: 0;
	padding: clamp(72px, 8vw, 120px) clamp(20px, 5.5vw, 96px);
	display: flex; flex-direction: column; gap: 32px;
}
.contact__body .t-body { max-width: 30em; }
.contact__direct { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.contact__phone {
	display: inline-flex; align-items: center; min-height: 52px;
	font-family: var(--gpa-serif); font-size: 38px; line-height: 1.1; color: var(--gpa-ink); text-decoration: none;
}
.contact__phone:hover { color: var(--gpa-alpi); }
.form { display: flex; flex-wrap: wrap; gap: 26px 32px; margin-top: 8px; }
.form__field { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.form__field--full { flex-basis: 100%; }
.form label { font-size: 14px; line-height: 1.5; color: var(--gpa-stone); }
.form .field {
	width: 100%; min-height: 48px; padding: 10px 0;
	font-family: inherit; font-size: 17px; line-height: 1.5; color: var(--gpa-ink);
	background: transparent; border: 0; border-bottom: 1px solid var(--gpa-field); border-radius: 0;
}
.form .field:focus { border-bottom-color: var(--gpa-alpi); }
.form textarea.field { resize: vertical; }
.form__submit { flex: 1 1 100%; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
.form__submit .t-caption { flex: 1 1 220px; }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { flex: 1 1 100%; padding: 16px 20px; font-size: 16px; line-height: 1.6; border-left: 3px solid var(--gpa-alpi); background: var(--gpa-mineral); color: var(--gpa-ink); }
.notice--error { border-left-color: #9B2C2C; }

/* Invitation à demander un devis, en bas des pages intérieures */
.cta-band { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 80px; }
.cta-band__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

/* ==========================================================================
   10. Pages intérieures, annonces
   ========================================================================== */
.page-hero {
	position: relative; min-height: 520px; overflow: hidden;
	display: flex; flex-direction: column; justify-content: flex-end;
	background: #1B2621; color: var(--gpa-white);
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Les photos des pages intérieures sont choisies dans WordPress : voile un peu plus marqué pour garder le texte lisible même sur une photo claire. */
.page-hero .hero__scrim--v {
	background: linear-gradient(180deg, rgba(12,20,16,.6) 0%, rgba(12,20,16,.32) 24%, rgba(12,20,16,.24) 48%, rgba(12,20,16,.55) 76%, rgba(12,20,16,.8) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; padding-top: 150px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 18px; }
.page-hero .t-display { font-size: clamp(34px, 4.6vw, 68px); line-height: 1.05; color: var(--gpa-white); max-width: 16em; text-wrap: balance; }
.page-hero__meta { font-size: 15px; font-weight: 500; letter-spacing: .02em; color: var(--gpa-white); }
.page-head { background: var(--gpa-mineral); }
.page-head .wrap { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(48px, 6vw, 80px); display: flex; flex-direction: column; gap: 18px; }
.page-head .t-display { font-size: clamp(34px, 4.6vw, 68px); line-height: 1.05; max-width: 16em; text-wrap: balance; }
.page-head__meta { font-size: 15px; font-weight: 500; letter-spacing: .02em; color: var(--gpa-stone); }
.page-head .t-body { max-width: 36em; }
.page-head__desc p + p { margin-top: .8em; }
.page-head--plain { background: var(--gpa-white); }
.page-head__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 14px; }

.entry { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(80px, 9vw, 136px); }
.entry--short { padding-bottom: 0; }
.entry-content { max-width: 760px; margin: 0 auto; }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content p, .entry-content li { font-size: 18px; line-height: 1.75; color: var(--gpa-body); }
.entry-content h2 { margin: 2.2em 0 0; font-family: var(--gpa-serif); font-weight: 400; font-size: clamp(30px, 3vw, 40px); line-height: 1.15; color: var(--gpa-ink); text-wrap: balance; }
.entry-content h3 { margin: 1.9em 0 0; font-family: var(--gpa-serif); font-weight: 400; font-size: 26px; line-height: 1.25; color: var(--gpa-ink); }
.entry-content h4 { margin: 1.6em 0 0; font-size: 19px; font-weight: 500; line-height: 1.4; color: var(--gpa-ink); }
.entry-content h2 + *, .entry-content h3 + *, .entry-content h4 + * { margin-top: .8em; }
.entry-content ul, .entry-content ol { padding-left: 1.2em; }
.entry-content li + li { margin-top: .4em; }
.entry-content strong { color: var(--gpa-ink); font-weight: 500; }
.entry-content blockquote { margin-left: 0; margin-right: 0; padding-left: 24px; border-left: 2px solid var(--gpa-alpi); font-family: var(--gpa-serif); font-size: 24px; line-height: 1.5; color: var(--gpa-ink); }
.entry-content img { display: block; }
.entry-content figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--gpa-stone); }
.entry-content .alignwide { max-width: 1100px; width: calc(100vw - 2 * var(--gpa-pad-x)); margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .wp-block-button__link { display: inline-flex; align-items: center; min-height: 54px; padding: 0 30px; border-radius: 0; background: var(--gpa-alpi); color: var(--gpa-white); font-weight: 500; text-decoration: none; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry-content th, .entry-content td { padding: 12px 8px; text-align: left; border-bottom: 1px solid var(--gpa-hair); }
.entry-zones { max-width: 1100px; margin: clamp(64px, 7vw, 104px) auto 0; padding-top: 48px; border-top: 1px solid var(--gpa-hair); display: flex; flex-direction: column; gap: 32px; }
.entry-zones--main { margin-top: 0; padding-top: 0; border-top: 0; }
.entry-content + .entry-zones--main { margin-top: clamp(64px, 7vw, 104px); }
.entry-footer { max-width: 760px; margin: clamp(56px, 6vw, 88px) auto 0; padding-top: 32px; border-top: 1px solid var(--gpa-hair); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }

.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 72px 40px; }
.post-card { display: flex; flex-direction: column; gap: 18px; }
.post-card__media img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-card__media--empty { display: block; aspect-ratio: 3 / 2; background: var(--gpa-mineral); }
.post-card__meta { font-size: 14px; font-weight: 500; letter-spacing: .02em; color: var(--gpa-stone); }
.post-card .t-h3s a { color: inherit; text-decoration: none; }
.post-card .t-h3s a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.entry-footer__cats { font-size: 16px; color: var(--gpa-stone); }
.entry-footer__cats a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.pagination { margin-top: clamp(56px, 6vw, 88px); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; font-weight: 500; text-decoration: none; color: var(--gpa-alpi); border: 1px solid var(--gpa-hair); }
.pagination .current { background: var(--gpa-alpi); color: var(--gpa-white); border-color: var(--gpa-alpi); }
.empty { max-width: 34em; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }

/* ==========================================================================
   11. Pied de page
   ========================================================================== */
.site-footer { background: var(--gpa-alpi); color: var(--gpa-white); }
.site-footer .wrap { padding-top: 80px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 64px; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px 80px; }
.site-footer__brand { flex: 2 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.site-footer__brand .brand { font-size: 34px; min-height: 0; }
.site-footer__brand p { max-width: 24em; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.86); }
.site-footer__nav { flex: 1 1 200px; min-width: 0; }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; }
.site-footer__contact { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; color: var(--gpa-white); text-decoration: none; }
.site-footer a:hover { color: var(--gpa-white); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.site-footer__area { min-height: 44px; display: flex; align-items: center; font-size: 16px; color: rgba(255,255,255,.86); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.22); font-size: 14px; color: rgba(255,255,255,.8); }
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 0 28px; }
.site-footer__bottom a { font-size: 14px; color: rgba(255,255,255,.86); }

/* ==========================================================================
   12. Téléphone et tablette
   ========================================================================== */
/* En-tête sur une seule ligne : sous 1240 px, le numéro passe dans le bloc contact et le pied de page. */
@media (max-width: 1240px) {
	.hdr-phone { display: none; }
	.site-header__inner { column-gap: 32px; }
	.nav-main ul { column-gap: 24px; }
}
@media (max-width: 1100px) {
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Sous 1040 px, le menu se replie derrière le bouton « Menu ». */
@media (max-width: 1040px) {
	.menu-toggle { display: inline-flex; }
	.nav-main, .hdr-actions { display: none; }
	.hdr-phone { display: inline-flex; }
	.site-header.is-open .nav-main { display: block; flex-basis: 100%; }
	.site-header.is-open .nav-main ul { flex-direction: column; }
	.site-header.is-open .hdr-actions { display: flex; flex-basis: 100%; padding-bottom: 20px; }
	.has-hero .site-header.is-open { background: #101A15; }
}
@media (max-width: 560px) {
	.steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
	.hero__content { padding-top: 120px; }
	.feature__media img { height: 420px; }
	.tile img { height: 380px; }
	.duo__big img { height: 380px; }
	.duo__small img { height: 320px; }
	.gallery__row--tall img { height: 380px; }
	.gallery__row--short img { height: 320px; }
	.contact__media { min-height: 420px; }
	.contact__phone { font-size: 32px; }
	.page-hero { min-height: 440px; }
}
