/* ==========================================================================
   DIAMBUS : DIAMBARS BUSINESS SERVICES
   Feuille de style principale : direction « bleu nuit & or », style SaaS moderne
   Sommaire :
   1. Variables   2. Base   3. Boutons & pastilles   4. Navigation
   5. Hero        6. Bandeau défilant   7. Cartes / bento   8. Services
   9. Bandeau cinéma   10. Étapes   11. Chiffres   12. À propos
   13. FAQ   14. CTA   15. Pages secondaires   16. Contact   17. Footer
   18. Actions flottantes   19. Animations   20. Responsive
   ========================================================================== */

/* ---------- 1. Variables ---------- */
:root {
  --navy-975: #050b1a;
  --navy-950: #070f24;
  --navy-900: #0a1530;
  --navy-800: #0f1f45;
  --navy-700: #17305f;
  --sky: #8fb8e8;

  --gold: #d4a93a;
  --gold-light: #f0cf7a;
  --gold-dark: #a37f1f;

  --text: #eef2fb;
  --muted: #9fb0cf;
  --subtle: #6f82a6;

  --line: rgba(255, 255, 255, 0.08);
  --line-gold: rgba(212, 169, 58, 0.35);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-strong: rgba(255, 255, 255, 0.07);

  --font-heading: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  --glow-gold: 0 10px 40px -8px rgba(212, 169, 58, 0.55);

  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

img, picture, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; }

body {
  font-family: var(--font-body);
  background: var(--navy-975);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  font-weight: 700;
}

h1 { font-size: clamp(2.35rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }

p { color: var(--muted); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section--tint { background: linear-gradient(180deg, var(--navy-950), var(--navy-900) 50%, var(--navy-950)); }

.grad {
  background: linear-gradient(100deg, var(--gold-light), var(--gold) 55%, #fff3cf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { max-width: 700px; margin-bottom: 3.2rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin: 1rem 0 1rem; }
.section-head p { font-size: 1.05rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line-gold);
  background: rgba(212, 169, 58, 0.08);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- 3. Boutons & pastilles ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, border-color 0.3s;
  border: 1px solid transparent;
  max-width: 100%;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-dark));
  color: #1a1304;
  box-shadow: var(--glow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 50px -8px rgba(212, 169, 58, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.45); }

.btn-ghost {
  background: var(--glass-strong);
  border-color: var(--line);
  color: #fff;
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--line-gold); background: rgba(212, 169, 58, 0.1); }

.btn-whatsapp {
  background: #25d366;
  color: #05210f;
  box-shadow: 0 10px 34px -8px rgba(37, 211, 102, 0.55);
}
.btn-whatsapp:hover { transform: translateY(-3px); background: #2fe173; }
.btn-whatsapp i { font-size: 1.2rem; }

.form-actions { display: grid; gap: 0.8rem; margin-top: 0.4rem; }

.btn-sm { padding: 0.62rem 1.2rem; font-size: 0.86rem; }
.btn-block { width: 100%; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 0.5rem 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text);
  backdrop-filter: blur(10px);
  transition: border-color 0.3s;
}
.pill:hover { border-color: var(--line-gold); }
.pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6);
  animation: ping 2s infinite;
}
.pill .pill-arrow {
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(212, 169, 58, 0.18);
  color: var(--gold-light);
  font-size: 0.65rem;
}

/* ---------- 4. Navigation ---------- */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; padding: 0 1rem; }

