/* ============ Hotellink360 — identité Le Cercle ============ */
:root {
  --navy: #112f5b;
  --navy-deep: #0c2344;
  --petrol: #075961;
  --petrol-hover: #05454b;
  --petrol-soft: #e3eeef;
  --ink: #2d2727;
  --muted: #6b7280;
  --faint: #9ca3af;
  --gold: #b8862b;
  --gold-soft: #f5ecd9;
  --terra: #8c4a2f;
  --terra-soft: #f3e6df;
  --navy-soft: #e7ecf4;
  --bg: #ffffff;
  --bg-alt: #f4f7f8;
  --border: #e3e7ea;
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 0.875rem;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(17, 47, 91, 0.08);
  --shadow-md: 0 6px 20px rgba(17, 47, 91, 0.1);
  --shadow-lg: 0 14px 40px rgba(17, 47, 91, 0.16);
  --font-body: 'Poppins', 'Segoe UI', sans-serif;
  --font-script: 'Homemade Apple', cursive;
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.8125rem, 0.78rem + 0.2vw, 0.9375rem);
  --text-base: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.375rem, 1.15rem + 1vw, 1.875rem);
  --text-2xl: clamp(1.75rem, 1.3rem + 1.9vw, 2.625rem);
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem;
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}
body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--petrol); text-decoration: none; }
a, button, input, textarea, select {
  transition: color var(--transition), background var(--transition),
    border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
:focus-visible { outline: 2px solid var(--petrol); outline-offset: 2px; border-radius: var(--radius-sm); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}

/* ============ Boutons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm); font-weight: 500;
  white-space: nowrap;
}
.btn-primary { background: var(--petrol); color: #fff; }
.btn-primary:hover { background: var(--petrol-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--petrol); color: #fff; }
.btn-gold:hover { background: var(--petrol-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-red { background: var(--lg-gold); color: #fff; }
.btn-red:hover { background: #9a7200; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { border: 1.5px solid var(--petrol); color: var(--petrol); background: #fff; }
.btn-outline:hover { background: var(--petrol-soft); }
.btn-outline-light { border: 1.5px solid #6fb4ba; color: #fff; }
.btn-outline-light:hover { background: rgba(7, 89, 97, 0.35); }
.btn-sm { padding: 0.45rem 1.05rem; font-size: var(--text-xs); }
.btn-block { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1280px; margin-inline: auto;
  padding: 0.7rem var(--space-5);
  display: flex; align-items: center; gap: var(--space-6);
}
.brand img { height: 2.35rem; width: auto; }
.main-nav { display: flex; gap: var(--space-5); margin-inline: auto; }
.main-nav a {
  font-size: var(--text-sm); color: var(--navy); font-weight: 400;
  padding: 0.35rem 0; border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active { color: var(--petrol); border-bottom-color: var(--gold); }
.header-actions { display: flex; gap: var(--space-3); align-items: center; }
.nav-toggle { display: none; color: var(--navy); padding: var(--space-2); }

/* ============ Layout ============ */
.page {
  max-width: 1280px; margin-inline: auto;
  padding: var(--space-5);
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: var(--space-5);
  align-items: start;
}
.main-col { display: flex; flex-direction: column; gap: var(--space-5); min-width: 0; }
.side-col { display: flex; flex-direction: column; gap: var(--space-5); position: sticky; top: 5rem; }

/* ============ Hero ============ */
.hero {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 380px; display: flex; align-items: center;
  background: var(--navy);
}
.hero img.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0, 52, 88, 0.98) 0%, rgba(0, 58, 97, 0.92) 38%, rgba(15, 92, 92, 0.84) 70%, rgba(22, 94, 40, 0.76) 100%);
}
.hero-content { position: relative; z-index: 1; padding: var(--space-10) var(--space-8); max-width: 34rem; }
.hero h1 { color: #fff; font-size: var(--text-2xl); font-weight: 300; margin-bottom: var(--space-4); }
.hero h1 .script { font-family: var(--font-script); color: var(--lg-gold); font-size: 0.72em; display: inline-block; padding-top: 0.4em; }
.hero p { color: rgba(255, 255, 255, 0.88); font-size: var(--text-base); font-weight: 300; margin-bottom: var(--space-6); max-width: 30rem; }
.hero-ctas { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* ============ Cartes latérales ============ */
.side-card {
  border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.side-card.navy { background: var(--navy); border: none; color: #fff; }
.side-card .side-pad { padding: var(--space-5); }
.side-card.navy h2, .side-card.navy h3 { color: #fff; font-weight: 400; font-size: var(--text-lg); }
.side-card .side-sub { font-size: var(--text-xs); color: rgba(255, 255, 255, 0.75); font-weight: 300; margin-top: 2px; }
.publish-list {
  list-style: none; background: #fff; border-radius: var(--radius-md);
  margin-top: var(--space-4); overflow: hidden;
}
.publish-list li + li { border-top: 1px solid var(--border); }
.publish-list button {
  display: flex; align-items: center; gap: var(--space-3);
  width: 100%; padding: 0.7rem var(--space-4); text-align: left;
  font-size: var(--text-sm); color: var(--ink); font-weight: 400;
}
.publish-list button:hover { background: var(--petrol-soft); color: var(--petrol); }
.publish-list .pl-ico {
  width: 1.9rem; height: 1.9rem; border-radius: var(--radius-sm);
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--petrol-soft); color: var(--petrol);
}
.side-card .side-cta { margin-top: var(--space-4); }

.member-card { text-align: left; }
.member-card .mc-head {
  font-size: var(--text-lg); color: var(--navy); font-weight: 500; margin-bottom: var(--space-3);
}
.member-flag {
  display: flex; gap: var(--space-3); align-items: center;
}
.member-flag .mf-logo {
  width: 3.2rem; height: 3.2rem; border-radius: var(--radius-md); flex-shrink: 0;
  background: var(--navy-soft); color: var(--navy);
  display: grid; place-items: center; font-weight: 600; font-size: 1.05rem;
}
.member-flag strong { color: var(--navy); font-weight: 500; display: block; }
.member-flag span { font-size: var(--text-xs); color: var(--muted); display: block; }

.event-card .ev-row { display: flex; gap: var(--space-3); align-items: flex-start; margin-top: var(--space-4); }
.event-date {
  background: #fff; color: var(--navy); border-radius: var(--radius-md);
  text-align: center; padding: 0.4rem 0.7rem; flex-shrink: 0; line-height: 1.15;
}
.event-date b { font-size: 1.3rem; display: block; font-weight: 600; }
.event-date span { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; }
.ev-row strong { font-weight: 500; display: block; font-size: var(--text-sm); }
.ev-row span { font-size: var(--text-xs); color: rgba(255, 255, 255, 0.78); display: block; }

/* ============ Chiffres clés ============ */
.stats-strip {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3);
}
.st-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  border-top: 3px solid var(--navy);
  padding: var(--space-4) var(--space-4) var(--space-3);
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: var(--shadow-sm);
}
.st-card b { font-size: 1.22rem; font-weight: 600; color: var(--navy); letter-spacing: -0.01em; white-space: nowrap; }
.st-card span { font-size: var(--text-xs); font-weight: 500; color: var(--ink); text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.35; }
.st-card i { font-style: normal; font-size: 0.68rem; color: var(--muted); }
.st-blue { border-top-color: var(--lg-blue); } .st-blue b { color: var(--lg-blue); }
.st-petrol { border-top-color: var(--lg-petrol); } .st-petrol b { color: var(--lg-petrol); }
.st-gold { border-top-color: var(--lg-gold); } .st-gold b { color: #9a7200; }
.st-green { border-top-color: var(--lg-green); } .st-green b { color: var(--lg-green); }
.st-red { border-top-color: var(--lg-red); } .st-red b { color: var(--lg-red); }

/* ============ Bandeau partenaires ============ */
.partners-strip {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
  display: flex; align-items: center; gap: var(--space-6); flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.partners-strip .ps-label { font-size: var(--text-sm); color: var(--navy); font-weight: 500; line-height: 1.3; }
.partners-strip .ps-logos {
  display: flex; gap: var(--space-8); align-items: center; flex-wrap: wrap; flex: 1;
  justify-content: space-around;
}
.p-logo {
  font-size: var(--text-sm); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: var(--space-2);
}
.p-logo svg { color: var(--petrol); }
.partners-strip .ps-more { font-size: var(--text-xs); font-weight: 500; }

/* ============ Sections du fil ============ */
.feed-section { display: flex; flex-direction: column; gap: var(--space-4); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.section-head h2 { font-size: var(--text-xl); font-weight: 400; }
.section-head .sh-link { font-size: var(--text-sm); font-weight: 500; white-space: nowrap; }
.section-head .sh-link:hover { text-decoration: underline; }

.filter-bar { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.filter-bar button {
  padding: 0.4rem 1rem; border-radius: var(--radius-full);
  border: 1px solid var(--border); background: #fff;
  font-size: var(--text-xs); font-weight: 500; color: var(--muted);
}
.filter-bar button:hover { border-color: var(--petrol); color: var(--petrol); }
.filter-bar button.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--space-4); }
.op-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.op-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.op-head {
  padding: 0.45rem var(--space-4);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: #fff; display: flex; justify-content: space-between; align-items: center; gap: var(--space-2);
}
.op-head .op-type { font-weight: 400; opacity: 0.85; letter-spacing: 0.02em; text-transform: none; }
.cat-immobilier .op-head { background: var(--gold); }
.cat-recrutement .op-head { background: var(--navy); }
.cat-financement .op-head { background: var(--petrol); }
.cat-projets .op-head { background: var(--terra); }
.cat-media .op-head { background: var(--navy-deep); }
.op-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-alt); }
.op-media img { width: 100%; height: 100%; object-fit: cover; }
.op-media .play-badge {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(12, 35, 68, 0.32); color: #fff;
}
.op-media .play-badge svg { filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4)); }
.op-body { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.op-tag {
  align-self: flex-start; font-size: var(--text-xs); font-weight: 500;
  padding: 0.15rem 0.7rem; border-radius: var(--radius-full);
}
.cat-immobilier .op-tag { background: var(--gold-soft); color: #8a6519; }
.cat-recrutement .op-tag { background: var(--navy-soft); color: var(--navy); }
.cat-financement .op-tag { background: var(--petrol-soft); color: var(--petrol); }
.cat-projets .op-tag { background: var(--terra-soft); color: var(--terra); }
.cat-media .op-tag { background: var(--navy-soft); color: var(--navy-deep); }
.op-body h3 { font-size: var(--text-base); font-weight: 500; }
.op-body .op-desc { font-size: var(--text-sm); color: var(--muted); font-weight: 300; flex: 1; }
.op-meta { display: flex; gap: var(--space-3); flex-wrap: wrap; font-size: var(--text-xs); color: var(--faint); }
.op-meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.op-foot { padding: 0 var(--space-4) var(--space-4); }
.op-foot .btn { width: 100%; }
.op-card .btn-op { border: 1.5px solid var(--petrol); color: var(--petrol); }
.op-card .btn-op:hover { background: var(--petrol-soft); }
.op-card.is-new { outline: 2px solid var(--gold); outline-offset: 2px; }
.badge-pending {
  font-size: var(--text-xs); background: var(--gold-soft); color: #8a6519;
  border-radius: var(--radius-full); padding: 0.1rem 0.6rem; font-weight: 500;
}
.empty-state {
  border: 1.5px dashed var(--border); border-radius: var(--radius-md);
  padding: var(--space-8); text-align: center; color: var(--muted); font-size: var(--text-sm);
}

/* ============ Bande hubs (navy) ============ */
.hubs-band {
  background: var(--navy); border-radius: var(--radius-lg); color: #fff;
  padding: var(--space-6);
}
.hubs-band h2 { color: #fff; font-weight: 400; font-size: var(--text-lg); margin-bottom: var(--space-5); }
.hubs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-5); }
.hub-item { display: flex; gap: var(--space-3); align-items: flex-start; }
.hub-item .hub-ico {
  width: 2.5rem; height: 2.5rem; border-radius: var(--radius-md); flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1); display: grid; place-items: center; color: #e9b949;
}
.hub-item strong { font-weight: 500; font-size: var(--text-sm); display: block; }
.hub-item p { font-size: var(--text-xs); color: rgba(255, 255, 255, 0.75); font-weight: 300; margin: 0.2rem 0 0.4rem; }
.hub-item a { color: #e9b949; font-size: var(--text-xs); font-weight: 500; }
.hub-item a:hover { text-decoration: underline; }

/* ============ Stats ============ */
.stats-band {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--space-6); box-shadow: var(--shadow-sm);
  display: flex; gap: var(--space-6); align-items: center; flex-wrap: wrap;
}
.stats-band h2 { font-size: var(--text-lg); font-weight: 400; flex-basis: 100%; }
.stat { flex: 1; min-width: 130px; display: flex; gap: var(--space-3); align-items: center; }
.stat .st-ico { color: var(--petrol); flex-shrink: 0; }
.stat b { font-size: var(--text-xl); color: var(--navy); font-weight: 500; display: block; line-height: 1.1; }
.stat span { font-size: var(--text-xs); color: var(--muted); display: block; }
.stat-highlight {
  background: var(--navy); color: #fff; border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-6); text-align: center; min-width: 150px;
}
.stat-highlight b { font-size: var(--text-2xl); font-weight: 500; display: block; line-height: 1.1; }
.stat-highlight span { font-size: var(--text-xs); }

