/*
Theme Name: Finir le Mois
Theme URI: https://finirlemois.fr
Author: Finir le Mois
Description: Theme institutionnel bleu/ambre pour le media « Finir le Mois ». Palette refonte 2026 (forest = bleu, coral = ambre). Polices Lexend (titres) + Inter (body). Reprend la mise en forme de la version Next.js.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: finir-le-mois
*/

/* ─────────────────────────────────────────────────────────────────────────────
 * Palette « institutionnelle » 2026 (clone Next/Tailwind v4)
 *   Bleu nuit  #042C53 - texte, en-tetes
 *   Bleu profond #0C447C - boutons, liens
 *   Bleu primaire #185FA5 - couleur de marque
 *   Bleu clair  #378ADD - survols, icones
 *   Bleu pale   #E6F1FB - fonds, cartes
 *   Ambre accent #EF9F27 - CTA
 *   Ambre fonce #854F0B - texte sur ambre
 *   Anthracite #2C2C2A - texte courant
 *   Gris moyen  #5F5E5A - texte secondaire
 *   Gris clair  #F1EFE8 - fond global
 * ───────────────────────────────────────────────────────────────────────── */

:root {
  --color-forest-50:  #e6f1fb;
  --color-forest-100: #c8e0f5;
  --color-forest-200: #9bc6ec;
  --color-forest-300: #6ba9e0;
  --color-forest-400: #378add;
  --color-forest-500: #185fa5;
  --color-forest-600: #0c447c;
  --color-forest-700: #042c53;
  --color-forest-800: #021e3a;
  --color-forest-900: #01101f;

  --color-coral-50:  #fdf4e1;
  --color-coral-100: #fae6bc;
  --color-coral-200: #f6d285;
  --color-coral-300: #f2bd52;
  --color-coral-400: #f0ac36;
  --color-coral-500: #ef9f27;
  --color-coral-600: #d78a1f;
  --color-coral-700: #a4691a;
  --color-coral-800: #854f0b;
  --color-coral-900: #5c3608;

  --color-trust-50:  #e6f1fb;
  --color-trust-500: #0c447c;
  --color-trust-700: #052640;

  --color-sand-50:  #f1efe8;
  --color-sand-100: #e5e2d9;
  --color-sand-200: #d3cfc2;
  --color-sand-300: #b0ab9a;

  --color-ink:    #2c2c2a;
  --color-muted:  #5f5e5a;

  --color-amber-50: #fff7e6;
  --color-amber-200:#f8c976;
  --color-amber-700:#a4691a;
  --color-amber-900:#5c3608;

  --font-display: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 0.5rem;
  --radius:    0.875rem;
  --radius-lg: 1.125rem;
  --radius-xl: 1.5rem;

  --shadow-soft: 0 1px 2px rgba(4, 44, 83, 0.04), 0 8px 24px -8px rgba(4, 44, 83, 0.12);
  --shadow-lift: 0 2px 4px rgba(4, 44, 83, 0.06), 0 18px 40px -12px rgba(4, 44, 83, 0.22);
}

/* ─── Reset minimal ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-sand-50);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Empeche un eventuel pseudo-element decoratif (halo hero-og,
     dropdown mega-menu) d'elargir le body au-dela du viewport et
     decentrer .container (le header transparent absolute parait
     alors non-aligne avec le contenu de la page). */
  overflow-x: hidden;
}
html { overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-forest-600); text-decoration: none; }
a:hover { color: var(--color-forest-500); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-forest-700);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

