/*
Theme Name: Sos Serrurier Dépannage (sosbrunoserrurier.fr)
Theme URI: https://sosbrunoserrurier.fr/
Description: Thème bloc enfant de Twenty Twenty-Five pour sosbrunoserrurier.fr (maquette v3 « Serrurier de garde ») : tout en mode nuit, fond #0E1726, encre #EEF1F5, mise en valeur ambre #E8B45A, appel #E8A33D ; Inter Tight seule, auto-hébergée (OFL) ; aucune italique. Nécessite les extensions Bruno Socle 0.3.3 et Sos Serrurier Dépannage — Blocs.
Template: twentytwentyfive
Version: 0.1.1
Requires at least: 6.7
Requires PHP: 7.4
Author: Joseph
License: GPL-2.0-or-later
Text Domain: sosbrunoserrurier-theme
*/

/* Contenu courant : colonne de lecture sur fond de nuit, marges latérales sur mobile. */
.sb-contenu.is-layout-constrained > :not(.alignfull):not(.alignwide) {
	max-width: min(var(--wp--style--global--content-size, 760px), calc(100% - 40px));
	margin-left: auto !important;
	margin-right: auto !important;
}
.sb-contenu > * + * { margin-block-start: 1.1em; }
.sb-contenu > .alignfull + *, .sb-contenu > * + .alignfull { margin-block-start: 0; }
.sb-contenu > .bruno-corps:first-child { margin-top: 64px; }
.sb-contenu > :last-child:not(.alignfull) { margin-bottom: 88px; }
.sb-contenu > .bruno-faq { margin-top: 72px; }
.sb-pleine > * { margin-top: 0; margin-bottom: 0; }
.sb-principal { overflow-x: clip; background: var(--wp--preset--color--fond); }
img { height: auto; }
:where(.wp-site-blocks) > * + * { margin-block-start: 0; }
:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Aucune italique nulle part ; la mise en valeur passe par l'ambre. */
html body *, html body *::before, html body *::after { font-style: normal !important; }
body { font-synthesis: none; }
em, i { color: var(--wp--preset--color--accent); }

/* Texte long (bloc de corps du socle) et FAQ, en mode nuit. */
.bruno-corps { color: #C3CBD8; }
.bruno-corps p.chapo { font-size: 19.5px; line-height: 1.55; color: var(--wp--preset--color--encre); }
.bruno-corps p.appel { padding: 18px 22px; background: var(--wp--preset--color--papier); border-left: 2px solid var(--wp--preset--color--accent); color: var(--wp--preset--color--encre); }
.bruno-corps a { color: var(--wp--preset--color--accent); text-underline-offset: 3px; }
.bruno-corps .bruno-tel { color: var(--wp--preset--color--accent); font-weight: 600; white-space: nowrap; }
.bruno-corps strong { color: var(--wp--preset--color--encre); font-weight: 600; }
.bruno-corps table { width: 100%; border-collapse: collapse; }
.bruno-corps th { color: var(--wp--preset--color--encre); }
.bruno-corps td:last-child { color: var(--wp--preset--color--accent); white-space: nowrap; }
.bruno-faq summary { color: var(--wp--preset--color--encre); }
.bruno-faq__item p, .bruno-faq__reponse { color: #C3CBD8; }
.bruno-faq a { color: var(--wp--preset--color--accent); }
.bruno-nap a, .bruno-nap-court a { color: var(--wp--preset--color--accent); }
.sb-faq-accueil { max-width: min(860px, calc(100% - 40px)); margin: 0 auto !important; padding: 96px 0 104px; }
.sb-faq-accueil > .bruno-faq { margin: 0; }
.bruno-barre { background: var(--wp--preset--color--nuit); border-top: 1px solid var(--wp--preset--color--filets); }
.bruno-barre__bouton--appel { background: var(--wp--preset--color--appel) !important; color: var(--wp--preset--color--sur-appel) !important; }
.bruno-corps .wp-block-table { margin-left: 0; margin-right: 0; }
.bruno-corps .wp-block-table table, .bruno-corps .wp-block-table th, .bruno-corps .wp-block-table td { border: 0; }
.bruno-corps .wp-block-table th, .bruno-corps .wp-block-table td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--wp--preset--color--filets); vertical-align: top; }
.bruno-corps .wp-block-table thead { border-bottom: 1px solid var(--wp--preset--color--encre); }
.bruno-corps .wp-block-table thead th { font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--wp--preset--color--encre); }

/* bruno-socle 0.3.6 : couleurs du H1 (filet et « en urgence ») */
h1 { --bruno-h1-filet: #e8a33d; --bruno-h1-urgence: #e8a33d; }
h1.sb-tete__titre { --bruno-h1-filet: #e8a33d; --bruno-h1-urgence: #e8a33d; }
h1.sb-hero__titre { --bruno-h1-filet: #e8b45a; --bruno-h1-urgence: #e8b45a; }
/* fin bruno-socle 0.3.6 */

/* bruno-socle 0.3.7 : mise en page en sections (couleurs, frise et dessin du site) */
.bruno-corps--sections, .bruno-corps--sections ~ .bruno-faq { --bruno-s-accent: #E8B45A; --bruno-s-panneau: #152238; --bruno-s-teinte: #1B2B45; --bruno-s-sombre: #0A111D; --bruno-s-sur-sombre: #EEF1F5; --bruno-s-sur-accent: #0E1726; --bruno-s-rayon: 10px; --bruno-s-frise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='16' viewBox='0 0 72 16'%3E%3Cpath d='M0 16V10h10l4-6 4 6h14l3-9 3 9h14l4-5 4 5h12v6z'/%3E%3C/svg%3E"); --bruno-s-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 150' fill='none' stroke='black' stroke-width='3' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M84 22a48 48 0 1 0 22 78A40 40 0 0 1 84 22z'/%3E%3Ccircle cx='58' cy='70' r='9'/%3E%3Cpath d='M54 78l-3 18h14l-3-18'/%3E%3C/svg%3E"); }
/* fin bruno-socle 0.3.7 */
