/* ==========================================================
   LE HANGAR — Direction « l'atelier du photographe » (v2)
   Feuille globale : surcharge les classes hg-* de toutes les
   pages + styles de la page d'accueil (ha-*).
   ========================================================== */

:root{
  --hn-noir:#141210; --hn-noir-2:#1d1a17; --hn-acier:#2b2724;
  --hn-brique:#9a472a; --hn-brique-f:#7e3820; --hn-brique-c:#c4673f; --hn-brique-cc:#d9825a;
  --hn-papier:#efe9df; --hn-papier-2:#e4dccf; --hn-papier-3:#f4efe7;
  --hn-encre:#1b1815; --hn-texte:#4a443e; --hn-gris:#8b8279; --hn-gris-texte:#675f56; --hn-erreur:#b0142f; --hn-gris-c:#b9b0a5;
  --hn-ligne:rgba(27,24,21,.16); --hn-ligne-c:rgba(239,233,223,.16);
  --hn-display:'Big Shoulders Display','Arial Narrow',sans-serif;
  --hn-texte-f:'Archivo',system-ui,sans-serif;
  --hn-script:'Mr Dafoe',cursive;
  /* Échelle typographique (audit du 14/11/2026) : 18 crans en rem, base 17 px (html à 106,25 %).
     Le nombre = la taille en px avec les réglages par défaut du navigateur ; elle suit la taille de police choisie par le visiteur. */
  --hn-fs-12:calc(12rem/17); --hn-fs-14:calc(14rem/17); --hn-fs-15:calc(15rem/17); --hn-fs-17:calc(17rem/17); --hn-fs-18:calc(18rem/17); --hn-fs-20:calc(20rem/17); --hn-fs-22:calc(22rem/17); --hn-fs-24:calc(24rem/17); --hn-fs-28:calc(28rem/17); --hn-fs-32:calc(32rem/17); --hn-fs-40:calc(40rem/17); --hn-fs-48:calc(48rem/17); --hn-fs-56:calc(56rem/17); --hn-fs-64:calc(64rem/17); --hn-fs-72:calc(72rem/17); --hn-fs-78:calc(78rem/17); --hn-fs-88:calc(88rem/17); --hn-fs-112:calc(112rem/17);
  --hn-fs-champ:calc(16rem/17); /* champs de formulaire : jamais sous 16 px, sinon iOS zoome */
  --hn-grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
html body{background:var(--hn-papier);color:var(--hn-encre);font-family:var(--hn-texte-f)}
body ::selection{background:var(--hn-brique);color:var(--hn-papier)}
body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--hn-display)}
body .entry-content img{border-radius:0}

/* ---------- En-tête ---------- */
body .site-header .ast-primary-header-bar,
body .site-header .main-header-bar,
body .ast-mobile-header-wrap .ast-primary-header-bar{background:var(--hn-noir);border-bottom:0}
body .site-header .site-logo-img img,
body .ast-site-identity img{filter:invert(1) brightness(1.05)}
body .main-header-menu .menu-link,
body .ast-builder-menu-1 .menu-item > .menu-link{font-family:var(--hn-texte-f);font-size:var(--hn-fs-14) !important;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--hn-papier)}
body .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link{padding-left:.8em !important;padding-right:.8em !important;white-space:nowrap}
/* wrap : le menu ne passe sur deux lignes que si le texte est agrandi (200 %) ; à taille normale il tient sur une ligne dès 1202 px */\nbody .ast-builder-menu-1 .main-header-menu{flex-wrap:wrap}
body .ast-header-button-1 .ast-custom-button{white-space:nowrap}
body .site-header .site-logo-img img{max-width:150px}
body .ast-builder-menu-1 .menu-item:hover > .menu-link,
body .ast-builder-menu-1 .current-menu-item > .menu-link,
body .ast-builder-menu-1 .current-menu-ancestor > .menu-link{color:var(--hn-brique-cc) !important}
body .ast-builder-menu-1 .sub-menu{background:var(--hn-noir-2) !important;border:0 !important;border-top:2px solid var(--hn-brique) !important;border-radius:0 !important}
body .ast-builder-menu-1 .sub-menu .menu-link{text-transform:none !important;letter-spacing:0 !important;font-size:var(--hn-fs-14) !important;font-weight:500 !important;color:var(--hn-gris-c) !important}
body .ast-builder-menu-1 .sub-menu .menu-item:hover > .menu-link{color:var(--hn-papier) !important;background:transparent !important}
body .main-header-menu .ast-icon svg,body .ast-header-navigation-arrow svg{fill:var(--hn-papier)}
body .ast-header-button-1 .ast-custom-button{font-family:var(--hn-texte-f);font-size:var(--hn-fs-12);font-weight:600;letter-spacing:.06em;text-transform:uppercase;border-radius:0;background:var(--hn-brique);border-color:var(--hn-brique);color:var(--hn-papier);padding:14px 20px !important}
body .ast-header-button-1 .ast-custom-button:hover{background:var(--hn-brique-f) !important;border-color:var(--hn-brique-f) !important}
body .ast-mobile-menu-trigger-minimal,body .menu-toggle{color:var(--hn-papier) !important}
body .ast-mobile-menu-trigger-minimal svg,body .menu-toggle svg{fill:var(--hn-papier) !important}
body .ast-mobile-popup-drawer .ast-mobile-popup-inner{background:var(--hn-noir) !important}
body .ast-mobile-popup-drawer .menu-link{color:var(--hn-papier) !important;font-family:var(--hn-display) !important;font-size:var(--hn-fs-24) !important;font-weight:700 !important;text-transform:uppercase}
body .ast-mobile-popup-drawer .sub-menu .menu-link{font-family:var(--hn-texte-f) !important;font-size:var(--hn-fs-15) !important;text-transform:none;color:var(--hn-gris-c) !important}
body .ast-mobile-popup-drawer .menu-toggle-close{color:var(--hn-papier) !important}

/* ---------- Pied de page ---------- */
body .site-footer,body .site-below-footer-wrap,body .site-primary-footer-wrap,body .site-above-footer-wrap{background:var(--hn-noir-2);border-top:0 !important}
body .site-footer,body .site-footer p,body .ast-footer-copyright{color:var(--hn-gris) !important;font-size:var(--hn-fs-14)}
body .site-footer a,body .footer-widget-area .menu-link{color:var(--hn-gris-c);text-decoration:none}
body .site-footer a:hover{color:var(--hn-papier) !important}

/* ---------- Typographie des pages (classes hg-*) ---------- */
body .entry-content .hg-eyebrow{font-family:var(--hn-display) !important;font-size:var(--hn-fs-15) !important;font-weight:800 !important;letter-spacing:.14em !important;text-transform:uppercase;color:var(--hn-brique-texte) !important;display:flex;align-items:center;gap:14px;margin:0 0 22px !important}
body .entry-content .hg-eyebrow::after{content:"";width:48px;height:1px;background:currentColor;flex:none}
body .entry-content .hg-on-dark.hg-eyebrow,body .entry-content .hg-eyebrow.hg-on-dark{color:var(--hn-brique-cc) !important}

