@font-face {
  font-family: 'Gothic';
  src: url('/assets/gothic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Gothic';
  src: url('/assets/gothicb.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

:root {
  --bg:         #0a0e1a;
  --bg2:        #0f1526;
  --bg3:        #141c32;
  --accent:     #1a3a6e;
  --accent2:    #4a8fd4;
  --cyan:       #5bb8f5;
  --text:       #e8eaf0;
  --text-muted: #7b8db0;
  --border:     rgba(74,143,212,0.18);
  --card:       rgba(20,28,50,0.85);
  --glass:      rgba(74,143,212,0.07);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Gothic', sans-serif;
  font-weight: normal;
  line-height: 1.7;
  overflow-x: hidden;
}

b, strong { font-family: 'Gothic', sans-serif; font-weight: bold; color: var(--text); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem;
  height: 72px;
  background: rgba(10,14,26,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-left { display: flex; align-items: center; gap: 2rem; }
.logo-img { height: 44px; width: auto; }
.nav-separator { width: 1px; height: 28px; background: var(--border); }
.nav-tagline { font-size: .72rem; color: var(--text-muted); letter-spacing: .07em; text-transform: uppercase; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: .85rem; letter-spacing: .04em; transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: linear-gradient(135deg, #1a3a6e, #4a8fd4);
  color: #fff !important; padding: .45rem 1.25rem; border-radius: 6px;
  font-size: .85rem !important;
}
.nav-cta:hover { opacity: .85; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 9rem 4rem 6rem;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 65% 35%, rgba(26,58,110,0.28) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 15% 85%, rgba(91,184,245,0.06) 0%, transparent 55%);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 65% 65% at 65% 35%, black 0%, transparent 70%);
  opacity: .3;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 6rem;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 4px; padding: .3rem .9rem;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent2); margin-bottom: 2rem;
}
.hero-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--cyan); animation: pulse 2.5s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.3; transform:scale(1.6); }
}
h1 {
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: normal; line-height: 1.08; letter-spacing: -.02em;
  margin-bottom: 1.75rem;
}
.grad {
  background: linear-gradient(135deg, var(--accent2) 0%, var(--cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; font-weight: bold;
}
.hero-desc {
  font-size: 1rem; color: var(--text-muted); max-width: 480px;
  margin-bottom: 2.5rem; line-height: 1.85;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: linear-gradient(135deg, #1a3a6e, #4a8fd4);
  color: #fff; padding: .8rem 1.8rem; border-radius: 6px;
  font-weight: bold; text-decoration: none; font-size: .9rem;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 0 28px rgba(26,58,110,0.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(74,143,212,0.5); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; border: 1px solid var(--border);
  color: var(--text-muted); padding: .8rem 1.8rem; border-radius: 6px;
  text-decoration: none; font-size: .9rem;
  transition: border-color .2s, color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--accent2); color: var(--text); background: var(--glass); }

/* Hero card */
.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.5rem;
  position: relative; overflow: hidden;
}
.hero-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #1a3a6e, #5bb8f5);
}
.hero-card-label {
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent2); margin-bottom: 1.5rem;
}
.hero-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 1.5rem; }
.kpi { background: var(--bg2); padding: 1.25rem; transition: background .2s; }
.kpi:hover { background: var(--bg3); }
.kpi-val {
  display: block; font-weight: bold; font-size: 2rem;
  background: linear-gradient(135deg, var(--accent2), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1.1;
}
.kpi-lbl { font-size: .72rem; color: var(--text-muted); margin-top: .3rem; }
.hero-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-sm {
  background: var(--glass); border: 1px solid var(--border);
  color: var(--text-muted); padding: .25rem .75rem; border-radius: 4px;
  font-size: .72rem; letter-spacing: .03em;
}

/* ── DIVIDER STATS ── */
.stats-strip {
  display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.stat-item {
  padding: 2.25rem; text-align: center;
  border-right: 1px solid var(--border);
  transition: background .2s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--bg3); }
.stat-num {
  display: block; font-weight: bold; font-size: 2.2rem;
  background: linear-gradient(135deg, var(--accent2), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-lbl { font-size: .75rem; color: var(--text-muted); letter-spacing: .05em; margin-top: .25rem; }

/* ── SECTIONS ── */
section { padding: 7rem 4rem; }
.section-eyebrow {
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent2); margin-bottom: .75rem;
  display: flex; align-items: center; gap: .6rem;
}
.section-eyebrow::before {
  content: ''; display: block; width: 20px; height: 1px; background: var(--accent2);
}
h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: normal; line-height: 1.15; letter-spacing: -.015em; margin-bottom: .75rem;
}
.section-sub { color: var(--text-muted); font-size: .93rem; max-width: 480px; line-height: 1.8; }
.section-head { margin-bottom: 4rem; }

/* ── OFFRE ── */
#offre { background: var(--bg2); }
.offre-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
}
.offre-card {
  background: var(--bg2); padding: 2.5rem;
  transition: background .25s; position: relative; overflow: hidden;
}
.offre-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #1a3a6e, #5bb8f5); opacity: 0; transition: opacity .3s;
}
.offre-card:hover { background: var(--bg3); }
.offre-card:hover::after { opacity: 1; }
.offre-num {
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent2); margin-bottom: 1.25rem; font-weight: bold;
}
.offre-card h3 { font-size: 1.05rem; font-weight: bold; margin-bottom: .75rem; }
.offre-card p  { color: var(--text-muted); font-size: .875rem; line-height: 1.8; }
.offre-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.5rem; }
.tag {
  background: var(--glass); border: 1px solid var(--border);
  color: var(--accent2); padding: .2rem .65rem; border-radius: 4px;
  font-size: .7rem; letter-spacing: .04em;
}

