/*
Theme Name: Artisan Plombier Paris 10 — Écluse
Theme URI: https://artisanplombier-paris10.fr
Author: Seobooster LTD
Description: Thème écrit pour artisanplombier-paris10.fr — le plombier du canal Saint-Martin. Code neuf, aucune ligne recopiée d'un autre site du réseau.
Version: 1.0.0
Text Domain: sbs-artisanplombier-paris10
Requires PHP: 7.4
*/

/* ============================================================
   0. JETONS — palette « eau froide / eau chaude », clair uniquement
   (décision Mathias 18/09, CM-0575 : plus de mode sombre sur le parc)
   ============================================================ */
:root {
	--faience:      #F4F7FB;
	--blanc:        #FFFFFF;
	--encre:        #0D1B33;
	--encre-2:      #43506A;
	--eau-froide:   #0B4FC4;
	--nuit-canal:   #0A1B3D;
	--eau-chaude:   #FF6B3D;
	--eau-chaude-texte: #C43D12;
	--jet:          #2FD4F2;

	--rayon: 14px;
	--rayon-grand: 48px;
	--ombre: 0 18px 40px -18px rgba(10, 27, 61, .35);
	--conteneur: 1240px;
	--marge-mobile: 16px;
}

/* ============================================================
   1. POLICES — League Gothic et Albert Sans chargées via Google Fonts
   (preconnect + css2, display=swap) dans header.php. Repli système
   condensé/grotesque si le CDN est indisponible, la page ne casse jamais.
   ============================================================ */

:root {
	--f-titre: 'League Gothic', 'Oswald', 'Arial Narrow', sans-serif;
	--f-corps: 'Albert Sans', 'Segoe UI', Arial, sans-serif;
}

/* ============================================================
   2. RESET SOBRE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--faience);
	color: var(--encre);
	font-family: var(--f-corps);
	font-size: 18px;
	line-height: 1.65;
	overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--eau-froide); text-decoration-thickness: 1.5px; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-titre); color: var(--encre); font-weight: 400; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0,0,0,0); white-space: nowrap;
}
.sbs-skip {
	position: absolute; left: -999px; top: 0; background: var(--eau-froide); color: #fff;
	padding: 10px 18px; z-index: 999; border-radius: 0 0 8px 0;
}
.sbs-skip:focus { left: 0; }

/* ============================================================
   3. BOUTONS
   ============================================================ */
