/* ============================================================
   capitaine-voyage.com — CSS principal
   Mobile-first | Encadrés Capitaine | Typographie éditoriale
   ============================================================ */

/* ── Variables ────────────────────────────────────────────── */
:root {
  --cv-navy:    #0D2040;
  --cv-blue:    #46678C;
  --cv-gold:    #D25434;
  --cv-orange:  #D25434;
  --cv-sand:    #EAD6B9;
  --cv-sky:     #87BBDC;
  --cv-green:   #2a7d4f;
  --cv-purple:  #6b3fa0;
  --cv-red:     #c0392b;
  --cv-grey:    #6c757d;
  --cv-light:   #f8f9fa;
  --cv-text:    #1a1a2e;
  --cv-radius:  8px;
  --cv-shadow:  0 2px 12px rgba(13,32,64,.12);
  --cv-font:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

body {
  font-family: var(--cv-font);
  color: var(--cv-text);
  background: #fff;
  line-height: 1.7;
  font-size: 17px;
}

a { color: var(--cv-blue); text-decoration: none; }
a:hover { color: var(--cv-navy); text-decoration: underline; }

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--cv-navy);
  margin-top: 1.6rem;
  margin-bottom: .6rem;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.55rem; border-bottom: 2px solid var(--cv-gold); padding-bottom: .3rem; }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1.1rem; }

img { max-width: 100%; height: auto; border-radius: var(--cv-radius); }

/* ── Header ───────────────────────────────────────────────── */
.cv-header {
  background: var(--cv-navy);
  color: #fff;
  padding: .4rem 0;
  transition: background .3s;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
/* Header transparent sur les pages avec hero */
body.cv-has-hero .cv-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  box-shadow: none;
}
body.cv-has-hero .cv-header:hover,
body.cv-has-hero.nav-open .cv-header {
  background: var(--cv-navy);
}

/* Breadcrumb aligné avec le logo (top: .9rem = même padding que le header) */
.cv-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cv-logo {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  flex-shrink: 0;
}
.cv-logo__img {
  height: 66px;
  width: auto;
  display: block;
  filter: drop-shadow(1px 2px 4px rgba(0,0,0,.35));
  border-radius: 0;
}
@media (max-width: 575px) {
  .cv-logo__img { height: 54px; }
}

.cv-nav { display: flex; gap: 1.5rem; margin-left: auto; }
.cv-nav a {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  font-weight: 500;
  transition: color .2s;
}
.cv-nav a:hover { color: var(--cv-gold); text-decoration: none; }

.cv-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

/* ── Bouton recherche header ──────────────────────────────── */
.cv-search-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: rgba(255,255,255,.8);
  font-size: 1.15rem;
  padding: .4rem .5rem;
  cursor: pointer;
  transition: color .2s;
}
.cv-search-trigger:hover { color: #fff; }

@media (max-width: 767px) {
  .cv-nav-toggle { display: block; }
  .cv-nav {
    display: none;
    position: fixed;
    top: 56px; left: 0; right: 0;
    background: var(--cv-navy);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    z-index: 999;
  }
  body.nav-open .cv-nav { display: flex; }
  .cv-search-trigger { margin-left: auto; }
}

/* ── Modal recherche ──────────────────────────────────────── */
.cv-search-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
}
.cv-search-modal.is-open { display: block; }

body.search-open { overflow: hidden; }

.cv-search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 40, .65);
  backdrop-filter: blur(3px);
  animation: cv-fade-in .15s ease;
}

.cv-search-modal__box {
  position: absolute;
  top: 10vh;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, 94vw);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
  overflow: hidden;
  animation: cv-slide-down .18s ease;
}

