/*
Theme Name: Declikart
Author: Declikart (agence)
Description: Thème créé par l'agence Declikart pour Signature, le magazine de l'immobilier, de l'architecture et du design (Dakar, Sénégal). Base sobre noir & blanc, 100 % personnalisable : fonds, couleurs, polices, menu, ordre des blocs, zones de widgets.
Version: 2.1.1
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: declikart
*/

/* ==========================================================================
   Variables
   Toutes ces valeurs sont des RÉGLAGES PAR DÉFAUT : elles sont remplacées par
   ce que vous choisissez dans Apparence > Personnaliser > Signature
   (le thème ajoute automatiquement un bloc :root avec vos choix).
   ========================================================================== */
:root {
  /* Style CLAIR */
  --sig-l-bg: #ffffff;  --sig-l-card: #f4f4f4;  --sig-l-title: #000000;  --sig-l-sub: #555555;
  --sig-l-text: #333333; --sig-l-kicker: #6b6b6b; --sig-l-btn: #000000;   --sig-l-btnfg: #ffffff; --sig-l-line: #e2e2e2;
  /* Style SOMBRE */
  --sig-d-bg: #000000;  --sig-d-card: #141414;  --sig-d-title: #ffffff;  --sig-d-sub: #c4c4c4;
  --sig-d-text: #d9d9d9; --sig-d-kicker: #9a9a9a; --sig-d-btn: #ffffff;   --sig-d-btnfg: #000000; --sig-d-line: #2b2b2b;

  /* Polices */
  --f-body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-title: var(--f-body);
  --f-sub: var(--f-body);
  --f-menu: var(--f-body);
  --f-btn: var(--f-body);
  --f-logo: 'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Tailles, graisses, casse */
  --s-body: 16px;  --lh-body: 1.6;
  --s-h2: 44px;    --s-h3: 22px;   --s-sub: 20px;  --s-kicker: 12px;
  --s-menu: 13px;  --s-btn: 13px;  --s-logo: 38px;
  --w-title: 800;  --w-sub: 600;   --w-menu: 600;  --w-btn: 800;
  --t-title: uppercase; --t-sub: uppercase; --t-menu: uppercase; --t-btn: uppercase;
  --ls-sub: 3px;   --ls-menu: 1.2px;
  --r-btn: 4px;

  /* Dimensions */
  --hdr-h: 84px;   --logo-h: 48px;  --content-w: 820px;  --hero-h: 680px;
  --sig-max: 1200px;
  --sig-radius: 4px;
}

/* Un « style » de section = un jeu de variables. Les sections lisent ces variables. */
.sig-tone-light {
  --bg: var(--sig-l-bg);   --card: var(--sig-l-card); --title: var(--sig-l-title); --sub: var(--sig-l-sub);
  --text: var(--sig-l-text); --kicker: var(--sig-l-kicker); --btn: var(--sig-l-btn); --btnfg: var(--sig-l-btnfg);
  --line: var(--sig-l-line); --field-bg: var(--sig-l-bg); --ok: #1f7a4d; --err: #b3262e;
}
.sig-tone-dark {
  --bg: var(--sig-d-bg);   --card: var(--sig-d-card); --title: var(--sig-d-title); --sub: var(--sig-d-sub);
  --text: var(--sig-d-text); --kicker: var(--sig-d-kicker); --btn: var(--sig-d-btn); --btnfg: var(--sig-d-btnfg);
  --line: var(--sig-d-line); --field-bg: var(--sig-d-bg); --ok: #5fd39a; --err: #ff8f8f;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--s-body);
  line-height: var(--lh-body);
  color: var(--sig-l-text);
  background: var(--sig-l-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; }
.screen-reader-text, .sig-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sig-skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: #fff; color: #000; padding: 10px 14px; clip: auto; width: auto; height: auto; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.sig-wrap { max-width: var(--sig-max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- Boutons : leurs couleurs viennent du style de la section ---------- */
.sig-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px; border: 0; border-radius: var(--r-btn);
  background: var(--btn, #000); color: var(--btnfg, #fff);
  font-family: var(--f-btn); font-size: var(--s-btn); font-weight: var(--w-btn);
  letter-spacing: 1.6px; text-transform: var(--t-btn);
  text-decoration: none; cursor: pointer; transition: opacity .15s, transform .15s;
}
.sig-btn:hover { opacity: .82; }
.sig-btn:active { transform: translateY(1px); }
.sig-btn[disabled] { opacity: .6; cursor: progress; }
.sig-btn svg { width: 18px; height: 18px; }

/* ---------- En-tête ---------- */
.sig-header { position: sticky; top: 0; z-index: 50; background: var(--bg); color: var(--text); border-bottom: 1px solid var(--line); }
.sig-header.is-static { position: relative; }
.admin-bar .sig-header { top: 32px; }
.admin-bar .sig-header.is-static { top: auto; }
@media (max-width: 782px) { .admin-bar .sig-header { top: 0; } }
.sig-header__in { height: var(--hdr-h); display: flex; align-items: center; gap: 24px; max-width: 1320px; }
.sig-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--title); flex: 0 1 auto; min-width: 0; }
.sig-logo img { max-height: var(--logo-h); width: auto; }
.sig-logo__txt { display: flex; flex-direction: column; line-height: 1; }
.sig-logo__name { font-family: var(--f-logo); font-weight: 700; font-size: var(--s-logo); }
.sig-logo__tag { font-family: var(--f-sub); font-size: 9px; font-weight: 700; letter-spacing: 3.2px; color: var(--kicker); margin-top: 5px; text-transform: uppercase; }