body .entry-content h1.hg-h1{font-family:var(--hn-display) !important;font-size:var(--hn-fs-88) !important;font-weight:800 !important;line-height:.88 !important;letter-spacing:0 !important;text-transform:uppercase;color:var(--hn-encre) !important;margin:0 0 28px !important;max-width:14ch}
body .entry-content h1.hg-h1-sm{font-size:var(--hn-fs-72) !important}
body .entry-content h2.hg-h2{font-family:var(--hn-display) !important;font-size:var(--hn-fs-64) !important;font-weight:800 !important;line-height:.92 !important;letter-spacing:0 !important;text-transform:uppercase;color:var(--hn-encre) !important;margin:0 0 24px !important;max-width:16ch}
body .entry-content h2.hg-h2-sm{font-size:var(--hn-fs-48) !important;max-width:22ch}
body .entry-content h2.hg-legal-h2{font-family:var(--hn-display) !important;font-size:var(--hn-fs-28) !important;font-weight:800 !important;line-height:1.05 !important;text-transform:uppercase;letter-spacing:.01em !important;color:var(--hn-encre) !important;margin:44px 0 12px !important}
body .entry-content h3.hg-h3{font-family:var(--hn-display) !important;font-size:var(--hn-fs-28) !important;font-weight:800 !important;line-height:1.02 !important;letter-spacing:.01em !important;text-transform:uppercase;color:var(--hn-encre) !important;margin:26px 0 12px !important}
body .entry-content h3.hg-h3-lg{font-size:var(--hn-fs-40) !important;margin-top:0 !important}
body .entry-content h3.hg-h3-card{font-size:var(--hn-fs-28) !important;margin-top:0 !important}
body .entry-content .hg-lead{font-family:var(--hn-texte-f);font-size:var(--hn-fs-20) !important;line-height:1.6 !important;color:var(--hn-texte) !important;max-width:52ch}
body .entry-content .hg-text{font-family:var(--hn-texte-f);font-size:var(--hn-fs-17) !important;line-height:1.7 !important;color:var(--hn-texte) !important}
body .entry-content .hg-text a,body .entry-content .hg-contact a{color:var(--hn-encre);text-decoration:underline;text-decoration-color:var(--hn-brique);text-decoration-thickness:1.5px;text-underline-offset:4px}
body .entry-content .hg-proof{font-size:var(--hn-fs-14) !important;color:var(--hn-gris-texte) !important;letter-spacing:.02em}
body .entry-content .hg-tag{font-family:var(--hn-texte-f) !important;font-size:var(--hn-fs-12) !important;font-weight:600;letter-spacing:.2em !important;text-transform:uppercase;color:var(--hn-papier) !important;background:var(--hn-encre);border:0 !important;border-radius:0;padding:8px 12px !important}
body .entry-content .hg-on-dark,body .entry-content h2.hg-h2.hg-on-dark,body .entry-content h3.hg-on-dark{color:var(--hn-papier) !important}
body .entry-content .hg-on-dark-muted{color:var(--hn-gris-c) !important}

/* Citations */
body .entry-content .hg-quote,body .entry-content .hg-quote-press{font-family:var(--hn-texte-f) !important;font-size:var(--hn-fs-22) !important;font-weight:500 !important;font-style:normal !important;line-height:1.45 !important;letter-spacing:-.01em;color:var(--hn-encre) !important;border:0 !important;padding:0 !important;margin:18px 0 26px !important;max-width:34ch}
body .entry-content .hg-quote::before,body .entry-content .hg-quote-press::before{content:"\201C";display:block;font:800 var(--hn-fs-78)/.55 var(--hn-display);color:var(--hn-brique);margin:0 0 4px}
body .entry-content .hg-cite{font-family:var(--hn-texte-f) !important;font-size:var(--hn-fs-12) !important;font-weight:600 !important;letter-spacing:.2em !important;text-transform:uppercase;color:var(--hn-gris) !important;padding-left:0 !important}