/* ── MISSIONS ── */
#missions { background: var(--bg); }
.missions-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.mission-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 1.75rem; position: relative; overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.mission-card:hover { transform: translateY(-3px); border-color: rgba(74,143,212,0.4); }
.mission-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent2), transparent);
  opacity: 0; transition: opacity .3s;
}
.mission-card:hover::before { opacity: 1; }
.client-name  { font-weight: bold; font-size: .95rem; margin-bottom: .3rem; }
.mission-role { color: var(--accent2); font-size: .78rem; margin-bottom: .6rem; }
.mission-meta { color: var(--text-muted); font-size: .78rem; line-height: 1.6; }
.mission-badge {
  display: inline-block; margin-top: .75rem;
  background: rgba(26,58,110,0.2); border: 1px solid var(--border);
  border-radius: 4px; padding: .18rem .55rem;
  font-size: .68rem; color: var(--cyan);
}

/* ── PROCESS ── */
#process { background: var(--bg2); }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.process-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 10px; padding: 2rem;
}
.process-num {
  font-size: 3rem; font-weight: bold; line-height: 1;
  background: linear-gradient(135deg, rgba(26,58,110,0.6), rgba(91,184,245,0.2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 1.25rem;
}
.process-card h4 { font-size: .95rem; font-weight: bold; margin-bottom: .6rem; }
.process-card p  { font-size: .83rem; color: var(--text-muted); line-height: 1.75; }

/* ── ABOUT ── */
#about { background: var(--bg); }
.about-layout { display: grid; grid-template-columns: 5fr 4fr; gap: 5rem; align-items: start; }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p  { color: var(--text-muted); font-size: .9rem; line-height: 1.9; margin-bottom: 1.1rem; }
.competences { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.competence {
  display: flex; align-items: center; gap: .5rem;
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 4px; padding: .4rem .9rem;
  font-size: .78rem; color: var(--text);
}
.competence-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); flex-shrink: 0; }
.about-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 2.5rem; position: sticky; top: 90px;
  overflow: hidden;
}
.about-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #1a3a6e, #5bb8f5);
}
.founder-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.founder-logo  { height: 52px; width: auto; }
.founder-name  { font-weight: bold; font-size: 1rem; }
.founder-title { font-size: .78rem; color: var(--text-muted); margin-top: .15rem; }
.quote {
  font-size: .88rem; color: var(--text-muted); line-height: 1.85; font-style: italic;
  border-left: 2px solid var(--accent2); padding-left: 1.1rem; margin-bottom: 2rem;
}
.about-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border-radius: 8px; overflow: hidden; }
.about-kpi { background: var(--bg2); padding: 1rem 1.25rem; text-align: center; }
.about-kpi-val {
  display: block; font-weight: bold; font-size: 1.4rem;
  background: linear-gradient(135deg, var(--accent2), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-kpi-lbl { font-size: .68rem; color: var(--text-muted); margin-top: .2rem; }

/* ── CONTACT ── */
#contact { background: var(--bg2); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-left h2 { margin-bottom: 1rem; }
.contact-left > p { color: var(--text-muted); font-size: .9rem; line-height: 1.85; margin-bottom: 1.5rem; }
.contact-info { display: flex; flex-direction: column; gap: .85rem; margin-top: 2rem; }
.contact-line {
  display: flex; align-items: center; gap: .75rem;
  font-size: .85rem; color: var(--text-muted);
}
.contact-icon { color: var(--accent2); font-size: 1rem; flex-shrink: 0; }
.contact-line a { color: var(--accent2); text-decoration: none; }
.contact-line a:hover { color: var(--cyan); }
.contact-form-box {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 2.5rem; position: relative; overflow: hidden;
}
.contact-form-box::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #1a3a6e, #5bb8f5);
}
.form-label {
  display: block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent2); margin-bottom: .45rem; margin-top: 1.2rem;
}
.form-label:first-of-type { margin-top: 0; }
.form-input, .form-textarea {
  width: 100%; background: var(--bg2); border: 1px solid var(--border);
  border-radius: 6px; padding: .65rem .9rem;
  color: var(--text); font-family: 'Gothic', sans-serif; font-size: .875rem;
  transition: border-color .2s; outline: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--accent2); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-copy { display: flex; align-items: center; gap: .6rem; margin-top: 1rem; }
