/* ══════════════════════════════════════════
   DAYCLIC — Design System v2
   Modern, clean, refined
   ══════════════════════════════════════════ */
:root {
  --navy:       #0C1F36;
  --navy2:      #142D4A;
  --navy3:      #1A3A5C;
  --gold:       #C8A44E;
  --gold2:      #D4B462;
  --gold-light: #FBF6EC;
  --star:       #E8A838;
  --teal:       #2D8B78;
  --teal-light: #EEF7F5;
  --bg:         #FAFBFC;
  --bg2:        #F3F5F8;
  --bg3:        #E8ECF1;
  --text:       #1A1F2B;
  --text2:      #3D4555;
  --text3:      #7A8299;
  --text-inv:   #FFFFFF;
  --border:     #E4E8EE;
  --shadow-xs:  0 1px 3px rgba(12,31,54,0.04);
  --shadow:     0 2px 16px rgba(12,31,54,0.06);
  --shadow-md:  0 6px 30px rgba(12,31,54,0.08);
  --shadow-lg:  0 12px 48px rgba(12,31,54,0.10);
  --shadow-xl:  0 24px 64px rgba(12,31,54,0.12);
  --r:          12px;
  --r-lg:       20px;
  --r-xl:       28px;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:   cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  letter-spacing: -0.005em;
}
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: inherit; }
a { color: inherit; text-decoration: none; }

/* ── SKIP TO CONTENT (accessibility) ── */
.skip-to-content {
  position: absolute; top: -100%; left: 50%;
  transform: translateX(-50%);
  background: var(--navy); color: #fff;
  padding: 0.75rem 1.5rem; border-radius: 0 0 var(--r) var(--r);
  font-size: 0.85rem; font-weight: 600;
  z-index: 10000; text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-to-content:focus {
  top: 0; outline: 2px solid var(--gold); outline-offset: 2px;
}

/* ══════════════════════════════════════════
   NAVIGATION — Minimal & sharp
   ══════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  overflow: visible;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 0 2rem; height: 60px; gap: 1.5rem;
  overflow: visible;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 900;
  color: #fff; letter-spacing: -0.02em;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  display: flex; flex-direction: column; padding: 4px 0;
  background: none; border: none; line-height: 1.1;
}
.nav-logo-sub {
  font-family: 'Sora', sans-serif; font-size: 0.56rem; font-weight: 400;
  color: rgba(255,255,255,0.28); letter-spacing: 0.04em;
  text-decoration: none; transition: color 0.3s var(--ease);
}
.nav-logo-sub:hover { color: var(--gold); }
.nav-logo img { height: 44px; width: auto; display: block; }
.nav-links {
  display: flex; align-items: center; gap: 0.15rem;
  flex: 1; overflow: visible; scrollbar-width: none;
  justify-content: center;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-link {
  background: none; border: none;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); cursor: pointer;
  padding: 0.45rem 0.9rem; border-radius: 8px;
  transition: all 0.25s var(--ease); white-space: nowrap;
  position: relative;
}
.nav-link:hover { color: rgba(255,255,255,0.9); }
.nav-link.active {
  color: var(--gold); font-weight: 600;
}
.nav-link.active::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 2px; border-radius: 2px; background: var(--gold);
}

/* Nav dropdown */
.nav-dropdown { position: relative; display: inline-flex; }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  z-index: 600;
  background: rgba(12,31,54,0.98); backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 14px;
  padding: 0.5rem; min-width: 200px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu button {
  display: block; width: 100%; text-align: left; background: none; border: none;
  color: rgba(255,255,255,0.65); font-size: 0.8rem; font-weight: 500;
  padding: 0.55rem 1rem; cursor: pointer; font-family: 'Sora', sans-serif;
  transition: all 0.2s var(--ease); border-radius: 8px;
}
.nav-dropdown-menu button:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-right { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.nav-socials { display: flex; align-items: center; gap: 0.25rem; }
.nav-socials a {
  width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.35); transition: all 0.25s var(--ease);
}
.nav-socials a:hover { color: var(--gold); background: rgba(255,255,255,0.06); }
.nav-user {
  background: none; border: 1.5px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.7); font-size: 0.76rem; font-weight: 500;
  padding: 0.38rem 1rem; border-radius: 50px; cursor: pointer;
  transition: all 0.25s var(--ease);
}
.nav-user:hover { border-color: var(--gold); color: var(--gold); }

/* Hamburger */
.nav-hamburger {
  display: none; background: none; border: none;
  flex-direction: column; gap: 5px; cursor: pointer; padding: 6px;
}
.nav-hamburger span {
  display: block; width: 20px; height: 1.5px;
  background: rgba(255,255,255,0.75); border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.nav-mobile {
  display: none; flex-direction: column;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 0.6rem 0.8rem 1rem;
  position: relative; z-index: 600;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link {
  padding: 0.85rem 1.2rem; border-radius: 10px;
  font-size: 0.85rem; text-align: left;
  letter-spacing: 0.04em;
}
.nav-mobile .nav-link::after { display: none; }
.nav-mobile .nav-link:hover { background: rgba(255,255,255,0.04); }

/* Leaflet popup styles */
.leaflet-popup-content-wrapper { border-radius: 16px !important; padding: 0 !important; overflow: hidden !important; box-shadow: var(--shadow-lg) !important; }
.leaflet-popup-content { margin: 0 !important; }
.leaflet-popup-tip-container { display: none !important; }

/* ══════════════════════════════════════════
   PAGE ROUTING
   ══════════════════════════════════════════ */
.page { display: none; }
.page.active { display: block; }
.pt-nav { padding-top: 60px; }

/* ══════════════════════════════════════════
   HERO — dark navy, dramatic
   ══════════════════════════════════════════ */
.hero {
  background: var(--navy);
  padding: 7rem 2rem 6rem;
  position: relative; overflow: hidden;
  min-height: 85vh;
  display: flex; align-items: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 65% 35%, rgba(200,164,78,0.08) 0%, transparent 70%),
              radial-gradient(ellipse 40% 45% at 15% 75%, rgba(45,139,120,0.06) 0%, transparent 55%);
  pointer-events: none;
}
.hero-grid {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(200,164,78,0.1); border: 1px solid rgba(200,164,78,0.18);
  color: var(--gold); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.35rem 1rem; border-radius: 50px; margin-bottom: 1.8rem;
}
/* Home hero 2-col grid */
.home-hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 2rem; width: 100%; position: relative; z-index: 1;
}
.home-hero-stats {
  display: flex; flex-direction: column; gap: 2.5rem;
  padding: 2.5rem; border-left: 1px solid rgba(255,255,255,0.08);
}
.home-hero-stat { text-align: center; }
.home-hero-stat-n {
  font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 900; color: #fff;
  letter-spacing: -0.02em; line-height: 1;
}
.home-hero-stat-l {
  font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-top: 0.5rem; line-height: 1.5;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900; color: #fff; line-height: 1.08;
  letter-spacing: -0.03em; margin-bottom: 1.8rem;
}
.hero-title em { color: var(--gold); font-style: normal; }
.hero-desc {
  font-size: 1.02rem; color: rgba(255,255,255,0.5);
  line-height: 1.85; max-width: 500px; margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold); color: var(--navy);
  border: none; font-weight: 700; font-size: 0.85rem;
  padding: 0.85rem 2rem; border-radius: 50px; cursor: pointer;
  transition: all 0.3s var(--ease); letter-spacing: 0.02em;
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200,164,78,0.25); }
.btn-outline {
  background: none; color: rgba(255,255,255,0.75);
  border: 1.5px solid rgba(255,255,255,0.18);
  font-weight: 600; font-size: 0.85rem;
  padding: 0.85rem 2rem; border-radius: 50px; cursor: pointer;
  transition: all 0.3s var(--ease);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3.5rem;
  padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.06);
}
.hero-stat-n {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; font-weight: 700; color: var(--gold); line-height: 1;
}
.hero-stat-l { font-size: 0.74rem; color: rgba(255,255,255,0.35); margin-top: 0.4rem; font-weight: 300; }

.hero-visual { position: relative; }
.hero-map-preview {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.35);
  background: var(--navy2);
  height: 440px; position: relative;
}
.hero-map-preview img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.hero-map-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  background: rgba(12,31,54,0.9); backdrop-filter: blur(16px);
  border: 1px solid rgba(200,164,78,0.2); border-radius: 14px;
  padding: 1rem 1.4rem; color: #fff;
}
.hero-map-badge strong { font-size: 1.4rem; color: var(--gold); display: block; }
.hero-map-badge span { font-size: 0.7rem; color: rgba(255,255,255,0.5); }

/* ══════════════════════════════════════════
   SECTIONS — Generous spacing
   ══════════════════════════════════════════ */
.section-light { background: var(--bg); padding: 6rem 2rem; }
.section-off { background: var(--bg2); padding: 6rem 2rem; }
.section-dark { background: var(--navy); padding: 6rem 2rem; }
.section-teal { background: var(--teal-light); padding: 6rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }

/* ── SECTION HEADERS — Refined ── */
.sec-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.6rem;
}
.sec-label.inv { color: var(--gold); }
.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.025em;
  color: var(--text); margin-bottom: 1rem;
}
.sec-title.inv { color: #fff; }
.sec-desc {
  font-size: 0.95rem; color: var(--text3); max-width: 560px; line-height: 1.8;
  font-weight: 300;
}
.sec-desc.inv { color: rgba(255,255,255,0.45); }
.sec-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap;
}
.sec-head-left { flex: 1; }

/* ── VIEW ALL ── */
.view-all {
  font-size: 0.8rem; font-weight: 600; color: var(--gold);
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 0.4rem;
  white-space: nowrap; transition: gap 0.3s var(--ease);
}
.view-all:hover { gap: 0.7rem; }
.view-all.dark { color: var(--teal); }

/* ══════════════════════════════════════════
   CARDS — Clean, shadow-based
   ══════════════════════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.8rem;
}
.card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--r-lg);
  overflow: hidden; cursor: pointer;
  transition: all 0.35s var(--ease);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-xs);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card-photo {
  height: 260px; background-size: cover; background-position: center;
  position: relative;
}
.card-photo-location {
  position: absolute; bottom: 0.8rem; left: 0.8rem;
  background: rgba(12,31,54,0.8); backdrop-filter: blur(8px);
  color: #fff; font-size: 0.7rem; font-weight: 500;
  padding: 0.3rem 0.75rem; border-radius: 50px;
  display: flex; align-items: center; gap: 0.35rem;
}
.card-photo-location svg { width: 10px; height: 10px; flex-shrink: 0; }
.card-type-badge {
  position: absolute; top: 0.8rem; right: 0.8rem;
  background: var(--navy); color: var(--gold);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 0.25rem 0.7rem; border-radius: 50px;
}
.card-femmes-badge {
  position: absolute; top: 0.8rem; left: 0.8rem;
  background: var(--gold); color: var(--navy);
  font-size: 0.62rem; font-weight: 700;
  padding: 0.25rem 0.7rem; border-radius: 50px;
}
.card-body { padding: 1.4rem 1.5rem; flex: 1; }
.card-region { font-size: 0.67rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.card-name { font-size: 0.95rem; font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: 0.35rem; }
.card-city { font-size: 0.78rem; color: var(--text3); margin-bottom: 0.85rem; }
.card-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.c-tag {
  font-size: 0.66rem; font-weight: 500;
  background: var(--bg2); color: var(--text3);
  padding: 0.22rem 0.6rem; border-radius: 50px;
  border: none;
}
.c-tag.green { background: var(--teal-light); color: var(--teal); }
.card-footer-row {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.card-dept { font-size: 0.72rem; color: var(--text3); }
.card-action {
  font-size: 0.75rem; font-weight: 700; color: var(--navy);
  background: none; border: none; cursor: pointer;
  transition: color 0.25s var(--ease);
}
.card-action:hover { color: var(--gold); }

/* ══════════════════════════════════════════
   PARCOURS DE SOINS
   ══════════════════════════════════════════ */
