/*
Theme Name:  Voyages et Saveurs
Theme URI:   https://voyagesetsaveurs.fr/
Author:      Voyages et Saveurs
Author URI:  https://voyagesetsaveurs.fr/
Description: Thème sur-mesure ultra-léger, moderne et optimisé SEO pour le guide de voyage Voyages et Saveurs.
Version:     1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: voyages-et-saveurs
Tags:        travel, blog, custom-theme, seo-optimized, lightweight
*/

/* ==========================================================================
   VARIABLES CSS — Identité visuelle Voyages et Saveurs
   ========================================================================== */

:root {
  /* Couleurs principales */
  --color-primary:        #4e7984;
  --color-primary-dark:   #3d5f68;
  --color-primary-light:  #7ba3ae;
  /* Accent chaud (terracotta) — réservé aux boutons d'action (CTA) */
  --color-accent:         #c97b5a;
  --color-accent-dark:    #b3623f;

  /* Fonds */
  --color-bg:             #ffffff;
  --color-bg-alt:         #f7fafc;
  --color-bg-dark:        #2d3748;

  /* Texte */
  --color-text:           #2d3748;
  --color-text-muted:     #718096;
  --color-text-light:     #a0aec0;

  /* Bordures */
  --color-border:         #e2e8f0;
  --color-border-dark:    #cbd5e0;

  /* Typographie — polices système pour les Core Web Vitals */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", sans-serif,
               "Apple Color Emoji", "Segoe UI Emoji";
  /* Serif premium « magazine » — Playfair Display auto-hébergée (cf. @font-face
     plus bas) avec repli système (zéro requête externe = Core Web Vitals saufs). */
  --font-serif: "Playfair Display", Georgia, "Times New Roman", Times, serif;
  --font-mono:  ui-monospace, "Cascadia Code", "Source Code Pro",
               Menlo, Consolas, monospace;

  /* Tailles de police — échelle fluide */
  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   1.875rem;
  --text-4xl:   2.25rem;
  --text-5xl:   3rem;

  /* Espacements */
  --space-1:    0.25rem;
  --space-2:    0.5rem;
  --space-3:    0.75rem;
  --space-4:    1rem;
  --space-5:    1.25rem;
  --space-6:    1.5rem;
  --space-8:    2rem;
  --space-10:   2.5rem;
  --space-12:   3rem;
  --space-16:   4rem;
  --space-20:   5rem;
  --space-24:   6rem;

  /* Mise en page */
  --container-max:     1200px;
  --content-max:       760px;
  --sidebar-width:     320px;
  --gap:               var(--space-8);

  /* Bordures arrondies */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-full: 9999px;

  /* Ombres */
  --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md:  0 4px 12px rgba(0, 0, 0, 0.10);
  --shadow-lg:  0 8px 24px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
}

/* ==========================================================================
   POLICE SERIF AUTO-HÉBERGÉE — Playfair Display (titres « magazine »)
   Fichier variable (axe 700→800) dans assets/fonts/. font-display: swap pour
   ne jamais bloquer le rendu. unicode-range latin = couvre les accents FR.
   ========================================================================== */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("assets/fonts/playfair-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip; /* évite tout débordement horizontal sur mobile (sans casser le sticky) */
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg-alt); /* fond de page légèrement grisé pour effet carte */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

ul, ol {
  padding-left: var(--space-6);
}

/* ==========================================================================
   TYPOGRAPHIE — TITRES
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
  margin-top: 0;
}

h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); }
h2 { font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  margin-bottom: var(--space-4);
}

/* ==========================================================================
   LAYOUT — CONTENEURS
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--narrow {
  max-width: var(--content-max);
}

/* Skip to content — accessibilité */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 9999;
  padding: var(--space-3) var(--space-6);
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-4);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  height: 72px;
}

/* Décalage sous la barre d'administration WordPress (utilisateur connecté).
   La barre admin est fixe (32px) au-dessus de 782px ; au-dessous elle défile,
   donc aucun décalage nécessaire. Invisible pour les visiteurs non connectés. */
@media screen and (min-width: 783px) {
  .admin-bar .site-header { top: 32px; }
  .admin-bar .subcat-nav  { top: calc(72px + 32px); }
  .admin-bar .toc-sidebar,
  .admin-bar .share-float { top: calc(72px + 52px + var(--space-3) + 32px); }
}

/* Sur mobile, la barre d'admin WP est fixe (46px) → on décale le header sticky
   et les éléments collants d'autant, sinon le header est recouvert/« coupé ». */
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .main-nav    { top: calc(72px + 46px); }
  .admin-bar .subcat-nav  { top: calc(72px + 46px); }
}

.site-branding {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.site-branding a {
  text-decoration: none;
}

.site-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.site-tagline {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Logo personnalisé — header */
.site-branding .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.site-branding .custom-logo {
  height: auto;
  max-height: 58px;
  width: auto;
  display: block;
  /* Compense le léger vide transparent en haut du fichier logo
     (recentre optiquement dans la barre). */
  transform: translateY(-3px);
}

@media (max-width: 640px) {
  .site-branding .custom-logo {
    max-height: 46px;
  }
}

/* Navigation principale */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-nav__list a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.main-nav__list a:hover,
.main-nav__list .current-menu-item > a {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

/* Sous-menu dropdown — aligné à droite du parent (s'ouvre vers la gauche)
   pour ne jamais déborder du viewport sur la nav alignée à droite. */
.main-nav__list .sub-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  min-width: 220px;
  max-width: calc(100vw - var(--space-8));
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  z-index: 200;
}

.main-nav__list li {
  position: relative;
}

.main-nav__list li:hover > .sub-menu,
.main-nav__list li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Bouton menu mobile */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  transition: border-color var(--transition-fast);
}

.menu-toggle:hover {
  border-color: var(--color-primary);
}

.menu-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   FIL D'ARIANE
   ========================================================================== */

.breadcrumb-wrap {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-3);
}

.breadcrumb-wrap .breadcrumb {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Fil d'Ariane Rank Math (markup .rank-math-breadcrumb) — design discret.
   Le conteneur .breadcrumb-wrap fournit déjà fond + bordure + respiration. */
.rank-math-breadcrumb,
.rank-math-breadcrumb p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.rank-math-breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.rank-math-breadcrumb a:hover,
.rank-math-breadcrumb a:focus-visible {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* Séparateurs et élément courant (non cliquable) */
.rank-math-breadcrumb .separator {
  margin-inline: var(--space-2);
  color: var(--color-text-muted);
}

.rank-math-breadcrumb .last {
  color: var(--color-text);
  font-weight: 600;
}

/* ==========================================================================
   HERO — PAGE D'ACCUEIL
   ========================================================================== */

.hero {
  /* Image de fond + overlay sombre (dégradé) pour garder le texte blanc lisible.
     Déposez l'image dans assets/images/hero-bg.jpg. Fallback bleu si absente. */
  background:
    url('assets/images/hero_dessin.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--color-primary-dark); /* fallback si l'image manque */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding-block: var(--space-16);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Voile BLEU — plus marqué en bas, là où se trouvent le sous-titre et les
   boutons — pour garder le texte blanc lisible. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(78, 121, 132, 0.62), rgba(61, 95, 104, 0.78));
  z-index: 0;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
}

/* Mobile : hauteur réduite + padding pour que le texte respire sur la photo */
@media (max-width: 640px) {
  .hero {
    min-height: 60vh;
    padding-block: var(--space-12);
  }
}

.hero__tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

/* Petit point (pastille) décoratif terracotta devant le label */
.hero__tag::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--color-accent);
  vertical-align: middle;
}

.hero h1 {
  color: #fff;
  margin-bottom: var(--space-5);
  text-shadow: 0 2px 14px rgba(0,0,0,0.45);
}

.hero__subtitle {
  font-size: var(--text-xl);
  opacity: 0.95;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  text-shadow: 0 1px 8px rgba(0,0,0,0.40);
}

/* ==========================================================================
   GRILLE D'ARTICLES
   ========================================================================== */

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-8);
}

.post-card {
  display: flex;
  flex-direction: column;
  min-width: 0; /* autorise la carte à rétrécir sous la largeur intrinsèque de l'image (anti-débordement grille) */
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);   /* léger contour terracotta au survol */
}

.post-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.post-card:hover .post-card__image img {
  transform: scale(1.04);
}

.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: var(--space-5);
}

.post-card__category {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);   /* label catégorie en terracotta */
  text-decoration: none;
  margin-bottom: var(--space-2);
}

.post-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
  line-height: 1.35;
}