/* Position du menu */
.sig-header--menu-right .sig-nav { margin-left: auto; }
.sig-header--menu-center .sig-nav { margin-left: auto; margin-right: auto; }
.sig-header--menu-left .sig-header__actions { margin-left: auto; }

.sig-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; align-items: center; }
.sig-nav li { position: relative; }
.sig-nav a {
  display: inline-block; text-decoration: none; padding: 8px 0;
  font-family: var(--f-menu); font-size: var(--s-menu); font-weight: var(--w-menu);
  letter-spacing: var(--ls-menu); text-transform: var(--t-menu);
  color: var(--menu, var(--text));
}
.sig-nav a:hover, .sig-nav .current-menu-item > a, .sig-nav .current-menu-ancestor > a {
  color: var(--menu-hover, var(--accent, var(--title))); box-shadow: inset 0 -2px 0 currentColor;
}
/* Sous-menus (Apparence > Menus : glissez un lien légèrement vers la droite) */
.sig-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.sig-nav .sub-menu {
  display: none; position: absolute; top: 100%; left: -16px; min-width: 230px; z-index: 5;
  flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0;
  background: var(--bg); border: 1px solid var(--line); box-shadow: 0 14px 30px rgba(0, 0, 0, .14);
}
.sig-nav li:hover > .sub-menu, .sig-nav li:focus-within > .sub-menu { display: flex; }
.sig-nav .sub-menu a { display: block; padding: 11px 18px; box-shadow: none !important; white-space: nowrap; }
.sig-nav .sub-menu a:hover { background: var(--card); }

.sig-header__actions { display: flex; align-items: center; gap: 12px; }
.sig-burger { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: transparent; border: 0; color: var(--title); cursor: pointer; }
.sig-burger svg { width: 30px; height: 22px; }
.sig-mobile { display: none; background: var(--bg); border-top: 1px solid var(--line); }
.sig-mobile[data-open="true"] { display: block; }
.sig-mobile ul { list-style: none; margin: 0; padding: 8px 24px 20px; }
.sig-mobile ul ul { padding: 0 0 0 18px; }
.sig-mobile li a {
  display: block; padding: 14px 0; text-decoration: none; border-bottom: 1px solid var(--line);
  font-family: var(--f-menu); font-weight: var(--w-menu); letter-spacing: var(--ls-menu); text-transform: var(--t-menu);
  color: var(--menu, var(--text));
}
.sig-mobile .sig-btn { margin: 0 24px 24px; display: flex; }
@media (max-width: 960px) {
  .sig-nav, .sig-header__cta { display: none; }
  .sig-burger { display: inline-flex; }
  .sig-header--menu-center .sig-header__actions, .sig-header--menu-right .sig-header__actions { margin-left: auto; }
}
@media (max-width: 480px) {
  .sig-logo__name { font-size: calc(var(--s-logo) * .8); }
  .sig-logo__tag { font-size: 8px; letter-spacing: 1.6px; }
  .sig-header__in { height: calc(var(--hdr-h) * .86); gap: 8px; padding-left: 16px; padding-right: 8px; }
}

