/* ==========================================================================
   CSC 3 cités — Pause méridienne — Feuille de style principale
   Style : Pro / Classique — Glassmorphism + animations fluides + cartes 3D
   Approche : mobile-first (1 colonne par défaut, multi-colonnes dès 768px)
   ========================================================================== */

/* ---------- 1. Variables ---------- */
:root {
  --navy: #0B1B2B;
  --navy-soft: #12253A;
  --navy-soft-2: #1B3550;
  --gold: #C8A45C;
  --gold-light: #E0C176;
  --gold-dark: #A6823F;
  --cream: #F8F6F1;
  --cream-2: #F1EEE6;
  --ink: #1B2430;
  --muted: #5A6672;
  --line: #E4E1D9;
  --white: #FFFFFF;

  --glass-bg: rgba(255, 255, 255, 0.10);
  --glass-bg-light: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.22);
  --glass-blur: saturate(150%) blur(16px);

  --shadow-sm: 0 6px 18px rgba(11, 27, 43, 0.07);
  --shadow-md: 0 18px 45px rgba(11, 27, 43, 0.10);
  --shadow-lg: 0 30px 70px rgba(11, 27, 43, 0.16);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;

  --header-h: 74px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-title: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-text: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 18px;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 7vw, 4.2rem); }
h2 { font-size: clamp(1.65rem, 5vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 3.4vw, 1.45rem); }
p { margin: 0 0 18px; color: var(--muted); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow { max-width: 900px; }

/* ---------- 3. Utilitaires ---------- */
.section { padding: 72px 0; position: relative; }
.section-cream { background: var(--cream); }
.section-cream-2 { background: var(--cream-2); }
.section-dark {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft-2) 100%);
  color: var(--cream);
}
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark p { color: rgba(248, 246, 241, 0.78); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-dark .eyebrow { color: var(--gold-light); }

.section-head p { font-size: 1.02rem; }

.head-rule {
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 0 auto 26px;
  border-radius: 2px;
}

.section-head .head-rule { margin-top: 6px; }

.text-gold { color: var(--gold); }

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 60px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  box-shadow: 0 10px 26px rgba(200, 164, 92, 0.32);
}
.btn-gold:hover { box-shadow: 0 18px 38px rgba(200, 164, 92, 0.42); }

.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--navy-soft-2); }

.btn-ghost {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  color: var(--cream);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--cream); }

.btn-block { width: 100%; }

/* ---------- 4. Header / Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  background: transparent;
  transition: background 0.45s var(--ease), backdrop-filter 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(11, 27, 43, 0.86);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom-color: rgba(200, 164, 92, 0.28);
  box-shadow: 0 10px 34px rgba(11, 27, 43, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  min-width: 0;
}

.logo-mark {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--navy-soft-2), var(--navy));
  border: 1px solid rgba(200, 164, 92, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.logo-name {
  font-family: var(--font-title);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.logo-sub {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  white-space: nowrap;
}

.nav { display: none; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  position: relative;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 246, 241, 0.9);
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--gold-light); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

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

.nav-phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(248, 246, 241, 0.85);
}
.nav-phone svg { width: 16px; height: 16px; }

/* Bouton hamburger */
.burger {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s var(--ease);
}
.burger span {
  display: block;
  width: 20px;
  height: 1.6px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0.2); }
.burger.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* Menu mobile plein écran */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: linear-gradient(165deg, rgba(11, 27, 43, 0.97), rgba(18, 37, 58, 0.98));
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
  padding: 90px 28px 40px;
}
.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu a.mobile-link {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--cream);
  padding: 10px 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}
.mobile-menu.open a.mobile-link { opacity: 1; transform: translateY(0); }
.mobile-menu.open a.mobile-link:nth-child(1) { transition-delay: 0.10s; }
.mobile-menu.open a.mobile-link:nth-child(2) { transition-delay: 0.16s; }
.mobile-menu.open a.mobile-link:nth-child(3) { transition-delay: 0.22s; }
.mobile-menu.open a.mobile-link:nth-child(4) { transition-delay: 0.28s; }
.mobile-menu.open a.mobile-link:nth-child(5) { transition-delay: 0.34s; }
.mobile-menu.open a.mobile-link:nth-child(6) { transition-delay: 0.40s; }
.mobile-menu a.mobile-link:hover { color: var(--gold-light); }

