/* ===================================================
   REPROG59 — Feuille de style globale
   =================================================== */

:root {
  --bg: #080808;
  --bg-2: #111111;
  --bg-3: #1a1a1a;
  --card: #141414;
  --card-hover: #1b1b1b;
  --border: rgba(255,255,255,0.07);
  --border-2: rgba(255,255,255,0.12);

  --accent: #e8500a;
  --accent-bright: #ff6b2b;
  --accent-soft: rgba(232,80,10,0.12);
  --accent-glow: rgba(232,80,10,0.35);

  --white: #f2ede8;
  --text: #f2ede8;
  --muted: rgba(242,237,232,0.55);
  --muted-2: rgba(242,237,232,0.38);

  --success: #2a9d4e;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── TOPBAR ─── */
.topbar {
  background: rgba(8,8,8,0.95);
  border-bottom: 1px solid var(--border);
  padding: 9px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--muted);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  backdrop-filter: blur(12px);
}
.topbar a { color: var(--text); transition: color .2s; }
.topbar a:hover { color: var(--accent-bright); }
.topbar-zone { display: flex; align-items: center; gap: 8px; }
.topbar-zone::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent-bright);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:.5; transform:scale(1.4); }
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 38px; left: 0; right: 0;
  z-index: 199;
  background: rgba(8,8,8,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 5%;
  height: 68px;
  gap: 20px;
}
nav .logo { justify-self: start; }
nav .nav-cta-wrap { justify-self: end; }
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}
.logo img {
  height: 28px;
  width: auto;
  display: block;
  transition: filter .2s, transform .15s;
}
.logo:hover img { filter: drop-shadow(0 0 8px var(--accent-glow)); transform: translateY(-1px); }
/* footer logo slightly larger */
footer .logo img { height: 32px; }
/* kept for backwards compat if any page still uses .logo-mark/.accent */
.logo .accent { color: var(--accent-bright); }
.logo-mark { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  justify-self: center;
}
.nav-links a {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--accent-bright); }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 18px 10px 16px;
  border-radius: 100px;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(232,80,10,0.3);
}
.nav-cta:hover {
  background: var(--accent-bright) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--accent-glow);
}
.nav-cta svg { width: 14px; height: 14px; fill: #fff; }

/* Mobile toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
}
.mobile-toggle svg { width: 22px; height: 22px; fill: currentColor; }

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 6px 24px rgba(232,80,10,0.28);
}
.btn-primary:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--accent-glow);
}
.btn-primary svg { width: 14px; height: 14px; fill: #fff; }

.btn-outline {
  color: var(--white);
  padding: 13px 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 100px;
  border: 1px solid var(--border-2);
  background: rgba(255,255,255,0.02);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color .2s, background .2s;
  cursor: pointer;
}
.btn-outline:hover {
  border-color: rgba(232,80,10,0.5);
  background: var(--accent-soft);
}

/* ─── SECTIONS ─── */
section { padding: 110px 5%; position: relative; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 64px; }
.section-tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-bright);
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--accent-soft);
  border: 1px solid rgba(232,80,10,0.2);
  margin-bottom: 20px;
}
h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
h2 em { font-style: normal; color: var(--accent-bright); }
.section-lead {
  font-size: 16.5px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto;
}

/* ─── PAGE HERO (pour pages internes) ─── */
.page-hero {
  padding: 160px 5% 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(232,80,10,0.12) 0%, transparent 55%),
    radial-gradient(circle at 50% 80%, rgba(232,80,10,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6), transparent 75%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 100px;
  background: var(--accent-soft);
  border: 1px solid rgba(232,80,10,0.25);
  color: var(--accent-bright);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.page-hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--accent-bright);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-glow);
}
.page-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px, 6.5vw, 80px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.page-hero h1 em {
  font-style: normal;
  color: var(--accent-bright);
  text-shadow: 0 0 40px var(--accent-glow);
}
.page-hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.page-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted-2);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent-bright); }
.breadcrumb .sep { color: var(--muted-2); }

/* ─── FOOTER ─── */
footer {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(232,80,10,0.08), transparent 60%),
    linear-gradient(180deg, #0a0a0a 0%, #030303 100%);
  border-top: 1px solid var(--border);
  padding: 90px 5% 30px;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
  opacity: 0.5;
}
.footer-watermark {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Syne', sans-serif;
  font-size: clamp(120px, 22vw, 300px);
  font-weight: 800;
  color: rgba(232,80,10,0.035);
  letter-spacing: -6px;
  line-height: 0.8;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .logo { margin-bottom: 18px; }
.footer-brand-tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-bright);
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--accent-soft);
  border: 1px solid rgba(232,80,10,0.2);
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 320px;
  margin-bottom: 24px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: var(--card);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: all .25s;
}
.footer-social a:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-bright);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(232,80,10,0.25);
}
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