/* ─── Layout containers ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 80rem; /* max-w-7xl */
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* ─── Header / nav ──────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(241, 239, 232, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--color-sand-200);
}
.site-header--transparent {
  position: absolute;
  inset: 0 0 auto 0;
  background: transparent;
  border: 0;
  /* Sinon le blur+saturate herite cree une bande blanchatre/floue en
     haut du hero (la "fade-to-white" signalee par l'utilisateur). */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.site-header__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 68px;
}
.site-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--color-forest-700);
}
.site-header--transparent .site-header__logo { color: #fff; }
.site-header__logo span { color: var(--color-coral-500); }
.site-header__nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
  margin-left: 1rem;
  font-size: 14px;
  font-weight: 500;
}
.site-header__nav a {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  color: rgba(44, 44, 42, 0.8);
}
.site-header__nav a:hover { background: var(--color-sand-100); }
.site-header--transparent .site-header__nav a { color: rgba(255,255,255,0.9); }
.site-header--transparent .site-header__nav a:hover { background: rgba(255,255,255,0.1); }
.site-header__spacer { flex: 1; }
.site-header__cta {
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  font-size: 14px;
}
.site-header--transparent .site-header__cta { color: #fff; }
.site-header--transparent .site-header__cta:hover { background: rgba(255,255,255,0.1); }

/* ─── Burger button (mobile only) ─────────────────────────────────────── */
.site-header__burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  margin-left: .25rem;
}
.site-header__burger:hover { background: var(--color-sand-100); }
.site-header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-ink);
  border-radius: 1px;
  transition: transform .2s, opacity .15s;
  transform-origin: center;
}
.site-header--transparent .site-header__burger:hover { background: rgba(255,255,255,.1); }
.site-header--transparent .site-header__burger span { background: #fff; }
.site-header__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header__burger.is-open span:nth-child(2) { opacity: 0; }
.site-header__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mega menu et CTA Newsletter : caches sur mobile, burger affiche */
@media (max-width: 1023.98px) {
  .mega-menu-wrap { display: none !important; }
  .site-header__cta { display: none; }
}
@media (min-width: 1024px) {
  .site-header__nav { display: inline-flex; }
  .mega-menu-wrap { display: inline-flex; }
  .site-header__burger { display: none; }
}

/* ─── Panel mobile (slide-down full-width) ───────────────────────────── */
.site-mobile-menu {
  position: fixed;
  inset: 68px 0 0 0; /* sous le header de 68px */
  background: #fff;
  z-index: 39;
  overflow-y: auto;
  animation: flmFadeIn .2s ease;
}
@keyframes flmFadeIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.site-mobile-menu__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.site-mobile-menu section { display: flex; flex-direction: column; }
.site-mobile-menu__title {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--color-coral-600);
  margin: 0 0 .5rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--color-sand-200);
}
.site-mobile-menu a {
  display: block;
  padding: .85rem .5rem;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-ink);
  text-decoration: none;
  border-radius: 8px;
  transition: background .15s;
}
.site-mobile-menu a:hover, .site-mobile-menu a:focus {
  background: var(--color-sand-100);
  color: var(--color-trust-600);
}

/* ─── Mega menu Outils ───────────────────────────────────────────────────── */
.mega-menu-wrap { position: relative; }
.mega-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  background: transparent;
  border: 0;
  color: inherit;
}
.mega-menu-trigger:hover { background: var(--color-sand-100); }
.site-header--transparent .mega-menu-trigger { color: rgba(255,255,255,0.9); }
.site-header--transparent .mega-menu-trigger:hover { background: rgba(255,255,255,0.1); color: #fff; }
.mega-menu {
  position: absolute;
  right: 0;
  top: 100%;
  width: min(960px, calc(100vw - 2rem));
  background: #fff;
  border: 1px solid var(--color-sand-200);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(4, 44, 83, 0.25);
  display: none;
  z-index: 50;
  /* Decale visuellement la dropdown de 8px sous le trigger sans creer
     de trou pour le pointeur : ::before remplit cet espace de maniere
     invisible et reste dans la zone hover du wrap. */
  margin-top: 8px;
  overflow: hidden;
}
.mega-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0; right: 0;
  height: 8px;
}
/* Petite marge de tolerance sous le trigger pour absorber le saut de
   pointeur en diagonal entre 'Nos outils' et la dropdown. */