@keyframes cv-fade-in   { from { opacity: 0; } to { opacity: 1; } }
@keyframes cv-slide-down {
  from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.cv-search-modal__header {
  display: flex;
  align-items: center;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #eee;
  gap: .8rem;
}
.cv-search-modal__icon {
  color: var(--cv-grey);
  font-size: 1.05rem;
  flex-shrink: 0;
}
.cv-search-modal__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.1rem;
  color: var(--cv-text);
  background: transparent;
  min-width: 0;
}
.cv-search-modal__input::placeholder { color: #aaa; }
.cv-search-modal__close {
  background: none;
  border: none;
  color: var(--cv-grey);
  font-size: 1rem;
  cursor: pointer;
  padding: .25rem .4rem;
  border-radius: 6px;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.cv-search-modal__close:hover { background: #f0f0f0; color: var(--cv-text); }

/* Résultats */
.cv-search-modal__results {
  max-height: 52vh;
  overflow-y: auto;
}
.cv-search-modal__loading,
.cv-search-modal__empty {
  padding: 1.5rem 1.4rem;
  color: var(--cv-grey);
  font-size: .95rem;
  text-align: center;
}
.cv-search-modal__loading .fa-spinner { margin-right: .4rem; }

.cv-sr-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.2rem;
  text-decoration: none;
  color: var(--cv-text);
  transition: background .1s;
  border-bottom: 1px solid #f4f4f4;
}
.cv-sr-item:last-child { border-bottom: none; }
.cv-sr-item:hover,
.cv-sr-item.is-active {
  background: var(--cv-sand);
  text-decoration: none;
  color: var(--cv-navy);
}

/* Badge type */
.cv-sr-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 72px;
  justify-content: center;
}
.cv-sr-badge--pays   { background: #d4e5f5; color: var(--cv-navy); }
.cv-sr-badge--region { background: #fde9e3; color: #8B2500; }
.cv-sr-badge--ile    { background: #fef3c7; color: #7a3b00; }
.cv-sr-badge--ville  { background: #e8f3f9; color: var(--cv-blue); }

.cv-sr-nom {
  flex: 1;
  font-size: .98rem;
  font-weight: 500;
}
.cv-sr-nom mark {
  background: none;
  color: var(--cv-blue);
  font-weight: 700;
  padding: 0;
}
.cv-sr-sub {
  font-size: .8rem;
  color: var(--cv-grey);
  flex-shrink: 0;
}
.cv-sr-arrow {
  color: #ccc;
  font-size: .7rem;
  flex-shrink: 0;
}
.cv-sr-item:hover .cv-sr-arrow,
.cv-sr-item.is-active .cv-sr-arrow { color: var(--cv-blue); }

@media (max-width: 480px) {
  .cv-search-modal__box { top: 0; width: 100vw; border-radius: 0 0 14px 14px; }
  .cv-search-modal__results { max-height: 65vh; }
}

/* ── Breadcrumb bas de page ───────────────────────────────── */
.cv-breadcrumb-bottom {
  border-top: 1px solid #eee;
  padding: .6rem 0;
  background: #fafafa;
}
.cv-breadcrumb-bottom__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem;
  font-size: .8rem;
  color: var(--cv-grey);
}
.cv-breadcrumb-bottom__nav a {
  color: var(--cv-grey);
  text-decoration: none;
}
.cv-breadcrumb-bottom__nav a:hover { color: var(--cv-blue); text-decoration: underline; }
.cv-breadcrumb-bottom__nav span:last-child { color: var(--cv-navy); font-weight: 600; }
.cv-breadcrumb-bottom__nav > span:not(:last-child) { color: #ccc; }

/* ── Breadcrumb (ancien — conservé pour rétrocompat) ─────── */
.cv-breadcrumb {
  background: var(--cv-sand);
  padding: .5rem 0;
  font-size: .85rem;
}
.cv-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  list-style: none;
  margin: 0; padding: 0;
}
.cv-breadcrumb__item + .cv-breadcrumb__item::before {
  content: '›';
  color: var(--cv-grey);
  margin-right: .4rem;
}
.cv-breadcrumb__item a { color: var(--cv-grey); }
.cv-breadcrumb__item:last-child { color: var(--cv-navy); font-weight: 600; }

/* ── Layout principal ─────────────────────────────────────── */
.cv-main { padding: 2rem 0 3rem; }

.cv-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 991px) {
  .cv-layout { grid-template-columns: 1fr; }
  .cv-sidebar { order: 2; }
}

/* ── Hero image ───────────────────────────────────────────── */
.cv-hero {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--cv-radius);
  margin-bottom: 1.5rem;
}
.cv-hero-caption {
  font-size: .8rem;
  color: var(--cv-grey);
  margin-top: -.8rem;
  margin-bottom: 1rem;
}

/* ── Contenu éditorial ────────────────────────────────────── */
.cv-content h2 { margin-top: 2.2rem; }
.cv-content h3 { color: var(--cv-blue); }

/* ── Personnage Capitaine sur encadrés ───────────────────── */
.cv-capitaine-char {
  float: left !important;
  width: 150px !important;
  max-width: 150px !important;
  height: auto !important;
  border-radius: 0 !important;
  margin: 0 16px 8px 0 !important;
}
@media (max-width: 575px) {
  .cv-capitaine-char { width: 140px !important; max-width: 140px !important; }
}

/* ── Encadrés du Capitaine ────────────────────────────────── */
.encadre-capitaine {
  border-radius: var(--cv-radius);
  padding: 1.2rem 1.4rem;
  margin: 1.8rem 0;
  border-left: 5px solid;
  background: var(--cv-sand);
}
.encadre-capitaine h4 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: .7rem;
}
.encadre-capitaine p:last-child,
.encadre-capitaine ul:last-child { margin-bottom: 0; }

/* Conseils — bleu marine */
.encadre-capitaine.conseils {
  border-color: var(--cv-navy);
  background: #eef3f9;
}
.encadre-capitaine.conseils h4 { color: var(--cv-navy); }

/* Bon plan — vert */
.encadre-capitaine.bon-plan {
  border-color: var(--cv-green);
  background: #edf7f2;
}
.encadre-capitaine.bon-plan h4 { color: var(--cv-green); }

/* Souvenir — jaune doré */
.encadre-capitaine.souvenir {
  border-color: var(--cv-gold);
  background: #fdf8ee;
}
.encadre-capitaine.souvenir h4 { color: var(--cv-gold); }

/* Avis ami — violet */
.encadre-capitaine.avis-ami {
  border-color: var(--cv-purple);
  background: #f4effe;
}
.encadre-capitaine.avis-ami h4 { color: var(--cv-purple); }

/* Attention — rouge/orange */
.encadre-capitaine.attention {
  border-color: var(--cv-red);
  background: #fdf0ef;
}
.encadre-capitaine.attention h4 { color: var(--cv-red); }

/* Mot du Capitaine — noir */
.encadre-capitaine.mot {
  border-color: #333;
  background: #f5f5f5;
}
.encadre-capitaine.mot h4 { color: #333; }

/* Résumé — bleu clair */
.encadre-capitaine.resume {
  border-color: var(--cv-blue);
  background: #eef3fb;
}
.encadre-capitaine.resume h4 { color: var(--cv-blue); }
.encadre-capitaine.resume ul {
  padding-left: 1.2rem;
  margin: 0;
}
.encadre-capitaine.resume li {
  margin-bottom: .4rem;
  font-weight: 500;
}

/* ── Sidebar ──────────────────────────────────────────────── */
.cv-sidebar { position: sticky; top: 80px; }

.cv-widget {
  background: var(--cv-sand);
  border-radius: var(--cv-radius);
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--cv-shadow);
}
.cv-widget h4 {
  font-size: 1rem;
  color: var(--cv-navy);
  margin-top: 0;
  border-bottom: 2px solid var(--cv-gold);
  padding-bottom: .4rem;
  margin-bottom: .8rem;
}
.cv-widget ul {
  list-style: none;
  padding: 0; margin: 0;
}
.cv-widget ul li {
  border-bottom: 1px solid rgba(0,0,0,.07);
  padding: .4rem 0;
}
.cv-widget ul li:last-child { border: none; }
.cv-widget ul li a { color: var(--cv-navy); font-size: .95rem; }
.cv-widget ul li a:hover { color: var(--cv-blue); }

/* Widget CTA affiliation */
.cv-cta {
  background: var(--cv-navy);
  color: #fff;
  border-radius: var(--cv-radius);
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.cv-cta h4 { color: #fff; border: none; margin-top: 0; font-size: 1rem; }
.cv-cta p  { font-size: .9rem; color: rgba(255,255,255,.85); }
.cv-cta .btn {
  background: var(--cv-gold);
  color: var(--cv-navy);
  font-weight: 700;
  border: none;
  border-radius: 30px;
  padding: .6rem 1.4rem;
  font-size: .95rem;
  transition: background .2s;
}
.cv-cta .btn:hover { background: var(--cv-orange); color: #fff; }

/* ── Sommaire (pages piliers) ─────────────────────────────── */
.cv-toc {
  background: var(--cv-sand);
  border-radius: var(--cv-radius);
  padding: 1.2rem 1.5rem;
  margin-bottom: 2rem;
}
.cv-toc h4 { margin-top: 0; color: var(--cv-navy); font-size: 1rem; }
.cv-toc ol { padding-left: 1.3rem; margin: 0; }
.cv-toc li { margin-bottom: .3rem; }
.cv-toc a { color: var(--cv-blue); font-size: .95rem; }

/* ── Cards sous-pages ─────────────────────────────────────── */
.cv-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.cv-card {
  background: var(--cv-light);
  border-radius: var(--cv-radius);
  padding: 1rem;
  box-shadow: var(--cv-shadow);
  transition: transform .2s, box-shadow .2s;
}
.cv-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,.13);
}
.cv-card a {
  color: var(--cv-navy);
  font-weight: 600;
  font-size: .95rem;
}
.cv-card p { font-size: .85rem; color: var(--cv-grey); margin: .3rem 0 0; }

/* ── Tags métadonnées ─────────────────────────────────────── */
.cv-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .8rem 0 1.5rem;
  font-size: .85rem;
  color: var(--cv-grey);
}
.cv-meta span { display: flex; align-items: center; gap: .3rem; }

/* ── Page recherche ──────────────────────────────────────── */
.cv-rech-form { margin: 1.5rem 0 1.75rem; }
.cv-rech-wrap {
  display: flex; align-items: center; gap: .5rem;
  background: #fff; border-radius: 40px;
  border: 2px solid #e0e6ef; padding: .3rem .3rem .3rem 1.1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.cv-rech-icon { color: #bbb; }
.cv-rech-input {
  flex: 1; border: none; outline: none; font-size: 1.05rem;
  color: var(--cv-navy); background: transparent; padding: .5rem 0;
}
.cv-rech-input::placeholder { color: #bbb; }
.cv-rech-btn {
  background: var(--cv-navy); color: #fff; border: none;
  border-radius: 30px; padding: .55rem 1.4rem;
  font-weight: 700; cursor: pointer; transition: background .2s;
}
.cv-rech-btn:hover { background: var(--cv-blue); }
.cv-rech-count { color: #777; font-size: .92rem; margin-bottom: 1.25rem; }
.cv-rech-results { display: flex; flex-direction: column; gap: .75rem; }
.cv-rech-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; border-radius: 10px; padding: .85rem 1rem;
  box-shadow: 0 1px 6px rgba(0,0,0,.07); text-decoration: none; color: inherit;
  transition: box-shadow .18s;
}
.cv-rech-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.12); color: inherit; text-decoration: none; }
.cv-rech-card__img {
  width: 90px; height: 65px; flex-shrink: 0;
  border-radius: 7px; background-size: cover; background-position: center;
}
.cv-rech-card__body { flex: 1; min-width: 0; }
.cv-rech-card__label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--cv-gold); display: flex; align-items: center; gap: .3rem; }
.cv-rech-card__body h3 { font-size: .95rem; font-weight: 700; margin: .2rem 0 .25rem; border: none; color: var(--cv-navy); }
.cv-rech-card__body p { font-size: .82rem; color: #666; margin: 0; }
.cv-rech-empty { padding: 2rem 0; color: #777; }
@media (max-width: 575px) { .cv-rech-card__img { display: none; } }

/* ── Bouton retour haut ───────────────────────────────────── */
.cv-back-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 800;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cv-navy);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .22s, transform .22s;
  pointer-events: none;
  box-shadow: 0 3px 10px rgba(0,0,0,.25);
}
.cv-back-top--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cv-back-top:hover { background: var(--cv-blue); }

