/*
Theme Name: Exit Nuisibles Blog
Template: generatepress
Version: 1.2.2
Description: Theme enfant GeneratePress reprenant la charte de la landing page punaises.exitnuisibles.fr (palette, Outfit + Source Sans 3, CTA).
Author: Sylvain Caron (MayWay)
Text Domain: exit-nuisibles
*/

:root {
  --bg-dark: #0f172a;
  --bg-dark-soft: #1e293b;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-light-teal: #eef2f7;
  --teal-700: #1e3a5f;
  --teal-600: #2d6a9f;
  --teal-50: #eef2f7;
  --cta-call: #dc2626;
  --cta-call-hover: #b91c1c;
  --cta-whatsapp: #25d366;
  --cta-whatsapp-hover: #1ead57;
  --cta-form: #f97316;
  --cta-form-hover: #ea580c;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-on-dark: #f1f5f9;
  --text-on-dark-muted: #94a3b8;
  --gold: #d4a843;
  --gold-light: #f0d078;
  --gold-glow: rgba(212,168,67,.3);
  --badge-bg: #fef3c7;
  --badge-text: #92400e;
  --border-light: #e2e8f0;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --shadow-cta: 0 4px 14px rgba(220,38,38,.35);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --ease: cubic-bezier(.4,0,.2,1);
  --container: 1120px;
  --article: 760px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-white);
}
h1, h2, h3, h4, .site-title {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-top: 2.2em; }
h3 { font-size: 1.3rem; margin-top: 1.8em; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--teal-700); }
.en-container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute; left: -9999px; }

/* ---------- Header (copie de la LP) ---------- */
.en-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.en-header__inner { display: flex; align-items: center; gap: 16px; height: 76px; }
.en-header__logo img { height: 25px; width: auto; display: block; }
.en-header__badge {
  background: var(--badge-bg); color: var(--badge-text);
  font-family: var(--font-heading); font-weight: 600; font-size: .8rem;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.en-header__nav { display: flex; gap: 22px; margin-left: 12px; }
.en-header__nav a { color: var(--text-secondary); font-weight: 600; font-size: .95rem; }
.en-header__nav a:hover { color: var(--teal-700); }
.en-header__phone {
  margin-left: auto;
  background: var(--cta-call); color: #fff !important;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem;
  padding: 10px 18px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-cta); display: flex; flex-direction: column; align-items: center; line-height: 1.1;
  transition: background .2s var(--ease);
}
.en-header__phone:hover { background: var(--cta-call-hover); }
.en-header__free { font-size: .7rem; font-weight: 500; opacity: .9; }
@media (max-width: 767px) {
  .en-header__badge, .en-header__nav { display: none; }
  .en-header__phone { padding: 8px 12px; font-size: .95rem; }
}

/* ---------- Hero blog ---------- */
.en-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--teal-700) 100%);
  color: var(--text-on-dark); padding: 56px 0 48px;
}
.en-hero h1 { color: #fff; margin: 0 0 10px; }
.en-hero p { color: var(--text-on-dark-muted); max-width: 640px; margin: 0; font-size: 1.15rem; }
.en-hero__eyebrow {
  display: inline-block; color: var(--gold); font-family: var(--font-heading);
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin-bottom: 12px;
}

/* ---------- Grille d'articles ---------- */
.en-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px; padding: 48px 0;
}
.en-card {
  background: var(--bg-white); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex; flex-direction: column;
}
.en-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.en-card__thumb { aspect-ratio: 1200/628; background: var(--bg-light-teal); overflow: hidden; }
.en-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.en-card__thumb--empty { display: grid; place-items: center; color: var(--teal-600); font-family: var(--font-heading); font-weight: 700; font-size: 2.4rem; }
.en-card__thumb--empty svg { width: 56px; height: 56px; opacity: .55; }
.en-article__thumb figcaption, .en-card__thumb figcaption { display: none; }
/* Hero de catégorie avec photo réelle (punaises) */
.en-hero--photo { position: relative; overflow: hidden; }
.en-hero--photo .en-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.en-hero--photo .en-container { position: relative; }
@media (min-width: 900px) {
  .en-hero--photo .en-container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
  .en-hero--photo .en-hero__img { position: static; opacity: 1; grid-column: 2; grid-row: 1 / span 6; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 1200/628; height: auto; }
}
.en-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.en-card__cat {
  font-family: var(--font-heading); font-size: .75rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--teal-600);
}
.en-card__title { font-size: 1.25rem; margin: 0; }
.en-card__title a { color: var(--text-primary); }
.en-card__title a:hover { color: var(--teal-600); }
.en-card__excerpt { color: var(--text-secondary); font-size: 1rem; margin: 0; }
.en-card__meta { margin-top: auto; color: var(--text-muted); font-size: .85rem; }

