/* ============================================================
   LAOU — Blog (Magazine éditorial / Piste C) — page styles
   Composes with _ds tokens (colors_and_type.css).
   Forms: angles droits partout (radius 0). Warmth = colour + photo + grain.
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #ffffff;            /* white canvas */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* category colour custom-props ------------------------------- */
:root {
  --cat-decouvrir-pastel: var(--teal);        --cat-decouvrir-deep: var(--teal-deep);   --cat-decouvrir-soft: var(--teal-soft);
  --cat-installer-pastel: var(--coral);       --cat-installer-deep: var(--coral-deep);  --cat-installer-soft: var(--coral-soft);
  --cat-temoignages-pastel: var(--pink);      --cat-temoignages-deep: var(--pink-deep); --cat-temoignages-soft: var(--pink-soft);
  --cat-marketing-pastel: var(--green);       --cat-marketing-deep: var(--green-deep);  --cat-marketing-soft: var(--green-soft);
  --cat-colltemoin-pastel: var(--yellow);     --cat-colltemoin-deep: var(--yellow-deep);--cat-colltemoin-soft: var(--yellow-soft);
}
/* per-category accent tokens (used by cat-card, coll-cat-row) */
.cat-decouvrir    { --accent: var(--teal);   --accent-soft: var(--teal-soft);  --accent-deep: var(--teal-deep);  }
.cat-temoignages  { --accent: var(--pink);   --accent-soft: var(--pink-soft);  --accent-deep: var(--pink-deep);  }
.cat-installer    { --accent: var(--coral);  --accent-soft: var(--coral-soft); --accent-deep: var(--coral-deep); }
.cat-marketing    { --accent: var(--green);  --accent-soft: var(--green-soft); --accent-deep: var(--green-deep); }
.coll-accent-teal { --accent: var(--teal-deep); }
/* section background utilities */
.section-yellow   { background: var(--yellow-soft); }
/* centered CTA row below a grid */
.section-cta-center { display: flex; justify-content: center; margin-top: 48px; }
/* coll cats 2-col override on homepage */
.coll-cats-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ---- grain texture overlay (charte p.24 stand-in) ---------- */
.grain { position: relative; }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  opacity: .42; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
}

/* ---- shared layout ---------------------------------------- */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 72px 0; }
.eyebrow {
  font: var(--text-caption); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--teal-deep); margin: 0;
}
.h-display { font-family: var(--font-display); font-weight: 500; letter-spacing: -.02em; line-height: 1.04; margin: 0; }
.h-2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; line-height: 1.12; margin: 0; font-size: 2rem; }
.h-3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; line-height: 1.2; margin: 0; font-size: 1.5rem; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-head .titles { max-width: 640px; }
.section-head .h-2 { margin-top: 2px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--teal-deep);
  padding-bottom: 3px; border-bottom: 1.6px solid transparent; transition: border-color var(--dur) var(--ease-out), gap var(--dur) var(--ease-out);
}
.link-arrow svg { width: 17px; height: 17px; }
.link-arrow:hover { border-color: currentColor; gap: 11px; }

/* ---- buttons ---------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  font: var(--text-button); border-radius: 0; padding: 14px 22px; min-height: 48px;
  border: 1.6px solid transparent; transition: transform var(--dur) var(--ease-out), background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.btn svg { width: 18px; height: 18px; }
.btn-solid { background: var(--teal-deep); color: #fff; }
.btn-solid:hover { background: var(--teal-700); transform: translateY(-2px); }
.btn-solid:active { background: var(--teal-800); transform: translateY(0); }
.btn-light { background: #fff; color: var(--teal-deep); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn-coral { background: var(--coral-deep); color: #fff; }
.btn-coral:hover { background: var(--coral-600); transform: translateY(-2px); }
.btn-coral:active { background: var(--coral-600); transform: translateY(0); }
.btn-outline { background: transparent; color: var(--ink); border-color: currentColor; }
.btn-outline:hover { background: rgba(20,32,31,.05); transform: translateY(-2px); }

/* ============================================================
   1 · SUB-NAV (sticky, frosted)
   ============================================================ */