.form-copy input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent2); cursor: pointer; flex-shrink: 0; }
.form-copy label { font-size: .8rem; color: var(--text-muted); cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  margin-top: 1.5rem; width: 100%;
  background: linear-gradient(135deg, #1a3a6e, #4a8fd4);
  color: #fff; border: none; border-radius: 6px;
  padding: .85rem; font-family: 'Gothic', sans-serif;
  font-weight: bold; font-size: .9rem; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 0 24px rgba(26,58,110,0.4);
}
.form-submit:hover { transform: translateY(-1px); box-shadow: 0 0 36px rgba(74,143,212,0.45); }

/* ── FOOTER ── */
footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 2rem 4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.footer-left { display: flex; align-items: center; gap: 1.5rem; }
.footer-logo { height: 36px; width: auto; }
.footer-sep { width: 1px; height: 22px; background: var(--border); }
footer p { font-size: .75rem; color: var(--text-muted); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(22px); }
  to   { opacity:1; transform:translateY(0); }
}
.fade { opacity:0; animation: fadeUp .7s ease forwards; }
.d1 { animation-delay: .05s; }
.d2 { animation-delay: .15s; }
.d3 { animation-delay: .25s; }
.d4 { animation-delay: .35s; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .hero-layout { grid-template-columns: 1fr; gap: 3rem; }
  .hero-card { max-width: 480px; }
  .about-layout { grid-template-columns: 1fr; gap: 3rem; }
  .about-card { position: static; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-tagline { display: none; }
  section { padding: 5rem 1.5rem; }
  #hero { padding: 7rem 1.5rem 4rem; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .offre-grid { grid-template-columns: 1fr; }
  .missions-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  footer { flex-direction: column; text-align: center; gap: .75rem; }
  .footer-left { flex-direction: column; gap: .5rem; }
  .footer-sep { display: none; }
}

.status-banner {
  position: fixed; top: 80px; left: 50%; transform: translateX(-50%);
  z-index: 999; padding: 12px 28px; border-radius: 6px;
  font-size: .9rem; box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  white-space: nowrap; display: none;
}
.status-banner.ok    { background: #0d2b1a; color: #4ade80; border: 1px solid rgba(74,222,128,0.3); }
.status-banner.error { background: #2b0d0d; color: #f87171; border: 1px solid rgba(248,113,113,0.3); }