/* ---------- Article ---------- */
.en-article { max-width: var(--article); margin: 0 auto; padding: 40px 20px 64px; }
.en-article__head { margin-bottom: 28px; }
.en-article__head h1 { margin: 8px 0 14px; }
.en-article__meta { color: var(--text-muted); font-size: .95rem; display: flex; gap: 14px; flex-wrap: wrap; }
.en-article__thumb { border-radius: var(--radius-md); overflow: hidden; margin: 24px 0 32px; }
.en-article__thumb img { width: 100%; height: auto; display: block; }
.en-breadcrumb { font-size: .9rem; color: var(--text-muted); margin-bottom: 8px; }
.en-breadcrumb a { color: var(--text-secondary); }
.entry-content p { margin: 0 0 1.3em; }
.entry-content img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin-bottom: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote {
  border-left: 4px solid var(--gold); background: var(--bg-light);
  padding: 16px 22px; margin: 1.6em 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic; color: var(--text-secondary);
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 1rem; }
.entry-content th, .entry-content td { border: 1px solid var(--border-light); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--bg-light-teal); font-family: var(--font-heading); }

/* Sommaire */
.en-toc {
  background: var(--bg-light-teal); border-radius: var(--radius-md);
  padding: 18px 22px; margin: 0 0 32px; font-size: 1rem;
}
.en-toc__title { font-family: var(--font-heading); font-weight: 700; margin: 0 0 8px; font-size: 1rem; }
.en-toc ol { margin: 0; padding-left: 1.2em; }
.en-toc li { margin: 4px 0; }
.en-toc a { color: var(--teal-700); }

/* Encart CTA vers la LP */
.en-cta {
  background: var(--bg-dark); color: var(--text-on-dark);
  border-radius: var(--radius-lg); padding: 30px 30px 26px; margin: 2.6em 0;
  position: relative; overflow: hidden;
}
.en-cta::before {
  content: ""; position: absolute; inset: auto -40px -60px auto; width: 240px; height: 240px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%); pointer-events: none;
}
.en-cta > * { position: relative; }
.en-cta__kicker { color: var(--gold-light); font-family: var(--font-heading); font-weight: 600; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 6px; }
.en-cta__title { font-family: var(--font-heading); font-size: 1.55rem; font-weight: 700; margin: 0 0 8px; color: #fff; line-height: 1.2; }
.en-cta__text { color: var(--text-on-dark-muted); margin: 0 0 18px; font-size: 1.02rem; }
.en-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.en-btn {
  box-sizing: border-box; max-width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-heading); font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: 13px 22px; border-radius: var(--radius-sm); color: #fff !important; border: 0; cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.en-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.en-btn:hover { transform: translateY(-1px); }
.en-btn--sm { padding: 10px 16px; font-size: .95rem; }
.en-btn--form { background: var(--cta-form); }
.en-btn--form:hover { background: var(--cta-form-hover); }
.en-btn--call { background: var(--cta-call); box-shadow: var(--shadow-cta); }
.en-btn--call:hover { background: var(--cta-call-hover); }
.en-btn--whatsapp { background: var(--cta-whatsapp); box-shadow: 0 4px 14px rgba(37,211,102,.3); }
.en-btn--whatsapp:hover { background: var(--cta-whatsapp-hover); }
.en-cta__proof { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--text-on-dark-muted); }
.en-cta__proof li { display: flex; align-items: center; gap: 6px; margin: 0; }
.en-cta__proof svg { width: 16px; height: 16px; color: var(--gold-light); flex-shrink: 0; }
.en-cta__links { margin: 14px 0 0; font-size: .9rem; color: var(--text-on-dark-muted); }
.en-cta__links a { color: var(--gold-light); text-decoration: underline; }

