/*
Theme Name: Logement Parfait Blog
Theme URI: https://logementparfait.com/blog
Author: Logement Parfait
Description: Thème du blog SEO de Logement Parfait — reprend la charte du front Angular (marque violette #A020F0, police Inter, en-tête et pied de page identiques). Aide à l'utilisation de la plateforme de location meublée en Côte d'Ivoire.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.2
License: Propriétaire
Text Domain: lp-blog
*/

/* ════════════════════════════════════════════════════════════════
   Design tokens — repris de logementparfait_revolution_front
   (src/styles/_tokens.scss). Source de vérité de la marque.
   ════════════════════════════════════════════════════════════════ */
:root {
  --lp-purple: #a020f0;
  --lp-purple-dark: #7e16c4;
  --lp-purple-soft: rgba(160, 32, 240, 0.07);
  --lp-purple-mid: rgba(160, 32, 240, 0.15);
  --lp-purple-border: rgba(160, 32, 240, 0.2);

  --lp-text-main: #1e1b4b;
  --lp-text-muted: #64748b;
  --lp-text-faint: #94a3b8;
  --lp-text-invert: #ffffff;

  --lp-surface: #ffffff;
  --lp-surface-alt: #f8fafc;
  --lp-border: #e5e7eb;
  --lp-border-soft: #f1f5f9;

  --lp-success: #16a34a;
  --lp-warning: #f59e0b;
  --lp-danger: #dc2626;
  --lp-info: #2563eb;

  --lp-radius-sm: 8px;
  --lp-radius: 12px;
  --lp-radius-lg: 16px;
  --lp-radius-full: 999px;

  --lp-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --lp-shadow: 0 4px 16px rgba(16, 24, 40, 0.08);
  --lp-shadow-lg: 0 12px 32px rgba(16, 24, 40, 0.12);
  --lp-shadow-purple: 0 8px 24px rgba(160, 32, 240, 0.25);

  --lp-content-max: 1280px;
  --lp-prose-max: 760px;
  --lp-header-height: 64px;

  --lp-footer-bg: #0f0520;
  --lp-footer-bg-deep: #0a0317;
  --lp-footer-text: #cbbfe0;
  --lp-footer-text-soft: #9384b3;
  --lp-footer-border: rgba(255, 255, 255, 0.08);
}

/* ─── Reset & base ─────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--lp-text-main);
  background: var(--lp-surface-alt);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  color: var(--lp-text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: 1.9rem; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; color: var(--lp-text-muted); }

a {
  color: var(--lp-purple);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--lp-purple-dark); }

img { max-width: 100%; height: auto; }

:focus-visible {
  outline: 2px solid var(--lp-purple);
  outline-offset: 2px;
  border-radius: var(--lp-radius-sm);
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  line-height: 1;
  user-select: none;
}

.lp-container {
  width: 100%;
  max-width: var(--lp-content-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ─── Boutons (.lp-btn) ────────────────────────────────────────── */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--lp-radius);
  border: 1.5px solid transparent;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
  white-space: nowrap;
}
.lp-btn .material-symbols-outlined { font-size: 18px; }
.lp-btn:active { transform: translateY(1px); }
.lp-btn--primary { background: var(--lp-purple); color: var(--lp-text-invert); }
.lp-btn--primary:hover {
  background: var(--lp-purple-dark);
  box-shadow: var(--lp-shadow-purple);
  color: var(--lp-text-invert);
}
.lp-btn--ghost {
  background: var(--lp-purple-soft);
  color: var(--lp-purple);
  border-color: var(--lp-purple-border);
}
.lp-btn--ghost:hover { background: var(--lp-purple-mid); color: var(--lp-purple); }
.lp-btn--outline {
  background: var(--lp-surface);
  color: var(--lp-text-main);
  border-color: var(--lp-border);
}
.lp-btn--outline:hover { border-color: var(--lp-purple-border); color: var(--lp-purple); }

/* ─── Carte (.lp-card) ─────────────────────────────────────────── */
.lp-card {
  background: var(--lp-surface);
  border: 1.5px solid var(--lp-border);
  border-radius: var(--lp-radius-lg);
  box-shadow: var(--lp-shadow-sm);
}
.lp-card--hover { transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.lp-card--hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--lp-shadow);
  border-color: var(--lp-purple-border);
}

