/* =========================================================================
   Immo Seine-Eure FR - main.css
   Editorial Real Estate Hub V3-E (S106 cobaye #15 sandbox empire vague 2)
   Persona REELLE : Julien Jehanno, Mandataire IAD France
   RSAC 989 881 321 + Carte T CPI 7702 2018 000 028 002 + RCS Melun 503 676 421
   Palette CRM ISE Julien : Navy ISE #1E3A5F + Orange #F4A340 + Cream #F5EBD9
             + Navy deep #0F2236 (footer dark)
             (Cohérence brand totale flyers QR + posts GMB/FB/IG + site)
   Type    : Fraunces (serif heading editorial premium real estate)
             + Inter (UI body) + JetBrains Mono (data labels)
   Vibe    : Le Figaro Immobilier + Capital Immo + Les Echos Patrimoine
   Anti-footprint seed FNV-1a 0xC7B16D43
   Rule p5 brain_immo.db : PAS de termes agent / agence / expert (Hoguet)
   ========================================================================= */

/* ---------- 1. CSS variables ---------- */
:root {
    --imse-navy: #1E3A5F;
    --imse-navy-deep: #0F2236;
    --imse-navy-soft: #2E5079;
    --imse-emerald: #F4A340;
    --imse-emerald-soft: rgba(244, 163, 64, 0.18);
    --imse-burgundy: #B91C1C;
    --imse-burgundy-soft: rgba(185, 28, 28, 0.12);
    --imse-gold: #F4A340;
    --imse-gold-soft: rgba(244, 163, 64, 0.18);
    --imse-amber: #F4A340;
    --imse-cream: #F5EBD9;
    --imse-cream-paper: #FAF4E5;
    --imse-cream-edge: #E5DBC9;
    --imse-charcoal: #1B2330;
    --imse-slate-700: #334155;
    --imse-slate-500: #475569;
    --imse-slate-400: #64748B;
    --imse-slate-300: #94A3B8;
    --imse-slate-200: #CBD5E1;
    --imse-white: #FFFFFF;
    --imse-font-headline: "Fraunces", Georgia, "Times New Roman", serif;
    --imse-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --imse-font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --imse-font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
    --imse-max-w: 1200px;
    --imse-max-w-reading: 720px;
    --imse-radius: 4px;
    --imse-radius-lg: 8px;
    --imse-shadow-sm: 0 1px 2px rgba(14, 27, 39, 0.06);
    --imse-shadow-md: 0 4px 12px rgba(14, 27, 39, 0.08);
    --imse-shadow-lg: 0 14px 40px rgba(14, 27, 39, 0.10);
}

/* ---------- 2. Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.imse-theme {
    margin: 0;
    background: var(--imse-cream);
    color: var(--imse-charcoal);
    font-family: var(--imse-font-body);
    font-size: 17px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: var(--imse-emerald); text-decoration: none; transition: color 0.18s ease; }
a:hover, a:focus-visible { color: var(--imse-navy); text-decoration: underline; }
img, svg, canvas { max-width: 100%; display: block; height: auto; }
button { font-family: inherit; cursor: pointer; }
ul, ol { padding-left: 1.2em; }

.imse-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--imse-navy);
    color: var(--imse-cream);
    padding: 8px 16px;
    z-index: 999;
    font-family: var(--imse-font-ui);
    font-weight: 600;
}
.imse-skip-link:focus { left: 16px; top: 16px; }

/* ---------- 3. Site header + Hoguet strip ---------- */
.imse-site-header {
    background: var(--imse-cream);
    border-bottom: 1px solid var(--imse-cream-edge);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
}
.imse-header-layout {
    max-width: var(--imse-max-w);
    margin: 0 auto;
    padding: 14px 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}
.imse-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--imse-navy);
    text-decoration: none;
}
.imse-brand-link:hover { text-decoration: none; }
.imse-brand-mark { display: inline-flex; }
.imse-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.imse-brand-name {
    font-family: var(--imse-font-headline);
    font-size: 20px;
    font-weight: 700;
    color: var(--imse-navy);
    letter-spacing: -0.01em;
}
.imse-brand-sub {
    font-family: var(--imse-font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--imse-slate-500);
    margin-top: 2px;
}
.imse-brand { display: inline-flex; }
.imse-primary-nav { display: flex; justify-content: center; }
.imse-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 24px;
}
.imse-menu li a {
    font-family: var(--imse-font-ui);
    font-size: 14px;
    font-weight: 500;
    color: var(--imse-navy);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.imse-menu li a:hover { color: var(--imse-emerald); }
.imse-newsletter-cta {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    background: var(--imse-navy);
    color: var(--imse-cream);
    font-family: var(--imse-font-ui);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--imse-radius);
    border: 1px solid var(--imse-navy);
}
.imse-newsletter-cta:hover {
    background: var(--imse-emerald);
    color: var(--imse-cream);
    border-color: var(--imse-emerald);
    text-decoration: none;
}

/* Hoguet compliance strip below header */
.imse-hoguet-strip {
    background: var(--imse-navy-deep);
    color: var(--imse-cream);
    padding: 8px 24px;
    text-align: center;
    font-family: var(--imse-font-mono);
    font-size: 11px;
    letter-spacing: 0.04em;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.imse-hoguet-strip__item { color: rgba(250, 250, 247, 0.82); }
.imse-hoguet-strip__item strong { color: var(--imse-gold); font-weight: 700; }
.imse-hoguet-strip__sep { color: rgba(244, 163, 64, 0.4); }

/* ---------- 4. Main layout wrapper ---------- */
.imse-main-layout { display: block; background: var(--imse-cream); }
.imse-main { display: block; }

.imse-section-header { margin-bottom: 32px; text-align: left; }
.imse-section-title {
    font-family: var(--imse-font-headline);
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--imse-navy);
    margin: 0 0 8px;
}
.imse-section-subtitle {
    font-family: var(--imse-font-ui);
    font-size: 14px;
    color: var(--imse-slate-500);
    margin: 0;
    letter-spacing: 0.01em;
}

