/* Blocs Sos Serrurier Dépannage — maquette v3 « Serrurier de garde » : tout en mode nuit, numéro géant, frise 24 h, 4 étapes.
   Une seule famille (Inter Tight), aucune italique ; la mise en valeur passe par l'ambre #E8B45A. */
:root {
	--sb-fond: var(--wp--preset--color--fond, #0E1726);
	--sb-nuit: var(--wp--preset--color--nuit, #0A111D);
	--sb-carte: var(--wp--preset--color--papier, #152238);
	--sb-encre: var(--wp--preset--color--encre, #EEF1F5);
	--sb-doux: var(--wp--preset--color--encre-douce, #9AA6B8);
	--sb-clair: #C3CBD8;
	--sb-filet: var(--wp--preset--color--filets, #24334C);
	--sb-accent: var(--wp--preset--color--accent, #E8B45A);
	--sb-appel: var(--wp--preset--color--appel, #E8A33D);
	--sb-sur-appel: var(--wp--preset--color--sur-appel, #0E1726);
	--sb-inactif: #3A4A66;
}
.sb-bloc { box-sizing: border-box; color: var(--sb-encre); }
.sb-bloc *, .sb-bloc *::before, .sb-bloc *::after { box-sizing: border-box; }
.sb-bloc :where(p, h1, h2, h3, ul, ol, figure) { margin: 0; }
.sb-cadre { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.sb-accent, .bruno-h1-accent { color: var(--sb-accent); }
.sb-surtitre { margin: 0 0 14px !important; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sb-accent); }
.sb-titre { font-weight: 500; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -0.035em; color: var(--sb-encre); }
.sb-titre--moyen { font-size: clamp(26px, 3vw, 38px); }
.sb-texte-doux { color: var(--sb-doux); margin-top: 22px !important; max-width: 460px; }
.sb-legende { font-size: 13px; color: var(--sb-doux); margin-top: 8px; }
.sb-bloc a { color: inherit; }

/* Logo réel sur pastille blanche */
.sb-logo { display: inline-flex; flex: 0 0 auto; background: #fff; border-radius: 10px; padding: 4px; }
.sb-logo img { display: block; width: 52px; height: 52px; }
.sb-terrain__signature .sb-logo { border-radius: 12px; padding: 6px; }
.sb-terrain__signature .sb-logo img { width: 64px; height: 64px; }
.sb-pied .sb-logo img { width: 56px; height: 56px; }

/* Boutons */
.sb-bouton { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 999px; background: var(--sb-appel); color: var(--sb-sur-appel) !important; text-decoration: none; font-weight: 600; white-space: nowrap; }
.sb-bouton:hover { background: var(--sb-accent); }
.sb-bouton__icone { display: flex; }
.sb-bouton--grand { min-height: 64px; padding: 0 30px; font-size: 22px; gap: 14px; }
.sb-numero { display: inline-flex; align-items: center; gap: 18px; margin-top: 40px; padding: 18px 36px 18px 20px; border: 1px solid var(--sb-accent); border-radius: 999px; color: var(--sb-encre) !important; text-decoration: none; background: rgba(14, 23, 38, .6); font-size: clamp(30px, 5.2vw, 64px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; max-width: 100%; }
.sb-numero .sb-bouton__icone { align-items: center; justify-content: center; width: 58px; height: 58px; flex: 0 0 auto; border-radius: 50%; background: var(--sb-appel); color: var(--sb-sur-appel); }
.sb-numero:hover { border-color: var(--sb-appel); }
.sb-numero--moyen { margin-top: 28px; font-size: clamp(28px, 3.4vw, 44px); padding: 12px 28px 12px 14px; gap: 16px; }
.sb-numero--moyen .sb-bouton__icone { width: 48px; height: 48px; }
.sb-lien-fleche { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; color: var(--sb-encre); }

/* En-tête */
.sb-entete { background: var(--sb-nuit); border-bottom: 1px solid var(--sb-filet); }
.sb-entete__ligne { padding-top: 12px; padding-bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 40px; }
.sb-marque { display: flex; align-items: center; gap: 14px; color: var(--sb-encre); text-decoration: none; }
.sb-marque__texte { display: flex; flex-direction: column; line-height: 1.15; }
.sb-marque__nom { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.sb-marque__sous { font-size: 12.5px; letter-spacing: .12em; color: var(--sb-doux); text-transform: uppercase; }
.sb-menu { display: flex; flex-wrap: wrap; gap: 4px 26px; font-size: 15px; }
.sb-menu a { color: var(--sb-encre); text-decoration: none; padding: 10px 0; border-bottom: 1px solid transparent; }
.sb-menu a:hover, .sb-menu a[aria-current] { border-bottom-color: var(--sb-accent); }
.sb-entete__actions { display: flex; gap: 10px; align-items: center; }
.sb-entete__wa { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--sb-filet); border-radius: 50%; color: var(--sb-encre); }
.sb-entete__wa:hover { border-color: var(--sb-accent); }

/* Hero de l'accueil */
.sb-hero { position: relative; background: var(--sb-fond); overflow: hidden; }
.sb-hero__fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.sb-hero__voile { position: relative; background: linear-gradient(180deg, rgba(14, 23, 38, .55) 0%, rgba(14, 23, 38, .8) 60%, var(--sb-fond) 100%); }
.sb-hero__contenu { max-width: 1100px; margin: 0 auto; padding: 96px 28px 72px; text-align: center; }
.sb-pastille { display: inline-flex !important; align-items: center; gap: 10px; margin-bottom: 22px !important; padding: 7px 16px; border: 1px solid rgba(232, 180, 90, .5); border-radius: 999px; font-size: 13.5px; letter-spacing: .06em; color: var(--sb-accent); }
.sb-pastille__point { width: 8px; height: 8px; border-radius: 50%; background: var(--sb-accent); }
.sb-hero__titre { margin: 0 auto !important; max-width: 820px; font-weight: 400; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; letter-spacing: -0.035em; color: var(--sb-encre); }
.sb-hero__wa { margin-top: 22px !important; color: var(--sb-clair); }
.sb-hero__wa a { color: var(--sb-encre); text-decoration: underline; text-underline-offset: 3px; }
.sb-hero__delai { margin-top: 10px !important; color: var(--sb-doux); font-size: 15px; }
.sb-hero__accroche { margin: 30px auto 0 !important; max-width: 720px; color: var(--sb-clair); font-size: 17px; }
.sb-hero__accroche a, .sb-tarifs__note a, .sb-devis a:not(.sb-bouton) { color: var(--sb-accent); }

/* Frise 24 h */
.sb-dispo { background: var(--sb-fond); padding: 8px 0 72px; }
.sb-dispo__tete { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-bottom: 14px; font-size: 14.5px; }
.sb-dispo__legende { color: var(--sb-doux); }
.sb-dispo__repere { display: inline-block; width: 14px; height: 6px; background: var(--sb-accent); margin-right: 8px; vertical-align: middle; }
.sb-dispo__frise { display: flex; gap: 2px; padding-bottom: 26px; }
.sb-dispo__h { flex: 1 1 0; position: relative; height: 8px; background: var(--sb-inactif); opacity: .9; }
.sb-dispo__h--nuit { background: var(--sb-accent); opacity: 1; }
.sb-dispo__lib { position: absolute; top: 14px; left: 0; font-size: 11px; color: var(--sb-doux); }

/* Sur le terrain */
.sb-terrain { background: var(--sb-fond); padding: 32px 0 104px; }
.sb-terrain__grille { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; }
.sb-terrain__texte { flex: 1 1 360px; min-width: 0; }
.sb-terrain__signature { margin-top: 28px !important; display: flex; align-items: center; gap: 16px; font-size: 15px; color: var(--sb-doux); }
.sb-mosaique { flex: 2 1 600px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 10px; }
.sb-mosaique__case { overflow: hidden; background: var(--sb-carte); }
.sb-mosaique__case img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sb-mosaique__case--1 { grid-row: span 2; }
.sb-mosaique__case--2, .sb-mosaique__case--6 { grid-column: span 2; }
.sb-mosaique__case--2 img { object-position: center 40%; }

/* Cartes des dépannages */
.sb-interventions { background: var(--sb-nuit); border-top: 1px solid var(--sb-filet); border-bottom: 1px solid var(--sb-filet); padding: 104px 0; }
.sb-interventions__tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 44px; }
.sb-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.sb-carte { display: flex; flex-direction: column; color: var(--sb-encre); text-decoration: none; background: var(--sb-carte); }
.sb-carte__img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.sb-carte__corps { display: block; padding: 20px 22px 24px; }
.sb-carte__titre { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.sb-carte__titre svg { color: var(--sb-accent); flex: 0 0 auto; }
.sb-carte__texte { display: block; margin-top: 8px; color: var(--sb-doux); font-size: 15px; }
a.sb-carte:hover .sb-carte__titre > span { color: var(--sb-accent); }

/* Texte */
.sb-texte { background: var(--sb-fond); }
.sb-texte--colonnes { padding: 96px 0; }
.sb-texte__grille { max-width: 860px; }
.sb-texte__corps h2 { font-weight: 500; font-size: clamp(28px, 3vw, 38px); line-height: 1.08; letter-spacing: -0.035em; margin-bottom: 22px; color: var(--sb-encre); }
.sb-texte__corps h3 { font-weight: 500; font-size: 21px; margin: 26px 0 8px; }
.sb-texte__corps p, .sb-texte__corps li { color: var(--sb-doux); }
.sb-texte__corps > * + p, .sb-texte__corps > * + ul, .sb-texte__corps > * + ol { margin-top: 14px; }
.sb-texte__corps a { color: var(--sb-accent); text-underline-offset: 3px; }
.sb-texte__corps ul:not(.sb-coches) { padding-left: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 28px; }
.sb-texte__corps ul:not(.sb-coches) > li { padding: 12px 0; border-bottom: 1px solid var(--sb-filet); }
.sb-texte--photo { display: flex; flex-wrap: wrap; }
.sb-texte__photo { flex: 1 1 520px; min-height: 460px; position: relative; overflow: hidden; }
.sb-texte__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sb-texte__photo .sb-legende { position: absolute; left: 0; bottom: 0; margin: 0; padding: 6px 12px; background: rgba(10, 17, 29, .75); color: var(--sb-clair); }
.sb-texte--photo .sb-texte__corps { flex: 1 1 440px; min-width: 0; padding: 88px clamp(28px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.sb-coches { list-style: none; margin: 28px 0 0 !important; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sb-coches li { display: flex; gap: 12px; align-items: center; color: var(--sb-encre) !important; }
.sb-coches__icone { color: var(--sb-accent); display: flex; flex: 0 0 auto; }
.sb-coches--ligne { flex-direction: row; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; margin-top: 26px !important; }

/* Tarifs */
.sb-tarifs { background: var(--sb-nuit); border-top: 1px solid var(--sb-filet); padding: 96px 0; }
.sb-tarifs__grille { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.sb-tarifs__tete { flex: 1 1 320px; }
.sb-tarifs__corps { flex: 2 1 520px; min-width: 0; }
.sb-tarifs__table { width: 100%; border-collapse: collapse; font-size: 17px; }
.sb-tarifs__table th { text-align: left; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sb-doux); padding: 0 0 12px; border-bottom: 1px solid var(--sb-encre); }
.sb-tarifs__table th:last-child, .sb-tarifs__prix { text-align: right; }
.sb-tarifs__table td { padding: 16px 0; border-bottom: 1px solid var(--sb-filet); }
.sb-tarifs__table td a { color: var(--sb-encre); text-decoration-color: var(--sb-filet); text-underline-offset: 4px; }
.sb-tarifs__table td a:hover { color: var(--sb-accent); }
.sb-tarifs__prix { color: var(--sb-accent); font-size: 20px; font-weight: 500; white-space: nowrap; padding-left: 16px !important; }
.sb-tarifs__note { margin-top: 20px !important; color: var(--sb-doux); font-size: 15px; }

/* Étapes */
.sb-etapes { background: var(--sb-fond); padding: 104px 0; }
.sb-etapes__liste { list-style: none; margin: 44px 0 0 !important; padding: 0; display: flex; flex-wrap: wrap; border-top: 1px solid var(--sb-filet); border-bottom: 1px solid var(--sb-filet); }
.sb-etape { flex: 1 1 220px; min-width: 0; padding: 26px 24px 28px; border-left: 1px solid var(--sb-filet); }
.sb-etape__num { display: block; font-size: 52px; font-weight: 300; line-height: 1; letter-spacing: -0.04em; color: var(--sb-accent); }
.sb-etape__titre { display: block; margin-top: 16px; font-size: 20px; font-weight: 500; }
.sb-etape__texte { display: block; margin-top: 4px; color: var(--sb-doux); font-size: 15px; }

/* Où l'on intervient */
.sb-zone { background: var(--sb-carte); }
.sb-zone__ligne { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; justify-content: space-between; }
.sb-zone__texte { flex: 1 1 420px; min-width: 0; }
.sb-zone__lieux { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; letter-spacing: -0.02em; }
.sb-zone__sep { color: var(--sb-accent); }
.sb-zone__suite { color: var(--sb-doux); }

/* Demande de devis */
.sb-devis { background: var(--sb-nuit); border-top: 1px solid var(--sb-filet); padding: 88px 0; scroll-margin-top: 20px; }
.sb-devis__grille { display: flex; flex-wrap: wrap; gap: 40px 72px; }
.sb-devis__texte { flex: 1 1 320px; min-width: 0; }
.sb-devis__appel { margin-top: 26px !important; }
.sb-devis__form { flex: 1.4 1 440px; min-width: 0; }
.sb-bloc .bruno-formulaire__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.sb-bloc .bruno-formulaire__champ { margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; color: var(--sb-clair); }
.sb-bloc .bruno-formulaire__champ--message, .sb-bloc .bruno-formulaire__champ--adresse, .sb-bloc .bruno-formulaire__champ--prestation, .sb-bloc .bruno-formulaire__aide, .sb-bloc .bruno-formulaire__rgpd, .sb-bloc .bruno-formulaire__envoi { grid-column: 1 / -1; margin: 0; }
.sb-bloc .bruno-formulaire input:not([type=hidden]), .sb-bloc .bruno-formulaire textarea { width: 100%; font: inherit; font-size: 16px; color: var(--sb-encre); background: var(--sb-fond); border: 1px solid var(--sb-filet); border-radius: 8px; padding: 12px 14px; }
.sb-bloc .bruno-formulaire input:focus, .sb-bloc .bruno-formulaire textarea:focus { border-color: var(--sb-accent); outline: none; }
.sb-bloc .bruno-formulaire__rgpd, .sb-bloc .bruno-formulaire__aide { font-size: 13.5px; color: var(--sb-doux); }
.sb-bloc .bruno-formulaire__bouton { font: inherit; font-weight: 600; font-size: 16px; min-height: 50px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--sb-appel); color: var(--sb-sur-appel); cursor: pointer; }
.sb-bloc .bruno-formulaire__bouton:hover { background: var(--sb-accent); }
.sb-bloc .bruno-formulaire__message { grid-column: 1 / -1; padding: 12px 16px; border: 1px solid var(--sb-accent); margin-bottom: 16px; }

/* Titre des pages (service, urgence, ville) */
.sb-tete { background: var(--sb-fond); border-bottom: 1px solid var(--sb-filet); }
.sb-tete__grille { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; padding-top: 72px; padding-bottom: 72px; }
.sb-tete__texte { flex: 1.3 1 480px; min-width: 0; }
.sb-tete__titre { font-weight: 400; font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -0.035em; color: var(--sb-encre); }
.sb-tete__visuel { flex: 1 1 340px; min-width: 0; }
.sb-tete__figure img { display: block; width: 100%; aspect-ratio: 4 / 5; max-height: 520px; height: auto; object-fit: cover; }
.sb-typo { display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 5; max-height: 520px; width: 100%; padding: 36px; background: var(--sb-carte); border: 1px solid var(--sb-filet); background-image: linear-gradient(180deg, transparent 0 70%, rgba(232, 180, 90, .08) 100%); }
.sb-typo__grand { font-size: clamp(72px, 10vw, 140px); font-weight: 300; line-height: .9; letter-spacing: -0.05em; color: var(--sb-accent); overflow-wrap: anywhere; }
.sb-typo__lieu { margin-top: 18px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.sb-typo__fiche { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--sb-filet); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--sb-doux); }
.sb-titre-page { background: var(--sb-fond); border-bottom: 1px solid var(--sb-filet); padding: 72px 0 56px; }
.sb-titre-page__h1 { font-weight: 400; font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -0.035em; color: var(--sb-encre); max-width: 900px; }

/* Pied */
.sb-pied { background: var(--sb-nuit); color: var(--sb-doux); font-size: 14.5px; }
.sb-pied__grille { padding-top: 64px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 40px 72px; }
.sb-pied__col { flex: 1 1 180px; min-width: 0; }
.sb-pied__col--marque { flex: 1.4 1 280px; display: flex; gap: 16px; align-items: flex-start; }
.sb-pied__nom { color: var(--sb-encre); font-size: 18px; font-weight: 600; }
.sb-pied__titre { color: var(--sb-encre); margin-bottom: 8px !important; }
.sb-pied__liste { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.sb-pied a { color: var(--sb-doux); text-underline-offset: 3px; }
.sb-pied a:hover { color: var(--sb-encre); }
.sb-pied .bruno-tel { color: var(--sb-accent); }
.sb-pied__bas { padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--sb-filet); font-size: 13px; }

/* Éditeur */
.sb-apercu-editeur { pointer-events: none; }

@media (max-width: 781px) {
	.sb-cadre { padding: 0 20px; }
	.sb-entete__ligne { gap: 10px 20px; }
	.sb-menu { gap: 0 20px; order: 3; width: 100%; }
	.sb-hero__contenu { padding: 72px 20px 56px; }
	.sb-numero { gap: 14px; padding: 12px 24px 12px 12px; font-size: clamp(26px, 8vw, 40px); }
	.sb-numero .sb-bouton__icone { width: 44px; height: 44px; }
	.sb-dispo__lib { font-size: 10px; }
	.sb-mosaique { grid-auto-rows: 120px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sb-mosaique__case--1 { grid-row: span 2; }
	.sb-mosaique__case--2 { grid-column: auto; }
	.sb-mosaique__case--6 { grid-column: span 2; }
	.sb-interventions, .sb-etapes, .sb-texte--colonnes, .sb-tarifs, .sb-devis { padding: 64px 0; }
	.sb-texte__photo { flex-basis: 100%; min-height: 300px; }
	.sb-texte--photo .sb-texte__corps { padding: 56px 20px; }
	.sb-etape { border-left: 0; border-top: 1px solid var(--sb-filet); padding: 22px 0; }
	.sb-etape:first-child { border-top: 0; }
	.sb-bloc .bruno-formulaire__form { grid-template-columns: 1fr; }
	.sb-tete__grille { padding-top: 48px; padding-bottom: 48px; gap: 32px; }
	.sb-typo { aspect-ratio: auto; min-height: 260px; padding: 28px 24px; }
	.sb-tete__figure img { aspect-ratio: 4 / 3; }
	.sb-zone__ligne { padding-top: 56px; padding-bottom: 56px; }
	.sb-bouton--grand { font-size: 20px; padding: 0 24px; }
	.sb-tarifs__table { font-size: 15.5px; }
	.sb-tarifs__prix { font-size: 17px; }
}