.post-card__title a {
  color: var(--color-text);
  text-decoration: none;
}

.post-card__title a:hover {
  color: var(--color-primary);
}

.post-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Bouton "Lire la suite" — partagé par category.php et single-ou_partir.php.
   Poussé en bas de la carte (margin-top:auto) pour aligner toutes les cartes. */
.post-card__more {
  align-self: flex-start;
  margin-top: auto;
  padding-top: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);   /* CTA carte « Lire la suite » en bleu */
  text-decoration: none;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.post-card__more svg {
  transition: transform var(--transition-fast);
}

.post-card:hover .post-card__more,
.post-card__more:hover,
.post-card__more:focus-visible {
  color: var(--color-primary-dark);
}

.post-card:hover .post-card__more svg,
.post-card__more:hover svg {
  transform: translateX(3px);
}

/* Zone de listing (archive catégorie) : fond gris clair pour détacher
   les cartes blanches. Le body reste blanc (lecture des articles single). */
.cat-listing {
  background: var(--color-bg-alt);
  padding-block: var(--space-10) var(--space-16);
}

/* ==========================================================================
   SECTION CLUSTERS / PAYS
   ========================================================================== */

.clusters-section {
  padding-block: var(--space-16);
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.section-header__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.section-header h2 {
  margin-bottom: var(--space-3);
}

.section-header__desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 560px;
  margin-inline: auto;
}

/* Grille 4 colonnes pour la section "Nos destinations" (homepage).
   Réutilise .post-card ; 4 desktop / 2 tablette (2×2) / 1 mobile.
   Double classe (.posts-grid.posts-grid--cols-4) pour primer sur le
   responsive single-classe de .posts-grid quel que soit l'ordre. */
.posts-grid.posts-grid--cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 980px) {
  .posts-grid.posts-grid--cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .posts-grid.posts-grid--cols-4 {
    grid-template-columns: 1fr;
  }
}

/* Grille 3 colonnes (axes « Où partir » homepage) — 3 desktop / 2 tablette / 1 mobile */
.posts-grid.posts-grid--cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 860px) {
  .posts-grid.posts-grid--cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .posts-grid.posts-grid--cols-3 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ARTICLE SINGLE
   ========================================================================== */

.single-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  padding-block: var(--space-10);
}

@media (min-width: 1024px) {
  .single-layout {
    grid-template-columns: 1fr var(--sidebar-width);
  }
}

.entry-header {
  margin-bottom: var(--space-8);
}

.entry-header__category {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  text-decoration: none;
  margin-bottom: var(--space-3);
}

.entry-header h1 {
  margin-bottom: var(--space-5);
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border);
}

.entry-meta__reading-time {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.entry-featured-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-8);
  aspect-ratio: 16 / 7;
}

.entry-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contenu de l'article */
.entry-content {
  font-size: var(--text-lg);
  line-height: 1.8;
  max-width: var(--content-max);
}

.entry-content h2 { margin-top: var(--space-10); margin-bottom: var(--space-4); }
.entry-content h3 { margin-top: var(--space-8);  margin-bottom: var(--space-3); }
.entry-content ul,
.entry-content ol  { margin-bottom: var(--space-4); }
.entry-content li  { margin-bottom: var(--space-2); }

/* Images du contenu : jamais agrandies au-delà de leur taille naturelle,
   centrées, sans déformation (s'applique à tous les templates). */
.entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}

/* Anti-débordement horizontal du contenu sur mobile :
   mots/URL longs coupés, médias et tableaux bornés à 100%, code/tableaux scrollables. */
.entry-content {
  overflow-wrap: break-word;
  word-break: break-word;
}

.entry-content :is(iframe, video, table) {
  max-width: 100%;
}

.entry-content :is(pre, .wp-block-table) {
  max-width: 100%;
  overflow-x: auto;
}

.entry-content :is(td, th) {
  word-break: break-word;
}

.entry-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* Tableau dans le contenu */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
}

.entry-content th,
.entry-content td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.entry-content th {
  background: var(--color-bg-alt);
  font-weight: 700;
}

/* Box d'info dans l'article */
.info-box {
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-5) var(--space-6);
  margin-block: var(--space-6);
  font-size: var(--text-sm);
}

/* ==========================================================================
   BOX AUTEUR
   ========================================================================== */

.author-box {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-top: var(--space-10);
}

.author-box__avatar img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  object-fit: cover;
  flex-shrink: 0;
}

.author-box__name {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.author-box__bio {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}

/* ==========================================================================
   ARTICLES SIMILAIRES
   ========================================================================== */

.related-posts {
  margin-top: var(--space-12);
  padding-top: var(--space-10);
  border-top: 1px solid var(--color-border);
}

.related-posts__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-6);
}

/* ==========================================================================
   ARCHIVE — LISTE DES CATÉGORIES
   ========================================================================== */

.archive-header {
  background: var(--color-bg-alt);
  padding-block: var(--space-12);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-10);
  text-align: center;
}

.archive-header__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  display: block;
  margin-bottom: var(--space-3);
}

.archive-header__desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-top: var(--space-5);
  max-width: 72ch;            /* lignes longues et confortables (~720px) */
  margin-inline: auto;        /* bloc centré sur la page */
  line-height: 1.8;           /* lecture fluide et aérée */
  text-align: left;           /* texte aligné à gauche = lisibilité (le bloc reste centré) */
}

/* Paragraphes bien séparés (wpautop crée des <p> depuis tes sauts de ligne) */
.archive-header__desc p {
  margin-bottom: var(--space-4);
}

.archive-header__desc p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   GRILLE "OÙ PARTIR" — 12 MOIS
   ========================================================================== */

.months-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-4);
}

.month-card {
  min-width: 0; /* anti-débordement grille (image intrinsèque) */
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  text-decoration: none;
  color: inherit;
}

.month-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.month-card__image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.month-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.month-card:hover .month-card__image img {
  transform: scale(1.04);
}

.month-card__body {
  padding: var(--space-4);
}

.month-card__number {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}

.month-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.3;
}

/* ==========================================================================
   FAQ — ACCORDÉON NATIF HTML5 (<details>/<summary>)
   Le bloc FAQ Rank Math est transformé en <details> côté serveur
   (helper ves_faq_to_details) → pliage/dépliage 100 % NATIF, sans JavaScript.
   ========================================================================== */

#rank-math-faq,
.rank-math-list {
  margin-block: var(--space-8);
}

.ves-faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  margin-bottom: var(--space-3);
  overflow: hidden;
}

.ves-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  cursor: pointer;
  list-style: none;
  padding: 15px 20px;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  background: #f3f7f8; /* bleu très clair par défaut */
  transition: color var(--transition-fast), background var(--transition-fast);
}

/* Supprime la flèche/le marqueur natif du navigateur */
.ves-faq__q::-webkit-details-marker { display: none; }
.ves-faq__q::marker { content: ''; }

.ves-faq__q:hover,
.ves-faq__item[open] .ves-faq__q {
  color: var(--color-primary);
  background: #e3eef0; /* bleu un peu plus soutenu au survol / à l'ouverture */
}

/* Indicateur « + » à droite → devient « − » quand le <details> est ouvert */
.ves-faq__q::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.6em;
  line-height: 1;
  font-weight: 300;
  color: var(--color-primary);
  transition: transform var(--transition-base);
}

.ves-faq__item[open] .ves-faq__q::after {
  content: '\2212'; /* signe moins « − » */
}

.ves-faq__a {
  padding: 4px 20px 18px;
  color: var(--color-text);
  line-height: 1.7;
}

.ves-faq__a p:last-child {
  margin-bottom: 0;
}

/* Bloc « Détails » natif WordPress (<details>/<summary>) — accordéon standard.
   Le pliage/dépliage est natif au navigateur (aucun JS requis). */
.entry-content .wp-block-details {
  margin-block: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2) var(--space-5);
  background: var(--color-bg);
}

.entry-content .wp-block-details summary {
  cursor: pointer;
  padding: var(--space-3) 0;
  font-weight: 600;
  color: var(--color-text);
  list-style-position: inside;
}

.entry-content .wp-block-details summary:hover {
  color: var(--color-primary);
}

.entry-content .wp-block-details[open] summary {
  margin-bottom: var(--space-2);
}

/* ==========================================================================
   SIDEBAR
   ========================================================================== */

.sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.widget {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

.widget-title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-primary);
  color: var(--color-text);
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-12);
}

/* Si paginate_links génère une liste (<ul><li>) : suppression absolue des puces */
.pagination ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}