/* ─── Badge (.lp-badge) ────────────────────────────────────────── */
.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--lp-radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
  background: var(--lp-purple-soft);
  color: var(--lp-purple);
}

/* ════════════════════════════════════════════════════════════════
   En-tête — repris de layout.html / layout.scss du front
   ════════════════════════════════════════════════════════════════ */
.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1.5px solid var(--lp-border);
}
.app-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--lp-header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lp-text-main);
  white-space: nowrap;
}
.brand:hover { color: var(--lp-text-main); }
.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--lp-text-invert);
  background: linear-gradient(135deg, var(--lp-purple), var(--lp-purple-dark));
  box-shadow: var(--lp-shadow-purple);
}
.brand__mark .material-symbols-outlined { font-size: 22px; }
.brand__text { display: inline-flex; flex-direction: column; line-height: 1; gap: 1px; }
.brand__line { font-size: 0.98rem; font-weight: 800; letter-spacing: -0.02em; }
.brand__accent { color: var(--lp-purple); }

.nav--desktop { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--lp-radius);
  color: var(--lp-text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav__link .material-symbols-outlined { font-size: 19px; }
.nav__link:hover,
.nav__link--active { background: var(--lp-purple-soft); color: var(--lp-purple); }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.header-login .material-symbols-outlined { font-size: 18px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--lp-radius);
  border: 1.5px solid var(--lp-border);
  background: var(--lp-surface);
  color: var(--lp-text-muted);
  place-items: center;
  cursor: pointer;
}

.nav--mobile { display: none; }

@media (max-width: 880px) {
  .nav--desktop { display: none; }
  .nav-toggle { display: grid; }
  .header-login span { display: none; }
  .brand__text { display: none; }
  .nav--mobile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 24px 16px;
    border-top: 1px solid var(--lp-border);
    background: var(--lp-surface);
  }
  .nav--mobile.is-closed { display: none; }
}

/* ════════════════════════════════════════════════════════════════
   Hero (front-page) — carte violette arrondie, calquée sur accueil.scss
   du front (dégradé purple → purple-dark, halo radial, carte de recherche
   blanche avec champ à pastille d'icône et bouton dégradé).
   ════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  text-align: center;
  padding: 48px 16px;
  margin: 0 0 32px;
  border-radius: var(--lp-radius-lg);
  color: var(--lp-text-invert);
  background: linear-gradient(135deg, var(--lp-purple) 0%, var(--lp-purple-dark) 100%);
  box-shadow: var(--lp-shadow-purple);
  overflow: hidden;
}
/* Halo lumineux subtil derrière le titre (identique au front). */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 320px at 50% -20%, rgba(255, 255, 255, 0.25), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  margin-bottom: 24px;
  border-radius: var(--lp-radius-full);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--lp-text-invert);
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero__eyebrow .material-symbols-outlined { font-size: 16px; }
.hero__title {
  color: var(--lp-text-invert);
  font-size: clamp(1.8rem, 5vw, 2.9rem);
  line-height: 1.15;
  max-width: 760px;
  margin: 0 auto 16px;
  text-shadow: 0 2px 12px rgba(16, 24, 40, 0.25);
}
.hero__lead {
  max-width: 560px;
  margin: 0 auto 24px;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.92);
}

/* Carte de recherche blanche (calquée sur .search-card du front). */
.hero__search {
  display: flex;
  align-items: stretch;
  gap: 12px;
  max-width: 720px;
  margin: 24px auto 0;
  padding: 12px;
  text-align: left;
  background: var(--lp-surface);
  border-radius: var(--lp-radius-lg);
  box-shadow: var(--lp-shadow-lg);
}
.hero__search .search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 6px 10px;
  border-radius: var(--lp-radius);
  transition: background 0.2s ease;
}
.hero__search .search-field:focus-within { background: var(--lp-purple-soft); }
.hero__search .field-icon-wrap {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--lp-radius-sm);
  background: var(--lp-purple-soft);
  border: 1px solid var(--lp-purple-border);
  color: var(--lp-purple);
}
.hero__search .field-icon-wrap .material-symbols-outlined { font-size: 18px; }
.hero__search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--lp-text-main);
}
.hero__search input::placeholder { color: var(--lp-text-faint); }
.hero__search input:focus { outline: none; }
.hero__search__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 0 24px;
  border: none;
  border-radius: var(--lp-radius);
  color: var(--lp-text-invert);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, var(--lp-purple) 0%, var(--lp-purple-dark) 100%);
  box-shadow: var(--lp-shadow-purple);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero__search__submit:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(160, 32, 240, 0.35); }