.mega-menu-wrap::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  height: 8px;
}
.mega-menu-wrap:hover .mega-menu,
.mega-menu-wrap:focus-within .mega-menu { display: grid; grid-template-columns: 1fr 1.6fr; }
.mega-menu__col { padding: 1.25rem; }
.mega-menu__col--aide {
  background: rgba(230, 241, 251, 0.4);
  border-right: 1px solid var(--color-sand-200);
}
/* Liste des simulateurs en 2 colonnes (col 'Simulateurs' contient
   1 lien 'multi-aides' + 14 simulations -> 15 items, 2 cols = ~8
   lignes par colonne, plus aere). */
.mega-menu__col--sim .mega-menu__sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .25rem .5rem;
}
.mega-menu__col--sim .mega-menu__sim-grid > a:first-child {
  grid-column: 1 / -1;
}
.mega-menu__title {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  margin-bottom: 0.75rem;
}
.mega-menu__col--aide .mega-menu__title { color: var(--color-forest-700); }
.mega-menu__col--sim .mega-menu__title { color: var(--color-coral-500); }
.mega-menu__link {
  display: flex;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius);
  color: var(--color-ink);
  font-size: 13px;
  text-decoration: none;
}
.mega-menu__link:hover { background: var(--color-sand-100); color: var(--color-forest-700); }
.mega-menu__link strong { display: block; font-weight: 600; font-size: 14px; }
.mega-menu__link span { color: var(--color-muted); font-size: 11px; }