.pagination li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}

/* Boutons : uniquement les liens/chiffres <a>/<span> (jamais le conteneur <ul>) */
.pagination a.page-numbers,
.pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

/* Survol des boutons inactifs */
.pagination a.page-numbers:hover {
  background: #f7fafc;
  border-color: var(--color-primary-light);
  color: var(--color-primary);
}

/* Page courante : fond bleu de marque, texte blanc, sans bordure */
.pagination .page-numbers.current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

/* Points de suspension (…) : pas de bouton */
.pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  color: var(--color-text-muted);
  min-width: auto;
  padding-inline: var(--space-1);
}

/* ==========================================================================
   PRE-FOOTER CTA
   ========================================================================== */

.footer-cta {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, var(--color-primary-light) 100%);
  padding-block: var(--space-16);
  position: relative;
  overflow: hidden;
}

.footer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.footer-cta__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-10);
}

.footer-cta__text {
  flex: 1;
  color: #fff;
}

.footer-cta__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: var(--space-3);
}

.footer-cta__title {
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: var(--space-3);
}

.footer-cta__desc {
  font-size: var(--text-lg);
  opacity: 0.85;
  max-width: 480px;
}

.footer-cta__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex-shrink: 0;
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn--ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-1px);
}

/* ==========================================================================
   FOOTER PRINCIPAL
   ========================================================================== */

.site-footer {
  background: #111827;
  color: rgba(255,255,255,0.65);
}

.footer-main {
  /* Plus d'air sous le bloc bleu (CTA) avant les colonnes du footer */
  padding-block: 3.75rem var(--space-10);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Grille 4 colonnes asymétrique */
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 2.4fr 1.8fr 1.8fr;
  gap: var(--space-12) var(--space-16); /* respiration : 3rem vertical, 4rem entre colonnes */
  align-items: start;
}

/* ── Branding ─────────────────────────────────────────────── */

/* Remonte toute la colonne branding (logo + texte + réseaux) + texte centré */
.footer-brand {
  margin-top: -22px;
  text-align: center;
}

.footer-brand__logo {
  display: block;            /* permet le centrage du logo dans la colonne */
  text-decoration: none;
  margin-top: -14px;               /* remonte le logo */
  margin-bottom: -45px;            /* texte juste sous le logo */
}

/* Logo SVG du footer : transparent, dimensionné, centré, blanchi sur fond sombre */
.footer-brand__svg {
  display: block;
  width: auto;
  height: auto;
  max-width: 320px;
  max-height: 215px;                   /* logo agrandi */
  margin-inline: auto;                 /* centré horizontalement */
  background: transparent;
  filter: brightness(0) invert(1);     /* logo noir -> blanc pur sur le footer #111827 */
}

.footer-brand__name {
  font-size: var(--text-xl);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

/* Logo personnalisé — footer (fond bleu nuit) :
   le logo teal foncé est passé en blanc pur pour rester lisible */
.footer-brand__logo .custom-logo {
  height: auto;
  max-height: 72px;
  max-width: 220px;   /* logo moins imposant, mieux aligné avec les colonnes */
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-brand__desc {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-5);
}

/* Réseaux sociaux */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;   /* réseaux centrés sous le texte */
}

.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-social__link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Clusters (colonnes 2 et 3) ───────────────────────────── */

.footer-cluster__heading {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #a0aec0;
  margin-bottom: 20px;
}

.footer-cluster__sub {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-4);
  margin-top: calc(-1 * var(--space-2));
}

.footer-cluster__more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  text-decoration: none;
  opacity: 0.75;
  transition: all var(--transition-fast);
}

.footer-cluster__more:hover {
  opacity: 1;
  gap: var(--space-3);
}

/* Cluster Pays */
.footer-country-block {
  margin-bottom: var(--space-4);
}

.footer-country__name {
  display: block;
  width: fit-content;
  font-size: var(--text-sm);
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  margin-bottom: var(--space-2);
  transition: all 0.3s ease;
}

.footer-country__name:hover {
  color: var(--color-primary-light);
  transform: translateX(4px);
}

.footer-subcats {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-left: var(--space-3);
  border-left: 2px solid rgba(255,255,255,0.07);
}

.footer-subcats li + li {
  margin-top: var(--space-2);
}

.footer-subcats a {
  display: inline-block;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.42);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-subcats a:hover {
  color: #fff;
  transform: translateX(4px);
}

/* Cluster Où partir — grille 3×4 de pills */
.footer-months-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.footer-month-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-1);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: all var(--transition-fast);
}

.footer-month-pill:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
}

/* ── Infos ────────────────────────────────────────────────── */

.footer-info__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
}

.footer-info__list li + li {
  margin-top: var(--space-3);
}

.footer-info__list a {
  display: inline-block;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-info__list a:hover {
  color: #fff;
  transform: translateX(4px);
}

/* Articles récents en footer */
.footer-recent__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: var(--space-3);
}

.footer-recent__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  padding-block: var(--space-3);
  border-top: 1px solid rgba(255,255,255,0.06);
  transition: opacity var(--transition-fast);
}

.footer-recent__item:hover {
  opacity: 0.8;
}

.footer-recent__thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.footer-recent__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-recent__title {
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Barre de copyright ───────────────────────────────────── */

/* ── NEWSLETTER (footer) ─────────────────────────────────────── */
.footer-newsletter {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: var(--space-8);
}

.footer-newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.footer-newsletter__heading {
  font-size: var(--text-lg);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-1);
}

.footer-newsletter__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.ves-newsletter {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.ves-newsletter input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: var(--text-sm);
}

/* Bouton « S'inscrire » du formulaire intégré */
.ves-newsletter .btn {
  border-radius: 8px;
  padding-inline: var(--space-6);
  transition: all 0.3s ease;
}

.ves-newsletter .btn:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
}

.ves-newsletter input[type="email"]::placeholder {
  color: rgba(255,255,255,0.45);
}

.ves-newsletter input[type="email"]:focus {
  outline: none;
  border-color: var(--color-primary-light);
  background: rgba(255,255,255,0.10);
}

/* Force le design du footer sur le formulaire MailPoet (sinon styles par défaut).
   !important nécessaire pour neutraliser les styles inline/par défaut de MailPoet. */
.footer-newsletter__form .mailpoet_form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}

.footer-newsletter__form .mailpoet_paragraph {
  margin: 0 !important;
}

.footer-newsletter__form input[type="text"],
.footer-newsletter__form input[type="email"],
.footer-newsletter__form .mailpoet_text,
.footer-newsletter__form .mailpoet_email {
  flex: 1 1 240px;
  min-width: 0;
  padding: 14px 16px !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,0.06) !important;
  color: #fff !important;
  font-size: var(--text-sm) !important;
  box-shadow: none !important;
}

.footer-newsletter__form input::placeholder {
  color: rgba(255,255,255,0.45) !important;
}

.footer-newsletter__form input[type="submit"],
.footer-newsletter__form .mailpoet_submit input {
  padding: 14px 24px !important;
  background: var(--color-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: var(--text-sm) !important;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-newsletter__form input[type="submit"]:hover,
.footer-newsletter__form .mailpoet_submit input:hover {
  background: var(--color-primary-light) !important;
  transform: translateY(-1px);
}

.footer-newsletter__form .mailpoet_message,
.footer-newsletter__form .mailpoet_validate_success,
.footer-newsletter__form .mailpoet_validate_error {
  flex-basis: 100%;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.85);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 20px;
  padding-bottom: var(--space-5);
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
}

.footer-bottom__copy {
  color: rgba(255,255,255,0.35);
}

.footer-bottom__copy a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-bottom__copy a:hover {
  color: #fff;
}

.footer-bottom__legal {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer-bottom__legal a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-bottom__legal a:hover {
  color: #fff;
}

.footer-bottom__legal span {
  color: rgba(255,255,255,0.2);
}

/* ==========================================================================
   UTILITAIRES
   ========================================================================== */

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-accent-dark);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    padding: var(--space-4);
    z-index: 99;
    transform: translateY(-110%);
    transition: transform var(--transition-base);
  }

  .main-nav.is-open {
    transform: translateY(0);
  }

  .main-nav__list {
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
  }

  .main-nav__list li {
    width: 100%;
  }

  .main-nav__list a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px 0;
  }

  .main-nav__list .sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: 0;
  }

  .container {
    padding-inline: var(--space-4);
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .months-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .author-box {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer-cta__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-cta__desc {
    margin-inline: auto;
  }

  .footer-cta__actions {
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .months-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-cta__actions {
    flex-direction: column;
    width: 100%;
  }

  .footer-bottom__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom__legal {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   ÉTATS DE FOCUS — ACCESSIBILITÉ
   ========================================================================== */

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   SINGLE POST — DESIGN MAGAZINE VOYAGE
   ========================================================================== */

/* Barre de progression de lecture */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 10000;
  background: transparent;
  pointer-events: none;
}

.reading-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent) 0%, #e0a07f 100%);
  transition: width 80ms linear;
  border-radius: 0 2px 2px 0;
}

/* ── HERO ─────────────────────────────────────────────────────── */

.single-hero {
  position: relative;
  min-height: min(50vh, 450px); /* image à la une plus contenue (cap 450px) */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background-color: var(--color-bg-dark);
}

.single-hero--no-image {
  min-height: 52vh;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, var(--color-primary-light) 100%);
}