/* ── Blog global ───────────────────────────────────────────── */
.cv-blog-header { margin-bottom: 1.8rem; }
.cv-blog-header__title { font-size: 1.8rem; font-weight: 800; color: var(--cv-navy); }
.cv-blog-header__meta { color: #666; font-size: .9rem; }

/* Grille CSS native — 4 colonnes desktop */
.cv-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 991px) { .cv-blog-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .cv-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .cv-blog-grid { grid-template-columns: 1fr; } }

.cv-blog-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform .18s, box-shadow .18s;
  background: #fff;
}
.cv-blog-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.13); }
.cv-blog-card__img-link { display: block; flex-shrink: 0; }
.cv-blog-card__titre-link { text-decoration: none; }
.cv-blog-card__titre-link:hover .cv-blog-card__titre { color: var(--cv-blue); }

.cv-blog-card__img {
  width: 100%;
  height: 170px;
  overflow: hidden;
  background: #e9ecef;
  flex-shrink: 0;
}
.cv-blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cv-blog-card__img--empty {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,#e9ecef,#dee2e6);
}

.cv-blog-card__body { padding: .85rem 1rem 1rem; flex: 1; display: flex; flex-direction: column; gap: .3rem; }
.cv-blog-card__hub { font-size: .72rem; font-weight: 600; color: var(--cv-gold); text-transform: uppercase; letter-spacing: .05em; }
.cv-blog-card__titre { font-size: .92rem; font-weight: 700; color: var(--cv-navy); margin: 0; line-height: 1.35; }
.cv-blog-card__extrait { font-size: .8rem; color: #666; margin: 0; line-height: 1.45; flex: 1; }

/* Pagination */
.cv-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .4rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.cv-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 .6rem;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  color: var(--cv-navy);
  text-decoration: none;
  font-size: .9rem;
  transition: background .15s, color .15s;
}
.cv-pagination__btn:hover { background: var(--cv-navy); color: #fff; }
.cv-pagination__btn.active { background: var(--cv-navy); color: #fff; border-color: var(--cv-navy); font-weight: 700; }
.cv-pagination__ellipsis { color: #999; padding: 0 .3rem; }

/* ── Footer ───────────────────────────────────────────────── */
.cv-footer {
  background: var(--cv-navy);
  color: rgba(255,255,255,.8);
  padding: 3rem 0 0;
  font-size: .92rem;
}
.cv-footer h5 {
  color: var(--cv-gold);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.cv-footer__brand-link { display: inline-block; margin-bottom: .5rem; }
.cv-footer__logo { height: 70px; width: auto; }
.cv-footer__desc { color: rgba(255,255,255,.8); font-size: .95rem; line-height: 1.65; margin-top: .75rem; }
.cv-footer__brand {
  font-size: 1.2rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.cv-footer__links {
  list-style: none;
  padding: 0; margin: 0;
}
.cv-footer__links li { margin-bottom: .4rem; }
.cv-footer__links a { color: rgba(255,255,255,.7); }
.cv-footer__links a:hover { color: var(--cv-gold); text-decoration: none; }

.cv-footer__rando {
  display: inline-block;
  margin-top: .6rem;
  color: var(--cv-gold);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.cv-footer__rando:hover { color: #fff; text-decoration: none; }

.cv-footer__bottom {
  background: rgba(0,0,0,.2);
  padding: 1rem 0;
  margin-top: 2rem;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  text-align: center;
}
.cv-footer__bottom a { color: rgba(255,255,255,.7); }

/* ── Utilitaires ──────────────────────────────────────────── */
.cv-badge {
  display: inline-block;
  background: var(--cv-gold);
  color: var(--cv-navy);
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.cv-badge.publie-0 { background: #e0e0e0; color: #666; }

.cv-score-badge {
  display: inline-block;
  font-size: .75rem;
  padding: .15rem .5rem;
  border-radius: 20px;
  font-weight: 700;
}
.cv-score-badge.ok  { background: #d4edda; color: #155724; }
.cv-score-badge.mid { background: #fff3cd; color: #856404; }
.cv-score-badge.bad { background: #f8d7da; color: #721c24; }

.text-gold  { color: var(--cv-gold) !important; }
.text-navy  { color: var(--cv-navy) !important; }
.bg-sand    { background: var(--cv-sand) !important; }

/* ── Drapeaux flagcdn.com ─────────────────────────────────── */
.cv-flag {
  display: inline-block;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
  vertical-align: middle;
  flex-shrink: 0;
}
/* Drapeau dans le hero hub — grand */
.cv-hub-hero__flag {
  display: block;
  margin-bottom: .6rem;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
}
/* Drapeau dans les cards index */
.cv-card .cv-flag { margin-right: .4rem; }
/* Drapeau dans la sidebar */
.cv-widget .cv-flag { margin-right: .5rem; }

/* ── cv-main sans padding propre (chaque page gère son layout) */
.cv-main { padding: 0; }

/* ══════════════════════════════════════════════════════════════
   HOME — HERO SEARCH
══════════════════════════════════════════════════════════════ */
.cv-home-hero {
  background: linear-gradient(135deg, #0d2137 0%, var(--cv-navy) 50%, #1a5490 100%);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 5.5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
}
.cv-home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,24,40,.72) 0%, rgba(10,24,40,.55) 100%);
}
.cv-home-hero__inner { max-width: 700px; margin: 0 auto; }
.cv-home-hero__logo {
  display: block;
  margin: 0 auto 1.5rem;
  height: 180px;
  width: auto;
  border-radius: 0;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.4));
}
.cv-home-hero__eyebrow { font-size: .95rem; opacity: .7; margin-bottom: .5rem; letter-spacing: .08em; text-transform: uppercase; }
.cv-home-hero__title {
  font-size: 2.8rem;
  font-weight: 800;
  margin: 0 0 .75rem;
  color: #fff;
  border: none;
}
.cv-home-hero__sub { font-size: 1.05rem; color: rgba(255,255,255,.75); margin: 0 0 2rem; }

/* Barre de recherche hero */
.cv-home-search { margin-bottom: 1.75rem; }
.cv-home-search__wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 50px;
  padding: .25rem .25rem .25rem 1.25rem;
  gap: .5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.cv-home-search__icon { color: #aaa; font-size: 1rem; flex-shrink: 0; }
.cv-home-search__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.05rem;
  color: var(--cv-navy);
  background: transparent;
  min-width: 0;
  padding: .55rem 0;
}
.cv-home-search__input::placeholder { color: #bbb; }
.cv-home-search__btn {
  background: var(--cv-gold);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: .6rem 1.4rem;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.cv-home-search__btn:hover { background: #b87a12; }

/* Pills continents */
.cv-home-continents { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.cv-home-continent-pill {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: .3rem .9rem;
  font-size: .85rem;
  text-decoration: none;
  transition: background .18s;
}
.cv-home-continent-pill:hover { background: rgba(255,255,255,.25); color: #fff; text-decoration: none; }

/* ── Carte continent (page hub continent) ─────────────────── */
.cv-cont-map-wrap {
  width: 100%;
  background: #E8F3F9;
  padding: 1rem 0 .5rem;
  margin-bottom: 0;
}
#cv-cont-map { width: 100%; max-width: 900px; margin: 0 auto; }
#cv-cont-map .svgMap-map-wrapper { background: transparent !important; }
#cv-cont-map svg { display: block; }
#cv-cont-map .svgMap-tooltip { display: none !important; }

/* ══════════════════════════════════════════════════════════════
   HOME — CARTE DU MONDE
══════════════════════════════════════════════════════════════ */
.cv-worldmap-wrap {
  width: 100%;
  background: #E8F3F9;
  padding: 1.5rem 0 .5rem;
  margin-bottom: 0;
}
#cv-worldmap { width: 100%; max-width: 1200px; margin: 0 auto; }
#cv-worldmap .svgMap-map-wrapper { background: transparent !important; }
.svgMap-country { transition: opacity .15s; }
.svgMap-country:hover { opacity: .75; }

.cv-map-tip {
  display: none;
  position: fixed;
  z-index: 9999;
  background: #fff;
  border-radius: 8px;
  padding: .5rem .85rem;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
  pointer-events: none;
  font-size: .85rem;
  line-height: 1.4;
  max-width: 200px;
  white-space: nowrap;
}
.cv-map-tip strong { display: block; color: var(--cv-navy); font-size: .9rem; }
.cv-map-tip__cta   { display: block; color: var(--cv-gold); font-size: .75rem; margin-top: .1rem; }
.cv-map-tip__other { color: var(--cv-grey); font-size: .8rem; }

/* ══════════════════════════════════════════════════════════════
   HOME — BODY SECTIONS
══════════════════════════════════════════════════════════════ */
.cv-home-body { padding: 3rem 0 5rem; }

.cv-home-section { margin-bottom: 3.5rem; }
.cv-home-section__header { margin-bottom: 1.25rem; }
.cv-home-section__header h2 { margin-bottom: .2rem; }
.cv-home-section__sub { color: #777; font-size: .92rem; margin: 0; }

/* Où partir ce mois-ci */
.cv-month-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
@media (max-width: 575px) { .cv-month-grid { grid-template-columns: 1fr; } }

.cv-month-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: transform .18s, box-shadow .18s;
}
.cv-month-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.14); color: inherit; text-decoration: none; }
.cv-month-card__img {
  height: 180px;
  background: linear-gradient(135deg, var(--cv-navy), var(--cv-blue));
  background-size: cover;
  background-position: center;
}
.cv-month-card__img--empty { background: linear-gradient(135deg, var(--cv-navy), var(--cv-blue)); }
.cv-month-card__body { padding: 1rem 1.1rem 1.1rem; }
.cv-month-card__dest { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--cv-gold); }
.cv-month-card__body h3 { font-size: .97rem; font-weight: 700; margin: .3rem 0 .4rem; color: var(--cv-navy); border: none; }
.cv-month-card__body p { font-size: .83rem; color: #666; margin: 0; line-height: 1.45; }

/* À la une */
.cv-une-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 767px) { .cv-une-grid { grid-template-columns: 1fr; } }

.cv-une-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.09);
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: transform .18s, box-shadow .18s;
}
.cv-une-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.14); color: inherit; text-decoration: none; }
.cv-une-card__img {
  height: 160px;
  background: linear-gradient(135deg, var(--cv-navy), var(--cv-blue));
  background-size: cover;
  background-position: center;
}
.cv-une-card__body { padding: .9rem 1rem 1rem; flex: 1; }
.cv-une-card__dest { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--cv-gold); }
.cv-une-card__body h3 { font-size: .92rem; font-weight: 700; margin: .25rem 0 .35rem; color: var(--cv-navy); border: none; }
.cv-une-card__body p { font-size: .8rem; color: #666; margin: 0; line-height: 1.4; }

/* ══════════════════════════════════════════════════════════════
   CONTINENTS + GRILLE DESTINATIONS — homepage
══════════════════════════════════════════════════════════════ */
.cv-continent-section { margin-bottom: 3rem; }
.cv-continent-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cv-navy);
  border-left: 4px solid var(--cv-gold);
  padding-left: .75rem;
  margin-bottom: 1rem;
  border-bottom: none;
}
/* ── Colonnes destinations par continent ─────────────────── */
.cv-continents-cols {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem 1.5rem;
  margin-top: 1.5rem;
}
@media (max-width: 767px) {
  .cv-continents-cols { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
}
@media (max-width: 479px) {
  .cv-continents-cols { grid-template-columns: 1fr; }
}

.cv-cont-col__title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cv-navy);
  text-decoration: none;
  border-bottom: 2px solid var(--cv-gold);
  padding-bottom: .4rem;
  margin-bottom: .75rem;
}
.cv-cont-col__title:hover { color: var(--cv-blue); text-decoration: none; }
.cv-cont-col__title--other { color: var(--cv-grey); border-color: #ddd; cursor: default; }
.cv-cont-col__count {
  margin-left: auto;
  font-size: .72rem;
  font-weight: 600;
  color: var(--cv-grey);
  background: #f0f0f0;
  border-radius: 20px;
  padding: .1rem .5rem;
}

.cv-cont-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cv-cont-list--hidden { display: none; }

.cv-cont-item { border-bottom: 1px solid #f3f3f3; }
.cv-cont-item:last-child { border-bottom: none; }

.cv-cont-link {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .2rem;
  text-decoration: none;
  color: var(--cv-text);
  font-size: .9rem;
  transition: color .15s, background .15s;
  border-radius: 4px;
}
.cv-cont-link:hover {
  color: var(--cv-blue);
  background: var(--cv-sand);
  text-decoration: none;
}
.cv-cont-flag { flex-shrink: 0; font-size: 1.05rem; line-height: 1; }
.cv-cont-nom  { flex: 1; }
.cv-cont-badge {
  font-size: .68rem;
  font-weight: 700;
  color: var(--cv-gold);
  background: rgba(212,144,26,.1);
  border-radius: 20px;
  padding: .05rem .4rem;
  flex-shrink: 0;
}

.cv-cont-more { padding-top: .4rem; }
.cv-cont-more__btn {
  background: none;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: .3rem .85rem;
  font-size: .8rem;
  color: var(--cv-grey);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: border-color .15s, color .15s;
  width: 100%;
  justify-content: center;
  margin-top: .35rem;
}
.cv-cont-more__btn:hover { border-color: var(--cv-blue); color: var(--cv-blue); }
.cv-cont-more__btn[aria-expanded="true"] { border-color: var(--cv-blue); color: var(--cv-blue); }

/* ══════════════════════════════════════════════════════════════
   CIRCUIT LISTING
══════════════════════════════════════════════════════════════ */
.cv-circuit-wrap { padding: 2rem 0 3rem; }
@media (max-width: 767px) {
  .cv-circuit-wrap { padding: 1rem 0 2rem; }
  .cv-circuit-wrap .container { padding-left: 1rem; padding-right: 1rem; }
}

.cv-circuit-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
}

/* Sidebar filtres */
.cv-circuit-sidebar {
  position: sticky;
  top: 80px;
}

/* Bouton Filtres mobile */
.cv-filter-toggle-btn {
  display: none;
  width: 100%;
  padding: .65rem 1rem;
  background: var(--cv-navy);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 1rem;
  text-align: left;
}
.cv-filter-toggle-btn i { margin-right: .4rem; }
.cv-filter-count-badge {
  display: inline-block;
  background: var(--cv-gold);
  color: var(--cv-navy);
  border-radius: 12px;
  padding: 0 .5rem;
  font-size: .75rem;
  font-weight: 700;
  margin-left: .4rem;
}

@media (max-width: 767px) {
  .cv-circuit-layout {
    display: block;
  }
  .cv-filter-toggle-btn { display: flex; align-items: center; }
  .cv-circuit-sidebar {
    overflow: hidden;
    max-height: 0;
    transition: max-height .3s ease;
    margin-bottom: 0;
  }
  .cv-circuit-sidebar.is-open {
    max-height: 2000px;
    margin-bottom: 1.5rem;
  }
}
.cv-filter-group { margin-bottom: 1.5rem; }
.cv-filter-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--cv-grey);
  margin: 0 0 .6rem;
  border: none;
}
.cv-filter-pill {
  display: inline-block;
  margin: .2rem .25rem .2rem 0;
  padding: .3rem .75rem;
  border-radius: 20px;
  font-size: .82rem;
  border: 1px solid #ddd;
  color: var(--cv-text);
  text-decoration: none;
  transition: all .15s;
}
.cv-filter-pill:hover { border-color: var(--cv-blue); color: var(--cv-blue); text-decoration: none; }
.cv-filter-pill.is-active { background: var(--cv-navy); color: #fff; border-color: var(--cv-navy); }
/* Loupe + champ texte sidebar */
.cv-filter-group--search { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }

.cv-filter-search-toggle {
  background: none;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--cv-blue);
  font-size: .9rem;
  transition: background .15s, border-color .15s;
  flex-shrink: 0;
}
.cv-filter-search-toggle:hover { background: var(--cv-sand); border-color: var(--cv-blue); }

.cv-filter-search { flex: 1; min-width: 0; }
.cv-filter-search--hidden { display: none; }

.cv-filter-search__input {
  width: 100%;
  padding: .35rem .75rem;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: .82rem;
  outline: none;
  transition: border-color .15s;
}
.cv-filter-search__input:focus { border-color: var(--cv-blue); }

/* Bouton réinitialiser */
.cv-filter-reset {
  display: flex;
  align-items: center;
  gap: .4rem;
  width: 100%;
  margin-top: 1rem;
  padding: .45rem .9rem;
  background: var(--cv-sand);
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: .82rem;
  color: var(--cv-grey);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  text-decoration: none;
  justify-content: center;
}
.cv-filter-reset:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}

/* Listing */
.cv-circuit-count {
  font-size: .9rem;
  color: var(--cv-grey);
  margin-bottom: 1.2rem;
}
.cv-circuit-empty { color: var(--cv-grey); padding: 2rem 0; }

.cv-circuit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
}
@media (max-width: 575px) {
  .cv-circuit-grid { grid-template-columns: 1fr; }
}