/* ---------- 5. Hero - thesis rotator ---------- */
.imse-hero-thesis {
    background: var(--imse-navy);
    color: var(--imse-cream);
    padding: 56px 0 64px;
    position: relative;
    overflow: hidden;
}
.imse-hero-thesis::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(244, 163, 64, 0.08), transparent 50%);
    pointer-events: none;
}
.imse-hero-thesis-layout { max-width: var(--imse-max-w); margin: 0 auto; padding: 0 24px; position: relative; }
.imse-hero-eyebrow-row {
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; margin-bottom: 28px; flex-wrap: wrap;
    border-bottom: 1px solid rgba(244, 163, 64, 0.18); padding-bottom: 16px;
}
.imse-hero-eyebrow {
    font-family: var(--imse-font-mono); font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.18em; color: var(--imse-gold); margin: 0; font-weight: 600;
}
.imse-hero-eyebrow-meta {
    font-family: var(--imse-font-ui); font-size: 11px;
    color: var(--imse-slate-300); letter-spacing: 0.02em;
}
.imse-hero-rotator { position: relative; min-height: 480px; }
.imse-hero-slide {
    position: absolute; inset: 0; opacity: 0; visibility: hidden;
    transition: opacity 0.5s ease; pointer-events: none;
}
.imse-hero-slide--active {
    opacity: 1; visibility: visible; pointer-events: auto; position: relative;
}
.imse-hero-slide-layout {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
}
.imse-hero-slide-text { color: var(--imse-cream); }
.imse-hero-category {
    display: inline-block;
    font-family: var(--imse-font-mono); font-size: 11px;
    text-transform: uppercase; letter-spacing: 0.16em; color: var(--imse-gold);
    background: rgba(244, 163, 64, 0.10); padding: 5px 11px;
    border-radius: var(--imse-radius); border: 1px solid rgba(244, 163, 64, 0.30);
    margin-bottom: 18px; font-weight: 600;
}
.imse-hero-headline {
    font-family: var(--imse-font-headline);
    font-size: clamp(30px, 4vw, 48px); line-height: 1.12; font-weight: 700;
    letter-spacing: -0.02em; color: var(--imse-cream); margin: 0 0 18px;
}
.imse-hero-thesis-line {
    font-family: var(--imse-font-body); font-size: 18px; line-height: 1.55;
    color: rgba(250, 250, 247, 0.86); margin: 0 0 24px; max-width: 560px;
}
.imse-hero-byline { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.imse-hero-byline-avatar {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--imse-gold); color: var(--imse-navy);
    font-family: var(--imse-font-mono); font-size: 12px; font-weight: 700;
    letter-spacing: 0.04em;
}
.imse-hero-byline-text {
    font-family: var(--imse-font-ui); font-size: 13px; color: var(--imse-slate-200);
}
.imse-hero-byline-text strong { color: var(--imse-cream); font-weight: 600; }
.imse-hero-read-cta {
    display: inline-flex; align-items: center; gap: 6px; padding: 12px 22px;
    background: var(--imse-gold); color: var(--imse-navy);
    font-family: var(--imse-font-ui); font-weight: 600; font-size: 14px;
    letter-spacing: 0.04em; border-radius: var(--imse-radius);
    transition: transform 0.2s ease, background 0.2s ease;
}
.imse-hero-read-cta:hover {
    background: var(--imse-cream); color: var(--imse-navy);
    transform: translateX(2px); text-decoration: none;
}
.imse-hero-slide-chart {
    background: var(--imse-cream-paper); padding: 18px 18px 12px;
    border-radius: var(--imse-radius-lg); box-shadow: var(--imse-shadow-lg);
    border: 1px solid rgba(244, 163, 64, 0.16);
}
.imse-hero-slide-chart svg { width: 100%; height: auto; }
.imse-hero-chart-caption {
    font-family: var(--imse-font-mono); font-size: 10px;
    color: var(--imse-slate-500); margin: 8px 0 0; letter-spacing: 0.04em;
}
.imse-hero-rotator-controls {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 32px; gap: 16px;
}
.imse-hero-rotator-dots { display: flex; gap: 10px; }
.imse-hero-dot {
    width: 32px; height: 4px; border-radius: 2px;
    background: rgba(250, 250, 247, 0.18); border: none; cursor: pointer;
    padding: 0; transition: background 0.2s ease;
}
.imse-hero-dot:hover { background: rgba(244, 163, 64, 0.48); }
.imse-hero-dot--active { background: var(--imse-gold); }
.imse-hero-rotator-progress {
    font-family: var(--imse-font-mono); font-size: 10px; text-transform: uppercase;
    letter-spacing: 0.12em; color: var(--imse-slate-400);
}

/* ---------- 6. Real estate indicators ---------- */
.imse-indicators {
    background: var(--imse-cream-paper); padding: 64px 0;
    border-top: 1px solid var(--imse-cream-edge);
    border-bottom: 1px solid var(--imse-cream-edge);
}
.imse-indicators-layout { max-width: var(--imse-max-w); margin: 0 auto; padding: 0 24px; }
.imse-indicators-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.imse-indicator-card {
    background: var(--imse-cream); border: 1px solid var(--imse-cream-edge);
    border-radius: var(--imse-radius-lg); padding: 20px;
    box-shadow: var(--imse-shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.imse-indicator-card:hover { transform: translateY(-2px); box-shadow: var(--imse-shadow-md); }
.imse-indicator-card--up { border-left: 3px solid var(--imse-emerald); }
.imse-indicator-card--down { border-left: 3px solid var(--imse-burgundy); }
.imse-indicator-card--neutral { border-left: 3px solid var(--imse-amber); }
.imse-indicator-card__head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 8px; gap: 8px;
}
.imse-indicator-card__ticker {
    font-family: var(--imse-font-mono); font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.10em; color: var(--imse-slate-500); font-weight: 600;
}
.imse-indicator-card__delta {
    font-family: var(--imse-font-mono); font-size: 12px; font-weight: 700;
    padding: 2px 6px; border-radius: 3px; letter-spacing: 0.02em;
}
.imse-indicator-card__delta--up { color: var(--imse-emerald); background: var(--imse-emerald-soft); }
.imse-indicator-card__delta--down { color: var(--imse-burgundy); background: var(--imse-burgundy-soft); }
.imse-indicator-card__delta--neutral { color: var(--imse-amber); background: rgba(217, 119, 6, 0.12); }
.imse-indicator-card__value {
    font-family: var(--imse-font-headline); font-size: 28px; font-weight: 700;
    color: var(--imse-navy); line-height: 1.1; letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.imse-indicator-card__chart { width: 100%; height: 56px; margin-bottom: 12px; }
.imse-spark-canvas { width: 100% !important; height: 56px !important; }
.imse-indicator-card__meta {
    display: flex; flex-direction: column; gap: 4px;
    font-family: var(--imse-font-mono); font-size: 10px;
    color: var(--imse-slate-500); letter-spacing: 0.02em;
}
.imse-indicator-card__range { font-weight: 600; }
.imse-indicator-card__sub { color: var(--imse-slate-400); }
.imse-indicators-disclaimer {
    margin-top: 24px; font-family: var(--imse-font-mono);
    font-size: 11px; color: var(--imse-slate-500);
    text-align: center; letter-spacing: 0.02em;
}

/* ---------- 7. Featured analysis ---------- */
.imse-featured { background: var(--imse-cream); padding: 72px 0; }
.imse-featured-layout { max-width: var(--imse-max-w); margin: 0 auto; padding: 0 24px; }
.imse-featured-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
}
.imse-featured-card {
    background: var(--imse-cream-paper); border: 1px solid var(--imse-cream-edge);
    border-radius: var(--imse-radius-lg); overflow: hidden;
    display: flex; flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.imse-featured-card:hover { box-shadow: var(--imse-shadow-lg); transform: translateY(-3px); }
.imse-featured-card__chart {
    background: var(--imse-white); padding: 18px;
    border-bottom: 1px solid var(--imse-cream-edge); min-height: 220px;
}
.imse-featured-canvas { width: 100% !important; height: 180px !important; }
.imse-featured-card__chart-source {
    font-family: var(--imse-font-mono); font-size: 10px;
    color: var(--imse-slate-500); margin: 8px 0 0; letter-spacing: 0.02em;
}
.imse-featured-card__body { padding: 20px 22px 22px; flex: 1; }
.imse-featured-card__category {
    display: inline-block;
    font-family: var(--imse-font-mono); font-size: 10px;
    text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--imse-emerald); background: var(--imse-emerald-soft);
    padding: 4px 10px; border-radius: 3px; margin-bottom: 12px; font-weight: 600;
}
.imse-featured-card__title {
    font-family: var(--imse-font-headline); font-size: 22px; line-height: 1.22;
    font-weight: 700; color: var(--imse-navy); margin: 0 0 12px;
    letter-spacing: -0.01em;
}
.imse-featured-card__title a { color: inherit; }
.imse-featured-card__title a:hover { color: var(--imse-emerald); text-decoration: none; }
.imse-featured-card__thesis {
    font-family: var(--imse-font-body); font-size: 15px; line-height: 1.55;
    color: var(--imse-slate-700); margin: 0 0 16px;
}
.imse-featured-card__meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
    font-family: var(--imse-font-ui); font-size: 12px; color: var(--imse-slate-500);
}
.imse-featured-card__byline strong { color: var(--imse-navy); }
.imse-featured-card__divider { color: var(--imse-slate-300); }
.imse-featured-card__read { font-family: var(--imse-font-mono); }
.imse-featured-card__sources { font-family: var(--imse-font-mono); }