.single-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

/* Image hero en <img> responsive (LCP) — couvre la section sans déformation */
.single-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.single-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.55) 35%,
    rgba(0, 0, 0, 0.20) 65%,
    transparent 100%
  );
}

.single-hero__content {
  position: relative;
  z-index: 2;
  padding-top: var(--space-16);
  padding-bottom: var(--space-12);
  color: #fff;
}

/* Breadcrumb catégories dans le hero */
.single-hero__cats {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.single-hero__cat {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.single-hero__cat:hover {
  color: #fff;
}

.single-hero__cats-sep {
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--text-sm);
}

/* H1 incrusté */
.single-hero__title {
  font-size: clamp(1.9rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 820px;
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

/* Meta dans le hero */
.single-hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.82);
}

.single-hero__author-chip {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.single-hero__avatar {
  width: 34px !important;
  height: 34px !important;
  border-radius: var(--radius-full) !important;
  border: 2px solid rgba(255, 255, 255, 0.45) !important;
  flex-shrink: 0;
  object-fit: cover;
}

.single-hero__dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.single-hero__caption {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

/* ── CORPS — COLONNE DE LECTURE + SHARE FLOTTANT ──────────────── */

.single-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: var(--space-8);
  max-width: 940px;
  margin-inline: auto;
  padding-inline: var(--space-6);
  padding-block: var(--space-12) var(--space-12);
}

/* Avec sommaire latéral : 3 colonnes (sommaire + article + partage) */
.single-wrapper--has-toc {
  max-width: 1200px;
}

/* Sommaire latéral — colonne sticky qui suit le défilement.
   top = header (72px) + barre d'onglets contextuelle (~52px). */
.toc-sidebar {
  flex: 0 0 240px;
  align-self: flex-start;
  position: sticky;
  top: calc(72px + 52px + var(--space-3));
}

.toc-sidebar .ves-toc {
  margin: 0;
}

/* La liste scrolle si elle est plus haute que l'écran ; le titre reste visible */
.toc-sidebar .ves-toc__nav {
  max-height: calc(100vh - 160px);
  overflow-y: auto;
}

/* Boutons share flottants */
.share-float {
  position: sticky;
  top: calc(72px + 52px + var(--space-3));
  flex-shrink: 0;
  width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.share-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.share-btn.is-copied {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.share-tooltip {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.2;
  min-height: 2em;
}

/* Article centré — carte blanche détachée du fond de page */
.single-article {
  flex: 1;
  max-width: 800px;
  min-width: 0;
  background-color: var(--color-bg); /* #ffffff */
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* ── CONTENU ARTICLE ──────────────────────────────────────────── */

.single-article .entry-content {
  font-size: var(--text-lg);
  line-height: 1.85;
  color: var(--color-text);
}

/* Marge généreuse sous les paragraphes pour aérer la lecture */
.single-article .entry-content p {
  margin-bottom: var(--space-6);
}

/* ── TABLE DES MATIÈRES (TOC) ─────────────────────────────────── */
.ves-toc {
  margin: 0 0 var(--space-8);
  background: #fff;
  border: none;                              /* plus de bordure grise rigide */
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); /* ombre douce et diffuse */
  padding: var(--space-2) var(--space-5) var(--space-4);
}

.ves-toc__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  cursor: pointer;
  list-style: none;
  padding: var(--space-3) 0;
  font-weight: 700;
  color: var(--color-text);
}

.ves-toc__summary::-webkit-details-marker { display: none; }

.ves-toc__title {
  font-size: var(--text-base);
  letter-spacing: 0.01em;
}

.ves-toc__summary svg {
  flex-shrink: 0;
  color: var(--color-primary);
  transition: transform var(--transition-base);
}

.ves-toc[open] .ves-toc__summary svg { transform: rotate(180deg); }

.ves-toc__nav { padding-bottom: var(--space-3); }

.ves-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);  /* séparateur très discret */
  padding-top: var(--space-3);
}

.ves-toc__item { margin: 3px 0; }   /* plus d'air entre les lignes */

.ves-toc__item a {
  position: relative;
  display: block;
  padding: 9px var(--space-3) 9px var(--space-4);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  line-height: 1.45;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.ves-toc__item--h3 a {
  padding-left: var(--space-7);
  font-size: 0.85rem;
}

.ves-toc__item a:hover {
  color: var(--color-primary);
  background: rgba(78, 121, 132, 0.05);
}

/* Ligne active : barre verticale bleue épaisse (4px) ARRONDIE + léger fond */
.ves-toc__item a.is-active {
  color: var(--color-primary);
  font-weight: 600;
  background: rgba(78, 121, 132, 0.07);
}

.ves-toc__item a.is-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 4px;
  background: var(--color-primary);
  border-radius: 4px;
}

/* Offset d'ancrage (header sticky) + défilement doux */
html { scroll-behavior: smooth; }

.single-article .entry-content :is(h2, h3) { scroll-margin-top: 120px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Lettrine (drop cap) — serif Playfair, alignée proprement sur ~3 lignes,
   sans casser l'interligne du paragraphe. */
.single-article .entry-content > p:first-of-type::first-letter {
  font-family: var(--font-serif);
  font-size: 2.1em;
  line-height: 1;
  font-weight: 700;
  color: var(--color-accent);   /* grande première lettre (pas de lettrine flottante) */
  margin-right: 0.04em;
}

/* Titres dans le contenu — SERIF « magazine » (Playfair Display) pour contraster
   avec le corps de texte sans-serif. Marges hautes généreuses = sections aérées. */
.single-article .entry-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 3.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.005em;
  margin-top: var(--space-16);
  margin-bottom: var(--space-5);
  line-height: 1.18;
  color: var(--color-text);
}

.single-article .entry-content h3 {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-xl), 2.2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.005em;
  margin-top: var(--space-12);
  margin-bottom: var(--space-3);
  line-height: 1.3;
  color: var(--color-text);
}

/* Liens dans le contenu */
.single-article .entry-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  font-weight: 500;
}

.single-article .entry-content a:hover {
  color: var(--color-primary-dark);
  text-decoration-color: var(--color-primary-dark);
}

/* Pull quote — blockquote */
.single-article .entry-content blockquote {
  position: relative;
  margin-block: var(--space-10);
  margin-inline: calc(-1 * var(--space-6));
  padding: var(--space-10) var(--space-10);
  background: var(--color-bg-alt);
  border: none;
  border-top: 4px solid var(--color-primary);
  text-align: center;
}

.single-article .entry-content blockquote::before {
  content: '\201C';
  position: absolute;
  top: -0.28em;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.08;
  font-family: Georgia, serif;
  pointer-events: none;
}

.single-article .entry-content blockquote p {
  font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.45;
  font-style: italic;
  margin: 0;
}

.single-article .entry-content blockquote cite {
  display: block;
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-style: normal;
}

/* Tableau dans le contenu (y compris bloc Gutenberg .wp-block-table) :
   cadre complet fermé sur tous les côtés. */
.single-article .entry-content table,
.single-article .entry-content .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  margin-block: var(--space-8);
  font-size: var(--text-sm);
  border: 1px solid var(--color-border);
}

.single-article .entry-content th,
.single-article .entry-content td {
  padding: 12px;
  text-align: left;
  border: 1px solid var(--color-border);   /* ferme chaque cellule */
}