.cv-circuit-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--cv-radius);
  overflow: hidden;
  box-shadow: var(--cv-shadow);
  text-decoration: none;
  color: var(--cv-text);
  background: #fff;
  transition: transform .18s, box-shadow .18s;
}
.cv-circuit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,.14);
  text-decoration: none;
  color: var(--cv-text);
}
.cv-circuit-card__img {
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: var(--cv-sand);
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: .5rem;
}
.cv-circuit-card__img--nophoto { background: linear-gradient(135deg, var(--cv-navy), var(--cv-blue)); }
.cv-circuit-card__type {
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.cv-circuit-card__theme { font-size: 1.2rem; }
.cv-circuit-card__logo {
  position: absolute;
  bottom: .5rem;
  right: .5rem;
  max-height: 28px;
  max-width: 90px;
  object-fit: contain;
  background: rgba(255,255,255,.92);
  border-radius: 4px;
  padding: 2px 6px;
}

.cv-circuit-card__agence { margin: 0; }

/* Régions & Îles sidebar circuits */
.cv-circuit-regions {
  margin-top: 1.5rem;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}
.cv-circuit-regions__title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--cv-grey);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .6rem;
}
.cv-circuit-regions__title::-webkit-details-marker { display: none; }
.cv-circuit-regions__caret { font-size: .65rem; transition: transform .2s; }
details.cv-circuit-regions[open] .cv-circuit-regions__caret { transform: rotate(180deg); }