/* Boutons */
body .entry-content .hg-btns{gap:12px !important}
body .entry-content .hg-btn .wp-block-button__link{font-family:var(--hn-texte-f) !important;font-size:var(--hn-fs-14) !important;font-weight:600;letter-spacing:.05em !important;text-transform:uppercase;border-radius:0 !important;padding:18px 26px !important;line-height:1.1 !important;transition:background-color .25s ease,color .25s ease,border-color .25s ease}
body .entry-content .hg-btn-primary .wp-block-button__link{background:var(--hn-brique);border:1.5px solid var(--hn-brique) !important;color:var(--hn-papier)}
body .entry-content .hg-btn-primary .wp-block-button__link::after{content:" \2192";margin-left:6px}
body .entry-content .hg-btn-primary .wp-block-button__link:hover{background:var(--hn-brique-f) !important;border-color:var(--hn-brique-f) !important}
body .entry-content .hg-btn-secondary .wp-block-button__link{background:transparent;border:1.5px solid var(--hn-encre) !important;color:var(--hn-encre)}
body .entry-content .hg-btn-secondary .wp-block-button__link:hover{background:var(--hn-encre) !important;color:var(--hn-papier) !important}
body .entry-content .hg-btn-light .wp-block-button__link{background:transparent;border:1.5px solid var(--hn-papier) !important;color:var(--hn-papier)}
body .entry-content .hg-btn-light .wp-block-button__link:hover{background:var(--hn-papier) !important;color:var(--hn-noir) !important}
body .entry-content .hg-more{font-family:var(--hn-texte-f) !important;font-size:var(--hn-fs-14) !important;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
body .entry-content .hg-more a{color:var(--hn-encre);text-decoration:none;border-bottom:1.5px solid var(--hn-brique);padding-bottom:5px}
body .entry-content .hg-more a:hover{color:var(--hn-brique) !important}
body .entry-content .hg-on-dark .hg-more a,body .entry-content .hg-more.hg-on-dark a{color:var(--hn-papier) !important}

/* Photos : le bloc décalé, signature de l'ancien site */
body .entry-content .hg-photo img{border-radius:0}
body .entry-content .hg-photo-hero{position:relative}
body .entry-content .hg-photo-hero img{box-shadow:22px 22px 0 var(--hn-papier-2)}

/* Chiffres */
body .entry-content .hg-num{font-family:var(--hn-display) !important;font-size:var(--hn-fs-56) !important;font-weight:800 !important;letter-spacing:0 !important;line-height:.95 !important;color:var(--hn-brique) !important}
body .entry-content .hg-stat-num{font-family:var(--hn-display) !important;font-size:var(--hn-fs-64) !important;font-weight:800 !important;letter-spacing:0 !important;color:var(--hn-brique-cc) !important;border-bottom:1px solid var(--hn-ligne-c)}
body .entry-content .hg-stat-label{font-family:var(--hn-texte-f);font-size:var(--hn-fs-12) !important;letter-spacing:.18em !important;color:var(--hn-gris-c) !important}
body .entry-content .hg-facts li{font-family:var(--hn-texte-f);font-size:var(--hn-fs-17) !important;color:var(--hn-encre) !important;border-top:1px solid var(--hn-ligne);padding:13px 0 13px 22px !important;position:relative}
body .entry-content .hg-facts li::before{content:"";position:absolute;left:0;top:1.35em;width:10px;height:1.5px;background:var(--hn-brique)}
body .entry-content .hg-facts li:last-child{border-bottom:1px solid var(--hn-ligne)}

/* Logos clients */
body .entry-content .hg-logo img{filter:grayscale(1) contrast(1.1) !important;mix-blend-mode:multiply;opacity:.7}

/* FAQ */
body .entry-content .hg-faq{border-top:1px solid var(--hn-ligne)}
body .entry-content .hg-faq:last-of-type{border-bottom:1px solid var(--hn-ligne)}
body .entry-content .hg-faq summary{font-family:var(--hn-display);font-size:var(--hn-fs-24);font-weight:700;text-transform:uppercase;letter-spacing:.01em;color:var(--hn-encre)}
body .entry-content .hg-faq summary::after{color:var(--hn-brique);font-family:var(--hn-display)}

/* Cartes (toutes les pages intérieures) */
body .entry-content .wp-block-uagb-container[class*="-card-"]{background:var(--hn-papier-3);border-radius:0;border-top:2px solid var(--hn-encre)}
/* Appels à l'action sombres en fin de page */
body .entry-content .wp-block-uagb-container[class*="-fin-cta"],
body .entry-content .uagb-block-tb-v2-cta{background-color:var(--hn-noir);background-image:var(--hn-grain);background-blend-mode:overlay;border-radius:0}
body .uagb-block-tb-v1-offre-rallye,body .uagb-block-tb-v1-offre-mesure{background:var(--hn-papier-3);border-radius:0;border-top:2px solid var(--hn-encre)}
body .entry-content .wp-block-uagb-container{border-radius:0}

/* Formulaires */
body .entry-content .fluentform .ff-el-input--label label{font-family:var(--hn-texte-f) !important;font-size:var(--hn-fs-12) !important;letter-spacing:.14em !important;color:var(--hn-texte) !important}
body .entry-content .fluentform .ff-el-form-control{border-radius:0 !important;border:1px solid #c9bfb1 !important;background:var(--hn-papier-3) !important;color:var(--hn-encre) !important}
body .entry-content .fluentform .ff-el-form-control:focus{border-color:var(--hn-brique) !important;box-shadow:0 0 0 3px rgba(162,75,44,.15) !important}
body .entry-content .fluentform .ff-btn-submit{font-family:var(--hn-texte-f) !important;font-size:var(--hn-fs-14) !important;letter-spacing:.05em;text-transform:uppercase;border-radius:0 !important;background:var(--hn-brique) !important}
body .entry-content .fluentform .ff-btn-submit:hover{background:var(--hn-brique-f) !important}
body .uagb-block-ct-v1-form,body .uagb-block-ct-v1-bro-form{border-radius:0;background:var(--hn-papier-3);border:0;border-top:2px solid var(--hn-encre)}

/* Accent manuscrit utilisable partout : ajouter la classe hg-script */
body .entry-content .hg-script{font-family:var(--hn-script) !important;font-weight:400 !important;text-transform:none !important;letter-spacing:0 !important;color:var(--hn-brique);font-size:1.25em}

/* ---------- Responsive des pages ---------- */
@media (max-width:1024px){
  body .entry-content h1.hg-h1{font-size:var(--hn-fs-64) !important}
  body .entry-content h1.hg-h1-sm{font-size:var(--hn-fs-56) !important}
  body .entry-content h2.hg-h2{font-size:var(--hn-fs-48) !important}
  body .entry-content h2.hg-h2-sm{font-size:var(--hn-fs-40) !important}
  body .entry-content h3.hg-h3-lg{font-size:var(--hn-fs-32) !important}
  body .entry-content .hg-stat-num{font-size:var(--hn-fs-48) !important}
}
@media (max-width:600px){
  body .entry-content h1.hg-h1{font-size:var(--hn-fs-48) !important;line-height:.9 !important}
  body .entry-content h1.hg-h1-sm{font-size:var(--hn-fs-48) !important}
  body .entry-content h2.hg-h2{font-size:var(--hn-fs-40) !important}
  body .entry-content h2.hg-h2-sm{font-size:var(--hn-fs-32) !important}
  body .entry-content h3.hg-h3{font-size:var(--hn-fs-24) !important}
  body .entry-content h3.hg-h3-lg{font-size:var(--hn-fs-28) !important}
  body .entry-content .hg-lead{font-size:var(--hn-fs-18) !important}
  body .entry-content .hg-quote,body .entry-content .hg-quote-press{font-size:var(--hn-fs-18) !important}
  body .entry-content .hg-photo-hero img{box-shadow:12px 12px 0 var(--hn-papier-2)}
  body .entry-content .hg-faq summary{font-size:var(--hn-fs-20)}
}

/* ==========================================================
   PAGE D'ACCUEIL (classes ha-*)
   ========================================================== */
body .entry-content .ha-wrap{width:min(1240px,100% - 48px);margin-left:auto;margin-right:auto;max-width:none}
body .entry-content .ha-wrap > *{max-width:none}
body .entry-content .ha-s{font-family:var(--hn-script);font-weight:400;text-transform:none;letter-spacing:0;color:var(--hn-brique)}
body .entry-content .ha-g{color:var(--hn-gris)}
.ha-grain{position:relative;isolation:isolate}
.ha-grain::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:2;opacity:.13;mix-blend-mode:overlay;background-image:var(--hn-grain)}

/* Boutons accueil */
body .entry-content .ha-btns{display:flex;flex-wrap:wrap;gap:12px;margin:0}
body .entry-content .ha-btns .wp-block-button__link{font-family:var(--hn-texte-f);font-size:var(--hn-fs-14);font-weight:600;letter-spacing:.05em;text-transform:uppercase;border-radius:0;padding:18px 26px;line-height:1.1;border:1.5px solid currentColor;transition:background-color .25s ease,color .25s ease}
body .entry-content .ha-b-plein .wp-block-button__link{background:var(--hn-brique);border-color:var(--hn-brique);color:var(--hn-papier)}
body .entry-content .ha-b-plein .wp-block-button__link::after{content:" \2192";margin-left:6px}
body .entry-content .ha-b-plein .wp-block-button__link:hover{background:var(--hn-brique-f);border-color:var(--hn-brique-f)}
body .entry-content .ha-b-ligne .wp-block-button__link{background:transparent;color:var(--hn-papier)}
body .entry-content .ha-b-ligne .wp-block-button__link:hover{background:var(--hn-papier);color:var(--hn-noir)}
body .entry-content .ha-b-encre .wp-block-button__link{background:transparent;color:var(--hn-encre)}
body .entry-content .ha-b-encre .wp-block-button__link::after{content:" \2192";margin-left:6px}
body .entry-content .ha-b-encre .wp-block-button__link:hover{background:var(--hn-encre);color:var(--hn-papier)}

/* Hero */
body .entry-content .ha-hero{position:relative;overflow:hidden;background:var(--hn-noir);color:var(--hn-papier);min-height:calc(100svh - 80px);display:flex;align-items:flex-end;margin:0;padding:0}
body .entry-content .ha-hero .ha-hero__img{position:absolute;inset:0;margin:0;z-index:0}
body .entry-content .ha-hero .ha-hero__img img{width:100%;height:100%;object-fit:cover;object-position:center 40%;filter:saturate(.85) contrast(1.05)}
body .entry-content .ha-hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(20,18,16,.92) 0%,rgba(20,18,16,.72) 42%,rgba(20,18,16,.15) 78%),linear-gradient(0deg,rgba(20,18,16,.85) 0%,transparent 38%)}
body .entry-content .ha-hero__in{position:relative;z-index:3;padding:110px 0 52px;width:min(1240px,100% - 48px);margin:0 auto}
body .entry-content .ha-hero__script{font-family:var(--hn-script);font-size:var(--hn-fs-64);line-height:1;color:var(--hn-brique-texte);margin:0 0 4px 4px;position:relative;top:-18px;transform:rotate(-4deg);transform-origin:left}
body .entry-content h1.ha-hero__titre{font-family:var(--hn-display);font-size:var(--hn-fs-112);font-weight:800;line-height:.86;text-transform:uppercase;color:var(--hn-papier);margin:0;max-width:14ch}
body .entry-content h1.ha-hero__titre em{font-style:normal;color:var(--hn-brique-cc)}
body .entry-content .ha-hero__bas{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;margin-top:34px;padding-top:24px;border-top:1px solid var(--hn-ligne-c)}
body .entry-content .ha-hero__bas p{color:var(--hn-gris-c);font-size:var(--hn-fs-18);line-height:1.6;max-width:520px;margin:0}
body .entry-content .ha-hero__bas p strong{color:var(--hn-papier);font-weight:500}