.single-article .entry-content th {
  background: var(--color-bg-dark);
  color: #fff;
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.single-article .entry-content tr:nth-child(even) td {
  background: var(--color-bg-alt);
}

/* ── ZÉBRAGE DES GROUPES (blocs "Groupe" Gutenberg) ──────────────
   Alterne blanc / bleu très pâle entre les groupes consécutifs. */
.single-article .entry-content .wp-block-group {
  padding: 20px;
  border-radius: var(--radius-md);
  margin-block: var(--space-5);
}

.single-article .entry-content .wp-block-group:nth-of-type(even) {
  background-color: var(--color-bg-alt); /* #f7fafc */
}

/* ── ANNOTATIONS / NOTES (bloc Citation Gutenberg) ───────────────
   Encadré à liseré gauche coloré + fond bleu très pâle. */
.single-article .entry-content .wp-block-quote {
  margin-inline: 0;
  padding: var(--space-5) var(--space-6) var(--space-5) 20px;
  background: #eaf3f4;
  border: none;
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  text-align: left;
}

/* Retire le gros guillemet décoratif du pull-quote pour ces notes */
.single-article .entry-content .wp-block-quote::before {
  display: none;
}

.single-article .entry-content .wp-block-quote p {
  font-size: var(--text-lg);
  font-weight: 500;
  font-style: italic;
  color: var(--color-bg-dark);   /* texte un peu plus sombre que le corps */
  line-height: 1.7;
  text-align: left;
}

.single-article .entry-content .wp-block-quote cite {
  text-align: left;
}

/* ── CALLOUT / ENCADRÉ INFO ──────────────────────────────────────
   Paragraphe auquel l'auteur a donné une couleur de fond dans l'éditeur
   (classe .has-background) → transformé en encadré informatif pro.
   !important nécessaire : la couleur de palette du cœur est en !important,
   et la largeur de bordure est posée en style inline (border-left-width:1px). */
.single-article .entry-content p.has-background {
  box-sizing: border-box;
  max-width: 100%;
  background-color: #eef3f4 !important;                       /* fond bleu pâle uni et subtil */
  border: none !important;                                    /* plus de bordure périphérique */
  border-left: 4px solid var(--color-primary) !important;     /* bordure gauche épaisse */
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: none;
  padding: var(--space-5) var(--space-6) !important;
  margin: var(--space-6) 0;
  color: var(--color-text);
  overflow-wrap: break-word;
}

/* Lien de maillage interne dans l'encadré : visible mais NON gras */
.single-article .entry-content p.has-background a,
.single-article .entry-content p.has-background strong a {
  color: var(--color-primary);
  font-weight: 400 !important;   /* neutralise aussi le <strong> autour du lien */
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.single-article .entry-content p.has-background a:hover {
  color: var(--color-primary-dark);
}

/* Images dans le contenu */
.single-article .entry-content img {
  border-radius: var(--radius-lg);
  max-width: 100%;   /* ne pas étirer les petites images */
  height: auto;
  display: block;
  margin: var(--space-5) auto;   /* centrées */
}

.single-article .entry-content figure {
  margin-block: var(--space-8);
  margin-inline: calc(-1 * var(--space-6));
}

.single-article .entry-content figure img {
  margin: 0;
  border-radius: var(--radius-lg);
}

.single-article .entry-content figcaption {
  padding: var(--space-3) var(--space-6) 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: center;
  font-style: italic;
  line-height: 1.5;
}

/* ── TAGS ─────────────────────────────────────────────────────── */

.entry-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.entry-tags__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-right: var(--space-1);
}

.entry-tags a {
  display: inline-block;
  padding: var(--space-1) var(--space-4);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-decoration: none;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.entry-tags a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ── BOX AUTEUR V2 ────────────────────────────────────────────── */

.author-box {
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
  max-width: 800px;
  margin-inline: auto;
  margin-top: var(--space-10);
  padding: var(--space-8);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  border-top: 4px solid var(--color-primary);
}

/* Conteneur carré fixe : l'avatar ne peut plus s'étirer/se rétrécir */
.author-box__avatar {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
}

/* L'image remplit exactement le conteneur carré (rond garanti) */
.author-box__avatar img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  border-radius: var(--radius-full);
  object-fit: cover;
  object-position: center;
  display: block;
}

.author-box__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}

.author-box__name {
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}

.author-box__bio {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0;
}

.author-box__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  transition: gap var(--transition-fast);
}

.author-box__link:hover {
  gap: var(--space-2);
  text-decoration: none;
}

/* ── NAVIGATION PREV / NEXT VISUELLE ─────────────────────────── */

.post-nav-visual-wrap {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--space-6);
  padding-top: var(--space-8);
}

.post-nav-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.post-nav-visual__item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 180px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  background-color: var(--color-bg-dark);
  transition: transform var(--transition-base);
}

.post-nav-visual__item:hover {
  transform: translateY(-3px);
}

.post-nav-visual__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  transition: opacity var(--transition-base);
}

.post-nav-visual__item:hover .post-nav-visual__bg {
  opacity: 0.75;
}

.post-nav-visual__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.post-nav-visual__content {
  position: relative;
  z-index: 2;
  padding: var(--space-5);
  color: #fff;
}

.post-nav-visual__item--next .post-nav-visual__content {
  text-align: right;
}

.post-nav-visual__dir {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: var(--space-2);
}

.post-nav-visual__item--next .post-nav-visual__dir {
  justify-content: flex-end;
}

.post-nav-visual__title {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.3;
}

/* ── ARTICLES SIMILAIRES ÉDITORIAL ───────────────────────────── */

.related-editorial {
  background: var(--color-bg-alt);
  padding-block: var(--space-16);
  margin-top: var(--space-12);
  border-top: 1px solid var(--color-border);
}

.related-editorial__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.related-editorial__card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.related-editorial__image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-4);
  background: var(--color-border);
}

.related-editorial__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  margin: 0;
  border-radius: 0;
}

.related-editorial__card:hover .related-editorial__image img {
  transform: scale(1.05);
}

.related-editorial__cat {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.related-editorial__title {
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  transition: color var(--transition-fast);
}

.related-editorial__card:hover .related-editorial__title {
  color: var(--color-primary);
}

.related-editorial__meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ── RESPONSIVE SINGLE ────────────────────────────────────────── */

@media (max-width: 1024px) {
  .share-float {
    display: none;
  }

  /* Le sommaire latéral repasse au-dessus de l'article (empilé) */
  .single-wrapper,
  .single-wrapper--has-toc {
    flex-direction: column;
    max-width: 760px;
    gap: var(--space-6);
  }

  .toc-sidebar {
    position: static;
    flex: 0 0 auto;
    width: 100%;
  }

  .toc-sidebar .ves-toc__nav {
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 768px) {
  .single-hero {
    min-height: min(45vh, 340px);
  }

  .single-hero__title {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
  }

  .single-wrapper {
    padding-block: var(--space-8);
    padding-inline: var(--space-4);
  }

  /* Padding réduit de la carte article sur mobile */
  .single-article {
    padding: 20px;
  }

  .single-article .entry-content blockquote {
    margin-inline: 0;
    padding: var(--space-6);
  }

  .single-article .entry-content figure {
    margin-inline: 0;
  }

  .post-nav-visual {
    grid-template-columns: 1fr;
  }

  .post-nav-visual__item--next .post-nav-visual__content {
    text-align: left;
  }

  .post-nav-visual__item--next .post-nav-visual__dir {
    justify-content: flex-start;
  }

  .related-editorial__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-box__link {
    justify-content: center;
  }
}

/* ==========================================================================
   CPT OÙ PARTIR — ARCHIVE NIVEAU 1
   ========================================================================== */

.opp-archive-hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, var(--color-primary-light) 100%);
  padding-block: var(--space-16) var(--space-12);
  text-align: center;
  color: #fff;
}

.opp-archive-hero__title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-block: var(--space-4);
}

.opp-archive-hero__desc {
  font-size: var(--text-lg);
  opacity: 0.85;
  max-width: 580px;
  margin-inline: auto;
  line-height: 1.7;
}

/* Grille des 12 mois — archive */
.opp-months-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.opp-month-tile {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--color-bg-dark);
}

.opp-month-tile__image,
.opp-month-tile__image--placeholder {
  position: absolute;
  inset: 0;
}

.opp-month-tile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.opp-month-tile:hover .opp-month-tile__image img {
  transform: scale(1.06);
}

.opp-month-tile__image--placeholder {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-light));
}

.opp-month-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.15) 55%, transparent 100%);
  transition: opacity var(--transition-base);
}

.opp-month-tile:hover .opp-month-tile__overlay {
  opacity: 0.9;
}

.opp-month-tile__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-4);
  color: #fff;
}

.opp-month-tile__num {
  display: block;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.18em;
  opacity: 0.65;
  margin-bottom: var(--space-1);
}

.opp-month-tile__title {
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: var(--space-1);
}

