/*
 * NOMAH Création — feuille de styles du site.
 *
 * Écrite d'abord pour le téléphone (390 px), puis élargie avec des « @media (min-width: …) ».
 * Couleurs, espacements et polices reprennent la charte graphique (artefact « Charte graphique »).
 *
 * Sommaire :
 *  1. Polices et couleurs (variables)
 *  2. Base
 *  3. Mise en page commune (conteneurs, sections)
 *  4. Textes (titres, étiquettes, liens)
 *  5. Boutons et pastilles
 *  6. En-tête et menu
 *  7. Pied de page
 *  8. Accueil
 *  9. Réalisations (liste et vignettes)
 * 10. Page d'une réalisation
 * 11. Curseur avant / après
 * 12. Carrousel
 * 13. Appels à l'action
 * 14. Note Google et avis
 * 15. Questions fréquentes
 * 16. Contact et formulaire
 * 17. Contenu de l'éditeur (pages simples)
 * 18. Accessibilité et mouvement réduit
 */

/* 1. Polices et couleurs ------------------------------------------------- */

@font-face { font-family: "Belleza"; src: url("../fonts/belleza.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("../fonts/albert-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("../fonts/albert-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("../fonts/albert-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
/* Polices de repli ajustées à la largeur des polices du site : le texte occupe la même place
   avant et après leur chargement, la page ne « saute » pas (décalage de mise en page). */
@font-face { font-family: "Albert Sans repli"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("LiberationSans"); size-adjust: 102.9%; }
@font-face { font-family: "Albert Sans repli Roboto"; src: local("Roboto"), local("Roboto-Regular"); size-adjust: 114.9%; }
@font-face { font-family: "Belleza repli"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("LiberationSans"); size-adjust: 88.5%; }
@font-face { font-family: "Belleza repli Roboto"; src: local("Roboto"), local("Roboto-Regular"); size-adjust: 98.9%; }

:root {
	--surface: #FFFFFF;        /* vrai blanc (depuis 0.5.0) */
	--surface-alt: #E9E4D8;
	--surface-pierre: #DAD3C5;
	--surface-sombre: #211C18;
	--surface-sombre-alt: #2A2420;
	--texte: #2A2420;
	--texte-doux: #6B6259;
	--texte-clair: #F1EEE6;
	--texte-clair-doux: #A29E98;
	/* Or du logo (depuis 0.5.0, à la place du chêne clair) : une teinte par usage, contrastes vérifiés. */
	--or: #D79824;             /* or du logo : filets, décor, fond des boutons (texte foncé dessus : 6,8:1) */
	--or-vif: #C7881A;         /* survol des boutons */
	--or-fonce: #B07514;       /* grands textes en or (titres, chiffres) sur blanc ou beige : 3,1:1 au moins */
	--or-texte: #8A5A10;       /* petits textes en or sur blanc ou beige : 4,6:1 au moins */
	--or-clair: #E3A93C;       /* or sur fond sombre : 8:1 */
	--sauge-texte: #5E624A;
	--filet: rgba(42, 36, 32, 0.14);
	--filet-fort: rgba(42, 36, 32, 0.28);
	--filet-clair: rgba(241, 238, 230, 0.16);
	--repere: #FFE9A8;

	--police-titre: "Belleza", "Belleza repli", "Belleza repli Roboto", sans-serif;
	--police-texte: "Albert Sans", "Albert Sans repli", "Albert Sans repli Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

	--marge: 20px;              /* marge latérale sur téléphone */
	--largeur: 1240px;
	--section: 64px;            /* espace vertical d'une section sur téléphone */
	--rayon: 2px;
	--hauteur-entete: 64px;
}

@media (min-width: 768px) {
	:root { --marge: 40px; --section: 96px; --hauteur-entete: 76px; }
}
@media (min-width: 1200px) {
	:root { --section: 120px; }
}

/* 2. Base ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hauteur-entete) + 16px); }
body {
	margin: 0;
	background: var(--surface);
	color: var(--texte);
	font-family: var(--police-texte);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--or-texte); text-underline-offset: 3px; }
a:hover { color: var(--texte); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
figure, blockquote { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
main { display: block; outline: none; }
:focus-visible { outline: 3px solid var(--or-fonce); outline-offset: 3px; }
.section-sombre :focus-visible { outline-color: var(--or-clair); }
.icone { width: 20px; height: 20px; flex: none; }

/* 3. Mise en page commune ------------------------------------------------ */

.conteneur { width: 100%; max-width: calc(var(--largeur) + 2 * var(--marge)); margin: 0 auto; padding: 0 var(--marge); }
.conteneur-etroit { max-width: calc(780px + 2 * var(--marge)); }
.section { padding: var(--section) 0; }
.section-serree { padding: 40px 0 var(--section); }
.section-alt { background: var(--surface-alt); }
.section-sombre { background: var(--surface-sombre); color: var(--texte-clair); }
.section-sombre a:not(.bouton) { color: var(--or-clair); }
.entete-section { margin-bottom: 40px; max-width: 760px; }
.entete-section-ligne { max-width: none; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 768px) {
	.entete-section { margin-bottom: 56px; }
	.entete-section-ligne { flex-direction: row; align-items: flex-end; justify-content: space-between; }
	.entete-section-ligne > div { max-width: 760px; }
}

/* 4. Textes -------------------------------------------------------------- */

.titre-heros, .titre-section, .titre-page, .titre-carte, .titre-petit, .citation, h1, h2, h3 {
	font-family: var(--police-titre);
	font-weight: 400;
	margin: 0;
	letter-spacing: -0.005em;
}
.titre-heros { font-size: 40px; line-height: 1.08; }
.titre-section { font-size: 32px; line-height: 1.14; margin-bottom: 18px; }
.titre-page { font-size: 30px; line-height: 1.16; }
.titre-carte { font-size: 24px; line-height: 1.22; }
.titre-petit { font-size: 20px; line-height: 1.3; }
@media (min-width: 768px) {
	.titre-heros { font-size: 56px; }
	.titre-section { font-size: 40px; }
	.titre-page { font-size: 40px; }
	.titre-carte { font-size: 26px; }
	.titre-petit { font-size: 21px; }
}
@media (min-width: 1200px) {
	.titre-heros { font-size: 68px; }
	.titre-section { font-size: 46px; }
}
.accent { color: var(--or-fonce); }
.section-sombre .accent { color: var(--or-clair); }
.chapo { font-size: 17px; line-height: 1.65; }
@media (min-width: 768px) { .chapo { font-size: 18px; } }
.texte-gras { font-weight: 600; font-size: 15px; }
.texte-long { max-width: 68ch; }

.etiquette {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	font-family: var(--police-texte);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--or-texte);
}
.etiquette::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.etiquette-claire { color: var(--or-clair); }
.etiquette-sauge { color: var(--sauge-texte); }

.lien-fleche {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--or-texte);
	text-decoration: none;
}
.lien-fleche .icone { width: 18px; height: 18px; transition: transform 0.2s ease; }
.lien-fleche:hover .icone { transform: translateX(4px); }

.visuellement-cache {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.a-completer { background: var(--repere); color: var(--texte); padding: 2px 6px; }

/* Fil d'Ariane */
.fil-ariane ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--texte-doux); margin-bottom: 24px; }
.fil-ariane li + li::before { content: "/"; margin-right: 10px; opacity: 0.6; }
.fil-ariane a { color: inherit; }
.fil-ariane.sur-sombre, .fil-ariane.sur-sombre ol { color: var(--texte-clair-doux); }

