/* ==========================================================================
   Caladeo Connect · maquette statique
   Un seul fichier CSS partagé. Palette et échelles dans :root.
   ========================================================================== */

:root {
  /* Palette issue du logo : anthracite "caladeo" + orange "connect" (#F07C1F) */
  --navy-950: #202024;
  --navy-900: #2b2b31;
  --navy-800: #35353b;
  --navy-700: #4b4b54;
  --navy-100: #ececef;
  --ink: #26262b;
  --muted: #6e6e78;
  --border: #e5e5ea;
  --bg: #f7f7f9;
  --surface: #ffffff;
  --accent: #f07c1f;
  --accent-strong: #c4620e;
  --accent-soft: #fdefe2;
  --ok: #1e8e5a;
  --ok-soft: #e4f5ec;

  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 18px;
  --shadow-s: 0 1px 3px rgba(32, 32, 38, 0.08);
  --shadow-m: 0 6px 24px rgba(32, 32, 38, 0.10);
  --shadow-l: 0 16px 48px rgba(32, 32, 38, 0.16);

  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Lora", Georgia, serif;

  --container: 1160px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

/* L'attribut hidden doit toujours gagner, même face à un display
   explicite (ex. .msg-thread en flex) — sans ceci, les panneaux
   d'onglets "masqués" restent visibles */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }
a { color: var(--accent-strong); }
ul { padding-left: 1.2em; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding: 72px 0; }
.section--alt { background: var(--bg); }
.section--dark { background: var(--navy-900); color: #fff; }
.section--tight { padding: 48px 0; }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 10px;
}
.section--dark .eyebrow { color: #ffc38b; }

.lead { font-size: 1.15rem; color: var(--muted); }
.section--dark .lead { color: #cfcfd8; }

.center { text-align: center; }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

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

.btn--ghost { border-color: var(--navy-700); color: var(--navy-700); background: transparent; }
.btn--ghost:hover { background: var(--navy-100); }

.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--navy-100); }

.btn--outline-light { border-color: rgba(255,255,255,0.5); color: #fff; background: transparent; }
.btn--outline-light:hover { background: rgba(255,255,255,0.1); }

.btn--locked {
  background: var(--bg);
  color: var(--muted);
  border-color: var(--border);
  cursor: not-allowed;
}
.btn--locked:hover { transform: none; }

/* Variante outline : action secondaire mais visible (un seul bouton
   plein orange par écran, celui du hero) */
.btn--outline {
  background: var(--surface);
  color: var(--accent-strong);
  border-color: var(--accent);
}
.btn--outline:hover { background: var(--accent-soft); }

.btn--lg { padding: 15px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   Badges et tags
   -------------------------------------------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.badge--reseau { background: var(--navy-100); color: var(--navy-700); }
.badge--connecte { background: var(--accent-soft); color: var(--accent-strong); }

/* Nouveau modèle : badge de formule discret (pas de badge fondatrice, sans valeur pour l'acheteur) */
.badge--formule { background: var(--navy-100); color: var(--navy-700); }
.agency-hero .badge--formule,
.ms-user .badge--formule { background: rgba(255, 255, 255, 0.14); color: #e4e4e9; }

.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
}
.tags li {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy-900);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}
.brand-mark { flex: none; }
.brand em { font-style: normal; color: var(--accent); }

/* Logo image (assets/img/caladeo-connect.png) */
.brand-logo { display: block; height: 32px; width: auto; }
.brand-plate { display: inline-flex; align-items: center; }
.site-footer .brand-plate {
  background: #fff;
  padding: 8px 14px;
  border-radius: 10px;
}
.site-footer .brand-logo { height: 26px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.main-nav > a, .nav-group > a {
  display: inline-block;
  padding: 8px 13px;
  border-radius: var(--radius-s);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav > a:hover, .nav-group > a:hover { background: var(--bg); }
.main-nav > a.active, .nav-group > a.active { color: var(--accent-strong); }

.nav-group { position: relative; }
.nav-group > a::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
}
.nav-sub {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  min-width: 230px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  padding: 8px;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.nav-group:hover .nav-sub,
.nav-group:focus-within .nav-sub {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
/* Pont invisible entre le lien et le panneau : la souris peut traverser
   l'interstice (créé par le translateY d'ouverture) sans fermer le menu */
.nav-sub::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-sub a {
  padding: 8px 12px;
  border-radius: var(--radius-s);
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.93rem;
}
.nav-sub a:hover { background: var(--bg); color: var(--accent-strong); }

/* Méga-menu Destinations : zones puis destinations */
.nav-sub--mega {
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 900px;
  max-width: calc(100vw - 32px);
  padding: 18px 18px 14px;
  gap: 4px 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.nav-group:hover .nav-sub--mega,
.nav-group:focus-within .nav-sub--mega {
  transform: translateX(-50%) translateY(0);
}
.nav-mega-col { display: flex; flex-direction: column; gap: 1px; }
.nav-sub a.nav-mega-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-strong);
  margin-bottom: 7px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}
.nav-sub a.nav-mega-title:hover { background: none; color: var(--accent); }

/* Pastille devant chaque destination : orange = couverte par des membres
   (lien direct vers la page destination ou l'annuaire filtré), grise = pas
   encore couverte (renvoie à sa zone dans le hub destinations) */
.nav-mega-col a:not(.nav-mega-title) {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
}
.nav-mega-col a:not(.nav-mega-title)::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
}
.nav-mega-col a[href*="?destination="]::before,
.nav-mega-col a[href$="destination.html"]::before,
.nav-mega-col a[href*="destination-"]::before {
  background: var(--accent);
}
.nav-mega-col a[href*="destinations.html#"] { color: var(--muted); }
.nav-mega-col a[href*="destinations.html#"]:hover { color: var(--accent-strong); }

.nav-sub a.nav-mega-all {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 11px 14px;
  background: var(--bg);
  border-radius: var(--radius-s);
  font-weight: 600;
  color: var(--accent-strong);
}
.nav-sub a.nav-mega-all::after { content: "\2192"; flex: none; }
.nav-sub a.nav-mega-all:hover { background: var(--accent-soft); }

section[id] { scroll-margin-top: 84px; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-select {
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  background: var(--surface);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  padding: 7px 8px;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 10px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(240, 124, 31, 0.26), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(255, 255, 255, 0.05), transparent 65%),
    var(--navy-900);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1.6px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; }

.hero--home { padding: 92px 0 100px; }
.hero--home .hero-inner { max-width: 780px; }
.hero--page { padding: 64px 0; }
.hero--page .hero-inner { max-width: 780px; }

.hero h1 { color: #fff; }
.hero .lead { color: #cdcdd5; font-size: 1.18rem; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-note {
  margin-top: 26px;
  font-size: 0.88rem;
  color: #a5a5b0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Barre de recherche rapide */
.quick-search {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  background: #fff;
  border-radius: var(--radius-l);
  padding: 10px;
  margin-top: 34px;
  box-shadow: var(--shadow-l);
}
.quick-search .field { display: flex; flex-direction: column; gap: 2px; padding: 4px 10px; }
.quick-search label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}
.quick-search select {
  border: none;
  background: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-900);
  padding: 4px 0;
  cursor: pointer;
}
.quick-search select:focus { outline: none; }
.quick-search .btn { align-self: center; }

/* --------------------------------------------------------------------------
   Bandes de chiffres et de rappel B2B
   -------------------------------------------------------------------------- */

/* Chiffres clés de l'accueil : cartes icône + chiffre + ligne de contexte
   (la version bande de 3 chiffres nus était trop simple). */
.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
  align-items: center;
}
.stat-card .picto {
  width: 44px; height: 44px;
  border-radius: var(--radius-m);
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-card__num {
  margin: 0;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--navy-900);
}
.stat-card__label { margin: 0; font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.stat-card__hint {
  grid-column: 1 / -1;
  margin: 14px 0 0;
  padding-top: 13px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}

.b2b-band {
  background: var(--navy-950);
  color: #cdcdd5;
  padding: 18px 0;
  font-size: 0.95rem;
}
.b2b-band .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}
.b2b-band strong { color: #fff; }
.b2b-band svg { flex: none; }

/* --------------------------------------------------------------------------
   Étapes "comment ça marche"
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 28px 24px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-block;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; }

/* Variante accueil : icône en tuile neutre en haut à droite (l'orange reste
   sur la pastille de numéro) + chevrons de liaison entre les étapes. */
.step__icon {
  position: absolute;
  top: 24px; right: 22px;
  width: 42px; height: 42px;
  border-radius: var(--radius-m);
  background: var(--bg);
  color: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Cahier des charges des agences partenaires (accueil) : 6 engagements
   issus de la charte qualité, en cartes compactes avec coche verte. */
.charter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.charter-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 20px 22px;
}
.charter-item h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.charter-item h3::before {
  content: "";
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5 6.5 11.5l6-7' fill='none' stroke='%231e8e5a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.charter-item p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.charter-note {
  margin: 22px auto 0;
  max-width: 720px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.steps--flow { gap: 36px; }
.steps--flow .step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -30px;
  width: 24px; height: 24px;
  margin-top: -12px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m6 4 4 4-4 4' fill='none' stroke='%234b4b54' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Carte agence (composant transverse)
   -------------------------------------------------------------------------- */

.agency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}
/* Pages destination : la grille des membres est plafonnée à 6 cartes
   (triées par formule puis note) ; le reste vit dans l'annuaire filtré,
   accessible via le bouton placé sous la grille. */
.agency-grid--capped > .agency-card:nth-child(n + 7) { display: none; }

.agency-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.agency-card:hover {
  box-shadow: var(--shadow-m);
  transform: translateY(-3px);
  border-color: #f3c193;
}
.agency-card:hover .agency-card__name a { color: var(--accent-strong); }

.agency-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.agency-card__body {
  padding: 20px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.agency-card__top { margin-bottom: 2px; }
.agency-card .agency-logo { border-radius: 14px; }
/* Toute la carte est cliquable via le lien du titre */
.agency-card__name a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.agency-card__go {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-strong);
}
.agency-card__go span { transition: margin-left 0.15s ease; }
.agency-card:hover .agency-card__go span { margin-left: 4px; }

img.agency-logo { display: block; object-fit: cover; }

.agency-logo {
  width: 52px; height: 52px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-m);
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(135deg, hsl(var(--h, 210), 55%, 42%), hsl(calc(var(--h, 210) + 40), 60%, 32%));
}
.agency-logo--lg { width: 76px; height: 76px; font-size: 1.5rem; border-radius: var(--radius-l); }
/* Logo de l'agence en tête de la carte "En bref" (sidebar) : cadre
   FIXE pleine largeur de carte, identique pour toutes les agences,
   le logo y est centré en entier quelle que soit sa forme — carré,
   wordmark horizontal ou très allongé, la mise en page ne varie
   jamais. Fond blanc pour les logos transparents ou conçus pour
   fond clair. */
.aside-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 92px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  margin-bottom: 16px;
}
.aside-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.agency-card__name { margin: 4px 0 0; font-size: 1.18rem; letter-spacing: -0.01em; }
.agency-card__name a { color: var(--navy-900); text-decoration: none; }
.agency-card__name a:hover { color: var(--accent-strong); }

.agency-card__meta {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

/* Ancienneté dans le réseau, en haut à droite de la carte (remplace
   l'ancien badge de formule, info interne sans valeur pour un acheteur) */
.agency-card__since {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 5px;
}
.agency-card__dest { font-size: 0.92rem; margin: 0; }
.agency-card__dest strong { font-weight: 600; }

/* Pitch : pourquoi travailler avec cette agence */
.agency-card__pitch {
  margin: 2px 0 4px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Lignes structurées avec icône (destinations, types de voyages) */
.agency-card__row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  font-size: 0.88rem;
}
.agency-card__row svg { flex: none; margin-top: 3px; color: var(--accent); }
.agency-card__row strong { font-weight: 600; }

/* Pied de carte : note réservée aux membres + réactivité */
.agency-card__foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.score-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fdf1dc;
  color: #b45309;
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
}
.score-pill b { filter: blur(4px); }
body.is-logged-in .score-pill b { filter: none; }
.agency-card__resp {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ok);
  filter: blur(4px);
  user-select: none;
}
body.is-logged-in .agency-card__resp { filter: none; user-select: auto; }
.agency-card .agency-card__go { margin-top: 8px; }