.opp-month-tile__count {
  font-size: var(--text-xs);
  opacity: 0.7;
}

@media (max-width: 900px) {
  .opp-months-archive-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .opp-months-archive-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   CPT OÙ PARTIR — NIVEAU 2 (HUB MENSUEL)
   ========================================================================== */

/* Lien retour */
.opp-back {
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.opp-back__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: gap var(--transition-fast);
}

.opp-back__link:hover {
  gap: var(--space-3);
}

/* Hero hub mensuel */
.opp-hub-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  overflow: hidden;
}

.opp-hub-hero.has-image {
  min-height: 62vh;
}

.opp-hub-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.opp-hub-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.4) 45%, rgba(0,0,0,0.1) 75%, transparent 100%);
}

.opp-hub-hero .container {
  position: relative;
  z-index: 2;
  padding-bottom: var(--space-12);
  padding-top: var(--space-16);
}

.opp-hub-hero__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
}

.opp-hub-hero__text {
  flex: 1;
  color: #fff;
}

.opp-hub-hero__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: var(--space-3);
}

.opp-hub-hero__title {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.3);
  margin-bottom: var(--space-4);
}

.opp-hub-hero__desc {
  font-size: var(--text-lg);
  opacity: 0.85;
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: var(--space-6);
}

.opp-hub-hero__cta {
  display: inline-flex;
}

/* Numéro du mois en watermark */
.opp-hub-hero__number {
  font-size: clamp(5rem, 14vw, 10rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.08);
  letter-spacing: -0.04em;
  user-select: none;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

/* Contenu Gutenberg du hub */
.opp-hub-intro {
  padding-block: var(--space-10);
}

/* Grille des articles enfants */
.opp-children-section {
  background: var(--color-bg-alt);
  padding-block: var(--space-12) var(--space-16);
  border-top: 1px solid var(--color-border);
}

/* Les enfants du hub réutilisent désormais .posts-grid / .post-card
   (design de cartes unifié avec category.php — voir section POSTS). */

/* Responsive hub */
@media (max-width: 768px) {
  .opp-hub-hero__number { display: none; }
  .opp-hub-hero__inner  { flex-direction: column; }
}

/* ==========================================================================
   CATEGORY.PHP — GUIDE PAYS
   ========================================================================== */

/* Hero catégorie parente */
.cat-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  overflow: hidden;
}

.cat-hero.has-image {
  min-height: 62vh;
}

.cat-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.cat-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.4) 45%, transparent 100%);
}

.cat-hero .container {
  position: relative;
  z-index: 2;
  padding-block: var(--space-20) var(--space-10);
}

.cat-hero__content {
  color: #fff;
  max-width: 720px;
}

.cat-hero__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: var(--space-3);
}

.cat-hero__title {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.cat-hero__desc {
  font-size: var(--text-lg);
  opacity: 0.9;
  line-height: 1.75;
  margin-bottom: var(--space-4);
  max-width: 65ch;
  margin-inline: auto;
}

.cat-hero__desc p { margin: 0 0 var(--space-3); }
.cat-hero__desc p:last-child { margin-bottom: 0; }

.cat-hero__stats {
  font-size: var(--text-sm);
  opacity: 0.65;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* Navigation sous-catégories (onglets) */
.subcat-nav {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 72px;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.subcat-nav__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;     /* tous les onglets visibles (plusieurs lignes si besoin) */
  gap: 0;
  padding-block: 0;
}

.subcat-nav__tab {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.subcat-nav__tab:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary-light);
}

.subcat-nav__tab.is-active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.subcat-nav__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding-inline: var(--space-2);
  background: var(--color-bg-alt);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text-muted);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.subcat-nav__tab.is-active .subcat-nav__count,
.subcat-nav__tab:hover .subcat-nav__count {
  background: var(--color-primary);
  color: #fff;
}

/* Article mis en avant (featured) */
.cat-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.cat-featured__image-link {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.cat-featured__image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.cat-featured:hover .cat-featured__image-link img {
  transform: scale(1.03);
}

.cat-featured__body {
  padding: var(--space-8) var(--space-8) var(--space-8) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cat-featured__title {
  font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-block: var(--space-3) var(--space-4);
}

.cat-featured__title a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.cat-featured__title a:hover {
  color: var(--color-primary);
}

.cat-featured__excerpt {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .cat-hero { min-height: 50vh; }
  .cat-hero__title { font-size: clamp(1.6rem, 7vw, 2.8rem); }

  .cat-featured {
    grid-template-columns: 1fr;
  }
  .cat-featured__body {
    padding: var(--space-6);
  }
  .subcat-nav {
    top: 72px; /* colle juste sous le header (qui reste sticky en mobile) — évite le chevauchement */
  }
}

/* ==========================================================================
   RECHERCHE · 404 · COMMENTAIRES
   ========================================================================== */

/* ── Formulaire de recherche ─────────────────────────────────── */
.ves-search-form {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.ves-search-form__input {
  flex: 1 1 240px;
  min-width: 0;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--text-base);
}

.ves-search-form__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(78, 121, 132, 0.12);
}

.ves-search-form__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

/* ── Page résultats de recherche ─────────────────────────────── */
.search-page__form {
  margin-top: var(--space-5);
  max-width: 560px;
}

.search-empty {
  text-align: center;
  padding: var(--space-12) 0;
}

.search-empty__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.search-empty__hint {
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.search-empty__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

/* ── Page 404 ────────────────────────────────────────────────── */
.error-404 {
  text-align: center;
  padding-block: var(--space-20) var(--space-12);
}

.error-404__code {
  display: block;
  font-size: clamp(4rem, 16vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-primary);
  opacity: 0.18;
}

.error-404__title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-top: var(--space-2);
  margin-bottom: var(--space-3);
}

.error-404__desc {
  max-width: 560px;
  margin: 0 auto var(--space-6);
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}

.error-404__search {
  max-width: 480px;
  margin: 0 auto var(--space-6);
}

.error-404__recent-label {
  margin-top: var(--space-10);
  font-weight: 700;
}

.error-404__recent {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.error-404__recent a { color: var(--color-primary); text-decoration: none; }
.error-404__recent a:hover { text-decoration: underline; }

/* ── Commentaires ────────────────────────────────────────────── */
.comments-area {
  max-width: 800px;
  margin-inline: auto;
}

.comments-area__title {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--space-6);
}

.comment-list {
  list-style: none;
  margin: 0 0 var(--space-10);
  padding: 0;
}

.comment-list ol.children {
  list-style: none;
  margin: 0;
  padding-left: var(--space-6);
}

.comment-body {
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-border);
}

.comment-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
}

.comment-author .avatar { border-radius: var(--radius-full); }
.comment-author .says { display: none; }

.comment-meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-block: var(--space-1) var(--space-3);
}

.comment-meta a { color: inherit; text-decoration: none; }

.comment-content { color: var(--color-text); }
.comment-content p { margin-bottom: var(--space-3); }

.reply {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
}

.comment-form { margin-top: var(--space-8); }

.comment-form__title {
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: var(--space-2);
}

.comment-form__notes {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.comment-form label {
  display: block;
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: var(--space-1);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  font-size: var(--text-base);
  font-family: inherit;
  margin-bottom: var(--space-4);
}

.comment-form textarea {
  min-height: 140px;
  resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(78, 121, 132, 0.12);
}

.comments-area__closed {
  color: var(--color-text-muted);
  font-style: italic;
}

/* ==========================================================================
   PAGE CONTACT — mise en page « magazine » + formulaire WPForms
   ========================================================================== */

.ves-contact {
  max-width: 1080px;
  margin-inline: auto;
}

/* Page contact : pleine largeur centrée, sans sidebar ni bridage à 760px.
   `:has()` cible automatiquement toute page contenant le bloc .ves-contact
   (pas de slug codé en dur, pas de modif PHP). */
.entry-content:has(.ves-contact),
.entry-content:has(.ves-about) {
  max-width: none;
}

.page-layout:has(.ves-contact),
.page-layout:has(.ves-about) {
  grid-template-columns: 1fr;
}

.page-layout:has(.ves-contact) .sidebar,
.page-layout:has(.ves-about) .sidebar {
  display: none;
}

/* Intro centrée */
.ves-contact__intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-10);
}

.ves-contact__eyebrow {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.ves-contact__intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 4vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.ves-contact__lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Grille : info à gauche, formulaire à droite */
.ves-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-10);
  align-items: start;
}

/* Filet de sécurité : WordPress (wpautop) enveloppe parfois les commentaires
   HTML dans des <p> vides qui deviennent des cases de grille et cassent la
   disposition. Les vraies colonnes sont des <div> → on masque tout <p> direct. */