.cv-circuit-regions__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 260px;
  overflow-y: auto;
}
.cv-circuit-regions__link {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem .2rem;
  font-size: .82rem;
  color: var(--cv-text);
  text-decoration: none;
  border-radius: 4px;
  transition: color .15s, background .15s;
}
.cv-circuit-regions__link i { color: var(--cv-blue); font-size: .75rem; width: 14px; text-align: center; }
.cv-circuit-regions__link:hover { color: var(--cv-blue); background: var(--cv-sand); text-decoration: none; }
.cv-circuit-regions__link.is-active { color: var(--cv-orange); font-weight: 600; }
.cv-circuit-regions__link.is-active i { color: var(--cv-orange); }

/* Lien Safari dans la sidebar circuits */
.cv-filter-group--safari { margin-bottom: 1.2rem; }
.cv-safari-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .7rem;
  font-size: .83rem;
  font-weight: 600;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 6px;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.cv-safari-link:hover { background: #fde68a; color: #92400e; text-decoration: none; }

/* Popup survol circuit */
.cv-circuit-popup {
  display: none;
  position: fixed;
  z-index: 1500;
  width: 280px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  padding: 1rem 1.1rem;
  pointer-events: none;
  border-top: 3px solid var(--cv-gold);
}
.cv-circuit-popup__title {
  font-size: .88rem;
  font-weight: 700;
  color: var(--cv-navy);
  margin: 0 0 .55rem;
  line-height: 1.3;
}
.cv-circuit-popup__intro {
  font-size: .8rem;
  color: var(--cv-text);
  line-height: 1.55;
  margin: 0 0 .75rem;
}
.cv-circuit-popup__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  border-top: 1px solid #f0f0f0;
  padding-top: .55rem;
}
.cv-circuit-popup__prix strong { color: var(--cv-orange); }
.cv-circuit-popup__note { color: var(--cv-grey); }
/* ── Météo ─────────────────────────────────────────────────────────────────── */
.cv-meteo-wrap {
  background: #f8fafd; border: 1px solid #e0e8f0; border-radius: 10px;
  padding: 1.5rem; margin-bottom: 2rem;
}
.cv-meteo-title {
  font-size: 1.1rem; font-weight: 700; margin: 0 0 1rem; color: var(--cv-navy);
  border: none; padding: 0;
}
.cv-meteo-chart-wrap { position: relative; margin-bottom: 1.25rem; }
.cv-meteo-table { overflow-x: auto; }
.cv-meteo-table table {
  width: 100%; border-collapse: collapse; font-size: .75rem; text-align: center;
}
.cv-meteo-table th { color: #888; font-weight: 600; padding: .2rem .3rem; }
.cv-meteo-table td { padding: .25rem .3rem; }
.cv-meteo-tmax td { color: #c0392b; font-weight: 600; }
.cv-meteo-tmin td { color: #2980b9; }
.cv-meteo-pluie td { color: #555; }
.cv-meteo-table td:first-child { text-align: left; color: #666; font-size: .7rem; white-space: nowrap; }
.cv-meteo-source { font-size: .7rem; color: #bbb; margin: .75rem 0 0; text-align: right; }

.cv-filter-select {
  width: 100%; padding: .5rem .75rem; border-radius: 6px;
  border: 1px solid #ddd; font-size: .88rem; background: #fff;
  cursor: pointer; color: #333;
}
.cv-filter-select:focus { outline: none; border-color: var(--cv-navy); }

.cv-circuit-popup__av {
  margin: .4rem 0 .3rem;
  padding-left: 1.1rem;
  font-size: .78rem;
  color: #444;
}
.cv-circuit-popup__av li { margin-bottom: .2rem; }

.cv-circuit-card__body { padding: .9rem 1rem 1rem; flex: 1; display: flex; flex-direction: column; }
.cv-circuit-card__agence {
  font-size: .72rem;
  font-weight: 600;
  color: var(--cv-blue);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 .3rem;
}
.cv-circuit-card__title {
  font-size: .92rem;
  font-weight: 700;
  color: var(--cv-navy);
  margin: 0 0 .6rem;
  line-height: 1.3;
  flex: 1;
  border: none;
}
.cv-circuit-card__meta {
  display: flex;
  gap: .8rem;
  font-size: .78rem;
  color: var(--cv-grey);
  margin-bottom: .5rem;
}
.cv-circuit-card__meta i { margin-right: .2rem; }
.cv-card-meta-link { color: inherit; cursor: pointer; }
.cv-card-meta-link:hover { color: var(--cv-blue); text-decoration: underline; }
.cv-circuit-card__price {
  font-size: .85rem;
  color: var(--cv-text);
  margin: 0;
}
.cv-circuit-card__price strong { color: var(--cv-orange); }
.cv-circuit-card__price--sur-demande { color: var(--cv-grey); font-style: italic; font-weight: 400; }
.cv-circuit-card__note { font-size: .78rem; color: var(--cv-grey); margin: .25rem 0 0; }

/* Pagination */
.cv-circuit-pagination {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
}
.cv-page-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1.2rem;
  border: 1px solid #ddd;
  border-radius: 20px;
  text-decoration: none;
  color: var(--cv-navy);
  font-size: .9rem;
  transition: all .15s;
}
.cv-page-btn:hover { border-color: var(--cv-blue); color: var(--cv-blue); text-decoration: none; }
.cv-page-info { font-size: .85rem; color: var(--cv-grey); }

/* ══════════════════════════════════════════════════════════════
   MODULES MONÉTISATION
══════════════════════════════════════════════════════════════ */
.cv-module { margin: 3rem 0; padding-top: 2rem; }
.cv-module h2 { margin-top: 0; }
.cv-module__intro { color: var(--cv-grey); margin-bottom: 1.5rem; }

/* Circuits — 4 cards avec photo, 1 par agence */
.cv-circuit-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.2rem 0;
}
@media (max-width: 991px) { .cv-circuit-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .cv-circuit-cards { grid-template-columns: 1fr; } }

.cv-circuit-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--cv-radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--cv-text);
  background: #fff;
  box-shadow: var(--cv-shadow);
  transition: transform .2s, box-shadow .2s;
}
.cv-circuit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,.13);
  text-decoration: none;
  color: var(--cv-text);
}