.subnav {
  position: static; z-index: 60;
  background: var(--subnav-bg, #73bec8);
}
.subnav-inner { display: flex; align-items: center; gap: 28px; height: 88px; }
.subnav-logo img { height: 56px; width: auto; display: block; }
.subnav-tabs { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-link {
  font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--gray-700);
  letter-spacing: -.01em; padding: 10px 14px; cursor: pointer; transition: color var(--dur) var(--ease-out);
}
.nav-link:hover { color: var(--ink); }
.subnav[data-dark] .nav-link { color: rgba(255,255,255,.82); }
.subnav[data-dark] .nav-link:hover { color: #fff; }

/* blog sub-menu (sticky) */
.blog-subnav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(253,249,243,.9);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.blog-subnav-inner { display: flex; align-items: center; gap: 22px; height: 58px; }
.blog-subnav-title {
  font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: var(--ink);
  letter-spacing: -.01em; padding-right: 22px; border-right: 1px solid var(--gray-300); flex: none;
}
.blog-subnav-links { display: flex; align-items: center; gap: 4px; overflow-x: auto; }
.blog-subnav-links .tab { white-space: nowrap; }

/* ===== Navigation behaviour (driven by Tweaks via body[data-*]) ===== */
:root { --header-h: 88px; }
/* header modes */
body[data-header-mode="static"] .subnav { position: static; }
body[data-header-mode="fixed"]  .subnav { position: sticky; top: 0; z-index: 70; transition: transform .32s var(--ease-out); }
body[data-header-mode="smart"]  .subnav { position: sticky; top: 0; z-index: 70; transition: transform .32s var(--ease-out); }
body[data-header-mode="smart"][data-nav-hidden] .subnav { transform: translateY(-100%); }
/* sub-nav modes */
body[data-subnav-mode="static"] .blog-subnav { position: static; }
body[data-subnav-mode="fixed"]  .blog-subnav { position: sticky; z-index: 60; top: 0; transition: top .32s var(--ease-out); }
body[data-subnav-mode="fixed"][data-header-mode="fixed"] .blog-subnav { top: var(--header-h); }
body[data-subnav-mode="fixed"][data-header-mode="fixed"][data-nav-hidden] .blog-subnav { top: 0; }
/* shrink on scroll */
body[data-shrink="on"] .subnav-inner { transition: height .28s var(--ease-out); }
body[data-shrink="on"] .subnav-logo img { transition: height .28s var(--ease-out); }
body[data-shrink="on"][data-scrolled] .subnav-inner { height: 62px; }
body[data-shrink="on"][data-scrolled] .subnav-logo img { height: 40px; }
/* active tab styles (sub-nav) */
body[data-active-style="pill"] .blog-subnav .tab::after,
body[data-active-style="tint"] .blog-subnav .tab::after { display: none; }
body[data-active-style="pill"] .blog-subnav .tab.is-active { background: var(--subnav-accent, var(--teal-deep)); color: #fff; }
body[data-active-style="tint"] .blog-subnav .tab.is-active { background: var(--teal-soft); color: var(--teal-deep); }
/* reading-progress bar */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--subnav-accent, var(--teal-deep)); z-index: 90; transition: width .1s linear; display: none; }
body[data-progress="on"] .read-progress { display: block; }
/* back-to-top */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; width: 50px; height: 50px;
  display: none; align-items: center; justify-content: center;
  background: var(--teal-deep); color: #fff; border: 0; z-index: 80; cursor: pointer;
  opacity: 0; transform: translateY(10px); transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), background .2s;
}
.back-to-top svg { width: 21px; height: 33px; stroke-width: 2.2; }
body[data-backtotop="on"] .back-to-top { display: inline-flex; }
body[data-backtotop="on"][data-scrolled] .back-to-top { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--teal-700); }
.tab {
  position: relative; background: none; border: 0; padding: 10px 14px;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--gray-700);
  letter-spacing: -.01em; transition: color var(--dur) var(--ease-out);
}
.tab::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2.5px;
  background: var(--subnav-accent, var(--teal-deep)); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out);
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--subnav-accent, var(--teal-deep)); }
.tab.is-active::after { transform: scaleX(1); }
/* dark header mode (set by Tweaks when a deep background is chosen) */
.subnav[data-dark] .tab { color: rgba(255,255,255,.82); }
.subnav[data-dark] .tab:hover { color: #fff; }
.subnav[data-dark] .tab.is-active { color: #fff; }
.subnav[data-dark] .tab.is-active::after { background: #fff; }
.subnav[data-dark] .icon-btn { color: #fff; }
.subnav[data-dark] .icon-btn:hover { background: rgba(255,255,255,.16); }
.subnav[data-dark] .subnav-search input { background: rgba(255,255,255,.16); color: #fff; }
.subnav[data-dark] .subnav-search input::placeholder { color: rgba(255,255,255,.6); }
.subnav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.subnav-about {
  font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--gray-700);
  padding: 10px 8px; margin-right: 4px; letter-spacing: -.01em; transition: color var(--dur) var(--ease-out);
}
.subnav-about:hover { color: var(--ink); }
.subnav[data-dark] .subnav-about { color: rgba(255,255,255,.82); }
.subnav[data-dark] .subnav-about:hover { color: #fff; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  background: none; border: 0; color: var(--ink); transition: background var(--dur) var(--ease-out);
}
.icon-btn:hover { background: rgba(20,32,31,.06); }
.icon-btn svg { width: 21px; height: 21px; stroke-width: 2; }
.burger { display: none; }

/* search field (expandable) */
.subnav-search {
  display: flex; align-items: center; gap: 8px; overflow: hidden;
  width: 0; opacity: 0; transition: width var(--dur-slow) var(--ease-out), opacity var(--dur) var(--ease-out);
}
.subnav-search.is-open { width: 260px; opacity: 1; }
.subnav-search input {
  width: 100%; font: var(--text-body); padding: 11px 12px; border: 0;
  border-radius: var(--radius-md); background: var(--gray-100); color: var(--ink);
}
.subnav-search input:focus { outline: none; box-shadow: 0 0 0 3px var(--teal-50); }

/* mobile dropdown menu */
.mobile-menu { display: none; }

/* ============================================================
   2 · HERO DOSSIER (couverture magazine)
   ============================================================ */
.hero-wrap {
  padding: 20px 0 0;
  background-color: #fab4d2;
  background-image: url('../images/texture-laou-rose-clair.png');
  background-size: cover;
  background-position: center;
}
.hero { position: relative; min-height: 80vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--teal-900); }
.hero image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14,55,65,.10) 0%, rgba(14,55,65,.0) 32%, rgba(14,55,65,.55) 72%, rgba(11,42,49,.86) 100%),
    linear-gradient(75deg, rgba(17,53,61,.66) 0%, rgba(17,53,61,.10) 58%);
}
.hero-inner { position: relative; z-index: 2; padding: 56px 44px 48px; color: #fff; width: 100%; }
.hero-top { position: absolute; top: 26px; left: 0; right: 0; z-index: 3; padding: 0 44px; }
.hero-kicker {
  display: inline-block; background: rgba(255,255,255,.88); color: var(--gray-500);
  font: var(--text-caption); font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  padding: 8px 14px;
}
.hero-cta { padding: 13px 22px; min-height: 46px; }
.hero-content { max-width: 880px; }
.hero-desc { font: var(--text-body-lg); color: rgba(255,255,255,.9); max-width: 600px; margin: 18px 0 0; line-height: 1.55; }
.hero-nav { position: absolute; right: 28px; bottom: 28px; z-index: 4; display: flex; align-items: center; gap: 12px; }
.hero-count { font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: #fff; letter-spacing: .04em; margin-right: 6px; }
.hero-count #heroIndex { font-size: 1.15rem; }
.hero-arrow {
  width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.92); color: var(--ink); border: 0; border-radius: 0; cursor: pointer;
  transition: background var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.hero-arrow:hover { background: #fff; transform: translateY(-2px); }
.hero-arrow:active { transform: translateY(0); }
.hero-arrow svg { width: 22px; height: 22px; stroke-width: 2.2; }

/* ---- magazine hero grid ---- */
/* ---- hero search bar ---- */
.hero-search {
  display: flex; align-items: center; gap: 10px;
  width: 70%; margin: 0 auto 18px;
  background: #fff; border: 1px solid var(--gray-200);
  padding: 6px 6px 6px 14px;
}
.hero-search-ico { flex: none; display: inline-flex; color: var(--gray-400); }
.hero-search-ico svg { width: 18px; height: 18px; stroke-width: 2; }
.hero-search input {
  flex: 1; border: 0; outline: none; background: transparent;
  font: var(--text-body); color: var(--ink); padding: 6px 0;
}
.hero-search input::placeholder { color: var(--gray-400); }
.hero-search-btn { flex: none; padding: 9px 22px; min-height: 38px; }
.hero-search-btn .hsb-ico { display: none; }
@media (max-width: 720px) {
  .hero-search { padding: 3px 3px 3px 12px; gap: 8px; align-items: stretch; }
  .hero-search input { padding: 1px 0; font: var(--text-body-sm); }
  .hero-search-btn { padding: 0 15px; min-height: 0; height: auto; align-self: stretch; }
  .hero-search-btn .hsb-text { display: none; }
  .hero-search-btn .hsb-ico { display: block; width: 18px; height: 18px; stroke-width: 2; }
}

/* ---- magazine hero grid ---- */
.mag-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 600px;
}
.mag-card { position: relative; overflow: hidden; background: var(--teal-900); }
.mag-feature { grid-column: 1; grid-row: 1 / 3; }
.mag-card image-slot,
.mag-card-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.mag-card:hover image-slot,
.mag-card:hover .mag-card-bg { transform: scale(1.045); }
.mag-scrim { position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(to top, rgba(10,38,44,.92) 0%, rgba(10,38,44,.55) 24%, rgba(10,38,44,.06) 50%, transparent 70%); }
.mag-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 18px 16px; color: #fff; display: block; }
.mag-feature .mag-body { padding: 30px 32px 28px; }
.mag-cats { display: inline-block; font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .7rem; background: var(--cat, var(--teal)); color: var(--ink); padding: 5px 9px; margin-bottom: 10px; border-radius: 0; }
.mag-title { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; line-height: 1.15; color: #fff; margin: 0; transition: opacity var(--dur) var(--ease-out); }
.mag-card .mag-title { font-size: 1.18rem; }
.mag-feature .mag-title { font-size: 2.1rem; max-width: 92%; line-height: 1.08; }
.mag-card:hover .mag-title { opacity: .92; }
.mag-date { display: block; margin-top: 9px; font: var(--text-body-sm); color: rgba(255,255,255,.82); }
.mag-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 10px; font: var(--text-body-sm); color: rgba(255,255,255,.86); }
.mag-meta .mi { display: inline-flex; align-items: center; gap: 5px; }
.mag-meta .mi svg { width: 14px; height: 14px; stroke-width: 2; flex: none; }
.mag-nav { position: absolute; top: 16px; left: 16px; z-index: 3; display: flex; gap: 8px; }
.mag-nav .hero-arrow { width: 46px; height: 46px; }

/* scroll-down cue (LAOU chevron picto on coral aplat) */
.scroll-cue {
  display: flex; justify-content: center; width: 100%;
  background: none; border: 0; padding: 0; margin: 18px 0 0; cursor: pointer;
}
.scroll-cue-ico {
  position: relative; overflow: visible;
  width: 94px; height: 94px; display: grid; place-items: center;
  background: none;
  animation: cue-bob 1.8s var(--ease-out) infinite;
}
.scroll-cue-ico svg { width: 43px; height: 47px; position: relative; z-index: 1; }
.scroll-cue:hover .scroll-cue-ico { background: none; opacity: .82; }
@keyframes cue-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue-ico { animation: none; }
}
@media (max-width: 860px) {
  .mag-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .mag-feature { grid-column: 1 / -1; grid-row: auto; height: 340px; }
  .mag-card { height: 210px; }
  .mag-feature .mag-title { font-size: 1.7rem; }
}
@media (max-width: 520px) {
  .mag-grid { grid-template-columns: 1fr; }
  .mag-feature { height: 300px; }
  .mag-card { height: 220px; }
}
.badge-cover {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; margin-bottom: 20px;
  background: #fff; color: var(--teal-deep); font: var(--text-caption); font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; border-radius: 0;
}
.hero h1 { font-size: clamp(2.1rem, 3.5vw, 3.1rem); color: #fff; text-wrap: balance; max-width: 760px; }
.hero-meta { display: flex; align-items: center; gap: 14px; margin: 22px 0 30px; font: var(--text-body); color: rgba(255,255,255,.86); }
.hero-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.5); }
.hero-meta strong { font-weight: 700; color: #fff; }

/* ============================================================
   3 · ZONE PARTICULIERS — category cards
   ============================================================ */
.zone-band-label { display: inline-flex; align-items: center; gap: 9px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card {
  position: relative; background: var(--accent-soft); border: 0; border-top: 4px solid var(--accent);
  border-radius: 0; padding: 0; display: flex; flex-direction: column; color: var(--ink);
  transition: transform var(--dur) var(--ease-out);
}
.cat-card:hover { transform: translateY(-3px); }
.cat-card-head { display: flex; align-items: center; gap: 15px; padding: 24px 24px 16px; }
.cat-tile {
  flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 0;
  background: transparent;
}
.cat-tile img { width: 48px; height: 48px; object-fit: contain; }
.cat-card-head h3 { font-size: 1.3rem; color: var(--ink); }
.cat-articles { list-style: none; margin: 0; padding: 0 24px; }
.cat-article {
  display: flex; align-items: flex-start; gap: 14px; padding: 17px 0;
  border-top: 1px solid rgba(27,43,42,.12);
}
.cat-article:first-child { border-top: 0; padding-top: 8px; }
.cat-thumb {
  flex: none; width: 72px; height: 72px; background: var(--gray-100);
  overflow: hidden;
}
.cat-thumb image-slot,
.cat-thumb img { width: 72px; height: 72px; display: block; object-fit: cover; }
/* warm, natural LAOU "chromie" (Affinity filter stand-in): gentle warmth, lifted shadows */
.mag-card image-slot,
.article-photo image-slot,
.cat-thumb image-slot,
.coll-recent image-slot {
  filter: sepia(0.12) saturate(1.1) brightness(1.04) contrast(0.95);
}
.cat-article-body { display: flex; flex-direction: column; gap: 5px; }
.cat-tag { font: var(--text-caption); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent, var(--teal-deep)); }
.cat-article .a-title {
  font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; line-height: 1.24;
  font-size: 1.08rem; color: var(--ink); transition: color var(--dur) var(--ease-out);
}
.cat-article .a-title:hover { color: var(--accent); }
.a-readlink {
  margin-top: 4px; width: max-content;
  font: var(--text-body-sm); font-weight: 700; color: var(--accent);
  display: inline-flex; align-items: center; gap: 5px;
}
.a-readlink:hover { text-decoration: underline; text-underline-offset: 3px; }
.cat-foot { margin-top: auto; padding: 18px 24px 22px; }
.cat-foot .link-arrow { color: var(--accent); font-size: .95rem; }

/* ============================================================
   4 · DERNIERS ARTICLES — filters + cards
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; font: var(--text-body-sm); font-weight: 700;
  padding: 10px 16px; min-height: 40px; border-radius: 0; background: var(--yellow-soft);
  border: 0; color: var(--ink);
  transition: all var(--dur) var(--ease-out);
}
.chip .swatch { width: 9px; height: 9px; border-radius: 50%; background: var(--chip-color, var(--gray-400)); }
.chip:hover { transform: translateY(-1px); background: #fff; }
.chip.is-active { background: var(--yellow-deep); border: 0; color: var(--ink); }
.chip.is-active .swatch { background: var(--ink); }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.article-card {
  display: flex; flex-direction: column; background: #fff; border: 0;
  border-radius: 0; overflow: hidden;
  transition: transform var(--dur) var(--ease-out);
}
.article-card:hover { transform: translateY(-3px); }
.article-card.is-hidden { display: none; }
.article-card, .mag-card, .cat-article .a-title, .a-readlink, .read-item { cursor: pointer; }
.article-photo { position: relative; overflow: hidden; }
.article-photo image-slot,
.article-photo img { width: 100%; height: 200px; display: block; object-fit: cover; }
.article-photo a { display: block; }
.article-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-cat { font: var(--text-caption); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--yellow-deep); }
.article-card h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; line-height: 1.18; font-size: 1.22rem; margin: 0; }
.article-card:hover h3 { color: var(--yellow-deep); }
.article-meta { margin-top: auto; font: var(--text-body-sm); color: var(--gray-500); padding-top: 6px; }

/* ============================================================
   5 · ZONE COLLECTIVITÉS (band)
   ============================================================ */
.coll-band {
  background-color: #73bec8;
  background-image:
    linear-gradient(to bottom, #73bec8 0, #73bec8 150px, rgba(115,190,200,0) 290px),
    url('../images/texture-laou-bleu-clair.png');
  background-size: 100% 100%, cover;
  background-position: top center, center;
  background-repeat: no-repeat, no-repeat;
}
.coll-band.grain::after { display: none; }
.coll-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 36px; }
.coll-label { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.coll-label img { width: 57px; height: 57px; }
#particuliers .coll-label, #collectivites .coll-label, #tous .coll-label { align-items: flex-end; margin-bottom: 0; }
#particuliers .coll-label span, #collectivites .coll-label span, #tous .coll-label span { padding-bottom: 6px; }
.coll-label span { font: var(--text-caption); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--teal-deep); }
.coll-head .h-2 { max-width: 560px; }
.coll-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
/* col 1 : article le plus récent (forme magazine) */
.coll-recent { min-height: 100%; }
.coll-recent .mag-title { font-size: 1.5rem; line-height: 1.12; max-width: 96%; }
.coll-recent-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 13px; font: var(--text-body-sm); color: rgba(255,255,255,.88); }
.coll-recent-meta .m-ico { display: inline-flex; align-items: center; gap: 6px; }
.coll-recent-meta .m-ico svg { width: 15px; height: 15px; stroke-width: 2; }
.coll-recent-meta .m-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.5); }
/* col 2 : les 2 catégories en lignes */
.coll-cats { display: flex; flex-direction: column; gap: 24px; }
.coll-cat-row {
  background: #fff; border-left: 4px solid var(--accent); border-radius: 0;
  padding: 26px 26px 24px; display: flex; align-items: flex-start; gap: 20px; flex: 1;
  transition: transform var(--dur) var(--ease-out);
}
.coll-cat-row:hover { transform: translateY(-3px); }
.coll-cat-tile { flex: none; width: 64px; height: 64px; display: grid; place-items: center; background: transparent; }
.coll-cat-tile img { width: 56px; height: 56px; object-fit: contain; }
.coll-cat-text { display: flex; flex-direction: column; gap: 9px; }
.coll-cat-text h3 { font-size: 1.32rem; }
.coll-cat-text p { font: var(--text-body); color: var(--gray-600); margin: 0; line-height: 1.5; }
.coll-cat-text .link-arrow { margin-top: 4px; color: var(--accent); font-size: .95rem; }

