/* ============================================================
   MANGA LIVE — Design System
   Style : Sophistiqué / Raffiné — Thème encre & or
   ============================================================ */

:root {
  --bg:            #08080d;
  --bg-soft:       #0f0f17;
  --bg-elev:       #14141f;
  --ink:           #f6f3ee;
  --ink-dim:       rgba(246, 243, 238, 0.68);
  --ink-faint:     rgba(246, 243, 238, 0.42);
  --accent:        #d7263d;
  --accent-soft:   #ff4d63;
  --gold:          #c9a227;
  --gold-soft:     #e5c766;
  --blue:          #3b6cf0;
  --blue-soft:     #7aa2ff;
  --blue-deep:     #1c3fb3;
  --line:          rgba(246, 243, 238, 0.10);
  --line-strong:   rgba(246, 243, 238, 0.20);
  --glass:         rgba(20, 20, 32, 0.55);
  --glass-light:   rgba(246, 243, 238, 0.06);
  --shadow:        0 24px 60px -20px rgba(0, 0, 0, 0.85);
  --radius:        18px;
  --radius-sm:     12px;
  --ease:          cubic-bezier(0.22, 1, 0.36, 1);
  --font-display:  "Cormorant Garamond", "Times New Roman", serif;
  --font-body:     "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-jp:       "Noto Serif JP", serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }

p { margin: 0 0 1.1em; }

/* Grain + halo décoratif global */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1100px 600px at 82% -8%, rgba(215, 38, 61, 0.16), transparent 60%),
    radial-gradient(900px 520px at 8% 104%, rgba(201, 162, 39, 0.11), transparent 62%);
}

/* ------------------------------------------------ LAYOUT */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section { padding: clamp(64px, 9vw, 128px) 0; position: relative; z-index: 1; }
.section--tight { padding: clamp(44px, 6vw, 76px) 0; }

.section-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 62px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 18px;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.section-head--center .eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.lead { color: var(--ink-dim); font-size: 1.06rem; max-width: 62ch; }

/* ------------------------------------------------ BOUTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
              background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }

.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  box-shadow: 0 14px 34px -14px rgba(59, 108, 240, 0.85);
}
.btn--primary:hover { box-shadow: 0 22px 48px -16px rgba(59, 108, 240, 0.95); }

.btn--gold {
  background: linear-gradient(135deg, var(--blue-soft), var(--blue));
  color: #06122e;
  box-shadow: 0 14px 34px -16px rgba(59, 108, 240, 0.85);
}

.btn--ghost {
  border-color: rgba(122, 162, 255, 0.45);
  color: var(--blue-soft);
  background: rgba(59, 108, 240, 0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover { border-color: var(--blue-soft); color: #fff; background: rgba(59, 108, 240, 0.22); }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ------------------------------------------------ HEADER / NAV */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 22px 0;
  transition: background 0.45s ease, padding 0.45s ease, border-color 0.45s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 13px 0;
  background: rgba(8, 8, 13, 0.78);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}
.brand__mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #7c0f20);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 10px 26px -12px rgba(215,38,61,0.9);
}
.brand__name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.58rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: -2px;
}

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  position: relative;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 6px 0;
  transition: color 0.3s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.nav__links a:hover, .nav__links a.active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }

.nav__cta { display: inline-flex; }

.burger {
  display: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--glass-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--ink);
  margin: 4px 0;
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
}
.burger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ------------------------------------------------ HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroPan 26s ease-in-out infinite alternate;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,8,13,0.82) 0%, rgba(8,8,13,0.68) 42%, rgba(8,8,13,0.97) 100%),
    radial-gradient(900px 520px at 76% 30%, rgba(215,38,61,0.28), transparent 64%);
}
@keyframes heroPan {
  from { transform: scale(1.06) translate3d(0,0,0); }
  to   { transform: scale(1.14) translate3d(-1.6%, -1.4%, 0); }
}

.hero__inner { position: relative; z-index: 2; max-width: 860px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold-soft), #fff7df 45%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { font-size: clamp(1rem, 1.6vw, 1.16rem); color: var(--ink-dim); max-width: 58ch; }

.hero__glass {
  margin-top: 34px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 26px;
  padding: 20px 28px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--shadow);
}
.hero__stat { min-width: 104px; }
.hero__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--gold-soft);
  line-height: 1.1;
}
.hero__stat span {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.hero__scroll i {
  display: block;
  width: 1px; height: 46px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.7); }
  50%      { opacity: 1;    transform: scaleY(1); }
}