.agency-card__response {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ok);
  margin-bottom: 0;
}
.agency-card__response b { color: #f0a11f; font-weight: 700; }

/* --------------------------------------------------------------------------
   Annuaire : layout filtres + résultats
   -------------------------------------------------------------------------- */

.directory-layout {
  display: grid;
  grid-template-columns: 264px 1fr;
  gap: 36px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 92px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 22px;
}
.filters h2 { font-size: 1.05rem; margin-bottom: 4px; }

.filter-group { padding: 14px 0; border-top: 1px solid var(--border); }
.filter-group:first-of-type { border-top: none; }
.filter-group > span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 10px;
}
.filter-group select {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--ink);
  background: var(--surface);
}

.check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.93rem;
  padding: 4px 0;
  cursor: pointer;
}
.check input { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }

.filters .btn { margin-top: 14px; }

.directory-toolbar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.directory-toolbar p { margin: 0; color: var(--muted); }
.directory-toolbar b { color: var(--navy-900); }

.empty-state {
  display: none;
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius-l);
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
}
.directory-results.is-empty .empty-state { display: block; }

.agency-card.is-hidden { display: none; }

/* --------------------------------------------------------------------------
   Fiche agence
   -------------------------------------------------------------------------- */

.agency-hero { padding: 44px 0 34px; }
.agency-hero-inner {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.agency-hero-info { flex: 1 1 340px; }
.agency-hero-info h1 { margin-bottom: 6px; }
.agency-hero-info .agency-card__meta { font-size: 1rem; color: #cdcdd5; }
.agency-hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 0; }
/* Ligne de confiance du hero : mêmes signaux (et même floutage visiteur
   via .score-pill / .agency-card__resp) que les cartes annuaire */
.agency-hero-stats {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.agency-hero-stats .agency-card__resp { color: #93d8b4; }
.agency-hero-stats .hero-stat {
  font-size: 0.82rem;
  font-weight: 600;
  color: #cdcdd5;
  filter: blur(4px);
  user-select: none;
}
body.is-logged-in .agency-hero-stats .hero-stat { filter: none; user-select: auto; }
.agency-hero .badge--reseau { background: rgba(255,255,255,0.14); color: #e4e4e9; }
/* Chips destinations du hero : plus discrètes que le badge membre,
   sans pastille */
.agency-hero .badge--dest {
  background: rgba(255, 255, 255, 0.09);
  color: #cdcdd5;
}
.agency-hero .badge--dest::before { display: none; }

/* CTA de la fiche : posé directement sur le hero sombre (la carte
   blanche .cta-card a été supprimée le 2026-07-18) — bouton pleine
   largeur, hint en clair, bouton verrouillé en variante translucide */
.agency-cta-box { flex: 0 1 320px; align-self: center; }
.agency-cta-box .btn { width: 100%; }
.cta-hint { margin: 10px 0 0; text-align: center; font-size: 0.82rem; color: #cdcdd5; }
.cta-hint a { color: #ffc38b; }
.agency-hero .btn--locked {
  background: rgba(255, 255, 255, 0.1);
  color: #e4e4e9;
  border-color: rgba(255, 255, 255, 0.18);
}

.agency-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.agency-section { margin-bottom: 48px; }
.agency-section h2 { font-size: 1.35rem; margin-bottom: 14px; }
.agency-section .eyebrow { margin-bottom: 2px; }
/* Les covers du Mag, moins hautes sur la fiche pour rester à l'échelle
   des cartes offres voisines */
.agency-section .mag-card .cover { height: 140px; }


/* Quelques photos de l'agence sous sa présentation : rangée simple,
   sans titre ni légende. Remplacer les visuels par ceux de l'agence. */
.agency-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.agency-photo {
  height: 170px;
  border-radius: var(--radius-m);
  background-color: var(--navy-100);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-s);
}

.fact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.fact-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
}
.fact-list li span:first-child { color: var(--muted); }
.fact-list li span:last-child { font-weight: 600; text-align: right; }

.aside-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 24px;
  margin-bottom: 20px;
}
.aside-card h2 { font-size: 1.05rem; margin-bottom: 14px; }
/* Dans les cartes sidebar, les tags passent en blanc pour se détacher
   du fond gris de la carte */
.aside-card .tags { gap: 7px; }
.aside-card .tags li {
  background: var(--surface);
  color: var(--navy-700);
  font-size: 0.84rem;
  padding: 4px 12px;
}
/* Coordonnées directes sous le logo (carte identité) : téléphone, site
   web et réseaux sociaux, coordonnées publiques de la fiche. Un filet
   sépare la zone identité des faits. */
.aside-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.aside-contact { gap: 9px; }
.aside-contact a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.aside-contact a svg { color: var(--accent-strong); flex: none; }
.aside-contact a:hover { color: var(--accent-strong); }

/* Faits courts de la carte identité : mini-grille 2 colonnes,
   label au-dessus de la valeur — plus compact que des lignes
   label/valeur, même langage que les dest-facts */
.aside-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.aside-facts > div { min-width: 0; }
.aside-facts .aside-fact--full { grid-column: 1 / -1; }
.aside-facts span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 3px;
}
.aside-facts b { font-size: 0.95rem; font-weight: 600; color: var(--ink); line-height: 1.4; }

/* En-tête compact de la carte note : grosse note à gauche, étoiles et
   volume d'évaluations à droite */
.note-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.note-head .note-big {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.note-head .note-big small { font-size: 0.95rem; color: var(--muted); font-weight: 600; }
.note-head .stars { margin: 0; font-size: 0.95rem; }
.note-head .note-count { margin: 2px 0 0; font-size: 0.75rem; color: var(--muted); }

/* Sous-groupes dans une carte sidebar (ex. destinations et spécialités
   dans "En bref") */
.aside-label {
  margin: 18px 0 9px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
/* La dernière carte suit le défilement pour habiter le bas de page */
.agency-layout aside .aside-card:last-child { position: sticky; top: 24px; }

.response-meter { display: grid; gap: 12px; }
.response-meter .stat-line { display: flex; justify-content: space-between; font-size: 0.92rem; }
.response-meter .stat-line b { color: var(--ok); }
.meter { height: 8px; border-radius: 999px; background: var(--border); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 999px; background: var(--ok); }

/* Offres de voyage de la fiche agence : cartes avec visuel + durée en
   chip, destinations, courte description, itinéraire, et le PDF de
   l'offre téléchargeable par les membres (cadenas pour les visiteurs) */
.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
/* Cartes voyages horizontales : image à gauche, contenu à droite, une par ligne. */
.offer-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--surface);
  display: flex;
  flex-direction: row;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.offer-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-m);
  border-color: var(--navy-100);
}
.offer-card .cover {
  position: relative;
  flex: none;
  width: 240px;
  align-self: stretch;
  min-height: 172px;
  background: linear-gradient(135deg, hsl(var(--h, 200), 50%, 46%), hsl(calc(var(--h, 200) + 45), 55%, 30%));
}
.offer-card__duration {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.offer-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.offer-card__body h3 { font-size: 0.98rem; margin: 0; }
.offer-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-700);
}
.offer-card__meta svg { color: var(--accent-strong); flex: none; }
.offer-card__desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.offer-card__route {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin: 0;
  font-size: 0.8rem;
  color: var(--navy-700);
}
.offer-card__route svg { flex: none; margin-top: 1px; color: var(--accent-strong); }
.offer-card__route span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Pied de carte : deux actions empilées, séparées du corps par un filet.
   « Exporter vers Caladeo » = action différenciante (outline accent, pleine
   largeur) ; « Voir l'offre (PDF) » = lien secondaire discret dessous. */