.nav-pill {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.55rem 0.5rem 1.1rem;
  border-radius: 999px;
  background: rgba(7, 15, 36, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.site-header.scrolled .nav-pill {
  background: rgba(7, 15, 36, 0.85);
  border-color: var(--line-gold);
  box-shadow: 0 14px 40px -12px rgba(0, 0, 0, 0.7);
}

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-logo {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 0 0 2px rgba(212, 169, 58, 0.25), 0 6px 18px -4px rgba(0, 0, 0, 0.6);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.06em; color: #fff; }
.brand-name span { color: var(--gold); }
.brand-baseline { font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--subtle); margin-top: 3px; }

.nav-links { display: flex; gap: 0.3rem; }
.nav-links a {
  position: relative;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: #fff; background: var(--glass-strong); }
.nav-links a.active { color: #fff; background: rgba(212, 169, 58, 0.14); box-shadow: inset 0 0 0 1px var(--line-gold); }

.nav-cta { display: flex; align-items: center; gap: 0.8rem; }
.nav-phone { display: none; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.9rem; color: var(--gold-light); }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.hamburger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile (plein écran, frère du header pour éviter le piège du backdrop-filter) */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: radial-gradient(circle at 80% 0%, rgba(212, 169, 58, 0.14), transparent 50%), var(--navy-975);
  padding: 7rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.35s, transform 0.35s var(--ease), visibility 0.35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu ul { display: flex; flex-direction: column; }
.mobile-menu li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
}
.mobile-menu li a i { color: var(--gold); font-size: 0.9rem; }
.mobile-menu .mm-actions { display: grid; gap: 0.8rem; margin-top: auto; }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  padding: 10rem 0 5rem;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.55; }
.blob-1 { width: 520px; height: 520px; background: var(--navy-700); top: -140px; left: -120px; }
.blob-2 { width: 420px; height: 420px; background: rgba(212, 169, 58, 0.35); top: 120px; right: -120px; opacity: 0.45; animation: float 9s ease-in-out infinite; }
.blob-3 { width: 360px; height: 360px; background: #1c4a99; bottom: -160px; left: 35%; opacity: 0.4; }

.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 3.5rem; align-items: center; }

.hero-copy h1 { margin: 1.5rem 0 1.4rem; }
.hero-copy > p { font-size: 1.15rem; max-width: 540px; margin-bottom: 2.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-points { display: flex; flex-wrap: wrap; gap: 0.8rem 1.6rem; margin-top: 2.4rem; }
.hero-points li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; color: var(--muted); }
.hero-points i { color: var(--gold); }

.hero-visual { position: relative; }
.visual-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255, 255, 255, 0.025);
  background: var(--navy-900);
}
.visual-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.visual-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 11, 26, 0.75));
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(10, 21, 48, 0.72);
  border: 1px solid var(--line-gold);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}
.float-card .ic {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #1a1304;
}
.float-card strong { display: block; font-family: var(--font-heading); font-size: 0.95rem; color: #fff; line-height: 1.2; }
.float-card span { font-size: 0.75rem; color: var(--muted); }
.float-card--a { left: -2rem; bottom: 4.5rem; animation: float 7s ease-in-out infinite; }
.float-card--b { right: -1.2rem; top: 2.2rem; animation: float 8s ease-in-out infinite reverse; }

.visual-thumb {
  position: absolute;
  z-index: 2;
  right: -1.5rem;
  bottom: -1.8rem;
  width: 52%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--line-gold);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}
.visual-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 6. Bandeau défilant ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  padding: 1.15rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; gap: 3rem; animation: marquee 36s linear infinite; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-heading);
  font-size: 0.95rem; font-weight: 600;
  color: var(--subtle);
  text-transform: uppercase; letter-spacing: 0.1em;
  white-space: nowrap;
}
.marquee-track i { color: var(--gold); font-size: 0.7rem; }

/* ---------- 7. Cartes / bento ---------- */
.card {
  position: relative;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  padding: 1.9rem;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-gold); }

/* Halo qui suit la souris */
.spot::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(212, 169, 58, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.spot:hover::before { opacity: 1; }

.icon-box {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center;
  font-size: 1.3rem;
  color: var(--gold-light);
  background: linear-gradient(145deg, rgba(212, 169, 58, 0.22), rgba(212, 169, 58, 0.05));
  border: 1px solid var(--line-gold);
  margin-bottom: 1.3rem;
}

.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
.bento .b-lg { grid-column: span 4; }
.bento .b-md { grid-column: span 2; }
.bento .b-sm { grid-column: span 2; }
.bento .b-wide { grid-column: span 4; }

.card--feature { display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; padding: 0; }
.card--feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: transform 0.8s var(--ease), opacity 0.4s; }
.card--feature:hover img { transform: scale(1.05); opacity: 0.7; }
.card--feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 11, 26, 0.1), rgba(5, 11, 26, 0.92) 85%); }
.card--feature .card-body { position: relative; z-index: 1; padding: 1.9rem; }