/* ---------- 8. Sources rail ---------- */
.imse-sources-rail {
    background: var(--imse-cream-paper); padding: 56px 0;
    border-top: 1px solid var(--imse-cream-edge);
}
.imse-sources-rail-layout { max-width: var(--imse-max-w); margin: 0 auto; padding: 0 24px; }
.imse-sources-list {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.imse-sources-item {
    display: flex; align-items: flex-start; gap: 12px;
    background: var(--imse-cream); padding: 14px 16px;
    border: 1px solid var(--imse-cream-edge); border-radius: var(--imse-radius);
}
.imse-sources-tag {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 22px; padding: 0 8px;
    background: var(--imse-navy); color: var(--imse-gold);
    font-family: var(--imse-font-mono); font-size: 10px; font-weight: 700;
    letter-spacing: 0.10em; border-radius: 3px;
}
.imse-sources-link {
    font-family: var(--imse-font-ui); font-size: 13px; line-height: 1.45;
    color: var(--imse-navy); font-weight: 500;
}
.imse-sources-link:hover { color: var(--imse-emerald); }
.imse-sources-disclaimer {
    margin-top: 18px; font-family: var(--imse-font-mono); font-size: 11px;
    color: var(--imse-slate-500); letter-spacing: 0.02em;
}

/* ---------- 9. Quote pull dropcap ---------- */
.imse-quote-pull { background: var(--imse-cream); padding: 80px 0; }
.imse-quote-pull-layout { max-width: 840px; margin: 0 auto; padding: 0 24px; }
.imse-quote-block {
    margin: 0; padding: 0; position: relative;
    border-left: 3px solid var(--imse-gold); padding-left: 32px;
}
.imse-quote-dropcap {
    font-family: var(--imse-font-headline); font-size: 88px; line-height: 0.85;
    color: var(--imse-navy); font-weight: 700; float: left;
    margin: 6px 14px 0 0; letter-spacing: -0.04em;
}
.imse-quote-body {
    font-family: var(--imse-font-body); font-size: 22px; line-height: 1.5;
    color: var(--imse-charcoal); font-style: italic; font-weight: 400;
}
.imse-quote-cite {
    display: flex; align-items: center; gap: 14px;
    margin-top: 28px; padding-top: 16px;
    border-top: 1px solid var(--imse-cream-edge); font-style: normal;
}
.imse-quote-author-avatar {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--imse-navy); color: var(--imse-gold);
    font-family: var(--imse-font-mono); font-size: 13px; font-weight: 700;
}
.imse-quote-author-block { display: flex; flex-direction: column; }
.imse-quote-author-name {
    font-family: var(--imse-font-headline); font-size: 16px;
    font-weight: 700; color: var(--imse-navy);
}
.imse-quote-author-role {
    font-family: var(--imse-font-ui); font-size: 12px;
    color: var(--imse-slate-500); margin-top: 2px;
}

/* ---------- 10. Archive grid 12 cards ---------- */
.imse-archive-grid {
    background: var(--imse-cream-paper); padding: 72px 0;
    border-top: 1px solid var(--imse-cream-edge);
}
.imse-archive-grid-layout { max-width: var(--imse-max-w); margin: 0 auto; padding: 0 24px; }
.imse-archive-cards {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.imse-archive-card {
    background: var(--imse-cream); border: 1px solid var(--imse-cream-edge);
    border-radius: var(--imse-radius-lg); padding: 20px 22px;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.imse-archive-card:hover { box-shadow: var(--imse-shadow-md); transform: translateY(-2px); }
.imse-archive-card__meta-top {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 12px; gap: 12px;
}
.imse-archive-card__category {
    font-family: var(--imse-font-mono); font-size: 10px; text-transform: uppercase;
    letter-spacing: 0.14em; color: var(--imse-emerald); font-weight: 700;
}
.imse-archive-card__date {
    font-family: var(--imse-font-mono); font-size: 11px; color: var(--imse-slate-500);
}
.imse-archive-card__title {
    font-family: var(--imse-font-headline); font-size: 19px; line-height: 1.25;
    font-weight: 700; color: var(--imse-navy); margin: 0 0 10px;
    letter-spacing: -0.01em;
}
.imse-archive-card__title a { color: inherit; }
.imse-archive-card__title a:hover { color: var(--imse-emerald); text-decoration: none; }
.imse-archive-card__thesis {
    font-family: var(--imse-font-body); font-size: 14px; line-height: 1.55;
    color: var(--imse-slate-700); margin: 0 0 14px;
}
.imse-archive-card__byline {
    display: flex; align-items: center; gap: 8px;
    padding-top: 12px; border-top: 1px solid var(--imse-cream-edge);
}
.imse-archive-card__avatar {
    display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--imse-gold); color: var(--imse-navy);
    font-family: var(--imse-font-mono); font-size: 9px; font-weight: 700;
}
.imse-archive-card__byline-text {
    font-family: var(--imse-font-ui); font-size: 11px; color: var(--imse-slate-500);
}
.imse-archive-card__byline-text strong { color: var(--imse-navy); font-weight: 600; }
.imse-archive-pagination { margin-top: 32px; text-align: center; }
.imse-archive-pagination-cta {
    display: inline-flex; align-items: center; gap: 6px; padding: 12px 24px;
    background: var(--imse-navy); color: var(--imse-cream);
    font-family: var(--imse-font-ui); font-weight: 600; font-size: 13px;
    letter-spacing: 0.06em; text-transform: uppercase;
    border-radius: var(--imse-radius);
}
.imse-archive-pagination-cta:hover {
    background: var(--imse-emerald); color: var(--imse-cream); text-decoration: none;
}

/* ---------- 11. Author rail E-E-A-T ---------- */
.imse-author-rail { background: var(--imse-cream); padding: 80px 0; }
.imse-author-rail-layout {
    max-width: var(--imse-max-w); margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 280px 1fr; gap: 48px;
    align-items: flex-start;
}
.imse-author-rail__media { position: relative; }
.imse-author-rail__photo {
    position: relative; aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--imse-navy) 0%, var(--imse-navy-soft) 100%);
    border-radius: var(--imse-radius-lg); border: 2px solid var(--imse-gold);
    overflow: hidden; display: flex; align-items: center; justify-content: center;
    box-shadow: var(--imse-shadow-lg);
}
.imse-author-rail__initials {
    font-family: var(--imse-font-headline); font-size: 96px;
    font-weight: 700; color: var(--imse-gold); letter-spacing: -0.02em;
}
.imse-author-rail__photo-note {
    position: absolute; bottom: 8px; left: 8px; right: 8px;
    text-align: center; font-family: var(--imse-font-mono);
    font-size: 9px; color: var(--imse-slate-300); letter-spacing: 0.04em;
}
.imse-author-rail__body { display: flex; flex-direction: column; gap: 14px; }
.imse-author-rail__eyebrow {
    font-family: var(--imse-font-mono); font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.18em; color: var(--imse-emerald); font-weight: 600;
}
.imse-author-rail__name {
    font-family: var(--imse-font-headline); font-size: 36px; line-height: 1.1;
    font-weight: 700; color: var(--imse-navy); margin: 0; letter-spacing: -0.02em;
}
.imse-author-rail__role {
    font-family: var(--imse-font-body); font-size: 16px;
    color: var(--imse-slate-700); margin: 0; font-style: italic;
}
.imse-author-rail__bio {
    font-family: var(--imse-font-body); font-size: 16px; line-height: 1.6;
    color: var(--imse-charcoal); margin: 0;
}
.imse-author-rail__credentials {
    list-style: none; padding: 0; margin: 4px 0 0;
    display: flex; flex-direction: column; gap: 6px;
}
.imse-author-rail__credentials li {
    font-family: var(--imse-font-body); font-size: 14px;
    color: var(--imse-slate-700); padding-left: 22px; position: relative;
}
.imse-author-rail__credentials li::before {
    content: "-"; position: absolute; left: 0;
    color: var(--imse-gold); font-weight: 700;
}
.imse-author-rail__stats {
    display: flex; gap: 28px; padding: 16px 0;
    border-top: 1px solid var(--imse-cream-edge);
    border-bottom: 1px solid var(--imse-cream-edge);
    margin: 8px 0; flex-wrap: wrap;
}
.imse-author-rail__stat { display: flex; flex-direction: column; }
.imse-author-rail__stat-value {
    font-family: var(--imse-font-headline); font-size: 28px;
    font-weight: 700; color: var(--imse-navy); line-height: 1;
    letter-spacing: -0.02em;
}
.imse-author-rail__stat-label {
    font-family: var(--imse-font-mono); font-size: 10px;
    text-transform: uppercase; letter-spacing: 0.10em;
    color: var(--imse-slate-500); margin-top: 4px;
}
.imse-author-rail__social {
    display: flex; flex-wrap: wrap; gap: 14px;
}
.imse-author-rail__social a {
    font-family: var(--imse-font-ui); font-size: 13px;
    color: var(--imse-emerald); font-weight: 500;
    padding: 6px 0; border-bottom: 1px solid transparent;
}
.imse-author-rail__social a:hover {
    color: var(--imse-navy); border-bottom-color: var(--imse-gold);
    text-decoration: none;
}