/* 5. Boutons et pastilles -------------------------------------------------- */

.bouton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 48px;
	padding: 14px 24px;
	border: 1px solid transparent;
	border-radius: var(--rayon);
	font-family: var(--police-texte);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.bouton .icone { width: 18px; height: 18px; }
.bouton-or { background: var(--or); color: var(--surface-sombre); }
.bouton-or:hover { background: var(--or-vif); color: var(--surface-sombre); }
.bouton-contour { border-color: var(--filet-fort); color: var(--texte); background: transparent; }
.bouton-contour:hover { border-color: var(--texte); color: var(--texte); }
.bouton-contour-clair { border-color: rgba(241, 238, 230, 0.45); color: var(--texte-clair); background: transparent; }
.bouton-contour-clair:hover { border-color: var(--texte-clair); color: var(--texte-clair); }
.groupe-boutons { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
@media (min-width: 560px) { .groupe-boutons { flex-direction: row; flex-wrap: wrap; } }

.pastilles { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.pastilles li { padding: 6px 14px; border: 1px solid var(--filet-fort); border-radius: 24px; font-size: 13px; color: var(--texte); background: transparent; }
.pastilles-grandes li { font-size: 15px; padding: 8px 18px; }

/* 6. En-tête et menu ----------------------------------------------------- */

.lien-evitement { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--texte); color: var(--texte-clair); text-decoration: none; }
.lien-evitement:focus { top: 12px; }

.entete {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid var(--filet);
}
/* Le fond flouté est porté par un pseudo-élément : un « backdrop-filter » sur l'en-tête lui-même
   empêcherait le menu plein écran (position fixe) de couvrir toute la page. */
.entete::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(255, 255, 255, 0.96);
	-webkit-backdrop-filter: saturate(140%) blur(8px);
	backdrop-filter: saturate(140%) blur(8px);
}
.admin-bar .entete { top: 46px; }
@media (min-width: 783px) { .admin-bar .entete { top: 32px; } }
.entete-interieur { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--hauteur-entete); }
.entete-logo { display: block; flex: none; }
.entete-logo .logo { width: auto; height: 38px; }
@media (min-width: 768px) { .entete-logo .logo { height: 46px; } }
.entete-actions { display: flex; align-items: center; gap: 4px; }
.entete-tel { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; color: var(--texte); text-decoration: none; font-weight: 500; }
.entete-tel-numero, .entete-cta { display: none; }
.bouton-menu { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.bouton-menu .icone { width: 26px; height: 26px; }
.bouton-menu-fermer { display: none; }
.menu-ouvert .bouton-menu-ouvrir { display: none; }
.menu-ouvert .bouton-menu-fermer { display: inline; }

/* Menu sur téléphone : plein écran sous l'en-tête. Sans JavaScript, il reste affiché sous le logo. */
.navigation { display: none; }
.js .navigation {
	display: flex;
	position: fixed;
	inset: var(--hauteur-entete) 0 0 0;
	flex-direction: column;
	justify-content: space-between;
	padding: 32px var(--marge) 40px;
	background: var(--surface);
	overflow-y: auto;
	visibility: hidden;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}
.admin-bar.js .navigation { top: calc(var(--hauteur-entete) + 46px); }
.js .menu-ouvert .navigation { visibility: visible; opacity: 1; transform: none; transition: opacity 0.2s ease, transform 0.2s ease; }
html:not(.js) .navigation { display: block; position: static; }
.navigation .menu { list-style: none; }
.navigation .menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--filet); font-family: var(--police-titre); font-size: 28px; line-height: 1.2; color: var(--texte); text-decoration: none; }
.navigation .menu .current-menu-item > a, .navigation .menu .current_page_item > a { color: var(--or-fonce); }
.navigation-contact { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.navigation-tel { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--texte); font-weight: 500; text-decoration: none; }
.navigation-horaires { font-size: 14px; color: var(--texte-doux); margin: 0; }
body.menu-bloque { overflow: hidden; }