.hero__search__submit .material-symbols-outlined { font-size: 20px; }
@media (max-width: 600px) {
  .hero__search { flex-direction: column; }
  .hero__search__submit { width: 100%; padding: 12px 24px; }
}

/* ─── Bandeau de rubriques (catégories d'aide) ─────────────────── */
.topics { padding: 48px 0 8px; }
.topics__head { text-align: center; margin-bottom: 28px; }
.topics__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.topic-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  text-align: left;
  color: var(--lp-text-main);
}
.topic-card:hover { color: var(--lp-text-main); }

/* Bandeau visuel : illustration SVG si disponible, sinon grande icône. */
.topic-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 7;
  background: linear-gradient(135deg, var(--lp-purple-soft), var(--lp-purple-mid));
  overflow: hidden;
}
.topic-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.topic-card:hover .topic-card__media img { transform: scale(1.04); }
.topic-card__media-icon { color: var(--lp-purple); line-height: 0; }
.topic-card__media-icon .material-symbols-outlined { font-size: 56px; }

.topic-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px 22px;
}
.topic-card__title { margin: 0; font-size: 1.05rem; }
.topic-card__count { color: var(--lp-text-faint); font-size: 0.82rem; }

/* ════════════════════════════════════════════════════════════════
   Contenu principal + grille d'articles
   ════════════════════════════════════════════════════════════════ */
.site-main { padding: 40px 0 64px; }
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
}

.page-head { margin-bottom: 26px; }
.page-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lp-purple);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.page-head__title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 8px 0 6px; }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.post-card { display: flex; flex-direction: column; overflow: hidden; }
.post-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--lp-purple-soft), var(--lp-purple-mid));
  overflow: hidden;
}
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__media-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--lp-purple);
}
.post-card__media-fallback .material-symbols-outlined { font-size: 44px; }
.post-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__cat {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--lp-purple);
}
.post-card__title { font-size: 1.1rem; margin: 0; }
.post-card__title a { color: var(--lp-text-main); }
.post-card__title a:hover { color: var(--lp-purple); }
.post-card__excerpt { color: var(--lp-text-muted); font-size: 0.9rem; margin: 0; }
.post-card__meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--lp-text-faint);
  font-size: 0.8rem;
}
.post-card__meta .material-symbols-outlined { font-size: 16px; }

/* ─── Article (single) ─────────────────────────────────────────── */
.article { background: var(--lp-surface); border: 1.5px solid var(--lp-border); border-radius: var(--lp-radius-lg); overflow: hidden; }
.article__hero {
  padding: 32px 36px 26px;
  background: linear-gradient(135deg, var(--lp-purple-soft), rgba(160, 32, 240, 0.02));
  border-bottom: 1px solid var(--lp-border);
}
.article__cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lp-purple);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.article__title { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: 12px 0 10px; }
.article__meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--lp-text-muted); font-size: 0.85rem; }
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article__meta .material-symbols-outlined { font-size: 17px; color: var(--lp-purple); }

.prose { padding: 32px 36px 40px; max-width: var(--lp-prose-max); }
.prose > *:first-child { margin-top: 0; }
.prose p { color: var(--lp-text-main); font-size: 1rem; line-height: 1.75; }
.prose h2 { font-size: 1.5rem; margin: 1.8em 0 0.6em; padding-top: 0.4em; }
.prose h3 { font-size: 1.2rem; margin: 1.5em 0 0.5em; }
.prose ul, .prose ol { color: var(--lp-text-main); padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; line-height: 1.7; }
.prose a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose img { border-radius: var(--lp-radius); margin: 1.2em 0; }
.prose blockquote {
  margin: 1.4em 0;
  padding: 14px 20px;
  border-left: 4px solid var(--lp-purple);
  background: var(--lp-purple-soft);
  border-radius: 0 var(--lp-radius) var(--lp-radius) 0;
  color: var(--lp-text-main);
}
.prose blockquote p { margin: 0; }
.prose code {
  background: var(--lp-surface-alt);
  border: 1px solid var(--lp-border);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.88em;
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 0.92rem; }
.prose th, .prose td { border: 1px solid var(--lp-border); padding: 10px 12px; text-align: left; }
.prose th { background: var(--lp-purple-soft); color: var(--lp-text-main); }