/* ---------- 12. Trust strip ---------- */
.imse-trust-strip {
    background: var(--imse-cream-paper); padding: 48px 0;
    border-top: 1px solid var(--imse-cream-edge);
    border-bottom: 1px solid var(--imse-cream-edge);
}
.imse-trust-strip-layout {
    max-width: var(--imse-max-w); margin: 0 auto; padding: 0 24px;
    text-align: center;
}
.imse-trust-strip__label {
    font-family: var(--imse-font-mono); font-size: 11px;
    text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--imse-slate-500); margin: 0 0 18px;
}
.imse-trust-strip__list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 28px; align-items: center;
}
.imse-trust-strip__item {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.imse-trust-strip__mono {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 56px; height: 32px; padding: 0 12px;
    background: var(--imse-navy); color: var(--imse-cream);
    font-family: var(--imse-font-headline); font-size: 14px;
    font-weight: 700; letter-spacing: 0.05em; border-radius: 3px;
}
.imse-trust-strip__name {
    font-family: var(--imse-font-mono); font-size: 10px;
    text-transform: uppercase; letter-spacing: 0.10em;
    color: var(--imse-slate-500);
}
.imse-trust-strip__note {
    margin: 16px 0 0; font-family: var(--imse-font-mono);
    font-size: 10px; color: var(--imse-slate-400);
    letter-spacing: 0.02em; font-style: italic;
}

/* ---------- 13. Newsletter premium hero ---------- */
.imse-newsletter-hero {
    background: var(--imse-cream-paper); padding: 80px 0;
    border-top: 1px solid var(--imse-cream-edge);
}
.imse-newsletter-hero-layout {
    max-width: 1000px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 200px 1fr; gap: 40px;
    align-items: center;
    background: var(--imse-cream); border: 1px solid var(--imse-cream-edge);
    border-left: 4px solid var(--imse-gold); border-radius: var(--imse-radius-lg);
    padding: 48px; box-shadow: var(--imse-shadow-md);
}
.imse-newsletter-hero__media { display: flex; justify-content: center; }
.imse-newsletter-hero__avatar {
    display: inline-flex; align-items: center; justify-content: center;
    width: 140px; height: 140px; border-radius: 50%;
    background: linear-gradient(135deg, var(--imse-navy) 0%, var(--imse-navy-soft) 100%);
    color: var(--imse-gold); font-family: var(--imse-font-headline);
    font-size: 56px; font-weight: 700; letter-spacing: -0.02em;
    border: 3px solid var(--imse-gold);
}
.imse-newsletter-hero__body { display: flex; flex-direction: column; gap: 14px; }
.imse-newsletter-hero__eyebrow {
    font-family: var(--imse-font-mono); font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.18em; color: var(--imse-emerald); font-weight: 600;
}
.imse-newsletter-hero__headline {
    font-family: var(--imse-font-headline); font-size: 32px; line-height: 1.15;
    font-weight: 700; color: var(--imse-navy); margin: 0; letter-spacing: -0.02em;
}
.imse-newsletter-hero__subhead {
    font-family: var(--imse-font-body); font-size: 16px;
    color: var(--imse-slate-700); margin: 0; line-height: 1.55;
}
.imse-newsletter-hero__features {
    list-style: none; padding: 0; margin: 4px 0;
    display: flex; flex-direction: column; gap: 6px;
}
.imse-newsletter-hero__features li {
    font-family: var(--imse-font-body); font-size: 14px;
    color: var(--imse-charcoal); padding-left: 22px; position: relative;
}
.imse-newsletter-hero__features li::before {
    content: "+"; position: absolute; left: 0;
    color: var(--imse-emerald); font-weight: 700;
}
.imse-newsletter-hero__form {
    display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px;
}
.imse-newsletter-hero__label { position: absolute; left: -9999px; }
.imse-newsletter-hero__input {
    flex: 1; min-width: 200px; padding: 12px 16px;
    border: 1px solid var(--imse-cream-edge); border-radius: var(--imse-radius);
    font-family: var(--imse-font-ui); font-size: 14px;
    color: var(--imse-navy); background: var(--imse-white);
    transition: border-color 0.18s ease;
}
.imse-newsletter-hero__input:focus {
    outline: none; border-color: var(--imse-emerald);
    box-shadow: 0 0 0 3px var(--imse-emerald-soft);
}
.imse-newsletter-hero__cta {
    padding: 12px 24px; background: var(--imse-gold);
    color: var(--imse-navy); font-family: var(--imse-font-ui);
    font-weight: 600; font-size: 14px; letter-spacing: 0.04em;
    border: 1px solid var(--imse-gold); border-radius: var(--imse-radius);
    transition: background 0.18s ease;
}
.imse-newsletter-hero__cta:hover {
    background: var(--imse-navy); color: var(--imse-cream);
    border-color: var(--imse-navy);
}
.imse-newsletter-hero__promise {
    font-family: var(--imse-font-mono); font-size: 11px;
    color: var(--imse-slate-500); margin: 6px 0 0;
    letter-spacing: 0.02em; line-height: 1.5;
}
.imse-newsletter { background: var(--imse-cream-paper); }
.imse-news-email { display: none; }

/* ---------- 14. Methodology strip pillars ---------- */
.imse-methodology-strip {
    background: var(--imse-cream); padding: 72px 0;
    border-top: 1px solid var(--imse-cream-edge);
}
.imse-methodology-strip-layout { max-width: var(--imse-max-w); margin: 0 auto; padding: 0 24px; }
.imse-methodology-pillars {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.imse-methodology-pillar {
    background: var(--imse-cream-paper); border: 1px solid var(--imse-cream-edge);
    border-radius: var(--imse-radius-lg); padding: 24px; position: relative;
    transition: border-color 0.18s ease;
}
.imse-methodology-pillar:hover { border-color: var(--imse-gold); }
.imse-methodology-pillar__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; background: var(--imse-navy);
    color: var(--imse-gold); font-family: var(--imse-font-mono);
    font-size: 13px; font-weight: 700; border-radius: 3px;
    margin-bottom: 14px;
}
.imse-methodology-pillar__label {
    font-family: var(--imse-font-headline); font-size: 18px; font-weight: 700;
    color: var(--imse-navy); margin: 0 0 8px; letter-spacing: -0.01em;
}
.imse-methodology-pillar__desc {
    font-family: var(--imse-font-body); font-size: 14px; line-height: 1.55;
    color: var(--imse-slate-700); margin: 0;
}
.imse-methodology-strip__cta { margin: 24px 0 0; text-align: center; }
.imse-methodology-strip__cta a {
    font-family: var(--imse-font-ui); font-size: 14px;
    font-weight: 600; color: var(--imse-emerald);
    letter-spacing: 0.04em;
}

/* ---------- 15. Single article ---------- */
.imse-single { background: var(--imse-cream); padding: 56px 0 96px; }
.imse-single__header {
    max-width: var(--imse-max-w-reading); margin: 0 auto 36px; padding: 0 24px;
}
.imse-single__meta-top {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 18px; flex-wrap: wrap;
}
.imse-single__category {
    font-family: var(--imse-font-mono); font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.14em; color: var(--imse-emerald);
    background: var(--imse-emerald-soft); padding: 4px 10px;
    border-radius: 3px; font-weight: 700;
}
.imse-single__date {
    font-family: var(--imse-font-mono); font-size: 12px; color: var(--imse-slate-500);
}
.imse-single__title {
    font-family: var(--imse-font-headline);
    font-size: clamp(32px, 4.2vw, 48px); line-height: 1.1; font-weight: 700;
    color: var(--imse-navy); letter-spacing: -0.02em; margin: 0 0 16px;
}
.imse-single__excerpt {
    font-family: var(--imse-font-body); font-size: 19px; line-height: 1.55;
    color: var(--imse-slate-700); margin: 0 0 24px;
}
.imse-single__byline {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 0;
    border-top: 1px solid var(--imse-cream-edge);
    border-bottom: 1px solid var(--imse-cream-edge);
}
.imse-single__byline-avatar {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--imse-gold); color: var(--imse-navy);
    font-family: var(--imse-font-mono); font-size: 13px; font-weight: 700;
}
.imse-single__byline-text {
    font-family: var(--imse-font-ui); font-size: 13px; color: var(--imse-slate-700);
}
.imse-single__byline-text strong { color: var(--imse-navy); font-weight: 600; }
.imse-single__content {
    max-width: var(--imse-max-w-reading); margin: 0 auto; padding: 0 24px;
    font-family: var(--imse-font-body); font-size: 18px; line-height: 1.75;
    color: var(--imse-charcoal);
}
.imse-single__content p { margin: 0 0 28px; }
.imse-single__content h2 {
    font-family: var(--imse-font-headline); font-size: 28px; line-height: 1.2;
    color: var(--imse-navy); margin: 48px 0 16px; letter-spacing: -0.01em;
}
.imse-single__content h3 {
    font-family: var(--imse-font-headline); font-size: 22px; line-height: 1.25;
    color: var(--imse-navy); margin: 36px 0 12px;
}
.imse-single__content blockquote {
    border-left: 3px solid var(--imse-gold);
    padding: 8px 0 8px 24px; margin: 28px 0;
    color: var(--imse-slate-700); font-style: italic; font-size: 19px;
}
.imse-single__content code {
    font-family: var(--imse-font-mono); font-size: 14px;
    background: var(--imse-cream-paper); padding: 2px 6px; border-radius: 3px;
}
.imse-single__content ul, .imse-single__content ol { margin: 0 0 28px; }
.imse-single__content li { margin-bottom: 6px; }
.imse-single__content a {
    color: var(--imse-emerald); border-bottom: 1px solid var(--imse-emerald-soft);
}
.imse-single__content a:hover { border-bottom-color: var(--imse-emerald); }
.imse-single__content > p:first-of-type::first-letter {
    font-family: var(--imse-font-headline); font-size: 72px; line-height: 0.85;
    float: left; color: var(--imse-navy); margin: 8px 12px 0 0;
    font-weight: 700; letter-spacing: -0.04em;
}