/* ============ Newsletter + footer ============ */
.newsletter-band {
  background: var(--navy-deep); border-radius: var(--radius-lg); color: #fff;
  padding: var(--space-5) var(--space-6);
  display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap;
}
.newsletter-band .nb-text { flex: 1; min-width: 220px; }
.newsletter-band .nb-text strong { font-weight: 500; display: block; font-size: var(--text-sm); }
.newsletter-band .nb-text span { font-size: var(--text-xs); color: rgba(255, 255, 255, 0.75); font-weight: 300; }
.newsletter-form { display: flex; gap: var(--space-2); flex: 1.2; min-width: 260px; }
.newsletter-form input {
  flex: 1; border-radius: var(--radius-full); border: none;
  padding: 0.6rem 1.1rem; font-size: var(--text-sm); background: #fff; color: var(--ink); min-width: 0;
}
.newsletter-msg { flex-basis: 100%; font-size: var(--text-xs); color: #e9b949; }

.site-footer { border-top: 1px solid var(--border); margin-top: var(--space-8); background: var(--bg-alt); }
.footer-inner {
  max-width: 1280px; margin-inline: auto; padding: var(--space-8) var(--space-5);
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-8);
}
.footer-inner img { height: 2rem; width: auto; margin-bottom: var(--space-3); }
.footer-inner p { font-size: var(--text-xs); color: var(--muted); font-weight: 300; max-width: 32ch; }
.footer-inner h4 { font-size: var(--text-sm); font-weight: 500; margin-bottom: var(--space-3); }
.footer-inner ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-2); }
.footer-inner ul a { font-size: var(--text-xs); color: var(--muted); }
.footer-inner ul a:hover { color: var(--petrol); }
.footer-base {
  border-top: 1px solid var(--border);
  padding: var(--space-4) var(--space-5); text-align: center;
  font-size: var(--text-xs); color: var(--faint);
}