.ves-contact__grid > p { display: none; }

/* Colonne info */
.ves-contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.ves-contact__block {
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.ves-contact__block--pro {
  border-left-color: var(--color-primary-dark);
  background: var(--color-bg-alt);
}

.ves-contact__block-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

/* Icône en CSS (robuste : l'éditeur WordPress retire les <svg> du contenu,
   donc on ne dépend plus d'un <span> dans le HTML de la page). */
.ves-contact__block-head::before {
  content: "";
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: rgba(78, 121, 132, 0.10);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234e7984' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='22' y1='2' x2='11' y2='13'/%3E%3Cpolygon points='22 2 15 22 11 13 2 9 22 2'/%3E%3C/svg%3E");
}

.ves-contact__block--pro .ves-contact__block-head::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%233d5f68' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

/* Masque les résidus laissés par l'éditeur (ancien <span> d'icône retiré du
   HTML, et le <p>&nbsp;</p> vide qu'il laisse parfois dans l'en-tête). */
.ves-contact__icon,
.ves-contact__block-head > p { display: none; }

.ves-contact__block h3 {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  margin: 0;
  color: var(--color-text);
}

.ves-contact__block p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.ves-contact__block p + p { margin-top: var(--space-3); }

/* Colonne formulaire — carte blanche détachée */
.ves-contact__form {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
  padding: var(--space-8);
}

.ves-contact__form-title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.ves-contact__form-intro {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

/* ── Formulaire WPForms : markup MODERNE (variables CSS officielles) ── */
.ves-contact .wpforms-container {
  --wpforms-field-border-radius: 10px;
  --wpforms-field-border-style: solid;
  --wpforms-field-border-size: 1px;
  --wpforms-field-border-color: #e2e8f0;
  --wpforms-field-background-color: #f1f5f6;
  --wpforms-field-text-color: #2d3748;
  --wpforms-label-color: #2d3748;
  --wpforms-label-size-medium-font-size: 14px;
  --wpforms-button-border-radius: 10px;
  --wpforms-button-background-color: #c97b5a;
  --wpforms-button-text-color: #ffffff;
  margin: 0;
}

/* ── Formulaire WPForms : markup CLASSIQUE (règles directes) ── */
.ves-contact .wpforms-form input[type="text"],
.ves-contact .wpforms-form input[type="email"],
.ves-contact .wpforms-form input[type="url"],
.ves-contact .wpforms-form input[type="tel"],
.ves-contact .wpforms-form input[type="number"],
.ves-contact .wpforms-form textarea,
.ves-contact .wpforms-form select {
  width: 100%;
  box-sizing: border-box;
  height: auto !important;          /* annule la hauteur fixe (43px) de WPForms qui rognait le texte */
  min-height: 0;
  padding: 14px 16px !important;
  background-color: #f1f5f6 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  color: #2d3748;
  font-size: var(--text-base);
  line-height: 1.4 !important;
  font-family: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.ves-contact .wpforms-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* Liste déroulante : flèche personnalisée + place réservée pour ne plus couper
   le texte, et points de suspension propres si une option est trop longue. */
.ves-contact .wpforms-form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 44px !important;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px 16px;
}

.ves-contact .wpforms-form input:focus,
.ves-contact .wpforms-form textarea:focus,
.ves-contact .wpforms-form select:focus {
  outline: none;
  background-color: #ffffff !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(78, 121, 132, 0.12) !important;
}

.ves-contact .wpforms-form .wpforms-field {
  padding: 0 0 var(--space-4);
}

.ves-contact .wpforms-form .wpforms-field-label {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.ves-contact .wpforms-form .wpforms-field-description {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.ves-contact .wpforms-form .wpforms-required-label { color: #e53e3e; }

/* Bouton d'envoi — bleu charte + interaction au survol */
.ves-contact .wpforms-form button[type="submit"],
.ves-contact .wpforms-form .wpforms-submit {
  display: inline-block;
  width: 100%;
  padding: 15px 28px !important;
  background-color: var(--color-accent) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: var(--text-base);
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--transition-base), transform var(--transition-fast), box-shadow var(--transition-base);
}

.ves-contact .wpforms-form button[type="submit"]:hover,
.ves-contact .wpforms-form .wpforms-submit:hover {
  background-color: var(--color-accent-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(78, 121, 132, 0.30);
}

/* Responsive : une seule colonne */
@media (max-width: 880px) {
  .ves-contact__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .ves-contact__form { padding: var(--space-6); }
}

/* ==========================================================================
   PAGE À PROPOS — « magazine de voyage premium »
   ========================================================================== */

.ves-about {
  max-width: 1040px;
  margin-inline: auto;
}

/* ── Hero ── */
.ves-about__hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-16);
}

.ves-about__eyebrow {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.ves-about__hero h2 {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-3xl), 5vw, 3rem);
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: var(--space-5);
}

.ves-about__lead {
  font-size: var(--text-xl);
  line-height: 1.8;
  color: var(--color-text-muted);
  margin: 0;
}

/* ── Section asymétrique : photo + récit ── */
.ves-about__story {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-12);
  align-items: center;
  margin-bottom: var(--space-6);
}

/* Filet de sécurité : wpautop peut laisser un </p> orphelin après le <img>,
   ce qui crée un <p> vide en case de grille et décale le texte sous la photo.
   Les vraies colonnes sont le <img> et le <div> → on masque tout <p> direct. */
.ves-about__story > p { display: none; }

.ves-about__photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.10);
  background: var(--color-bg-alt); /* fond doux tant que la photo n'est pas ajoutée */
}

.ves-about__story-body h2 {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 3.4vw, 2.2rem);
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-5);
}

.ves-about__story-body p {
  font-size: var(--text-lg);
  line-height: 1.85;
  color: var(--color-text);
  margin-bottom: var(--space-5);
}

.ves-about__signature {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--color-primary);
  margin: 0;
}

/* ── Ressources ── */
.ves-about__resources {
  background: var(--color-bg-alt);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  margin-bottom: var(--space-16);
}

.ves-about__resources-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto var(--space-10);
}

.ves-about__resources-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 3.4vw, 2.2rem);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.ves-about__resources-head p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

.ves-about__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.ves-about__item {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  margin: 0;
}

/* Icône minimaliste en CSS (robuste : l'éditeur retire les <svg> du contenu) */
.ves-about__item::before {
  content: "";
  display: block;
  width: 46px;
  height: 46px;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-full);
  background-color: rgba(78, 121, 132, 0.10);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
}

/* Itinéraires (carte) */
.ves-about__item:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234e7984' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='1 6 1 22 8 18 16 22 23 18 23 2 16 6 8 2 1 6'/%3E%3Cline x1='8' y1='2' x2='8' y2='18'/%3E%3Cline x1='16' y1='6' x2='16' y2='22'/%3E%3C/svg%3E");
}

/* Hors des sentiers battus (boussole) */
.ves-about__item:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234e7984' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolygon points='16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76'/%3E%3C/svg%3E");
}

/* Logistique / organisation (valise) */
.ves-about__item:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234e7984' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2' ry='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E");
}

.ves-about__item h3 {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.ves-about__item p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ── Conclusion / CTA ── */
.ves-about__cta {
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-16) var(--space-8);
}

.ves-about__cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 3.6vw, 2.4rem);
  color: #fff;
  margin-bottom: var(--space-4);
}

.ves-about__cta p {
  max-width: 560px;
  margin: 0 auto var(--space-8);
  font-size: var(--text-lg);
  line-height: 1.7;
  opacity: 0.92;
}

.ves-about__btns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

/* Préfixe .ves-about : nécessaire pour battre la règle `.entry-content a`
   (couleur bleue + soulignement) qui rendait le bouton fantôme invisible. */
.ves-about .ves-about__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: var(--text-base);
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-base), background var(--transition-base);
}