@media (min-width: 1024px) {
	.bouton-menu { display: none; }
	.js .navigation, html:not(.js) .navigation {
		display: block; position: static; visibility: visible; opacity: 1; transform: none;
		padding: 0; background: transparent; overflow: visible; inset: auto;
	}
	.navigation-contact { display: none; }
	.navigation .menu { display: flex; gap: 32px; }
	.navigation .menu a { padding: 8px 0; border: 0; font-family: var(--police-texte); font-size: 15px; font-weight: 500; position: relative; }
	.navigation .menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--or-fonce); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
	.navigation .menu a:hover::after, .navigation .menu .current-menu-item > a::after { transform: scaleX(1); }
	.entete-cta { display: inline-flex; min-height: 44px; padding: 12px 20px; }
	.entete-actions { gap: 16px; }
}
@media (min-width: 1280px) { .entete-tel-numero { display: inline; } }

/* 7. Pied de page -------------------------------------------------------- */

.pied { background: var(--surface-sombre); color: var(--texte-clair-doux); padding: 64px 0 24px; font-size: 15px; }
.pied a { color: var(--texte-clair); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.pied a:hover { color: var(--or-clair); }
.pied-grille { display: grid; gap: 40px; }
.pied-logo { width: 150px; height: auto; margin-bottom: 18px; }
.pied-marque p { max-width: 320px; }
.pied-bloc p { margin: 0 0 6px; }
.pied-menu, .pied-liens { list-style: none; }
.pied-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--filet-clair); display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.pied-legal p { margin: 0; }
.pied-liens { display: flex; flex-wrap: wrap; gap: 4px 24px; }
@media (min-width: 768px) {
	.pied-grille { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
	.pied-legal { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* 8. Accueil ------------------------------------------------------------- */

.heros { display: grid; }
.heros-texte { padding: 48px var(--marge) 40px; }
.heros-texte .chapo { color: var(--texte-clair-doux); max-width: 520px; margin-top: 22px; }
.heros-visuel { position: relative; min-height: 420px; background: var(--surface-sombre-alt); }
.heros-visuel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.heros-une {
	position: absolute; left: 16px; right: 16px; bottom: 16px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 16px 18px; background: rgba(33, 28, 24, 0.82); color: var(--texte-clair) !important;
	text-decoration: none; border-radius: var(--rayon);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.heros-une .etiquette { margin-bottom: 6px; }
.heros-une-titre { display: block; font-family: var(--police-titre); font-size: 19px; line-height: 1.25; }
.heros .note-google { margin-top: 32px; }
@media (min-width: 1024px) {
	.heros { grid-template-columns: 1fr 1fr; min-height: min(86vh, 820px); }
	.heros-texte { display: flex; flex-direction: column; justify-content: center; padding: 72px 56px 72px max(var(--marge), calc((100vw - var(--largeur)) / 2)); }
	.heros-visuel { min-height: 0; }
	.heros-une { left: auto; right: 32px; bottom: 32px; width: 360px; }
}

.garanties { border-bottom: 1px solid var(--filet); }
.garanties-liste { list-style: none; display: grid; gap: 0; }
.garanties-liste li { display: flex; flex-direction: column; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--filet); }
.garanties-liste li:last-child { border-bottom: 0; }
.garanties-liste span { font-size: 14px; color: var(--texte-doux); line-height: 1.5; }
@media (min-width: 768px) {
	.garanties-liste { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
	.garanties-liste li:nth-last-child(2) { border-bottom: 0; }
}
@media (min-width: 1200px) {
	.garanties-liste { grid-template-columns: repeat(4, 1fr); }
	.garanties-liste li { border-bottom: 0; padding: 32px 0; }
}

.manifeste-grille { display: grid; gap: 28px; }
.manifeste-texte { font-size: 17px; }
.signature { font-family: var(--police-titre); font-size: 20px; color: var(--or-texte); margin-top: 24px; }
@media (min-width: 1024px) { .manifeste-grille { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }

.metiers-liste { display: grid; gap: 16px; }
.metier { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; background: var(--surface); border: 1px solid var(--filet); border-radius: var(--rayon); color: var(--texte); text-decoration: none; transition: border-color 0.2s ease, transform 0.2s ease; }
.metier:hover { border-color: var(--or); color: var(--texte); transform: translateY(-2px); }
.metier p { color: var(--texte-doux); margin: 0; }
.metier .pastilles { margin: 6px 0 8px; }
.metier .lien-fleche { margin-top: auto; }
.metier-numero { font-family: var(--police-titre); font-size: 15px; color: var(--or-texte); letter-spacing: 0.06em; display: block; }
@media (min-width: 1024px) { .metiers-liste { grid-template-columns: repeat(3, 1fr); gap: 24px; } .metier { padding: 36px 32px; } }

.etapes { list-style: none; display: grid; gap: 0; }
.etape { padding: 24px 0; border-top: 1px solid var(--filet-fort); }
.etape-numero { display: block; font-family: var(--police-titre); font-size: 48px; line-height: 1; color: var(--or-fonce); margin-bottom: 14px; }
.etape h3 { margin-bottom: 8px; }
.etape p { color: var(--texte-doux); font-size: 15px; }
@media (min-width: 768px) { .etapes { grid-template-columns: repeat(2, 1fr); column-gap: 40px; } }
@media (min-width: 1200px) { .etapes { grid-template-columns: repeat(5, 1fr); column-gap: 28px; } .etape-numero { font-size: 60px; } }

.pros-grille { display: grid; gap: 40px; }
.pros-liste { list-style: none; }
.pros-liste li { display: grid; gap: 4px; padding: 22px 0; border-top: 1px solid var(--filet-fort); }
.pros-liste li span:last-child { color: var(--texte-doux); }
.pros .lien-fleche { margin-top: 12px; }
@media (min-width: 1024px) { .pros-grille { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; } }

.partenaires { padding: 48px 0 52px; border-bottom: 1px solid var(--filet); overflow: hidden; }
.partenaires-tete { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.partenaires .etiquette { margin-bottom: 0; }
.defile-pause { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--filet); border-radius: 50%; background: var(--surface); color: var(--texte-doux); cursor: pointer; transition: color 0.2s ease, border-color 0.2s ease; }
.defile-pause:hover, .defile-pause:focus-visible { color: var(--texte); border-color: var(--texte-doux); }
.defile-pause[hidden] { display: none; }
.defile-pause svg { fill: currentColor; }
.defile-pause .icone-lecture, .defile-pause[aria-pressed="true"] .icone-pause { display: none; }
.defile-pause[aria-pressed="true"] .icone-lecture { display: block; }
/* Défilé des partenaires : logos ramenés à une seule teinte foncée (sobre, homogène), pleine intensité au survol. */
.defile { position: relative; overflow: hidden; overflow: clip; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.defile-piste { display: flex; width: max-content; animation: defile 48s linear infinite; }
.defile:hover .defile-piste, .defile:focus-within .defile-piste, .defile.est-en-pause .defile-piste { animation-play-state: paused; }
.defile-liste { list-style: none; display: flex; align-items: center; gap: 72px; margin: 0; padding: 0 36px; }
.defile-liste li { flex: none; display: flex; align-items: center; height: 56px; }
.defile-liste a { display: flex; align-items: center; height: 100%; text-decoration: none; color: inherit; }
.defile-liste img { height: auto; max-height: 44px; width: auto; max-width: 170px; filter: grayscale(1) brightness(0); opacity: 0.5; transition: opacity 0.25s ease; }
.defile-nom { font-family: var(--police-titre); font-size: 21px; color: var(--texte); opacity: 0.74; white-space: nowrap; transition: opacity 0.25s ease; }
.defile-liste a:hover img, .defile-liste a:focus-visible img, .defile-liste a:hover .defile-nom { opacity: 0.95; }
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.defile { -webkit-mask-image: none; mask-image: none; }
	.defile-piste { animation: none; width: auto; }
	.defile-liste { flex-wrap: wrap; justify-content: center; gap: 24px 48px; padding: 0 var(--marge); }
	.defile-liste[aria-hidden="true"], .defile-pause { display: none; }
}

.faq-grille { display: grid; gap: 32px; }
@media (min-width: 1024px) { .faq-grille { grid-template-columns: 1fr 1.4fr; gap: 80px; } }

/* 9. Réalisations : liste et vignettes ------------------------------------- */

.entete-page { padding: 32px 0 8px; }
.entete-page .chapo { margin-top: 18px; max-width: 720px; color: var(--texte-doux); }
@media (min-width: 768px) { .entete-page { padding: 56px 0 16px; } }

.filtres { display: flex; gap: 8px; margin-top: 28px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.filtres::-webkit-scrollbar { display: none; }
.filtre { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--filet-fort); border-radius: 24px; color: var(--texte); text-decoration: none; font-size: 14px; font-weight: 500; }
.filtre:hover { border-color: var(--texte); color: var(--texte); }
.filtre.actif { background: var(--texte); border-color: var(--texte); color: var(--texte-clair); }

.grille-realisations { display: grid; gap: 40px; }
@media (min-width: 640px) { .grille-realisations { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; } }
@media (min-width: 1024px) { .grille-realisations { grid-template-columns: repeat(3, 1fr); gap: 56px 32px; } }
.carte-realisation a { display: block; color: var(--texte); text-decoration: none; }
.carte-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-pierre); border-radius: var(--rayon); margin-bottom: 16px; }
.carte-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.carte-realisation a:hover .carte-photo img { transform: scale(1.04); }
.carte-titre { font-family: var(--police-titre); font-size: 21px; line-height: 1.28; margin: 0 0 6px; }
.carte-infos { font-size: 14px; color: var(--texte-doux); margin: 0; }

.pagination { margin-top: 56px; }
.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; border: 1px solid var(--filet-fort); border-radius: var(--rayon); color: var(--texte); text-decoration: none; }
.pagination .current { background: var(--texte); color: var(--texte-clair); border-color: var(--texte); }

/* 10. Page d'une réalisation --------------------------------------------- */

.realisation-bandeau { position: relative; display: flex; flex-direction: column; }
/* Photo entière : la hauteur s'adapte à la photo (sans dépasser l'écran), les côtés vides sont remplis par la même photo floutée. */
.realisation-bandeau-photo { position: relative; overflow: hidden; background: var(--surface-sombre-alt); }
.realisation-bandeau-photo .bandeau-fond { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); max-width: none; object-fit: cover; filter: blur(28px) brightness(0.55) saturate(1.1); transform: scale(1.05); }
.realisation-bandeau-photo .bandeau-photo { position: relative; z-index: 1; display: block; width: 100%; height: auto; max-height: 72vh; object-fit: contain; }
.realisation-bandeau-texte { padding-top: 28px; padding-bottom: 36px; }
.realisation-bandeau-texte .titre-page { max-width: 900px; }
.realisation-lieu { margin-top: 14px; color: var(--texte-clair-doux); font-size: 15px; }
@media (min-width: 768px) {
	.realisation-bandeau-photo .bandeau-photo { max-height: calc(100vh - var(--hauteur-entete) - 40px); min-height: 420px; }
	.realisation-bandeau-texte { padding-top: 36px; padding-bottom: 48px; }
	.realisation-bandeau-texte .titre-page { font-size: 46px; }
}

.fiche-technique { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0 auto; border-bottom: 1px solid var(--filet); }
.fiche-technique div { padding: 18px 12px 18px 0; border-bottom: 1px solid var(--filet); }
.fiche-technique dt { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--texte-doux); margin-bottom: 4px; }
.fiche-technique dd { margin: 0; font-weight: 600; font-size: 15px; line-height: 1.4; }
.fiche-technique dd a { color: var(--texte); text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: 4px; }
.fiche-technique dd a:hover { color: var(--or-vif); }
@media (min-width: 768px) {
	.fiche-technique { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-bottom: 1px solid var(--filet); }
	.fiche-technique div { border-bottom: 0; padding: 28px 24px 28px 0; }
}