/* Formulaire de rappel (dans les encarts, le quiz) */
.en-form { margin: 20px 0 0; padding: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-md); }
.en-form__title { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; margin: 0 0 2px; color: #fff; }
.en-form__sub { margin: 0 0 12px; font-size: .95rem; color: var(--text-on-dark-muted); }
.en-form__fields { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.en-form__fields input {
  width: 100%; padding: 12px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; background: #fff; color: var(--text-primary);
}
.en-form__fields input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.en-form__btn { white-space: nowrap; }
.en-form__note { margin: 10px 0 0; font-size: .85rem; color: var(--text-on-dark-muted); }
.en-form__error { margin: 0 0 10px; padding: 8px 12px; background: #fee2e2; color: #991b1b; border-radius: var(--radius-sm); font-size: .95rem; font-weight: 600; }
.en-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 640px) {
  .en-cta { padding: 24px 18px 22px; border-radius: var(--radius-md); }
  .en-cta__title { font-size: 1.3rem; }
  .en-cta__actions .en-btn { width: 100%; }
  .en-form__fields { grid-template-columns: 1fr; }
}

/* Réponse rapide (premier écran de l'article) */
.en-quick {
  margin: 18px 0 22px; padding: 18px 20px; border-left: 4px solid var(--cta-call);
  background: var(--bg-light); border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.en-quick__label { margin: 0 0 4px; font-family: var(--font-heading); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cta-call); }
.en-quick__text { margin: 0 0 14px; font-size: 1.08rem; color: var(--text-primary); }
.en-quick__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.en-quick__hint { font-size: .9rem; color: var(--text-secondary); }

/* Quiz punaises */
.en-quiz { margin: 2.2em 0; padding: 26px 28px; border: 2px solid var(--teal-600); border-radius: var(--radius-lg); background: var(--bg-light-teal); }
.en-quiz__eyebrow { margin: 0 0 4px; font-family: var(--font-heading); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-600); }
.en-quiz__title { margin: 0 0 16px; font-size: 1.5rem; }
.en-quiz__list { list-style: none; margin: 0; padding: 0; counter-reset: q; }
.en-quiz__item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--border-light); margin: 0; counter-increment: q; }
.en-quiz__q { flex: 1; font-size: 1.02rem; }
.en-quiz__q::before { content: counter(q) ". "; font-family: var(--font-heading); font-weight: 700; color: var(--teal-600); }
.en-quiz__choices { display: flex; gap: 6px; flex-shrink: 0; }
.en-quiz__choices label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--border-light); border-radius: 999px; background: #fff; font-family: var(--font-heading); font-weight: 600; font-size: .95rem; cursor: pointer; }
.en-quiz__choices label:has(input:checked) { background: var(--teal-700); color: #fff; border-color: var(--teal-700); }
.en-quiz__choices input { margin: 0; accent-color: var(--teal-700); }
.en-quiz__result { margin-top: 18px; padding: 22px; background: var(--bg-dark); color: var(--text-on-dark); border-radius: var(--radius-md); }
.en-quiz__verdict { margin: 0 0 6px; font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; color: #fff; }
.en-quiz__advice { margin: 0 0 16px; color: var(--text-on-dark-muted); }
@media (max-width: 640px) {
  .en-quiz { padding: 20px 16px; }
  .en-quiz__item { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Bandeau court au milieu de l'article (le formulaire complet est en fin d'article et dans la sidebar) */
.en-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 2.2em 0; padding: 18px 22px; background: var(--bg-dark); color: #fff; border-radius: var(--radius-md); border-left: 4px solid var(--gold); }
.en-strip__text { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; line-height: 1.3; flex: 1 1 260px; }
.en-strip__text small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .92rem; color: var(--text-on-dark-muted); margin-top: 2px; }
.en-strip__actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) { .en-strip__actions { width: 100%; } .en-strip__actions .en-btn { flex: 1; } }

/* Article + sidebar collante (desktop) */
.en-single { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.en-single .en-article { padding-left: 0; padding-right: 0; }
.en-sidebar { display: none; }
@media (min-width: 1024px) {
  .en-single { display: grid; grid-template-columns: minmax(0, 720px) 340px; gap: 56px; justify-content: center; align-items: start; }
  .en-sidebar { display: block; padding-top: 40px; align-self: stretch; } /* stretch obligatoire, sinon sticky n'a pas de course */
  .en-sidebar__sticky { position: sticky; top: 92px; max-height: calc(100vh - 100px); overflow: auto; }
  .en-strip { display: none; } /* la sidebar joue ce rôle sur desktop */
}
.en-side { background: var(--bg-dark); color: var(--text-on-dark); border-radius: var(--radius-lg); padding: 20px 20px 16px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.en-side::before { content: ""; position: absolute; inset: auto -60px -80px auto; width: 220px; height: 220px; background: radial-gradient(circle, var(--gold-glow), transparent 70%); pointer-events: none; }
.en-side > * { position: relative; }
.en-side__kicker { color: var(--gold-light); font-family: var(--font-heading); font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 4px; }
.en-side__title { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; color: #fff; margin: 0 0 12px; line-height: 1.25; }
.en-side__text { color: var(--text-on-dark-muted); font-size: .95rem; margin: 0 0 14px; }
.en-side__phone { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px; background: var(--cta-call); color: #fff !important; border-radius: var(--radius-sm); font-family: var(--font-heading); font-weight: 800; font-size: 1.45rem; box-shadow: var(--shadow-cta); text-align: center; transition: background .2s var(--ease); }
.en-side__phone:hover { background: var(--cta-call-hover); }
.en-side__phone small { font-size: .78rem; font-weight: 500; opacity: .9; }
.en-side .en-btn--whatsapp { width: 100%; margin-top: 10px; }
.en-side .en-form { margin-top: 12px; padding: 12px; }
.en-side .en-form__note { display: none; }
.en-side .en-form__fields input, .en-side .en-form__btn { padding: 10px 12px; }
.en-side .en-form__fields { grid-template-columns: 1fr; gap: 8px; }
.en-side .en-form__title { font-size: .95rem; }
.en-side .en-form__sub { display: none; }
.en-side .en-cta__proof { flex-direction: column; gap: 5px; margin-top: 12px; font-size: .85rem; }
.en-side .en-cta__proof li { align-items: flex-start; }
.en-side .en-cta__proof svg { margin-top: 3px; }
.en-side .en-certifs { margin: 14px 0 0; padding: 10px 12px; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); gap: 10px 16px; }
.en-side .en-certif img { width: 80px; height: 30px; }
.en-side .en-certif figcaption { font-size: .8rem; color: var(--text-on-dark); }
.en-side .en-certifs__note { display: none; }
.en-side__rating { margin: 12px 0 0; font-size: .88rem; color: var(--text-on-dark-muted); }
.en-side__rating b { color: var(--gold); letter-spacing: 1px; }

/* Certifications */
.en-certifs { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 26px; margin: 36px 0 0; padding: 18px 22px; border: 1px solid var(--border-light); border-radius: var(--radius-md); background: #fff; }
.en-certif { margin: 0; display: flex; align-items: center; gap: 10px; }
.en-certif img { width: 110px; height: 42px; object-fit: contain; }
.en-certif figcaption { font-family: var(--font-heading); font-weight: 600; font-size: .95rem; }
.en-certifs__note { margin: 0; flex-basis: 100%; font-size: .9rem; color: var(--text-secondary); }

/* Avis Google (même contenu que la LP) */
.en-reviews { background: var(--bg-light-teal); padding: 52px 0 56px; border-top: 1px solid var(--border-light); }
.en-reviews h2 { margin: 0 0 4px; font-size: 1.6rem; text-align: center; }
.en-reviews__sub { margin: 0 0 28px; text-align: center; color: var(--text-secondary); }
.en-reviews__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.en-review { margin: 0; padding: 20px 22px; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.en-review__stars { margin: 0 0 8px; color: var(--gold); font-size: 1.05rem; letter-spacing: 2px; }
.en-review__text { margin: 0 0 12px; font-size: 1rem; color: var(--text-primary); flex: 1; }
.en-review footer { display: flex; justify-content: space-between; gap: 10px; font-size: .88rem; }
.en-review__author { font-family: var(--font-heading); font-weight: 700; }
.en-review__date { color: var(--text-muted); }

/* Barre mobile fixe (copie de la LP) */
.en-mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  display: flex; gap: 8px; padding: 8px calc(8px + env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) calc(8px + env(safe-area-inset-left));
  background: var(--bg-dark); border-top: 1px solid rgba(255,255,255,.1);
  transform: translateY(100%); transition: transform .3s var(--ease);
}
.en-mobile-bar.visible { transform: translateY(0); }
.en-mobile-bar .en-btn { flex: 1; padding: 12px 8px; font-size: .95rem; }
body.en-has-bar { padding-bottom: 72px; }
@media (min-width: 768px) { .en-mobile-bar { display: none; } body.en-has-bar { padding-bottom: 0; } }

/* Hero : actions */
.en-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.en-hero__trust { margin: 14px 0 0 !important; font-size: .92rem !important; color: var(--text-on-dark-muted); }
@media (max-width: 640px) { .en-hero__actions .en-btn { width: 100%; } }

/* Page merci */
.en-merci { background: linear-gradient(135deg, var(--bg-dark) 0%, var(--teal-700) 100%); padding: 56px 0 72px; min-height: 60vh; }
.en-merci__box { max-width: 640px; margin: 0 auto; text-align: center; color: var(--text-on-dark); }
.en-merci__icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--cta-whatsapp); color: #fff; display: flex; align-items: center; justify-content: center; }
.en-merci__icon svg { width: 34px; height: 34px; }
.en-merci h1 { color: #fff; margin: 0 0 8px; }
.en-merci__sub { font-size: 1.3rem; font-family: var(--font-heading); font-weight: 600; color: var(--gold-light); margin: 0 0 10px; }
.en-merci__advice { color: var(--text-on-dark-muted); margin: 0 0 22px; }
.en-merci__recap { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 24px; padding: 0; }
.en-merci__recap div { background: rgba(255,255,255,.08); border-radius: var(--radius-sm); padding: 10px 12px; }
.en-merci__recap dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-on-dark-muted); }
.en-merci__recap dd { margin: 2px 0 0; font-family: var(--font-heading); font-weight: 700; color: #fff; }
.en-merci__actions { justify-content: center; }
.en-merci__back { margin: 22px 0 0; }
.en-merci__back a { color: var(--text-on-dark-muted); text-decoration: underline; }

/* Auteur */
.en-author {
  display: flex; gap: 18px; align-items: flex-start;
  border: 1px solid var(--border-light); border-radius: var(--radius-md);
  padding: 20px 22px; margin: 40px 0 0; background: var(--bg-light);
}
.en-author img { border-radius: 50%; width: 64px; height: 64px; flex-shrink: 0; }
.en-author__name { font-family: var(--font-heading); font-weight: 700; margin: 0 0 4px; }
.en-author__bio { color: var(--text-secondary); font-size: .98rem; margin: 0; }

/* Articles liés */
.en-related { background: var(--bg-light); padding: 48px 0 56px; border-top: 1px solid var(--border-light); }
.en-related h2 { margin: 0 0 24px; font-size: 1.5rem; }
.en-related .en-grid { padding: 0; }

/* ---------- Footer (copie de la LP) ---------- */
.en-footer { background: var(--bg-dark); color: var(--text-on-dark-muted); padding: 44px 0 36px; font-size: .95rem; text-align: center; }
.en-footer__brand { font-family: var(--font-heading); font-weight: 700; color: #fff; font-size: 1.25rem; margin: 0 0 10px; }
.en-footer p { margin: 0 0 8px; }
.en-footer__links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin: 18px 0; }
.en-footer__links a { color: var(--text-on-dark); }
.en-footer__links a:hover { color: var(--gold-light); }

/* Pagination */
.en-pagination { display: flex; gap: 8px; justify-content: center; padding: 0 0 56px; }
.en-pagination .page-numbers {
  padding: 8px 14px; border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  color: var(--text-secondary); font-family: var(--font-heading); font-weight: 600;
}
.en-pagination .page-numbers.current { background: var(--teal-700); color: #fff; border-color: var(--teal-700); }

/* GeneratePress : neutraliser ce qu'on remplace */
.site-header, .main-navigation { display: none !important; } /* .site-footer reste visible : c'est le conteneur GP de notre footer */
.site-footer { display: block; }
.site-content { padding: 0; }
.site-main { margin: 0; }
.inside-article { padding: 0; }

/* ---------- Correctifs structure GeneratePress ---------- */
.site-content, #page, .content-area, .site-main, #primary { display: block; width: 100%; float: none; max-width: none; margin: 0; padding: 0; }
#right-sidebar, #left-sidebar, .sidebar { display: none !important; }
.en-header__nav li { list-style: none; margin: 0; padding: 0; }
.en-header__logo img { height: 60px; width: auto; }

/* ---------- Article : blocs de l'outil de publication (surtitre, légende, tableau, encadrés) ---------- */
.entry-content h2[data-kicker]::before {
  content: attr(data-kicker); display: block; margin: 0 0 6px;
  font-family: var(--font-heading); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-600);
}
.entry-content .en-kicker { margin: 0; font-family: var(--font-heading); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-600); }
.entry-content .wp-block-image { margin: 1.8em 0; }
.entry-content .wp-block-image img { display: block; width: 100%; border: 1px solid var(--border-light); }
.entry-content .wp-block-image.en-portrait { max-width: 460px; margin-left: auto; margin-right: auto; }
.entry-content .wp-block-image figcaption { margin: 8px 0 0; font-size: .92rem; color: var(--text-secondary); text-align: center; }
.entry-content .wp-block-table { margin: 1.5em 0; overflow-x: auto; }
.entry-content .wp-block-table table { margin: 0; min-width: 560px; }
.entry-content .wp-block-table td:first-child { background: var(--bg-light); }
.entry-content blockquote p { margin: 0 0 .6em; }
.entry-content blockquote p:first-child strong:only-child { font-style: normal; font-family: var(--font-heading); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--badge-text); }
.entry-content blockquote cite { display: block; font-style: normal; font-family: var(--font-heading); font-weight: 600; font-size: .95rem; color: var(--text-primary); }

.en-note { margin: 1.6em 0; padding: 18px 22px; background: var(--bg-light-teal); border-left: 4px solid var(--teal-600); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.en-note p { margin: 0 0 .5em; }
.en-note p:last-child { margin: 0; font-size: .95rem; color: var(--text-secondary); }
.en-note p:only-child { font-size: inherit; color: inherit; }

.en-etapes ol { list-style: none; margin: 1.6em 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; counter-reset: etape; }
.en-etapes li { margin: 0; padding: 18px 20px; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); counter-increment: etape; font-size: 1rem; color: var(--text-secondary); }
.en-etapes li::before { content: counter(etape, decimal-leading-zero); display: block; margin: 0 0 6px; font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; line-height: 1; color: var(--teal-600); }
.en-etapes li strong { font-family: var(--font-heading); font-size: 1.1rem; color: var(--text-primary); }
@media (max-width: 640px) { .en-etapes ol { grid-template-columns: 1fr; } }

/* Diagnostic à cocher */
.en-diagnostic { margin: 2.2em 0; padding: 26px 28px; border: 2px solid var(--teal-600); border-radius: var(--radius-lg); background: var(--bg-light-teal); }
.en-diagnostic h3 { margin: 0 0 4px; font-size: 1.4rem; }
.en-diagnostic h3 + p { margin: 0 0 14px; font-size: .92rem; color: var(--text-secondary); }
.entry-content .en-diagnostic ul { list-style: none; margin: 0; padding: 0; }
.en-diagnostic li { margin: 0; padding: 12px 0; border-top: 1px solid var(--border-light); font-size: 1.02rem; }
.en-diagnostic__signes li { padding: 0; }
.en-diagnostic__signes label { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; cursor: pointer; }
.en-diagnostic__signes input { width: 22px; height: 22px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--teal-700); }
.en-diagnostic__score { margin: 14px 0 0; padding: 12px 16px; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-sm); font-family: var(--font-heading); font-weight: 600; }
.en-diagnostic__score:empty { display: none; }
.en-diagnostic__score--fort { background: var(--badge-bg); border-color: var(--gold); color: var(--badge-text); }
.en-diagnostic__envoi { margin: 14px 0 0; }
.en-diagnostic__ouvrir { width: 100%; }
.en-diagnostic__ouvrir:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.en-diagnostic__sous { display: block; margin-top: 3px; font-family: var(--font-body); font-weight: 400; font-size: .85rem; }
.en-diagnostic__form { display: grid; gap: 12px; padding: 18px; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-md); }
.en-diagnostic__form[hidden], .en-diagnostic__ouvrir[hidden] { display: none; }
.en-diagnostic__form label { display: grid; gap: 4px; font-family: var(--font-heading); font-weight: 600; font-size: .95rem; }
.en-diagnostic__form input[type=text], .en-diagnostic__form input[type=tel], .en-diagnostic__form textarea {
  width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; background: #fff; color: var(--text-primary);
}
.en-diagnostic__form input:focus, .en-diagnostic__form textarea:focus { outline: 2px solid var(--teal-600); outline-offset: 1px; }
.en-diagnostic__form .en-diagnostic__accord { display: flex; align-items: flex-start; gap: 10px; font-family: var(--font-body); font-weight: 400; font-size: .9rem; color: var(--text-secondary); }
.en-diagnostic__accord input { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; }
@media (max-width: 640px) { .en-diagnostic { padding: 20px 16px; } }