.ves-about .ves-about__btn--solid {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.ves-about .ves-about__btn--solid:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.ves-about .ves-about__btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.ves-about .ves-about__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 880px) {
  .ves-about__story {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .ves-about__photo {
    max-width: 380px;
    margin-inline: auto;
    aspect-ratio: 4 / 4;
  }
  .ves-about__list {
    grid-template-columns: 1fr;
  }
  .ves-about__resources {
    padding: var(--space-8);
  }
}

/* ==========================================================================
   PAGE LEAD MAGNET — template-carnet.php (« Le Carnet de Route »)
   Landing « Kinfolk » : crème + serif Playfair + accent terracotta.
   ========================================================================== */
.lm-page {
  background: #fdfbf7;
  color: var(--color-text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

.lm-container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}

/* Header minimal */
.lm-header {
  padding-block: var(--space-8);
  border-bottom: 1px solid #ece8df;
  text-align: center;
}
.lm-header__brand {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-2xl);
  letter-spacing: 0.02em;
  color: var(--color-primary);
  margin: 0;
}

/* Hero */
.lm-hero { padding-block: clamp(3rem, 8vw, 7rem) clamp(1.5rem, 4vw, 2.5rem); }
.lm-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.lm-cover-wrap {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin-inline: auto;          /* centré dans la colonne */
}

/* Couche décalée derrière le carnet = légère profondeur (effet papier empilé) */
.lm-cover-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 3px;
  background: #e9dfce;
  transform: translate(13px, 15px) rotate(-2deg);
  transition: transform 0.5s ease;
}

.lm-cover,
.lm-cover--image { position: relative; z-index: 1; }
.lm-cover {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 3 / 4;
  border: 1px solid #e7e0d3;
  border-radius: 3px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.07);
  background: linear-gradient(135deg, #f6f0e6, #ece2d2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  transform: rotate(-2deg);
  transition: transform 0.5s ease;
}
.lm-cover:hover { transform: rotate(0); }

/* Variante image (image mise en avant) : remplit le cadre du carnet */
.lm-cover--image {
  display: block;
  padding: 0;
  object-fit: cover;
  background: #f6f0e6;
}
.lm-cover__eyebrow {
  color: var(--color-accent);
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.lm-cover__title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  line-height: 1.25;
  color: var(--color-primary);
  margin: 0;
}
.lm-cover__rule { display: block; width: 40px; height: 1px; background: var(--color-accent); margin: 1.75rem auto; }
.lm-cover__meta { color: rgba(45, 55, 72, 0.5); font-size: 0.8rem; letter-spacing: 0.04em; margin: 0; }

.lm-badge {
  color: var(--color-accent);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.lm-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3rem);
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}
.lm-hero__lead {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(45, 55, 72, 0.8);
  margin-bottom: var(--space-7);
  max-width: 36rem;
}

.lm-list { list-style: none; margin: 0 0 var(--space-9); padding: 0; }
.lm-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: var(--space-4);
  color: rgba(45, 55, 72, 0.85);
}
.lm-list svg { width: 20px; height: 20px; color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }

/* Formulaire épuré */
.lm-form { max-width: 30rem; }
.lm-form__row { display: flex; align-items: flex-end; gap: var(--space-4); flex-wrap: wrap; }
.lm-form__field { flex: 1 1 220px; min-width: 0; }
.lm-form input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #cfc7b8;
  padding: 0.75rem 0;
  font-size: var(--text-base);
  font-family: inherit;
  color: var(--color-text);
  transition: border-color 0.3s ease;
}
.lm-form input[type="email"]::placeholder { color: rgba(45, 55, 72, 0.4); }
.lm-form input[type="email"]:focus { outline: none; border-bottom-color: var(--color-accent); }
.lm-form__btn {
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 0.875rem 2rem;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s ease;
}
.lm-form__btn:hover { background: var(--color-accent-dark); }
.lm-form__note { margin-top: var(--space-4); font-size: var(--text-xs); color: rgba(45, 55, 72, 0.5); }

/* Formulaire MailPoet inséré dans la landing → style assorti (champ souligné + bouton terracotta) */
.lm-form .mailpoet_form { padding: 0 !important; }
.lm-form .mailpoet_paragraph { margin-bottom: var(--space-4) !important; }
.lm-form .mailpoet_form input.mailpoet_text,
.lm-form .mailpoet_form input.mailpoet_email,
.lm-form .mailpoet_form input[type="email"],
.lm-form .mailpoet_form input[type="text"] {
  width: 100% !important;
  box-sizing: border-box;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #cfc7b8 !important;
  border-radius: 0 !important;
  padding: 0.75rem 0 !important;
  font-size: var(--text-base) !important;
  font-family: inherit !important;
  color: var(--color-text) !important;
}
.lm-form .mailpoet_form input::placeholder { color: rgba(45, 55, 72, 0.4) !important; }
.lm-form .mailpoet_form input:focus {
  outline: none !important;
  border-bottom-color: var(--color-accent) !important;
  box-shadow: none !important;
}
.lm-form .mailpoet_submit input,
.lm-form .mailpoet_form input[type="submit"] {
  width: auto !important;
  background: var(--color-accent) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 3px !important;
  padding: 0.875rem 2rem !important;
  font-size: var(--text-sm) !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: background 0.3s ease;
}
.lm-form .mailpoet_submit input:hover,
.lm-form .mailpoet_form input[type="submit"]:hover { background: var(--color-accent-dark) !important; }
.lm-form .mailpoet_validate_success { color: var(--color-primary) !important; }

/* La Collection */
.lm-collection { background: #fff; border-top: 1px solid #ece8df; padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(3.5rem, 8vw, 7rem); }
.lm-collection__head { text-align: center; max-width: 40rem; margin: 0 auto var(--space-12); }
.lm-collection__head .lm-badge { display: block; }
.lm-collection__title { font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--color-primary); margin-bottom: var(--space-4); }
.lm-collection__desc { color: rgba(45, 55, 72, 0.7); line-height: 1.7; margin: 0; }

.lm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
.lm-card { background: #fff; border: 1px solid #ece8df; border-radius: 3px; overflow: hidden; display: flex; flex-direction: column; }
.lm-card__media { position: relative; }
.lm-card__img { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #f3ede2, #e6ddcd); }
.lm-card__badge { position: absolute; top: 12px; left: 12px; background: #efece6; color: #6b7280; font-size: 11px; font-weight: 500; letter-spacing: 0.02em; padding: 4px 12px; border-radius: 999px; }
.lm-card__body { padding: var(--space-6); display: flex; flex-direction: column; flex: 1; }
.lm-card__eyebrow { color: var(--color-accent); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.5rem; }
.lm-card__title { font-family: var(--font-serif); font-size: var(--text-xl); color: var(--color-text); margin-bottom: var(--space-5); }
.lm-card__btn { margin-top: auto; opacity: 0.5; cursor: not-allowed; border: 1px solid var(--color-primary); color: var(--color-primary); background: transparent; font-size: var(--text-sm); font-weight: 600; padding: 0.625rem; border-radius: 3px; }

/* Teaser « prochains carnets à venir » (sans titres) */
.lm-soon { max-width: 600px; margin: 0 auto; text-align: center; }
.lm-soon__stack { position: relative; height: 150px; margin-bottom: var(--space-8); }
.lm-soon__cover {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 96px;
  height: 128px;
  border-radius: 5px;
  background: linear-gradient(135deg, #f6f0e6, #ece2d2);
  border: 1px solid #e7e0d3;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.07);
}
.lm-soon__cover:nth-child(1) { transform: translateX(-50%) translateX(-58px) rotate(-11deg); }
.lm-soon__cover:nth-child(2) { transform: translateX(-50%); z-index: 2; top: 4px; display: grid; place-items: center; }
.lm-soon__cover:nth-child(3) { transform: translateX(-50%) translateX(58px) rotate(11deg); }
.lm-soon__seal {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(201, 123, 90, 0.12);
  color: var(--color-accent);
  display: grid;
  place-items: center;
}
.lm-soon__seal svg { width: 18px; height: 18px; }
.lm-soon__title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.lm-soon__text {
  color: rgba(45, 55, 72, 0.7);
  line-height: 1.75;
  margin: 0 auto;
  max-width: 460px;
}

/* Footer */
.lm-footer { border-top: 1px solid #ece8df; }
.lm-footer__inner { display: flex; flex-direction: column; gap: var(--space-4); align-items: center; justify-content: space-between; padding-block: var(--space-8); }
.lm-footer__copy { font-size: var(--text-sm); color: rgba(45, 55, 72, 0.55); text-align: center; margin: 0; }
.lm-footer__nav { display: flex; gap: var(--space-6); }
.lm-footer__nav a { font-size: var(--text-sm); color: rgba(45, 55, 72, 0.6); text-decoration: none; transition: color 0.2s ease; }
.lm-footer__nav a:hover { color: var(--color-accent); }

@media (min-width: 768px) {
  .lm-footer__inner { flex-direction: row; }
}
@media (max-width: 768px) {
  .lm-hero__grid { grid-template-columns: 1fr; }
  .lm-grid { grid-template-columns: 1fr; }
}