/* Manifeste */
body .entry-content .ha-manif{padding:130px 0 110px;margin:0}
body .entry-content .ha-manif .ha-wrap{display:grid;grid-template-columns:200px 1fr;gap:60px}
body .entry-content .ha-vlabel{writing-mode:vertical-rl;transform:rotate(180deg);font-family:var(--hn-texte-f);font-size:var(--hn-fs-12);font-weight:600;letter-spacing:.3em;text-transform:uppercase;color:var(--hn-gris-texte);display:flex;align-items:center;gap:16px;margin:0;align-self:start}
body .entry-content .ha-vlabel::before{content:"";width:1px;height:80px;background:currentColor}
body .entry-content .ha-manif__txt{font-family:var(--hn-texte-f);font-size:var(--hn-fs-40);font-weight:500;line-height:1.22;letter-spacing:-.015em;color:var(--hn-encre);max-width:24ch;margin:0}
body .entry-content .ha-manif__txt .ha-s{font-size:1.35em;line-height:0;padding:0 .06em}
body .entry-content .ha-faits{display:flex;flex-wrap:wrap;margin-top:56px;border-top:1px solid var(--hn-ligne)}
body .entry-content .ha-faits p{padding:18px 32px 0 0;margin:0 32px 0 0;border-right:1px solid var(--hn-ligne);font-size:var(--hn-fs-15);color:var(--hn-gris-texte)}
body .entry-content .ha-faits p:last-child{border-right:0}
body .entry-content .ha-faits strong{display:block;font-family:var(--hn-display);font-size:var(--hn-fs-28);font-weight:700;line-height:1.1;color:var(--hn-encre);text-transform:uppercase}

/* Offres (planche-contact) */
body .entry-content .ha-offres{padding:0 0 130px;margin:0}
body .entry-content .ha-offre{display:grid;grid-template-columns:repeat(12,1fr);align-items:center;position:relative;margin:0 0 120px}
body .entry-content .ha-offre:last-child{margin-bottom:0}
body .entry-content .ha-offre::before{content:"";position:absolute;top:12%;bottom:-10%;background:var(--hn-papier-2);z-index:0}
body .entry-content .ha-o1::before{left:30%;right:-24px}
body .entry-content .ha-o2::before{left:-24px;right:30%}
body .entry-content .ha-offre__photo{grid-row:1;position:relative;z-index:1;margin:0}
body .entry-content .ha-offre__photo img{width:100%;aspect-ratio:4/3.1;object-fit:cover}
body .entry-content .ha-offre__photo figcaption{display:flex;justify-content:space-between;font-family:var(--hn-texte-f);font-size:var(--hn-fs-12);font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--hn-gris-texte);margin:12px 0 0;text-align:left}
body .entry-content .ha-offre__txt{grid-row:1;position:relative;z-index:1}
body .entry-content .ha-o1 .ha-offre__photo{grid-column:1 / span 7}
body .entry-content .ha-o1 .ha-offre__txt{grid-column:8 / span 5;padding-left:56px}
body .entry-content .ha-o2 .ha-offre__photo{grid-column:6 / span 7}
body .entry-content .ha-o2 .ha-offre__txt{grid-column:1 / span 5;padding-right:40px}
body .entry-content .ha-badge{display:inline-block;font-family:var(--hn-texte-f);font-size:var(--hn-fs-12);font-weight:600;letter-spacing:.2em;text-transform:uppercase;background:var(--hn-encre);color:var(--hn-papier);padding:8px 12px;margin:0 0 18px}
body .entry-content .ha-num{font-family:var(--hn-display);font-size:var(--hn-fs-15);font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--hn-brique);display:flex;align-items:center;gap:14px;margin:0 0 22px}
body .entry-content .ha-num::after{content:"";width:48px;height:1px;background:currentColor}
body .entry-content h2.ha-offre__titre{font-family:var(--hn-display);font-size:var(--hn-fs-78);font-weight:800;line-height:.9;text-transform:uppercase;color:var(--hn-encre);margin:0 0 22px}
body .entry-content h2.ha-offre__titre .ha-s{display:block;font-size:.62em;line-height:1;margin-top:18px;transform:rotate(-3deg);transform-origin:left}
body .entry-content .ha-offre__txt > p:not(.ha-badge):not(.ha-num){color:var(--hn-texte);font-size:var(--hn-fs-17);line-height:1.65;max-width:46ch;margin:0 0 26px}
body .entry-content .ha-liste{list-style:none;margin:0 0 32px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px 28px;max-width:520px}
body .entry-content .ha-liste li{font-size:var(--hn-fs-17);padding-left:20px;position:relative;margin:0}
body .entry-content .ha-liste a{color:var(--hn-encre);text-decoration:none;border-bottom:1px solid var(--hn-ligne);transition:color .2s ease,border-color .2s ease}
body .entry-content .ha-liste a:hover{color:var(--hn-brique);border-color:var(--hn-brique)}
body .entry-content .ha-final p.ha-coord a{display:inline-block}
body .entry-content .ha-liste li::before{content:"";position:absolute;left:0;top:.75em;width:9px;height:1.5px;background:var(--hn-brique)}