/* ---------- Slider ---------- */
.sig-hero { position: relative; height: min(var(--hero-h), 86vh); min-height: 420px; overflow: hidden; background: var(--bg); color: var(--text); }
.sig-hero__track { height: 100%; position: relative; }
.sig-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.sig-slide.is-active { opacity: 1; visibility: visible; }
.sig-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sig-slide__ph { position: absolute; inset: 0; background: var(--ph, #222); }
.sig-slide__ph::after { content: attr(data-label); position: absolute; top: 24px; right: 32px; font-size: 11px; letter-spacing: 2px; color: #9a9a9a; border: 1px dashed #666; padding: 6px 10px; }
.sig-slide__veil { position: absolute; inset: 0; background: var(--bg); opacity: var(--veil, .45); }
.sig-slide__body { position: relative; height: 100%; max-width: 1100px; margin: 0 auto; padding: 0 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; }
.sig-slide__kicker { font-family: var(--f-sub); font-size: var(--s-kicker); font-weight: 700; letter-spacing: 3px; color: var(--sub); text-transform: uppercase; }
.sig-slide__title { margin: 0; font-family: var(--f-title); font-size: clamp(calc(var(--s-h2) * .7), 5.4vw, calc(var(--s-h2) * 1.45)); line-height: 1.05; font-weight: var(--w-title); text-transform: var(--t-title); color: var(--title); letter-spacing: 1px; }
.sig-slide__sub { margin: 0; font-family: var(--f-sub); font-size: clamp(17px, 2vw, calc(var(--s-sub) * 1.1)); font-weight: 500; color: var(--sub); }
.sig-slide__body .sig-btn { margin-top: 14px; min-height: 50px; padding: 0 34px; }
.sig-hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(128, 128, 128, .35); color: var(--title); display: flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(4px); }
.sig-hero__arrow:hover { background: rgba(128, 128, 128, .55); }
.sig-hero__arrow svg { width: 22px; height: 22px; }
.sig-hero__arrow--prev { left: 24px; }
.sig-hero__arrow--next { right: 24px; }
.sig-hero__dots { position: absolute; bottom: 28px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.sig-hero__dot { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 6px; background: var(--title); opacity: .4; cursor: pointer; transition: width .3s, opacity .3s; }
.sig-hero__dot[aria-current="true"] { width: 34px; opacity: 1; }
@media (max-width: 700px) {
  .sig-slide__body { padding: 0 24px 40px; }
  .sig-hero__arrow { width: 44px; height: 44px; top: auto; bottom: 16px; transform: none; }
  .sig-hero__dots { bottom: 32px; }
}

/* ---------- Sections communes ---------- */
.sig-section {
  position: relative; isolation: isolate;
  padding: var(--pad, 96px) 0;
  background-color: var(--bg); color: var(--text);
}
.sig-section.has-bgimg { background-size: cover; background-position: center; background-repeat: no-repeat; }
.sig-section.has-bgimg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg); opacity: var(--veil, .5); }
.sig-kicker { font-family: var(--f-sub); font-size: var(--s-kicker); font-weight: 700; letter-spacing: 3px; color: var(--kicker); text-transform: uppercase; }
.sig-h2 {
  margin: 0; font-family: var(--f-title); color: var(--title);
  font-size: clamp(calc(var(--s-h2) * .66), 5vw, var(--s-h2));
  font-weight: var(--w-title); line-height: 1.08; text-transform: var(--t-title);
}
.sig-head { text-align: center; margin-bottom: 48px; }
.sig-head__sub { margin: 8px 0 0; font-family: var(--f-sub); font-size: var(--s-sub); font-weight: var(--w-sub); letter-spacing: var(--ls-sub); color: var(--sub); text-transform: var(--t-sub); }
.sig-text { margin: 0; line-height: 1.6; color: var(--text); }
@media (max-width: 700px) { .sig-section { padding: calc(var(--pad, 96px) * .66) 0; } }

/* ---------- Dernier mag + guide ---------- */
.sig-mag { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center; }
.sig-mag__issue { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.sig-mag__cover { width: 250px; aspect-ratio: 25 / 33; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); background: var(--card); overflow: hidden; }
.sig-mag__cover img { width: 100%; height: 100%; object-fit: cover; }
.sig-mag__info { display: flex; flex-direction: column; gap: 16px; flex: 1 1 200px; }
.sig-mag__info .sig-h2 { font-size: clamp(calc(var(--s-h2) * .6), 4vw, calc(var(--s-h2) * .9)); }
.sig-mag__info .sig-btn, .sig-guide .sig-btn { align-self: flex-start; }
.sig-guide { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.sig-guide .sig-h2 { font-size: clamp(calc(var(--s-h2) * .55), 3.4vw, calc(var(--s-h2) * .78)); }

/* Couverture de remplacement (quand aucune image n'est définie) */
.sig-cover-ph { width: 100%; height: 100%; background: var(--ph, #1a1a1a); padding: 16px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; }
.sig-cover-ph b { font-family: var(--f-logo); font-size: 30px; line-height: 1; }
.sig-cover-ph small { font-size: 10px; letter-spacing: 1.6px; opacity: .8; text-transform: uppercase; }

/* ---------- Formulaires ---------- */
.sig-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.sig-card { background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; }
.sig-card h3 { margin: 0; font-family: var(--f-title); font-size: var(--s-h3); font-weight: var(--w-title); text-transform: var(--t-title); color: var(--title); }
.sig-card > svg { width: 34px; height: 34px; color: var(--title); }
.sig-form { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sig-field { display: flex; flex-direction: column; gap: 6px; }
.sig-field label { font-size: 13px; font-weight: 600; color: var(--title); }
.sig-field input {
  height: 48px; padding: 0 14px; width: 100%;
  border: 1px solid var(--line); border: 1px solid color-mix(in srgb, var(--text) 38%, transparent);
  border-radius: var(--sig-radius); font-size: 15px; color: var(--title); background: var(--field-bg, var(--bg));
}
.sig-field input::placeholder { color: var(--sub); opacity: .7; }
.sig-field input:focus { outline: none; border-color: var(--title); box-shadow: 0 0 0 3px color-mix(in srgb, var(--title) 18%, transparent); }
.sig-field input[aria-invalid="true"] { border-color: var(--err); }
.sig-field__err { margin: 0; font-size: 12.5px; color: var(--err); }
.sig-field__err:empty { display: none; }
.sig-card .sig-form > .sig-btn { margin-top: auto; }
.sig-card .sig-form > .sig-field:first-of-type { margin-top: 6px; }
.sig-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sig-msg { margin: 4px 0 0; font-size: 14px; line-height: 1.45; }
.sig-msg:empty { display: none; }
.sig-msg[data-type="ok"] { color: var(--ok); }
.sig-msg[data-type="err"] { color: var(--err); }
.sig-msg .sig-btn { margin-top: 10px; min-height: 44px; }
.sig-legal { font-size: 12px; line-height: 1.45; color: var(--sub); margin: 0; }
.sig-legal a { color: inherit; }

/* Formulaire en ligne (bons plans / newsletter) */
.sig-inline { display: flex; flex-wrap: wrap; gap: 12px; }
.sig-inline input { flex: 1 1 240px; height: 52px; }
.sig-inline .sig-btn { min-height: 52px; }

/* ---------- Derniers numéros (carrousel) ---------- */
.sig-issues { position: relative; }
.sig-issues__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 28px) / 5); gap: 28px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.sig-issues__track::-webkit-scrollbar { display: none; }
@media (max-width: 1100px) { .sig-issues__track { grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; } }
@media (max-width: 820px) { .sig-issues__track { grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; } }
@media (max-width: 560px) { .sig-issues__track { grid-auto-columns: 62%; gap: 16px; } }
.sig-issue { scroll-snap-align: start; text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.sig-issue__cover { aspect-ratio: 3 / 4; overflow: hidden; background: var(--card); transition: transform .25s; }
.sig-issue:hover .sig-issue__cover { transform: translateY(-4px); }
.sig-issue__cover img { width: 100%; height: 100%; object-fit: cover; }
.sig-issue__num { font-size: 15px; font-weight: 700; letter-spacing: 1px; color: var(--title); }
.sig-issue__date { font-size: 12px; color: var(--sub); margin-top: -8px; }
.sig-issues__nav { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
.sig-issues__nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); border: 1px solid color-mix(in srgb, var(--text) 38%, transparent); background: transparent; color: var(--title); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.sig-issues__nav button svg { width: 20px; height: 20px; }
.sig-issues__nav button:hover { background: var(--card); }
.sig-issues__nav button[disabled] { opacity: .35; cursor: default; }

/* ---------- Bons plans ---------- */
.sig-promo { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; }
.sig-promo__txt { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; }
.sig-promo__txt p { margin: 6px 0 0; font-size: 1.06em; max-width: 520px; }
.sig-promo .sig-form { flex: 1 1 380px; }

/* ---------- Newsletter ---------- */
.sig-news { max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.sig-news .sig-h2 { font-size: clamp(calc(var(--s-h2) * .55), 3.4vw, calc(var(--s-h2) * .78)); }
.sig-news .sig-form { width: 100%; margin-top: 16px; text-align: left; }

/* ---------- Zones de widgets (accueil) ---------- */
.sig-zone { display: grid; gap: 40px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); align-items: start; }
.sig-zone--1 { --cols: 1; }
.sig-zone--2 { --cols: 2; }
.sig-zone--3 { --cols: 3; }
.sig-zone--4 { --cols: 4; }
@media (max-width: 900px) { .sig-zone--3, .sig-zone--4 { --cols: 2; } }
@media (max-width: 620px) { .sig-zone { --cols: 1 !important; gap: 28px; } }
.sig-zone__empty { margin: 0; padding: 28px; text-align: center; border: 1px dashed var(--line); color: var(--sub); font-size: 14px; }

/* Widgets (zones de l'accueil et colonnes du pied de page) */
.sig-widget { color: var(--text); }
.sig-widget > :first-child { margin-top: 0; }
.sig-widget > :last-child { margin-bottom: 0; }
.sig-widget__title { margin: 0 0 16px; font-family: var(--f-sub); font-size: var(--s-kicker); font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--kicker); }
.sig-widget :is(h1, h2, h3, h4, h5, h6) { font-family: var(--f-title); font-weight: var(--w-title); text-transform: var(--t-title); color: var(--title); line-height: 1.15; }
.sig-widget h1 { font-size: clamp(calc(var(--s-h2) * .66), 5vw, var(--s-h2)); }
.sig-widget h2 { font-size: clamp(calc(var(--s-h2) * .55), 4vw, calc(var(--s-h2) * .8)); }
.sig-widget h3 { font-size: var(--s-h3); }
.sig-widget p, .sig-widget li { line-height: 1.6; }
.sig-widget a { color: var(--title); }
.sig-widget ul, .sig-widget ol { padding-left: 1.2em; }
.sig-widget img { border-radius: 4px; }
.sig-widget .wp-block-button__link { font-family: var(--f-btn); font-size: var(--s-btn); font-weight: var(--w-btn); letter-spacing: 1.6px; text-transform: var(--t-btn); border-radius: var(--r-btn); background: var(--btn); color: var(--btnfg); padding: 14px 28px; text-decoration: none; }
.sig-widget input[type="text"], .sig-widget input[type="email"], .sig-widget input[type="search"], .sig-widget textarea {
  width: 100%; padding: 12px 14px; font-size: 15px; color: var(--title); background: var(--field-bg, var(--bg));
  border: 1px solid var(--line); border: 1px solid color-mix(in srgb, var(--text) 38%, transparent); border-radius: var(--sig-radius);
}

/* ---------- Pied de page ---------- */
.sig-footer { background-color: var(--bg); color: var(--text); padding: var(--pad, 56px) 0 0; position: relative; isolation: isolate; }
.sig-footer.has-bgimg { background-size: cover; background-position: center; }
.sig-footer.has-bgimg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg); opacity: var(--veil, .5); }
.sig-footer a { color: inherit; }
.sig-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding-bottom: 40px; }
.sig-footer__brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.sig-footer__brand .sig-logo__name { font-size: calc(var(--s-logo) * .78); }
.sig-footer__about, .sig-footer__address { margin: 0; font-size: 14px; line-height: 1.6; max-width: 360px; color: var(--text); }
.sig-footer__address { color: var(--sub); }
.sig-footer__bar { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--line); }
.sig-footer__links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; font-size: 13px; }
.sig-footer__links a { text-decoration: none; }
.sig-footer__links a:hover { text-decoration: underline; }
.sig-social { display: flex; gap: 12px; }
.sig-social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); border: 1px solid color-mix(in srgb, var(--text) 38%, transparent); display: flex; align-items: center; justify-content: center; color: var(--title); }
.sig-social a:hover { background: var(--card); }
.sig-social svg { width: 18px; height: 18px; }
.sig-footer__copy { border-top: 1px solid var(--line); padding: 18px 24px; text-align: center; font-size: 12px; letter-spacing: 1px; color: var(--sub); text-transform: uppercase; }