.sbs-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	font-family: var(--f-corps); font-weight: 800; text-transform: uppercase;
	font-size: 15px; letter-spacing: .03em; text-decoration: none;
	padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
	transition: transform .15s ease, background .15s ease;
	white-space: nowrap;
}
.sbs-btn:hover { transform: translateY(-1px); }
.sbs-btn--chaud { background: var(--eau-chaude); color: var(--encre); }
.sbs-btn--chaud:hover { background: var(--eau-chaude-texte); color: #fff; }
.sbs-btn--contour { background: transparent; border-color: var(--eau-froide); color: var(--eau-froide); }
.sbs-btn--contour-clair { background: transparent; border-color: #fff; color: #fff; }
.sbs-btn--contour-clair:hover { background: rgba(255,255,255,.12); }
.sbs-btn--blanc { background: #fff; color: var(--eau-froide); }
.sbs-btn--large { padding: 17px 32px; font-size: 16px; }

/* ============================================================
   4. EN-TÊTE
   ============================================================ */
.sbs-entete { background: var(--blanc); position: sticky; top: 0; z-index: 60; box-shadow: 0 1px 0 rgba(13,27,51,.08); }
.sbs-entete__barre {
	max-width: var(--conteneur); margin: 0 auto; padding: 14px var(--marge-mobile);
	display: flex; align-items: center; gap: 20px;
}
.sbs-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.sbs-logo__symbole { width: 46px; height: 46px; flex: none; }
.sbs-logo__texte { display: flex; flex-direction: column; font-family: var(--f-titre); text-transform: uppercase; line-height: 1; color: var(--encre); }
.sbs-logo__texte span:first-child { font-size: 16px; letter-spacing: .04em; }
.sbs-logo__texte span:last-child { font-size: 24px; color: var(--eau-froide); }
/* Lockup complet (symbole + texte) ≈ 180 px de large : un en-tête logo + menu ne doit jamais paraître vide. */

.sbs-nav { flex: 1; display: none; }
.sbs-nav__liste { display: flex; gap: 22px; list-style: none; }
.sbs-nav__liste a {
	color: var(--encre); text-decoration: none; font-weight: 600; font-size: 15px;
	text-transform: uppercase; letter-spacing: .02em;
}
.sbs-nav__liste a:hover { color: var(--eau-froide); }

.sbs-entete__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.sbs-entete__actions .sbs-btn--contour { display: none; }

.sbs-burger {
	background: none; border: none; width: 40px; height: 40px; padding: 0;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.sbs-burger span { width: 22px; height: 2.5px; background: var(--encre); border-radius: 2px; }
.sbs-burger__txt { display: none; }

.sbs-nav-mobile { background: var(--blanc); border-top: 1px solid rgba(13,27,51,.08); }
.sbs-nav-mobile__liste { list-style: none; padding: 8px var(--marge-mobile) 20px; }
.sbs-nav-mobile__liste a { display: block; padding: 12px 0; color: var(--encre); text-decoration: none; font-weight: 700; border-bottom: 1px solid rgba(13,27,51,.06); }

.sbs-appel-persistant { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 10px var(--marge-mobile); background: var(--nuit-canal); }
.sbs-appel-persistant__lien {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	background: var(--eau-chaude); color: var(--encre); font-family: var(--f-corps); font-weight: 800;
	text-transform: uppercase; letter-spacing: .03em; text-decoration: none; padding: 14px; border-radius: 999px;
}
.sbs-appel-persistant__lien svg { width: 20px; height: 20px; }

@media (min-width: 960px) {
	.sbs-nav { display: block; }
	.sbs-entete__actions .sbs-btn--contour { display: inline-flex; }
	.sbs-burger { display: none; }
	.sbs-nav-mobile { display: none !important; }
	.sbs-appel-persistant { display: none; }
	body { padding-bottom: 0; }
}
@media (max-width: 959px) {
	body { padding-bottom: 68px; }
}

/* ============================================================
   5. SURTITRE / H2 / SECTIONS
   ============================================================ */
.sbs-surtitre {
	font-family: var(--f-corps); font-weight: 800; text-transform: uppercase;
	font-size: 13px; letter-spacing: .14em; color: var(--eau-froide); margin: 0 0 .8em;
}
.sbs-surtitre--clair { color: var(--jet); }

.sbs-h2 {
	font-size: 40px; text-transform: uppercase; letter-spacing: -.005em; line-height: .95;
	position: relative; padding-bottom: 18px; margin-bottom: 32px;
}
.sbs-h2::after {
	content: ''; position: absolute; left: 0; bottom: 0; width: 88px; height: 4px;
	background: linear-gradient(90deg, var(--eau-froide) 50%, var(--eau-chaude) 50%);
}
.sbs-h2--clair { color: #fff; }
@media (min-width: 960px) { .sbs-h2 { font-size: 60px; } }

.sbs-section { padding: 56px var(--marge-mobile); }
.sbs-section--blanche { background: var(--blanc); }
.sbs-section--faience { background: var(--faience); }
.sbs-section--nuit { background: var(--nuit-canal); color: #fff; }
.sbs-section--froide { background: var(--eau-froide); color: #fff; }
.sbs-section > * { max-width: var(--conteneur); margin-left: auto; margin-right: auto; }
@media (min-width: 960px) { .sbs-section { padding: 96px 32px; } }

/* ============================================================
   6. HERO ACCUEIL (dégradé canal) + titre P1
   ============================================================ */
.sbs-hero-accueil {
	position: relative; overflow: hidden; color: #fff;
	background: linear-gradient(115deg, var(--nuit-canal) 0%, var(--eau-froide) 55%, #1C8FE0 100%);
	padding: 36px var(--marge-mobile) 44px;
}
.sbs-hero-accueil__vague {
	position: absolute; inset: 0; pointer-events: none; opacity: .12;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400'%3E%3Cpath d='M0 320 C 150 220 250 380 400 260 C 550 140 650 300 800 200' fill='none' stroke='%232FD4F2' stroke-width='18'/%3E%3C/svg%3E") center/cover no-repeat;
}
.sbs-hero-accueil__conteneur {
	position: relative; max-width: var(--conteneur); margin: 0 auto;
	display: grid; gap: 28px; align-items: center;
}
.sbs-titre-p1 {
	font-family: var(--f-titre); text-transform: uppercase; font-size: 56px; line-height: .92;
	letter-spacing: -.005em; color: #fff; margin: 0 0 .35em;
}
.sbs-titre-p1__mot {
	position: relative; display: inline-block; color: var(--jet); overflow: hidden;
}
.sbs-titre-p1__mot::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 0;
	background: rgba(47,212,242,.28); transition: height .6s ease;
}
.sbs-titre-p1__mot.sbs-eau--animee::after,
.sbs-titre-p1__mot.sbs-eau--figee::after { height: 35%; }

.sbs-hero-accueil__chapo { font-size: 19px; max-width: 46ch; opacity: .92; margin-bottom: 1.3em; }
.sbs-hero-accueil__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.sbs-hero-accueil__photo { position: relative; }
.sbs-hero-accueil__photo img, .sbs-hero-accueil__photo .sbs-image-attendue { border-radius: var(--rayon); max-height: 420px; width: 100%; object-fit: cover; }
.sbs-hero-accueil--service .sbs-hero-accueil__conteneur { grid-template-columns: 1fr; }

@media (min-width: 960px) {
	.sbs-hero-accueil { padding: 64px 32px 90px; min-height: calc(100vh - 120px); display: flex; align-items: center; }
	.sbs-hero-accueil__conteneur { grid-template-columns: 1.1fr .9fr; gap: 48px; }
	.sbs-titre-p1 { font-size: 104px; }
	.sbs-hero-accueil--service .sbs-hero-accueil__conteneur { grid-template-columns: 1.3fr .7fr; }
}

/* ============================================================
   7. IMAGE ATTENDUE — emplacement visible tant que la vraie photo
   n'est pas fournie (jamais un rectangle vide silencieux)
   ============================================================ */
.sbs-image-attendue {
	display: flex; align-items: center; justify-content: center; min-height: 220px;
	background: repeating-linear-gradient(45deg, rgba(11,79,196,.08), rgba(11,79,196,.08) 12px, rgba(255,255,255,.4) 12px, rgba(255,255,255,.4) 24px);
	border: 2px dashed rgba(11,79,196,.35); border-radius: var(--rayon);
}
.sbs-image-attendue::before {
	content: 'Photo à fournir'; font-family: var(--f-corps); font-weight: 700; font-size: 13px;
	color: var(--eau-froide); text-transform: uppercase; letter-spacing: .06em;
}
.sbs-image-attendue--paysage { aspect-ratio: 16/9; min-height: 0; }

/* ============================================================
   8. RÉASSURANCE + COCHES
   ============================================================ */
.sbs-reassurance { background: var(--eau-froide); color: #fff; display: grid; gap: 20px; padding: 30px var(--marge-mobile); }
.sbs-reassurance__item { display: flex; align-items: center; gap: 14px; }
.sbs-reassurance__picto {
	flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--eau-froide);
	display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--f-titre); font-size: 18px;
}
.sbs-reassurance__item strong { display: block; font-size: 16px; }
.sbs-reassurance__item span:last-child { font-size: 14px; opacity: .85; }
@media (min-width: 760px) { .sbs-reassurance { grid-template-columns: repeat(3, 1fr); max-width: var(--conteneur); margin: 0 auto; padding: 30px 32px; } }

.sbs-coches { list-style: none; display: grid; gap: 10px; margin: 0 0 1.6em; }
.sbs-coches li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.sbs-coches svg { width: 22px; height: 22px; flex: none; color: var(--jet); }

/* ============================================================
   9. SERVICES (médaillons)
   ============================================================ */
.sbs-services__rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.sbs-medaillon-service {
	flex: none; width: 200px; scroll-snap-align: start; text-align: center; text-decoration: none; color: var(--encre);
	display: flex; flex-direction: column; gap: 8px;
}
.sbs-medaillon-service__photo {
	width: 180px; height: 180px; border-radius: 50%; overflow: hidden; margin: 0 auto; border: 4px solid var(--faience);
}
.sbs-medaillon-service__photo img, .sbs-medaillon-service__photo .sbs-image-attendue { width: 100%; height: 100%; object-fit: cover; min-height: 0; border-radius: 50%; border: none; }
.sbs-medaillon-service--actif .sbs-medaillon-service__photo { border-color: var(--eau-chaude); transform: scale(1.06); }
.sbs-medaillon-service strong { font-size: 16px; }
.sbs-medaillon-service span:last-child { font-size: 13px; color: var(--encre-2); }
@media (min-width: 960px) { .sbs-services__rail { overflow: visible; flex-wrap: wrap; justify-content: center; } }

/* ============================================================
   10. CARTE (bande nuit) + chiffres
   ============================================================ */
.sbs-carte-section { display: grid; gap: 40px; }
.sbs-carte-section__chiffres p { color: rgba(255,255,255,.8); margin-bottom: 1.4em; }
/* 3 tuiles empilées (correction verdict §6b) : la colonne gauche ne reste plus
   vide sous le H2, et chaque chiffre est calculé en PHP, jamais écrit en dur. */
.sbs-tuiles { display: grid; gap: 20px; }
.sbs-tuile { display: flex; flex-direction: column; padding-top: 10px; border-top: 2px solid rgba(255,255,255,.18); }
.sbs-tuile__chiffre { font-family: var(--f-titre); font-size: 56px; color: var(--jet); line-height: .9; font-variant-numeric: tabular-nums; }
.sbs-tuile span:last-child { color: rgba(255,255,255,.8); font-size: 15px; margin-top: 4px; }
.sbs-lien-clair { display: inline-block; margin-top: 16px; color: var(--jet); font-weight: 700; text-decoration: none; }
@media (min-width: 960px) { .sbs-carte-section { grid-template-columns: .8fr 1.2fr; align-items: center; } .sbs-tuile__chiffre { font-size: 88px; } }

.sbs-carte { width: 100%; max-width: 640px; min-width: 320px; height: auto; display: block; margin: 0 auto; }
@media (min-width: 960px) { .sbs-carte:not(.sbs-carte--mini) { min-width: 520px; } }
.sbs-carte__canal { }
.sbs-zone circle { fill: rgba(11,79,196,.35); stroke: rgba(255,255,255,.5); stroke-width: 2; transition: fill .15s ease; }
.sbs-zone text { fill: #fff; font-family: var(--f-corps); font-weight: 800; font-size: 18px; pointer-events: none; }
.sbs-zone:hover circle, a.sbs-zone:focus circle { fill: var(--eau-froide); }
.sbs-zone--flagship circle { fill: var(--eau-chaude); stroke: #fff; }
.sbs-zone--flagship text { fill: var(--encre); }
.sbs-zone--active circle { fill: var(--eau-chaude); stroke: #fff; stroke-width: 3; }
.sbs-zone--active text { fill: var(--encre); }
.sbs-zone--inerte circle { fill: rgba(255,255,255,.08); stroke: rgba(255,255,255,.25); }
.sbs-zone--inerte text { fill: rgba(255,255,255,.5); }
.sbs-carte--mini { max-width: 420px; margin: 0 auto 24px; display: block; }

.sbs-pastilles { list-style: none; display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
.sbs-pastilles a {
	display: block; background: rgba(255,255,255,.06); color: inherit; text-decoration: none;
	padding: 12px 16px; border-radius: 999px; text-align: center; font-weight: 700; border: 1px solid rgba(255,255,255,.15);
}
.sbs-section--blanche .sbs-pastilles a { background: var(--faience); color: var(--encre); border-color: rgba(13,27,51,.08); }
.sbs-section--blanche .sbs-pastilles a:hover { background: var(--eau-froide); color: #fff; }
@media (min-width: 760px) { .sbs-pastilles { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   11. POURQUOI NOUS + coupe de mur (P6)
   ============================================================ */
.sbs-pourquoi { display: grid; gap: 36px; }
.sbs-pourquoi__liste { list-style: none; display: grid; gap: 16px; }
.sbs-pourquoi__liste strong { display: block; color: var(--eau-froide); }
@media (min-width: 960px) { .sbs-pourquoi { grid-template-columns: 1fr 1fr; align-items: center; } }

.sbs-coupe-mur { position: relative; clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%); border-radius: var(--rayon); overflow: hidden; }
.sbs-coupe-mur::before {
	content: ''; position: absolute; top: 0; bottom: 0; left: -3%; width: 6%;
	background: repeating-linear-gradient(180deg, var(--faience) 0 8px, var(--eau-chaude) 8px 12px, var(--eau-froide) 12px 16px);
	transform: skewX(-8deg); z-index: 2;
}
.sbs-coupe-mur img, .sbs-coupe-mur .sbs-image-attendue { width: 100%; height: 100%; object-fit: cover; border-radius: 0; min-height: 260px; }

/* ============================================================
   12. ÉTAPES (bande eau-froide, sans faux avis)
   ============================================================ */
.sbs-etapes__liste { list-style: none; display: grid; gap: 24px; }
.sbs-etapes__num { font-family: var(--f-titre); font-size: 48px; color: var(--jet); display: block; }
.sbs-etapes__liste strong { display: block; font-size: 18px; margin: 4px 0; }
.sbs-etapes__liste span:last-child { opacity: .85; font-size: 15px; }
@media (min-width: 960px) { .sbs-etapes__liste { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   13. ACTU ACCUEIL
   ============================================================ */
.sbs-actu-home__grille { display: grid; gap: 24px; }
.sbs-actu-home__item--grande { grid-column: 1 / -1; }
@media (min-width: 960px) { .sbs-actu-home__grille { grid-template-columns: repeat(3, 1fr); } }

.sbs-carte-article { display: block; text-decoration: none; color: inherit; }
.sbs-carte-article__media { position: relative; aspect-ratio: 4/3; border-radius: var(--rayon); overflow: hidden; margin-bottom: 12px; }
.sbs-carte-article__media img { width: 100%; height: 100%; object-fit: cover; }
.sbs-carte-article__sans-image { display: block; width: 100%; height: 100%; background: var(--faience); }
.sbs-carte-article__corps time { font-size: 13px; color: var(--encre-2); }
.sbs-carte-article__corps h3 { font-size: 21px; margin: .3em 0; text-transform: none; font-family: var(--f-corps); font-weight: 800; }
.sbs-carte-article__corps p { font-size: 15px; color: var(--encre-2); margin: 0; }
.sbs-actu-home__item--grande .sbs-carte-article__media { aspect-ratio: 16/9; }
.sbs-actu-home__item--grande .sbs-carte-article__corps h3 { font-size: 28px; }

.sbs-pastille { position: absolute; top: 12px; left: 12px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.sbs-pastille--froide { background: var(--eau-froide); color: #fff; }
.sbs-pastille--chaude { background: var(--eau-chaude); color: var(--encre); }
.sbs-pastille--neutre { background: var(--encre); color: #fff; }

.sbs-vide { color: var(--encre-2); font-style: italic; }

/* ============================================================
   14. BANDEAU CHEVRONS (P5)
   ============================================================ */
.sbs-chevrons {
	background: var(--blanc); padding: 56px var(--marge-mobile);
	display: flex; align-items: center; justify-content: center; gap: 24px; text-align: center;
}
.sbs-chevrons__contenu h2 { font-family: var(--f-titre); text-transform: uppercase; font-size: 34px; line-height: .95; margin-bottom: .5em; }
.sbs-chevrons__contenu p { color: var(--encre-2); margin-bottom: 1.4em; }
/* Vrais chevrons pleins (correction verdict §9 : les traits de 2 px étaient
   invisibles) — SVG ">" épais, la paire de gauche pointe vers le centre, celle
   de droite est retournée pour pointer vers le centre elle aussi. */
.sbs-chevrons__deco { display: none; }
.sbs-chevrons__deco svg { width: 34px; height: 34px; margin: 6px 0; color: var(--eau-chaude); display: block; }
.sbs-chevrons__deco--droite svg { transform: scaleX(-1); }
@media (min-width: 960px) {
	.sbs-chevrons__deco { display: flex; flex-direction: column; }
	.sbs-chevrons__deco svg { width: 48px; height: 48px; margin: 8px 0; }
	.sbs-chevrons__contenu h2 { font-size: 48px; }
}

/* ============================================================
   15. PIED DE PAGE
   ============================================================ */
.sbs-pied { background: var(--nuit-canal); color: rgba(255,255,255,.85); padding: 64px var(--marge-mobile) 24px; }
.sbs-pied__haut { max-width: var(--conteneur); margin: 0 auto; display: grid; gap: 40px; }
.sbs-pied__marque .sbs-logo__symbole { width: 44px; height: 44px; }
.sbs-pied .sbs-logo__texte, .sbs-pied .sbs-logo__texte span:last-child { color: #fff; }
.sbs-pied__accroche { max-width: 40ch; margin: 16px 0 20px; }
.sbs-pied__boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.sbs-pied__colonne h3 { color: #fff; font-family: var(--f-corps); text-transform: uppercase; font-size: 14px; letter-spacing: .06em; margin-bottom: 14px; }
.sbs-pied__colonne ul { list-style: none; display: grid; gap: 10px; }
.sbs-pied__colonne a { color: rgba(255,255,255,.75); text-decoration: none; font-size: 15px; }
.sbs-pied__colonne a:hover { color: var(--jet); }
.sbs-pied__villes { max-height: 260px; overflow-y: auto; }
.sbs-pied__bas { max-width: var(--conteneur); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
@media (min-width: 960px) { .sbs-pied__haut { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; } }

/* ============================================================
   16. FORMULAIRE (composant unique — carte P7)
   ============================================================ */
.sbs-devis {
	background: var(--blanc); border-radius: var(--rayon); box-shadow: var(--ombre);
	padding: 28px 24px; position: relative; color: var(--encre);
}
.sbs-devis__reglette { height: 4px; margin: -28px -24px 20px; background: linear-gradient(90deg, var(--eau-froide) 50%, var(--eau-chaude) 50%); border-radius: var(--rayon) var(--rayon) 0 0; }
.sbs-devis__titre { font-size: 26px; margin-bottom: .2em; }
.sbs-devis__intro { color: var(--encre-2); font-size: 14px; margin-bottom: 1em; }
.sbs-devis__leurre { position: absolute; left: -9999px; }
/* Champs non tassés (retour Mathias 18/09) : plus d'air entre les groupes. */
.sbs-champ { margin-bottom: 20px; border: none; padding: 0; }
.sbs-champ label, .sbs-champ legend { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; padding: 0; color: var(--encre-2); text-transform: none; }
.sbs-champ input, .sbs-champ select {
	width: 100%; padding: 13px 14px; border: 1.5px solid rgba(13,27,51,.15); border-radius: 8px;
	font-family: var(--f-corps); font-size: 16px; font-weight: 400; text-align: left; background: var(--faience); color: var(--encre);
}
.sbs-champ input:focus, .sbs-champ select:focus { outline: 2px solid var(--eau-froide); outline-offset: 1px; }
/* Choix en cartes à pictos (retour Mathias 18/09) : remplace les <select> à
   options « — choisir — » pour probleme / type de bien / délai. */
.sbs-choix-cartes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sbs-choix-carte {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
	padding: 14px 8px; border: 1.5px solid rgba(13,27,51,.15); border-radius: 10px; cursor: pointer;
	font-size: 13px; font-weight: 600; color: var(--encre-2); background: var(--faience);
}
.sbs-choix-carte input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sbs-choix-carte__picto { width: 26px; height: 26px; color: var(--eau-froide); }
.sbs-choix-carte__picto svg { width: 100%; height: 100%; }
.sbs-choix-carte:has(input:checked) { border-color: var(--eau-chaude); background: #fff; color: var(--encre); box-shadow: 0 0 0 2px var(--eau-chaude); }
.sbs-choix-carte:has(input:focus-visible) { outline: 2px solid var(--eau-froide); outline-offset: 2px; }
.sbs-devis__rgpd { font-size: 12px; color: var(--encre-2); margin: 10px 0 16px; text-transform: none; font-weight: 400; text-align: left; }
.sbs-devis__rgpd a { color: var(--encre-2); }
.sbs-devis__form .sbs-btn { width: 100%; }
.sbs-devis__erreur { color: #B3261E; font-size: 13px; margin-top: 10px; }
.sbs-devis--compact { padding: 22px 20px; }

.sbs-hero-accueil__carte, .sbs-hero-ville__carte { max-width: 420px; }
@media (min-width: 960px) { .sbs-hero-accueil__carte { justify-self: end; } }

/* ============================================================
   17. GABARIT VILLE
   ============================================================ */
.sbs-hero-ville {
	background: var(--nuit-canal); color: #fff; padding: 44px var(--marge-mobile);
	display: grid; gap: 32px;
}
.sbs-hero-ville__chapo { font-size: 18px; opacity: .9; margin-bottom: 1.2em; max-width: 52ch; }
.sbs-hero-ville h1 { font-family: var(--f-titre); text-transform: uppercase; font-size: 48px; line-height: .95; color: #fff; margin-bottom: .3em; }
.sbs-hero-ville__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.4em; }
.sbs-hero-ville__texte--seule { max-width: 70ch; }
@media (min-width: 960px) {
	.sbs-hero-ville { grid-template-columns: 1.2fr .8fr; align-items: start; padding: 80px 32px; }
	.sbs-hero-ville h1 { font-size: 84px; }
	.sbs-hero-ville__carte { justify-self: end; }
}
.sbs-page-ville__intro { max-width: 760px; margin: 0 auto; padding: 56px var(--marge-mobile) 0; }
.sbs-page-ville__photo { aspect-ratio: 16/9; margin-bottom: 1.4em; }
.sbs-page-ville__carte { text-align: center; }

/* ============================================================
   18. GABARIT SERVICE
   ============================================================ */
.sbs-methodes { display: grid; gap: 24px; }
.sbs-methode-carte { border-top: 4px solid; border-image: linear-gradient(90deg, var(--eau-froide) 50%, var(--eau-chaude) 50%) 1; padding-top: 18px; }
.sbs-methode-carte__photo { aspect-ratio: 4/3; border-radius: var(--rayon); overflow: hidden; margin-bottom: 14px; }
.sbs-methode-carte__photo img { width: 100%; height: 100%; object-fit: cover; }
.sbs-methode-carte h3 { font-size: 20px; font-family: var(--f-corps); font-weight: 800; text-transform: none; margin-bottom: .3em; }
.sbs-methode-carte p { color: var(--encre-2); font-size: 15px; }
@media (min-width: 760px) { .sbs-methodes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .sbs-methodes { grid-template-columns: repeat(4, 1fr); } }

.sbs-faq { display: grid; gap: 12px; margin: 1.6em 0; }
.sbs-faq__item { background: var(--blanc); border-radius: var(--rayon); padding: 18px 22px; margin-bottom: 12px; }
.sbs-faq__item summary { cursor: pointer; font-weight: 800; }
.sbs-faq__item p { margin-top: 10px; color: var(--encre-2); }

/* ============================================================
   19. GABARIT CONTACT
   ============================================================ */
.sbs-hero-contact { background: linear-gradient(115deg, var(--nuit-canal) 0%, var(--eau-froide) 100%); color: #fff; padding: 48px var(--marge-mobile); position: relative; overflow: hidden; }
.sbs-hero-contact__texte { position: relative; max-width: var(--conteneur); margin: 0 auto; }
.sbs-telephone-geant { font-family: var(--f-titre); font-size: 44px; color: #fff; text-decoration: none; display: inline-block; margin-top: .3em; }
.sbs-page-contact { display: grid; gap: 32px; }
@media (min-width: 960px) { .sbs-page-contact { grid-template-columns: 1fr .7fr; } .sbs-telephone-geant { font-size: 64px; } }
.sbs-page-contact__notes { max-width: 760px; margin: 0 auto; padding-top: 0; }

/* ============================================================
   20. RUBRIQUE (hub) — articles en haut, intro après (retour ×4)
   ============================================================ */
.sbs-hero-rubrique { padding: 48px var(--marge-mobile); text-align: center; color: #fff; }
.sbs-hero-rubrique--froide { background: var(--eau-froide); }
.sbs-hero-rubrique--chaude { background: linear-gradient(115deg, var(--nuit-canal), var(--eau-chaude-texte)); }
.sbs-hero-rubrique--neutre { background: var(--encre); }
.sbs-hero-rubrique h1 { font-family: var(--f-titre); text-transform: uppercase; font-size: 42px; color: #fff; }
.sbs-hero-rubrique p { max-width: 60ch; margin: 12px auto 0; opacity: .9; }
.sbs-hero-rubrique--sobre { background: var(--faience); color: var(--encre); }
.sbs-hero-rubrique--sobre h1 { color: var(--encre); }

.sbs-rubrique-grille__une { margin-bottom: 28px; }
.sbs-rubrique-grille__une .sbs-carte-article__media { aspect-ratio: 21/9; }
.sbs-rubrique-grille__reste { display: grid; gap: 24px; }
@media (min-width: 640px) { .sbs-rubrique-grille__reste { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .sbs-rubrique-grille__reste { grid-template-columns: repeat(3, 1fr); } }

/* Colonne latérale à devis (formulaire multi-étapes) sur les pages de rubrique —
   même principe que l'article : jamais de gabarit sans mise en relation. */
.sbs-rubrique__grille { display: grid; gap: 40px; }
@media (min-width: 1200px) {
	.sbs-rubrique__grille { grid-template-columns: 1fr 380px; align-items: start; }
	.sbs-rubrique__colonne-laterale { position: sticky; top: 96px; }
}

.sbs-pagination-geante { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.sbs-pagination-geante .page-numbers {
	font-family: var(--f-titre); font-size: 26px; color: var(--encre-2); text-decoration: none;
	width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 50%;
}
.sbs-pagination-geante .page-numbers.current { background: var(--eau-froide); color: #fff; }

.sbs-rubrique-intro { }
.sbs-rubrique-intro__cta { max-width: 480px; margin: 40px auto 0; }

/* ============================================================
   21. ARTICLE (modèle Luko)
   ============================================================ */
.sbs-filariane { max-width: var(--conteneur); margin: 0 auto; padding: 16px var(--marge-mobile); font-size: 14px; color: var(--encre-2); }
.sbs-filariane a { color: var(--encre-2); }
.sbs-filariane span { color: var(--encre); font-weight: 600; }

.sbs-hero-article {
	background: linear-gradient(115deg, #1C5FD6 0%, var(--nuit-canal) 100%); color: #fff;
	padding: 36px var(--marge-mobile); display: grid; gap: 24px;
}
.sbs-hero-article h1 { font-family: var(--f-corps); font-weight: 800; font-style: italic; font-size: 32px; color: #fff; line-height: 1.08; text-transform: none; }
.sbs-hero-article__chapo { opacity: .92; margin: 12px 0 20px; max-width: 54ch; }
.sbs-hero-article__photo { min-height: 220px; }
@media (min-width: 960px) {
	.sbs-hero-article { grid-template-columns: 1.1fr .9fr; padding: 56px 32px; align-items: center; }
	.sbs-hero-article h1 { font-size: 46px; }
	/* Sans photo (correction verdict §2) : jamais l'encadré hachuré, le texte prend
	   toute la largeur au lieu de laisser une colonne vide. */
	.sbs-hero-article--sans-photo { grid-template-columns: 1fr; }
	.sbs-hero-article--sans-photo .sbs-hero-article__texte { max-width: 760px; }
}

.sbs-hero-actu { position: relative; }
.sbs-hero-actu__photo { width: 100%; aspect-ratio: 16/9; object-fit: cover; min-height: 240px; }
.sbs-hero-actu__voile {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 24px var(--marge-mobile);
	background: linear-gradient(0deg, rgba(10,27,61,.92), rgba(10,27,61,0));
	color: #fff;
}
.sbs-hero-actu__voile time { display: block; margin: 8px 0 6px; font-size: 14px; opacity: .85; }
.sbs-hero-actu__voile h1 { color: #fff; font-family: var(--f-corps); font-weight: 800; font-size: 26px; text-transform: none; }
@media (min-width: 960px) { .sbs-hero-actu__voile h1 { font-size: 38px; } .sbs-hero-actu__voile { padding: 40px 32px; } }
/* Sans photo (correction verdict §2) : aplat nuit plein, voile en flux normal. */
.sbs-hero-actu--sans-photo { background: var(--nuit-canal); }
.sbs-hero-actu--sans-photo .sbs-hero-actu__voile { position: static; background: none; padding: 44px var(--marge-mobile); }
@media (min-width: 960px) { .sbs-hero-actu--sans-photo .sbs-hero-actu__voile { padding: 64px 32px; } }

.sbs-article__grille { max-width: var(--conteneur); margin: 0 auto; padding: 40px var(--marge-mobile); display: grid; gap: 40px; }
.sbs-article__colonne { max-width: 720px; }
@media (min-width: 1200px) {
	.sbs-article__grille { grid-template-columns: 720px 1fr; padding: 56px 32px; }
	.sbs-article__colonne-laterale { position: sticky; top: 96px; align-self: start; }
}
@media (max-width: 1199px) { .sbs-article__colonne-laterale { max-width: 420px; } }

.sbs-meta-auteur { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; font-size: 14px; color: var(--encre-2); flex-wrap: wrap; }
.sbs-meta-auteur__photo img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.sbs-meta-auteur__nom { font-weight: 800; color: var(--encre); text-decoration: none; }
.sbs-meta-auteur__sep { opacity: .5; }

.sbs-essentiel { background: var(--faience); border-left: 4px solid; border-image: linear-gradient(180deg, var(--eau-froide), var(--eau-chaude)) 1; padding: 20px 22px; border-radius: 0 var(--rayon) var(--rayon) 0; margin-bottom: 28px; }
.sbs-essentiel__titre { font-family: var(--f-titre); text-transform: uppercase; font-size: 20px; color: var(--eau-froide); margin-bottom: .4em; }
.sbs-essentiel__corps p { margin: 0; }

.sbs-sommaire { background: var(--blanc); border: 1px solid rgba(13,27,51,.1); border-radius: var(--rayon); padding: 18px 22px; margin-bottom: 32px; }
.sbs-sommaire summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 800; font-size: 16px; list-style: none; }
.sbs-sommaire summary::-webkit-details-marker { display: none; }
.sbs-sommaire summary svg { width: 18px; height: 18px; transition: transform .2s ease; }
.sbs-sommaire[open] summary svg { transform: rotate(180deg); }
.sbs-sommaire ol { counter-reset: sommaire; list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.sbs-sommaire ol li { counter-increment: sommaire; }
.sbs-sommaire ol li a { text-decoration: none; color: var(--encre); }
.sbs-sommaire ol li a::before { content: counter(sommaire) '. '; font-family: var(--f-titre); color: var(--eau-froide); margin-right: 4px; }
.sbs-sommaire ol li.sbs-sommaire__sous { margin-left: 20px; font-size: 14px; }

.sbs-corps-article { max-width: 72ch; }
.sbs-corps-article h2 { font-size: 24px; margin: 2.2em 0 .5em; padding-top: 20px; position: relative; text-transform: none; font-family: var(--f-corps); font-weight: 800; color: var(--eau-froide); }
.sbs-corps-article h2::before {
	content: ''; position: absolute; top: 0; left: 0; width: 64px; height: 4px;
	background: linear-gradient(90deg, var(--eau-froide) 50%, var(--eau-chaude) 50%);
}
/* Numéro League Gothic repris du sommaire (correction verdict §10 : « mur de texte »). */
.sbs-h2-num { display: block; font-family: var(--f-titre); font-size: 22px; line-height: 1; color: var(--eau-froide); margin-bottom: 4px; }
.sbs-corps-article h3 { font-size: 20px; margin: 1.3em 0 .4em; text-transform: none; font-family: var(--f-corps); font-weight: 700; }
.sbs-corps-article p { color: var(--encre); }
.sbs-corps-article ul, .sbs-corps-article ol { margin: 0 0 1.2em 1.3em; }
.sbs-corps-article img { border-radius: var(--rayon); aspect-ratio: 16/9; object-fit: cover; width: 100%; height: auto; margin: 1em 0; }
.sbs-corps-article--sobre img { display: none; } /* pages légales : aucune image */
/* Un CTA dans le corps garde un contraste lisible : le lien générique ne doit
   jamais écraser le style du bouton (retour Mathias 18/09). */
.sbs-corps-article a:not(.sbs-btn) { color: var(--eau-froide); text-decoration-thickness: 1.5px; }
.sbs-corps-article a.sbs-btn, .sbs-corps-article a.sbs-btn:visited { text-decoration: none; }

/* check-list en infographie — classe additionnelle "sbs-checklist" sur la liste */
.sbs-checklist { list-style: none; display: grid; gap: 14px; margin: 1.4em 0; counter-reset: check; }
.sbs-checklist li {
	counter-increment: check; position: relative; padding: 16px 18px 16px 56px; background: var(--faience);
	border-radius: var(--rayon); border-top: 3px solid var(--eau-froide);
}
.sbs-checklist li::before {
	content: counter(check); position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
	font-family: var(--f-titre); font-size: 24px; color: var(--eau-chaude-texte); width: 28px; text-align: center;
}
@media (min-width: 760px) { .sbs-checklist { grid-template-columns: 1fr 1fr; } }

/* tableau hérité -> cartes empilées (P-542) */
.sbs-tableaux-cartes { display: grid; gap: 14px; margin: 1.4em 0; }
.sbs-tableau-carte { background: var(--faience); border-radius: var(--rayon); padding: 16px 18px; border-top: 3px solid var(--eau-chaude); }
.sbs-tableau-carte__ligne { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid rgba(13,27,51,.08); }
.sbs-tableau-carte__ligne:last-child { border-bottom: none; }
.sbs-tableau-carte__label { font-weight: 700; color: var(--encre-2); font-size: 14px; }
.sbs-tableau-carte__valeur { font-weight: 600; text-align: right; }

/* bloc Sources */
.sbs-sources { background: var(--faience); border-top: 4px solid; border-image: linear-gradient(90deg, var(--eau-froide) 50%, var(--eau-chaude) 50%) 1; border-radius: 0 var(--rayon) var(--rayon) var(--rayon); padding: 22px; margin: 2em 0; }
.sbs-sources__titre { font-family: var(--f-titre); text-transform: uppercase; font-size: 22px; color: var(--eau-froide); margin-bottom: .6em; }
.sbs-sources__liste { list-style: none; display: grid; gap: 12px; }
.sbs-sources__liste li { display: flex; gap: 12px; }
.sbs-sources__num { font-family: var(--f-titre); font-size: 20px; color: var(--eau-chaude-texte); flex: none; width: 24px; }
.sbs-sources__texte strong:first-child { color: var(--encre); }

.sbs-voir-aussi { margin-top: 3em; }
.sbs-voir-aussi__grille { display: grid; gap: 20px; }
@media (min-width: 760px) { .sbs-voir-aussi__grille { grid-template-columns: repeat(3, 1fr); } }

.sbs-mentions { font-size: 13px; color: var(--encre-2); margin-top: 2em; }

/* Carte auteur en fin d'article (retour Mathias 18/09) : photo carrée non
   déformée, distincte de la ligne méta en haut, une seule par article. */
.sbs-carte-auteur-fin { display: flex; gap: 18px; align-items: flex-start; background: var(--faience); border-radius: var(--rayon); padding: 22px; margin: 2.4em 0; }
.sbs-carte-auteur-fin__photo img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; flex: none; }
.sbs-carte-auteur-fin__nom { font-weight: 800; color: var(--encre); margin: 0; }
.sbs-carte-auteur-fin__fonction { color: var(--eau-froide); font-size: 14px; font-weight: 700; margin: 2px 0 0; }
.sbs-carte-auteur-fin__bio { color: var(--encre-2); font-size: 14px; margin: 8px 0 0; }
.sbs-carte-auteur-fin__lien { display: inline-block; margin-top: 10px; color: var(--eau-froide); font-weight: 700; text-decoration: none; font-size: 14px; }
@media (min-width: 600px) { .sbs-carte-auteur-fin__photo img { width: 110px; height: 110px; } }

.sbs-cta-intra {
	max-width: var(--conteneur); margin: 40px auto; display: grid; overflow: hidden; border-radius: var(--rayon-grand) var(--rayon) var(--rayon) var(--rayon-grand);
}
.sbs-cta-intra__photo { min-height: 220px; }
.sbs-cta-intra__texte { background: var(--nuit-canal); color: #fff; padding: 32px 24px; display: flex; flex-direction: column; justify-content: center; }
.sbs-cta-intra__texte h2 { color: #fff; font-family: var(--f-corps); font-weight: 800; font-size: 24px; text-transform: none; margin-bottom: .4em; }
.sbs-cta-intra__texte p { opacity: .85; margin-bottom: 1.2em; }
.sbs-cta-intra .sbs-btn { align-self: flex-start; }
@media (min-width: 760px) { .sbs-cta-intra { grid-template-columns: 1fr 1fr; margin: 40px 32px; } }
/* Sans photo (correction verdict §2) : aplat nuit pleine largeur, pas de colonne vide. */
.sbs-cta-intra--pleine { grid-template-columns: 1fr; }
.sbs-cta-intra--pleine .sbs-cta-intra__texte { padding: 40px 32px; align-items: flex-start; }
@media (min-width: 760px) { .sbs-cta-intra--pleine { grid-template-columns: 1fr; } }

/* ============================================================
   22. AUTEUR
   ============================================================ */
.sbs-hero-auteur { background: var(--nuit-canal); color: #fff; padding: 48px var(--marge-mobile); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.sbs-hero-auteur__photo img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 4px solid; border-image: linear-gradient(90deg, var(--eau-froide), var(--eau-chaude)) 1; }
.sbs-hero-auteur h1 { color: #fff; font-family: var(--f-titre); text-transform: uppercase; font-size: 34px; }
.sbs-hero-auteur__fonction { color: var(--jet); font-weight: 700; margin-top: .2em; }
.sbs-hero-auteur__bio { max-width: 56ch; opacity: .85; margin-top: .6em; }
@media (min-width: 760px) { .sbs-hero-auteur { flex-direction: row; text-align: left; padding: 64px 32px; } }

/* ============================================================
   23. 404 / RECHERCHE / PAGE SIMPLE
   ============================================================ */
.sbs-404 { max-width: 760px; margin: 0 auto; text-align: center; padding: 80px var(--marge-mobile); }
.sbs-404 h1 { font-size: 32px; margin: .4em 0; }
.sbs-recherche { display: flex; gap: 10px; max-width: 420px; margin: 24px auto 0; }
.sbs-recherche input { flex: 1; padding: 12px 14px; border-radius: 8px; border: 1.5px solid rgba(13,27,51,.15); }
.sbs-recherche button { padding: 12px 18px; border-radius: 8px; border: none; background: var(--eau-froide); color: #fff; font-weight: 700; }
.sbs-page-simple .sbs-corps-article { max-width: 72ch; margin: 0 auto; }

/* ============================================================
   24. UTILITAIRES
   ============================================================ */
@media (max-width: 599px) {
	.sbs-titre-p1 { font-size: 44px; }
	.sbs-hero-ville h1 { font-size: 36px; }
	.sbs-h2 { font-size: 30px; }
}

/* Mobile étroit : l'en-tête ne porte que logo + menu, le devis vit dans la barre du bas */
@media (max-width: 480px) {
	.sbs-entete__actions .sbs-btn--chaud { display: none; }
	.sbs-entete__inner, .sbs-entete__actions { min-width: 0; }
	.sbs-logo img, .sbs-logo svg { max-width: 190px; height: auto; }
}

/* Mobile : la carte illustre, les pastilles se lisent et se touchent (noms ≥ 15 px) */
.sbs-mobile-seul .sbs-pastilles { grid-template-columns: 1fr 1fr; }
@media (min-width: 960px) { .sbs-mobile-seul { display: none; } }

/* Correctifs orchestrateur 18/09 */
.sbs-choix-carte__picto { display: block; flex: none; }
.sbs-article__colonne-laterale .sbs-voir-aussi__grille,
.sbs-voir-aussi__grille { grid-template-columns: 1fr; }
@media (min-width: 760px) { .sbs-article__colonne .sbs-voir-aussi__grille { grid-template-columns: repeat(3, 1fr); } }
.sbs-sommaire__sous { list-style: none; margin-left: 1.2em; }
.sbs-sommaire__sous::marker { content: ''; }
.sbs-sommaire ol li.sbs-sommaire__sous { counter-increment: none; }
.sbs-sommaire ol li.sbs-sommaire__sous a::before { content: '– '; font-family: inherit; }

/* R-0540 : formulaire à la place de la photo du hero d'accueil */
.sbs-hero-accueil__formulaire { position: relative; z-index: 2; width: 100%; max-width: 440px; justify-self: end; color: var(--encre); }
@media (max-width: 959px) { .sbs-hero-accueil__formulaire { justify-self: stretch; max-width: none; margin-top: 28px; } }
.sbs-choix-carte__picto { align-self: center; }