.mobile-menu .menu-sep {
  width: 60px;
  height: 1px;
  background: rgba(200, 164, 92, 0.4);
  margin: 22px 0;
}
.mobile-menu .mobile-contact {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 246, 241, 0.7);
}
.mobile-menu .btn { margin-top: 22px; }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 64px;
  background-image: url('https://images.unsplash.com/photo-1544717297-fa95b6ee9643?w=1800&q=80');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 27, 43, 0.78) 0%, rgba(11, 27, 43, 0.62) 45%, rgba(11, 27, 43, 0.88) 100%),
    radial-gradient(circle at 78% 22%, rgba(200, 164, 92, 0.24), transparent 55%);
}
.hero-inner { position: relative; z-index: 2; }

.hero h1 { color: var(--cream); max-width: 15em; }
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-lead {
  color: rgba(248, 246, 241, 0.86);
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 32px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 60px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--gold-light);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-kicker .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(200, 164, 92, 0.7);
  animation: pulse 2.4s infinite;
}

.hero-actions { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }

/* Bandeau chiffres du hero — 2 colonnes max sur mobile */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 44px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.hero-stat { text-align: center; }
.hero-stat strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--gold-light);
  line-height: 1.1;
}
.hero-stat span {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 246, 241, 0.72);
}

.hero-scroll {
  display: none;
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(248, 246, 241, 0.6);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 42px;
  margin: 10px auto 0;
  background: linear-gradient(180deg, rgba(200, 164, 92, 0.8), transparent);
  animation: scrollLine 2.2s infinite;
}

/* ---------- 6. Glassmorphism ---------- */
.glass {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-md);
}
.glass-dark {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

/* ---------- 7. Cartes services (hover 3D) ---------- */
.cards-3d {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.card3d {
  position: relative;
  padding: 34px 26px 30px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(0) rotateY(0) translateY(0);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  overflow: hidden;
}
.card3d::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(200, 164, 92, 0.20), transparent 62%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.card3d:hover,
.card3d:focus-within {
  transform: perspective(900px) rotateX(5deg) rotateY(-6deg) translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200, 164, 92, 0.6);
}
.card3d:hover::before { opacity: 1; }

.card3d-inner { position: relative; z-index: 2; transform: translateZ(28px); }

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, var(--navy-soft-2), var(--navy));
  color: var(--gold-light);
  margin-bottom: 20px;
  box-shadow: 0 12px 26px rgba(11, 27, 43, 0.22);
  transition: transform 0.5s var(--ease);
}
.card3d:hover .card-icon { transform: translateZ(20px) rotate(-6deg) scale(1.06); }
.card-icon svg { width: 26px; height: 26px; }

.card3d h3 { margin-bottom: 12px; }
.card3d p { font-size: 0.94rem; margin-bottom: 16px; }

.card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.88rem;
  color: var(--muted);
}
.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 1.5px;
  background: var(--gold);
}

/* Variante carte sombre */
.section-dark .card3d {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--glass-border);
}
.section-dark .card3d h3 { color: var(--cream); }
.section-dark .card3d p { color: rgba(248, 246, 241, 0.74); }
.section-dark .card-list li { color: rgba(248, 246, 241, 0.74); }
.section-dark .card3d:hover { border-color: rgba(200, 164, 92, 0.55); }