.parcours-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem;
  margin-top: 3rem; counter-reset: step;
}
.parcours-step {
  position: relative; display: flex; align-items: flex-start; gap: 1.2rem;
  text-align: left; padding: 1.8rem 1.6rem;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-lg);
  transition: all 0.35s var(--ease);
}
.parcours-step:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(200,164,78,0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}
.parcours-step::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute; top: -0.55rem; right: 1rem;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.1em;
  background: var(--gold); color: var(--navy);
  padding: 0.2rem 0.65rem; border-radius: 50px;
  font-family: 'Sora', sans-serif;
}
.parcours-icon {
  width: 52px; height: 52px; min-width: 52px; border-radius: 50%;
  background: linear-gradient(145deg, var(--teal), #267568);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(45,139,120,0.3);
  position: relative; z-index: 1;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.parcours-step:hover .parcours-icon {
  transform: scale(1.06);
  box-shadow: 0 8px 24px rgba(45,139,120,0.4);
}
.parcours-icon svg { width: 22px; height: 22px; color: #fff; }
.parcours-step-text { display: flex; flex-direction: column; gap: 0.3rem; padding-top: 0.1rem; }
.parcours-step h3 { font-size: 0.92rem; font-weight: 700; margin-bottom: 0; color: #fff; line-height: 1.3; }
.parcours-step p { font-size: 0.78rem; color: rgba(255,255,255,0.4); line-height: 1.65; margin: 0; display: block; font-weight: 300; }

/* ── MOCKTAILS ── */
.mocktail-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.8rem;
}
.mocktail-card {
  border-radius: var(--r-lg); overflow: hidden;
  border: none; background: #fff;
  transition: all 0.35s var(--ease);
  box-shadow: var(--shadow-xs);
}
.mocktail-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.mocktail-card-img { height: 180px; width: 100%; object-fit: cover; display: block; }
.mocktail-card-body { padding: 1.5rem; }
.mocktail-card-recipe { font-size: 0.78rem; color: var(--text2); line-height: 1.75; margin-top: 0.6rem; padding-top: 0.6rem; border-top: 1px solid var(--border); }
.mocktail-card-recipe strong { color: var(--text); font-weight: 600; }
.mocktail-card-recipe em { font-style: normal; color: var(--teal); font-weight: 600; }
.mocktail-card-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; }
.mocktail-card-circle {
  width: 44px; height: 44px; min-width: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.mocktail-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.mocktail-card-cat {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text3); margin-top: 0.15rem;
}
.mocktail-card-desc { font-size: 0.82rem; color: var(--text2); line-height: 1.7; margin-bottom: 0.8rem; }
.mocktail-card-ingredients { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.mocktail-ing {
  font-size: 0.66rem; font-weight: 500; background: var(--bg2);
  color: var(--text3); padding: 0.22rem 0.6rem; border-radius: 50px;
}
.mocktail-card-diff { font-size: 0.65rem; font-weight: 600; margin-top: 0.8rem; color: var(--teal); }
.mocktail-filter {
  background: #fff; border: 1.5px solid var(--border); border-radius: 50px;
  padding: 0.5rem 1.2rem; font-size: 0.78rem; font-weight: 600;
  color: var(--text3); cursor: pointer; font-family: 'Sora', sans-serif;
  transition: all 0.25s var(--ease);
}
.mocktail-filter:hover { border-color: var(--gold); color: var(--gold); }
.mocktail-filter.active { background: var(--navy); color: #fff; border-color: var(--navy); }
@media (max-width: 768px) {
  .mocktail-grid { grid-template-columns: 1fr; }
  #coaching-card { grid-template-columns: 1fr !important; text-align: center; }
  #coaching-card > div:last-child { display: none; }
}

/* ── PRO CTA BAR ── */
.pro-cta-bar {
  margin-top: 1.5rem; text-align: center; padding: 1.2rem 1.5rem;
  background: rgba(200,164,78,0.06); border: 1px solid rgba(200,164,78,0.1);
  border-radius: var(--r-lg);
}
@media (max-width: 768px) { .pro-cta-bar { display: none; } }

/* ── PRO PAGE responsive ── */
@media (max-width: 768px) {
  #page-pro .section-inner > div:first-child { grid-template-columns: 1fr !important; }
}

/* ── HOME PAGE responsive ── */
@media (max-width: 768px) {
  .home-mission-grid { grid-template-columns: 1fr !important; }
  .home-branches-grid { grid-template-columns: 1fr !important; }
  .home-guides-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .home-chiffres-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
.branch-card-home:hover {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(200,164,78,0.2) !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

/* GRILLE BRUYÈRES — "Toutes nos ressources" */
.branches-bruyeres {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.2rem;
}
.bb-card {
  position: relative; overflow: hidden; border-radius: 10px; cursor: pointer;
  min-height: 240px; display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
  transition: transform 0.3s ease;
}
.bb-card:hover { transform: scale(1.02); }
.bb-tall {
  grid-row: span 2; min-height: 500px;
}
.bb-overlay {
  position: absolute; inset: 0; opacity: 0.78;
  transition: opacity 0.3s ease;
}
.bb-card:hover .bb-overlay { opacity: 0.68; }
.bb-content {
  position: relative; z-index: 1; padding: 2rem; width: 100%;
}
.bb-title {
  font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700;
  color: #fff; margin: 0 0 0.5rem; text-transform: uppercase; letter-spacing: 0.03em;
}
.bb-desc {
  font-size: 0.82rem; color: rgba(255,255,255,0.75); margin: 0 0 1.2rem;
  line-height: 1.5;
}
.bb-btn {
  display: inline-block; border: 1.5px solid #fff; color: #fff;
  padding: 0.5rem 1.4rem; font-size: 0.72rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  transition: all 0.2s ease;
}
.bb-card:hover .bb-btn { background: #fff; color: var(--navy); }
@media (max-width: 768px) {
  .branches-bruyeres { grid-template-columns: 1fr; }
  .bb-tall { grid-row: span 1; min-height: 240px; }
}
.guide-card-home:hover {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(200,164,78,0.2) !important;
  transform: translateY(-2px);
}

/* ── ADDICTION ICONS BAR ── */
.addiction-icons-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.addiction-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--r);
  padding: 1.5rem 1rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.addiction-icon-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.addiction-icon-card span {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.addiction-icon-img {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .addiction-icons-bar { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .addiction-icon-card { padding: 1rem 0.6rem; }
}

/* ── ADDICTION IMAGE BAR (home) ── */
.addiction-img-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.addiction-img-card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/2;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.addiction-img-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.addiction-img-card img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform 0.4s var(--ease);
}
.addiction-img-card:hover img { transform: scale(1.06); }
.addiction-img-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(12,31,54,0.85));
  padding: 2rem 0.8rem 0.8rem;
  color: #fff; font-size: 0.82rem; font-weight: 700;
  text-align: center; letter-spacing: 0.02em;
}
@media (max-width: 768px) {
  .addiction-img-bar { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
}

/* ── ADDICTION PAGE GRID ── */
.addiction-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.addiction-page-card {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-align: center;
}
.addiction-page-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}
.addiction-page-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.addiction-page-card h3 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.addiction-page-card p {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .addiction-page-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .addiction-page-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .addiction-page-card { padding: 1.5rem 1rem; }
}

/* ── Q&A ── */
.qa-cat-pill {
  background: #fff; border: 1.5px solid var(--border); border-radius: 50px;
  padding: 0.45rem 1.1rem; font-size: 0.78rem; font-weight: 600; color: var(--text3);
  cursor: pointer; transition: all 0.25s var(--ease); font-family: 'Sora', sans-serif;
}
.qa-cat-pill:hover { border-color: var(--gold); color: var(--gold); }
.qa-cat-pill.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.qa-card {
  background: #fff; border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--r-lg);
  padding: 1.6rem; margin-bottom: 1rem;
  transition: all 0.3s var(--ease); cursor: pointer;
  box-shadow: var(--shadow-xs);
}
.qa-card:hover { box-shadow: var(--shadow-md); border-color: transparent; }
.qa-badge {
  display: inline-block; font-size: 0.66rem; font-weight: 700; padding: 0.2rem 0.65rem;
  border-radius: 50px; letter-spacing: 0.02em; text-transform: capitalize;
}
.qa-badge-cat { background: rgba(200,164,78,0.1); color: var(--gold); }
.qa-badge-answered { background: rgba(45,139,120,0.1); color: var(--teal); }
@media (max-width: 768px) {
  .guide-resources-grid { grid-template-columns: 1fr !important; }
  .guide-chiffres-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .guide-solutions-grid { grid-template-columns: 1fr !important; }
}

/* ── Q&A Modal ── */
.qa-modal-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(12,31,54,0.5); backdrop-filter: blur(4px);
  z-index: 1000; align-items: center; justify-content: center;
}
.qa-modal-overlay.active { display: flex; }
.qa-modal {
  background: #fff; border-radius: var(--r-xl); padding: 2.5rem; max-width: 520px;
  width: 90%; max-height: 90vh; overflow-y: auto; position: relative;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.3s var(--ease-out);
}

/* ══════════════════════════════════════════
   MAP — Clean & functional
   ══════════════════════════════════════════ */
.map-wrap {
  display: grid; grid-template-columns: 360px 1fr; gap: 0;
  background: #fff; border: none;
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); height: 680px;
}
.map-panel {
  display: flex; flex-direction: column;
  border-right: 1px solid var(--border);
  height: 100%; overflow: hidden;
}
.map-search { padding: 1.4rem; border-bottom: 1px solid var(--border); }
.map-search-input {
  width: 100%; border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 0.75rem 1.1rem;
  font-size: 0.85rem; color: var(--text); outline: none;
  transition: border-color 0.25s var(--ease);
  background: var(--bg2);
}
.map-search-input:focus { border-color: var(--navy); background: #fff; }
.map-filters {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.8rem;
}
.f-chip {
  font-size: 0.68rem; font-weight: 600;
  background: var(--bg2); color: var(--text3);
  border: 1.5px solid transparent;
  padding: 0.3rem 0.8rem; border-radius: 50px; cursor: pointer;
  transition: all 0.2s var(--ease);
}
.f-chip:hover, .f-chip.active { background: var(--navy); color: #fff; }
.map-count {
  padding: 0.6rem 1.4rem;
  font-size: 0.7rem; font-weight: 600; color: var(--text3);
  border-bottom: 1px solid var(--border);
}
.map-list-items {
  overflow-y: auto; flex: 1;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.map-item {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1rem 1.4rem; border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background 0.2s var(--ease);
}
.map-item:hover, .map-item.selected { background: var(--bg2); }
.map-item.selected { background: rgba(12,31,54,0.03); border-left: 3px solid var(--navy); }
.map-item.nearby-item { background: linear-gradient(to right, rgba(45,139,120,0.03), transparent); border-left: 2px solid var(--teal); }
.map-item-photo {
  width: 54px; height: 54px; border-radius: var(--r);
  background-size: cover; background-position: center; flex-shrink: 0;
}
.map-item-info { flex: 1; min-width: 0; }
.map-item-name { font-size: 0.82rem; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map-item-loc { font-size: 0.7rem; color: var(--text3); margin-top: 0.15rem; }
.map-item-tags { display: flex; gap: 0.3rem; margin-top: 0.4rem; flex-wrap: wrap; }
.m-tag {
  font-size: 0.6rem; font-weight: 600; color: var(--text3);
  background: var(--bg2); padding: 0.15rem 0.5rem; border-radius: 50px;
}
.m-tag.green { background: var(--teal-light); color: var(--teal); }
#map-canvas { height: 100%; width: 100%; }

/* Leaflet popup custom */
.popup-name { font-weight: 700; font-size: 0.88rem; color: var(--navy); padding: 0.7rem 0.9rem 0.25rem; line-height: 1.3; }
.popup-loc { font-size: 0.72rem; color: var(--text3); padding: 0 0.9rem 0.6rem; }
.popup-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; padding: 0 0.9rem 0.7rem; }
.popup-tag { font-size: 0.6rem; font-weight: 600; background: var(--bg2); color: var(--navy); padding: 0.18rem 0.55rem; border-radius: 50px; }
.popup-btn {
  display: block; width: 100%; border: none;
  background: var(--navy); color: var(--gold);
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 0.78rem;
  padding: 0.75rem; cursor: pointer; text-align: center;
  transition: background 0.2s var(--ease);
}
.popup-btn:hover { background: var(--navy2); }

/* ══════════════════════════════════════════
   FAQ — Refined accordion
   ══════════════════════════════════════════ */
.faq-list { max-width: 780px; display: flex; flex-direction: column; gap: 0.5rem; }
.faq-item {
  border-radius: var(--r); overflow: hidden;
  border: none; border-left: 3px solid transparent;
  background: #fff;
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-xs);
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-item.open {
  border-left-color: var(--gold);
  background: var(--gold-light);
  box-shadow: var(--shadow-md);
}
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  text-align: left; padding: 1.2rem 1.4rem;
  font-size: 0.92rem; font-weight: 600; color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; transition: color 0.2s var(--ease);
}
.faq-q:hover { color: var(--gold); }
.faq-chevron { flex-shrink: 0; transition: transform 0.3s var(--ease); color: var(--text3); }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--gold); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner { padding: 0 1.4rem 1.2rem; font-size: 0.88rem; color: var(--text2); line-height: 1.8; }

/* ══════════════════════════════════════════
   BLOG — Editorial style
   ══════════════════════════════════════════ */
.blog-featured {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  margin-bottom: 2.5rem;
}
.blog-hero-card {
  grid-column: 1 / -1;
  border-radius: var(--r-xl); overflow: hidden; cursor: pointer;
  position: relative; height: 420px; background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s var(--ease);
}
.blog-hero-card:hover { transform: scale(1.008); }
.blog-hero-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(12,31,54,0.9) 0%, rgba(12,31,54,0.2) 50%, transparent 70%);
}
.blog-hero-body { position: relative; z-index: 1; padding: 2.5rem; }
.blog-hero-cat {
  display: inline-block; background: var(--gold); color: var(--navy);
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.28rem 0.85rem; border-radius: 50px; margin-bottom: 0.9rem;
}
.blog-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 700; color: #fff; line-height: 1.2;
  max-width: 700px; letter-spacing: -0.01em;
}
.blog-hero-meta { font-size: 0.76rem; color: rgba(255,255,255,0.45); margin-top: 0.7rem; font-weight: 300; }

.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.8rem;
}
.blog-card {
  background: #fff; border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--r-lg); overflow: hidden; cursor: pointer;
  transition: all 0.35s var(--ease);
  box-shadow: var(--shadow-xs);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img {
  height: 190px; background-size: cover; background-position: center;
  position: relative;
}
.blog-card-cat-badge {
  position: absolute; top: 0.8rem; left: 0.8rem;
  background: var(--navy); color: var(--gold);
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.22rem 0.7rem; border-radius: 50px;
}
.blog-card-body { padding: 1.4rem; }
.blog-card-date { font-size: 0.7rem; color: var(--text3); margin-bottom: 0.45rem; font-weight: 400; }
.blog-card-title { font-size: 0.95rem; font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: 0.5rem; }
.blog-card-excerpt { font-size: 0.8rem; color: var(--text3); line-height: 1.65; font-weight: 300; }
.blog-card-link { font-size: 0.78rem; font-weight: 600; color: var(--teal); margin-top: 0.8rem; }

/* Blog preview banners */
.blog-banner {
  display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-xl);
  overflow: hidden; cursor: pointer; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  box-shadow: var(--shadow);
}
.blog-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog-banner:nth-child(even) { direction: rtl; }
.blog-banner:nth-child(even) > * { direction: ltr; }
.blog-banner-text {
  padding: 2.2rem 2.5rem; display: flex; flex-direction: column; justify-content: center; gap: 0.7rem;
}
.blog-banner-cat {
  display: inline-block; width: fit-content;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.25rem 0.75rem; border-radius: 50px;
}
.blog-banner-title {
  font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700;
  color: #fff; line-height: 1.3; letter-spacing: -0.01em;
}
.blog-banner-meta { font-size: 0.7rem; color: rgba(255,255,255,0.4); font-weight: 300; }
.blog-banner-cta { font-size: 0.78rem; font-weight: 600; margin-top: 0.4rem; }
.blog-banner-img { min-height: 200px; background-size: cover; background-position: center; }
@media (max-width: 768px) {
  .blog-banner { grid-template-columns: 1fr !important; }
  .blog-banner:nth-child(even) { direction: ltr; }
  .blog-banner-img { height: 180px; }
  .blog-banner-text { padding: 1.4rem; }
  .blog-banner-title { font-size: 1rem; }
}

