/* ═══════════════════════════
   VARIABLES DESIGN SYSTEM
═══════════════════════════ */
:root {
  --navy:    #090E1A;
  --navy2:   #0D1526;
  --navy3:   #111D33;
  --navy4:   #162040;
  --gold:    #C8974A;
  --gold2:   #E0B870;
  --gold3:   #8A6228;
  --steel:   #7A93AE;
  --steel2:  #B8CCDC;
  --white:   #EEF2F7;
  --rule:    rgba(200,151,74,0.18);
  --rule2:   rgba(200,151,74,0.08);
  --glow:    rgba(200,151,74,0.06);
  --serif:   'Playfair Display', Georgia, serif;
  --mono:    'DM Mono', monospace;
  --sans:    'Epilogue', sans-serif;
  --trans:   all 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--navy) !important;
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
  margin: 0;
}

/* ─── SCANLINES — désactivé ─── */

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold3); border-radius: 2px; }

/* ─── ANIMATIONS GLOBALES ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(200,151,74,0.4); }
  50%      { opacity: 0.6; box-shadow: 0 0 0 4px rgba(200,151,74,0); }
}
@keyframes blink { 50% { opacity: 0; } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes expandRule { to { width: 80px; } }
@keyframes progressFill { to { width: 78%; } }

/* ─── BOUTONS ─── */
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 32px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--gold);
  transition: var(--trans);
  cursor: pointer;
  border-radius: 2px;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--gold2);
  border-color: var(--gold2);
  box-shadow: 0 0 24px rgba(200,151,74,0.25);
  color: var(--navy);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--steel2);
  padding: 14px 24px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(184,204,220,0.2);
  transition: var(--trans);
  cursor: pointer;
  border-radius: 2px;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }

/* ─── EYEBROW ─── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--gold);
}
.pulse-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

/* ─── SECTION COMMONS ─── */
.section-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--gold); }