/* Image de couverture */
.cv-circuit-card__img {
  height: 160px;
  background-size: cover;
  background-position: center;
  position: relative;
  background-color: var(--cv-navy);
}
.cv-circuit-card__img--no-photo { background: linear-gradient(135deg,var(--cv-navy),var(--cv-blue)); }

/* Badge agence sur l'image */
.cv-circuit-card__agence-badge {
  position: absolute;
  bottom: .5rem; left: .5rem;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  padding: .2rem .5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .4px;
  backdrop-filter: blur(2px);
}

/* Corps de la card */
.cv-circuit-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: .9rem 1rem;
}
.cv-circuit-card__title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--cv-navy);
  margin: 0 0 .6rem;
  line-height: 1.3;
  flex: 1;
}
.cv-circuit-card__meta   { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .6rem; }
.cv-circuit-card__tag    { font-size: .78rem; background: var(--cv-sand); padding: .15rem .45rem; border-radius: 20px; color: var(--cv-grey); }
.cv-circuit-card__price  { font-size: .82rem; font-weight: 700; color: var(--cv-green); }
.cv-circuit-card__cta    { font-size: .8rem; color: var(--cv-blue); font-weight: 600; margin-top: auto; }

/* Hôtels - formulaire */
.cv-hotels-widget { background: var(--cv-sand); border-radius: var(--cv-radius); padding: 1.5rem; }
.cv-hotels-widget__inner { max-width: 100%; }
.cv-hotels-widget__pitch { margin-bottom: 1rem; font-weight: 500; }
.cv-hotels-widget__mention { font-size: .78rem; color: var(--cv-grey); margin-top: .8rem; margin-bottom: 0; }

.cv-hotels-form__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: .6rem;
  align-items: flex-end;
}
@media (max-width: 767px) { .cv-hotels-form__row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cv-hotels-form__row { grid-template-columns: 1fr; } }

.cv-hotels-form__field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .25rem; color: var(--cv-navy); }
.cv-hotels-form__btn {
  background: var(--cv-navy);
  color: #fff;
  border: none;
  border-radius: var(--cv-radius);
  padding: .52rem 1.2rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s;
}
.cv-hotels-form__btn:hover { background: var(--cv-blue); }

/* GetYourGuide */
.cv-gyg-widget { min-height: 80px; }

/* Module assurance (réutilise encadre attention) */
.cv-module-assurance { margin: 2rem 0; }

/* ══════════════════════════════════════════════════════════════
   HUB HERO — pleine largeur
══════════════════════════════════════════════════════════════ */
.cv-hub-hero {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
@media (max-width: 767px) {
  .cv-hub-hero { height: 320px; }
  .cv-hub-hero__content { padding-bottom: 0; }
}

.cv-hub-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
@media (min-width: 768px) {
  .cv-hub-hero__img {
    inset: -30% 0;    /* marge pour la course parallax */
    height: 160%;
    will-change: transform;
  }
}

.cv-hub-hero__placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cv-navy) 0%, #2a6496 100%);
}

/* SVG pays en background fixe sur toute la page */
.cv-country-bg {
  position: fixed;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 55vw;
  max-width: 800px;
  height: auto;
  border-radius: 0;
  opacity: .04;
  filter: grayscale(1) brightness(0);
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
@media (max-width: 767px) {
  .cv-country-bg { width: 90vw; right: -15%; opacity: .03; }
}

.cv-hub-hero__country-shape {
  position: absolute;
  right: 5%;
  bottom: 0;
  height: 90%;
  width: auto;
  max-width: 45%;
  object-fit: contain;
  object-position: bottom right;
  opacity: .20;
  filter: brightness(0) invert(1);
  pointer-events: none;
  border-radius: 0;
  z-index: 1;
}
@media (max-width: 767px) {
  .cv-hub-hero__country-shape { opacity: .10; max-width: 60%; right: 0; }
}

.cv-hub-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 22, 40, .82) 0%,
    rgba(10, 22, 40, .45) 50%,
    rgba(10, 22, 40, .15) 100%
  );
}

.cv-hub-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 1.5rem 2.2rem;
  max-width: 1140px;
  margin: 0 auto;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


.cv-hub-hero__title {
  color: #fff;
  font-size: 2.8rem;
  font-weight: 800;
  border: none;
  margin: 0 0 .4rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  line-height: 1.2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cv-hub-hero__title-sub {
  display: block;
  font-size: 1.4rem;
  font-weight: 400;
  opacity: .85;
  margin-top: .25rem;
  letter-spacing: .01em;
}
@media (max-width: 767px) {
  .cv-hub-hero__title { font-size: 1.75rem; }
  .cv-hub-hero__title-sub { font-size: 1rem; }
}

.cv-hub-hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.88);
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
  max-width: 600px;
}

.cv-hub-hero__credit {
  display: block;
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  margin-top: .8rem;
}
.cv-hub-hero__credit--right {
  position: absolute;
  bottom: .6rem;
  right: 1rem;
  margin-top: 0;
}
.cv-hub-hero__credit a { color: rgba(255,255,255,.5); }

/* ══════════════════════════════════════════════════════════════
   BLOG HUB — listing articles
══════════════════════════════════════════════════════════════ */
.cv-blog-listing { padding: 2.5rem 0 4rem; }

.cv-blog-section { margin-bottom: 3rem; }
.cv-blog-section__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cv-navy);
  border-left: 4px solid var(--cv-gold);
  padding-left: .75rem;
  margin-bottom: 1.25rem;
}

.cv-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 991px) { .cv-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .cv-blog-grid { grid-template-columns: 1fr; } }