.realisation-deux-colonnes { display: grid; gap: 24px; }
.realisation-deux-colonnes header p { margin-top: 12px; color: var(--texte-doux); }
@media (min-width: 1024px) { .realisation-deux-colonnes { grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; } }

.liste-attentes { list-style: none; counter-reset: attente; }
.liste-attentes li { position: relative; padding: 16px 0 16px 44px; border-bottom: 1px solid var(--filet); font-size: 17px; }
.liste-attentes li::before { counter-increment: attente; content: counter(attente, decimal-leading-zero); position: absolute; left: 0; top: 18px; font-family: var(--police-titre); color: var(--or-texte); }

.realisation-enjeu .chapo { color: var(--texte-clair-doux); }

.solutions { list-style: none; display: grid; gap: 0; }
.solution { padding: 32px 0; border-top: 1px solid var(--filet-fort); }
.solution .etiquette { margin-bottom: 12px; }
.solution .titre-carte { margin-bottom: 12px; }
.solution p { color: var(--texte-doux); max-width: 62ch; }
@media (min-width: 1024px) { .solutions { grid-template-columns: repeat(2, 1fr); column-gap: 80px; } }

.realisation-materiaux { padding: 0 0 48px; }
.realisation-materiaux .etiquette { color: var(--sauge-texte); }
.pastilles-materiaux { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.pastilles-materiaux li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border: 1px solid var(--filet-fort); border-radius: 24px; font-size: 14px; }
.pastille-couleur { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }

.realisation-citation .citation { font-size: 24px; line-height: 1.4; }
.realisation-citation figcaption { margin-top: 20px; color: var(--texte-doux); font-size: 15px; }
.realisation-citation .citation::before { content: ""; display: block; width: 48px; height: 2px; background: var(--or); margin-bottom: 28px; }
@media (min-width: 768px) { .realisation-citation .citation { font-size: 30px; } }
.realisation-credits { font-size: 13px; color: var(--texte-doux); padding-top: 24px; padding-bottom: 24px; }

/* 11. Curseur avant / après ---------------------------------------------- */

.curseur { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.curseur-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-pierre); }
.curseur-photo img { width: 100%; height: 100%; object-fit: cover; }
.curseur-libelle {
	position: absolute; top: 14px; padding: 7px 12px; background: rgba(20, 17, 14, 0.78); color: #fff;
	font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; border-radius: var(--rayon);
}
.curseur-libelle.gauche { left: 14px; }
.curseur-libelle.droite { right: 14px; }
.curseur-reglage, .curseur-ligne, .curseur-poignee, .curseur-bulle { display: none; }

/* Avec JavaScript : les deux photos se superposent. */
.js .curseur { display: block; aspect-ratio: 4 / 5; overflow: hidden; touch-action: pan-y; background: var(--surface-pierre); margin: 0 calc(-1 * var(--marge)); }
.js .curseur-photo { position: absolute; inset: 0; aspect-ratio: auto; }
.js .curseur-avant { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.js .curseur-reglage { display: block; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; -webkit-appearance: none; appearance: none; }
.js .curseur-ligne { display: block; position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 4px; margin-left: -2px; background: #fff; box-shadow: 0 0 0 1px rgba(20, 17, 14, 0.12), 0 0 22px rgba(20, 17, 14, 0.45); pointer-events: none; z-index: 2; }
.js .curseur-poignee {
	display: flex; align-items: center; justify-content: center;
	position: absolute; top: 50%; left: var(--pos, 50%); width: 56px; height: 56px; margin: -28px 0 0 -28px;
	border-radius: 50%; background: var(--or); border: 3px solid #fff; color: var(--surface-sombre);
	box-shadow: 0 8px 24px rgba(20, 17, 14, 0.35); pointer-events: none; z-index: 2;
	animation: nc-pulsation 1.8s ease-out infinite;
}
.js .curseur-poignee .icone { width: 26px; height: 26px; stroke-width: 2.2; }
.js .curseur-bulle {
	display: block; position: absolute; top: 50%; left: var(--pos, 50%); margin-top: 44px; transform: translateX(-50%);
	padding: 8px 14px; background: rgba(20, 17, 14, 0.82); color: #fff; font-size: 11px; font-weight: 600;
	letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; border-radius: 24px; pointer-events: none; z-index: 2;
}
.curseur.touche .curseur-poignee { animation: none; }
.curseur.touche .curseur-bulle { display: none; }
.curseur-reglage:focus-visible ~ .curseur-poignee { outline: 3px solid #fff; outline-offset: 4px; }
@keyframes nc-pulsation {
	0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.75), 0 8px 24px rgba(20, 17, 14, 0.35); }
	70% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0), 0 8px 24px rgba(20, 17, 14, 0.35); }
	100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 8px 24px rgba(20, 17, 14, 0.35); }
}
@media (min-width: 768px) {
	.js .curseur { margin: 0; border-radius: var(--rayon); max-width: 620px; }
	.js .curseur-poignee { width: 68px; height: 68px; margin: -34px 0 0 -34px; }
	.js .curseur-poignee .icone { width: 30px; height: 30px; }
	.js .curseur-bulle { margin-top: 52px; font-size: 12px; }
	.curseur-libelle { top: 20px; padding: 9px 16px; font-size: 12px; }
	.curseur-libelle.gauche { left: 20px; }
	.curseur-libelle.droite { right: 20px; }
}