.footer-col h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-col h5::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li a {
  color: var(--muted);
  font-size: 13.5px;
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: color .2s, padding .25s;
}
.footer-col ul li a::before {
  content: "→";
  position: absolute;
  left: 0;
  opacity: 0;
  color: var(--accent-bright);
  transform: translateX(-6px);
  transition: opacity .2s, transform .25s;
  font-size: 13px;
}
.footer-col ul li a:hover { color: var(--accent-bright); padding-left: 18px; }
.footer-col ul li a:hover::before { opacity: 1; transform: translateX(0); }

.footer-contact-col .contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-contact-col .contact-row-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid rgba(232,80,10,0.2);
  color: var(--accent-bright);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.footer-contact-col .contact-row-icon svg { width: 15px; height: 15px; fill: currentColor; }
.footer-contact-col .contact-row-content { font-size: 13.5px; line-height: 1.5; }
.footer-contact-col .contact-row-label {
  font-family: 'Barlow Condensed', sans-serif;
  color: var(--muted-2);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 2px;
  display: block;
}
.footer-contact-col .contact-row-content a,
.footer-contact-col .contact-row-content span {
  color: var(--white);
  transition: color .2s;
}
.footer-contact-col .contact-row-content a:hover { color: var(--accent-bright); }

.footer-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.footer-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 100px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: border-color .2s, color .2s;
}
.footer-trust-item:hover {
  border-color: rgba(232,80,10,0.3);
  color: var(--white);
}
.footer-trust-item svg { width: 16px; height: 16px; fill: var(--accent-bright); flex-shrink: 0; }

/* ─── FOOTER LICENSE BADGE (WinOLS / EVC) ─── */
.footer-license {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  margin-top: 24px;
  background: linear-gradient(135deg, rgba(232,80,10,0.08), rgba(232,80,10,0.02));
  border: 1px solid rgba(232,80,10,0.25);
  border-radius: 14px;
  flex-wrap: wrap;
}
.footer-license-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1 1 auto;
  min-width: 200px;
}
.footer-license-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  color: var(--accent-bright);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}
.footer-license-text strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.3px;
}
.footer-license-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.5;
}
.footer-license-badge {
  display: inline-flex;
  flex-shrink: 0;
  padding: 8px;
  background: #fff;
  border-radius: 6px;
  transition: transform .2s;
}
.footer-license-badge:hover { transform: scale(1.04); }
.footer-license-badge img {
  display: block;
  max-height: 50px;
  width: auto;
}
@media (max-width: 600px) {
  .footer-license { flex-direction: column; align-items: flex-start; padding: 18px; }
  .footer-license-badge { align-self: center; }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted-2);
}
.footer-bottom-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-bottom-left .made-in {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-left: 12px;
  margin-left: 4px;
  border-left: 1px solid var(--border-2);
  color: var(--muted);
}
.footer-bottom-left .made-in span { font-size: 14px; line-height: 1; }
.footer-bottom a { color: var(--muted-2); transition: color .2s; }
.footer-bottom a:hover { color: var(--accent-bright); }

/* ─── REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── FORMS ─── */
input, textarea, select {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: 14.5px;
  padding: 13px 16px;
  outline: none;
  transition: border-color .2s, background .2s;
  resize: none;
}
input::placeholder, textarea::placeholder { color: var(--muted-2); }
input:focus, textarea:focus, select:focus {
  border-color: rgba(232,80,10,0.55);
  background: #1f1f1f;
}
textarea { height: 120px; min-height: 120px; }
button[type="submit"] {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 100px;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  width: 100%;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(232,80,10,0.25);
}
button[type="submit"]:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow);
}
button[type="submit"] svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }
  nav .nav-cta-wrap { display: none; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: 106px;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 20px 5%;
    align-items: stretch;
  }
  .nav-links.open a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
  }
  .mobile-toggle { display: inline-flex; justify-self: end; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact-col { grid-column: 1 / -1; }
  .topbar { font-size: 11.5px; padding: 8px 4%; }
  .topbar span:last-child { display: none; }
  section { padding: 80px 5%; }
  .page-hero { padding: 140px 5% 60px; }
}