.cv-blog-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: transform .18s, box-shadow .18s;
}
.cv-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,.13);
  color: inherit;
  text-decoration: none;
}

.cv-blog-card__img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #e8eef4;
}
.cv-blog-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.cv-blog-card:hover .cv-blog-card__img-wrap img { transform: scale(1.04); }
.cv-blog-card__img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--cv-navy) 0%, #2a6496 100%);
}

.cv-blog-card__label {
  position: absolute;
  top: .6rem;
  left: .6rem;
  background: var(--cv-gold);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.cv-blog-card__body {
  padding: 1rem 1.1rem .9rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.cv-blog-card__body h3 {
  font-size: .95rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  color: var(--cv-navy);
}
.cv-blog-card__body p {
  font-size: .82rem;
  color: #555;
  margin: 0;
  line-height: 1.45;
  flex: 1;
}
.cv-blog-card__mots {
  font-size: .72rem;
  color: #aaa;
  margin-top: auto;
}

/* ══════════════════════════════════════════════════════════════
   BARRE D'ANCRES STICKY
══════════════════════════════════════════════════════════════ */
.cv-anchors {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #fff;
  border-bottom: 2px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
}

.cv-anchor-flag {
  display: flex;
  align-items: center;
  padding: 0 .4rem;
}
.cv-anchor-flag a { display: flex; align-items: center; }
.cv-anchor-flag img { display: block; border-radius: 2px; }

.cv-anchors__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cv-anchors__list::-webkit-scrollbar { display: none; }

.cv-anchor-link {
  display: block;
  white-space: nowrap;
  padding: .85rem 1.1rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--cv-grey);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
.cv-anchor-link:hover,
.cv-anchor-link.active {
  color: var(--cv-navy);
  border-bottom-color: var(--cv-gold);
  text-decoration: none;
}

/* ── Sous-menus — position fixed via JS pour échapper à overflow-x:auto ─── */
.cv-anchor-has-sub { position: static; }

.cv-anchor-caret {
  font-size: .65rem;
  margin-left: .2rem;
  opacity: .6;
  transition: transform .2s;
  display: inline-block;
}
.cv-anchor-has-sub.open .cv-anchor-caret { transform: rotate(180deg); }

/* Le submenu est rendu en position fixed par JS — jamais clippé par overflow */
.cv-submenu {
  display: none;
  position: fixed;  /* positionné par JS via top/left */
  min-width: 200px;
  background: var(--cv-navy);
  border-top: 3px solid var(--cv-gold);
  border-radius: 0 0 var(--cv-radius) var(--cv-radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  z-index: 1100;
  padding: .4rem 0;
}
.cv-submenu--wide { min-width: 240px; }
.cv-submenu.open { display: block; }

.cv-submenu a {
  display: block;
  padding: .45rem 1.1rem;
  color: rgba(255,255,255,.85);
  font-size: .85rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background .12s, color .12s;
}
.cv-submenu a:hover {
  background: rgba(255,255,255,.1);
  color: var(--cv-gold);
  text-decoration: none;
}
.cv-submenu a.current { color: var(--cv-gold); font-weight: 700; }

/* Mobile : panneau fixe pleine largeur sous la barre */
@media (max-width: 767px) {
  .cv-submenu {
    position: fixed !important;
    left: 0 !important;
    width: 100vw;
    min-width: 0;
    border-radius: 0;
    display: none;
    flex-wrap: wrap;
    flex-direction: row;
    padding: .3rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
  }
  .cv-submenu.open { display: flex; }
  .cv-submenu a {
    flex: 0 0 50%;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
}

/* ══════════════════════════════════════════════════════════════
   GRILLE THÉMATIQUE
══════════════════════════════════════════════════════════════ */
.cv-hub-body { padding-top: 0; padding-bottom: 3rem; }

/* ── Grille pays continent ────────────────────────────────── */
.cv-continent-pays { margin-bottom: 3rem; }
.cv-continent-pays__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cv-navy);
  margin-bottom: 1.6rem;
}

/* Grille silhouettes */
.cv-sil-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem 1.5rem;
}
@media (max-width: 767px) {
  .cv-sil-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem .75rem; }
}
@media (max-width: 480px) {
  .cv-sil-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem .75rem; }
}

.cv-sil-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  cursor: pointer;
}
.cv-sil-shape {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transition: transform .2s, filter .2s;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.22));
}
.cv-sil-item:hover .cv-sil-shape {
  transform: translateY(-3px) scale(1.04);
  filter: drop-shadow(0 5px 14px rgba(0,0,0,.35));
}
.cv-sil-nom {
  font-size: .82rem;
  font-weight: 600;
  color: var(--cv-navy);
  text-align: center;
  line-height: 1.2;
}

/* Ancienne card (conservée pour homepage pays) */
.cv-pays-card__badge {
  font-size: .7rem;
  background: var(--cv-gold);
  color: #fff;
  padding: .1rem .4rem;
  border-radius: 20px;
  font-weight: 600;
  white-space: nowrap;
}

/* ── Villes & Régions enfants ──────────────────────────────── */
.cv-child-hubs { margin-bottom: 3rem; }
.cv-child-hubs__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cv-navy);
  border-left: 4px solid var(--cv-gold);
  padding-left: .75rem;
  margin-bottom: 1.1rem;
}
.cv-child-hubs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .85rem;
}
@media (max-width: 575px) { .cv-child-hubs__grid { grid-template-columns: repeat(3, 1fr); gap: .6rem; } }

.cv-child-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: var(--cv-navy);
  box-shadow: 0 2px 6px rgba(0,0,0,.09);
  transition: transform .18s, box-shadow .18s;
  background: #fff;
}
.cv-child-card:hover { transform: translateY(-3px); box-shadow: 0 5px 16px rgba(0,0,0,.14); text-decoration: none; color: var(--cv-navy); }
.cv-child-card__img {
  height: 90px;
  background: linear-gradient(135deg, var(--cv-navy), var(--cv-blue));
  background-size: cover;
  background-position: center;
}
.cv-child-card__img--empty { background: linear-gradient(135deg, #d0d8e4, #b0bec5); }
.cv-child-card__nom {
  padding: .45rem .6rem;
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.cv-theme-grid { margin-bottom: 3rem; }
.cv-theme-grid__title {
  font-size: 1.3rem;
  color: var(--cv-navy);
  border: none;
  margin-bottom: 1.2rem;
}

.cv-theme-grid__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 991px) { .cv-theme-grid__cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px)  { .cv-theme-grid__cards { grid-template-columns: repeat(2, 1fr); } }

.cv-theme-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.2rem .8rem 1rem;
  background: #fff;
  border: 1.5px solid #e9ecef;
  border-radius: var(--cv-radius);
  text-decoration: none;
  color: var(--cv-navy);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  position: relative;
}
.cv-theme-card:hover {
  border-color: var(--cv-gold);
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--cv-navy);
}
.cv-theme-card--soon { opacity: .6; pointer-events: none; }

.cv-theme-card__icon  { font-size: 2rem; margin-bottom: .5rem; line-height: 1; }
.cv-theme-card__label { font-size: .95rem; font-weight: 700; margin-bottom: .2rem; }
.cv-theme-card__desc  { font-size: .78rem; color: var(--cv-grey); line-height: 1.3; }
.cv-theme-card__badge {
  position: absolute;
  top: .5rem; right: .5rem;
  font-size: .65rem;
  background: #e9ecef;
  color: #666;
  padding: .1rem .4rem;
  border-radius: 10px;
}

/* ══════════════════════════════════════════════════════════════
   LAYOUT ÉDITORIAL HUB
══════════════════════════════════════════════════════════════ */
.cv-hub-content { margin-top: 2rem; }