/* 12. Carrousel ---------------------------------------------------------- */

.carrousel { padding: var(--section) 0 56px; overflow: hidden; }
.appel-final { border-top: 1px solid var(--filet); }
.carrousel-entete { margin-bottom: 28px; }
.carrousel-entete .titre-section { margin: 0; }
.carrousel-cadre { position: relative; }
/* Toutes les photos ont la même hauteur ; la largeur suit le format de chaque photo, qui reste entière. */
.carrousel-piste {
	--hauteur-photo: clamp(220px, 62vw, 440px);
	display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	padding: 0 var(--marge); scroll-padding: 0 var(--marge); scrollbar-width: none; overscroll-behavior-x: contain;
}
.carrousel-piste::-webkit-scrollbar { display: none; }
.carrousel-diapo { flex: none; height: var(--hauteur-photo); scroll-snap-align: center; }
.carrousel-diapo img { width: auto; height: 100%; max-width: none; display: block; }
@media (min-width: 768px) {
	.carrousel-piste { --hauteur-photo: clamp(440px, 70vh, 720px); gap: 48px; }
}
.fleche { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--texte); cursor: pointer; border: 1px solid var(--filet); box-shadow: 0 6px 20px rgba(33, 28, 24, 0.18); transition: background-color 0.2s ease, transform 0.2s ease; }
.fleche:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.fleche .icone { width: 22px; height: 22px; }
.carrousel .fleche { display: none; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.js .carrousel .fleche { display: inline-flex; }
.fleche-gauche { left: 10px; }
.fleche-droite { right: 10px; }
@media (min-width: 768px) { .fleche-gauche { left: 24px; } .fleche-droite { right: 24px; } .fleche { width: 60px; height: 60px; } }

/* 13. Appels à l'action -------------------------------------------------- */

.appel-ligne { background: var(--surface-pierre); }
.appel-ligne-interieur { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 32px; padding-bottom: 32px; }
.appel-ligne .titre-petit { margin: 0; font-size: 22px; }
@media (min-width: 768px) { .appel-ligne-interieur { flex-direction: row; align-items: center; justify-content: space-between; } }

.appel-final { padding: var(--section) 0; text-align: left; }
.appel-final-interieur { max-width: calc(860px + 2 * var(--marge)); }
.appel-final .chapo { color: var(--texte-doux); max-width: 640px; }
.appel-final-horaires { margin-top: 20px; font-size: 14px; color: var(--texte-doux); }

/* 14. Note Google et avis ------------------------------------------------- */

.note-google { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 22px 0; border-top: 1px solid var(--filet-fort); border-bottom: 1px solid var(--filet-fort); }
.note-chiffre { font-family: var(--police-titre); font-size: 48px; line-height: 1; }
.note-chiffre small { font-size: 0.4em; margin-left: 4px; color: var(--or-texte); }
.etoiles { display: inline-flex; gap: 3px; color: var(--or-fonce); }
.etoile .icone { width: 20px; height: 20px; }
.etoile.vide { opacity: 0.25; }
.etoile.demi { opacity: 0.6; }
.note-texte { font-size: 14px; color: var(--texte-doux); line-height: 1.5; }
.note-texte strong { display: block; color: var(--texte); font-weight: 600; font-size: 15px; }
.note-google .lien-fleche { width: 100%; }
@media (min-width: 768px) { .note-chiffre { font-size: 60px; } .note-google .lien-fleche { width: auto; margin-left: auto; } }
.note-google.sur-sombre { border-color: var(--filet-clair); }
.note-google.sur-sombre .note-texte { color: var(--texte-clair-doux); }
.note-google.sur-sombre .note-texte strong { color: var(--texte-clair); }
.note-google.sur-sombre .note-chiffre small, .note-google.sur-sombre .etoiles { color: var(--or-clair); }
.note-google.sur-sombre .lien-fleche { color: var(--or-clair); }

.avis-liste { display: grid; gap: 16px; margin-top: 32px; }
.avis-carte { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 28px 24px; background: var(--surface); border-radius: var(--rayon); }
.avis-carte blockquote p { font-size: 17px; line-height: 1.6; }
.avis-carte figcaption { font-size: 14px; color: var(--texte-doux); }
.avis-carte figcaption strong { color: var(--texte); display: block; }
.avis-carte .etoiles { margin-bottom: 14px; }
.avis-texte p { display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.avis-carte figcaption span { display: block; }
.avis-lien { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--or-texte); }
@media (min-width: 1024px) { .avis-liste { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* 15. Questions fréquentes ----------------------------------------------- */

.question, .contenu-editeur details { border-bottom: 1px solid var(--filet-fort); }
.question:first-child, .contenu-editeur details:first-of-type { border-top: 1px solid var(--filet-fort); }
.question summary, .contenu-editeur summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none;
	font-family: var(--police-titre); font-size: 20px; line-height: 1.3;
}
.question summary::-webkit-details-marker, .contenu-editeur summary::-webkit-details-marker { display: none; }
.question summary .icone { width: 22px; height: 22px; color: var(--or-fonce); transition: transform 0.25s ease; }
.question[open] summary .icone { transform: rotate(45deg); }
.contenu-editeur summary::after { content: "+"; font-family: var(--police-texte); font-size: 26px; color: var(--or-fonce); transition: transform 0.25s ease; }
.contenu-editeur details[open] summary::after { transform: rotate(45deg); }
.question p, .contenu-editeur details p { padding: 0 0 20px; color: var(--texte-doux); max-width: 62ch; }

/* 16. Contact et formulaire ---------------------------------------------- */

.contact-grille { display: grid; gap: 48px; }
@media (min-width: 1024px) { .contact-grille { grid-template-columns: 1.5fr 1fr; gap: 80px; align-items: start; } }
.contact-bloc { padding: 24px 0; border-top: 1px solid var(--filet-fort); }
.contact-bloc .etiquette { margin-bottom: 10px; }
.contact-bloc .titre-carte a { color: var(--texte); text-decoration: none; }
.contact-note { font-size: 14px; color: var(--texte-doux); }

.grille-champs { display: grid; gap: 18px; }
@media (min-width: 640px) { .grille-champs { grid-template-columns: 1fr 1fr; gap: 20px 24px; } .champ-large { grid-column: 1 / -1; } }
.champ { margin: 0; }
.champ label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.requis { font-weight: 400; color: var(--texte-doux); font-size: 13px; margin-left: 4px; }
.champ input, .champ select, .champ textarea {
	width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--filet-fort); border-radius: var(--rayon);
	background: #fff; color: var(--texte); font: inherit; font-size: 16px;
}
.champ textarea { min-height: 160px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 3px solid var(--or-fonce); outline-offset: 0; border-color: var(--or-fonce); }
.champ-piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire-mention { font-size: 13px; color: var(--texte-doux); margin: 20px 0; }
.formulaire button { width: 100%; }
@media (min-width: 640px) { .formulaire button { width: auto; } }
.formulaire-message { padding: 20px 22px; border-radius: var(--rayon); margin-bottom: 24px; }
.formulaire-message.reussite { background: #E5F0E1; border-left: 4px solid var(--sauge-texte); }
.formulaire-message.erreur { background: #F8E6E1; border-left: 4px solid #9B3B2A; }

/* 17. Contenu de l'éditeur (pages simples) ------------------------------- */

.contenu-editeur > * + * { margin-top: 1em; }
.contenu-editeur h2 { font-size: 26px; line-height: 1.25; margin: 1.8em 0 0.6em; }
.contenu-editeur h3 { font-size: 21px; margin: 1.5em 0 0.5em; }
.contenu-editeur ul, .contenu-editeur ol { padding-left: 1.3em; }
.contenu-editeur li + li { margin-top: 0.4em; }
.contenu-editeur img { border-radius: var(--rayon); }
.contenu-editeur details { margin-top: 0; }
.contenu-editeur details + details { margin-top: 0; }
.contenu-editeur blockquote { border-left: 2px solid var(--or); padding-left: 20px; font-family: var(--police-titre); font-size: 22px; }
.chapo.contenu-editeur p { color: var(--texte-doux); }

.page-introuvable { padding-bottom: var(--section); }

/* 18. Accessibilité et mouvement réduit ---------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.entete, .pied, .appel-final, .appel-ligne, .fleche { display: none !important; }
	body { background: #fff; }
}

/* ---- 0.4.1 : résumé en tête de la partie « Le projet » ---- */
.texte-long .realisation-resume { color: var(--texte); font-weight: 500; }

/* ---- 0.6.8 : pages secondaires (signature, questions en intertitres, sections de réponse) ---- */
.signature-atelier { margin-top: 40px; max-width: 62ch; font-family: var(--police-titre); font-size: 18px; line-height: 1.4; color: var(--or-texte); }
.contenu-editeur summary .question-titre { margin: 0; font: inherit; letter-spacing: inherit; color: inherit; }
.zone .lien-fleche { margin-top: 24px; }
.reponses-grille { display: grid; gap: 40px; }
@media (min-width: 1024px) { .reponses-grille { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.reponses-grille h2 { font-size: 24px; margin-bottom: 12px; }
.reponses-grille p { color: var(--texte-doux); }

/* ---- 0.7.0 : pages prestation (un métier par page) ---- */
.realisation-bandeau-texte .etiquette { margin-bottom: 14px; }
.prestation-resume { margin-top: 18px; max-width: 68ch; color: var(--texte-clair-doux); }
.prestation-texte .contenu-editeur > h2:first-child { margin-top: 0; }
.prestation-lien { margin: -8px 0 28px; }
.liste-prestations { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 28px; }
.liste-prestations p { margin-top: 8px; color: var(--texte-doux); max-width: 62ch; }
/* Quatre réalisations : deux par ligne sur tablette, quatre sur ordinateur (pas de carte orpheline). */
@media (min-width: 1024px) { .grille-realisations.grille-quatre { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

/* ---- 0.7.2 : lien « Laisser un avis » à côté de « Lire les avis » ---- */
.note-google .note-liens { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0; width: 100%; }
.note-google .note-liens .lien-fleche { width: auto; margin-left: 0; }
@media (min-width: 768px) { .note-google .note-liens { width: auto; margin-left: auto; } }