/* Verdict box */
.imse-single__verdict {
    max-width: var(--imse-max-w-reading); margin: 48px auto 0;
    padding: 24px 28px; background: var(--imse-navy);
    color: var(--imse-cream); border-radius: var(--imse-radius-lg);
    border-left: 4px solid var(--imse-gold);
}
.imse-single__verdict-title {
    font-family: var(--imse-font-mono); font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.16em; color: var(--imse-gold);
    margin: 0 0 10px; font-weight: 700;
}
.imse-single__verdict-note {
    font-family: var(--imse-font-body); font-size: 16px; line-height: 1.55;
    color: var(--imse-cream); margin: 0;
}
.imse-single__disclaimer {
    max-width: var(--imse-max-w-reading); margin: 32px auto 0;
    padding: 16px 20px; background: var(--imse-cream-paper);
    border-left: 3px solid var(--imse-burgundy);
    border-radius: 0 var(--imse-radius) var(--imse-radius) 0;
    font-family: var(--imse-font-mono); font-size: 11px;
    line-height: 1.55; color: var(--imse-slate-700);
}
.imse-single__author {
    max-width: var(--imse-max-w-reading); margin: 56px auto 0;
    padding: 28px; background: var(--imse-cream-paper);
    border-radius: var(--imse-radius-lg);
    border: 1px solid var(--imse-cream-edge);
    display: grid; grid-template-columns: 96px 1fr; gap: 20px;
    align-items: flex-start;
}
.imse-single__author-photo {
    width: 96px; height: 96px; border-radius: 50%;
    background: linear-gradient(135deg, var(--imse-navy) 0%, var(--imse-navy-soft) 100%);
    color: var(--imse-gold); display: inline-flex;
    align-items: center; justify-content: center;
    font-family: var(--imse-font-headline); font-size: 36px;
    font-weight: 700; border: 2px solid var(--imse-gold);
}
.imse-single__author-body { display: flex; flex-direction: column; gap: 8px; }
.imse-single__author-name {
    font-family: var(--imse-font-headline); font-size: 20px;
    color: var(--imse-navy); margin: 0; font-weight: 700;
}
.imse-single__author-bio {
    font-family: var(--imse-font-body); font-size: 14px;
    color: var(--imse-slate-700); margin: 0; line-height: 1.55;
}
.imse-single__author-credentials {
    list-style: none; padding: 0; margin: 4px 0 0;
    display: flex; flex-direction: column; gap: 4px;
    font-family: var(--imse-font-mono); font-size: 11px;
    color: var(--imse-slate-700);
}
.imse-single__author-credentials li::before {
    content: "- "; color: var(--imse-gold);
}
.imse-single__author-links {
    margin-top: 8px; display: flex; gap: 14px; flex-wrap: wrap;
}
.imse-single__author-links a {
    font-family: var(--imse-font-ui); font-size: 12px;
    font-weight: 600; color: var(--imse-emerald);
}

/* ---------- 16. Archive (page-analyses + archive.php) ---------- */
.imse-archive-layout { background: var(--imse-cream); padding: 56px 0 80px; }
.imse-archive-header {
    max-width: var(--imse-max-w); margin: 0 auto 32px; padding: 0 24px;
}
.imse-archive-title {
    font-family: var(--imse-font-headline);
    font-size: clamp(32px, 4vw, 44px); color: var(--imse-navy);
    margin: 0 0 8px; letter-spacing: -0.02em; font-weight: 700;
}
.imse-archive-desc {
    font-family: var(--imse-font-body); font-size: 16px;
    color: var(--imse-slate-700); margin: 0; max-width: 680px;
}
.imse-analyses-cats {
    max-width: var(--imse-max-w); margin: 16px auto 0; padding: 0 24px;
    display: flex; flex-wrap: wrap; gap: 8px;
}
.imse-analyses-cats__chip {
    display: inline-flex; align-items: center;
    padding: 6px 14px; background: var(--imse-cream-paper);
    border: 1px solid var(--imse-cream-edge); border-radius: 999px;
    font-family: var(--imse-font-mono); font-size: 11px;
    text-transform: uppercase; letter-spacing: 0.10em;
    color: var(--imse-navy); font-weight: 600;
    transition: background 0.18s ease;
}
.imse-analyses-cats__chip:hover {
    background: var(--imse-emerald); color: var(--imse-cream);
    border-color: var(--imse-emerald); text-decoration: none;
}