/* ══════════════════════════════════════════
   ATELIERS
   ══════════════════════════════════════════ */
.atelier-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.8rem;
}
.atelier-card {
  background: #fff; border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--r-lg); overflow: hidden; cursor: pointer;
  transition: all 0.35s var(--ease);
  box-shadow: var(--shadow-xs);
}
.atelier-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.atelier-card-img {
  height: 170px; background-size: cover; background-position: center;
  position: relative;
}
.atelier-card-icon {
  position: absolute; bottom: 0.8rem; right: 0.8rem;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.atelier-card-icon svg { width: 20px; height: 20px; color: var(--gold); }
.atelier-card-body { padding: 1.4rem; }
.atelier-card-cat { font-size: 0.66rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.45rem; }
.atelier-card-title { font-size: 0.95rem; font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: 0.5rem; }
.atelier-card-desc { font-size: 0.8rem; color: var(--text3); line-height: 1.7; font-weight: 300; }
.atelier-card-link { font-size: 0.78rem; font-weight: 600; color: var(--navy); margin-top: 0.8rem; display: flex; align-items: center; gap: 0.3rem; }

/* ══════════════════════════════════════════
   RESSOURCES
   ══════════════════════════════════════════ */
.ressources-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.8rem;
}
.ressource-card {
  background: #fff; border: 1px solid rgba(0,0,0,0.04); border-radius: var(--r-lg);
  padding: 1.8rem; display: flex; flex-direction: column; gap: 0.8rem;
  transition: all 0.3s var(--ease); cursor: default;
  box-shadow: var(--shadow-xs);
}
.ressource-card:hover { box-shadow: var(--shadow-md); }
.ressource-type {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); background: var(--teal-light);
  padding: 0.28rem 0.75rem; border-radius: 50px; align-self: flex-start;
}
.ressource-title { font-size: 0.95rem; font-weight: 700; color: var(--text); line-height: 1.35; }
.ressource-author { font-size: 0.76rem; color: var(--text3); }
.ressource-desc { font-size: 0.8rem; color: var(--text2); line-height: 1.7; font-weight: 300; }
.ressource-empty {
  grid-column: 1 / -1; padding: 4rem 2rem; text-align: center;
  background: var(--bg2); border-radius: var(--r-xl);
  border: 2px dashed var(--border);
}
.ressource-empty h3 { font-size: 1.1rem; color: var(--text2); margin-bottom: 0.5rem; }
.ressource-empty p { font-size: 0.85rem; color: var(--text3); }

/* ══════════════════════════════════════════
   DETAIL PAGE
   ══════════════════════════════════════════ */
.detail-cover {
  height: 400px; background-size: cover; background-position: center;
  position: relative; display: flex; align-items: flex-end;
}
.detail-cover::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(12,31,54,0.88) 0%, rgba(12,31,54,0.15) 60%, transparent 100%);
}
.detail-cover-body { position: relative; z-index: 1; padding: 2.5rem; }
.detail-back {
  position: absolute; top: 1.5rem; left: 1.5rem; z-index: 10;
  background: rgba(12,31,54,0.6); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff; font-size: 0.78rem; font-weight: 600;
  padding: 0.55rem 1.2rem; border-radius: 50px; cursor: pointer;
  transition: all 0.25s var(--ease); display: flex; align-items: center; gap: 0.5rem;
}
.detail-back:hover { background: var(--navy); }
.detail-cover-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 700; color: #fff; line-height: 1.2;
  letter-spacing: -0.02em;
}
.detail-cover-loc { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 0.5rem; display: flex; align-items: center; gap: 0.4rem; }