/* ---------- Pages internes (articles, pages WordPress) ---------- */
.sig-content { background-color: var(--bg); color: var(--text); padding: var(--pad, 72px) 0 calc(var(--pad, 72px) * 1.3); min-height: 50vh; position: relative; isolation: isolate; }
.sig-content.has-bgimg { background-size: cover; background-position: center; }
.sig-content.has-bgimg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg); opacity: var(--veil, .5); }
.sig-content .sig-wrap { max-width: calc(var(--content-w) + 48px); }
.sig-content h1, .sig-content h2, .sig-content h3, .sig-content h4, .sig-free h1, .sig-free h2, .sig-free h3, .sig-free h4 { font-family: var(--f-title); font-weight: var(--w-title); color: var(--title); line-height: 1.12; }
.sig-content h1 { font-size: clamp(calc(var(--s-h2) * .66), 4vw, var(--s-h2)); margin: 0 0 24px; text-transform: var(--t-title); }
.sig-content h2 { font-size: calc(var(--s-h2) * .7); }
.sig-content h2 a { text-decoration: none; }
.sig-content a:not(.wp-block-button__link) { color: var(--title); }
.sig-content .entry + .entry { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.sig-content .wp-block-button__link, .sig-free .wp-block-button__link { font-family: var(--f-btn); font-size: var(--s-btn); font-weight: var(--w-btn); letter-spacing: 1.6px; text-transform: var(--t-btn); border-radius: var(--r-btn); background: var(--btn); color: var(--btnfg); padding: 14px 28px; text-decoration: none; }

/* Page libre (gabarit « Page libre ») : les blocs vont d'un bord à l'autre */
.sig-free { background-color: var(--bg); color: var(--text); min-height: 50vh; }
.sig-free.has-bgimg { background-size: cover; background-position: center; }
.sig-free .entry-content > :not(.alignfull):not(.alignwide) { max-width: calc(var(--content-w)); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.sig-free .entry-content > .alignwide { max-width: var(--sig-max); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.sig-free .entry-content > .alignfull { max-width: none; width: 100%; }
.sig-free .entry-content > * { margin-top: 0; margin-bottom: 0; }
.sig-free .entry-content > * + * { margin-top: 1.4em; }
.sig-free .entry-content > .alignfull + *, .sig-free .entry-content > * + .alignfull { margin-top: 0; }
.sig-free a:not(.wp-block-button__link) { color: var(--title); }