.offer-card__foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.offer-card__discover {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-700);
  text-decoration: none;
}
.offer-card__discover svg { flex: none; color: var(--accent-strong); }
.offer-card__discover:hover { color: var(--accent-strong); text-decoration: underline; }
/* Sous 640px : la carte repasse en vertical (image en bandeau au-dessus). */
@media (max-width: 640px) {
  .offer-card { flex-direction: column; }
  .offer-card .cover { width: auto; align-self: auto; height: 150px; min-height: 0; }
  .offer-card__foot { flex-direction: column; align-items: stretch; }
  .offer-card__export { width: 100%; }
  .offer-card__discover { align-self: center; }
}

/* Avis des agences partenaires (fiche agence) */
.review-list { display: grid; gap: 16px; }
.review {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 18px 20px;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.review-head .agency-logo { width: 38px; height: 38px; font-size: 0.8rem; border-radius: 10px; }
.review-head b { display: block; line-height: 1.3; }
.review-head span { display: block; font-size: 0.8rem; color: var(--muted); }
.review-stars {
  margin-left: auto;
  color: #f0a11f;
  font-weight: 800;
  white-space: nowrap;
}
.review > p { margin: 0; font-size: 0.95rem; }
.review-meta { margin: 8px 0 0; font-size: 0.8rem; color: var(--muted); }

/* Sous-notes compactes dans la colonne latérale */
.aside-card .subscores { gap: 12px; }
.aside-card .subscore {
  grid-template-columns: 90px 1fr 34px;
  gap: 10px;
  font-size: 0.88rem;
}

/* Contenu réservé aux membres : flouté + bandeau pour les visiteurs,
   révélé quand body.is-logged-in (bascule de démo sur la fiche agence) */
.gate { position: relative; }
.gate-blur {
  filter: blur(7px);
  pointer-events: none;
  user-select: none;
}
.gate-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 18px;
  background: linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.85));
  border-radius: var(--radius-m);
}
.gate-overlay .lock-badge {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gate-overlay p { margin: 0; font-weight: 700; }
.gate-overlay span { font-size: 0.85rem; color: var(--muted); max-width: 400px; }
body.is-logged-in .gate-blur { filter: none; pointer-events: auto; user-select: auto; }
body.is-logged-in .gate-overlay { display: none; }

/* Gate du Fil : le flux entier (filtre + posts) est réservé aux membres.
   Aperçu flouté et tronqué à ~2 posts pour les visiteurs, voile dégradé
   vers le fond de page et CTA ancré en bas du voile. */
.feed-gate .gate-blur {
  display: grid;
  gap: 18px;
  max-height: 1050px;
  overflow: hidden;
}
.feed-gate .gate-overlay {
  justify-content: flex-end;
  padding-bottom: 52px;
  background: linear-gradient(rgba(247, 247, 249, 0), rgba(247, 247, 249, 0.6) 45%, rgba(247, 247, 249, 0.98) 85%);
}
.feed-gate .gate-overlay .btn { margin-top: 8px; }
/* Variante compacte pour les sections "Le Fil" des pages destination :
   aperçu tronqué à environ une rangée de posts. Épure : pas de photos
   dans l'aperçu flouté (rendues aux membres), et le message du voile
   est posé dans une carte nette (.gate-card) centrée sur l'aperçu. */
.feed-gate--compact .gate-blur { max-height: 360px; }
/* Jamais de photo dans les aperçus destination, même en mode membre :
   le post complet (photo comprise) se lit sur le Fil */
.feed-gate--compact .post-photo { display: none; }
.feed-gate--compact .gate-overlay { justify-content: center; padding-bottom: 18px; }
.gate-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
  padding: 26px 30px;
  max-width: 480px;
}
/* Cadenas des cartes de gate : pastille ronde discrète */
.gate-card .gate-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  margin-bottom: 2px;
}
/* Variante pleine largeur pour les sections principales de la fiche agence
   (catalogue, documents) : la carte occupe toute la colonne éditoriale
   et se lit comme un état "section verrouillée", pas comme un encart perdu à gauche. */
.gate-card--panel {
  max-width: none;
  padding: 40px 30px;
}
.gate-card--panel p { max-width: 460px; }
.gate-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
/* Variante compacte pour les petits blocs gatés (sidebar fiche agence) :
   pas de cadenas (les blocs sont trop bas), padding resserré */
.gate-card--sm {
  padding: 12px 16px;
  gap: 3px;
  border-radius: var(--radius-m);
}
.gate-card--sm .lock-badge { display: none; }
.gate-card--sm p { font-size: 0.88rem; }
.gate-card--sm span:not(.lock-badge) { font-size: 0.78rem; }
body.is-logged-in .feed-gate .gate-blur { max-height: none; overflow: visible; }

/* Liens publics de l'agence (téléphone, site, réseaux sociaux) */
.social-row { display: flex; gap: 8px; margin: 12px 0 0; }
.social-row a {
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-700);
}
.social-row a:hover { border-color: var(--accent); color: var(--accent-strong); }

/* Interrupteur du mode démo (connecté / visiteur) */
.demo-switch {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 60;
  background: var(--navy-900);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-l);
}
.demo-switch input { width: 34px; height: 18px; accent-color: var(--accent); cursor: pointer; }

.state-connected { display: none; }
body.is-logged-in .state-connected { display: block; }
body.is-logged-in .state-visitor { display: none; }

/* --------------------------------------------------------------------------
   Rejoindre : deux portes + tableau comparatif
   -------------------------------------------------------------------------- */

.doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.door {
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 32px 28px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.door--accent { border-color: var(--accent); box-shadow: var(--shadow-m); position: relative; }
.door .badge { align-self: flex-start; margin-bottom: 8px; }
.door h2 { font-size: 1.3rem; }
.door p { color: var(--muted); }
.door .btn { align-self: flex-start; margin-top: auto; }

/* Formules d'abonnement (page rejoindre) */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 32px 26px 24px;
  display: flex;
  flex-direction: column;
}
.plan--featured { border: 2px solid var(--accent); box-shadow: var(--shadow-m); }
.plan-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan h3 { font-size: 1.3rem; margin-bottom: 2px; }
.plan-tagline { color: var(--muted); font-size: 0.9rem; margin: 0 0 14px; }
.plan-price {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-strong);
  margin: 0;
  line-height: 1.15;
}
.plan-price small { font-size: 0.9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .feature-list { margin: 18px 0 22px; }
.plan .feature-list li { font-size: 0.92rem; }
.plan .btn { margin-top: auto; }
.plan-network {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.plan-network img { height: 14px; width: auto; }

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

.compare-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  overflow: hidden;
  min-width: 640px;
}
.compare-table th, .compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  vertical-align: top;
}
.compare-table thead th { background: var(--navy-900); color: #fff; font-size: 1rem; }
.compare-table thead th:first-child { width: 40%; }
.compare-table tbody th { font-weight: 600; background: var(--bg); }
.compare-table td b.yes { color: var(--ok); }
.compare-table td b.no { color: var(--muted); font-weight: 600; }

/* --------------------------------------------------------------------------
   Formulaires
   -------------------------------------------------------------------------- */

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 32px;
  box-shadow: var(--shadow-s);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.92rem; }
.form-field .hint { font-size: 0.8rem; color: var(--muted); }

.form-field input,
.form-field select,
.form-field textarea {
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--surface);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--navy-700);
  outline-offset: 1px;
  border-color: var(--navy-700);
}
.form-field textarea { resize: vertical; min-height: 120px; }

/* Gestion du logo de l'agence (espace membre, Ma page) : aperçu du logo
   actuel + bouton de remplacement. Démo uniquement, rien n'est envoyé. */
.logo-manager { display: flex; align-items: center; gap: 14px; }
.logo-manager__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

/* Gestion des photos de l'agence (espace membre, Ma page) : vignettes
   des photos affichées sur la fiche publique + tuile d'ajout. Démo
   uniquement, rien n'est envoyé. */
.photo-manager { display: flex; gap: 10px; flex-wrap: wrap; }
.photo-thumb {
  position: relative;
  width: 136px;
  height: 94px;
  border-radius: var(--radius-s);
  background-color: var(--navy-100);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-s);
}
.photo-thumb__remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(32, 32, 38, 0.65);
  color: #fff;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-thumb__remove:hover { background: rgba(32, 32, 38, 0.85); }