/* ─── Hero OG (reprend la palette de l'image de partage) ─────────────────── */
.hero-og {
  background: linear-gradient(135deg, var(--color-forest-700) 0%, var(--color-forest-500) 60%, var(--color-forest-600) 100%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.hero-og::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -160px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(239, 159, 39, 0.45) 0%, rgba(239, 159, 39, 0) 70%);
  pointer-events: none;
  z-index: -1;
}
.hero-og::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.05;
  pointer-events: none;
  z-index: -1;
}
.hero-og__inner { padding: 5rem 0 2rem; position: relative; }
@media (min-width: 1024px) { .hero-og__inner { padding: 6rem 0 2.5rem; } }
.hero-og__breadcrumb { font-size: 12px; color: rgba(255,255,255,0.7); margin-bottom: 0.75rem; }
.hero-og__breadcrumb a { color: inherit; }
.hero-og__breadcrumb a:hover { color: var(--color-coral-300); }
.hero-og__kicker {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--color-coral-400);
  margin-bottom: 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.hero-og__title {
  font-size: clamp(28px, 4vw, 60px);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.hero-og__lead {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  margin-top: 0.75rem;
  max-width: 40rem;
}
.hero-og__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-coral-500);
  color: #fff;
  font-weight: 600;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius);
  margin-top: 1.5rem;
  text-decoration: none;
}
.hero-og__cta:hover { background: var(--color-coral-600); color: #fff; }

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.375rem;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 0;
}
.btn--primary {
  background: var(--color-forest-500);
  color: #fff;
  box-shadow: 0 6px 20px -6px rgba(24, 95, 165, 0.55);
}
.btn--primary:hover { background: var(--color-forest-600); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px -6px rgba(24, 95, 165, 0.7); }
.btn--accent { background: var(--color-coral-500); color: #fff; }
.btn--accent:hover { background: var(--color-coral-600); color: #fff; }
.btn--ghost { background: #fff; border: 1px solid var(--color-sand-200); color: var(--color-ink); padding: 0.75rem 1.125rem; }
.btn--ghost:hover { border-color: var(--color-forest-500); }

/* ─── Card ──────────────────────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--color-sand-200);
  border-radius: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

/* ─── Mise en forme prose pour simulation, article ───────────────────────── */
.prose-simulation { color: rgba(44, 44, 42, 0.85); font-size: 16px; line-height: 1.75; }
.prose-simulation > * + * { margin-top: 1.1rem; }
.prose-simulation h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1.2;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-sand-200);
  scroll-margin-top: 5rem;
  color: var(--color-forest-700);
}
.prose-simulation h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-forest-700);
  scroll-margin-top: 5rem;
}
.prose-simulation strong { font-weight: 700; color: inherit; }
.prose-simulation a {
  color: var(--color-forest-600);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose-simulation ul, .prose-simulation ol { margin-left: 1.2rem; list-style-position: outside; }
.prose-simulation ul { list-style-type: disc; }
.prose-simulation ol { list-style-type: decimal; }
.prose-simulation li { padding-left: 0.25rem; margin-top: 0.4rem; }

/* ─── Prose universelle (pages legales, single article body) ────────────── */
.flm-prose { font-size: 16px; line-height: 1.7; color: var(--color-ink); }
.flm-prose > * + * { margin-top: 1rem; }
.flm-prose p { margin: 0.75rem 0; }
.flm-prose strong { color: var(--color-ink); font-weight: 700; }
.flm-prose em { color: var(--color-muted); font-style: italic; }
.flm-prose a { color: var(--color-trust-600); text-decoration: underline; text-underline-offset: 2px; }
.flm-prose a:hover { color: var(--color-trust-700); }
.flm-prose h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-ink);
  margin: 2.5rem 0 .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--color-sand-200);
  scroll-margin-top: 5rem;
}
.flm-prose h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-ink);
  margin: 1.5rem 0 .5rem;
  scroll-margin-top: 5rem;
}
.flm-prose ul, .flm-prose ol { margin: .75rem 0; padding-left: 1.5rem; }
.flm-prose ul { list-style: disc; }
.flm-prose ol { list-style: decimal; }
.flm-prose li { margin: .35rem 0; }
.flm-prose li::marker { color: var(--color-coral-500); }
.flm-prose code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: .85em;
  background: var(--color-sand-100);
  border: 1px solid var(--color-sand-200);
  border-radius: 4px;
  padding: .1rem .35rem;
  color: var(--color-trust-700);
}
.flm-prose table {
  width: 100%;
  margin: 1.25rem 0;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--color-sand-200);
  border-radius: 14px;
  overflow: hidden;
  font-size: 14px;
}
.flm-prose thead { background: var(--color-sand-100); }
.flm-prose th {
  text-align: left;
  padding: .65rem 1rem;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--color-muted);
}
.flm-prose td {
  padding: .75rem 1rem;
  border-top: 1px solid var(--color-sand-200);
  vertical-align: top;
}
.flm-prose blockquote {
  margin: 1rem 0;
  padding: 1rem 1.25rem;
  background: rgba(230, 241, 251, .5);
  border-left: 4px solid var(--color-trust-500);
  border-radius: 8px;
  color: var(--color-muted);
  font-style: italic;
}
.flm-prose figure { margin: 1.5rem 0; }
.flm-prose figure img { width: 100%; height: auto; border-radius: 14px; }
.flm-prose figcaption { font-size: 13px; color: var(--color-muted); text-align: center; margin-top: .5rem; }
.flm-prose img { max-width: 100%; height: auto; border-radius: 14px; }
.flm-prose hr { border: 0; border-top: 1px solid var(--color-sand-200); margin: 2rem 0; }

/* ─── Pagination (listings) ─────────────────────────────────────────────── */
.pagination, .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  flex-wrap: wrap;
  margin: 2.5rem 0 0;
}
.pagination .page-numbers,
.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 .75rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink);
  background: #fff;
  border: 1px solid var(--color-sand-200);
  border-radius: 12px;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.pagination .page-numbers:hover,
.nav-links .page-numbers:hover {
  background: var(--color-sand-100);
  border-color: var(--color-sand-200);
  color: var(--color-trust-700);
}
.pagination .page-numbers.current,
.nav-links .page-numbers.current {
  background: var(--color-trust-500);
  border-color: var(--color-trust-500);
  color: #fff;
}
.pagination .page-numbers.dots,
.nav-links .page-numbers.dots {
  background: transparent;
  border-color: transparent;
  color: var(--color-muted);
  min-width: 20px;
  padding: 0;
}
.pagination .page-numbers.prev,
.pagination .page-numbers.next,
.nav-links .page-numbers.prev,
.nav-links .page-numbers.next {
  padding: 0 1rem;
  background: #fff;
}
.pagination .page-numbers.prev:hover,
.pagination .page-numbers.next:hover,
.nav-links .page-numbers.prev:hover,
.nav-links .page-numbers.next:hover {
  background: var(--color-trust-500);
  border-color: var(--color-trust-500);
  color: #fff;
}
/* WP enveloppe la pagination dans <h2 class="screen-reader-text"> + ul */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