.detail-content { max-width: 1200px; margin: 0 auto; padding: 3.5rem 2rem; overflow: hidden; }
#page-detail { max-width: 100vw; overflow-x: hidden; }
.detail-layout {
  display: grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items: start;
}
.detail-region { font-size: 0.68rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.8rem; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.8rem; }
.d-tag {
  font-size: 0.7rem; font-weight: 600;
  background: var(--bg2); color: var(--text3);
  padding: 0.3rem 0.8rem; border-radius: 50px;
}
.d-tag.green { background: var(--teal-light); color: var(--teal); }
.d-tag.gold { background: var(--gold-light); color: #8B6914; }
.detail-section { margin-bottom: 2.5rem; }
.detail-section h3 {
  font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 0.8rem;
  padding-bottom: 0.5rem; border-bottom: 2px solid var(--navy); display: inline-block;
}
.detail-desc { font-size: 0.9rem; color: var(--text2); line-height: 1.85; }
.detail-programs { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.detail-programs li { font-size: 0.88rem; color: var(--text2); display: flex; align-items: flex-start; gap: 0.7rem; }
.detail-programs li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 0.1rem; }

/* Sidebar */
.sidebar-card {
  background: #fff; border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--r-xl); padding: 2rem; position: sticky; top: 110px;
  box-shadow: var(--shadow);
}
.sidebar-duration {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 0.25rem;
}
.sidebar-type { font-size: 0.76rem; color: var(--text3); margin-bottom: 1.5rem; }
.sidebar-infos { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.sidebar-info { display: flex; justify-content: space-between; align-items: center; }
.sidebar-info-label { font-size: 0.76rem; color: var(--text3); }
.sidebar-info-val { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.s-btn {
  display: block; width: 100%; margin-bottom: 0.7rem;
  border-radius: var(--r); font-size: 0.85rem; font-weight: 700; cursor: pointer;
  padding: 0.9rem 1.5rem; text-align: center; transition: all 0.25s var(--ease);
}
.s-btn.primary { background: var(--navy); color: #fff; border: none; }
.s-btn.primary:hover { background: var(--navy2); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.s-btn.outline { background: none; color: var(--navy); border: 1.5px solid var(--border); text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 0.4rem; }
.s-btn.outline:hover { border-color: var(--navy); background: var(--bg2); }
.s-btn.gold-btn { background: var(--gold); color: var(--navy); border: none; }
.s-btn.gold-btn:hover { background: var(--gold2); }
.s-btn-note { font-size: 0.7rem; color: var(--text3); text-align: center; line-height: 1.5; margin-top: 0.5rem; }

/* Reviews */
.reviews-placeholder {
  background: var(--bg2);
  border-radius: var(--r-lg); padding: 2rem; text-align: center;
}
.reviews-placeholder strong { font-size: 0.95rem; color: var(--text); display: block; margin-bottom: 0.5rem; }
.reviews-placeholder p { font-size: 0.82rem; color: var(--text3); line-height: 1.7; margin-bottom: 1.2rem; }
.auth-btns { display: flex; flex-direction: column; gap: 0.7rem; max-width: 300px; margin: 0 auto; }
.auth-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.7rem;
  background: #fff; color: var(--text); border: 1.5px solid var(--border);
  font-size: 0.85rem; font-weight: 600; padding: 0.8rem 1.5rem;
  border-radius: var(--r); cursor: pointer; transition: all 0.25s var(--ease);
}
.auth-btn:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.auth-btn.fb { background: #1877F2; color: #fff; border-color: #1877F2; }
.auth-btn.fb:hover { background: #166FE5; }

/* ══════════════════════════════════════════
   ARTICLE PAGE — Editorial
   ══════════════════════════════════════════ */
.article-cover {
  height: 460px; background-size: cover; background-position: center;
  position: relative; display: flex; align-items: flex-end;
}
.article-cover::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(12,31,54,0.92) 0%, rgba(12,31,54,0.1) 55%, transparent 70%);
}
.article-cover-body { position: relative; z-index: 1; padding: 3rem; max-width: 860px; margin: 0 auto; text-align: center; }
.article-cat { display: inline-block; background: var(--gold); color: var(--navy); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.3rem 0.9rem; border-radius: 50px; margin-bottom: 1rem; }
.article-title { font-family: 'Playfair Display', serif; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; color: #fff; line-height: 1.2; letter-spacing: -0.02em; }
.article-meta { font-size: 0.76rem; color: rgba(255,255,255,0.45); margin-top: 0.8rem; font-weight: 300; }
.article-body {
  max-width: 860px; margin: 3.5rem auto; padding: 0 1.5rem;
}
.article-body h2 { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--navy); margin: 2.5rem 0 0.8rem; letter-spacing: -0.01em; text-align: center; }
.article-body p { font-size: 0.95rem; color: var(--text2); line-height: 1.9; margin-bottom: 1.3rem; }
.article-body strong { color: var(--text); }
.article-inline-img { margin: 2rem -1.5rem; border-radius: 14px; overflow: hidden; }
.article-inline-img img { width: 100%; height: auto; display: block; }

/* Blog filter bar */
.blog-filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.blog-filter-btn {
  padding: 0.45rem 1.2rem; border-radius: 50px; border: 1.5px solid var(--border);
  background: #fff; color: var(--text2); font-family: 'Sora', sans-serif; font-size: 0.78rem;
  font-weight: 600; cursor: pointer; transition: all 0.18s;
}
.blog-filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.blog-filter-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Home test 2-col layout */
.home-test-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: center; }
.home-test-left { }
.home-test-right { }

/* ══════════════════════════════════════════
   FOOTER — Clean & organized
   ══════════════════════════════════════════ */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 5rem 2rem 2.5rem;
  border-top: none;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { font-size: 1.5rem; display: block; margin-bottom: 1rem; cursor: pointer; }
.footer-brand p { font-size: 0.82rem; line-height: 1.8; max-width: 280px; font-weight: 300; }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.3rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul li { font-size: 0.82rem; }
.footer-col ul li button {
  background: none; border: none; color: rgba(255,255,255,0.45); cursor: pointer;
  font-family: inherit; font-size: 0.82rem; padding: 0;
  transition: color 0.25s var(--ease); text-align: left;
}
.footer-col ul li button:hover { color: var(--gold); }
.footer-emergency {
  background: rgba(255,255,255,0.04); border-radius: var(--r-lg);
  padding: 1.3rem 1.8rem; margin-bottom: 2.5rem; max-width: 1200px; margin-left: auto; margin-right: auto;
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: center;
}
.footer-emergency strong { font-size: 0.75rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; flex-shrink: 0; }
.footer-hotline { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; }
.footer-hotline span { font-weight: 700; color: #fff; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  font-size: 0.72rem; color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: rgba(255,255,255,0.3); transition: color 0.25s var(--ease); }
.footer-bottom a:hover { color: var(--gold); }

/* ── BARRE LÉGALE ── */
.legal-bar-link {
  background: none; border: none;
  font-size: 0.72rem; font-weight: 400;
  color: rgba(255,255,255,0.45);
  cursor: pointer; font-family: inherit;
  padding: 0; white-space: nowrap;
  transition: color 0.25s var(--ease);
  letter-spacing: 0.02em;
}
.legal-bar-link:hover { color: var(--gold); }

/* ── MODAL LÉGAL ── */
#legal-modal {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(12,31,54,0.6); backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: 1.5rem;
}
#legal-modal.open { display: flex; }
.legal-modal-box {
  background: #fff; border-radius: var(--r-xl);
  max-width: 680px; width: 100%; max-height: 82vh;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  animation: modalIn 0.3s var(--ease-out);
}
.legal-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem 2rem 1.3rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.legal-modal-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 700;
  color: var(--navy);
}
.legal-modal-close {
  background: var(--bg2); border: none; cursor: pointer;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text3); transition: all 0.2s var(--ease); flex-shrink: 0;
}
.legal-modal-close:hover { background: var(--navy); color: #fff; }
.legal-modal-body {
  padding: 2rem;
  overflow-y: auto;
  font-size: 0.875rem; color: var(--text2); line-height: 1.8;
}
.legal-modal-body h3 {
  font-size: 0.95rem; font-weight: 700; color: var(--navy);
  margin: 1.5rem 0 0.5rem;
}
.legal-modal-body h3:first-child { margin-top: 0; }
.legal-modal-body p { margin-bottom: 0.75rem; }
.legal-modal-body a { color: var(--teal); text-decoration: underline; }

/* ══════════════════════════════════════════
   BACK TO TOP — Floating pill
   ══════════════════════════════════════════ */
#back-to-top {
  position: fixed; bottom: 6rem; right: 2rem; z-index: 9999;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.25s var(--ease);
  pointer-events: none;
}
#back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
#back-to-top:hover { background: var(--teal); transform: translateY(-2px); }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .parcours-steps { grid-template-columns: repeat(2, 1fr); }
  .map-wrap { grid-template-columns: 1fr; height: auto; }
  .map-panel { max-height: 300px; }
  #map-canvas { height: 350px; }
  .detail-layout { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-hero-card { grid-column: auto; }
}
@media (max-width: 1080px) {
  .nav-links, .nav-right { display: none; }
  .nav-hamburger { display: flex; margin-left: auto; }
}
@media (max-width: 768px) {
  html, body { overflow-x: hidden; width: 100%; }
  .nav-inner { padding: 0 1rem; height: 54px; }
  .nav-logo { font-size: 1.15rem; }

  .hero { padding: 4rem 1.2rem 3rem; min-height: auto; text-align: center; }
  .home-hero-grid { grid-template-columns: 1fr !important; gap: 2rem; text-align: center; }
  .home-hero-stats { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); flex-direction: row; flex-wrap: wrap; justify-content: center; padding: 2rem 0 0; gap: 2rem; }
  .home-hero-stat-n { font-size: 2rem; }
  .hero-grid { grid-template-columns: 1fr !important; gap: 2rem; }
  .hero-visual { display: none !important; }
  .hero-label { margin: 0 auto 0.8rem; font-size: 0.62rem; }
  .hero-title { font-size: 1.8rem; text-align: center !important; }
  .hero-desc { margin: 0 auto 1.5rem; font-size: 0.88rem; max-width: 100%; }
  .hero-btns { justify-content: center; flex-wrap: wrap; }
  .hero-stats { justify-content: center; gap: 1.2rem; flex-wrap: wrap; }
  .hero-stat { text-align: center; }
  .hero-stat-n { font-size: 1.6rem; }

  .section-light, .section-off, .section-dark, .section-teal { padding: 3rem 1.2rem; }
  .section-inner { max-width: 100%; }
  .sec-head-row { flex-direction: column; gap: 1rem; text-align: center; }
  .sec-head-left { text-align: center; }
  .sec-label { margin: 0 auto; }
  .sec-title { font-size: 1.5rem; }
  .view-all { margin: 0 auto; }

  [id="featured-grid"] { grid-template-columns: 1fr !important; }
  [id="blog-preview-grid"] { grid-template-columns: 1fr !important; }
  .parcours-steps { grid-template-columns: 1fr !important; }
  .cards-grid { grid-template-columns: 1fr !important; }
  .atelier-grid { grid-template-columns: 1fr !important; }
  .blog-grid { grid-template-columns: 1fr !important; }
  .home-ress-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .home-test-layout { grid-template-columns: 1fr !important; text-align: center; }
  .guide-2col { grid-template-columns: 1fr !important; }
  .guide-signals-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .guide-piliers-grid { grid-template-columns: 1fr !important; }

  [id="featured-grid"] > div:first-child { height: 280px !important; }

  .map-wrap { grid-template-columns: 1fr !important; height: auto !important; border-radius: var(--r-lg); }
  .map-panel { max-height: none; border-right: none; border-bottom: 1px solid var(--border); }
  .map-list-items { display: none !important; }
  .map-count { display: none !important; }
  #map-canvas { height: 400px !important; }
  .map-search { padding: 1rem; }
  .map-search-input { font-size: 0.82rem; }

  .detail-layout { grid-template-columns: 1fr !important; }
  .detail-cover { height: 240px; }
  .detail-cover-body { padding: 1.2rem; }
  .detail-content { padding: 1.5rem 1.2rem; overflow: hidden; }
  .detail-section { overflow: hidden; word-break: break-word; }
  .sidebar-card { position: static !important; }
  .detail-main, .detail-sidebar { max-width: 100%; overflow: hidden; }

  .article-body { padding: 0 1.2rem; }
  #article-prevnext { grid-template-columns: 1fr !important; }

  .faq-layout { grid-template-columns: 1fr !important; }
  .faq-list { max-width: 100%; }

  .contact-layout { grid-template-columns: 1fr !important; }
  .form-row { grid-template-columns: 1fr !important; }

  .footer-inner { grid-template-columns: 1fr !important; gap: 2rem; text-align: center; }
  .footer-brand p { max-width: 100%; }
  .footer-col ul { align-items: center; }
  .footer-bottom { justify-content: center; text-align: center; flex-direction: column; gap: 0.5rem; }
  .footer-emergency { justify-content: center; text-align: center; flex-direction: column; }

  .blog-featured { grid-template-columns: 1fr !important; }
  .blog-hero-card { height: 260px; grid-column: auto !important; }
  .blog-hero-title { font-size: 1.1rem; }

  .parcours-step { text-align: left; }
  .parcours-icon { min-width: 46px; width: 46px; height: 46px; }
  .parcours-icon svg { width: 20px; height: 20px; }

  .card-photo { height: 170px; }

  #navbar { border-bottom: none !important; }
  .pt-nav { padding-top: 54px; }

  .legal-bar-link { font-size: 0.6rem; }

  img { max-width: 100%; height: auto; }
  .popup-name, .popup-loc, .map-item-name { word-break: break-word; }
  .section-inner { overflow: hidden; }
}