.photo-add {
  width: 136px;
  height: 94px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-s);
  background: var(--bg);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.photo-add:hover { border-color: var(--accent); color: var(--accent-strong); }

/* Gestion des offres de voyage (espace membre, Ma page) : liste des
   offres publiées sur la fiche + ajout. Démo uniquement. */
.offer-manager {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.offer-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  flex-wrap: wrap;
}
.offer-row__thumb {
  flex: none;
  width: 84px;
  height: 56px;
  border-radius: 8px;
  background-color: var(--navy-100);
  background-size: cover;
  background-position: center;
}
.offer-row__body { flex: 1; min-width: 200px; }
.offer-row__body b { display: block; font-size: 0.92rem; }
.offer-row__body span { display: block; font-size: 0.8rem; color: var(--muted); }
.offer-row__actions { display: flex; align-items: center; gap: 8px; }
.offer-row__remove {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: var(--navy-100);
  color: var(--navy-700);
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.offer-row__remove:hover { background: var(--navy-700); color: #fff; }

.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0; }

.form-feedback {
  display: none;
  grid-column: 1 / -1;
  background: var(--ok-soft);
  color: var(--ok);
  font-weight: 600;
  border-radius: var(--radius-s);
  padding: 14px 16px;
}
form.is-sent .form-feedback { display: block; }

/* --------------------------------------------------------------------------
   FAQ (details/summary)
   -------------------------------------------------------------------------- */

.faq-list { display: grid; gap: 12px; max-width: 820px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 0 20px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 28px 16px 0;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--accent-strong);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--muted); padding-bottom: 16px; margin: 0; }

/* --------------------------------------------------------------------------
   Pages éditoriales (Le Réseau, destination)
   -------------------------------------------------------------------------- */

.prose { max-width: 760px; }
/* Pages "Le Réseau" (vision, charte, standard) : la colonne de lecture est
   centrée pour ne pas laisser un grand vide à droite sur grand écran. */
.prose--center { margin-inline: auto; }
.prose h2 { margin-top: 1.6em; }
.prose ul li { margin-bottom: 0.4em; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 26px 22px;
}
.pillar h3 { margin-bottom: 6px; }
.pillar p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.pillar .picto {
  width: 44px; height: 44px;
  border-radius: var(--radius-m);
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: stretch;
}
.flow-node {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 22px;
  text-align: center;
}
.flow-node h3 { font-size: 1rem; }
.flow-node p { font-size: 0.88rem; color: var(--muted); margin: 0; }
.flow-arrow {
  align-self: center;
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 1.4rem;
}

/* --------------------------------------------------------------------------
   Pages destination
   -------------------------------------------------------------------------- */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.info-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 16px 18px;
}
.info-item b {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-strong);
  margin-bottom: 4px;
}
.info-item p { margin: 0; font-size: 0.93rem; }

.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dest-card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--surface);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.dest-card:hover { box-shadow: var(--shadow-m); transform: translateY(-2px); }
.dest-card .cover {
  height: 150px;
  background: linear-gradient(135deg, hsl(var(--h, 210), 48%, 44%), hsl(calc(var(--h, 210) + 45), 52%, 28%));
  position: relative;
  overflow: hidden;
}
/* L'image vit sur un pseudo-élément (background-image: inherit) pour
   pouvoir zoomer doucement au survol sans emporter le badge. */
.dest-card .cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
.dest-card:hover .cover::before { transform: scale(1.06); }
/* Voile de profondeur en pied d'image */
.dest-card .cover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 48px;
  background: linear-gradient(rgba(20, 20, 24, 0), rgba(20, 20, 24, 0.22));
}
.dest-card .cover .badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-800);
}
/* Variante discrète pour les guides en préparation : texte muted, pas de
   pastille, pour ne pas concurrencer le badge "Guide destination". */
.dest-card .cover .badge--soon { color: var(--muted); font-weight: 600; }
.dest-card .cover .badge--soon::before { display: none; }
.dest-card__body {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.dest-card h3 { margin: 0; font-size: 1.05rem; }
/* Compteur de membres en pastille avec picto personnes */
.dest-card__body span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--navy-700);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}
.dest-card__body span::before {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='5.5' cy='5' r='2.3' stroke='%234b4b54' stroke-width='1.6'/%3E%3Cpath d='M1.8 13.2c0-2 1.7-3.4 3.7-3.4s3.7 1.4 3.7 3.4' stroke='%234b4b54' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='11.5' cy='5.6' r='1.9' stroke='%234b4b54' stroke-width='1.6'/%3E%3Cpath d='M10.9 9.6c1.9 0 3.3 1.2 3.3 3' stroke='%234b4b54' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Destinations sans membre local (à pourvoir) */
.dest-soon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}
.dest-soon > span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-right: 4px;
}
.dest-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px dashed var(--border);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  text-decoration: none;
}
.dest-chip::after { content: "+"; font-weight: 700; color: var(--accent); }
.dest-chip:hover { border-color: var(--accent); color: var(--accent-strong); }

/* Hub destinations (2026-07-20) : ancres de zones dans le hero (la page
   fait 8 zones de long), compteur par zone, et regroupement des zones
   sans membre en cartes compactes. */
html { scroll-behavior: smooth; }
section[id], .zone-open__group { scroll-margin-top: 80px; }

.zone-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.zone-nav a {
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #e6e6ec;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
}
.zone-nav a:hover { border-color: #fff; color: #fff; }

.section-head .zone-count { margin-top: 2px; color: var(--muted); font-size: 0.95rem; }

.zone-open {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}
.zone-open__group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 20px 22px;
}
.zone-open__group h3 { font-size: 1.05rem; margin-bottom: 12px; }
.zone-open__group .dest-soon { margin-top: 0; }
.zone-open__group .dest-chip { background: var(--bg); }
@media (max-width: 900px) {
  .zone-open { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .info-grid, .dest-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .info-grid, .dest-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Le Mag
   -------------------------------------------------------------------------- */

.mag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mag-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.mag-card:hover { box-shadow: var(--shadow-m); transform: translateY(-2px); }
.mag-card .cover {
  height: 170px;
  background: linear-gradient(135deg, hsl(var(--h, 210), 52%, 44%), hsl(calc(var(--h, 210) + 50), 58%, 28%));
  position: relative;
}
.mag-card .cover .badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,0.92); color: var(--navy-800); }
.mag-card .cover .badge::before { background: var(--accent); }
.mag-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mag-card h3 { font-family: var(--font-serif); font-size: 1.22rem; font-weight: 600; }
.mag-card h3 a { color: var(--navy-900); text-decoration: none; }
.mag-card h3 a:hover { color: var(--accent-strong); }
.mag-card p { color: var(--muted); font-size: 0.93rem; margin: 0; }
.mag-card time { margin-top: auto; padding-top: 10px; font-size: 0.8rem; color: var(--muted); }

/* Auteur de l'article : récompense la visibilité des agences qui publient */
/* Chips de rubrique au-dessus de la grille du Mag. L'état actif est en
   navy (navigation, pas signal de décision : l'orange reste réservé aux CTA). */
.mag-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.mag-filter {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 7px 16px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-700);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.mag-filter:hover { border-color: var(--navy-700); }
.mag-filter.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.mag-card__author {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
}
.mag-card__author img { width: 24px; height: 24px; border-radius: 7px; flex: none; }
.mag-card__author a { font-weight: 700; text-decoration: none; }
.mag-card__author a:hover { text-decoration: underline; }
.mag-card__author time { margin: 0 0 0 auto; padding: 0; white-space: nowrap; }

/* Article */
.article-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 48px;
  align-items: start;
}
.article-toc {
  position: sticky;
  top: 92px;
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 18px;
  font-size: 0.9rem;
}
.article-toc strong { display: block; margin-bottom: 10px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.article-toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 7px; }
.article-toc a { text-decoration: none; color: var(--ink); }
.article-toc a:hover { color: var(--accent-strong); }

.article-body { max-width: 780px; }
.article-body h1 { font-family: var(--font-serif); font-weight: 600; }
.article-body h2 { font-family: var(--font-serif); font-weight: 600; margin-top: 1.8em; }
.article-body .article-meta { color: var(--muted); font-size: 0.9rem; display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.article-body .cover {
  height: 300px;
  border-radius: var(--radius-l);
  background: linear-gradient(135deg, hsl(150, 40%, 38%), hsl(200, 55%, 30%));
  margin-bottom: 34px;
}
.article-body blockquote {
  margin: 1.5em 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--accent);
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: var(--navy-800);
}

/* --------------------------------------------------------------------------
   Le Fil du réseau (posts façon LinkedIn, publiés en 5 minutes)
   -------------------------------------------------------------------------- */

.feed-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 36px;
  align-items: start;
  padding: 44px 0 72px;
}
.feed-main { display: grid; gap: 18px; }

.composer-lock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.composer-lock .fake-input {
  flex: 1;
  min-width: 200px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 11px 18px;
  color: var(--muted);
  font-size: 0.9rem;
  background: var(--bg);
}

