/*
Theme Name: Picard Serrures (serruriers-picard.fr)
Theme URI: https://serruriers-picard.fr/
Description: Thème bloc enfant de Twenty Twenty-Five pour serruriers-picard.fr — charte « Bleu et jaune soleil » retenue le 10/11/2026 : fond #F2F3F5, encre #1A1D22, bleu #3068B5, jaune soleil #D5D9DE ; IBM Plex Sans et Plex Sans Condensed auto-hébergées ; bordures de 1 px, arrondis (cartes 14 px, boutons 10 px, menu en pastilles). Nécessite Bruno Socle et Picard Serrures — Blocs.
Template: twentytwentyfive
Version: 0.2.2
Requires at least: 6.7
Requires PHP: 7.4
Author: Joseph (consultant SEO)
License: GPL-2.0-or-later
Text Domain: serruriers-picard-theme
*/

/* Contenu courant : colonne de lecture sur fond papier, marges latérales sur mobile. */
.sp-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;
}
.sp-contenu.is-layout-constrained > .alignwide { max-width: min(1240px, calc(100% - 48px)); }
.sp-contenu { padding: 56px 0 72px; }
.sp-contenu > * + * { margin-block-start: 1.1em; }
.sp-contenu > .bruno-faq { margin-top: 64px; }
.sp-pleine { padding: 0; }
.sp-pleine > * { margin-top: 0; margin-bottom: 0; }
.sp-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--appel); outline-offset: 2px; }

/* Aucune italique nulle part (em, cite, blockquote, légendes) ; la mise en valeur passe 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--appel); }

/* Sections de texte de l'accueil */
.sp-section-texte, .sp-section-faq { padding: 8px 0 72px; }
.sp-section-texte > *, .sp-section-faq > * { max-width: min(860px, calc(100% - 48px)); margin-left: auto !important; margin-right: auto !important; }
.sp-section-faq .bruno-faq { margin-top: 0; }

/* Textes longs (bloc du socle) dans la charte : titres en capitales condensées sous un filet de 2 px. */
.bruno-corps h2 { font-family: var(--wp--preset--font-family--titres); font-weight: 600; text-transform: uppercase; letter-spacing: 0; border-top: 1px solid var(--wp--preset--color--filets); padding-top: 18px; font-size: clamp(24px, 2.6vw, 30px); }
.bruno-corps h3 { font-family: var(--wp--preset--font-family--titres); font-weight: 600; letter-spacing: 0; font-size: 21px; }
.bruno-num { font-family: var(--wp--preset--font-family--titres); font-weight: 600; letter-spacing: .12em; }
.bruno-corps .chapo { font-size: 19px; line-height: 1.55; color: var(--wp--preset--color--encre); border-left: 3px solid var(--wp--preset--color--soleil); padding-left: 18px; }
.bruno-corps .bruno-tableau { border: 1px solid var(--wp--preset--color--filets); border-radius: 14px; background: var(--wp--preset--color--papier); }
.bruno-corps .bruno-tableau thead, .wp-block-table thead { border-bottom: 0 !important; }
.bruno-corps .bruno-tableau table { font-size: 15.5px; }
.bruno-corps .bruno-tableau th, .bruno-corps .bruno-tableau td { padding: 11px 14px; border-bottom: 1px solid var(--wp--preset--color--filets); }
.bruno-corps .bruno-tableau thead th { font-family: var(--wp--preset--font-family--titres); text-transform: uppercase; letter-spacing: .06em; font-size: 14px; border-bottom: 1px solid var(--wp--preset--color--filets); background: var(--wp--preset--color--soleil-clair); }
.bruno-encart-appel { background: var(--wp--preset--color--papier); border: 1px solid var(--wp--preset--color--filets); border-radius: 14px; }
.bruno-encart-appel__bouton { font-family: var(--wp--preset--font-family--titres); font-size: 18px; }
.bruno-faq__titre { font-family: var(--wp--preset--font-family--titres); font-weight: 600; text-transform: uppercase; letter-spacing: 0; border-top: 1px solid var(--wp--preset--color--filets); padding-top: 18px; }
.bruno-faq__item { background: transparent; }
.bruno-faq__item > summary { font-weight: 600; }
.bruno-corps .bruno-faq { margin-top: 1.2em; }
.sp-editeur { display: block; }
.bruno-nap-court { font-weight: 500; }
.bruno-encart-appel .chapo { border-left: 0; padding-left: 0; }

/* Formulaire de demande de devis */
.sp-form { border: 1px solid var(--wp--preset--color--filets); border-radius: 14px; background: var(--wp--preset--color--papier); padding: 28px; display: grid; gap: 16px; }
.sp-form__grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.sp-form p { margin: 0; }
.sp-form label { display: block; font-family: var(--wp--preset--font-family--titres); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.sp-form__rgpd label { font-family: inherit; font-weight: 400; font-size: 15px; letter-spacing: 0; text-transform: none; }
.sp-form input[type=text], .sp-form input[type=tel], .sp-form input[type=email], .sp-form select, .sp-form textarea { width: 100%; box-sizing: border-box; border: 1px solid #C9CCD0; border-radius: 10px; padding: 10px 12px; font: inherit; background: #fff; }
.sp-form input[type=file] { max-width: 100%; }
.sp-form__piege { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.sp-form__erreur { border-left: 4px solid #B42318; padding: 10px 14px; background: #FEF3F2; }
.sp-form .sp-bouton { border: 0; border-radius: 10px; cursor: pointer; font-family: var(--wp--preset--font-family--titres); background: var(--wp--preset--color--appel); color: #fff !important; width: 100%; justify-content: center; text-transform: uppercase; }
@media (max-width: 781px) { .sp-form { padding: 18px; } }

/* 0.2.0 : charte du 10/11 — listes sans numéros, filet fin et petite flèche bleue ; bordures de 1 px. */
.sp-contenu ol:not(.bruno-fil-ariane ol) { list-style: none; padding-left: 0; }
.sp-contenu ol:not(.bruno-fil-ariane ol) > li { position: relative; padding: 10px 0 10px 24px; border-top: 1px solid var(--wp--preset--color--filets); }
.sp-contenu ol:not(.bruno-fil-ariane ol) > li:last-child { border-bottom: 1px solid var(--wp--preset--color--filets); }
.sp-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--appel); border-right: 1.5px solid var(--wp--preset--color--appel); transform: rotate(45deg);
}
.bruno-liste-num > li { padding-left: 24px !important; }

/* bruno-socle 0.3.6 : couleurs du H1 (filet et « en urgence ») */
h1 { --bruno-h1-filet: #3068B5; --bruno-h1-urgence: #3068B5; }
h1.sp-titre-page__h1 { --bruno-h1-filet: #3068B5; --bruno-h1-urgence: #3068B5; }
h1.sp-hero__titre { --bruno-h1-filet: #3068B5; --bruno-h1-urgence: #3068B5; }
/* 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: #3068B5; --bruno-s-panneau: #fff; --bruno-s-teinte: #E8EEF7; --bruno-s-sombre: #1A1D22; --bruno-s-rayon: 14px; --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 16V6h14v5h10V2h12v8h14V5h10v6h12V0h14v9h12V4h12v7h12v5z'/%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%3Ccircle cx='60' cy='36' r='26'/%3E%3Ccircle cx='60' cy='30' r='7'/%3E%3Cpath d='M52 61v78l8 8 8-8v-10h-8v-8h8v-10h-8v-8h8V61'/%3E%3C/svg%3E"); }
/* fin bruno-socle 0.3.7 */