/* ------------------------------------------------ CARTES GLASS 3D */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card3d {
  position: relative;
  padding: 34px 30px 30px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease), border-color 0.4s ease, box-shadow 0.5s var(--ease);
  overflow: hidden;
}
.card3d::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255,255,255,0.10), transparent 46%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.card3d:hover {
  transform: perspective(1000px) rotateX(6deg) rotateY(-7deg) translateY(-10px);
  border-color: rgba(201, 162, 39, 0.42);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.95), 0 0 0 1px rgba(201,162,39,0.14);
}
.card3d:hover::before { opacity: 1; }

.card3d__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(215,38,61,0.28), rgba(201,162,39,0.20));
  border: 1px solid var(--line-strong);
  color: var(--gold-soft);
  transform: translateZ(40px);
}
.card3d__icon svg { width: 24px; height: 24px; }
.card3d h3 { transform: translateZ(26px); margin-bottom: 10px; }
.card3d p { color: var(--ink-dim); font-size: 0.94rem; margin: 0; transform: translateZ(16px); }

.card3d__tag {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* Carte média (image + texte) */
.mediacard {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease), border-color 0.4s ease;
}
.mediacard:hover { transform: translateY(-8px); border-color: rgba(201,162,39,0.4); }
.mediacard__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.mediacard__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.mediacard:hover .mediacard__img img { transform: scale(1.07); }
.mediacard__body { padding: 24px 26px 28px; }
.mediacard__body h3 { margin-bottom: 8px; }
.mediacard__body p { color: var(--ink-dim); font-size: 0.92rem; margin: 0; }

/* ------------------------------------------------ SPLIT (texte + image) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}
.split__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }
.split__media--tall img { aspect-ratio: 4 / 4.6; }
.split__badge {
  position: absolute;
  bottom: 22px; left: 22px;
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(8,8,13,0.72);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.split__badge b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-soft);
  line-height: 1;
}
.split__badge span {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.checklist { margin-top: 8px; display: grid; gap: 14px; }
.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--ink-dim);
  font-size: 0.96rem;
}
.checklist svg { flex: 0 0 auto; color: var(--gold); margin-top: 4px; }

/* ------------------------------------------------ BANDEAU CHIFFRES */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.stats__item {
  background: var(--glass);
  padding: 34px 22px;
  text-align: center;
}
.stats__item b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--ink);
  line-height: 1;
}
.stats__item span {
  display: block;
  margin-top: 10px;
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ------------------------------------------------ GALERIE */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--glass-light);
  color: var(--ink-dim);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.35s ease;
}
.filter-btn:hover { color: #fff; border-color: var(--blue-soft); background: rgba(59,108,240,0.18); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--blue-soft), var(--blue));
  color: #06122e;
  border-color: transparent;
}

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery__item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  aspect-ratio: 1 / 1;
  transition: transform 0.5s var(--ease), border-color 0.4s ease, opacity 0.35s ease;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(8,8,13,0.86));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery__item:hover { transform: translateY(-6px); border-color: rgba(201,162,39,0.5); }
.gallery__item:hover img { transform: scale(1.09); }
.gallery__item:hover::after { opacity: 1; }
.gallery__cap {
  position: absolute;
  left: 18px; bottom: 16px;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.45s var(--ease);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.gallery__item:hover .gallery__cap { opacity: 1; transform: translateY(0); }
.gallery__item.hide { display: none; }

/* ------------------------------------------------ TÉMOIGNAGES */
.quote {
  padding: 34px 30px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: 6px; left: 22px;
  font-family: var(--font-display);
  font-size: 4.4rem;
  line-height: 1;
  color: rgba(201,162,39,0.28);
}
.quote p {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-style: italic;
  color: var(--ink);
  margin: 26px 0 22px;
  line-height: 1.6;
}
.quote footer { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); }
.quote footer span { display: block; color: var(--ink-faint); letter-spacing: 0.14em; margin-top: 4px; }

/* ------------------------------------------------ FORMULAIRE */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: rgba(246,243,238,0.04);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(246,243,238,0.28); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(246,243,238,0.07);
  box-shadow: 0 0 0 4px rgba(201,162,39,0.12);
}
.field select option { background: var(--bg-elev); color: var(--ink); }

.form-note { font-size: 0.78rem; color: var(--ink-faint); margin-top: 6px; }

.alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  font-size: 0.9rem;
  border: 1px solid;
}
.alert--ok { background: rgba(46,160,90,0.12); border-color: rgba(46,160,90,0.45); color: #8ee0ac; }
.alert--err { background: rgba(215,38,61,0.12); border-color: rgba(215,38,61,0.45); color: #ff9aa7; }

/* Infos contact */
.infobox {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.35s ease, transform 0.35s var(--ease);
}
.infobox:hover { border-color: rgba(201,162,39,0.45); transform: translateY(-4px); }
.infobox svg { color: var(--gold-soft); flex: 0 0 auto; margin-top: 3px; }
.infobox b {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
  margin-bottom: 5px;
}
.infobox span, .infobox a { font-size: 0.98rem; color: var(--ink); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 380px; border: 0; filter: grayscale(0.35) contrast(1.05); }

/* ------------------------------------------------ PAGE HEADER (pages internes) */
.page-hero {
  position: relative;
  padding: 190px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,8,13,0.90), rgba(8,8,13,0.86) 55%, var(--bg));
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumbs {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 18px;
}
.breadcrumbs a:hover { color: var(--gold-soft); }
.breadcrumbs span { color: var(--gold-soft); margin: 0 8px; }

/* ------------------------------------------------ CTA BAND */
.cta-band {
  position: relative;
  padding: clamp(52px, 7vw, 90px) 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 340px at 50% 0%, rgba(215,38,61,0.24), transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band .btn-row { justify-content: center; }

/* ------------------------------------------------ FOOTER */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 68px 0 30px;
  margin-top: clamp(60px, 8vw, 110px);
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.45));
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-grid p, .footer-grid a { color: var(--ink-dim); font-size: 0.9rem; }
.footer-grid a { display: block; padding: 5px 0; transition: color 0.3s ease, padding-left 0.3s ease; }
.footer-grid a:hover { color: var(--gold-soft); padding-left: 5px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-bottom {
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--ink-faint);
}

/* ------------------------------------------------ REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.09s; }
.reveal[data-delay="2"] { transition-delay: 0.18s; }
.reveal[data-delay="3"] { transition-delay: 0.27s; }
.reveal[data-delay="4"] { transition-delay: 0.36s; }
.reveal[data-delay="5"] { transition-delay: 0.45s; }
.reveal[data-delay="6"] { transition-delay: 0.54s; }

/* Filet de sécurité : si main.js ne charge pas (JS désactivé, fichier
   inaccessible), tout le contenu doit rester visible. main.js ajoute la
   classe "js-ok" sur <html> dès son exécution : sans elle, on force
   l'apparition de tous les blocs. */
@keyframes revealFallback { to { opacity: 1; transform: none; } }
.no-js .reveal { opacity: 1; transform: none; }
html:not(.js-ok) .reveal { animation: revealFallback 0.7s ease 0.25s forwards; }

/* ------------------------------------------------ LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 4, 8, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s ease;
  padding: 40px 20px;
}
.lightbox.active { opacity: 1; }
.lightbox img { max-width: 92%; max-height: 88vh; object-fit: contain; border-radius: 8px; }
.lightbox__close {
  position: absolute;
  top: 22px; right: 26px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(246,243,238,0.06);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* ------------------------------------------------ MENU MOBILE */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 890;
  background: rgba(8, 8, 13, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--ink);
  padding: 12px 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s ease;
}
.mobile-nav.open a { opacity: 1; transform: none; }
.mobile-nav.open a:nth-child(1) { transition-delay: 0.06s; }
.mobile-nav.open a:nth-child(2) { transition-delay: 0.12s; }
.mobile-nav.open a:nth-child(3) { transition-delay: 0.18s; }
.mobile-nav.open a:nth-child(4) { transition-delay: 0.24s; }
.mobile-nav.open a:nth-child(5) { transition-delay: 0.30s; }
.mobile-nav.open a:nth-child(6) { transition-delay: 0.36s; }
.mobile-nav a:hover { color: var(--gold-soft); }

/* ------------------------------------------------ RESPONSIVE */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav__links, .nav__cta { display: none; }
  .burger { display: grid; }
}

@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; gap: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { min-height: auto; padding: 130px 0 80px; }
  .hero__glass { gap: 18px; padding: 18px 20px; width: 100%; }
  .hero__stat { min-width: 0; flex: 1 1 40%; }
  .hero__scroll { display: none; }
  .site-header { padding: 16px 0; }
  .page-hero { padding: 150px 0 60px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .quote { padding: 28px 24px; }
  .map-frame iframe { height: 280px; }
  .card3d { padding: 28px 24px 24px; }
  .card3d:hover { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