/* Composeur actif (mode membre) : l'agence connectée publie depuis le Fil */
.composer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 16px 18px;
  gap: 12px;
  align-items: flex-start;
}
body.is-logged-in .composer.state-connected { display: flex; }
.composer .agency-logo { width: 42px; height: 42px; border-radius: 12px; flex: none; }
.composer textarea {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  min-height: 48px;
}
.composer textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.composer-main {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 10px;
}
.composer-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.composer-tools .dest-search { width: 210px; }
.composer-tools .btn { margin-left: auto; }
/* Bouton d'ajout de photo (le vrai input file est masqué) */
.composer-photo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-700);
  background: var(--bg);
  cursor: pointer;
}
.composer-photo:hover { border-color: var(--accent); color: var(--accent-strong); }
.composer-photo input { display: none; }
/* Aperçu de la photo jointe, avec bouton de retrait */
.composer-preview { position: relative; justify-self: start; }
.composer-preview img {
  display: block;
  height: 72px;
  max-width: 220px;
  object-fit: cover;
  border-radius: var(--radius-s);
  border: 1px solid var(--border);
}
.composer-preview__remove {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
/* Chip destination du template de post : masquée tant que le composeur
   n'a pas rattaché de destination (hidden ne suffit pas, la classe
   impose un display inline-flex) */
.post-dest[hidden] { display: none; }

/* Filtre du Fil par destination */
.feed-filter {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 12px 16px;
}
.feed-filter__label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  margin-right: 2px;
}
.feed-chip {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--navy-700);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.feed-chip:hover { border-color: var(--accent); color: var(--accent-strong); }
.feed-chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

/* Recherche de destination avec autocomplete (.dest-search) : composant
   partagé entre la barre de filtre du Fil et la colonne de filtres de
   l'annuaire. Le positionnement dans chaque contexte est défini plus bas. */
.dest-search { position: relative; }
.dest-search svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-strong);
  pointer-events: none;
}
.dest-search input[type="search"] {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 6px 14px 6px 34px;
  font-size: 0.82rem;
  font-family: inherit;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.dest-search input[type="search"]::placeholder {
  color: var(--accent-strong);
  opacity: 0.8;
}
.dest-search input[type="search"]:hover { border-color: var(--accent); }
.dest-search input[type="search"]:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  color: var(--ink);
}

/* Contexte Fil : largeur fixe, calée à droite sur la ligne des chips (une
   chip a été retirée pour lui laisser la place). En dessous de 720px,
   pleine largeur sous les chips pour éviter un retour à la ligne isolé. */
.feed-filter .dest-search {
  flex: 0 0 auto;
  width: 190px;
  margin-left: auto;
}
@media (max-width: 720px) {
  .feed-filter .dest-search { width: 100%; margin-left: 0; }
}

/* Contexte annuaire : pleine largeur dans le groupe de filtres */
.filters .dest-search { width: 100%; }

/* Contexte accueil : champ nu dans la carte blanche de recherche rapide,
   aligné sur le style du select "Type de partenaire" voisin */
.quick-search .dest-search svg { left: 0; }
.quick-search .dest-search input[type="search"] {
  border: none;
  border-radius: 0;
  background: none;
  padding: 4px 0 4px 22px;
  font-size: 1rem;
  color: var(--navy-900);
}
.quick-search .dest-search input[type="search"]::placeholder {
  color: var(--navy-900);
  opacity: 1;
  font-weight: 600;
}
.quick-search .dest-search input[type="search"]:hover { border: none; }
.quick-search .dest-search input[type="search"]:focus {
  background: none;
  border: none;
  box-shadow: none;
  color: var(--navy-900);
}

/* Menu de suggestions de l'autocomplete (pas de display ici : hidden le masque) */
.dest-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  list-style: none;
  margin: 0;
  padding: 6px;
  max-height: 280px;
  overflow-y: auto;
}
.dest-suggest li {
  padding: 8px 12px;
  border-radius: var(--radius-s);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-700);
  cursor: pointer;
}
.dest-suggest li:hover,
.dest-suggest li.is-active { background: var(--accent-soft); color: var(--accent-strong); }
.dest-suggest .dest-suggest__none {
  font-weight: 500;
  color: var(--muted);
  cursor: default;
}
.dest-suggest .dest-suggest__none:hover { background: none; color: var(--muted); }

/* Etat vide du Fil filtré (pas de display ici : l'attribut hidden le masque) */
.feed-empty {
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius-l);
  padding: 40px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}
.feed-empty .feed-chip { margin-top: 12px; }

.post {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 20px;
}
.post.is-hidden { display: none; }
.post-head {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 12px;
}
.post-head img.agency-logo { width: 42px; height: 42px; border-radius: 12px; }
.post-head b { display: block; line-height: 1.25; }
.post-head b a { color: var(--navy-900); text-decoration: none; }
.post-head b a:hover { color: var(--accent-strong); }
.post-head .sub { display: block; font-size: 0.78rem; color: var(--muted); }
.post-time { margin-left: auto; font-size: 0.78rem; color: var(--muted); white-space: nowrap; align-self: flex-start; }
/* Posts longs : tronqués à 5 lignes (4 sur les aperçus des pages
   destination). Sur le Fil, un bouton "Voir la suite" (injecté par le JS
   depuis le template #post-more-template, uniquement si le texte déborde)
   déplie le post via .is-expanded. Ailleurs, pas de bouton : la lecture
   complète se fait sur le Fil. */
.post-text {
  margin: 0;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
}
.post-duo .post-text { -webkit-line-clamp: 3; line-clamp: 3; }
.post.is-expanded .post-text {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}
.post-more {
  background: none;
  border: none;
  padding: 0;
  margin: 6px 0 0;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-strong);
  cursor: pointer;
}
.post-more:hover { text-decoration: underline; }
/* En version lien (pages destination) : même dégaine que le bouton */
a.post-more { text-decoration: none; display: inline-block; }
.post-more .less { display: none; }
.post.is-expanded .post-more .more { display: none; }
.post.is-expanded .post-more .less { display: inline; }

.post-photo {
  margin: 12px 0 0;
  border-radius: var(--radius-m);
  height: 230px;
  background-color: #4a4a55;
  background-size: cover;
  background-position: center;
}
.post-foot {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 0.85rem;
  flex-wrap: wrap;
}
.post-useful { font-weight: 700; color: var(--accent-strong); }
/* Sur le Fil, "Utile" est un bouton : votable en mode membre uniquement
   (un clic = +1 et état rempli, re-clic = retrait du vote) */
button.post-useful {
  background: none;
  border: none;
  padding: 2px 10px;
  margin-left: -10px;
  border-radius: 999px;
  font-family: inherit;
  font-size: inherit;
  cursor: default;
}
body.is-logged-in button.post-useful { cursor: pointer; }
body.is-logged-in button.post-useful:hover { background: var(--bg); }
button.post-useful.is-on { background: var(--accent-soft); }
body.is-logged-in button.post-useful.is-on:hover { background: var(--accent-soft); }
.post-count { color: var(--muted); font-size: 0.85rem; }
/* Sur les pages destination, le compteur est un lien vers la conversation
   complète sur le Fil (pré-filtré sur la destination) */
a.post-count { text-decoration: none; font-weight: 600; }
a.post-count:hover { color: var(--accent-strong); }

/* Rattachement du post à une destination */
.post-dest {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--navy-100);
  color: var(--navy-700);
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.post-dest:hover { background: var(--accent-soft); color: var(--accent-strong); }

/* Intro éditoriale des pages destination : texte + collage de photos
   (une grande photo et deux petites). Passe en une colonne sous 900px.
   Le collage porte un halo d'accent en arrière-plan et un coin supérieur
   droit plus arrondi (signature). */
.dest-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 52px;
  align-items: center;
}
.dest-photos {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 128px;
  gap: 12px;
}
.dest-photos::before {
  content: "";
  position: absolute;
  top: -34px;
  right: -18px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240, 124, 31, 0.32), rgba(240, 124, 31, 0));
  z-index: 0;
  pointer-events: none;
}
.dest-photo {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-m);
  background-color: var(--navy-100);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-s);
}
.dest-photo--main {
  grid-column: 1 / -1;
  grid-row: span 2;
  border-radius: var(--radius-l);
  border-top-right-radius: 44px;
  box-shadow: var(--shadow-m);
}
@media (max-width: 900px) {
  .dest-intro { grid-template-columns: 1fr; gap: 28px; }
  .dest-photos { grid-auto-rows: 110px; }
}

/* Colonne texte de l'intro : en-tête éditorial, description (réduite,
   premier paragraphe mis en avant) + étiquettes, face aux photos */
.dest-intro__text { min-width: 0; }
.dest-intro__text > .eyebrow {
  display: block;
  color: var(--accent-strong);
  margin-bottom: 6px;
}
.dest-intro__text > h2 {
  font-size: 1.85rem;
  margin-bottom: 14px;
}
.dest-intro .prose { font-size: 0.93rem; color: var(--navy-700); }
.dest-intro .prose p:first-of-type {
  font-size: 1.02rem;
  color: var(--ink);
}

/* L'essentiel pratique de la destination : grille régulière de 6
   mini-cartes (3 rangées de 2), icône dans une pastille accent-soft
   (même langage que les agency-card__row) + label au-dessus de la
   valeur. Sobre et aligné. */
.dest-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  margin-top: 26px;
}
.dest-fact {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 9px 12px;
}
.dest-fact__icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dest-fact__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.dest-fact__label {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}
.dest-fact b {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.88rem;
}
@media (max-width: 480px) {
  .dest-facts { grid-template-columns: 1fr; }
}

/* Tableau climat mois par mois (pleine largeur sous l'intro) :
   températures, précipitations et qualité. La ligne "Climat" est une
   bande de cellules teintées (vert/ambre/rouge doux, pastille conservée
   pour la légende). Défile horizontalement sur petit écran, première
   colonne collante pendant le défilement. */