/* Encadré « astuce / étape » réutilisable dans les articles. */
.lp-callout {
  display: flex;
  gap: 14px;
  margin: 1.4em 0;
  padding: 16px 18px;
  border-radius: var(--lp-radius);
  background: var(--lp-purple-soft);
  border: 1px solid var(--lp-purple-border);
}
.lp-callout .material-symbols-outlined { color: var(--lp-purple); flex: none; }
.lp-callout p { margin: 0; color: var(--lp-text-main); }

/* ─── CTA bas d'article : renvoyer vers l'app ──────────────────── */
.article-cta {
  margin: 28px 0 0;
  padding: 28px;
  border-radius: var(--lp-radius-lg);
  background: linear-gradient(135deg, #2a0a52, var(--lp-purple-dark));
  color: #fff;
  text-align: center;
}
.article-cta h2 { color: #fff; }
.article-cta p { color: rgba(255, 255, 255, 0.85); }
.article-cta .lp-btn { margin: 8px 6px 0; }
.article-cta .lp-btn--ghost { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.3); }
.article-cta .lp-btn--ghost:hover { background: rgba(255,255,255,0.22); color: #fff; }

/* ─── Barre latérale ───────────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--lp-header-height) + 20px); }
.widget { padding: 22px; }
.widget__title {
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 8px;
  font-size: 1rem;
}
.widget__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2.5px;
  border-radius: var(--lp-radius-full);
  background: var(--lp-purple);
}
.widget ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.widget li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--lp-radius-sm);
  color: var(--lp-text-muted);
  font-weight: 600;
  font-size: 0.9rem;
}
.widget li a:hover { background: var(--lp-purple-soft); color: var(--lp-purple); }
.widget li a .material-symbols-outlined { font-size: 19px; }
.widget--cta { background: linear-gradient(135deg, #2a0a52, var(--lp-purple-dark)); color: #fff; }
.widget--cta .widget__title { color: #fff; }
.widget--cta p { color: rgba(255, 255, 255, 0.85); font-size: 0.88rem; }

/* ─── Pagination ───────────────────────────────────────────────── */
.lp-pagination { margin-top: 32px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.lp-pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--lp-radius);
  border: 1.5px solid var(--lp-border);
  background: var(--lp-surface);
  color: var(--lp-text-muted);
  font-weight: 600;
}
.lp-pagination .page-numbers.current { background: var(--lp-purple); color: #fff; border-color: var(--lp-purple); }
.lp-pagination a.page-numbers:hover { border-color: var(--lp-purple-border); color: var(--lp-purple); }

/* ─── État vide / 404 ──────────────────────────────────────────── */
.section-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 64px 24px;
  text-align: center;
  color: var(--lp-text-muted);
}
.section-empty .material-symbols-outlined { font-size: 48px; color: var(--lp-purple); }

/* ════════════════════════════════════════════════════════════════
   Catégories de logements — calqué sur .categories de accueil.scss
   ════════════════════════════════════════════════════════════════ */
.categories { padding: 48px 0 8px; }
.categories__head { margin-bottom: 16px; text-align: center; }
.categories__title { font-size: 1.3rem; margin: 0 0 4px; }
.categories__subtitle { margin: 0; font-size: 0.92rem; }
.categories__row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 767px) { .categories__row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .categories__row { grid-template-columns: repeat(2, 1fr); } }

.category-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-radius: var(--lp-radius);
  text-align: center;
  color: var(--lp-text-main);
  background: linear-gradient(160deg, var(--lp-purple-soft) 0%, rgba(160, 32, 240, 0.02) 100%);
  border: 1.5px solid var(--lp-purple-border);
}
.category-card:hover { color: var(--lp-purple); }
.category-card__icon { display: block; width: 100%; aspect-ratio: 4 / 3; }
.category-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.category-card:hover .category-card__icon img { transform: scale(1.05); }
.category-card__label { font-size: 0.9rem; font-weight: 600; padding: 10px 8px; }