/* ============ Modal publication ============ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(12, 35, 68, 0.55); backdrop-filter: blur(3px);
  display: none; align-items: flex-start; justify-content: center;
  padding: var(--space-5); overflow-y: auto;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  width: min(620px, 100%); margin-block: var(--space-8);
  animation: modal-in 260ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.modal-head {
  padding: var(--space-5) var(--space-6); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
}
.modal-head h2 { font-size: var(--text-lg); font-weight: 500; }
.modal-head p { font-size: var(--text-xs); color: var(--muted); margin-top: 2px; }
.modal-close { color: var(--muted); padding: var(--space-2); border-radius: var(--radius-full); }
.modal-close:hover { background: var(--bg-alt); color: var(--navy); }
.modal form { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }
.type-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2); }
.type-picker input { position: absolute; opacity: 0; pointer-events: none; }
.type-picker label {
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-2); text-align: center;
  font-size: var(--text-xs); font-weight: 500; color: var(--muted); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-1);
  transition: all var(--transition);
}
.type-picker label:hover { border-color: var(--petrol); color: var(--petrol); }
.type-picker input:checked + label { border-color: var(--petrol); background: var(--petrol-soft); color: var(--petrol); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field { display: flex; flex-direction: column; gap: var(--space-1); }
.field label { font-size: var(--text-xs); font-weight: 500; color: var(--navy); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  padding: 0.55rem 0.85rem; font-size: var(--text-sm); background: #fff; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--petrol); outline: none; box-shadow: 0 0 0 3px var(--petrol-soft); }
.field textarea { resize: vertical; min-height: 90px; }
.check-row { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); color: var(--muted); }
.check-row input { accent-color: var(--petrol); width: 1rem; height: 1rem; }
.modal-note {
  background: var(--petrol-soft); border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4); font-size: var(--text-xs); color: var(--petrol);
  display: flex; gap: var(--space-2); align-items: flex-start;
}
.modal-note a { font-weight: 600; text-decoration: underline; }
.modal-actions { display: flex; gap: var(--space-3); justify-content: flex-end; }

/* Écosystème — couleurs du logo Hotellink */
:root {
  --lg-blue: #004878; --lg-red: #d84048; --lg-green: #1f7a33;
  --lg-gold: #c99400; --lg-petrol: #187878;
}
.eco-ic {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.eco-blue { background: var(--lg-blue); }
.eco-red { background: var(--lg-red); }
.eco-gold { background: var(--lg-gold); }
.eco-green { background: var(--lg-green); }
.eco-petrol { background: var(--lg-petrol); }
.p-logo { display: inline-flex; align-items: center; gap: 8px; }

/* Bande écosystème bas de page */
.eco-band { background: var(--bg-alt); border-top: 1px solid var(--border); padding: var(--space-8) var(--space-4); }
.eco-inner { max-width: 1180px; margin: 0 auto; text-align: center; }
.eco-inner h2 { font-size: var(--text-xl); color: var(--navy); font-weight: 500; margin-bottom: var(--space-2); }
.eco-sub { font-size: var(--text-sm); color: var(--muted); font-weight: 300; margin-bottom: var(--space-6); }
.eco-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.eco-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--space-5) var(--space-4); display: flex; flex-direction: column;
  align-items: center; gap: 10px; text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.eco-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ec-blue { border-top: 3px solid var(--lg-blue); }