/* ============================================================
   6 · NEWSLETTER (teal aplat + grain)
   ============================================================ */
.newsletter { background: #fff; padding: 0 24px; }
.nl-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; width: 60%; max-width: 1200px; margin: 50px auto; padding: 40px; background: var(--teal-deep); color: #fff; position: relative; z-index: 2; }
.nl-left { display: flex; gap: 22px; align-items: flex-start; }
.nl-picto { flex: none; width: 76px; height: 76px; }
.nl-picto img { width: 100%; height: 100%; object-fit: contain; }
.newsletter h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; line-height: 1.1; font-size: 2rem; color: #fff; margin: 0 0 12px; }
.newsletter p { font: var(--text-body); color: rgba(255,255,255,.88); margin: 0; max-width: 420px; }
.nl-form { display: flex; flex-direction: column; gap: 12px; }
.nl-row { display: flex; gap: 12px; }
.nl-row input {
  flex: 1; font: var(--text-body); padding: 15px 16px; border: 0; border-radius: 0; background: #fff; color: var(--ink);
}
.nl-row input::placeholder { color: var(--gray-400); }
.nl-row input:focus { outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
.nl-fine { font: var(--text-caption); color: rgba(255,255,255,.7); margin: 0; }

/* ============================================================
   FOOTER (site chrome — green aplat)
   ============================================================ */
.foot { background: var(--green-deep); color: #fff; position: relative; }
.foot-inner { display: grid; grid-template-columns: 1.2fr 1fr 2fr; gap: 40px; padding: 56px 0 40px; position: relative; z-index: 2; }
.foot-brand img { height: 66px; margin-bottom: 16px; }
.foot-brand .mail { font: var(--text-body-sm); color: rgba(255,255,255,.9); }
.foot-socials { display: flex; gap: 12px; margin-top: 18px; }
.foot-socials a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 0; background: rgba(255,255,255,.14); transition: background var(--dur) var(--ease-out); }
.foot-socials a:hover { background: rgba(255,255,255,.16); }
.foot-socials svg { width: 18px; height: 18px; stroke-width: 2; }
.foot-nav { display: flex; flex-direction: column; gap: 10px; }
.foot-nav a { display: inline-flex; align-items: center; gap: 8px; font: var(--text-body); width: max-content; }
.foot-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.office h4 { font-family: var(--font-display); font-weight: 500; font-size: 1rem; margin: 0 0 6px; }
.office p { font: var(--text-body-sm); color: rgba(255,255,255,.85); margin: 0; line-height: 1.6; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.25); position: relative; z-index: 2; }
.foot-bottom .wrap { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; font: var(--text-caption); text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.82); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .cat-grid { grid-template-columns: 1fr; gap: 18px; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .coll-grid { grid-template-columns: 1fr; }
  .coll-recent { min-height: 360px; }
  .foot-inner { grid-template-columns: 1fr 1fr; }
  .foot-offices { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .section { padding: 52px 0; }
  .subnav-tabs, .subnav-search, .subnav-about { display: none; }
  .burger { display: inline-flex; }
  .section-head, .coll-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .article-grid { grid-template-columns: 1fr; }
  .coll-grid { grid-template-columns: 1fr; }
  .hero { min-height: 540px; }
  .nl-inner { grid-template-columns: 1fr; gap: 30px; width: auto; margin: 32px auto; padding: 20px; }
  .nl-row { flex-direction: column; }
  .nl-row .btn { width: 100%; justify-content: center; }
  .nl-left { gap: 16px; }
  .nl-picto { width: 60px; height: 60px; }
  .foot-inner { grid-template-columns: 1fr; gap: 30px; }
  .foot-offices { grid-template-columns: 1fr; }
  .mobile-menu.is-open { display: block; }
}
.mobile-menu {
  position: fixed; inset: 88px 0 0; z-index: 55; background: #fdf9f3;
  border-top: 1px solid var(--gray-200); padding: 18px 20px; flex-direction: column; gap: 4px;
}
.mobile-menu .tab { display: block; width: 100%; text-align: left; font-size: 1.4rem; padding: 16px 6px; border-bottom: 1px solid var(--gray-200); }
.mobile-menu .tab::after { display: none; }
.mobile-menu .m-search { display: flex; gap: 10px; margin-top: 18px; }
.mobile-menu .m-search input { flex: 1; font: var(--text-body); padding: 14px 14px; border: 0; border-radius: var(--radius-md); background: var(--gray-100); }