/* ---------- 8. À propos / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}
.split-media { position: relative; }
.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.split-media-frame {
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid rgba(200, 164, 92, 0.5);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.split-badge {
  position: absolute;
  bottom: -18px;
  left: 18px;
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--cream);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.split-badge strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--gold-light);
  line-height: 1;
}
.split-badge span {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 246, 241, 0.7);
}

.check-list { list-style: none; margin: 0 0 26px; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}
.check-list li svg {
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  color: var(--gold-dark);
}

/* ---------- 9. Méthode / étapes ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 24px 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}
.step:hover { transform: translateY(-8px); border-color: rgba(200, 164, 92, 0.55); }
.step-num {
  font-family: var(--font-title);
  font-size: 2.4rem;
  color: rgba(200, 164, 92, 0.55);
  line-height: 1;
  margin-bottom: 10px;
}
.step h3 { font-size: 1.12rem; }
.step p { font-size: 0.9rem; margin: 0; }

/* ---------- 10. Réalisations ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transform: perspective(1000px) rotateY(0) scale(1);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.6s var(--ease);
}
.gallery-item:hover {
  transform: perspective(1000px) rotateY(-4deg) translateY(-8px) scale(1.015);
  box-shadow: var(--shadow-lg);
}
.gallery-item:hover img { transform: scale(1.08); filter: saturate(112%); }
.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 20px 18px;
  background: linear-gradient(0deg, rgba(11, 27, 43, 0.92), transparent);
  color: var(--cream);
}
.gallery-caption span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.gallery-caption h3 { font-size: 1.08rem; color: var(--cream); margin: 0; }

/* Filtres des réalisations */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 11px 22px;
  border-radius: 60px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  font-family: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.filter-btn:hover { border-color: var(--gold); color: var(--navy); transform: translateY(-2px); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.gallery-item.hide { display: none; }

/* Cartes de projets des animateurs (chargées depuis la base) */
.projet-meta {
  margin: 6px 0 0;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: rgba(248, 246, 241, 0.82);
}
.projet-desc {
  margin: 8px 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(248, 246, 241, 0.76);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* État vide (aucun projet enregistré, aucun message) */
.empty-state {
  padding: 26px 20px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
}

/* Badges de statut des projets */
.statut {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.statut-encours { background: rgba(200, 164, 92, 0.18); color: var(--gold-dark); border: 1px solid rgba(200, 164, 92, 0.5); }
.statut-avenir { background: rgba(27, 53, 80, 0.1); color: var(--navy-soft-2); border: 1px solid rgba(27, 53, 80, 0.3); }
.statut-termine { background: rgba(46, 125, 80, 0.12); color: #1F5C3A; border: 1px solid rgba(46, 125, 80, 0.35); }
.section-dark .statut-avenir { background: rgba(255, 255, 255, 0.1); color: var(--cream); border-color: rgba(255, 255, 255, 0.3); }

/* ---------- 11. Témoignages ---------- */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.testimonial {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.testimonial:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; }
.testimonial blockquote {
  margin: 0 0 18px;
  font-family: var(--font-title);
  font-size: 1.02rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(200, 164, 92, 0.55);
}
.testimonial-author strong { display: block; font-size: 0.88rem; color: var(--navy); }
.testimonial-author span { font-size: 0.72rem; color: var(--muted); }

/* ---------- 12. Bandeau CTA ---------- */
.cta-band {
  position: relative;
  padding: 64px 0;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-soft-2) 100%);
  overflow: hidden;
  text-align: center;
}
.cta-band::after {
  content: '';
  position: absolute;
  top: -140px;
  right: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 164, 92, 0.22), transparent 65%);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: var(--cream); }
.cta-band p { color: rgba(248, 246, 241, 0.78); max-width: 620px; margin: 0 auto 30px; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }

/* ---------- 13. Page hero interne ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 62px) 0 62px;
  background-image: url('https://images.unsplash.com/photo-1509062522246-3755977927d7?w=1800&q=80');
  background-size: cover;
  background-position: center;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 27, 43, 0.84), rgba(11, 27, 43, 0.9));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--cream); font-size: clamp(1.9rem, 8vw, 3.3rem); }
.page-hero p { color: rgba(248, 246, 241, 0.8); max-width: 660px; margin: 0 auto; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 246, 241, 0.62);
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--gold-light); }

/* ---------- 14. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.form-card {
  padding: 30px 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  max-width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(200, 164, 92, 0.16);
}
.field input::placeholder, .field textarea::placeholder { color: #A9B1B9; }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-card {
  padding: 30px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft-2) 100%);
  color: var(--cream);
  box-shadow: var(--shadow-lg);
}
.contact-card h3 { color: var(--cream); }
.contact-card > p { color: rgba(248, 246, 241, 0.75); }

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-item:last-of-type { border-bottom: none; }
.contact-item-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--glass-border);
  color: var(--gold-light);
}
.contact-item-icon svg { width: 18px; height: 18px; }
.contact-item strong {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 3px;
}
.contact-item a, .contact-item span {
  font-size: 0.92rem;
  color: rgba(248, 246, 241, 0.9);
  word-break: break-word;
}
.contact-item a:hover { color: var(--gold-light); }

.form-msg {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.form-msg.show { display: block; animation: fadeUp 0.45s var(--ease); }
.form-msg.ok { background: rgba(46, 125, 80, 0.12); border: 1px solid rgba(46, 125, 80, 0.35); color: #1F5C3A; }
.form-msg.ko { background: rgba(180, 68, 58, 0.1); border: 1px solid rgba(180, 68, 58, 0.32); color: #8E3229; }

/* Questions fréquentes */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq-item[open] { border-color: rgba(200, 164, 92, 0.6); box-shadow: var(--shadow-sm); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-family: var(--font-title);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex: 0 0 auto;
  font-family: var(--font-text);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gold-dark);
  transition: transform 0.35s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 20px 20px; margin: 0; font-size: 0.93rem; }

