/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Montserrat', sans-serif; overflow-x: hidden; }

/* ===== HEADER ===== */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 104px; padding: 0 56px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.38);
  backdrop-filter: blur(72px) saturate(220%) brightness(1.08);
  -webkit-backdrop-filter: blur(72px) saturate(220%) brightness(1.08);
  border-bottom: 0.5px solid rgba(255,255,255,0.5);
}
.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo img { height: 56px; width: auto; display: block; }
.nav-wrap {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 44px;
}
.nav-wrap a {
  font-size: 15px; font-weight: 500; color: #222; text-decoration: none;
  white-space: nowrap; position: relative; padding-bottom: 4px;
}
.nav-wrap a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: #E8000F;
  transition: width .35s cubic-bezier(.25,.46,.45,.94);
}
.nav-wrap a:hover::after { width: 100%; }
.nav-wrap a:hover { color: #111; }
.btn-header {
  display: inline-flex; align-items: center; gap: 7px;
  background: #E8000F; color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 12px 22px; text-decoration: none; white-space: nowrap; flex-shrink: 0;
  font-family: 'Montserrat', sans-serif; transition: background .2s;
}
.btn-header:hover { background: #c8000d; }
.btn-header .arr { transition: transform .2s; }
.btn-header:hover .arr { transform: translateX(3px); }

/* ===== HERO ===== */
.hero {
  position: relative; width: 100%; height: 100vh; min-height: 640px;
  overflow: hidden; display: flex; flex-direction: column;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
}
.hero-watermark-cover {
  position: absolute;
  bottom: 0; right: 0;
  width: 220px; height: 60px;
  background: #111;
  z-index: 5;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 50%, rgba(255,255,255,0) 100%);
}
.hero-main {
  position: relative; z-index: 10; flex: 1;
  display: flex; align-items: center;
  padding: 0 7%; padding-top: 104px;
}
.glass-card {
  position: relative; max-width: 560px;
  padding: 44px 48px 56px;
  background: rgba(255,255,255,0.52);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 0.5px solid rgba(255,255,255,0.8);
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}
.glass-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: #E8000F; margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.glass-eyebrow::before { content: ''; width: 18px; height: 1px; background: #E8000F; display: block; }
.glass-title { font-size: 38px; font-weight: 700; color: #111; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 16px; }
.glass-title em { font-style: normal; color: #E8000F; }
.glass-text { font-size: 14px; font-weight: 300; color: #444; line-height: 1.75; }
.btn-cheval {
  position: absolute; bottom: -22px; left: 48px;
  display: inline-flex; align-items: center; gap: 8px;
  background: #E8000F; color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 14px 28px; text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 4px 20px rgba(232,0,15,.4);
  transition: background .2s, transform .2s; z-index: 2;
}
.btn-cheval:hover { background: #c8000d; transform: translateY(-2px); }
.btn-cheval .arr { transition: transform .2s; }
.btn-cheval:hover .arr { transform: translateX(4px); }

/* Stats bar */
.hero-stats {
  position: relative; z-index: 10;
  display: grid; grid-template-columns: repeat(4,1fr);
  background: #111111;
}
.stat {
  padding: 24px 40px; border-right: 0.5px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column; gap: 6px;
}
.stat:last-child { border-right: none; }
.stat-number { font-size: 32px; font-weight: 700; color: #fff; letter-spacing: -.02em; line-height: 1; }
.stat-number em { font-style: normal; color: #E8000F; }
.stat-label { font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.5); letter-spacing: .03em; line-height: 1.5; }
.stat-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.stat-tag {
  font-size: 9px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); border: 0.5px solid rgba(255,255,255,0.2);
  padding: 2px 7px; border-radius: 2px;
  transition: color .2s, border-color .2s, background .2s; cursor: default;
}
.stat-tag:hover { color: #E8000F; border-color: rgba(232,0,15,0.5); background: rgba(232,0,15,0.08); }

/* ===== SECTION COMMUNE ===== */
.section-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: #E8000F; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.section-eyebrow::before { content: ''; width: 18px; height: 1px; background: #E8000F; display: block; }
.section-title { font-size: 40px; font-weight: 700; color: #111; letter-spacing: -.02em; line-height: 1.05; margin-bottom: 56px; }

/* ===== DOMAINES ===== */
.domaines { padding: 96px 56px; background: #fff; }
.domaines-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 2px; background: #ece9e4;
}
.domaine-card {
  background: #fff; padding: 40px 32px;
  position: relative; overflow: hidden; cursor: pointer;
  transition: background .3s;
}
.domaine-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: #E8000F; transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.domaine-card:hover::before { transform: scaleX(1); }
.domaine-card:hover { background: #fafafa; }
.domaine-num { font-size: 48px; font-weight: 800; color: #f0ede8; letter-spacing: -.04em; line-height: 1; margin-bottom: 20px; }
.domaine-name { font-size: 16px; font-weight: 600; color: #111; letter-spacing: .01em; margin-bottom: 12px; line-height: 1.2; }
.domaine-text { font-size: 13px; font-weight: 300; color: #888; line-height: 1.75; }
.domaine-arrow {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 24px;
  font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #E8000F; opacity: 0; transition: opacity .3s, transform .3s;
  transform: translateX(-8px);
}
.domaine-card:hover .domaine-arrow { opacity: 1; transform: translateX(0); }

/* ===== RÉALISATIONS ===== */
.realisations { padding: 48px 56px; background: #111111; }
.realisations .section-eyebrow { color: #E8000F; }
.realisations .section-eyebrow::before { background: #E8000F; }
.realisations .section-title { color: #ffffff; }
.real-header {
  display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px;
}
.btn-voir {
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.7); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.25); padding-bottom: 3px;
  transition: color .2s, border-color .2s; white-space: nowrap; margin-bottom: 6px;
}
.btn-voir:hover { color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-voir .arr { display: inline-block; transition: transform .25s; }
.btn-voir:hover .arr { transform: translateX(5px); }
.real-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; align-items: stretch; }

.real-card {
  position: relative; overflow: hidden; cursor: pointer;
  height: 300px; background: #222; display: flex; flex-direction: column;
  color: inherit;
}
a.real-card { display: block; }
.real-card__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  transition: transform .7s cubic-bezier(.25,.46,.45,.94), filter .7s ease;
  filter: brightness(0.82);
}
.real-card:hover .real-card__img { transform: scale(1.08); filter: brightness(1); }
.real-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 25%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.65) 100%);
  z-index: 1; transition: opacity .4s;
}
.real-card:hover .real-card__overlay { opacity: 0.75; }
.real-card__tags { position: absolute; top: 16px; left: 16px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 3; }
.real-card__tag {
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 11px; background: #E8000F; color: #fff;
}
.real-card__tag--lieu {
  background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 0.5px solid rgba(255,255,255,0.3); color: #fff;
}
.real-card__arrow {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 0.5px solid rgba(255,255,255,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; line-height: 1; color: #fff; z-index: 3;
  opacity: 0; transform: scale(0.6) rotate(-15deg);
  transition: opacity .35s ease, transform .35s cubic-bezier(.34,1.56,.64,1);
}
.real-card:hover .real-card__arrow { opacity: 1; transform: scale(1) rotate(0deg); }
.real-card__glass {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  background: rgba(255,255,255,0.11);
  backdrop-filter: blur(40px) saturate(220%) brightness(1.15);
  -webkit-backdrop-filter: blur(40px) saturate(220%) brightness(1.15);
  border-top: 0.5px solid rgba(255,255,255,0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 -8px 32px rgba(0,0,0,0.15);
  padding: 16px 20px 20px;
  transition: background .4s, transform .4s;
}
.real-card:hover .real-card__glass {
  background: rgba(255,255,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 -12px 48px rgba(0,0,0,0.2);
  transform: translateY(-4px);
}
.real-card__type {
  font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #E8000F; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.real-card__type::before { content: ''; display: block; width: 14px; height: 1.5px; background: #E8000F; flex-shrink: 0; }
.real-card__name { font-size: 15px; font-weight: 700; color: #ffffff; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 6px; text-shadow: 0 1px 8px rgba(0,0,0,0.2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.real-card__lieu { font-size: 12px; font-weight: 400; color: rgba(255,255,255,0.65); letter-spacing: .03em; }

/* ===== CARTE ===== */
.carte-section { padding: 72px 56px; background: #f9f8f6; }
.carte-section .section-title { margin-bottom: 24px; }
.carte-intro { margin-bottom: 36px; }
.carte-intro p { font-size: 14px; font-weight: 300; color: #666; line-height: 1.75; margin-top: 0; }
#map { width: 100%; height: 480px; border-radius: 6px; overflow: hidden; border: 0.5px solid #e0ddd8; }
.leaflet-popup-content-wrapper { border-radius: 6px !important; box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important; border: 0.5px solid #e0ddd8 !important; padding: 0 !important; }
.leaflet-popup-content { margin: 0 !important; padding: 0 !important; }
.stamenko-popup { padding: 14px 18px; }
.stamenko-popup-title { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; color: #111; margin-bottom: 3px; }
.stamenko-popup-sub { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 400; color: #888; }
.carte-zones {
  display: grid; grid-template-columns: repeat(5,1fr);
  gap: 2px; background: #ece9e4; margin-bottom: 36px;
}
.carte-zone { background: #fff; padding: 18px 20px; transition: background .25s; }
.carte-zone:hover { background: #fafafa; }
.carte-zone:hover .carte-zone-title { color: #E8000F; }
.carte-zone-title { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #111; margin-bottom: 6px; transition: color .25s; }
.carte-zone-list { font-size: 13px; font-weight: 300; color: #888; line-height: 1.6; }

/* ===== AVIS ===== */
.avis-section { padding: 56px 56px; background: #f5f4f0; }
.avis-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 48px; gap: 40px; }
.avis-header-left .section-title { margin-bottom: 0; font-size: 36px; }
.avis-rating-global { flex-shrink: 0; text-align: right; }
.avis-score-row { display: flex; align-items: baseline; gap: 8px; justify-content: flex-end; margin-bottom: 4px; }
.avis-score-num { font-size: 32px; font-weight: 800; color: #111; letter-spacing: -.03em; line-height: 1; }
.avis-score-max { font-size: 16px; font-weight: 400; color: #aaa; }
.avis-stars-row { font-size: 15px; color: #E8000F; letter-spacing: 3px; margin-bottom: 4px; }
.avis-count { font-size: 12px; color: #aaa; margin-bottom: 10px; }
.avis-source-badges { display: flex; gap: 6px; justify-content: flex-end; }
.badge-g { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: #3c4043; background: #fff; border: 0.5px solid #dadce0; padding: 4px 10px; border-radius: 12px; }
.badge-p { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: #e65100; background: #fff; border: 0.5px solid #ffe0b2; padding: 4px 10px; border-radius: 12px; }
.badge-logo { font-size: 12px; font-weight: 900; }
.avis-wall { columns: 4; column-gap: 10px; }
.avis-card {
  break-inside: avoid; display: inline-block; width: 100%;
  background: #fff; border: 0.5px solid #e8e4de; border-radius: 10px;
  padding: 14px; margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: box-shadow .25s ease, transform .25s ease;
}
.avis-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.10); transform: translateY(-2px); }
.avis-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.avis-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
}
.avis-info { flex: 1; min-width: 0; }
.avis-name { font-size: 12px; font-weight: 600; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avis-date { font-size: 10px; color: #bbb; margin-top: 1px; }
.avis-source-logo {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900;
}
.source-g { background: #e8f0fe; color: #1a73e8; }
.source-p { background: #fff3e0; color: #e65100; }
.avis-stars { font-size: 12px; letter-spacing: 1px; margin-bottom: 8px; }
.stars-full { color: #E8000F; }
.stars-empty { color: #ddd; }
.avis-text {
  font-size: 12px; font-weight: 300; color: #444; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.avis-card--tall .avis-text { -webkit-line-clamp: 8; }
.avis-card--short .avis-text { -webkit-line-clamp: 3; }
.avis-tag {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 10px;
  font-size: 9px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: #E8000F; background: rgba(232,0,15,0.06); padding: 2px 8px; border-radius: 10px;
}
.avis-card-foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 8px; border-top: 0.5px solid #f0ede8; }
.avis-like { font-size: 14px; color: #ddd; cursor: pointer; transition: color .2s; }
.avis-like:hover { color: #E8000F; }
.avis-verified { font-size: 10px; color: #bbb; margin-left: auto; display: flex; align-items: center; gap: 3px; }
.avis-verified::before { content: "✓"; color: #34a853; font-weight: 700; }

/* ===== FOOTER ===== */
.site-footer {
  width: 100%; padding: 32px 56px;
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(60px) saturate(220%) brightness(1.1);
  -webkit-backdrop-filter: blur(60px) saturate(220%) brightness(1.1);
  border-top: 0.5px solid rgba(255,255,255,0.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.footer-logo { height: 40px; width: auto; display: block; flex-shrink: 0; }
.footer-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; font-weight: 400; color: #555; text-decoration: none; white-space: nowrap; transition: color .2s; }
.footer-links a:hover { color: #E8000F; }
.footer-sep { color: #ccc; font-size: 12px; }
.footer-copy { font-size: 12px; font-weight: 300; color: #888; white-space: nowrap; flex-shrink: 0; }
