/*
Theme Name: Serrurerie Metallerie Services (urgenceserrure.fr)
Theme URI: https://urgenceserrure.fr/
Description: Thème bloc enfant de Twenty Twenty-Five pour urgenceserrure.fr (maquette « Métallerie » validée) : fond #EEF1F3, encre #0F1A24, plaque d'acier #3E4852, appel bleu canard #145E6B ; une seule famille, Public Sans (400, 500, 600), auto-hébergée (OFL) ; aucune italique. Nécessite les extensions Bruno Socle et Serrurerie Metallerie Services — Blocs.
Template: twentytwentyfive
Version: 0.1.0
Requires at least: 6.7
Requires PHP: 7.4
Author: Joseph
License: GPL-2.0-or-later
Text Domain: urgenceserrure-theme
*/

/* Contenu courant : colonne de lecture, marges latérales sur mobile. */
.urs-contenu.is-layout-constrained > :not(.alignfull):not(.alignwide) {
	max-width: min(var(--wp--style--global--content-size, 760px), calc(100% - 36px));
	margin-left: auto !important;
	margin-right: auto !important;
}
.urs-contenu > * + * { margin-block-start: 1.1em; }
.urs-contenu > .alignfull + *, .urs-contenu > * + .alignfull { margin-block-start: 0; }
.urs-contenu > .bruno-corps:first-child { margin-top: 56px; }
.urs-contenu > :last-child:not(.alignfull) { margin-bottom: 88px; }
.urs-contenu > .bruno-faq { margin-top: 72px; }
.urs-pleine > * { margin-top: 0; margin-bottom: 0; }
.urs-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 #145E6B; outline-offset: 2px; }
body { font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }

/* Aucune italique nulle part ; 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 { font-weight: 600; }

/* Texte long (bloc de corps du socle) aux couleurs du site. */
.bruno-corps h2 { font-weight: 600; letter-spacing: -0.02em; font-size: clamp(26px, 3vw, 34px); line-height: 1.12; border-top: 3px solid #0F1A24; padding-top: 18px; }
.bruno-corps .bruno-num { display: table; margin-bottom: 10px; color: #FFFFFF; background: #3E4852; padding: 1px 8px; font-size: 12.5px; letter-spacing: .12em; font-weight: 600; }
.urs-texte .bruno-corps .bruno-num { display: none; }
.bruno-corps h3 { font-weight: 600; letter-spacing: -0.01em; font-size: 21px; }
.bruno-corps p.chapo { font-size: 20px; line-height: 1.55; color: #0F1A24; padding: 0 0 24px; border-bottom: 1px solid #D2DAE2; }
.bruno-corps a { color: #145E6B; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.bruno-corps a:hover { color: #0E4650; text-decoration-thickness: 2px; }
.bruno-corps .bruno-tel { font-weight: 600; white-space: nowrap; color: #145E6B; }
.bruno-corps table { width: 100%; border-collapse: collapse; }
.bruno-corps th { font-weight: 600; text-align: left; padding: 10px 12px 10px 0; vertical-align: top; }
.bruno-corps td { padding: 12px 12px 12px 0; vertical-align: top; }
.bruno-corps .wp-block-table { overflow-x: auto; }
.bruno-corps ol { padding-left: 1.4em; }
.bruno-corps ol li::marker { font-weight: 600; color: #145E6B; }
.bruno-corps ul li::marker { color: #3E4852; }
.bruno-corps p.appel { font-size: 21px; line-height: 1.45; font-weight: 500; border-left: 6px solid #145E6B; padding-left: 16px; }
.bruno-faq summary { font-size: 18.5px; font-weight: 600; }
.bruno-faq__titre { font-weight: 600; letter-spacing: -0.02em; }
.urs-faq-accueil { max-width: min(860px, calc(100% - 36px)); margin: 0 auto !important; padding: 88px 0 96px; }
.urs-faq-accueil > .bruno-faq { margin: 0; }
.bruno-corps .wp-block-table table, .bruno-corps .wp-block-table th, .bruno-corps .wp-block-table td, .bruno-corps .wp-block-table thead, .bruno-corps .wp-block-table tfoot { border-left: 0 !important; border-right: 0 !important; border-top: 0 !important; }
.bruno-corps .wp-block-table thead { border-bottom: 0 !important; }
.bruno-corps .wp-block-table th { border-bottom: 3px solid #0F1A24 !important; }
.bruno-corps .wp-block-table td { border-bottom: 1px solid #D2DAE2 !important; }
.urs-texte--sombre .bruno-corps h2 { border-top-color: #8C969F; }
.urs-texte--sombre .bruno-corps .wp-block-table th { border-bottom-color: #8C969F !important; }
.urs-texte--sombre .bruno-corps .wp-block-table td { border-bottom-color: #2A3846 !important; }
.bruno-encart-appel { background: #FFFFFF; border-top: 3px solid #145E6B !important; }
.bruno-encart-appel__bouton { background: #145E6B !important; color: #FFFFFF !important; }
.bruno-encart-appel__bouton:hover { background: #0E4650 !important; }
.bruno-encart-appel > p.chapo { border-bottom: 0; padding-bottom: 0; }
.bruno-editeur { line-height: 1.8; }
.bruno-corps th, .bruno-corps td { overflow-wrap: normal; word-break: normal; hyphens: none; }
@media (max-width: 781px) { .bruno-corps table { font-size: 15px; } .bruno-corps p.chapo { font-size: 18px; } }

/* bruno-socle 0.3.6 : couleurs du H1 (filet et « en urgence ») */
h1 { --bruno-h1-filet: #145e6b; --bruno-h1-urgence: #145e6b; }
h1.urs-titre-page__h1 { --bruno-h1-filet: #145e6b; --bruno-h1-urgence: #145e6b; }
h1.urs-plaque__titre { --bruno-h1-filet: #7ea6ae; --bruno-h1-urgence: #7ea6ae; }
/* 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: #145E6B; --bruno-s-panneau: #fff; --bruno-s-teinte: #DDE9EC; --bruno-s-sombre: #3E4852; --bruno-s-sur-sombre: #fff; --bruno-s-rayon: 2px; --bp-appel: #145E6B; --bp-sur-appel: #fff; --bp-papier: #fff; --bruno-s-frise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='16' viewBox='0 0 56 16'%3E%3Cpath d='M0 16V8h8a6 6 0 0 1 12 0h16a6 6 0 0 1 12 0h8v8z'/%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='M60 14l44 26v52l-44 26-44-26V40z'/%3E%3Ccircle cx='60' cy='66' r='20'/%3E%3C/svg%3E"); }
/* fin bruno-socle 0.3.7 */