/* Esprit du lieu */
body .entry-content .ha-esprit{background:var(--hn-noir);color:var(--hn-papier);padding:130px 0;margin:0}
body .entry-content .ha-esprit .ha-wrap{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px;align-items:start;position:relative;z-index:3}
body .entry-content .ha-esprit__titre{grid-column:1 / -1;display:flex;justify-content:space-between;align-items:flex-end;gap:40px;flex-wrap:wrap;margin:0 0 70px}
body .entry-content h2.ha-esprit__h{font-family:var(--hn-display);font-size:var(--hn-fs-112);font-weight:800;line-height:.86;text-transform:uppercase;color:var(--hn-papier);max-width:10ch;margin:0}
body .entry-content h2.ha-esprit__h .ha-s{font-size:.7em;line-height:0;color:var(--hn-brique-cc)}
body .entry-content .ha-esprit__titre p{max-width:40ch;color:var(--hn-gris-c);margin:0}
body .entry-content .ha-ph-a{grid-column:1 / span 5;margin:0}
body .entry-content .ha-ph-b{grid-column:6 / span 3;margin:180px 0 0}
body .entry-content .ha-ph-a img{aspect-ratio:4/5;object-fit:cover;width:100%}
body .entry-content .ha-ph-b img{aspect-ratio:3/4.2;object-fit:cover;width:100%}
body .entry-content .ha-esprit figcaption{font-family:var(--hn-texte-f);font-size:var(--hn-fs-12);font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--hn-gris);margin-top:12px;text-align:left}
body .entry-content .ha-esprit__txt{grid-column:9 / span 4;padding-top:20px}
body .entry-content .ha-esprit__txt p{color:var(--hn-gris-c);font-size:var(--hn-fs-17);line-height:1.7;margin:0 0 20px}
body .entry-content .ha-esprit__txt p strong{color:var(--hn-papier);font-weight:500}
body .entry-content .ha-citation{margin-top:44px;padding-top:30px;border-top:1px solid var(--hn-ligne-c)}
body .entry-content .ha-citation .ha-citation__q{font-size:var(--hn-fs-22);font-weight:500;line-height:1.4;color:var(--hn-papier)}
body .entry-content .ha-citation .ha-citation__q::before{content:"\201C";display:block;font:800 var(--hn-fs-78)/.6 var(--hn-display);color:var(--hn-brique-cc);margin-bottom:6px}
body .entry-content .ha-citation .ha-citation__a{font-size:var(--hn-fs-12);font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--hn-gris)}
body .entry-content .ha-citation .ha-citation__a a{color:var(--hn-gris-c);text-decoration:none;border-bottom:1px solid var(--hn-brique)}
body .entry-content .ha-matieres{grid-column:1 / -1;margin-top:90px;display:grid;grid-template-columns:repeat(6,1fr);border-top:1px solid var(--hn-ligne-c)}
body .entry-content .ha-matieres p{padding:22px 18px 0 0;margin:0;font-family:var(--hn-display);font-size:var(--hn-fs-22);font-weight:700;line-height:1.1;text-transform:uppercase;color:var(--hn-gris-c)}
body .entry-content .ha-matieres p span{display:block;font-family:var(--hn-texte-f);font-size:var(--hn-fs-12);font-weight:600;letter-spacing:.18em;color:var(--hn-brique-cc);margin-bottom:10px}

/* Venir */
body .entry-content .ha-venir{padding:120px 0;margin:0}
body .entry-content .ha-venir .ha-wrap{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:start}
body .entry-content h2.ha-venir__h{font-family:var(--hn-display);font-size:var(--hn-fs-78);font-weight:800;line-height:.9;text-transform:uppercase;color:var(--hn-encre);margin:0 0 28px}
body .entry-content h2.ha-venir__h em{font-style:normal;color:var(--hn-brique)}
body .entry-content .ha-venir p{color:var(--hn-texte);max-width:44ch;margin:0 0 16px}
body .entry-content .ha-venir p.ha-adresse{font-size:var(--hn-fs-17);color:var(--hn-gris-texte)}
body .entry-content .ha-trajets{list-style:none;margin:0;padding:0;border-top:2px solid var(--hn-encre)}
body .entry-content .ha-trajets li{display:flex;justify-content:space-between;align-items:baseline;padding:16px 0;margin:0;border-bottom:1px solid var(--hn-ligne);font-family:var(--hn-display);font-size:var(--hn-fs-24);font-weight:700;line-height:1;text-transform:uppercase;color:var(--hn-encre)}
body .entry-content .ha-trajets li span{font-family:var(--hn-texte-f);font-size:var(--hn-fs-14);font-weight:600;letter-spacing:.08em;color:var(--hn-gris-texte)}
body .entry-content .ha-trajets li:first-child,body .entry-content .ha-trajets li:first-child span{color:var(--hn-brique)}

/* Références */
body .entry-content .ha-refs{border-top:1px solid var(--hn-ligne);border-bottom:1px solid var(--hn-ligne);padding:56px 0 52px;margin:0;overflow:hidden}
body .entry-content .ha-refs__t{text-align:center;font-family:var(--hn-texte-f);font-size:var(--hn-fs-12);font-weight:600;letter-spacing:.24em;text-transform:uppercase;color:var(--hn-gris-texte);margin:0 0 30px}
/* Logos recadrés au plus près du dessin et mis à la même taille visuelle ; --k réduit le tout sur téléphone ; défilé à 70 s pour garder la même vitesse */
body .entry-content .ha-defile{--k:1;display:flex;flex-wrap:nowrap;align-items:center;width:max-content;gap:104px;animation:ha-defile 70s linear infinite}
body .entry-content .ha-defile:hover{animation-play-state:paused}
body .entry-content .ha-defile figure{margin:0;flex:none}
body .entry-content .ha-defile img{height:calc(80px*var(--k));width:auto;max-width:none;filter:grayscale(1) contrast(1.1);mix-blend-mode:multiply;opacity:.92}
body .entry-content .ha-defile img[src*="logo-capso.png"],
body .entry-content .ha-defile img[src*="logo-la-banque-postale.png"],
body .entry-content .ha-defile img[src*="logo-nord-cereales.png"],
body .entry-content .ha-defile img[src*="logo-office-tourisme-pays-de-saint-omer.png"],
body .entry-content .ha-defile img[src*="logo-ville-d-arques.png"]{height:calc(96px*var(--k))}
body .entry-content .ha-defile img[src*="logo-mini.png"],
body .entry-content .ha-defile img[src*="logo-odc.png"]{height:calc(92px*var(--k))}
body .entry-content .ha-defile img[src*="logo-carsat.png"]{height:calc(77px*var(--k))}
body .entry-content .ha-defile img[src*="logo-limagrain.png"]{height:calc(76px*var(--k))}
body .entry-content .ha-defile img[src*="logo-hauts-de-france-tourisme.png"]{height:calc(79px*var(--k))}
@media (max-width:600px){
  body .entry-content .ha-refs{padding:44px 0 40px}
  body .entry-content .ha-defile{--k:.78;gap:72px;animation-duration:55s}
}
@keyframes ha-defile{to{transform:translateX(calc(-50% - 52px))}}
@media (max-width:600px){@keyframes ha-defile{to{transform:translateX(calc(-50% - 36px))}}}

