/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      2.0
 Text Domain:  bricks
*/

/* Éditions Encre Douce — compléments aux classes globales Bricks (préfixe ed-). 18 octobre 2026. */

/* === Audit 18/10 === */
/* 1. Bricks fixe html à 62,5 % (1 rem = 10 px) ; la charte est écrite pour 16 px. */
html { font-size: 100%; }


/* « Noir fini » : un noir pur sous color-burn produit du bruit ; un noir presque pur donne le résultat attendu (gris → noir, blanc → blanc). */
.ed-feuille__tint--noir { background-color: #121212; }

/* Blocs centrés (section « Pourquoi une seule couleur »). */
.ed-centre { align-items: center; text-align: center; }
.ed-centre > * { text-align: center; }
.ed-centre .ed-tag { justify-content: center; }

/* Mots soulignés par le trait d'encre dans les titres : le span doit porter la position. */
.ed-mot { position: relative; display: inline-block; white-space: nowrap; }

/* Formulaires Fluent Forms dans la charte. */
.fluentform .ff-el-input--label label { font-size: .85rem; font-weight: 600; color: var(--ed-encre); }
.fluentform .ff-el-form-control { border-radius: 12px; border: 1.5px solid rgba(47, 45, 74, .18); background: #fff; min-height: 50px; font-family: var(--ed-sans); color: var(--ed-encre); }
.fluentform .ff-el-form-control:focus { border-color: var(--ed-rose); box-shadow: 0 0 0 2px rgba(201, 132, 122, .25); }
.fluentform .ff-btn-submit { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 12px; font-family: var(--ed-sans); font-weight: 600; font-size: 1rem; border: 1.5px solid var(--ed-rose); background-color: var(--ed-rose); color: var(--ed-encre); transition: background-color .2s, color .2s, border-color .2s; }
.fluentform .ff-btn-submit:hover { background-color: var(--ed-encre); border-color: var(--ed-encre); color: var(--ed-ivoire); }
.fluentform .ff-el-form-check-label { font-size: .85rem; line-height: 1.5; color: var(--ed-encre-70); }
.fluentform .ff-el-form-check-input { accent-color: var(--ed-rose); }
.fluentform .ff-message-success { font-family: var(--ed-serif); font-style: italic; color: var(--ed-encre); }

/* Page /bienvenue/ (shortcode ed_bienvenue). */
.ed-bienvenue { max-width: 760px; margin: 48px auto 72px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.ed-bienvenue__boutons { display: flex; gap: 12px; flex-wrap: wrap; }
.ed-bienvenue__etapes { margin: 0; padding-left: 22px; color: var(--ed-encre-70); }
.ed-bienvenue__etapes li { margin-bottom: 8px; }
.ed-bienvenue__etapes strong { color: var(--ed-encre); }
@media (max-width: 478px) { .ed-bienvenue__boutons { flex-direction: column; width: 100%; } .ed-bienvenue__boutons .ed-btn { width: 100%; } }

/* Encadré éditorial : classe à poser sur un paragraphe ou un groupe dans l’éditeur */
.ed-callout{position:relative;background:var(--ed-blanc,#fff);border:1px solid rgba(47,45,74,.1);border-radius:3px;box-shadow:6px 6px 0 var(--ed-rose-pale,#F2DCD6);padding:18px 22px 18px 54px;font-size:1rem;margin:0 0 26px;background-image:linear-gradient(90deg,transparent 36px,var(--ed-rose,#C9847A) 36px,var(--ed-rose,#C9847A) 37.5px,transparent 37.5px)}
.ed-callout::before{content:"";position:absolute;left:12px;top:22px;width:22px;height:22px;background-color:var(--ed-rose,#C9847A);-webkit-mask:url(/wp-content/uploads/ed-icons/plume.svg) center/contain no-repeat;mask:url(/wp-content/uploads/ed-icons/plume.svg) center/contain no-repeat}

/* Blocs centrés (tag + titre) : force l’alignement quel que soit le contexte */
.brxe-div.ed-centre,.ed-centre{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;width:100%}
.ed-centre .ed-tag{justify-content:center}

.ed-centre > .brxe-heading,.ed-centre > .brxe-text-basic,.ed-centre > .brxe-div{text-align:center!important;width:auto;max-width:100%;align-self:center}

/* ff-submit-override */
html .fluentform .ff-btn-submit,html .fluentform .ff-btn-submit:not(.ff_btn_no_style){background-color:var(--ed-rose,#C9847A)!important;color:var(--ed-encre,#2F2D4A)!important;border:1.5px solid var(--ed-rose,#C9847A)!important;border-radius:12px!important;font-family:var(--ed-sans,'Nunito Sans',sans-serif)!important;font-weight:600!important;font-size:1rem!important;padding:14px 22px!important;min-height:0!important}
html .fluentform .ff-btn-submit:hover,html .fluentform .ff-btn-submit:not(.ff_btn_no_style):hover{background-color:var(--ed-encre,#2F2D4A)!important;border-color:var(--ed-encre,#2F2D4A)!important;color:var(--ed-ivoire,#FBF7F1)!important}

/* ed-btn fallback */
/* Boutons dans les contenus hors Bricks (shortcodes, éditeur) : reprend la classe globale ed-btn. */
.ed-bienvenue .ed-btn,.entry-content .ed-btn,.brxe-post-content .ed-btn,.brxe-shortcode .ed-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 22px;border-radius:12px;font-family:var(--ed-sans,'Nunito Sans',sans-serif);font-weight:600;font-size:1rem;line-height:1.2;text-decoration:none;border:1.5px solid var(--ed-rose,#C9847A);background-color:var(--ed-rose,#C9847A);color:var(--ed-encre,#2F2D4A);cursor:pointer;transition:background-color .2s,color .2s,border-color .2s}
.ed-bienvenue .ed-btn:hover,.entry-content .ed-btn:hover,.brxe-post-content .ed-btn:hover,.brxe-shortcode .ed-btn:hover{background-color:var(--ed-encre,#2F2D4A);border-color:var(--ed-encre,#2F2D4A);color:var(--ed-ivoire,#FBF7F1)}
.ed-bienvenue .ed-btn--ghost,.brxe-shortcode .ed-btn--ghost{background-color:transparent;color:var(--ed-encre,#2F2D4A);border-color:var(--ed-encre,#2F2D4A)}
.ed-bienvenue .ed-h1,.ed-bienvenue h1{font-family:var(--ed-serif,Georgia,serif);font-variation-settings:"SOFT" 100,"WONK" 1;font-weight:600;font-size:clamp(2rem,4vw,2.9rem);line-height:1.12;margin:0;color:var(--ed-encre,#2F2D4A)}
.ed-bienvenue h2{font-family:var(--ed-serif,Georgia,serif);font-variation-settings:"SOFT" 100,"WONK" 1;font-weight:500;font-size:1.5rem;margin:18px 0 0;color:var(--ed-encre,#2F2D4A)}
.ed-bienvenue .ed-tag{display:inline-flex;align-items:center;gap:7px;font-size:.74rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;margin:0}

/* noir fini : un noir pur sous color-burn produit du bruit (spécificité > classe Bricks) */
.brxe-div.ed-feuille__tint--noir,.ed-feuille__tint--noir.brxe-div{background-color:#121212!important}

/* === Audit 18/10 (suite) === */
/* 3. Gouttières : 24 px, 20 px sous 768 px, sur chaque section. */
.brxe-section > .brxe-container { padding-left: 24px; padding-right: 24px; }
@media (max-width: 767px) { .brxe-section > .brxe-container { padding-left: 20px; padding-right: 20px; } }
/* 2. Graisses réelles : Parisienne n’existe qu’en 400, Nunito Sans en 400/600, Fraunces italique en 500. */
.ed-logo__mark, .ed-footer__mark, .ed-footer__signoff, .ed-quote, .ed-step__num, .ed-letter__sign, .ed-author__sign, .ed-fiche__num, .ed-404__num, .ed-sommaire__item::before { font-weight: 400 !important; }
strong, b, .brxe-text-link, .brxe-text-basic a, .ed-link, .ed-arrowlink, .ed-crumbs a { font-weight: 600; }
.ed-note, .ed-shelf__legende, .ed-etagere__legende, .ed-gestes, .ed-ital, .ed-why__titre, .ed-feuille__label { font-weight: 500; }
/* 2. Formulaires dans la police du site. */
.fluentform input, .fluentform select, .fluentform textarea, .fluentform button, .fluentform label, .fluentform .ff-el-form-check-label, .fluentform .ff-message-success { font-family: var(--ed-sans); }
.fluentform .ff-el-form-check-label { font-size: .85rem; }
.fluentform .ff-btn-submit { min-height: 48px !important; }
/* 4. Hero : feuille plafonnée à 70 vh (60 vh sur mobile), colonne texte centrée verticalement. */
.ed-hero__grid.brxe-container, .brxe-container.ed-hero__grid { align-items: center; }
.ed-feuille--hero { width: min(100%, calc(70vh * .75)); margin-left: auto; margin-right: auto; }
@media (max-width: 991px) { .ed-feuille--hero { width: min(76%, calc(60vh * .75)); } }
/* 4. Ornements aquarelle : masqués tant que les vrais SVG n’existent pas (jamais d’étiquette de réserve en production). */
.ed-orn, .brxe-div.ed-orn { display: none !important; }
/* 4. Feuilles : surface blanche pure, aucune texture. */
.ed-feuille { background-color: #fff; background-image: none; }
.ed-feuille::before { content: none; }

/* 3. Méthode : feuilles empilées */
@media (max-width: 767px) { .ed-shelf .ed-feuille { width: min(100%, 240px); margin-left: auto; margin-right: auto; } }

/* 2b. formulaires : spécificité > CSS du plugin */
html .fluentform input, html .fluentform .ff-el-form-control, html .fluentform select, html .fluentform textarea, html .fluentform button, html .fluentform label { font-family: var(--ed-sans) !important; }
/* 4b. hero : largeur de la feuille prioritaire sur la classe Bricks */
.brxe-div.ed-feuille--hero, .ed-feuille--hero.brxe-div { width: min(100%, calc(70vh * .75)); }
@media (max-width: 991px) { .brxe-div.ed-feuille--hero, .ed-feuille--hero.brxe-div { width: min(76%, calc(60vh * .75)); } }

/* 8. images attachées dans les feuilles : Bricks ajoute width/height, et height:100% ne se résout pas sur un cadre en aspect-ratio ; on cale l’image en absolu dans le cadre. */
.ed-feuille, .ed-couv { position: relative; overflow: hidden; }
.ed-feuille > img, .ed-feuille > .brxe-image, .ed-couv > img, .ed-couv > .brxe-image { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; display: block; }
.ed-feuille > .ed-feuille__tint { z-index: 1; }

/* === Équilibre (audit v2, 18/10) === */
:root { --ed-header-h: 96px; }
@media (max-width: 991px) { :root { --ed-header-h: 72px; } }
html, body { overflow-x: clip; }
/* 1a. centré */
body .ed-section__head .ed-tag { justify-content: center; }
/* 1b. deux colonnes équilibrées */
body .ed-deux { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 767px) { body .ed-deux { grid-template-columns: minmax(0,1fr); } }
body .ed-apropos__aside, body .ed-fiche__aside, body .ed-faq__aside { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
@media (min-width: 992px) { body .ed-fiche__aside { position: sticky; top: calc(var(--ed-header-h) + 24px); } }
body .ed-mini { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; width: 100%; }
body .ed-mini__item { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
body .ed-mini__item .ed-feuille { width: min(100%, 150px); }
body .ed-mini__item--letter .ed-feuille { aspect-ratio: 216 / 279; }
body .ed-mini__legende { margin: 0; font-family: var(--ed-serif); font-style: italic; font-weight: 500; font-size: .95rem; color: var(--ed-encre); }
body .ed-question { position: relative; width: 100%; background-color: var(--ed-blanc); border: 1px solid var(--ed-ligne); border-radius: 3px; box-shadow: 8px 8px 0 var(--ed-rose-pale); padding: 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
body .ed-question::after { content: ""; position: absolute; top: -1px; right: -1px; width: 28px; height: 28px; background: linear-gradient(225deg, var(--ed-fond, var(--ed-ivoire)) 0 50%, var(--ed-rose-pale) 50% 100%); border-bottom-left-radius: 3px; }
.ed-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* 1c. grille pleine : étapes en ligne, connecteur pointillé horizontal */
body .ed-steps.brxe-div { max-width: none; }
body .ed-step.brxe-div:not(:last-child)::after { left: auto; right: calc(-1 * clamp(24px, 4vw, 48px)); top: 46px; bottom: auto; width: clamp(24px, 4vw, 48px); border-left: 0; border-top: 2px dotted var(--ed-rose); }
@media (max-width: 991px) { body .ed-step.brxe-div:not(:last-child)::after { display: none; } }
body .ed-shelf .ed-feuille { width: 100%; max-width: none; margin: 0 0 -2px; }
@media (max-width: 991px) { body .ed-shelf .ed-feuille { width: min(100%, 280px); margin: 0 auto -2px; } body .ed-cat.brxe-div { display: grid; overflow: visible; padding: 0; } }
/* 2. hero : feuille plafonnée, aucune marge négative */
body .brxe-div.ed-feuille--hero { width: min(100%, calc(70vh * .75)); max-height: 70vh; }
/* 3. boutons : la cascade Bricks (taille / id) ne doit plus réduire les boutons */
.brxe-button.ed-btn, .brxe-button.ed-btn.bricks-button, .brxe-button.ed-btn.sm, .brxe-button.ed-btn.md, .brxe-button.ed-btn.lg, .brxe-button.ed-btn.xl { padding: 14px 24px; min-height: 46px; line-height: 1.2; }
.brxe-button.ed-btn.ed-btn--sm, .ed-btn--sm.brxe-button { padding: 11px 16px; min-height: 44px; }
/* 5. tiroir mobile : calque fixe sous l’en-tête, sans déplacer la page */
@media (max-width: 991px) {
  body .ed-header .ed-drawer.brxe-div { display: block; position: fixed; inset: var(--ed-header-h) 0 0 0; background-color: var(--ed-ivoire); padding: 24px 20px 40px; overflow-y: auto; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; border-top: 0; z-index: 49; }
  body .ed-header.is-open .ed-drawer.brxe-div { opacity: 1; transform: none; pointer-events: auto; }
}
@media (min-width: 992px) { body .ed-drawer.brxe-div { display: none !important; } }
html.ed-nav-open, html.ed-nav-open body { overflow: hidden; }
/* 6. burger « trait d’encre » */
body .ed-burger.brxe-div { border: 0; background: transparent; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
body .ed-header.is-open .ed-ico--menu, body .ed-header:not(.is-open) .ed-ico--close { display: none; }
/* 4. en-tête : option B « feuille flottante » — carte ivoire dans une bande papier, coins 0 0 12 12, ombre papier, marque qui chevauche le bord, carte réduite au défilement */
:root { --ed-header-h: 106px; }
@media (max-width: 991px) { :root { --ed-header-h: 82px; } }
body .ed-header.brxe-section { position: sticky; top: 0; z-index: 50; background-color: var(--ed-papier); padding: 0 0 10px; overflow: visible; }
body.admin-bar .ed-header.brxe-section { top: 32px; }
@media (max-width: 782px) { body.admin-bar .ed-header.brxe-section { top: 46px; } }
body .ed-header.brxe-section::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--ed-encre) .6px, transparent .7px); background-size: 22px 22px; opacity: .03; pointer-events: none; }
body .ed-header.brxe-section::after { content: none; }
body .ed-header.brxe-section > .brxe-container { position: relative; z-index: 1; background-color: var(--ed-ivoire); border: 1px solid var(--ed-ligne); border-top: 0; border-radius: 0 0 12px 12px; box-shadow: 4px 4px 0 var(--ed-rose-pale); padding-left: 24px; padding-right: 24px; transition: min-height .2s ease; }
body .ed-header .ed-logo.brxe-div { position: relative; z-index: 2; transform: translateY(10px); }
@media (min-width: 992px) { body .ed-header.is-scrolled > .ed-header__bar.brxe-container { min-height: 72px; } }
@media (max-width: 991px) { body .ed-header .ed-logo.brxe-div { transform: translateY(8px); } body .ed-header .ed-drawer.brxe-div { inset: var(--ed-header-h) 0 0 0; } }
body .ed-header.brxe-section .ed-drawer { z-index: 49; }

/* 1a bis. têtes de page centrées (livres, journal, newsletter) et grilles centrées quand il y a moins de trois cartes */
body .ed-hub .ed-ahead__inner.brxe-div { max-width: 62ch; margin-left: auto; margin-right: auto; align-items: center; text-align: center; }
body .ed-hub .ed-ahead__inner .ed-tag { justify-content: center; }
body .ed-filtres.brxe-div { justify-content: center; }
body .ed-grille.brxe-div, body .ed-cat.brxe-div { grid-template-columns: repeat(auto-fit, minmax(260px, 360px)); justify-content: center; }
@media (max-width: 991px) { body .ed-grille.brxe-div, body .ed-cat.brxe-div { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
@media (max-width: 478px) { body .ed-grille.brxe-div, body .ed-cat.brxe-div { grid-template-columns: minmax(0,1fr); } }

/* 1a ter. fil d’Ariane centré sur les têtes de page centrées ; rangées de filtres et grilles sur toute la largeur */
body .ed-hub .ed-crumbs.brxe-div { justify-content: center; width: 100%; }
body .ed-filtres.brxe-div, body .ed-grille.brxe-div, body .ed-cat.brxe-div { width: 100%; }

/* 4 bis. option B : collant sur le conteneur Bricks (#brx-header), marque en onglet qui dépasse de 10 px */
body #brx-header { position: sticky; top: 0; z-index: 50; }
body.admin-bar #brx-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar #brx-header { top: 46px; } }
body .ed-header.brxe-section { position: relative; top: auto; }
body .ed-header .ed-logo.brxe-div { transform: none; align-self: end; margin-bottom: -10px; background-color: var(--ed-ivoire); border: 1px solid var(--ed-ligne); border-top: 0; border-radius: 0 0 10px 10px; padding: 0 14px 6px; }
@media (max-width: 991px) { body .ed-header .ed-logo.brxe-div { transform: none; margin-bottom: -10px; padding: 0 10px 4px; } }

/* === Retouches 18/10 (soir) === */
/* en-tête : bande dans la couleur du site ; la carte, l’onglet et l’ombre restent */
body .ed-header.brxe-section { background-color: var(--ed-ivoire); }
body .ed-header.brxe-section::before { content: none; }
/* fiche d’impression : carte « fiche » avec sélecteur de format (remplace les deux boutons empilés) */
body .ed-fichecard { position: relative; width: 100%; background-color: var(--ed-blanc); border: 1px solid var(--ed-ligne); border-radius: 3px; box-shadow: 8px 8px 0 var(--ed-rose-pale); padding: 22px 22px 22px 18px; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 22px; align-items: center; }
body .ed-fichecard::after { content: ""; position: absolute; top: -1px; right: -1px; width: 28px; height: 28px; background: linear-gradient(225deg, var(--ed-fond, var(--ed-papier)) 0 50%, var(--ed-rose-pale) 50% 100%); border-bottom-left-radius: 3px; }
body .ed-fichecard__sheet { display: flex; align-items: center; justify-content: center; padding: 8px 8px 10px 0; }
body .ed-fichecard__sheet .ed-feuille { width: 100%; transform: rotate(-4deg); box-shadow: 4px 4px 0 var(--ed-rose-pale); }
body .ed-fichecard__body { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; min-width: 0; }
body .ed-formats { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border: 1.5px solid var(--ed-encre); border-radius: 12px; overflow: hidden; }
body .ed-format { display: grid; grid-template-columns: minmax(0, 1fr) 20px; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 14px; min-height: 46px; text-decoration: none; color: var(--ed-encre); transition: background-color .2s; }
body .ed-format + .ed-format { border-left: 1.5px solid var(--ed-encre); }
body .ed-format:hover, body .ed-format:focus-visible { background-color: var(--ed-rose-pale); }
body .ed-format .ed-format__nom { font-family: var(--ed-serif); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 600; font-size: 1.15rem; line-height: 1.1; }
body .ed-format .ed-format__dim { grid-column: 1; font-family: var(--ed-sans); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ed-encre-70); }
body .ed-format .ed-format__ico { grid-column: 2; grid-row: 1 / 3; width: 20px; height: 20px; background-color: var(--ed-rose); -webkit-mask: url(https://encredouce.com/wp-content/uploads/ed-icons/download.svg) center / contain no-repeat; mask: url(https://encredouce.com/wp-content/uploads/ed-icons/download.svg) center / contain no-repeat; }
@media (max-width: 478px) { body .ed-fichecard { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 18px 16px; } }
/* hub, mobile : la feuille à moitié coloriée juste sous le titre, badges masqués, moins de rembourrage en haut */
@media (max-width: 767px) {
  body .ed-hub .ed-hub__grid.brxe-div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  body .ed-hub .ed-hub__copy.brxe-div, body .ed-hub .ed-hub__visual.brxe-div { display: contents; }
  body .ed-hub .ed-hub__copy > .ed-tag { order: 1; }
  body .ed-hub .ed-hub__copy > .ed-h1 { order: 2; }
  body .ed-hub .ed-hub__visual > .ed-feuille { order: 3; width: min(62%, 240px); margin: 8px auto 0; }
  body .ed-hub .ed-hub__visual > .ed-note { order: 4; text-align: center; }
  body .ed-hub .ed-hub__copy > .ed-lead, body .ed-hub .ed-hub__copy > .ed-body { order: 5; }
  body .ed-hub .ed-hub__copy > .ed-tags { display: none; }
  body .ed-hub .ed-hub__copy > .ed-gestes { order: 7; }
  body .brxe-section.ed-hub { padding-top: 28px; }
}
/* hub mobile : ordre par défaut des autres enfants (après la feuille, avant les gestes) */
@media (max-width: 767px) { body .ed-hub .ed-hub__copy > *, body .ed-hub .ed-hub__visual > * { order: 6; } body .ed-hub .ed-hub__copy > .ed-tag { order: 1; } body .ed-hub .ed-hub__copy > .ed-h1 { order: 2; } body .ed-hub .ed-hub__visual > .ed-feuille { order: 3; } body .ed-hub .ed-hub__visual > .ed-note { order: 4; } body .ed-hub .ed-hub__copy > .ed-lead { order: 5; } body .ed-hub .ed-hub__copy > .ed-gestes { order: 7; } }

/* === Retouches 18/10 (nuit) === */
/* en-tête : aucun filet ni ombre de section au défilement (la carte garde les siens) */
body .ed-header.brxe-section, body .ed-header.is-scrolled.brxe-section { border-bottom: 0 !important; box-shadow: none !important; }
/* fiche d’impression : feuille centrée, bandeau « ticket » pour les téléchargements */
body .ed-fiche-centre { display: flex; flex-direction: column; align-items: center; width: 100%; }
body .ed-ticket { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; width: 100%; max-width: 860px; margin: 40px auto 0; padding: 18px 24px; border-top: 1px solid rgba(47,45,74,.2); border-bottom: 1px solid rgba(47,45,74,.2); }
body .ed-ticket__accroche { margin: 0; font-family: var(--ed-serif); font-style: italic; font-weight: 500; font-variation-settings: "SOFT" 100, "WONK" 1; font-size: 1.1rem; color: var(--ed-encre); }
body .ed-ticket__texte { margin: 0; color: var(--ed-encre-70); }
body .ed-ticket__actions { display: flex; flex-wrap: wrap; gap: 10px; }
body .ed-ticket .ed-btn--dl::before { width: 18px; height: 18px; }
/* règle graduée : les détails du pack comme des mesures sur une règle de papeterie */
body .ed-regle { display: flex; flex-wrap: wrap; gap: 8px 40px; list-style: none; margin: 10px 0 0; padding: 14px 0 0; position: relative; width: 100%; background-image: repeating-linear-gradient(90deg, rgba(47,45,74,.35) 0 1px, transparent 1px 10px); background-size: 100% 6px; background-repeat: no-repeat; background-position: 0 0; border-top: 1px solid rgba(47,45,74,.35); }
body .ed-regle__item { position: relative; display: flex; flex-direction: column; gap: 2px; padding-left: 12px; }
body .ed-regle__item::before { content: ""; position: absolute; left: 0; top: -14px; width: 1px; height: 24px; background-color: var(--ed-rose); }
body .ed-regle__val { font-family: var(--ed-serif); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 600; font-size: 1.2rem; line-height: 1.1; color: var(--ed-encre); }
body .ed-regle__lab { font-family: var(--ed-sans); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ed-encre-70); }
@media (max-width: 767px) { body .ed-regle { gap: 14px 24px; } body .ed-regle__item { flex: 1 1 40%; } body .ed-hub .ed-hub__copy > .ed-regle { display: flex; order: 6; } }
/* en-tête : bande transparente (la carte reste ivoire) */
body #brx-header, body .ed-header.brxe-section { background-color: transparent !important; }
/* ticket : texte centré et borné, note sous les boutons */
body .ed-ticket { flex-direction: column; gap: 10px; padding: 22px 24px; }
body .ed-ticket__texte { max-width: 58ch; text-align: center; }
body .ed-ticket__actions { justify-content: center; margin-top: 6px; }
body .ed-ticket .ed-note { text-align: center; }

/* grilles et rangées : largeur définie dans les conteneurs Bricks (align-items: flex-start les rétrécissait à leur contenu, d’où des colonnes décalées entre feuilles et légendes) */
body .brxe-container > .ed-shelf, body .brxe-container > .ed-shelf__labels, body .brxe-container > .ed-etagere, body .brxe-container > .ed-steps, body .brxe-container > .ed-why, body .brxe-container > .ed-syn, body .brxe-container > .ed-deux, body .brxe-container > .ed-cat, body .brxe-container > .ed-grille, body .brxe-container > .ed-news, body .brxe-container > .ed-livres, body .brxe-container > .ed-booklist, body .brxe-container > .ed-second, body .brxe-container > .ed-livre, body .brxe-container > .ed-mech, body .brxe-container > .ed-try, body .brxe-container > .ed-hub__grid, body .brxe-container > .ed-bhero__grid, body .brxe-container > .ed-fiche-centre, body .brxe-container > .ed-ticket, body .brxe-container > .ed-regle { width: 100%; }
body .ed-shelf__item, body .ed-etagere__item { min-width: 0; }