/* ---------- 15. Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(248, 246, 241, 0.72);
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer .logo { margin-bottom: 16px; }
.footer-text { font-size: 0.9rem; color: rgba(248, 246, 241, 0.62); }
.footer h4 {
  font-family: var(--font-text);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.9rem;
  color: rgba(248, 246, 241, 0.68);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.footer-links a:hover { color: var(--gold-light); padding-left: 5px; }

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(248, 246, 241, 0.5);
}
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- 16. Animations ---------- */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 164, 92, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(200, 164, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 164, 92, 0); }
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes revealFallback {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  animation: revealFallback 0.9s var(--ease) 0.35s forwards;
}
.reveal.visible { opacity: 1; transform: translateY(0); animation: none; }
.reveal-d1 { transition-delay: 0.10s; animation-delay: 0.45s; }
.reveal-d2 { transition-delay: 0.20s; animation-delay: 0.55s; }
.reveal-d3 { transition-delay: 0.30s; animation-delay: 0.65s; }
.reveal-d4 { transition-delay: 0.40s; animation-delay: 0.75s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-kicker .dot { animation: none; }
}

/* ---------- 16b. Petits utilitaires ---------- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: 34px; }
.mx-auto { margin-left: auto; margin-right: auto; }

.mini-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 26px;
}
.mini-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.mini-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.mini-item svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--gold-dark); margin-top: 3px; }
.mini-item strong { display: block; font-size: 0.92rem; color: var(--navy); margin-bottom: 3px; }
.mini-item span { font-size: 0.85rem; color: var(--muted); }

@media (min-width: 768px) {
  .mini-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

/* ---------- 17. Responsive ---------- */
@media (min-width: 560px) {
  .hero-actions { flex-direction: row; align-items: center; }
  .cta-actions { flex-direction: row; justify-content: center; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  :root { --header-h: 86px; }

  .section { padding: 100px 0; }
  .container { padding: 0 32px; }

  .hero { padding-top: calc(var(--header-h) + 70px); }
  .hero-actions { gap: 16px; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); gap: 0; padding: 26px 10px; }
  .hero-stat + .hero-stat { border-left: 1px solid rgba(255, 255, 255, 0.14); }
  .hero-stat strong { font-size: 2rem; }
  .hero-scroll { display: block; }

  .cards-3d { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: repeat(2, 1fr); gap: 52px; }
  .split-reverse .split-media { order: 2; }
  .split-media img { height: 460px; }
  .contact-grid { grid-template-columns: 1.25fr 0.9fr; gap: 36px; }
  .form-card { padding: 42px 38px; }
  .contact-card { padding: 40px 32px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
  .page-hero { padding: calc(var(--header-h) + 86px) 0 86px; }
  .section-head { margin-bottom: 58px; }
}

@media (min-width: 1024px) {
  .nav { display: flex; }
  .burger { display: none; }
  .mobile-menu { display: none; }
  .header-cta { display: inline-flex; }
  .nav-phone { display: flex; }
  .cards-3d { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .testimonials { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}

/* Très petits écrans : on garde le logo et la navigation lisibles */
@media (max-width: 400px) {
  :root { --header-h: 66px; }
  .logo-mark { width: 36px; height: 36px; font-size: 1rem; border-radius: 10px; }
  .logo-name { font-size: 0.86rem; }
  .logo-sub { font-size: 0.5rem; letter-spacing: 0.16em; }
  .burger { width: 42px; height: 42px; }
  .btn { padding: 14px 22px; font-size: 0.76rem; }
  .hero-stats { padding: 16px 12px; }
  .card3d { padding: 28px 20px 24px; }
  .form-card { padding: 24px 16px; }
  .contact-card { padding: 24px 18px; }
}