/* Appel final */
body .entry-content .ha-final{position:relative;overflow:hidden;background:var(--hn-noir);color:var(--hn-papier);margin:0;padding:0}
body .entry-content .ha-final .ha-final__img{position:absolute;inset:0;margin:0;z-index:0}
body .entry-content .ha-final .ha-final__img img{width:100%;height:100%;object-fit:cover;filter:saturate(.8)}
body .entry-content .ha-final::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(20,18,16,.78),rgba(20,18,16,.93))}
body .entry-content .ha-final__in{position:relative;z-index:3;text-align:center;padding:140px 0 120px;width:min(1240px,100% - 48px);margin:0 auto}
body .entry-content .ha-final__script{font-family:var(--hn-script);font-size:var(--hn-fs-56);line-height:1;color:var(--hn-brique-cc);transform:rotate(-3deg);margin:0}
body .entry-content h2.ha-final__h{font-family:var(--hn-display);font-size:var(--hn-fs-112);font-weight:800;line-height:.86;text-transform:uppercase;color:var(--hn-papier);max-width:12ch;margin:6px auto 30px}
body .entry-content .ha-final__in > p:not(.ha-final__script){max-width:52ch;margin:0 auto 40px;color:var(--hn-gris-c);font-size:var(--hn-fs-18)}
body .entry-content .ha-final .ha-btns{justify-content:center}
body .entry-content .ha-final p.ha-avis{margin:24px auto 0;font-size:var(--hn-fs-14);color:var(--hn-gris-c)}
body .entry-content .ha-final p.ha-avis strong{color:var(--hn-brique-cc);letter-spacing:.15em;font-weight:600}
body .entry-content .ha-final p.ha-coord{margin:48px auto 0;font-size:var(--hn-fs-17);color:var(--hn-gris-c)}
body .entry-content .ha-final p.ha-coord a{color:var(--hn-gris-c);text-decoration:none;border-bottom:1px solid var(--hn-ligne-c);margin:0 16px}
body .entry-content .ha-final p.ha-coord a:hover{color:var(--hn-papier)}