.climate { margin-top: 56px; }
.climate .eyebrow { margin-bottom: 4px; }
.climate h3 { font-size: 1.1rem; margin-bottom: 12px; }
.climate-scroll {
  overflow-x: auto;
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-s);
  border: 1px solid var(--border);
}
.climate-table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.82rem;
}
.climate-table th,
.climate-table td {
  padding: 9px 8px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.climate-table thead th {
  border-top: none;
  background: var(--bg);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.climate-table tbody th {
  text-align: left;
  padding-left: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--navy-700);
}
/* Première colonne collante (lisibilité pendant le scroll mobile) */
.climate-table thead th:first-child,
.climate-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--surface);
  box-shadow: 6px 0 8px -6px rgba(32, 32, 38, 0.12);
}
.climate-table thead th:first-child { background: var(--bg); }
.climate-table td { font-weight: 600; font-size: 0.8rem; color: var(--ink); }
/* Ligne climat : pastilles seules, aucun fond de cellule (épure demandée
   par le client le 2026-07-17, y compris sur la saison favorable).
   Les classes .climate-cell--good/mid/bad restent posées dans le HTML
   si un surlignage doit revenir un jour. */
.climate-cell--good,
.climate-cell--mid,
.climate-cell--bad { background: transparent; }
.climate-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  vertical-align: middle;
}
.climate-dot--good { background: var(--ok); }
.climate-dot--mid { background: #f0a11f; }
.climate-dot--bad { background: #e26d6d; }
/* Ligne températures : pastille de niveau (mot) à la place du degré
   brut — la valeur reste dans le title. Rendu volontairement neutre
   (le client trouvait le tableau trop coloré, 2026-07-17) : la couleur
   est réservée à la ligne "Climat". Les modificateurs --cold/cool/
   mild/hot restent posés dans le HTML si on veut re-teinter un jour. */
.temp-pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: var(--bg);
  color: var(--navy-700);
}
/* Ligne précipitations : 3 gouttes, remplies selon l'intensité
   (1 = faible, 2 = modérée, 3 = forte) — les mm restent dans le title.
   Bleu-gris discret, même logique de sobriété. */
.rain { display: inline-flex; vertical-align: middle; }
.rain use { fill: #e2e5eb; }
.rain--1 use:nth-of-type(1),
.rain--2 use:nth-of-type(-n + 2),
.rain--3 use { fill: #7d9cc4; }
/* Commentaire éditorial sous le tableau climat : paragraphe à part
   entière (peut faire plusieurs lignes). Pas de légende : les pastilles
   climat portent leur sens via aria-label (et les couleurs parlent) */
.climate-note {
  margin: 12px 0 0;
  max-width: 720px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--navy-700);
}

/* Documents voyageurs des pages destination : fichiers prêts à envoyer
   aux clients finaux des agences membres. Le téléchargement est réservé
   aux membres (.state-connected) ; les visiteurs voient un cadenas. */
.doc-share {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 24px 26px;
}
.doc-share h3 { font-size: 1.1rem; margin-bottom: 6px; }
.doc-share__note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 16px;
}
.doc-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.doc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  flex-wrap: wrap;
}
.doc-item__icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}
.doc-item__body { flex: 1; min-width: 220px; }
.doc-item__body b { display: block; font-size: 0.95rem; }
.doc-item__body span { display: block; font-size: 0.85rem; color: var(--muted); }
.doc-item__lock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--navy-100);
  border-radius: 999px;
  padding: 6px 13px;
  white-space: nowrap;
}
/* L'état membre du doc-item est un lien bouton : restaure son display
   (la règle générique .state-connected le passe en block) */
body.is-logged-in .doc-item .state-connected { display: inline-flex; }

/* Duo de posts sur les pages destination */
.post-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  align-items: start;
}
@media (max-width: 768px) {
  .post-duo { grid-template-columns: 1fr; }
}

/* Aperçus de posts hors du Fil, en une colonne (fiche agence) : même
   design que les pages destination — texte seul, clampé à 3 lignes, le
   post complet (photo comprise) se lit sur le Fil via le lien injecté
   par le JS (data-fil-href sur le conteneur) */
.post-preview {
  display: grid;
  gap: 14px;
}
.post-preview .post-text { -webkit-line-clamp: 3; line-clamp: 3; }
.post-preview .post-photo { display: none; }

/* Commentaires publics sous les posts */
.post-comments {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.comment { display: flex; gap: 9px; align-items: flex-start; }
.comment img.agency-logo { width: 28px; height: 28px; border-radius: 8px; flex: none; }
.comment-body {
  flex: 1;
  background: var(--bg);
  border-radius: 4px 12px 12px 12px;
  padding: 9px 13px;
  font-size: 0.88rem;
}
.comment-body b a { color: var(--navy-900); text-decoration: none; }
.comment-body b a:hover { color: var(--accent-strong); }
.comment-body .when { font-size: 0.72rem; color: var(--muted); font-weight: 400; margin-left: 6px; }
.comment-body p { margin: 2px 0 0; }

.comment-lock {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}
.comment-lock svg { color: var(--muted); flex: none; }
.comment-lock .fake-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 15px;
  color: var(--muted);
  font-size: 0.85rem;
  background: var(--bg);
}

@media (max-width: 900px) {
  .feed-layout { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   CTA final + modale
   -------------------------------------------------------------------------- */

.final-cta { text-align: center; }
.final-cta .hero-ctas { justify-content: center; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 28, 46, 0.6);
}
.modal.is-open { display: flex; }
.modal-box {
  background: var(--surface);
  border-radius: var(--radius-l);
  max-width: 440px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-l);
}
.modal-box h2 { font-size: 1.3rem; }
.modal-box p { color: var(--muted); }
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border: none;
  background: var(--bg);
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy-950);
  color: #a5a5b0;
  padding: 56px 0 0;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer h3 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #a5a5b0; text-decoration: none; }