.cv-editorial h2 { margin-top: 2.2rem; }
.cv-editorial > h2:first-child { margin-top: 0; }
.cv-editorial h3 { color: var(--cv-blue); }
.cv-editorial img { width: 100%; }

/* Sidebar sticky */
.cv-sidebar-sticky { position: sticky; top: 110px; }

.cv-widget--rando { border-left: 3px solid var(--cv-gold); }

/* Sidebar villes — liste déroulante */
.cv-widget--villes details summary {
  font-size: .92rem;
  font-weight: 600;
  color: var(--cv-navy);
  cursor: pointer;
  list-style: none;
  padding: .1rem 0;
}
.cv-widget--villes details summary::-webkit-details-marker { display: none; }
.cv-widget--villes details summary::after {
  content: ' ▾';
  font-size: .75rem;
  opacity: .6;
}
.cv-widget--villes details[open] summary::after { content: ' ▴'; }
.cv-sidebar-villes-list {
  list-style: none;
  padding: .4rem 0 0;
  margin: 0;
}
.cv-sidebar-villes-list li { border-bottom: 1px solid rgba(0,0,0,.06); }
.cv-sidebar-villes-list li:last-child { border: none; }
.cv-sidebar-villes-list a {
  display: block;
  padding: .35rem .2rem;
  color: var(--cv-navy);
  font-size: .88rem;
  text-decoration: none;
  transition: color .15s;
}
.cv-sidebar-villes-list a:hover { color: var(--cv-gold); }

/* Mini-circuits sidebar continent */
.cv-circ-mini {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e9ef;
  text-decoration: none;
  margin-bottom: .75rem;
  transition: box-shadow .18s, transform .18s;
}
.cv-circ-mini:last-child { margin-bottom: 0; }
.cv-circ-mini:hover { box-shadow: 0 4px 14px rgba(0,0,0,.12); transform: translateY(-2px); }
.cv-circ-mini__img {
  width: 100%;
  height: 140px;
  background-size: cover;
  background-position: center;
  background-color: var(--cv-sand);
}
.cv-circ-mini__body {
  padding: .55rem .65rem .6rem;
}
.cv-circ-mini__pays {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  color: var(--cv-gold);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .15rem;
}
.cv-circ-mini__title {
  display: block;
  font-size: .84rem;
  font-weight: 600;
  color: var(--cv-navy);
  line-height: 1.3;
  margin-bottom: .25rem;
}
.cv-circ-mini__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: .3rem;
}
.cv-circ-mini__meta {
  font-size: .75rem;
  color: #555;
}
.cv-circ-mini__meta strong { color: var(--cv-navy); }
.cv-circ-mini__logo {
  height: 22px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(30%);
}
.cv-circ-mini__agence {
  font-size: .7rem;
  color: #888;
}

/* Autres continents */
.cv-autres-continents {
  background: var(--cv-navy);
  padding: 2.5rem 0 2rem;
  margin-top: 2rem;
}
.cv-autres-continents__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.4rem;
  text-align: center;
}
.cv-autres-continents__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.cv-navcont-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  width: 120px;
}
.cv-navcont-link__img {
  width: 100%;
  height: 80px;
  border-radius: var(--cv-radius);
  background-size: cover;
  background-position: center;
  transition: transform .2s, box-shadow .2s;
}
.cv-navcont-link__img--empty { background: var(--cv-blue); }
.cv-navcont-link:hover .cv-navcont-link__img {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,.3);
}
.cv-navcont-link__nom {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  text-align: center;
}

/* Section Découvrir aussi */
.cv-discover-also {
  background: #E8F3F9;
  padding: 2.5rem 0 2rem;
  margin-top: 2rem;
}
.cv-discover-also__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cv-navy);
  margin-bottom: 1.2rem;
}

/* Sidebar nav — item actif */
.cv-widget--nav ul { padding: 0; margin: 0; list-style: none; }
.cv-widget--nav ul li { border-bottom: 1px solid rgba(0,0,0,.06); }
.cv-widget--nav ul li:last-child { border: none; }
.cv-widget--nav ul li a {
  display: block;
  padding: .45rem .3rem;
  color: var(--cv-navy);
  font-size: .92rem;
  text-decoration: none;
  transition: color .15s;
}
.cv-widget--nav ul li a:hover { color: var(--cv-blue); }
.cv-widget--nav ul li.cv-nav-active a {
  color: var(--cv-blue);
  font-weight: 700;
  border-left: 3px solid var(--cv-gold);
  padding-left: .6rem;
}

/* Bloc circuits */
.cv-circuits-bloc {
  padding-top: 2rem;
  border-top: 2px solid #e9ecef;
}

/* Index.php : padding autour du container */
.cv-main > .container { padding-top: 2rem; padding-bottom: 3rem; }
@media (max-width: 767px) {
  .cv-main > .container,
  .container { padding-left: 1rem; padding-right: 1rem; }
}

/* ═══════════════════════════════════════════════
   HUBS THÈME — themes.php + theme_hub.php
═══════════════════════════════════════════════ */

/* Hero court (page themes.php) */
.cv-hub-hero--short { min-height: 220px; }
.cv-hub-hero--short .cv-hub-hero__img { display: none; }
.cv-hub-hero--short { background: linear-gradient(135deg, var(--cv-navy) 0%, var(--cv-blue) 100%); }

/* Carte thème — grille listing /themes/ */
.cv-theme-hub-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  transition: transform .2s, box-shadow .2s;
  background: #fff;
}
.cv-theme-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  text-decoration: none;
}
.cv-theme-hub-card__img {
  height: 140px;
  background-size: cover;
  background-position: center;
  position: relative;
  background-color: var(--cv-navy);
}
.cv-theme-hub-card__emoji {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.5));
}
.cv-theme-hub-card__body {
  padding: .75rem 1rem .9rem;
}
.cv-theme-hub-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cv-navy);
  margin: 0 0 .2rem;
}
.cv-theme-hub-card__nb {
  font-size: .82rem;
  color: var(--cv-blue);
}

/* Lien actif header nav */
.cv-nav a.is-active { color: var(--cv-gold); font-weight: 700; }

/* Badge nb circuits dans barre d'ancres */
.cv-anchor-badge {
  display: inline-block;
  background: var(--cv-gold);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 0 6px;
  line-height: 1.5;
  margin-left: 4px;
  vertical-align: middle;
}

/* cv-theme-hub-card restructuré : div wrapper + liens séparés */
.cv-theme-hub-card { cursor: default; }
.cv-theme-hub-card > a:first-child { display: block; text-decoration: none; }
.cv-theme-hub-card > a:first-child:hover { text-decoration: none; }
.cv-theme-hub-card__nb {
  display: block;
  padding: .3rem 1rem .6rem;
  font-size: .82rem;
  color: var(--cv-blue);
  text-decoration: none;
}
.cv-theme-hub-card__nb:hover { text-decoration: underline; color: var(--cv-navy); }

/* Theme hub : sidebar alignée en haut pour que sticky fonctionne */
.cv-hub-content > aside.col-lg-4 { align-self: flex-start; }

/* Tags pays/thèmes inter-liens */
.cv-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .8rem;
}
.cv-tag-pays {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: #f0f4f8;
  border: 1px solid #dce3ea;
  border-radius: 20px;
  padding: .3rem .75rem;
  font-size: .85rem;
  color: var(--cv-navy);
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.cv-tag-pays:hover { background: var(--cv-blue); color: #fff; border-color: var(--cv-blue); text-decoration: none; }
.cv-tag-pays--nolink { cursor: default; }
.cv-tag-pays__nb {
  background: rgba(0,0,0,.1);
  border-radius: 10px;
  padding: 0 .4rem;
  font-size: .75rem;
  font-weight: 700;
}
.cv-tag-pays:hover .cv-tag-pays__nb { background: rgba(255,255,255,.25); }