/* ---------- 17. Static pages ---------- */
.imse-page { background: var(--imse-cream); padding: 56px 0 96px; }
.imse-page__header {
    max-width: var(--imse-max-w-reading); margin: 0 auto 32px; padding: 0 24px;
}
.imse-page__eyebrow {
    font-family: var(--imse-font-mono); font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.18em; color: var(--imse-emerald);
    margin: 0 0 10px; font-weight: 600;
}
.imse-page__title {
    font-family: var(--imse-font-headline);
    font-size: clamp(32px, 4.4vw, 48px); color: var(--imse-navy);
    margin: 0 0 14px; letter-spacing: -0.02em;
    font-weight: 700; line-height: 1.1;
}
.imse-page__lede {
    font-family: var(--imse-font-body); font-size: 18px; line-height: 1.6;
    color: var(--imse-slate-700); margin: 0;
}
.imse-page__content {
    max-width: var(--imse-max-w-reading); margin: 0 auto; padding: 0 24px;
    font-family: var(--imse-font-body); font-size: 17px; line-height: 1.7;
    color: var(--imse-charcoal);
}
.imse-page__content p { margin: 0 0 22px; }
.imse-page__content h2 {
    font-family: var(--imse-font-headline); font-size: 26px;
    color: var(--imse-navy); margin: 40px 0 14px; letter-spacing: -0.01em;
}
.imse-page__content h3 {
    font-family: var(--imse-font-headline); font-size: 20px;
    color: var(--imse-navy); margin: 30px 0 10px;
}
.imse-page__content ul, .imse-page__content ol { margin: 0 0 22px; }
.imse-page__content a {
    color: var(--imse-emerald); border-bottom: 1px solid var(--imse-emerald-soft);
}
.imse-page__pillars { margin: 32px 0; }
.imse-page__corrections {
    margin: 32px 0; padding: 20px 24px;
    background: var(--imse-cream-paper);
    border-left: 3px solid var(--imse-gold);
    border-radius: 0 var(--imse-radius) var(--imse-radius) 0;
}
.imse-page--legal .imse-page__content { font-size: 15px; }

.imse-about__photo {
    width: 180px; height: 180px; border-radius: 50%;
    background: linear-gradient(135deg, var(--imse-navy) 0%, var(--imse-navy-soft) 100%);
    border: 3px solid var(--imse-gold);
    display: inline-flex; align-items: center; justify-content: center;
    margin: 0 0 28px; box-shadow: var(--imse-shadow-md); position: relative;
}
.imse-about__initials {
    font-family: var(--imse-font-headline); font-size: 64px;
    font-weight: 700; color: var(--imse-gold); letter-spacing: -0.02em;
}
.imse-about__photo-note {
    position: absolute; bottom: -22px; left: 0; right: 0;
    text-align: center; font-family: var(--imse-font-mono);
    font-size: 9px; color: var(--imse-slate-500); letter-spacing: 0.04em;
}

/* Contact */
.imse-contact-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
    margin-top: 24px;
}
.imse-contact-block {
    background: var(--imse-cream-paper); border: 1px solid var(--imse-cream-edge);
    border-radius: var(--imse-radius-lg); padding: 24px;
}
.imse-contact-block h3 {
    font-family: var(--imse-font-headline); font-size: 18px;
    color: var(--imse-navy); margin: 0 0 10px;
}
.imse-contact-cta {
    display: inline-flex; align-items: center;
    padding: 10px 18px; background: var(--imse-navy);
    color: var(--imse-cream); font-family: var(--imse-font-ui);
    font-weight: 600; font-size: 13px; letter-spacing: 0.04em;
    border-radius: var(--imse-radius); margin-top: 12px;
}
.imse-contact-cta:hover {
    background: var(--imse-emerald); color: var(--imse-cream); text-decoration: none;
}
.imse-contact-note {
    font-family: var(--imse-font-mono); font-size: 11px;
    color: var(--imse-slate-500); margin-top: 12px; letter-spacing: 0.02em;
}

/* ---------- 18. Site footer ---------- */
.imse-site-footer {
    background: var(--imse-navy-deep);
    color: var(--imse-cream);
    padding: 64px 0 28px;
    position: relative;
}
.imse-site-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--imse-emerald) 0%, var(--imse-gold) 50%, var(--imse-burgundy) 100%);
}
.imse-footer-layout {
    max-width: var(--imse-max-w); margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.imse-footer-col { display: flex; flex-direction: column; gap: 12px; }
.imse-footer-col--brand { max-width: 380px; }
.imse-footer-heading {
    font-family: var(--imse-font-mono); font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.16em; color: var(--imse-gold);
    margin: 0 0 8px; font-weight: 700;
}
.imse-footer-col--brand .imse-footer-heading {
    font-family: var(--imse-font-headline); font-size: 22px;
    color: var(--imse-cream); text-transform: none;
    letter-spacing: -0.01em; margin-bottom: 8px;
}
.imse-footer-desc {
    font-family: var(--imse-font-body); font-size: 14px; line-height: 1.6;
    color: rgba(250, 250, 247, 0.74); margin: 0 0 14px;
}
.imse-footer-social {
    display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px;
}
.imse-footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    background: rgba(244, 163, 64, 0.12);
    color: var(--imse-gold);
    font-family: var(--imse-font-mono); font-size: 11px; font-weight: 700;
    border-radius: 3px; letter-spacing: 0.04em;
    border: 1px solid rgba(244, 163, 64, 0.32);
    transition: background 0.18s ease;
}
.imse-footer-social a:hover {
    background: var(--imse-gold); color: var(--imse-navy); text-decoration: none;
}
.imse-footer-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 8px;
}
.imse-footer-list li a {
    font-family: var(--imse-font-ui); font-size: 13px;
    color: rgba(250, 250, 247, 0.74);
    transition: color 0.18s ease;
}
.imse-footer-list li a:hover { color: var(--imse-gold); text-decoration: none; }
.imse-footer-hoguet,
.imse-footer-methodology,
.imse-footer-affiliate {
    max-width: var(--imse-max-w); margin: 16px auto 0;
    padding: 14px 24px;
    font-family: var(--imse-font-mono); font-size: 11px; line-height: 1.6;
    color: rgba(250, 250, 247, 0.62);
    border-top: 1px solid rgba(244, 163, 64, 0.16);
}
.imse-footer-hoguet strong,
.imse-footer-methodology strong,
.imse-footer-affiliate strong {
    color: var(--imse-gold); font-weight: 700;
}
.imse-footer-hoguet {
    background: rgba(244, 163, 64, 0.06);
    border-radius: var(--imse-radius);
    border-left: 3px solid var(--imse-gold);
    border-top: none;
    color: rgba(250, 250, 247, 0.78);
}
.imse-footer-bottom {
    max-width: var(--imse-max-w); margin: 24px auto 0;
    padding: 18px 24px 0;
    border-top: 1px solid rgba(244, 163, 64, 0.16);
    text-align: center;
}
.imse-footer-bottom p {
    font-family: var(--imse-font-mono); font-size: 11px;
    color: rgba(250, 250, 247, 0.52);
    margin: 0; letter-spacing: 0.04em;
}

