/*
Theme Name: Sécurité MC (picardserrure.fr)
Theme URI: https://picardserrure.fr/
Description: Thème bloc enfant minimal pour picardserrure.fr — charte « Blanc de Paris et bleu ciel » retenue le 10/11/2026 (fond #F5F6F8, bleu nuit #14284F, bleu ciel #4C79C9) ; Instrument Sans auto-hébergée ; gabarits utilisant les blocs « Sécurité MC ». Nécessite les extensions Bruno Socle et Sécurité MC — Blocs.
Template: twentytwentyfive
Version: 0.3.0
Requires at least: 6.7
Requires PHP: 7.4
Author: Réseau Artisan Bruno
License: GPL-2.0-or-later
Text Domain: picardserrure-theme
*/

/* Contenu courant : colonne de lecture, marges latérales sur mobile. */
.ps-contenu.is-layout-constrained > :not(.alignfull):not(.alignwide) {
	max-width: min(var(--wp--style--global--content-size, 760px), calc(100% - 48px));
	margin-left: auto !important;
	margin-right: auto !important;
}
.ps-contenu.is-layout-constrained > .alignwide { max-width: min(1200px, calc(100% - 48px)); }
.ps-contenu > * + * { margin-block-start: 1.1em; }
.ps-contenu > .alignfull + *, .ps-contenu > * + .alignfull { margin-block-start: 0; }
.ps-contenu > :last-child:not(.alignfull) { margin-bottom: 72px; }
.ps-contenu > .bruno-corps:first-child { margin-top: 8px; }
.ps-pleine > * { margin-top: 0; margin-bottom: 0; }
.ps-principal { overflow-x: clip; }
img { height: auto; }
:where(.wp-site-blocks) > * + * { margin-block-start: 0; }
:focus-visible { outline: 2px solid var(--wp--preset--color--appel); outline-offset: 2px; }

/* 0.2.0 : aucune italique nulle part (y compris em, cite, blockquote, légendes) ; mise en valeur par la couleur. */
html body *, html body *::before, html body *::after { font-style: normal !important; }
body { font-synthesis: none; }
em, i { color: var(--wp--preset--color--marine); }
/* 0.3.0 : listes sans numéros (Joseph, 10/11) : filet fin et petite flèche bleu ciel. */
.ps-contenu ol:not(.bruno-fil-ariane ol) { list-style: none; padding-left: 0; }
.ps-contenu ol:not(.bruno-fil-ariane ol) > li { position: relative; padding: 10px 0 10px 24px; border-top: 1px solid var(--wp--preset--color--filets); }
.ps-contenu ol:not(.bruno-fil-ariane ol) > li:last-child { border-bottom: 1px solid var(--wp--preset--color--filets); }
.ps-contenu ol:not(.bruno-fil-ariane ol) > li::before, .bruno-liste-num > li::before {
	content: "" !important; position: absolute; left: 3px; top: 1.15em; width: 7px; height: 7px;
	border-top: 1.5px solid var(--wp--preset--color--ciel); border-right: 1.5px solid var(--wp--preset--color--ciel); transform: rotate(45deg);
}
.bruno-liste-num > li { padding-left: 24px !important; }
.ps-appel em, .ps-boutique em, .ps-appel i, .ps-boutique i { color: inherit; }
.ps-principal { background: var(--wp--preset--color--fond); }
.ps-faq-accueil { max-width: min(760px, calc(100% - 40px)); margin-left: auto !important; margin-right: auto !important; }
.ps-contenu > .bruno-faq { margin-top: 72px; }

/* bruno-socle 0.3.6 : couleurs du H1 (filet et « en urgence ») */
h1 { --bruno-h1-filet: #4c79c9; --bruno-h1-urgence: #4c79c9; }
h1.ps-titre-page__h1 { --bruno-h1-filet: #4c79c9; --bruno-h1-urgence: #4c79c9; }
h1.ps-hero__titre { --bruno-h1-filet: #4c79c9; --bruno-h1-urgence: #4c79c9; }
/* 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: #4C79C9; --bruno-s-panneau: #fff; --bruno-s-teinte: #E6EEFA; --bruno-s-rayon: 10px; --bruno-s-frise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='132' height='16' viewBox='0 0 132 16'%3E%3Cpath d='M0 16V9h12V4h10v5h12V0h12v7h12v4h12V3h14v6h12V6h12v4h12v6z'/%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%3Crect x='8' y='8' width='104' height='134' rx='52'/%3E%3Ccircle cx='60' cy='56' r='20'/%3E%3Cpath d='M50 73 44 116h32l-6-43'/%3E%3C/svg%3E"); }
/* fin bruno-socle 0.3.7 */