/* ════════════════════════════════════════════════════════════════
   Bloc CTA propriétaire — calqué sur .owner-cta de accueil.scss
   ════════════════════════════════════════════════════════════════ */
.owner-cta {
  position: relative;
  margin: 48px 0;
  padding: 48px 24px;
  border-radius: var(--lp-radius-lg);
  color: var(--lp-text-invert);
  background: linear-gradient(135deg, var(--lp-purple) 0%, var(--lp-purple-dark) 100%);
  box-shadow: var(--lp-shadow-purple);
  overflow: hidden;
}
.owner-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 300px at 85% -10%, rgba(255, 255, 255, 0.22), transparent 70%);
  pointer-events: none;
}
.owner-cta__inner { position: relative; z-index: 1; max-width: 640px; }
.owner-cta__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 5px 14px;
  border-radius: var(--lp-radius-full);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.owner-cta__title {
  margin: 0 0 12px;
  color: var(--lp-text-invert);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  line-height: 1.2;
}
.owner-cta__accent { color: #f0d9ff; }
.owner-cta__lead {
  margin: 0 0 24px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
}
.owner-cta__perks {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.owner-cta__perk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--lp-radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.owner-cta__perk .material-symbols-outlined { font-size: 18px; }
/* Bouton blanc pour ressortir sur le dégradé violet. */
.owner-cta__action.lp-btn--primary { background: var(--lp-surface); color: var(--lp-purple); }
.owner-cta__action.lp-btn--primary:hover { background: #f5ecff; box-shadow: var(--lp-shadow-lg); color: var(--lp-purple); }

/* ════════════════════════════════════════════════════════════════
   Pied de page — repris de footer.html / footer.scss du front
   ════════════════════════════════════════════════════════════════ */
.footer { background: var(--lp-footer-bg); color: var(--lp-footer-text); font-size: 0.9rem; line-height: 1.6; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 3fr;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 48px;
}
@media (max-width: 767px) {
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; color: #fff; }
.footer-brand:hover { color: #fff; }
.footer-brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--lp-purple), var(--lp-purple-dark));
  box-shadow: var(--lp-shadow-purple);
}
.footer-brand__mark .material-symbols-outlined { font-size: 23px; }
.footer-brand__accent { color: var(--lp-purple); }
.footer-brand__desc { margin: 16px 0 0; max-width: 34ch; color: var(--lp-footer-text); }
.footer-brand__rc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  padding: 6px 12px;
  border-radius: var(--lp-radius-full);
  background: rgba(160, 32, 240, 0.16);
  border: 1px solid var(--lp-purple-border);
}
.footer-brand__rc-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--lp-footer-text-soft); }
.footer-brand__rc-value { font-weight: 700; color: #fff; letter-spacing: 0.01em; }

.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 1024px) { .footer__cols { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .footer__cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .footer__cols { grid-template-columns: 1fr; gap: 24px; } }

.footer-col__title { position: relative; margin: 0 0 16px; padding-bottom: 8px; font-size: 0.95rem; font-weight: 700; color: #fff; }
.footer-col__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2.5px;
  border-radius: var(--lp-radius-full);
  background: var(--lp-purple);
}
.footer-col__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col__list a { color: var(--lp-footer-text); transition: color 0.2s ease; }
.footer-col__list a:hover { color: #fff; }
.footer-col__list--contact li { display: flex; align-items: center; gap: 10px; color: var(--lp-footer-text); }
.footer-col__list--contact .material-symbols-outlined { flex: none; font-size: 18px; color: var(--lp-purple); }

.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social__link {
  width: 36px;
  height: 36px;
  border-radius: var(--lp-radius-sm);
  display: grid;
  place-items: center;
  color: var(--lp-footer-text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--lp-footer-border);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.footer-social__link:hover { color: #fff; background: rgba(160, 32, 240, 0.22); border-color: var(--lp-purple-border); }

.footer__legal { background: var(--lp-footer-bg-deep); border-top: 1px solid var(--lp-footer-border); }
.footer__legal-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
@media (max-width: 767px) { .footer__legal-inner { flex-direction: column; align-items: flex-start; gap: 12px; } }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-legal-links a { color: var(--lp-footer-text-soft); font-size: 0.82rem; }
.footer-legal-links a:hover { color: #fff; }
.footer__copy { margin: 0; color: var(--lp-footer-text-soft); font-size: 0.82rem; }
