/* Voltark — feuille de style unique, sans dépendance externe */

:root {
  --bg: #0e0f10;
  --bg-alt: #16181a;
  --bg-card: #1c1f22;
  --line: #2a2e32;
  --text: #eceae4;
  --muted: #9a9d9f;
  --accent: #ffd400;
  --accent-ink: #0e0f10;
  --radius: 4px;
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
img, svg { display: block; }

h1, h2, h3 {
  margin: 0 0 .5em;
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 7vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); }
h3 { font-size: 1.15rem; letter-spacing: .02em; }
h1 em { font-style: normal; color: var(--accent); }

p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

.eyebrow {
  margin: 0 0 .75em;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* Boutons */
.btn {
  display: inline-block;
  padding: .85em 1.5em;
  background: var(--accent);
  color: var(--accent-ink);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .9rem;
  text-decoration: none;
  transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: var(--accent-ink); }
.btn-small { padding: .5em 1em; font-size: .8rem; }
.btn-block { display: block; text-align: center; overflow-wrap: anywhere; }

/* En-tête */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(14, 15, 16, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.logo {
  display: flex;
  align-items: center;
  gap: .5em;
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
  font-style: italic;
  letter-spacing: .08em;
}
.logo b { color: var(--accent); }
.logo-mark { width: 30px; height: 30px; fill: var(--accent); }
.logo-mark .logo-v { fill: var(--bg); }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a:not(.btn) {
  color: var(--text);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.nav a:not(.btn):hover { color: var(--accent); }

.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  padding: clamp(4rem, 12vw, 9rem) 0 clamp(6rem, 12vw, 9rem);
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255, 212, 0, .12), transparent 55%),
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(255, 255, 255, .025) 22px 24px),
    var(--bg);
  overflow: hidden;
}
.lead { max-width: 560px; font-size: 1.15rem; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 1.5rem; }
.hero-track { position: absolute; left: 0; bottom: -1px; width: 100%; height: 80px; fill: var(--bg-alt); }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--bg-alt); }
.section + .section { border-top: 1px solid var(--line); }
.section-dark { background: var(--bg); }
.section-accent {
  background:
    linear-gradient(90deg, var(--accent) 0 6px, transparent 6px),
    var(--bg);
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }

.grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Cartes services */
.card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .15s;
}
.card:hover { border-color: var(--accent); }
.card ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: .95rem; }
.card li + li { margin-top: .35em; }

.icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Liste à coches */
.checklist { margin: 0; padding: 0; list-style: none; }
.checklist li {
  position: relative;
  padding: .7em 0 .7em 2rem;
  border-bottom: 1px solid var(--line);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}

/* Étapes */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.steps li { padding-top: 1rem; border-top: 3px solid var(--accent); }
.steps p { color: var(--muted); font-size: .95rem; }
.step-num { display: block; margin-bottom: .5rem; font-size: 2.2rem; font-weight: 900; color: var(--line); }

/* Contact */
.contact-box {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-box dl { margin: 1.5rem 0 0; display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.25rem; }
.contact-box dt { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; padding-top: .2em; }
.contact-box dd { margin: 0; }

/* Pied de page */
.site-footer { padding: 2rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.footer-inner p { margin: 0; }
.site-footer b { color: var(--text); }

/* Page légale */
.legal { padding: 4rem 0; background: var(--bg-alt); min-height: 70vh; }
.legal h2 { font-size: 1.3rem; margin-top: 2.5rem; }
.legal p, .legal li { color: var(--muted); }

/* Responsive */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--text); }

  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 16px 1.5rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; text-align: center; }
}

@media (max-width: 560px) {
  .grid-3, .steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Illustrations et sélecteur de langue */
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; }
.hero-img { width: 100%; height: auto; }

.figures figure { margin: 0; }
.figures img {
  width: 100%;
  height: auto;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.figures figcaption { margin-top: .75rem; color: var(--muted); font-size: .9rem; }

.nav a.lang {
  padding: .3em .6em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .75rem;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img { max-width: 520px; }
}

@media (max-width: 900px) {
  .nav a.lang { padding: .9rem 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: .85rem; }
}

/* Menu simple des pages secondaires : toujours visible, même sur mobile */
@media (max-width: 900px) {
  .nav.nav-simple { display: flex; position: static; flex-direction: row; padding: 0; border: 0; background: none; gap: 1rem; }
  .nav.nav-simple a.lang { border: 1px solid var(--line); padding: .3em .6em; border-radius: var(--radius); }
  .nav.nav-simple .btn { margin-top: 0; }
}

/* Section motos : 4 cartes texte */
.section-lead { max-width: 640px; color: var(--muted); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* Page contact et bandeau d'appel */
.page-head {
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 5vw, 3rem);
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255, 212, 0, .12), transparent 55%),
    var(--bg);
}
.contact-mail { margin: .75rem 0 0; text-align: center; color: var(--muted); font-size: .9rem; }

.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { margin-bottom: .25em; }
.cta-band p { margin: 0; color: var(--muted); }
.contact-box dd a { color: var(--text); text-decoration: none; }
.contact-box dd a:hover { color: var(--accent); }