.section-intro {
  font-size: 15px;
  color: var(--steel2);
  line-height: 1.85;
  font-weight: 300;
  max-width: 560px;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--rule2) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule2) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 0;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(200,151,74,0.04) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(13,21,38,0.8) 0%, transparent 60%);
  z-index: 1;
}
.hero-left {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem 4rem;
}
.hero-right {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  padding: 4rem 3rem;
  border-left: 1px solid var(--rule);
}
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.5s;
}
.hero-title em { font-style: italic; color: var(--gold); display: block; }
.hero-rule {
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 2rem;
  animation: expandRule 0.8s ease forwards 0.9s;
}
.hero-sub {
  font-size: 15px;
  color: var(--steel2);
  max-width: 460px;
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.7s;
}
.hero-actions {
  display: flex; gap: 1.2rem; align-items: center;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.9s;
}
.hero-credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 1.1s;
}
.cred-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.cred-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--steel);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ─── TERMINAL ─── */
.terminal-wrap { width: 100%; max-width: 500px; opacity: 0; animation: fadeUp 0.7s ease forwards 1s; }
.terminal {
  background: rgba(13,21,38,0.9);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(200,151,74,0.05);
}
.terminal-bar {
  background: rgba(22,32,64,0.8);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--rule);
}
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-dot.r { background: #FF5F57; }
.t-dot.y { background: #FEBC2E; }
.t-dot.g { background: #28C840; }
.t-filename { font-family: var(--mono); font-size: 11px; color: var(--steel); margin-left: auto; letter-spacing: 0.1em; }
.terminal-body { padding: 1.5rem; font-family: var(--mono); font-size: 12px; line-height: 2; }
.t-p { color: var(--gold); }
.t-c { color: var(--steel2); }
.t-o { color: var(--steel); }
.t-h { color: #4ADE80; }
.t-w { color: #FBBF24; }
.t-r { color: #F87171; }
.cursor-blink {
  display: inline-block; width: 8px; height: 14px;
  background: var(--gold); vertical-align: middle; margin-left: 2px;
  animation: blink 1.1s step-end infinite;
}

/* ─── MISSION CARD ─── */
.mission-card {
  background: rgba(13,21,38,0.95);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.9s;
}
.mission-card-header {
  background: rgba(22,32,64,0.8);
  padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}
.mission-id { display: flex; align-items: center; gap: 10px; }
.mission-id-label { font-family: var(--mono); font-size: 9px; letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase; }
.mission-id-num { font-family: var(--mono); font-size: 10px; color: var(--steel); letter-spacing: 0.12em; }
.mission-badge-confidentiel {
  font-family: var(--mono); font-size: 8px; letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(248,113,113,0.12); color: #F87171;
  border: 1px solid rgba(248,113,113,0.3); padding: 3px 10px; border-radius: 2px;
}
.mission-rows { padding: 12px 16px; display: flex; flex-direction: column; gap: 0; }
.mission-row { display: flex; align-items: center; gap: 1rem; padding: 7px 0; border-bottom: 1px solid rgba(200,151,74,0.07); }
.mission-row:last-child { border-bottom: none; }
.mission-key { font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; color: var(--steel); text-transform: uppercase; min-width: 72px; flex-shrink: 0; }
.mission-val { font-family: var(--mono); font-size: 11px; color: var(--steel2); letter-spacing: 0.05em; }
.mission-redacted { background: var(--steel); color: transparent; border-radius: 2px; user-select: none; font-size: 10px; padding: 0 4px; }
.mission-val-alert { color: #FBBF24; }
.mission-row-progress { align-items: center; }
.mission-progress-wrap { display: flex; align-items: center; gap: 10px; flex: 1; }
.mission-progress-bar { flex: 1; height: 4px; background: rgba(200,151,74,0.12); border-radius: 2px; overflow: hidden; max-width: 120px; }
.mission-progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold2)); border-radius: 2px; animation: progressFill 1.4s cubic-bezier(0.4,0,0.2,1) forwards 1.2s; }
.mission-progress-label { font-family: var(--mono); font-size: 10px; color: var(--gold); white-space: nowrap; }

/* ─── TICKER ─── */
.ticker-wrap {
  margin-top: 1rem;
  background: rgba(9,14,26,0.7);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 8px 16px;
  display: flex; gap: 2rem; align-items: center;
  overflow: hidden;
}
.ticker-label { font-family: var(--mono); font-size: 9px; color: var(--gold); letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; }
.ticker-items { display: flex; gap: 2.5rem; animation: ticker 20s linear infinite; }
.ticker-item { font-family: var(--mono); font-size: 10px; color: var(--steel); letter-spacing: 0.1em; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.ticker-item .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: 0.5; }

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--navy2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 4rem;
  display: flex; justify-content: center; align-items: center;
  gap: 4rem; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; color: var(--steel); letter-spacing: 0.12em; text-transform: uppercase; }
.trust-icon { width: 20px; height: 20px; color: var(--gold); opacity: 0.8; }

/* ─── SERVICES GRID ─── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: 3rem; }
.svc-card { background: var(--navy); padding: 2.5rem; position: relative; overflow: hidden; transition: background 0.4s; cursor: pointer; text-decoration: none; display: block; }
.svc-card:hover { background: var(--navy3); }
.svc-card::after { content: ''; position: absolute; left: 0; bottom: 0; top: 0; width: 0; background: var(--gold); transition: width 0.35s ease; }
.svc-card:hover::after { width: 3px; }
.svc-num { font-family: var(--mono); font-size: 10px; color: var(--gold); letter-spacing: 0.2em; margin-bottom: 1.5rem; opacity: 0.7; }
.svc-icon { font-family: var(--serif); font-style: italic; font-size: 2.8rem; color: var(--gold); opacity: 0.2; line-height: 1; margin-bottom: 1rem; display: block; transition: opacity 0.3s; }
.svc-card:hover .svc-icon { opacity: 0.4; }
.svc-name { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--white); margin-bottom: 0.75rem; line-height: 1.25; }
.svc-desc { font-size: 13px; color: var(--steel); line-height: 1.75; font-weight: 300; }
.svc-arrow { position: absolute; right: 1.5rem; bottom: 1.5rem; color: var(--gold); opacity: 0; transition: opacity 0.3s, transform 0.3s; font-size: 1.2rem; }
.svc-card:hover .svc-arrow { opacity: 1; transform: translate(3px, -3px); }

/* ─── METHODOLOGY ─── */
.method-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.method-step { display: grid; grid-template-columns: 60px 1fr; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--rule); }
.step-num { font-family: var(--serif); font-style: italic; font-size: 3rem; color: var(--gold); opacity: 0.25; line-height: 1; padding-top: 4px; transition: opacity 0.3s; }
.method-step:hover .step-num { opacity: 0.6; }
.step-name { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--white); margin-bottom: 0.5rem; }
.step-desc { font-size: 13px; color: var(--steel); line-height: 1.75; font-weight: 300; }
.commit-panel { background: var(--navy2); border: 1px solid var(--rule); padding: 2.5rem; position: sticky; top: 90px; }
.commit-title { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold); margin-bottom: 2rem; line-height: 1.2; }
.commit-item { display: flex; gap: 14px; padding: 1rem 0; border-bottom: 1px solid var(--rule2); font-size: 13px; color: var(--steel2); line-height: 1.65; font-weight: 300; align-items: flex-start; }
.commit-item:last-child { border-bottom: none; }
.commit-bullet { color: var(--gold); font-family: var(--mono); font-size: 14px; flex-shrink: 0; padding-top: 1px; }

/* ─── TÉMOIGNAGES ─── */
.test-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.test-card { background: var(--navy2); border: 1px solid var(--rule); border-top: 3px solid transparent; padding: 2.5rem 2rem; transition: border-top-color 0.3s; }
.test-card:hover { border-top-color: var(--gold); }
.test-stars { display: flex; gap: 4px; margin-bottom: 1.5rem; }
.star { color: var(--gold); font-size: 14px; }
.test-text { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--steel2); line-height: 1.75; margin-bottom: 1.5rem; }
.test-author { font-family: var(--mono); font-size: 10px; color: var(--steel); letter-spacing: 0.15em; text-transform: uppercase; border-top: 1px solid var(--rule); padding-top: 1rem; }

/* ─── CTA BAND ─── */
.cta-band { background: var(--navy2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 5rem 4rem; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3rem; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 40%; background: radial-gradient(ellipse at right, rgba(200,151,74,0.04) 0%, transparent 70%); }
.cta-title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 400; color: var(--white); line-height: 1.2; }
.cta-title em { font-style: italic; color: var(--gold); }
.cta-sub { font-size: 14px; color: var(--steel); margin-top: 0.75rem; font-weight: 300; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 5rem 1.5rem 4rem; }
  .trust-bar { padding: 1.5rem; gap: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .method-layout { grid-template-columns: 1fr; }
  .test-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; text-align: center; }
  .hero-credentials { gap: 1rem 1.5rem; }
}