@media (max-width: 480px) {
  .hero { padding: 3rem 1rem 2rem; }
  .hero-title { font-size: 1.55rem; }
  .hero-btns { flex-direction: column; align-items: center; gap: 0.7rem; }
  .btn-primary, .btn-outline { text-align: center; width: 100%; max-width: 300px; justify-content: center; }
  .hero-stats { gap: 0.8rem; }
  .hero-stat-n { font-size: 1.4rem; }
  .sec-title { font-size: 1.3rem; }
  .section-light, .section-off, .section-dark, .section-teal { padding: 2.5rem 1rem; }
  .card-body { padding: 1.1rem; }
  .card-footer-row { padding: 0.8rem 1.1rem; }
  .map-panel { max-height: 240px; }
  #map-canvas { height: 260px !important; }
  .nav-inner { height: 48px; }
  .pt-nav { padding-top: 48px; }
}

/* ══ FAQ LAYOUT WITH IMAGE ══ */
.faq-layout {
  display: grid; grid-template-columns: 1fr 460px; gap: 4rem; align-items: start;
}
.faq-illustration {
  position: sticky; top: 110px;
  height: calc(100vh - 160px);
  max-height: 700px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.faq-illustration img {
  width: 100%; height: 130%;
  object-fit: cover; object-position: center 0%;
  display: block; will-change: transform;
  transition: object-position 0.05s linear;
}
@media (max-width: 1024px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-illustration { display: none; }
}

/* ══ CONTACT PAGE ══ */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.contact-info-list { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 2rem; }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.3rem; background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}
.contact-info-icon {
  width: 42px; height: 42px; background: var(--navy); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-icon svg { width: 18px; height: 18px; color: var(--gold); }
.contact-info-label { font-size: 0.7rem; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.3rem; }
.contact-info-val { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.contact-form {
  background: #fff; border: none;
  border-radius: var(--r-xl); padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.8rem; color: var(--navy); }
.form-group { margin-bottom: 1.3rem; }
.form-label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--text2); margin-bottom: 0.45rem; }
.form-input, .form-textarea, .form-select {
  width: 100%; border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 0.8rem 1.1rem;
  font-size: 0.88rem; font-family: 'Sora', sans-serif; color: var(--text);
  background: var(--bg); transition: all 0.25s var(--ease); outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--navy); background: #fff;
  box-shadow: 0 0 0 3px rgba(12,31,54,0.06);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .home-gallery-grid { grid-template-columns: 1fr 1fr !important; grid-template-rows: 160px 160px 160px !important; }
  .home-gallery-grid > div:first-child { grid-row: 1/3 !important; }
  .home-gallery-grid > div:nth-child(4) { grid-row: auto !important; }
  .home-articles-grid { grid-template-columns: 1fr !important; }
  .orient-selects { grid-template-columns: 1fr !important; }
  .orient-hero { padding: 1.5rem !important; }
  .craving-tech-grid { grid-template-columns: 1fr 1fr !important; }
  #chat-window { width: 100vw !important; right: -1.5rem !important; bottom: 62px !important; max-height: 70vh !important; border-radius: 16px 16px 0 0 !important; }
}