.site-footer a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.footer-bottom a { color: #cdcdd5; font-weight: 600; }

/* --------------------------------------------------------------------------
   Présentation du logiciel Caladeo
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 11px;
}
.feature-list li {
  position: relative;
  padding-left: 31px;
  font-size: 0.97rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5 6.5 11.5l6-7' fill='none' stroke='%231e8e5a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Faux écran d'application (chrome navigateur + mini back-office) */
.app-mock {
  border-radius: var(--radius-l);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-l);
  overflow: hidden;
  background: #fff;
}
.app-mock__bar {
  display: flex;
  gap: 6px;
  padding: 11px 14px;
  background: #eef2f6;
  border-bottom: 1px solid var(--border);
}
.app-mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #cdd8e2; }
.app-mock__body {
  display: grid;
  grid-template-columns: 52px 1fr;
  min-height: 310px;
}
.app-mock__side {
  background: #1e3a5f;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
}
.app-mock__side i { width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, 0.16); }
.app-mock__side i.on { background: #2d6be4; }
.app-mock__main {
  background: #f7f8fa;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.app-mock__kpi {
  background: #fff;
  border: 1px solid #eef0f2;
  border-radius: 10px;
  padding: 10px 12px;
}
.app-mock__kpi b { display: block; font-size: 0.95rem; color: #111827; letter-spacing: -0.01em; }
.app-mock__kpi span { font-size: 0.68rem; color: #6b7280; }
.app-mock__rows {
  flex: 1;
  background: #fff;
  border: 1px solid #eef0f2;
  border-radius: 10px;
  padding: 14px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.app-mock__row { display: flex; align-items: center; gap: 10px; }
.app-mock__row i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #dbeafe; }
.app-mock__row s { flex: 1; height: 8px; border-radius: 4px; background: #eef0f2; text-decoration: none; }
.app-mock__row s.short { flex: 0 0 38%; }
.app-mock__row em { flex: none; width: 56px; height: 16px; border-radius: 8px; background: #dcfce7; }
.app-mock__row em.pending { background: #fef3c7; }
.app-mock__caption {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 12px 0 0;
}

/* Section « Le moteur du réseau » : cadre fenêtre d'app moderne. L'image est
   éditable via le back-office (content_image) ; sans image chargée, la maquette
   CSS ci-dessus s'affiche en repli (.app-frame__mock enveloppe .app-mock__body). */
.engine__copy .lead { margin-bottom: 0.8em; }
.engine__visual { margin: 0; }
.app-frame {
  border-radius: var(--radius-l);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-l);
  overflow: hidden;
  background: #fff;
}
.app-frame__chrome {
  display: flex;
  gap: 6px;
  padding: 11px 14px;
  background: #eef2f6;
  border-bottom: 1px solid var(--border);
}
.app-frame__chrome span { width: 10px; height: 10px; border-radius: 50%; background: #cdd8e2; }
.app-frame__img { display: block; width: 100%; height: auto; }
.app-frame__caption {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 12px 0 0;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
}

/* --------------------------------------------------------------------------
   Espace membre
   -------------------------------------------------------------------------- */

.btn--sm { padding: 7px 15px; font-size: 0.85rem; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}
.pill--ok { background: var(--ok-soft); color: var(--ok); }
.pill--warn { background: #fef3c7; color: #b45309; }
.pill--danger { background: #fee2e2; color: #dc2626; }
.pill--info { background: var(--navy-100); color: var(--navy-700); }
.pill--accent { background: var(--accent-soft); color: var(--accent-strong); }

.ms-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 36px;
  align-items: start;
  padding: 44px 0 72px;
}

.ms-side { position: sticky; top: 92px; display: grid; gap: 16px; }

/* Carte utilisateur en blanc (décision client 2026-07-19) : n'importe
   quel logo d'agence y est chez lui, sans plaque — carré, wordmark
   horizontal ou logo conçu pour fond blanc */
.ms-user {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 20px;
  display: grid;
  gap: 8px;
  justify-items: start;
}
.ms-user b { font-size: 1.05rem; letter-spacing: -0.01em; }
.ms-user > span { font-size: 0.8rem; color: var(--muted); }
/* Zone logo à hauteur fixe, logo centré en entier quelle que soit sa
   forme */
.ms-user-logo {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.ms-user-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* Accès permanent au logiciel Caladeo depuis l'espace membre : le
   travail réel (cotations, dossiers) se passe là-bas */
.ms-open-caladeo { margin: 14px 0; gap: 8px; }
.ms-logout { font-size: 0.8rem; color: var(--muted); }
.ms-logout:hover { color: var(--ink); }

.ms-nav {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 10px;
  display: grid;
  gap: 2px;
}
.ms-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-s);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.93rem;
}
.ms-nav a:hover { background: var(--bg); }
.ms-nav a.active { background: var(--navy-100); color: var(--navy-700); }
.ms-nav .count {
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 8px;
}

.ms-main { display: grid; gap: 22px; align-items: start; }
.ms-head h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 4px; }
.ms-head p { color: var(--muted); margin: 0; }

.ms-banner {
  background: var(--accent-soft);
  border: 1px solid #f6d2ae;
  color: var(--accent-strong);
  border-radius: var(--radius-m);
  padding: 11px 16px;
  font-size: 0.87rem;
  font-weight: 600;
}

.ms-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 24px;
}
.ms-card > h2 { font-size: 1.1rem; margin-bottom: 14px; }
.ms-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.ms-card-head h2 { margin: 0; font-size: 1.1rem; }
.ms-card-head a { font-size: 0.85rem; font-weight: 600; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 18px 20px;
}
.kpi-card b { display: block; font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em; }
.kpi-card span { font-size: 0.82rem; color: var(--muted); }
/* Chaque KPI est une porte : la tuile entière est cliquable */
a.kpi-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
a.kpi-card:hover { border-color: var(--accent); box-shadow: var(--shadow-s); }

.row-list { list-style: none; margin: 0; padding: 0; }
.row-list > li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  flex-wrap: wrap;
}
.row-list > li:first-child { border-top: none; padding-top: 0; }
.row-list .grow { flex: 1; min-width: 200px; }
.row-list .grow b { display: block; }
.row-list .grow span { color: var(--muted); font-size: 0.82rem; }
.row-list time { color: var(--muted); font-size: 0.82rem; }
/* Lignes cliquables (ex. derniers messages du tableau de bord) : le
   lien reprend la mise en page de la ligne, hover en pleine largeur */
.row-list > li.is-link { padding: 0; }
.row-list > li.is-link > a {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 13px 10px;
  margin: 0 -10px;
  border-radius: var(--radius-s);
  text-decoration: none;
  color: inherit;
}
.row-list > li.is-link > a:hover { background: var(--bg); }

/* État vide pédagogique des onglets sans contenu (espace membre).
   NB : ne pas réutiliser .empty-state, déjà pris par l'annuaire
   (état "aucun résultat" en display:none par défaut). */
.ms-empty {
  text-align: center;
  padding: 36px 20px;
  color: var(--muted);
}
.ms-empty svg { color: var(--navy-700); opacity: 0.35; }
.ms-empty b { display: block; color: var(--ink); font-size: 1rem; margin: 12px 0 4px; }
.ms-empty p { font-size: 0.9rem; margin: 0 auto 16px; max-width: 380px; }

.doc-ico {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 10px;
  background: var(--navy-100);
  color: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-m);
  padding: 22px;
  text-align: center;
  color: var(--muted);
  background: var(--bg);
  font-size: 0.9rem;
}

/* Note globale et sous-notes */
.score-hero { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.score-big {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy-900);
}
.score-big small { font-size: 1.3rem; color: var(--muted); font-weight: 600; }
.stars { color: #f0a11f; font-size: 1.15rem; letter-spacing: 3px; }

.subscores { display: grid; gap: 13px; }
.subscore {
  display: grid;
  grid-template-columns: 200px 1fr 40px;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
}
.subscore b { text-align: right; font-variant-numeric: tabular-nums; }

/* Messagerie */
.msg-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--surface);
  min-height: 500px;
}
.msg-list { border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.msg-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid transparent;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.msg-item:hover { background: var(--bg); }
.msg-item.is-active { background: var(--bg); border-left-color: var(--accent); }
.msg-item .agency-logo { width: 36px; height: 36px; font-size: 0.78rem; border-radius: 10px; }
.msg-item .grow { flex: 1; min-width: 0; }
.msg-item b { display: block; font-size: 0.9rem; }
.msg-item span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dot-unread { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; margin-top: 6px; }

.msg-thread { display: flex; flex-direction: column; min-width: 0; }
.msg-thread-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
}
/* Action d'archivage : à droite de l'en-tête du fil */
.msg-thread-head .msg-archive {
  margin-left: auto;
  flex: none;
}
.msg-thread-head .agency-logo { width: 34px; height: 34px; font-size: 0.75rem; border-radius: 10px; }
.msg-thread-head b { font-size: 0.95rem; }
.msg-thread-head span { font-size: 0.8rem; color: var(--muted); }
.msg-thread-body {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  background: var(--bg);
  max-height: 460px;
}
.bubble {
  max-width: 74%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px 14px 14px 4px;
  padding: 10px 14px;
  font-size: 0.92rem;
}
.bubble p { margin: 0; }
.bubble time { display: block; margin-top: 4px; font-size: 0.72rem; color: var(--muted); }
.bubble--me {
  align-self: flex-end;
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: #fff;
  border-radius: 14px 14px 4px 14px;
}
.bubble--me time { color: #cfcfd8; }
/* Fusion Demandes → Messages : la demande de proposition n'est plus une
   boîte séparée mais un message structuré dans la conversation (référence,
   résumé, statut, action Caladeo). Le chrono 48 h ne court que sur elles. */
.msg-request {
  align-self: stretch;
  max-width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-m);
  padding: 12px 14px;
}
.msg-request__top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.msg-request__top .pill { margin-left: auto; text-transform: none; letter-spacing: 0; }
.msg-request > b { display: block; margin-top: 5px; font-size: 0.93rem; }
.msg-request > span { display: block; margin-top: 1px; font-size: 0.83rem; color: var(--muted); }
.msg-request__actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }

/* Chip de fichier au format Caladeo, dans une bulle (proposition jointe) */
.msg-file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
.msg-file:hover { border-color: var(--navy-700); }
.msg-file svg { flex: none; color: var(--muted); }
.bubble--me .msg-file { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.bubble--me .msg-file svg { color: #cfcfd8; }
.bubble--me .msg-file:hover { border-color: #fff; }

.bubble--sys {
  align-self: center;
  max-width: 90%;
  background: var(--navy-100);
  border-color: var(--navy-100);
  color: var(--navy-700);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 6px 16px;
}
.msg-composer { display: flex; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--border); }
/* Décision sur la demande : sous la zone de réponse, pour répondre d'abord
   et trancher ensuite (accepter / décliner). */
.msg-thread-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 16px 14px;
}
.msg-composer textarea {
  flex: 1;
  resize: none;
  height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  font: inherit;
  font-size: 0.92rem;
}

/* Onglets */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 18px;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;
}
.tab-btn.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

/* Champs verrouillés (fiche agence) */
.form-field.is-locked label { display: flex; align-items: center; gap: 7px; }
.form-field.is-locked input,
.form-field.is-locked select,
.form-field.is-locked textarea {
  background: var(--bg);
  color: var(--muted);
  cursor: not-allowed;
}
.lock-ico { color: var(--muted); flex: none; }

@media (max-width: 1100px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .ms-layout { grid-template-columns: 1fr; gap: 24px; }
  .ms-side { position: static; }
  .msg-grid { grid-template-columns: 1fr; min-height: 0; }
  .msg-list {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .msg-item { min-width: 220px; border-left: none; border-bottom: 3px solid transparent; }
  .msg-item.is-active { border-bottom-color: var(--accent); }
  .subscore { grid-template-columns: 130px 1fr 40px; }
}

/* --------------------------------------------------------------------------
   Photos (Unsplash / LoremFlickr, vérifiées) : chaque .cover reçoit son image
   en style inline ; la couleur ci-dessous sert de repli hors connexion.
   -------------------------------------------------------------------------- */

.offer-card .cover,
.mag-card .cover,
.dest-card .cover,
.article-body .cover {
  background-color: #4a4a55;
  background-size: cover;
  background-position: center;
}

/* Fond : paysage de destination (montagnes), pas d'avion — l'avion n'est
   plus une image à mettre en avant. L'overlay sombre garde le texte lisible. */
.hero--home {
  background-image:
    radial-gradient(900px 480px at 85% -10%, rgba(240, 124, 31, 0.30), transparent 60%),
    linear-gradient(rgba(26, 26, 31, 0.76), rgba(26, 26, 31, 0.88)),
    url('https://images.unsplash.com/photo-1469474968028-56623f02e42e?auto=format&fit=crop&w=1600&q=60');
  background-size: auto, auto, cover;
  background-position: center;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .agency-layout { grid-template-columns: 1fr; }
  .directory-layout { grid-template-columns: 232px 1fr; gap: 24px; }
  .mag-grid, .pillars, .charter-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 52px 0; }

  .quick-search { grid-template-columns: 1fr; }
  .quick-search .btn { width: 100%; }

  .stats-band, .steps, .doors, .flow,
  .mag-grid, .pillars, .charter-grid { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
  .steps--flow .step:not(:last-child)::after { display: none; }

  .directory-layout { grid-template-columns: 1fr; }
  .filters { position: static; }

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

/* --------------------------------------------------------------------------
   Écrans annexes (2026-07-21) : connexion, mot de passe, invitation,
   confirmation de candidature, erreurs 404/500. Cartes centrées étroites.
   -------------------------------------------------------------------------- */
.auth-section { padding: 72px 0; }
.auth-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 34px 32px;
}
.auth-card h1 { font-size: 1.45rem; margin-bottom: 6px; }
.auth-card .auth-intro { color: var(--muted); font-size: 0.95rem; margin-bottom: 22px; }
.auth-card .form-field { margin-bottom: 16px; }
.auth-links { margin-top: 18px; font-size: 0.9rem; text-align: center; }

/* États d'erreur de formulaire (gabarit pour tout le site) */
.form-error {
  background: #fee2e2;
  color: #b91c1c;
  border-radius: var(--radius-s);
  padding: 10px 14px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.form-field input.is-invalid, .form-field select.is-invalid { border-color: #dc2626; }
.field-hint-error { display: block; color: #dc2626; font-size: 0.82rem; margin-top: 4px; }

/* Checklist de robustesse du mot de passe (exigence : 12 caractères min,
   majuscule + minuscule, chiffre, caractère spécial) */
.pwd-rules {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 5px;
  font-size: 0.83rem;
  color: var(--muted);
}
.pwd-rules li { display: flex; align-items: center; gap: 8px; }
.pwd-rules li::before {
  content: "";
  flex: none;
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
}
.pwd-rules li.ok { color: var(--ok); }
.pwd-rules li.ok::before {
  border-color: transparent;
  background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5 6.5 11.5l6-7' fill='none' stroke='%231e8e5a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 9px no-repeat;
}

/* Pages d'erreur 404 / 500 */
.error-hero { text-align: center; padding: 90px 20px 100px; }
.error-hero .error-code {
  font-size: 5.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy-100);
  line-height: 1;
}
.error-hero h1 { margin: 10px 0 10px; }
.error-hero p { max-width: 460px; margin: 0 auto 26px; color: var(--muted); }
.error-hero .hero-ctas { justify-content: center; margin-top: 0; }

/* Gestion des utilisateurs (espace membre, 2026-07-21) : jusqu'à 10
   comptes par agence — la cible produit est l'agent de voyages, pas
   seulement le dirigeant. */
.user-avatar {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-100);
  color: var(--navy-700);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.user-avatar--pending {
  background: var(--bg);
  border: 1.5px dashed var(--border);
  color: var(--muted);
}
.ms-quota { font-size: 0.85rem; color: var(--muted); font-weight: 600; }

/* --------------------------------------------------------------------------
   Audit mobile / tablette (2026-07-20)
   -------------------------------------------------------------------------- */

/* Header : entre 769 et 1000px, les liens de nav se repliaient sur
   plusieurs lignes et le logo était compressé par le flex (img
   max-width:100%). Le burger prend le relais dès 1000px, le logo ne
   rétrécit plus. */
.brand { flex: none; }
.main-nav .nav-espace { display: none; }

@media (max-width: 1000px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px;
    box-shadow: var(--shadow-m);
  }
  .main-nav.is-open { display: flex; }
  .nav-group > a { display: block; }
  .nav-group > a::after { display: none; }
  .nav-sub {
    display: flex;
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    min-width: 0;
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
  }
  .nav-sub--mega,
  .nav-group:hover .nav-sub--mega,
  .nav-group:focus-within .nav-sub--mega {
    display: flex;
    flex-direction: column;
    width: auto;
    transform: none;
    left: auto;
  }
  .nav-sub a.nav-mega-title { margin-top: 10px; }
  .nav-sub a.nav-mega-all { border-top: none; margin-top: 4px; padding-top: 9px; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  /* Le bouton Espace membre du header est masqué en mode burger : sans ce
     lien dans le menu, impossible de se connecter sur mobile. */
  .main-nav .nav-espace {
    display: block;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    color: var(--accent-strong);
    font-weight: 700;
  }
}

/* Contact : la grille formulaire + colonne latérale se replie (un style
   inline empêchait le repli — remplacé par ce modificateur). */
.directory-layout--contact { grid-template-columns: 1fr 320px; gap: 40px; }
@media (max-width: 900px) {
  .directory-layout--contact { grid-template-columns: 1fr; }
}

/* Fiche agence : les 2 cartes Mag passent en colonne sous 640px (titres
   serif illisibles en demi-largeur) et les photos en rangée de 3
   vignettes au lieu d'une pile pleine largeur. */
.mag-grid--duo { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) {
  .mag-grid--duo { grid-template-columns: 1fr; }
  .agency-photos { grid-template-columns: repeat(3, 1fr); }
  .agency-photo { height: 96px; }
}

/* Heros : CTA pleine largeur sur mobile */
@media (max-width: 560px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
}

/* Filtres partenaires : accordéon sur mobile (main.js pose .is-collapsed
   au chargement et bascule au clic sur le titre "Filtrer") */
@media (max-width: 768px) {
  .filters h2 {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .filters h2::after {
    content: "";
    width: 9px; height: 9px;
    margin-right: 4px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.15s ease;
  }
  .filters:not(.is-collapsed) h2::after { transform: rotate(225deg); }
  .filters.is-collapsed h2 { margin-bottom: 0; }
  .filters.is-collapsed .filter-group,
  .filters.is-collapsed .btn { display: none; }
}

/* Comparatif des formules : colonne des libellés figée pendant le
   défilement horizontal + rappel de défilement */
.compare-hint { display: none; }
@media (max-width: 900px) {
  .compare-hint {
    display: block;
    margin: 0 0 10px;
    font-size: 0.85rem;
    color: var(--muted);
  }
  .compare-table thead th:first-child { width: auto; }
  .compare-table th, .compare-table td { min-width: 118px; }
  .compare-table thead th:first-child,
  .compare-table tbody th {
    position: sticky;
    left: 0;
    z-index: 1;
    max-width: 150px;
    font-size: 0.88rem;
    box-shadow: 2px 0 0 var(--border);
  }
  .compare-table tbody th { background: var(--bg); }
  .compare-table thead th:first-child { background: var(--navy-900); }
}

/* Espace membre : sidebar compactée sur mobile — carte utilisateur sur
   une ligne, navigation en rangée défilante : le contenu arrive tout de
   suite au lieu d'un écran entier de sidebar. */
@media (max-width: 900px) {
  .ms-user {
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    column-gap: 14px;
    row-gap: 2px;
    padding: 14px 16px;
  }
  .ms-user-logo { width: 56px; height: 44px; grid-row: 1 / 3; margin: 0; }
  .ms-user b { grid-column: 2; }
  .ms-user > span { grid-column: 2; }
  .ms-logout { grid-column: 3; grid-row: 1 / 3; }
  .ms-open-caladeo { margin: 0; }
  .ms-nav { display: flex; overflow-x: auto; padding: 8px; }
  .ms-nav a { white-space: nowrap; flex: none; }
}

/* Fiche pratique en section autonome (entre l'intro et le tableau climat) */
.dest-practical { margin-top: 56px; }
.dest-practical > .eyebrow {
  display: block;
  color: var(--accent-strong);
  margin-bottom: 6px;
}
.dest-practical > h3 { margin-bottom: 4px; }
.dest-facts--band {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
}
.dest-facts--band .dest-fact { padding: 12px 14px; }
@media (max-width: 900px) {
  .dest-facts--band { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .dest-facts--band { grid-template-columns: 1fr; }
}

/* Ancres du sommaire de la page guide destination */
#destination, #en-pratique, #quand-partir, #agences, #documents-clients, #le-fil, #le-mag { scroll-margin-top: 84px; }

/* Grille Mag incomplète sur une page destination : tuile d'invitation vers le Mag */
.mag-card--more {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  min-height: 260px;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(240, 124, 31, 0.10), rgba(240, 124, 31, 0) 55%),
    var(--surface);
}
.mag-card--more__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 24px;
}
.mag-card--more__icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mag-card--more b { font-size: 1.12rem; }
.mag-card--more__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.mag-card--more__tags i {
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--navy-700);
  background: var(--navy-100);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
}
.mag-card--more__go {
  margin-top: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-strong);
}
.mag-card--more__go [aria-hidden] { display: inline-block; transition: transform 0.18s ease; }
.mag-card--more:hover .mag-card--more__go [aria-hidden] { transform: translateX(4px); }

/* Tuile de recrutement dans la grille des agences d'une destination (même langage que .mag-card--more) */
.agency-card--join {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  min-height: 260px;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(240, 124, 31, 0.10), rgba(240, 124, 31, 0) 55%),
    var(--surface);
}
.agency-card--join__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 24px;
}
.agency-card--join__icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}
.agency-card--join b { font-size: 1.05rem; line-height: 1.4; }
.agency-card--join__sub { font-size: 0.86rem; color: var(--muted); max-width: 300px; }
.agency-card--join__go {
  margin-top: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-strong);
}
.agency-card--join__go [aria-hidden] { display: inline-block; transition: transform 0.18s ease; }
.agency-card--join:hover .agency-card--join__go [aria-hidden] { transform: translateX(4px); }