/* Encart d'appel écrit dans l'article (mêmes couleurs que l'encart du thème) */
.en-appel { margin: 2.4em 0; padding: 28px 30px 24px; background: var(--bg-dark); color: var(--text-on-dark); border-radius: var(--radius-lg); }
.entry-content .en-appel h3 { margin: 0 0 8px; font-size: 1.45rem; line-height: 1.2; color: #fff; }
.entry-content .en-appel p { margin: 0 0 18px; color: var(--text-on-dark-muted); font-size: 1.02rem; }
.en-appel .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.en-appel .wp-block-button { margin: 0; }
.en-appel .wp-block-button__link {
  display: block; padding: 13px 22px; border-radius: var(--radius-sm); text-align: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1rem; line-height: 1.25; color: #fff !important; text-decoration: none;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.en-appel .wp-block-button__link:hover { transform: translateY(-1px); }
.en-appel .wp-block-button__link small { display: inline-block; margin-top: 3px; font-family: var(--font-body); font-weight: 400; font-size: .82rem; opacity: .95; }
.en-appel .en-bouton-whatsapp .wp-block-button__link { background: var(--cta-whatsapp); box-shadow: 0 4px 14px rgba(37,211,102,.3); }
.en-appel .en-bouton-whatsapp .wp-block-button__link:hover { background: var(--cta-whatsapp-hover); }
.en-appel .en-bouton-telephone .wp-block-button__link { background: var(--cta-call); box-shadow: var(--shadow-cta); }
.en-appel .en-bouton-telephone .wp-block-button__link:hover { background: var(--cta-call-hover); }
.entry-content .en-appel__preuves { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--text-on-dark-muted); }
.en-appel__preuves li { margin: 0; padding-left: 22px; position: relative; }
.en-appel__preuves li::before { content: ""; position: absolute; left: 0; top: .3em; width: 12px; height: 6px; border-left: 2.5px solid var(--gold-light); border-bottom: 2.5px solid var(--gold-light); transform: rotate(-45deg); }
.entry-content .en-appel.en-appel--fin { margin-bottom: 0 !important; border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding-bottom: 8px; }
.entry-content .en-cta.en-cta--suite { margin-top: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding-top: 8px; }
.en-cta--suite::before { display: none; }
.en-cta--suite .en-form { margin-top: 12px; }
@media (max-width: 640px) {
  .en-appel { padding: 24px 18px 20px; border-radius: var(--radius-md); }
  .entry-content .en-appel.en-appel--fin { border-radius: var(--radius-md) var(--radius-md) 0 0; padding-bottom: 6px; }
  .entry-content .en-cta.en-cta--suite { border-radius: 0 0 var(--radius-md) var(--radius-md); }
  .en-appel .wp-block-button { width: 100%; }
}

/* Auteur : une personne de l'équipe (initiale à la place de l'avatar) */
.en-author__initial { width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%; background: var(--teal-700); color: #fff; display: grid; place-items: center; font-family: var(--font-heading); font-weight: 700; font-size: 1.6rem; }