.ec-red { border-top: 3px solid var(--lg-red); }
.ec-gold { border-top: 3px solid var(--lg-gold); }
.ec-green { border-top: 3px solid var(--lg-green); }
.ec-petrol { border-top: 3px solid var(--lg-petrol); }
.eco-card b { font-weight: 600; color: var(--navy); font-size: var(--text-sm); }
.eco-card span { font-size: var(--text-xs); color: var(--muted); font-weight: 300; line-height: 1.45; }
.eco-cta { display: inline-flex; }

/* Bandeau logos défilant */
.logo-marquee {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: var(--space-4) 0 var(--space-5);
  margin-bottom: var(--space-6); overflow: hidden;
}
.lm-head {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); font-weight: 600; text-align: center;
  margin-bottom: var(--space-4); padding: 0 var(--space-4);
}
.lm-viewport {
  overflow: hidden; position: relative;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.lm-track {
  display: flex; align-items: center; gap: 56px; width: max-content;
  padding: 0 28px; animation: lm-scroll 38s linear infinite;
}
.logo-marquee:hover .lm-track { animation-play-state: paused; }
@keyframes lm-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .lm-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 24px; }
}
.lm-item { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lm-mono {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px; letter-spacing: 0.02em;
}
.lm-gold { background: var(--gold-soft); color: var(--gold); }
.lm-navy { background: #e2e9f4; color: var(--navy); }
.lm-petrol { background: #dcecee; color: var(--petrol); }
.lm-terra { background: #f3e4dc; color: var(--terra); }
.lm-name { display: flex; flex-direction: column; line-height: 1.25; }
.lm-name b { font-weight: 600; color: var(--navy); font-size: 13.5px; white-space: nowrap; }
.lm-name i { font-style: normal; font-size: 11.5px; color: var(--muted); white-space: nowrap; }

/* Toast */
.toast {
  position: fixed; bottom: var(--space-6); left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--navy); color: #fff; border-radius: var(--radius-full);
  padding: 0.7rem 1.5rem; font-size: var(--text-sm); box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: all 300ms ease; z-index: 120;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .stats-strip { grid-template-columns: repeat(3, 1fr); }
  .st-card:nth-last-child(-n+2) { grid-column: span 1; }
  .page { grid-template-columns: 1fr; }
  .side-col { position: static; }
  .side-col { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
}
@media (max-width: 760px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .st-card:last-child { grid-column: 1 / -1; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; padding: var(--space-4) var(--space-5); gap: var(--space-3);
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-actions .btn-outline { display: none; }
  .side-col { grid-template-columns: 1fr; }
  .hero-content { padding: var(--space-8) var(--space-5); }
  .form-row { grid-template-columns: 1fr; }
  .type-picker { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: var(--space-6); }
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .eco-card:last-child { grid-column: 1 / -1; }
  .partners-strip { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .partners-strip .ps-label br { display: none; }
  .partners-strip .ps-logos { justify-content: flex-start; gap: var(--space-3) var(--space-6); }
  .stats-band { gap: var(--space-4); }
  .stat { min-width: 110px; }
}

/* ============ Réseau social — ajouts ============ */
.hero-badge {
  display: inline-block; margin-bottom: var(--space-3);
  padding: 0.3rem 0.95rem; border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.14);
  color: #fff; font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
}

.network-band { margin-top: var(--space-6); }
.network-band h2 { font-size: var(--text-xl); color: var(--navy); font-weight: 500; margin-bottom: var(--space-4); }
.nw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.nw-card {
  background: #fff; border: 1px solid var(--border); border-top-width: 3px;
  border-radius: var(--radius-md); padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}
.nw-card b { display: block; color: var(--navy); font-weight: 600; font-size: var(--text-sm); margin: var(--space-2) 0 0.3rem; }
.nw-card p { font-size: var(--text-xs); color: var(--text-soft); line-height: 1.55; font-weight: 300; }
.nw-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--radius-md); font-style: normal;
}
.nw-blue { border-top-color: var(--lg-blue); }
.nw-blue .nw-ico { background: #e2e9f4; color: var(--lg-blue); }
.nw-petrol { border-top-color: var(--petrol); }
.nw-petrol .nw-ico { background: var(--petrol-soft); color: var(--petrol); }
.nw-gold { border-top-color: var(--lg-gold); }
.nw-gold .nw-ico { background: #f5ecd4; color: #8a6519; }
.nw-green { border-top-color: var(--lg-green); }
.nw-green .nw-ico { background: #e3f0e6; color: var(--lg-green); }

.op-author { display: flex; align-items: center; gap: 0.6rem; margin-bottom: var(--space-2); }
.op-avatar {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: #e2e9f4; color: var(--navy);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.03em;
}
.op-avatar.alias { background: var(--petrol-soft); color: var(--petrol); border: 1.5px dashed var(--petrol); }
.oa-txt { display: flex; flex-direction: column; min-width: 0; }
.oa-txt b { font-size: var(--text-xs); font-weight: 600; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oa-txt i { font-style: normal; font-size: 0.68rem; color: var(--text-soft); font-weight: 300; }

.cat-tips .op-head { background: var(--lg-green); }
.cat-tips .btn-op { border: 1.5px solid var(--petrol); color: var(--petrol); }

@media (max-width: 1024px) {
  .nw-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .nw-grid { grid-template-columns: 1fr; }
}

/* ============ Chiffres clés — bandeau déroulant ============ */
.stats-ticker {
  margin-top: var(--space-4);
  display: flex; align-items: stretch; overflow: hidden;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.stk-head {
  flex-shrink: 0; display: inline-flex; align-items: center;
  padding: 0.7rem 1rem; background: var(--navy); color: #fff;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
}
.stk-viewport { flex: 1; overflow: hidden; display: flex; align-items: center; }
.stk-track {
  display: flex; align-items: center; gap: 40px; width: max-content;
  padding: 0 26px; animation: lm-scroll 32s linear infinite;
}
.stats-ticker:hover .stk-track { animation-play-state: paused; }
.stk-item { display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.stk-item b { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; }
.stk-item span { font-size: 0.7rem; font-weight: 500; color: var(--ink); text-transform: uppercase; letter-spacing: 0.05em; }
.stk-item i { font-style: normal; font-size: 0.64rem; color: var(--muted); }
.stk-item:hover span { color: var(--petrol); }
.stk-blue b { color: var(--lg-blue); }
.stk-petrol b { color: var(--lg-petrol); }
.stk-gold b { color: #9a7200; }
.stk-green b { color: var(--lg-green); }
.stk-red b { color: var(--lg-red); }
.stk-more {
  flex-shrink: 0; display: inline-flex; align-items: center;
  padding: 0.7rem 1rem; border-left: 1px solid var(--border);
  font-size: var(--text-xs); font-weight: 600; color: var(--petrol); white-space: nowrap;
}
.stk-more:hover { background: var(--petrol-soft); }
@media (max-width: 640px) {
  .stk-head { display: none; }
}

/* ============ Dernières demandes — bandeau déroulant ============ */
.latest-ticker {
  margin-top: var(--space-3);
  display: flex; align-items: stretch; overflow: hidden;
  background: var(--navy); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); color: #fff;
}
.lt-head {
  flex-shrink: 0; display: inline-flex; align-items: center;
  padding: 0.7rem 1rem; background: var(--petrol); color: #fff;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
}
.lt-viewport { flex: 1; overflow: hidden; display: flex; align-items: center; }
.lt-track {
  display: flex; align-items: center; gap: 38px; width: max-content;
  padding: 0 24px; animation: lm-scroll 40s linear infinite;
}
.latest-ticker:hover .lt-track { animation-play-state: paused; }
.lt-item { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; color: #fff; }
.lt-type {
  display: inline-flex; align-items: center; padding: 0.14rem 0.55rem;
  border-radius: var(--radius-full); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.lt-type.t-demande { background: #e9b949; color: var(--navy); }
.lt-type.t-proposition { background: #6fb4ba; color: var(--navy); }
.lt-type.t-tip { background: #8fce9d; color: var(--navy); }
.lt-item b { font-size: var(--text-xs); font-weight: 500; }
.lt-item i { font-style: normal; font-size: 0.66rem; color: rgba(255, 255, 255, 0.65); }
.lt-item:hover b { text-decoration: underline; }
.lt-more {
  flex-shrink: 0; display: inline-flex; align-items: center;
  padding: 0.7rem 1rem; border-left: 1px solid rgba(255, 255, 255, 0.18);
  font-size: var(--text-xs); font-weight: 600; color: #e9b949; white-space: nowrap;
}
.lt-more:hover { background: rgba(255, 255, 255, 0.08); }
@media (max-width: 640px) {
  .lt-head { display: none; }
}

/* ============ Hero — nouveaux membres qui défilent ============ */
.hero-members {
  position: absolute; z-index: 2; right: 26px; top: 50%; transform: translateY(-50%);
  width: 235px;
  background: rgba(3, 34, 54, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-md);
  overflow: hidden; backdrop-filter: blur(5px);
}
.hm-head {
  padding: 0.55rem 0.9rem; background: rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff; font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
}
.hm-viewport { height: 252px; overflow: hidden; position: relative; }
.hm-track { display: flex; flex-direction: column; animation: hm-scroll 26s linear infinite; }
.hero-members:hover .hm-track { animation-play-state: paused; }
@keyframes hm-scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.hm-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0.55rem 0.9rem;
}
.hm-item img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.55); flex-shrink: 0;
}
.hm-alias {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--petrol-soft); color: var(--petrol);
  border: 2px dashed var(--petrol); font-size: 0.78rem; font-weight: 600;
}
.hm-item span b { display: block; color: #fff; font-size: 0.78rem; font-weight: 600; line-height: 1.25; }
.hm-item span i { font-style: normal; color: rgba(255, 255, 255, 0.72); font-size: 0.66rem; font-weight: 300; }
@media (max-width: 1180px) {
  .hero-members { display: none; }
}

/* ============ Contact entre membres ============ */
.contact-note {
  display: flex; align-items: center; gap: 7px;
  margin: -4px 0 var(--space-3);
  font-size: var(--text-xs); color: var(--text-soft); font-weight: 300;
}
.contact-note svg { color: var(--petrol); }
.mc-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: var(--space-3); }
.mc-note { margin-top: 8px; font-size: 0.68rem; color: var(--muted); font-weight: 300; }
.op-contact {
  margin-left: auto; flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 0.28rem 0.7rem; border-radius: var(--radius-full);
  border: 1px solid var(--petrol); color: var(--petrol);
  font-size: 0.66rem; font-weight: 600;
}
.op-contact:hover { background: var(--petrol-soft); }

/* Vignettes établissements dans le carrousel membres */
.hm-item img.hm-est { border-radius: 10px; }

.contact-note a { color: var(--petrol); font-weight: 500; text-decoration: underline; }

/* Connexion unique — membre connecté depuis son espace Le Cercle */
.sso-badge { display: inline-flex; align-items: center; gap: 6px; max-width: 260px; padding: 6px 12px; border-radius: 999px;
  background: rgba(47, 120, 91, 0.1); color: #22674c; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sso-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2f785b; flex-shrink: 0; }
button.op-contact { background: transparent; cursor: pointer; font-family: inherit; line-height: inherit; }
.form-error { color: #a74646; font-size: 13.5px; margin: 8px 0 0; }
@media (max-width: 720px) { .sso-badge { max-width: 150px; font-size: 11.5px; } }
.op-contact.op-mine{background:transparent;border-color:transparent;color:inherit;opacity:.65;cursor:default;pointer-events:none}
