/*
Theme Name: SOS Direct Dépannage (sos-direct-depannage.fr)
Theme URI: https://sos-direct-depannage.fr/
Description: Thème bloc enfant de Twenty Twenty-Five pour sos-direct-depannage.fr (maquette v3 « Bon d'intervention » validée) : fond #F4EFEA, encre #24201E, brique #A3442A, papier #FFFDF9 ; une seule famille, Work Sans (400, 500, 600), auto-hébergée (OFL) ; aucune italique. Nécessite les extensions Bruno Socle et SOS Direct Dépannage — 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: sos-direct-depannage-theme
*/

/* Contenu courant : colonne de lecture, marges latérales sur mobile. */
.sdd-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;
}
.sdd-contenu > * + * { margin-block-start: 1.1em; }
.sdd-contenu > .alignfull + *, .sdd-contenu > * + .alignfull { margin-block-start: 0; }
.sdd-contenu > .bruno-corps:first-child { margin-top: 64px; }
.sdd-contenu > :last-child:not(.alignfull) { margin-bottom: 88px; }
.sdd-contenu > .bruno-faq { margin-top: 72px; }
.sdd-pleine > * { margin-top: 0; margin-bottom: 0; }
.sdd-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 #A3442A; outline-offset: 2px; }
body { font-family: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }

/* Aucune italique nulle part (em, cite, blockquote, légendes, SVG) ; 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: 500; letter-spacing: -0.03em; font-size: clamp(26px, 3vw, 34px); line-height: 1.1; padding-top: 18px; border-top: 2px solid #24201E; }
.bruno-corps .bruno-num { display: table; margin-bottom: 10px; color: #A3442A; font-size: 12.5px; letter-spacing: .14em; font-weight: 600; }
.sdd-texte .bruno-corps .bruno-num { display: none; }
.bruno-corps h3 { font-weight: 500; letter-spacing: -0.02em; font-size: 22px; }
.bruno-corps p.chapo { font-size: 20px; line-height: 1.55; color: #24201E; padding: 0 0 24px; border-bottom: 2px dashed #D9CFC5; }
.bruno-corps a { color: #A3442A; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.bruno-corps a:hover { color: #7A2E1C; text-decoration-thickness: 2px; }
.bruno-corps .bruno-tel { font-weight: 600; white-space: nowrap; color: #A3442A; }
.bruno-corps table { width: 100%; border-collapse: collapse; background: #FFFDF9; }
.bruno-corps th { font-weight: 500; text-align: left; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: #6E645D; padding: 12px 14px; vertical-align: top; }
.bruno-corps td { padding: 12px 14px; 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: #A3442A; }
.bruno-corps ul li::marker { color: #A3442A; }
.bruno-corps p.appel { font-size: 21px; line-height: 1.45; font-weight: 500; background: #FFFDF9; border: 1px solid #D9CFC5; border-left: 6px solid #A3442A; padding: 16px 20px; }
.bruno-faq summary { font-size: 18px; font-weight: 500; }
.bruno-faq__titre { font-weight: 500; letter-spacing: -0.03em; }
.sdd-faq-accueil { max-width: min(860px, calc(100% - 36px)); margin: 0 auto !important; padding: 88px 0 96px; }
.sdd-faq-accueil > .bruno-faq { margin: 0; }

/* Tableaux du bloc de corps : filets horizontaux, papier du bon. */
.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: 2px solid #24201E !important; }
.bruno-corps .wp-block-table td { border-bottom: 1px dotted #6E645D !important; }
.sdd-texte--sombre .bruno-corps h2 { border-top-color: #E9A58F; }
.sdd-texte--sombre .bruno-corps table { background: transparent; }
.bruno-encart-appel { background: #FFFDF9; border-top: 3px solid #A3442A !important; }
.bruno-encart-appel__bouton { background: #B5452A !important; color: #FFFFFF !important; }
.bruno-encart-appel__bouton:hover { background: #7A2E1C !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; }
/* Hub du 92 : liste de communes (paragraphe de liens) lisible. */
.gabarit-departement .bruno-corps p:has(> a + a + a + a + a) { line-height: 2.1; }
@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: #b5452a; --bruno-h1-urgence: #b5452a; }
h1.sdd-titre-page__h1 { --bruno-h1-filet: #b5452a; --bruno-h1-urgence: #b5452a; }
h1.sdd-bon__titre { --bruno-h1-filet: #b5452a; --bruno-h1-urgence: #b5452a; }
/* 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: #B5452A; --bruno-s-panneau: #FFFDF9; --bruno-s-teinte: #F3E3DA; --bruno-s-sombre: #2E2825; --bruno-s-sur-sombre: #FFFDF9; --bruno-s-rayon: 4px; --bruno-s-frise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='16' viewBox='0 0 48 16'%3E%3Cpath d='M0 16V4a6 6 0 0 0 12 0h0a6 6 0 0 0 12 0a6 6 0 0 0 12 0a6 6 0 0 0 12 0v12z'/%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='14' y='26' width='92' height='92' rx='8'/%3E%3Cpath d='M36 74l18 18 34-40'/%3E%3C/svg%3E"); }
/* fin bruno-socle 0.3.7 */