.big-stat { font-family: var(--font-heading); font-size: 3.6rem; font-weight: 700; line-height: 1; margin-bottom: 0.5rem; }

/* ---------- 8. Services ---------- */
.grid { display: grid; gap: 1.1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.service-card .more {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.2rem;
  font-size: 0.85rem; font-weight: 600; color: var(--gold-light);
}
.service-card .more i { transition: transform 0.3s var(--ease); }
.service-card:hover .more i { transform: translateX(5px); }

.service-list { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px dashed var(--line); display: grid; gap: 0.5rem; }
.service-list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.service-list i { color: var(--gold); margin-top: 0.3rem; font-size: 0.75rem; }

.card-num {
  position: absolute; top: 1.3rem; right: 1.5rem;
  font-family: var(--font-heading); font-size: 2.6rem; font-weight: 700;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}

/* ---------- 9. Bandeau cinéma ---------- */
.cinema {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-block: 1px solid var(--line-gold);
  isolation: isolate;
}
.cinema > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; }
.cinema::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 11, 26, 0.96) 0%, rgba(5, 11, 26, 0.8) 38%, rgba(5, 11, 26, 0.1) 75%),
    linear-gradient(180deg, rgba(5, 11, 26, 0.5), transparent 25%, transparent 70%, rgba(5, 11, 26, 0.8));
}
.cinema-content { max-width: 560px; padding: 4rem 0; }
.cinema-content h2 { margin: 1rem 0 1.1rem; }
.cinema-content p { font-size: 1.05rem; margin-bottom: 1.6rem; }
.cinema-list { display: grid; gap: 0.7rem; margin-bottom: 2rem; }
.cinema-list li { display: flex; align-items: center; gap: 0.75rem; color: #dfe7f7; font-weight: 500; }
.cinema-list i {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(212, 169, 58, 0.18); color: var(--gold-light); font-size: 0.7rem;
}

/* ---------- 10. Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: step; position: relative; }
.step { position: relative; padding: 1.8rem 1.6rem; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--glass); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700;
  background: linear-gradient(180deg, var(--gold-light), rgba(212, 169, 58, 0.15));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 0.8rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.92rem; }

/* ---------- 11. Chiffres ---------- */
.stats-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(circle at 15% 0%, rgba(212, 169, 58, 0.16), transparent 50%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border: 1px solid var(--line-gold);
  overflow: hidden;
}
.stats-wrap::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/pattern-security.jpg") center/cover;
  opacity: 0.07; mix-blend-mode: luminosity;
}
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-number { font-family: var(--font-heading); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; line-height: 1; }
.stat-label { margin-top: 0.6rem; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ---------- 12. À propos ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split--rev > :first-child { order: 2; }

.portrait-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 460px;
  border: 1px solid var(--line-gold);
  background: var(--navy-900) url("../assets/fondateur.jpg") center/cover no-repeat;
  box-shadow: var(--shadow-lg);
}
.portrait-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(15, 31, 69, 0.55), rgba(5, 11, 26, 0.55)); }
.portrait-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5, 11, 26, 0.95)); }
.portrait-caption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 1.8rem; }
.portrait-caption strong { display: block; font-family: var(--font-heading); font-size: 1.3rem; color: #fff; }
.portrait-caption span { font-size: 0.88rem; color: var(--gold-light); }
.portrait-badge {
  position: absolute; z-index: 1; top: 1.4rem; left: 1.4rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.9rem; border-radius: 999px;
  background: rgba(10, 21, 48, 0.7); border: 1px solid var(--line-gold);
  backdrop-filter: blur(10px);
  font-size: 0.78rem; font-weight: 600; color: var(--gold-light);
}

.check-list { display: grid; gap: 0.95rem; margin: 1.6rem 0; }
.check-list li { display: flex; gap: 0.8rem; align-items: flex-start; color: #d8e1f3; font-size: 0.97rem; }
.check-list i {
  flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(212, 169, 58, 0.16); color: var(--gold-light); font-size: 0.65rem; margin-top: 0.15rem;
}

.legal-box { border-radius: var(--radius-md); border: 1px solid var(--line-gold); background: var(--glass); padding: 0.6rem 1.8rem; }
.legal-box dl > div { display: grid; grid-template-columns: 160px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.legal-box dl > div:last-child { border-bottom: none; }
.legal-box dt { color: var(--gold-light); font-weight: 600; font-size: 0.9rem; }
.legal-box dd { color: #d8e1f3; font-size: 0.95rem; }

/* ---------- 13. FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 0.8rem; }
.faq details { border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--glass); transition: border-color 0.3s, background 0.3s; }
.faq details[open] { border-color: var(--line-gold); background: rgba(212, 169, 58, 0.05); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading); font-weight: 600; font-size: 1.02rem; color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--gold); transition: transform 0.3s var(--ease); font-size: 0.85rem; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 1.5rem 1.4rem; font-size: 0.95rem; }

/* ---------- 14. CTA ---------- */
.cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: var(--radius-lg);
  padding: clamp(2.8rem, 7vw, 5rem) 1.5rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 169, 58, 0.28), transparent 60%),
    linear-gradient(160deg, var(--navy-700), var(--navy-900));
  border: 1px solid var(--line-gold);
  isolation: isolate;
}
.cta-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}
.cta-card h2 { max-width: 680px; margin: 0 auto 1rem; }
.cta-card p { max-width: 520px; margin: 0 auto 2rem; color: #c3d0ea; }
.cta-card .hero-actions { justify-content: center; }

/* ---------- 15. Pages secondaires ---------- */
.page-hero { position: relative; padding: 10.5rem 0 4.5rem; text-align: center; overflow: hidden; isolation: isolate; }
.page-hero .hero-bg::before { mask-image: radial-gradient(ellipse 60% 90% at 50% 0%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 90% at 50% 0%, #000 20%, transparent 75%); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 1.2rem auto 1rem; max-width: 800px; }
.page-hero p { max-width: 620px; margin: 0 auto; font-size: 1.1rem; }
.breadcrumb { margin-top: 1.4rem; font-size: 0.85rem; color: var(--subtle); }
.breadcrumb a { color: var(--gold-light); }
.breadcrumb .sep { margin: 0 0.6rem; }

.mission-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.mission { position: relative; padding: 1.6rem 1.4rem 1.5rem; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--glass); transition: transform 0.4s var(--ease), border-color 0.4s; }
.mission:hover { transform: translateY(-5px); border-color: var(--line-gold); }
.mission .num { font-family: var(--font-heading); font-weight: 700; font-size: 0.8rem; color: var(--gold); letter-spacing: 0.1em; }
.mission h3 { font-size: 1.02rem; margin: 0.7rem 0 0.4rem; }
.mission p { font-size: 0.88rem; }

/* ---------- 16. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: start; }
.form-card { padding: clamp(1.6rem, 4vw, 2.6rem); border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)); }
.form-card h2 { font-size: 1.8rem; margin-bottom: 0.4rem; }
.form-group { margin-bottom: 1.15rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

label { display: block; margin-bottom: 0.45rem; font-size: 0.82rem; font-weight: 600; color: var(--gold-light); letter-spacing: 0.02em; }
input, textarea, select {
  width: 100%;
  padding: 0.9rem 1.05rem;
  background: rgba(5, 11, 26, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
}
input::placeholder, textarea::placeholder { color: var(--subtle); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 169, 58, 0.15); }
select option { background: var(--navy-900); }
textarea { min-height: 140px; resize: vertical; }

.form-note { font-size: 0.8rem; color: var(--subtle); margin-top: 0.9rem; }
.form-success {
  display: none; align-items: center; gap: 0.6rem;
  background: rgba(61, 220, 132, 0.1); border: 1px solid rgba(61, 220, 132, 0.4);
  color: #a9efc8; padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1.2rem; font-size: 0.9rem;
}
.form-success.visible { display: flex; }

.info-stack { display: grid; gap: 1.1rem; }
.info-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.3rem; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--glass); transition: border-color 0.3s; }
.info-row:hover { border-color: var(--line-gold); }
.info-row .ic { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--gold-light); background: rgba(212, 169, 58, 0.12); border: 1px solid var(--line-gold); }
.info-row strong { display: block; font-family: var(--font-heading); font-size: 0.95rem; color: #fff; margin-bottom: 0.15rem; }
.info-row span, .info-row a { font-size: 0.92rem; color: var(--muted); }
.info-row a:hover { color: var(--gold-light); }

.map-wrap { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line-gold); min-height: 280px; filter: grayscale(0.5) invert(0.9) hue-rotate(180deg) contrast(0.9); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 280px; border: 0; display: block; }

/* ---------- 17. Footer ---------- */
.site-footer { position: relative; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--navy-975), #030813); padding-top: 4.5rem; }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 40%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand { display: inline-flex; align-items: center; gap: 0.7rem; margin-bottom: 1.1rem; }
.footer-about p { font-size: 0.92rem; max-width: 320px; margin-bottom: 1.3rem; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); display: grid; place-items: center; color: var(--muted); transition: all 0.3s var(--ease); }
.footer-social a:hover { background: var(--gold); color: #1a1304; border-color: var(--gold); transform: translateY(-3px); }
.footer-title { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 1.3rem; }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a { font-size: 0.92rem; color: var(--muted); transition: color 0.25s, padding 0.25s; }
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact li { display: flex; gap: 0.7rem; align-items: flex-start; margin-bottom: 0.9rem; font-size: 0.92rem; color: var(--muted); }
.footer-contact i { color: var(--gold); margin-top: 0.3rem; width: 16px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; align-items: center; justify-content: space-between; padding: 1.5rem 0; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--subtle); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }

/* ---------- 18. Actions flottantes ---------- */
.float-actions { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 80; display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-end; }
.fl-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  height: 54px; min-width: 54px; padding: 0 1.15rem;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 12px 30px -6px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s var(--ease);
}
.fl-btn:hover { transform: translateY(-3px) scale(1.03); }
.fl-btn i { font-size: 1.2rem; }
.fl-call { background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); color: #1a1304; animation: pulse-gold 2.6s infinite; }
.fl-wa { background: #25d366; color: #05210f; }
.fl-btn span { display: none; }
.to-top {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-800); border: 1px solid var(--line-gold); color: var(--gold-light);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.3s;
}
.to-top.visible { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- 19. Animations ---------- */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
html.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } }
@keyframes pulse-gold {
  0% { box-shadow: 0 12px 30px -6px rgba(0, 0, 0, 0.6), 0 0 0 0 rgba(212, 169, 58, 0.5); }
  70%, 100% { box-shadow: 0 12px 30px -6px rgba(0, 0, 0, 0.6), 0 0 0 16px rgba(212, 169, 58, 0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* ---------- 20. Responsive ---------- */
@media (min-width: 1000px) { .nav-phone { display: flex; } }
@media (min-width: 640px) { .fl-btn span { display: inline; } }

@media (max-width: 960px) {
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  .hero { padding-top: 8.5rem; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .split--rev > :first-child { order: 0; }
  .hero-visual { max-width: 480px; margin: 0 auto; width: 100%; }
  .float-card--a { left: -0.5rem; }
  .float-card--b { right: -0.5rem; }
  .visual-thumb { right: -0.5rem; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .b-lg, .bento .b-wide { grid-column: span 2; }
  .bento .b-md, .bento .b-sm { grid-column: span 1; }
  .grid-4, .steps, .mission-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cinema::before { background: linear-gradient(180deg, rgba(5, 11, 26, 0.55), rgba(5, 11, 26, 0.92)); }
}

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2, .steps, .mission-grid, .form-row { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento .b-lg, .bento .b-wide, .bento .b-md, .bento .b-sm { grid-column: span 1; }
  .hero-actions .btn { width: 100%; }
  .float-card { padding: 0.6rem 0.8rem; }
  .float-card--b { display: none; }
  .legal-box dl > div { grid-template-columns: 1fr; gap: 0.2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .brand-baseline { display: none; }
  .stat + .stat { border-left: none; }
}

/* Évite les débordements horizontaux dans les grilles */
.hero-grid > *, .split > *, .contact-grid > *, .grid > *, .bento > * { min-width: 0; }
.marquee { max-width: 100vw; }