.prose-resume { color: var(--color-ink); font-size: 0.95rem; line-height: 1.55; }
.prose-resume ul { list-style: none; margin: 0; padding: 0; }
.prose-resume li { position: relative; padding-left: 1.5rem; margin-top: 0.6rem; }
.prose-resume li:first-child { margin-top: 0; }
.prose-resume li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: var(--color-coral-500);
}
.prose-resume strong { font-weight: 700; color: inherit; }

.prose-bon-a-savoir p { color: var(--color-amber-900); margin-bottom: 0.5rem; }
.prose-bon-a-savoir ul { margin-left: 1.2rem; list-style-type: disc; }
.prose-bon-a-savoir li { margin-top: 0.4rem; color: rgba(120, 53, 15, 0.92); line-height: 1.65; }

/* ─── Footer (OG palette) ────────────────────────────────────────────────── */
.site-footer { padding: 4rem 0 2rem; color: #fff; }

/* ─── 1. Bande newsletter en haut ───────────────────────────────────── */
.site-footer-newsletter {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 1024px) {
  .site-footer-newsletter {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 2rem;
  }
}
.site-footer-nl-form {
  display: flex; gap: .5rem; flex-wrap: wrap;
}
.site-footer-nl-form input[type="email"] {
  flex: 1; min-width: 200px;
  padding: .75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .15s, background .15s;
}
.site-footer-nl-form input[type="email"]::placeholder { color: rgba(255,255,255,0.45); }
.site-footer-nl-form input[type="email"]:focus {
  outline: none;
  border-color: var(--color-coral-400);
  background: rgba(255,255,255,0.12);
}
.site-footer-nl-form button {
  padding: .75rem 1.5rem;
  border: 0; border-radius: 12px;
  background: var(--color-coral-500);
  color: #fff; font-weight: 700; font-size: 14px;
  cursor: pointer;
  transition: background .15s;
}
.site-footer-nl-form button:hover { background: var(--color-coral-600); }
.site-footer-nl-msg { font-size: 13px; margin: .5rem 0 0; min-height: 1em; }

/* ─── 2. Grid 2/5 cols + brand col + socials ────────────────────────── */
.site-footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(2, 1fr); margin-bottom: 3rem; }
@media (min-width: 768px) { .site-footer-grid { grid-template-columns: repeat(5, 1fr); } }
.site-footer__brand-col { grid-column: span 2; }
.site-footer__brand-col a:hover { opacity: .85; }

.site-footer-socials {
  display: flex; gap: .5rem; margin-top: 1.25rem;
}
.site-footer-socials a {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: background .15s;
}
.site-footer-socials a:hover { background: var(--color-coral-500); }

.site-footer__col-title { font-weight: 600; margin-bottom: 0.75rem; color: #fff; font-size: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.5rem 0; }
.site-footer a { color: rgba(255,255,255,0.7); font-size: 14px; text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: var(--color-coral-300); }

/* ─── 3. Bottom bar ─────────────────────────────────────────────────── */
.site-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.site-footer-bottom a { color: inherit; font-size: 12px; }
.site-footer-bottom a:hover { color: #fff; }

/* ─── Utility ───────────────────────────────────────────────────────────── */
.kicker {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--color-coral-500);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.muted { color: var(--color-muted); }
.text-amber { color: var(--color-coral-500); }
.text-blue { color: var(--color-forest-500); }
.section { padding: 3rem 0; }
@media (min-width: 1024px) { .section { padding: 4rem 0; } }