/* ══ CROSS-BROWSER ══ */
nav, .detail-back, .hero-map-badge {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
.sidebar-card { -webkit-position: sticky; position: sticky; }
button::-moz-focus-inner { border: 0; padding: 0; }
input, select, textarea { -webkit-appearance: none; -moz-appearance: none; appearance: none; }
img { -ms-interpolation-mode: bicubic; }

/* ── UTILITY CLASSES ── */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.divider { height: 1px; background: var(--border); max-width: 1200px; margin: 0 auto; }
.badge-new {
  display: inline-flex; align-items: center;
  background: var(--gold-light); color: #8B6914;
  font-size: 0.63rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 0.18rem 0.6rem; border-radius: 50px; vertical-align: middle; margin-left: 0.4rem;
}

/* ══════════════════════════════════════════
   AUTH LOGIN MODAL
   ══════════════════════════════════════════ */
.auth-overlay {
  display:none; position:fixed; inset:0; background:rgba(12,31,54,.5);
  backdrop-filter: blur(4px);
  z-index:9000; align-items:center; justify-content:center; padding:20px;
}
.auth-overlay.show { display:flex; }
.auth-box {
  background:#fff; border-radius:var(--r-xl); width:100%; max-width:400px;
  padding:2.5rem 2rem; box-shadow:var(--shadow-xl);
  animation: modalIn .3s var(--ease-out);
  position:relative;
}
@keyframes modalIn { from{transform:translateY(-16px) scale(0.98);opacity:0} to{transform:translateY(0) scale(1);opacity:1} }
@keyframes geo-spin { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
.geo-spin { animation: geo-spin 1s linear infinite; }

/* ── SCROLL ANIMATIONS — Subtle ── */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right {
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }
/* Staggered children */
.fade-in-stagger > .fade-in:nth-child(1) { transition-delay: 0s; }
.fade-in-stagger > .fade-in:nth-child(2) { transition-delay: 0.08s; }
.fade-in-stagger > .fade-in:nth-child(3) { transition-delay: 0.16s; }
.fade-in-stagger > .fade-in:nth-child(4) { transition-delay: 0.24s; }
.fade-in-stagger > .fade-in:nth-child(5) { transition-delay: 0.32s; }
.fade-in-stagger > .fade-in:nth-child(6) { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .fade-in, .fade-in-left, .fade-in-right { opacity: 1; transform: none; transition: none; }
}

/* ── COMPARATEUR ── */
.compare-bar {
  position:fixed; bottom:0; left:0; right:0; z-index:600;
  background:var(--navy); color:#fff; padding:0.9rem 1.5rem;
  display:flex; align-items:center; justify-content:center; gap:1rem;
  transform:translateY(100%); transition:transform 0.35s var(--ease);
  box-shadow:0 -8px 32px rgba(0,0,0,0.15);
}
.compare-bar.show { transform:translateY(0); }
.compare-bar-count { font-size:0.85rem; font-weight:600; }
.compare-bar-btn { background:var(--gold); color:var(--navy); border:none; padding:0.65rem 1.8rem; border-radius:50px; font-family:'Sora',sans-serif; font-weight:700; font-size:0.82rem; cursor:pointer; transition: all 0.25s var(--ease); }
.compare-bar-btn:hover { background: var(--gold2); }
.compare-bar-clear { background:none; border:1px solid rgba(255,255,255,0.2); color:rgba(255,255,255,0.7); padding:0.55rem 1.2rem; border-radius:50px; font-family:'Sora',sans-serif; font-size:0.78rem; cursor:pointer; transition: all 0.25s var(--ease); }
.compare-bar-clear:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.compare-check { width:24px; height:24px; min-width:24px; background:rgba(255,255,255,0.9); border:2px solid var(--border); border-radius:7px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all 0.2s var(--ease); }
.compare-check.active { background:var(--teal); border-color:var(--teal); }
.compare-check svg { opacity:0; transition:opacity 0.2s var(--ease); }
.compare-check.active svg { opacity:1; }
.compare-modal { position:fixed; inset:0; z-index:1000; background:rgba(12,31,54,0.6); backdrop-filter:blur(8px); display:none; align-items:flex-start; justify-content:center; padding:2rem 1rem; overflow-y:auto; }
.compare-modal.show { display:flex; }
.compare-modal-box { background:#fff; border-radius:var(--r-xl); max-width:1000px; width:100%; padding:2.5rem; position:relative; margin-top:60px; box-shadow: var(--shadow-xl); animation: modalIn 0.3s var(--ease-out); }
.compare-grid { display:grid; gap:1px; background:var(--border); border:1px solid var(--border); border-radius:var(--r); overflow:hidden; }
.compare-grid .cg-header { background:var(--navy); color:#fff; padding:1rem; text-align:center; font-weight:700; font-size:0.88rem; }
.compare-grid .cg-label { background:var(--bg2); padding:0.75rem 1rem; font-weight:600; font-size:0.78rem; color:var(--navy); display:flex; align-items:center; }
.compare-grid .cg-val { background:#fff; padding:0.75rem 1rem; font-size:0.82rem; color:var(--text2); display:flex; align-items:center; }
.auth-box h2 { text-align:center; color:var(--navy); font-size:1.2rem; margin-bottom:0.3rem; }
.auth-box .auth-sub { text-align:center; color:var(--text3); font-size:0.82rem; margin-bottom:1.5rem; }
.auth-box .auth-close {
  position:absolute; top:16px; right:16px; background:var(--bg2); border:none;
  width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:1.2rem; cursor:pointer; color:var(--text3); line-height:1;
  transition: all 0.2s var(--ease);
}
.auth-box .auth-close:hover { background: var(--navy); color: #fff; }
.auth-email-form { display:flex; flex-direction:column; gap:10px; }
.auth-email-form input {
  width:100%; padding:12px 16px; border:1.5px solid var(--border); border-radius:var(--r);
  font-family:'Sora',sans-serif; font-size:0.85rem; color:var(--text);
  background: var(--bg); transition: all 0.25s var(--ease);
}
.auth-email-form input:focus { outline:none; border-color:var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(45,139,120,0.08); }
.auth-submit {
  width:100%; padding:13px; border:none; border-radius:var(--r);
  background:var(--navy); color:#fff; font-family:'Sora',sans-serif;
  font-size:0.88rem; font-weight:700; cursor:pointer; transition: all 0.25s var(--ease);
}
.auth-submit:hover { background:var(--navy2); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.auth-submit:disabled { opacity:0.5; cursor:not-allowed; transform: none; box-shadow: none; }

/* ══════════════════════════════════════════
   REVIEW MODAL
   ══════════════════════════════════════════ */
.review-overlay {
  display:none; position:fixed; inset:0; background:rgba(12,31,54,.5);
  backdrop-filter: blur(4px);
  z-index:9100; align-items:center; justify-content:center; padding:20px;
}
.review-overlay.show { display:flex; }
.review-box {
  background:#fff; border-radius:var(--r-xl); width:100%; max-width:480px;
  padding:2.5rem; box-shadow:var(--shadow-xl);
  animation: modalIn .3s var(--ease-out); position:relative;
}
.review-box h2 { color:var(--navy); font-size:1.1rem; margin-bottom:0.3rem; }
.review-box .review-facility-name { color:var(--teal); font-size:0.85rem; margin-bottom:1.2rem; }
.review-stars { display:flex; gap:8px; margin-bottom:1.2rem; }
.review-star {
  width:36px; height:36px; cursor:pointer; color:var(--border); transition:all 0.2s var(--ease);
}
.review-star.active { color:var(--star); }
.review-star:hover { color:#F0B440; transform: scale(1.15); }
.review-textarea {
  width:100%; min-height:120px; padding:14px; border:1.5px solid var(--border);
  border-radius:var(--r); font-family:'Sora',sans-serif; font-size:0.88rem;
  color:var(--text); resize:vertical; background: var(--bg);
  transition: all 0.25s var(--ease);
}
.review-textarea:focus { outline:none; border-color:var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(45,139,120,0.08); }
.review-textarea::placeholder { color:var(--text3); }
.review-char-count { text-align:right; font-size:0.7rem; color:var(--text3); margin-top:6px; }
.review-user-info {
  display:flex; align-items:center; gap:10px; margin-bottom:1rem;
  padding:12px 16px; background:var(--bg2); border-radius:var(--r);
}
.review-user-avatar { width:34px; height:34px; border-radius:50%; object-fit:cover; }
.review-user-name { font-weight:600; font-size:0.85rem; color:var(--navy); }
.review-user-provider { font-size:0.68rem; color:var(--text3); }

/* ══════════════════════════════════════════
   COMMENTS DISPLAY
   ══════════════════════════════════════════ */
.comments-section { margin-top:0.5rem; }
.comments-stats {
  display:flex; align-items:center; gap:14px; margin-bottom:1.2rem;
  padding:1.1rem 1.3rem; background:var(--bg2); border-radius:var(--r-lg);
}
.comments-avg { font-size:1.6rem; font-weight:700; color:var(--navy); }
.comments-stars-display { display:flex; gap:2px; color:var(--star); }
.comments-count { font-size:0.76rem; color:var(--text3); }
.comment-card {
  padding:1.3rem; border:none; border-radius:var(--r-lg);
  margin-bottom:0.8rem; background:#fff;
  box-shadow: var(--shadow-xs);
}
.comment-header { display:flex; align-items:center; gap:10px; margin-bottom:0.7rem; }
.comment-avatar { width:36px; height:36px; border-radius:50%; object-fit:cover; background:var(--bg3); }
.comment-author { font-weight:600; font-size:0.85rem; color:var(--navy); }
.comment-date { font-size:0.68rem; color:var(--text3); }
.comment-provider-icon { width:14px; height:14px; vertical-align:middle; opacity:0.4; }
.comment-stars { display:flex; gap:1px; color:var(--star); margin-bottom:0.4rem; }
.comment-text { font-size:0.88rem; color:var(--text2); line-height: 1.7; }
.comment-no-reviews { text-align:center; padding:2rem; color:var(--text3); font-size:0.85rem; }
.comments-load-more {
  display:block; width:100%; padding:12px; border:1.5px solid var(--border);
  border-radius:var(--r); background:none; font-family:'Sora',sans-serif;
  font-size:0.82rem; font-weight:600; color:var(--navy); cursor:pointer;
  transition:all 0.25s var(--ease); margin-top:0.5rem;
}
.comments-load-more:hover { border-color:var(--navy); background:var(--bg2); }
.review-success-msg {
  text-align:center; padding:2rem; color:var(--teal); font-weight:600;
}

/* ══ HERO IMAGES PAR PAGE ══ */
.hero-ateliers {
  background: linear-gradient(rgba(12,31,54,0.82), rgba(12,31,54,0.92)), url('https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?w=1400&q=80');
  background-size: cover; background-position: center;
}
.hero-ressources {
  background: linear-gradient(rgba(12,31,54,0.82), rgba(12,31,54,0.92)), url('https://images.unsplash.com/photo-1481627834876-b7833e8f5570?w=1400&q=80');
  background-size: cover; background-position: center;
}
.hero-contact {
  background: linear-gradient(rgba(12,31,54,0.82), rgba(12,31,54,0.92)), url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?w=1400&q=80');
  background-size: cover; background-position: center;
}
.hero-about {
  background: linear-gradient(rgba(12,31,54,0.82), rgba(12,31,54,0.92)), url('https://images.unsplash.com/photo-1582213782179-e0d53f98f2ca?w=1400&q=80');
  background-size: cover; background-position: center;
}

/* ══ GLOBAL SEARCH MODAL ══ */
.nav-search-btn {
  width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none;
  color: rgba(255,255,255,0.4); cursor: pointer;
  transition: all 0.25s var(--ease);
}
.nav-search-btn:hover { color: var(--gold); background: rgba(255,255,255,0.06); }

.search-overlay {
  display: none; position: fixed; inset: 0; z-index: 9500;
  background: rgba(12,31,54,0.6); backdrop-filter: blur(8px);
  align-items: flex-start; justify-content: center;
  padding: 10vh 1.5rem 2rem;
}
.search-overlay.open { display: flex; }
.search-modal {
  background: #fff; border-radius: var(--r-xl); width: 100%; max-width: 620px;
  box-shadow: var(--shadow-xl); overflow: hidden;
  animation: modalIn 0.25s var(--ease-out);
}
.search-modal-header {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 1rem 1.2rem; border-bottom: 1px solid var(--border);
}
.search-modal-header input {
  flex: 1; border: none; outline: none;
  font-size: 1rem; font-family: inherit; color: var(--text);
  background: transparent;
}
.search-modal-header input::placeholder { color: var(--text3); }
.search-kbd {
  font-family: 'Sora', sans-serif; font-size: 0.65rem; font-weight: 600;
  background: var(--bg2); color: var(--text3);
  padding: 0.2rem 0.5rem; border-radius: 4px; border: 1px solid var(--border);
}
.search-close-btn {
  background: none; border: none; font-size: 1.3rem;
  color: var(--text3); cursor: pointer; padding: 0.2rem 0.4rem;
  display: none;
}
.search-results {
  max-height: 50vh; overflow-y: auto; padding: 0.5rem;
}
.search-empty { padding: 2rem 1rem; text-align: center; }
.search-shortcuts {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 1rem;
}
.search-shortcuts button {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 50px;
  padding: 0.4rem 1rem; font-size: 0.78rem; font-weight: 500;
  font-family: inherit; color: var(--text2); cursor: pointer;
  transition: all 0.15s var(--ease);
}
.search-shortcuts button:hover { border-color: var(--navy); color: var(--navy); }
.search-group-label {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text3); padding: 0.6rem 0.8rem 0.3rem;
}
.search-item {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.65rem 0.8rem; border-radius: var(--r);
  cursor: pointer; transition: background 0.15s var(--ease);
}
.search-item:hover { background: var(--bg2); }
.search-item-icon {
  width: 36px; height: 36px; min-width: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}
.search-item-text { flex: 1; min-width: 0; }
.search-item-title {
  font-size: 0.85rem; font-weight: 600; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-item-sub {
  font-size: 0.72rem; color: var(--text3); margin-top: 0.1rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-no-result {
  padding: 2rem; text-align: center; color: var(--text3); font-size: 0.88rem;
}

/* ══ SHARE BUTTONS ══ */
.share-bar {
  display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap;
}
.share-bar-label {
  font-size: 0.72rem; font-weight: 600; color: var(--text3);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.share-btn {
  width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); background: #fff;
  color: var(--text2); cursor: pointer;
  transition: all 0.2s var(--ease); text-decoration: none;
}
.share-btn:hover { border-color: var(--navy); color: var(--navy); background: var(--bg2); }
.share-btn.wa { color: #25D366; }
.share-btn.wa:hover { background: #25D366; color: #fff; border-color: #25D366; }
.share-btn.fb { color: #1877F2; }
.share-btn.fb:hover { background: #1877F2; color: #fff; border-color: #1877F2; }
.share-btn.tw { color: #1DA1F2; }
.share-btn.tw:hover { background: #1DA1F2; color: #fff; border-color: #1DA1F2; }
.share-btn.cp:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

@media (max-width: 768px) {
  .search-overlay { padding: 2rem 1rem; }
  .search-kbd { display: none; }
  .search-close-btn { display: block; }
}

/* ══ QUIZ ADDICTION ══ */
#quiz-modal {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(12,31,54,0.6); backdrop-filter: blur(6px);
  z-index: 1100; align-items: center; justify-content: center;
}
#quiz-modal.open { display: flex; }
.quiz-box {
  background: #fff; border-radius: var(--r-xl); width: 94%; max-width: 560px;
  max-height: 90vh; overflow-y: auto; position: relative;
  box-shadow: var(--shadow-xl); animation: modalIn 0.3s var(--ease-out);
}
.quiz-close {
  position: absolute; top: 1rem; right: 1rem; background: var(--bg2);
  border: none; border-radius: 50%; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2; color: var(--text3); transition: all 0.15s;
}
.quiz-close:hover { background: var(--bg3); color: var(--text); }

/* Quiz header */
.quiz-header {
  background: var(--navy); padding: 2rem 2rem 1.5rem; border-radius: var(--r-xl) var(--r-xl) 0 0;
  text-align: center;
}
.quiz-header h2 { color: #fff; font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: 0.3rem; }
.quiz-header p { color: rgba(255,255,255,0.55); font-size: 0.78rem; }

/* Progress bar */
.quiz-progress { padding: 0 2rem; margin-top: -0.5rem; }
.quiz-progress-bar {
  height: 4px; background: var(--bg3); border-radius: 4px; overflow: hidden;
}
.quiz-progress-fill {
  height: 100%; background: var(--teal); border-radius: 4px;
  transition: width 0.4s var(--ease);
}
.quiz-progress-text {
  font-size: 0.7rem; color: var(--text3); margin-top: 0.4rem; text-align: right;
}

/* Question */
.quiz-question { padding: 1.5rem 2rem 0.5rem; }
.quiz-question h3 {
  font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.5; margin-bottom: 1.2rem;
}

/* Options */
.quiz-options { padding: 0 2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.quiz-opt {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--r);
  padding: 0.9rem 1.1rem; cursor: pointer; transition: all 0.15s var(--ease);
  font-size: 0.88rem; color: var(--text); text-align: left; width: 100%;
  font-family: inherit; line-height: 1.5;
}
.quiz-opt:hover { border-color: var(--teal); background: var(--teal-light); }
.quiz-opt.selected { border-color: var(--teal); background: var(--teal-light); font-weight: 600; }
.quiz-opt-radio {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.quiz-opt.selected .quiz-opt-radio {
  border-color: var(--teal); background: var(--teal);
}
.quiz-opt.selected .quiz-opt-radio::after {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff;
}

/* Navigation */
.quiz-nav {
  padding: 1.5rem 2rem 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.quiz-btn {
  border: none; border-radius: 50px; padding: 0.7rem 1.8rem;
  font-size: 0.82rem; font-weight: 600; cursor: pointer; font-family: inherit;
  transition: all 0.15s var(--ease);
}
.quiz-btn-prev {
  background: var(--bg2); color: var(--text2);
}
.quiz-btn-prev:hover { background: var(--bg3); }
.quiz-btn-next {
  background: var(--teal); color: #fff;
}
.quiz-btn-next:hover { background: #257A68; }
.quiz-btn-next:disabled { opacity: 0.4; cursor: not-allowed; }

/* Result */
.quiz-result { padding: 2rem; text-align: center; }
.quiz-result-score {
  width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 1.2rem;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  font-size: 2rem; font-weight: 900; color: #fff;
}
.quiz-result-score span { font-size: 0.65rem; font-weight: 600; opacity: 0.8; margin-top: -0.2rem; }
.quiz-result h3 {
  font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: 0.6rem;
  font-family: 'Playfair Display', serif;
}
.quiz-result p { color: var(--text2); font-size: 0.88rem; line-height: 1.7; margin-bottom: 1rem; }
.quiz-result-level {
  display: inline-block; padding: 0.4rem 1.2rem; border-radius: 50px;
  font-size: 0.78rem; font-weight: 700; margin-bottom: 1.5rem;
}
.quiz-result-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }
.quiz-result-actions button {
  border-radius: 50px; padding: 0.7rem 1.5rem; font-size: 0.8rem;
  font-weight: 600; cursor: pointer; font-family: inherit; transition: all 0.15s; border: none;
}

/* Quiz selector grid */
.quiz-selector-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.8rem;
}
.quiz-selector-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--r-lg);
  padding: 1.3rem 0.8rem; cursor: pointer; transition: all 0.2s var(--ease);
  font-family: inherit;
}
.quiz-selector-card:hover {
  border-color: var(--teal); background: var(--teal-light);
  transform: translateY(-2px); box-shadow: var(--shadow);
}
.quiz-selector-card span {
  font-size: 0.82rem; font-weight: 700; color: var(--navy);
}
.quiz-selector-card small {
  font-size: 0.65rem; color: var(--text3); line-height: 1.3;
}
@media (max-width: 700px) {
  .quiz-selector-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 400px) {
  .quiz-selector-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .quiz-box { width: 100%; max-width: 100%; border-radius: var(--r-xl) var(--r-xl) 0 0; max-height: 95vh; }
  .quiz-header, .quiz-question, .quiz-options, .quiz-nav, .quiz-result { padding-left: 1.3rem; padding-right: 1.3rem; }
  .quiz-progress { padding: 0 1.3rem; }
}

/* ══ URGENCE CONSO ══ */
@keyframes urgScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.33%); }
}
.urg-marquee { will-change: transform; }
#page-urgence { padding-bottom: 3rem; }
#urg-banner { display: none; }
#urg-call-btn { display: none; }

@keyframes urgPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(229,62,62,0.5); }
  50% { box-shadow: 0 4px 30px rgba(229,62,62,0.8), 0 0 0 8px rgba(229,62,62,0.15); }
}

.urg-card { transition: all 0.3s var(--ease); }
.urg-card:hover { border-color: var(--gold) !important; transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.urg-card.urg-open { border-color: #E53E3E !important; box-shadow: 0 8px 30px rgba(229,62,62,0.1); }
.urg-card.urg-open .urg-chevron { transform: rotate(180deg); }
.urg-card.urg-open .urg-details { max-height: 2000px !important; }
.urg-filter.active { background: var(--navy) !important; color: #fff !important; border-color: var(--navy) !important; }
@media (max-width: 768px) {
  .guide-pls-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .urg-phones-grid { grid-template-columns: 1fr !important; }
  #urg-grid { grid-template-columns: 1fr !important; }
}

/* ══ SELECTION & FOCUS ══ */
::selection { background: rgba(200,164,78,0.2); color: var(--text); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