/* Responsive accueil */
@media (min-width:1001px) and (max-height:860px){
  body .entry-content h1.ha-hero__titre{font-size:var(--hn-fs-88)}
  body .entry-content .ha-hero__script{font-size:var(--hn-fs-48)}
  body .entry-content .ha-hero__in{padding:70px 0 40px}
  body .entry-content .ha-hero__bas{margin-top:24px}
}
@media (max-width:1180px){
  body .entry-content h1.ha-hero__titre{font-size:var(--hn-fs-88)}
  body .entry-content h2.ha-offre__titre{font-size:var(--hn-fs-64)}
  body .entry-content h2.ha-esprit__h{font-size:var(--hn-fs-88)}
  body .entry-content h2.ha-final__h{font-size:var(--hn-fs-88)}
}
@media (max-width:1000px){
  body .entry-content .ha-manif .ha-wrap{grid-template-columns:1fr;gap:30px}
  body .entry-content .ha-vlabel{writing-mode:horizontal-tb;transform:none}
  body .entry-content .ha-vlabel::before{width:50px;height:1px}
  body .entry-content .ha-manif__txt{font-size:var(--hn-fs-32)}
  body .entry-content .ha-offre{display:block;margin-bottom:90px}
  body .entry-content .ha-offre::before{display:none}
  body .entry-content .ha-o1 .ha-offre__txt,body .entry-content .ha-o2 .ha-offre__txt{padding:34px 0 0}
  body .entry-content .ha-esprit .ha-wrap{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  body .entry-content .ha-ph-a{grid-column:1}
  body .entry-content .ha-ph-b{grid-column:2;margin-top:90px}
  body .entry-content .ha-esprit__txt{grid-column:1 / -1}
  body .entry-content .ha-matieres{grid-template-columns:repeat(3,1fr);row-gap:24px}
  body .entry-content .ha-venir .ha-wrap{grid-template-columns:1fr;gap:50px}
  body .entry-content h1.ha-hero__titre{font-size:var(--hn-fs-78)}
  body .entry-content h2.ha-esprit__h{font-size:var(--hn-fs-72)}
  body .entry-content h2.ha-venir__h{font-size:var(--hn-fs-64)}
  body .entry-content h2.ha-final__h{font-size:var(--hn-fs-78)}
}
@media (max-width:640px){
  body .entry-content .ha-wrap,body .entry-content .ha-hero__in,body .entry-content .ha-final__in{width:calc(100% - 32px)}
  body .entry-content .ha-hero__in{padding:90px 0 36px}
  body .entry-content .ha-hero__script{font-size:var(--hn-fs-48)}
  body .entry-content h1.ha-hero__titre{font-size:var(--hn-fs-56)}
  body .entry-content .ha-hero__bas{flex-direction:column;align-items:stretch;gap:24px}
  body .entry-content .ha-hero__bas p{font-size:var(--hn-fs-17)}
  body .entry-content .ha-btns .wp-block-button{flex:1 1 100%}
  body .entry-content .ha-btns .wp-block-button__link{display:block;text-align:center;width:100%}
  body .entry-content .ha-manif{padding:80px 0 70px}
  body .entry-content .ha-manif__txt{font-size:var(--hn-fs-28)}
  body .entry-content .ha-faits p{flex:1 1 45%;margin-right:0;border-right:0;padding-right:10px}
  body .entry-content h2.ha-offre__titre{font-size:var(--hn-fs-48)}
  body .entry-content .ha-liste{grid-template-columns:1fr}
  body .entry-content .ha-offres{padding-bottom:80px}
  body .entry-content .ha-esprit{padding:80px 0}
  body .entry-content h2.ha-esprit__h{font-size:var(--hn-fs-56)}
  body .entry-content .ha-esprit__titre{margin-bottom:44px}
  body .entry-content .ha-matieres{grid-template-columns:repeat(2,1fr)}
  body .entry-content .ha-venir{padding:80px 0}
  body .entry-content h2.ha-venir__h{font-size:var(--hn-fs-48)}
  body .entry-content .ha-trajets li{font-size:var(--hn-fs-22)}
  body .entry-content .ha-final__in{padding:100px 0 80px}
  body .entry-content .ha-final__script{font-size:var(--hn-fs-40)}
  body .entry-content h2.ha-final__h{font-size:var(--hn-fs-56)}
  body .entry-content .ha-final p.ha-coord a{display:block;margin:10px 0;border:0}
}
@media (prefers-reduced-motion:reduce){
  body .entry-content .ha-defile{animation:none}
  body .entry-content .hg-btn .wp-block-button__link,body .entry-content .ha-btns .wp-block-button__link{transition:none}
}

/* ---------- Audit design 14/11/2026 ---------- */
/* Titres équilibrés, paragraphes sans mot isolé en dernière ligne */
body .entry-content h1,body .entry-content h2,body .entry-content h3,body .entry-content h4,body .entry-title{text-wrap:balance}
body .entry-content p,body .entry-content li{text-wrap:pretty}
/* Noms de lieux composés (span ajouté par l'extension) : jamais coupés au trait d'union.
   Dans les grands titres, le nom passe entier à la ligne, et ne se coupe que s'il est plus large que l'écran. */
/* display:contents : dans un conteneur flex (sur-titres .hg-eyebrow, listes), le span ne devient pas un bloc à part qui ferait déborder la ligne */
.hn-nw{display:inline-block;max-width:100%;white-space:normal} /* le nom passe entier à la ligne ; il ne se coupe que s'il est plus large que son conteneur (texte agrandi, petit écran) */
a .hn-nw,.hg-eyebrow .hn-nw,.hg-post-eyebrow .hn-nw,.ha-trajets li .hn-nw{display:contents;white-space:nowrap} /* liens (garder le soulignement) et conteneurs flex */
body .entry-content .ha-trajets li span.hn-nw{font:inherit !important;letter-spacing:inherit !important;text-transform:inherit !important;color:inherit !important} /* distances : le nom de ville garde le style de la ligne, pas celui de la durée (li span) */
/* Hero de l'accueil en tablette : texte puis boutons, libellés sur une seule ligne */
@media (min-width:641px){
  body .entry-content .ha-btns .wp-block-button__link{white-space:nowrap}
}
@media (min-width:641px) and (max-width:1000px){
  body .entry-content .ha-hero__bas{flex-direction:column;align-items:flex-start;gap:28px}
}
/* En-tête : bascule en en-tête mobile sous 1200 px (filtre astra_header_break_point dans l'extension).
   Astra ne masque l'en-tête de bureau qu'à 921 px : on le masque ici jusqu'à 1200 px. */
@media (max-width:1200px){
  #ast-desktop-header{display:none}
}
.ast-header-break-point #ast-desktop-header{display:none}
/* Menu mobile déroulant d'Astra : fond sombre comme l'en-tête (avant : texte clair sur fond clair, illisible) */
body #ast-mobile-header .ast-mobile-header-content,
body #ast-mobile-header .ast-mobile-header-content .main-header-menu,
body #ast-mobile-header .ast-mobile-header-content .sub-menu{background:var(--hn-noir) !important;border:0 !important}
body #ast-mobile-header .ast-mobile-header-content{border-top:1px solid var(--hn-ligne-c) !important}
body #ast-mobile-header .ast-mobile-header-content .menu-item > .menu-link{background:transparent !important;color:var(--hn-papier) !important;font-family:var(--hn-display) !important;font-size:var(--hn-fs-22) !important;font-weight:700 !important;letter-spacing:.02em;text-transform:uppercase;line-height:26px !important;padding:15px 16px !important;border-bottom:1px solid var(--hn-ligne-c) !important}
body #ast-mobile-header .ast-mobile-header-content .sub-menu .menu-item > .menu-link{font-family:var(--hn-texte-f) !important;font-size:var(--hn-fs-17) !important;font-weight:500 !important;letter-spacing:0;text-transform:none;color:var(--hn-gris-c) !important;line-height:24px !important;padding:12px 16px 12px 32px !important}
body #ast-mobile-header .ast-mobile-header-content .menu-item > .menu-link:hover,
body #ast-mobile-header .ast-mobile-header-content .current-menu-item > .menu-link,
body #ast-mobile-header .ast-mobile-header-content .current-menu-ancestor > .menu-link{color:var(--hn-brique-cc) !important}
body #ast-mobile-header .ast-mobile-header-content .ast-menu-toggle{background:transparent !important;color:var(--hn-papier) !important;border-color:var(--hn-ligne-c) !important}
body #ast-mobile-header .ast-mobile-header-content .ast-menu-toggle svg{fill:var(--hn-papier) !important}
body #ast-mobile-header .ast-mobile-header-content .main-header-menu > .menu-item > .ast-menu-toggle{top:4px !important}
/* Bouton devis dans l'en-tête mobile : « Devis » (bouton 2) sous 460 px, « Demander un devis » (bouton 1) au-dessus */
body #ast-mobile-header .site-header-primary-section-right{gap:8px}
body #ast-mobile-header .ast-header-button-1 .ast-custom-button,
body #ast-mobile-header .ast-header-button-2 .ast-custom-button{font-family:var(--hn-texte-f);font-size:var(--hn-fs-12);font-weight:600;line-height:16px;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;padding:12px 14px !important;border-radius:0;background:var(--hn-brique);border:1px solid var(--hn-brique);color:var(--hn-papier)}
body #ast-mobile-header .ast-header-button-1 .ast-custom-button:hover,
body #ast-mobile-header .ast-header-button-2 .ast-custom-button:hover{background:var(--hn-brique-f) !important;border-color:var(--hn-brique-f) !important}
body #ast-mobile-header .ast-header-button-2{display:none}
@media (max-width:459px){
  body #ast-mobile-header .ast-header-button-1{display:none}
  body #ast-mobile-header .ast-header-button-2{display:flex}
}
/* En-tête mobile très étroit (moins de 360 px) : logo, bouton et marges resserrés pour que tout tienne */
@media (max-width:359px){
  body #ast-mobile-header .site-primary-header-wrap{padding-left:16px;padding-right:16px}
  body #ast-mobile-header .custom-logo{max-width:108px;height:auto}
  body #ast-mobile-header .site-header-primary-section-right{gap:4px}
  body #ast-mobile-header .ast-header-button-2 .ast-custom-button{padding:12px 10px}
}
/* Accueil : avis Google sous les boutons du hero (preuve visible dès le premier écran) */
body .entry-content .ha-hero__bas p.ha-avis{margin:14px 0 0;font-size:var(--hn-fs-17);line-height:1.5;max-width:none;color:var(--hn-papier);text-shadow:0 1px 3px rgba(20,18,16,.6)}
body .entry-content .ha-hero__bas p.ha-avis strong{color:var(--hn-brique-cc);font-weight:600;font-size:1.25em;letter-spacing:.12em;margin-right:8px;vertical-align:-1px}
@media (max-width:640px){
  body .entry-content .ha-hero__bas p.ha-avis{text-align:center}
}
@media (max-width:700px){
  body .entry-content .ha-hero__bas p.ha-avis{font-size:var(--hn-fs-14);line-height:1.5}
  body .entry-content .ha-hero__bas p.ha-avis strong{font-size:1.15em;margin-right:6px}
}
/* Hiérarchie de l'accueil : les H2 « Une ferme devenue atelier » et « Visitez le Hangar » restent sous le H1 du hero */
body .entry-content h2.ha-esprit__h,body .entry-content h2.ha-final__h{font-size:var(--hn-fs-78)}
@media (max-width:1180px){
  body .entry-content h2.ha-esprit__h,body .entry-content h2.ha-final__h{font-size:var(--hn-fs-72)}
}
@media (max-width:1000px){
  body .entry-content h2.ha-esprit__h,body .entry-content h2.ha-final__h{font-size:var(--hn-fs-64)}
}
@media (max-width:640px){
  body .entry-content h2.ha-esprit__h,body .entry-content h2.ha-final__h{font-size:var(--hn-fs-48)}
}
/* CGV : articles en accordéon (blocs Détails de classe hg-article ; hg-faq reste réservé aux FAQ, reprises en FAQPage) */
body .entry-content details.hg-article{width:100%;margin:0 !important;padding:0 !important;border-top:1px solid var(--hn-ligne)}
body .entry-content details.hg-article:last-of-type{border-bottom:1px solid var(--hn-ligne)}
body .entry-content details.hg-article:not(:has(+ details.hg-article)){border-bottom:1px solid var(--hn-ligne)}
/* CGL : titres des deux parties (salles, studio) au-dessus de leurs accordéons */
body .entry-content h2.hg-legal-h2.hg-legal-part{font-size:var(--hn-fs-40) !important;margin:72px 0 20px !important}
body .entry-content p.hg-text+h2.hg-legal-h2.hg-legal-part{margin-top:48px !important}
body .entry-content p.hg-text.hg-legal-intro{max-width:52ch;margin:0 0 24px !important}
@media (max-width:640px){
  body .entry-content h2.hg-legal-h2.hg-legal-part{font-size:var(--hn-fs-32) !important;margin:56px 0 16px !important}
}
body .entry-content details.hg-article>summary{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 0;cursor:pointer;list-style:none;font-family:var(--hn-display);font-size:var(--hn-fs-24);font-weight:800;line-height:1.1;text-transform:uppercase;letter-spacing:.01em;color:var(--hn-encre);transition:color .2s ease}
body .entry-content details.hg-article>summary::-webkit-details-marker{display:none}
body .entry-content details.hg-article>summary::after{content:"+";flex:none;width:1em;text-align:center;font-family:var(--hn-texte-f);font-size:var(--hn-fs-28);font-weight:300;line-height:1;color:var(--hn-brique)}
body .entry-content details.hg-article[open]>summary::after{content:"–"}
body .entry-content details.hg-article>summary:hover{color:var(--hn-brique)}
body .entry-content details.hg-article>summary:focus-visible{outline:2px solid var(--hn-brique);outline-offset:4px}
body .entry-content details.hg-article>p.hg-text{max-width:52ch;margin:0 0 16px !important}
body .entry-content details.hg-article>p.hg-text:last-child{margin-bottom:28px !important}
@media (max-width:640px){
  body .entry-content details.hg-article>summary{font-size:var(--hn-fs-20);padding:18px 0;gap:16px}
}
@media print{
  body .entry-content details.hg-article::details-content{content-visibility:visible;display:block}
  body .entry-content details.hg-article>summary::after{content:none}
}
/* Cibles tactiles (audit 14/11/2026) : liens « en savoir plus » et listes d'offres d'au moins 24 px de haut, séparés */
body .entry-content .hg-more a{padding-top:6px}
body .entry-content p.hg-more+p.hg-more{margin-top:12px !important}
body .entry-content .ha-liste a{padding:3px 0}
/* Focus clavier (audit 14/11/2026) : anneau plein de 2 px décalé de 3 px, encre sur fond clair, crème sur fond sombre.
   !important voulu : il doit passer devant les pointillés d'Astra, peu visibles sur le noir et la brique. */
body :focus-visible{outline:2px solid var(--hn-encre) !important;outline-offset:3px !important}
body .site-header :focus-visible,body #ast-mobile-header :focus-visible,body .site-footer :focus-visible,body .entry-content .ha-hero :focus-visible,body .entry-content .ha-esprit :focus-visible,body .entry-content .ha-final :focus-visible,body .entry-content .hg-on-dark :focus-visible,body .entry-content .hg-on-dark:focus-visible,body .entry-content [class*="-fin-cta"] :focus-visible,body .entry-content .hg-article-cta :focus-visible{outline-color:var(--hn-papier) !important}
body .ast-builder-button-wrap:has(.ast-custom-button-link:focus){outline:none !important} /* Astra y ajoute des pointillés sombres en double de l'anneau du bouton */
/* Formulaires : états d'erreur lisibles (audit 14/11/2026). Le rouge par défaut de Fluent Forms (#f56c6c) donnait 2,5:1.
   --hn-erreur est à 26° de teinte de la brique, pour ne pas se confondre avec la couleur de marque. */
body .entry-content .fluentform .ff-el-is-error .error,body .entry-content .fluentform .text-danger{color:var(--hn-erreur) !important;font-size:var(--hn-fs-14) !important;font-weight:500 !important;margin-top:6px}
body .entry-content .fluentform .ff-el-is-error .ff-el-form-control{border-color:var(--hn-erreur) !important;box-shadow:inset 0 0 0 1px var(--hn-erreur)}
body .entry-content .fluentform .ff-el-is-required.asterisk-right label::after,body .entry-content .fluentform .ff-el-is-required.asterisk-left label::before{color:var(--hn-erreur) !important}
body .entry-content .fluentform .ff-el-form-control::placeholder{color:var(--hn-gris-texte) !important;opacity:1}
/* Texte sur photo du hero (audit 14/11/2026). Sous 1000 px le texte occupe toute la largeur : le voile horizontal du bureau
   laissait la droite de la photo claire (titre à 1,6:1, chapô à 1,8:1 sur les pixels les plus clairs). Voile vertical renforcé. */
@media (max-width:1000px){
  body .entry-content .ha-hero::before{background:linear-gradient(90deg,rgba(20,18,16,.7) 0%,rgba(20,18,16,.35) 60%,rgba(20,18,16,0) 100%),linear-gradient(0deg,rgba(20,18,16,.93) 0%,rgba(20,18,16,.86) 72%,rgba(20,18,16,.66) 90%,rgba(20,18,16,.45) 100%)}
}
body .entry-content .ha-hero .ha-b-ligne .wp-block-button__link:not(:hover){background:rgba(20,18,16,.4)}
/* Texte agrandi à 200 % (audit 14/11/2026) */
body #ast-mobile-header .menu-toggle{font-size:24px !important;line-height:1 !important} /* icône : taille fixe, sinon elle double avec le texte et pousse le burger hors de l'écran */
body .entry-content .fluentform .ff-btn-submit{white-space:normal !important} /* texte agrandi : le libellé passe à la ligne au lieu de déborder */
/* En-tête mobile : deux boutons « devis » + le menu débordaient (largeur 529 px sur un écran de 375 px,
   le bouton de menu sortait de l'écran). Le bouton court « Devis » reste sur une ligne ;
   le long « Demander un devis » ne s'affiche que quand il y a la place. */
body .ast-mobile-header-wrap .ast-header-button-2 .ast-custom-button{white-space:nowrap}
@media (max-width:600px){
  body .ast-mobile-header-wrap .ast-header-button-1{display:none !important}
}

/* Contraste (WCAG AA, 4,5:1) : textes gris et brique plus foncés sur les fonds clairs */
:root{--hn-brique-texte:#92411f}
body .entry-content :is(.ha-vlabel,.ha-faits p,.ha-offre__photo figcaption,.ha-venir p.ha-adresse,.ha-trajets li span,.ha-refs__t,.hg-proof,.ha-g,.hg-carte-legende){color:var(--hn-gris-texte) !important}

/* Très petits écrans (page zoomée à 400 %) : l'en-tête ne doit pas déborder */
@media (max-width:400px){
  body .site-header .site-logo-img img{max-width:104px}
  body .ast-mobile-header-wrap .ast-custom-button{padding:12px 14px !important}
}