/* ---------- 19. Generic chart + reveal animations ---------- */
.imse-chart { width: 100%; }
.imse-reveal {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.imse-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- 20. Responsive breakpoints ---------- */
@media (max-width: 1024px) {
    .imse-hero-slide-layout { grid-template-columns: 1fr; gap: 32px; }
    .imse-featured-grid { grid-template-columns: repeat(2, 1fr); }
    .imse-indicators-grid { grid-template-columns: repeat(2, 1fr); }
    .imse-archive-cards { grid-template-columns: repeat(2, 1fr); }
    .imse-methodology-pillars { grid-template-columns: repeat(2, 1fr); }
    .imse-sources-list { grid-template-columns: 1fr; }
    .imse-author-rail-layout { grid-template-columns: 220px 1fr; gap: 32px; }
    .imse-footer-layout { grid-template-columns: 1fr 1fr; gap: 32px; }
    .imse-footer-col--brand { grid-column: 1 / -1; max-width: none; }
    .imse-newsletter-hero-layout {
        grid-template-columns: 1fr; padding: 32px 24px; text-align: center;
    }
}

@media (max-width: 720px) {
    body.imse-theme { font-size: 16px; }
    .imse-header-layout {
        grid-template-columns: auto auto; grid-template-rows: auto auto;
        gap: 12px; padding: 12px 16px;
    }
    .imse-hoguet-strip { font-size: 10px; padding: 6px 12px; gap: 6px; }
    .imse-primary-nav { grid-column: 1 / -1; order: 3; }
    .imse-menu { gap: 16px; justify-content: flex-start; flex-wrap: wrap; }
    .imse-menu li a { font-size: 12px; }
    .imse-newsletter-cta { padding: 7px 12px; font-size: 11px; }
    .imse-brand-name { font-size: 17px; }
    .imse-brand-sub { font-size: 9px; }
    .imse-hero-thesis { padding: 36px 0 44px; }
    .imse-hero-thesis-layout, .imse-indicators-layout, .imse-featured-layout,
    .imse-sources-rail-layout, .imse-quote-pull-layout, .imse-archive-grid-layout,
    .imse-trust-strip-layout, .imse-newsletter-hero-layout,
    .imse-methodology-strip-layout, .imse-author-rail-layout, .imse-footer-layout {
        padding-left: 16px; padding-right: 16px;
    }
    .imse-hero-eyebrow-row { flex-direction: column; align-items: flex-start; gap: 6px; }
    .imse-hero-eyebrow-meta { font-size: 10px; }
    .imse-hero-headline { font-size: clamp(26px, 7vw, 32px); }
    .imse-hero-thesis-line { font-size: 16px; }
    .imse-hero-rotator { min-height: auto; }
    .imse-hero-slide { position: relative; }
    .imse-hero-slide:not(.imse-hero-slide--active) { display: none; }
    .imse-indicators-grid { grid-template-columns: 1fr; }
    .imse-featured-grid { grid-template-columns: 1fr; }
    .imse-archive-cards { grid-template-columns: 1fr; }
    .imse-methodology-pillars { grid-template-columns: 1fr; }
    .imse-author-rail-layout { grid-template-columns: 1fr; gap: 24px; }
    .imse-author-rail__photo { max-width: 200px; margin: 0 auto; }
    .imse-author-rail__name { font-size: 28px; }
    .imse-author-rail__stats { gap: 18px; }
    .imse-footer-layout { grid-template-columns: 1fr; gap: 28px; }
    .imse-quote-dropcap { font-size: 64px; }
    .imse-quote-body { font-size: 18px; }
    .imse-newsletter-hero-layout { padding: 28px 20px; }
    .imse-newsletter-hero__avatar { width: 96px; height: 96px; font-size: 40px; }
    .imse-newsletter-hero__headline { font-size: 24px; }
    .imse-single__title { font-size: clamp(26px, 7vw, 34px); }
    .imse-single__content { font-size: 16px; line-height: 1.7; padding: 0 16px; }
    .imse-single__header { padding: 0 16px; }
    .imse-single__verdict {
        margin-left: 16px; margin-right: 16px; padding: 20px;
    }
    .imse-single__author {
        grid-template-columns: 1fr; gap: 14px;
        margin-left: 16px; margin-right: 16px; padding: 20px;
    }
    .imse-single__author-photo { margin: 0 0 8px; }
    .imse-page__header, .imse-page__content { padding: 0 16px; }
    .imse-contact-grid { grid-template-columns: 1fr; }
    .imse-trust-strip__list { gap: 18px; }
}

@media (max-width: 420px) {
    .imse-hero-eyebrow { font-size: 10px; }
    .imse-hero-category { font-size: 10px; padding: 4px 9px; }
    .imse-indicator-card { padding: 16px; }
    .imse-indicator-card__value { font-size: 24px; }
    .imse-section-title { font-size: 26px; }
    .imse-author-rail__initials { font-size: 72px; }
    .imse-quote-pull { padding: 56px 0; }
    .imse-quote-block { padding-left: 20px; }
    .imse-quote-dropcap { font-size: 56px; margin-right: 10px; }
}

/* ---------- 21. Print + reduce motion + focus ring ---------- */
@media print {
    .imse-site-header, .imse-site-footer, .imse-newsletter-hero,
    .imse-newsletter-cta, .imse-archive-pagination { display: none; }
    body.imse-theme { color: #000; background: #fff; }
    a { color: #000; text-decoration: underline; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .imse-reveal { opacity: 1; transform: none; }
}

:focus-visible {
    outline: 2px solid var(--imse-gold);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ---------- 22. 404 page + search form ---------- */
.imse-404-layout {
    max-width: 720px; margin: 0 auto;
    padding: 80px 24px 96px; text-align: center;
}
.imse-404-title {
    font-family: var(--imse-font-headline);
    font-size: clamp(36px, 5vw, 56px);
    color: var(--imse-navy);
    margin: 0 0 14px;
    letter-spacing: -0.02em;
    font-weight: 700;
}
.imse-404-desc {
    font-family: var(--imse-font-body);
    font-size: 17px;
    color: var(--imse-slate-700);
    margin: 0 0 28px;
    line-height: 1.6;
}
.imse-404-cta {
    display: flex; justify-content: center; gap: 12px;
    flex-wrap: wrap; margin-bottom: 32px;
}
.imse-404-cta-primary {
    display: inline-flex; align-items: center;
    padding: 11px 22px;
    background: var(--imse-navy); color: var(--imse-cream);
    font-family: var(--imse-font-ui); font-weight: 600; font-size: 13px;
    letter-spacing: 0.06em; text-transform: uppercase;
    border-radius: var(--imse-radius);
}
.imse-404-cta-primary:hover {
    background: var(--imse-emerald); color: var(--imse-cream); text-decoration: none;
}
.imse-404-cta-secondary {
    display: inline-flex; align-items: center;
    padding: 11px 22px;
    background: transparent; color: var(--imse-navy);
    font-family: var(--imse-font-ui); font-weight: 600; font-size: 13px;
    letter-spacing: 0.06em; text-transform: uppercase;
    border: 1px solid var(--imse-navy); border-radius: var(--imse-radius);
}
.imse-404-cta-secondary:hover {
    background: var(--imse-navy); color: var(--imse-cream); text-decoration: none;
}

.imse-searchform { display: block; margin: 24px auto 0; max-width: 520px; }
.imse-searchform__label { position: absolute; left: -9999px; }
.imse-searchform__row {
    display: flex; gap: 8px; flex-wrap: wrap;
}
.imse-searchform__input {
    flex: 1; min-width: 220px; padding: 11px 16px;
    border: 1px solid var(--imse-cream-edge);
    border-radius: var(--imse-radius);
    font-family: var(--imse-font-ui); font-size: 14px;
    color: var(--imse-navy); background: var(--imse-white);
    transition: border-color 0.18s ease;
}
.imse-searchform__input:focus {
    outline: none; border-color: var(--imse-emerald);
    box-shadow: 0 0 0 3px var(--imse-emerald-soft);
}
.imse-searchform__btn {
    padding: 11px 22px;
    background: var(--imse-navy); color: var(--imse-cream);
    font-family: var(--imse-font-ui); font-weight: 600; font-size: 13px;
    border: 1px solid var(--imse-navy); border-radius: var(--imse-radius);
    letter-spacing: 0.04em;
}
.imse-searchform__btn:hover {
    background: var(--imse-emerald); color: var(--imse-cream);
    border-color: var(--imse-emerald);
}

/* ---------- 23. Contact form ---------- */
.imse-contact-form {
    margin: 32px 0 16px;
    padding: 28px;
    background: var(--imse-cream-paper);
    border: 1px solid var(--imse-cream-edge);
    border-left: 4px solid var(--imse-gold);
    border-radius: var(--imse-radius-lg);
    box-shadow: var(--imse-shadow-sm);
}
.imse-contact-form p { margin: 0 0 14px; }
.imse-contact-form label {
    font-family: var(--imse-font-ui); font-size: 13px; font-weight: 600;
    color: var(--imse-navy); letter-spacing: 0.02em;
    display: inline-block; margin-bottom: 6px;
}
.imse-contact-form input[type=text],
.imse-contact-form input[type=email],
.imse-contact-form textarea {
    width: 100%; padding: 11px 14px;
    border: 1px solid var(--imse-cream-edge); border-radius: var(--imse-radius);
    font-family: var(--imse-font-ui); font-size: 14px;
    color: var(--imse-navy); background: var(--imse-white);
    transition: border-color 0.18s ease;
}
.imse-contact-form input:focus,
.imse-contact-form textarea:focus {
    outline: none; border-color: var(--imse-gold);
    box-shadow: 0 0 0 3px var(--imse-gold-soft);
}
.imse-contact-form textarea { resize: vertical; min-height: 120px; }
.imse-contact-form__cta {
    display: inline-flex; align-items: center;
    padding: 12px 28px; background: var(--imse-navy); color: var(--imse-cream);
    font-family: var(--imse-font-ui); font-weight: 600; font-size: 13px;
    letter-spacing: 0.08em; text-transform: uppercase;
    border: 1px solid var(--imse-navy); border-radius: var(--imse-radius);
    cursor: pointer; transition: background 0.18s ease;
}
.imse-contact-form__cta:hover {
    background: var(--imse-gold); color: var(--imse-navy);
    border-color: var(--imse-gold);
}
.imse-contact-form__honeypot {
    position: absolute !important; left: -9999px !important;
    width: 1px; height: 1px; overflow: hidden;
}

/* End of main.css - Immo Seine-Eure FR S106 cobaye #15 */

/* ============================================================================
   S106 P0 anti-recidive p171 visual gate : override v3e-editorial.css
   `body.variant-v3e h1,h2 { color: var(--color-primary); }` ecrase la color
   des h1/h2 dans les sections dark. Fix specificity 0,2,1.
   ============================================================================ */
body.variant-v3e .imse-hero-thesis h1,
body.variant-v3e .imse-hero-thesis h2,
body.variant-v3e .imse-hero-headline,
body.variant-v3e .imse-newsletter-hero h1,
body.variant-v3e .imse-newsletter-hero h2,
body.variant-v3e .imse-newsletter-hero__headline,
body.variant-v3e .imse-footer h1,
body.variant-v3e .imse-footer h2,
body.variant-v3e .imse-hoguet-strip h1,
body.variant-v3e .imse-hoguet-strip h2,
body.variant-v3e .imse-footer-hoguet h1,
body.variant-v3e .imse-footer-hoguet h2 {
    color: var(--imse-cream);
}

/* ============================================================================
   S106 LATE FIXES Julien : sticky header + reduce H1 hero font-size
   ============================================================================ */

/* Sticky header — apply on .imse-header */
.imse-header {
    position: sticky !important;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(245, 235, 217, 0.92) !important;
    box-shadow: 0 1px 8px rgba(15, 34, 54, 0.06);
    transition: box-shadow 0.2s ease;
}
.imse-header[data-scrolled="true"] {
    box-shadow: 0 4px 20px rgba(15, 34, 54, 0.12);
}

/* Reduce H1 hero font-size (Julien feedback : trop gros) */
.imse-hero-headline {
    font-size: clamp(22px, 2.6vw, 36px) !important;
    line-height: 1.18 !important;
}
@media (max-width: 768px) {
    .imse-hero-headline {
        font-size: clamp(20px, 5vw, 28px) !important;
        line-height: 1.20 !important;
    }
}

/* Use real photo Julien (replace placeholder SVG) */
.imse-hero-byline-avatar img,
.imse-author-rail__avatar img {
    object-fit: cover;
    object-position: center top;
}

/* ============================================================================
   S106 FIX Julien — afficher VRAIE photo Julien au lieu de span "JJ" initials
   Pattern : tous les avatars sont des <span>JJ</span> text styled.
   Hack : background-image cover + hide text via color transparent.
   ============================================================================ */
.imse-hero-byline-avatar,
.imse-quote-author-avatar,
.imse-archive-card__avatar,
.imse-author-rail__avatar,
.imse-author-photo,
.imse-byline-avatar {
    background-image: url('../img/julien-jehanno.jpg') !important;
    background-size: cover !important;
    background-position: center 20% !important;
    color: transparent !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    background-color: var(--imse-cream-paper) !important;
}

/* === V7.2.7 — Réseaux sociaux page contact === */
.imse-rs-icons {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
    align-items: center;
}
.imse-rs-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #0F2236;
    color: #F4A340;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(15, 34, 54, 0.15);
}
.imse-rs-icon:hover, .imse-rs-icon:focus {
    background: #F4A340;
    color: #0F2236;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15, 34, 54, 0.25);
}
.imse-rs-icon svg {
    width: 28px;
    height: 28px;
}
@media (max-width: 480px) {
    .imse-rs-icon {
        width: 48px;
        height: 48px;
    }
    .imse-rs-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* === V7.2.13 — Refonte footer 4 colonnes === */
.imse-site-footer--v7213 .imse-footer-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.3fr 1fr;
    gap: 2.5rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 1.5rem 2rem;
}
.imse-site-footer--v7213 .imse-footer-col h3,
.imse-site-footer--v7213 .imse-footer-col h4 {
    color: #F4A340;
    font-family: var(--imse-font-sans, "Inter", sans-serif);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0 0 1.25rem;
}
.imse-site-footer--v7213 .imse-footer-heading--legal {
    margin-top: 2rem;
}
.imse-site-footer--v7213 .imse-footer-col p {
    color: #F5EBD9;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 0.75rem;
}
.imse-site-footer--v7213 .imse-footer-identity-name {
    font-size: 1.05rem;
    color: #fff;
    font-weight: 600;
}
.imse-site-footer--v7213 .imse-footer-identity-status {
    color: rgba(245, 235, 217, 0.85);
}
.imse-site-footer--v7213 .imse-footer-identity-contact a {
    color: #F4A340;
    text-decoration: none;
}
.imse-site-footer--v7213 .imse-footer-identity-contact a:hover {
    text-decoration: underline;
}
.imse-site-footer--v7213 .imse-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.imse-site-footer--v7213 .imse-footer-list li {
    margin: 0 0 0.55rem;
}
.imse-site-footer--v7213 .imse-footer-list a {
    color: rgba(245, 235, 217, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}
.imse-site-footer--v7213 .imse-footer-list a:hover {
    color: #F4A340;
}
.imse-site-footer--v7213 .imse-footer-list--communes {
    columns: 1;
}
.imse-site-footer--v7213 .imse-footer-list__all a {
    color: #F4A340;
    font-weight: 600;
    margin-top: 0.5rem;
    display: inline-block;
}
.imse-site-footer--v7213 .imse-footer-social-icons {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.imse-site-footer--v7213 .imse-rs-icon--footer {
    width: 40px;
    height: 40px;
    background: rgba(244, 163, 64, 0.15);
    color: #F4A340;
}
.imse-site-footer--v7213 .imse-rs-icon--footer:hover {
    background: #F4A340;
    color: #0F2236;
    transform: translateY(-2px);
}
@media (max-width: 968px) {
    .imse-site-footer--v7213 .imse-footer-layout {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}
@media (max-width: 540px) {
    .imse-site-footer--v7213 .imse-footer-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 1rem 1.5rem;
    }
}
