/* =========================================================
   Vulcan Systems — Feuille de style
   Identité : forge / feu · thème sombre · accents braise
   ========================================================= */

:root {
  /* Palette Vulcan Systems — charte graphique */
  --bg: #1a1512;        /* Charbon */
  --bg-alt: #211a15;
  --surface: #241d18;
  --surface-2: #2b221c;
  --border: #3a2e26;
  --text: #f3ece4;      /* Sable */
  --text-dim: #b7a595;
  --text-mute: #8a7666;

  --oxyde: #7c2d12;     /* Oxyde — aplats, titres */
  --fire-1: #e08a3c;    /* Ambre — accents sur fond sombre */
  --fire-2: #c2410c;    /* Braise — couleur d'action */
  --fire-3: #e08a3c;    /* Ambre */
  --ember: #c2410c;

  /* Angles vifs — charte : aucun arrondi */
  --radius: 0;
  --radius-sm: 0;
  --maxw: 1140px;

  --font-display: "Barlow Condensed", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;

  /* Aucune ombre portée — charte */
  --shadow: none;
  --shadow-fire: none;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

.site-header, main, .site-footer { position: relative; z-index: 1; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; font-weight: 700; }

a { color: inherit; text-decoration: none; }

.fire-text { color: var(--fire-1); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--fire-1);
  margin-bottom: 14px;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(11, 13, 18, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--border); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { display: flex; }
.logo-word { display: flex; flex-direction: column; align-items: stretch; line-height: 1; }
.logo-vulcan {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: .85;
  letter-spacing: .02em;
  color: var(--text);
  text-align: center;
}
.logo-c { color: var(--fire-2); }
.logo-systems {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .52rem;
  letter-spacing: .28em;
  color: var(--text);
}
.filet { flex: 1; height: 1px; background: var(--fire-2); }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { color: var(--text-dim); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.main-nav a:hover { color: var(--text); }

.nav-cta {
  color: #f3ece4 !important;
  padding: 10px 18px;
  border: 1px solid var(--fire-2);
  border-radius: 0;
  background: var(--fire-2);
  transition: background 0.2s;
}
.nav-cta:hover { background: #a8380a; border-color: #a8380a; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--text); transition: 0.3s; }

.mobile-nav { display: none; flex-direction: column; padding: 12px 24px 22px; gap: 6px; border-bottom: 1px solid var(--border); background: var(--bg); }
.mobile-nav a { padding: 12px 8px; color: var(--text-dim); border-radius: var(--radius-sm); }
.mobile-nav a:hover { background: var(--surface); color: var(--text); }
.mobile-nav .nav-cta { text-align: center; margin-top: 8px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 0;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}
.btn-primary {
  background: var(--fire-2);
  color: #f3ece4;
}
.btn-primary:hover { background: #a8380a; }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--fire-2); }
.btn-full { width: 100%; }

/* ============ HERO ============ */
.hero { position: relative; padding: 96px 0 80px; overflow: hidden; }
.hero-inner { position: relative; z-index: 1; text-align: center; }

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero-lead {
  max-width: 640px;
  margin: 0 auto 34px;
  color: var(--text-dim);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 62px;
  flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--fire-1); }
.hero-stats span { color: var(--text-mute); font-size: 0.9rem; }

/* ============ SECTIONS ============ */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 660px; margin: 0 auto 54px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.02em; margin-bottom: 16px; }
.section-sub { color: var(--text-dim); font-size: 1.05rem; }

/* ============ SERVICE CARDS ============ */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--fire-2); }
.card-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; font-weight: 700;
  border-radius: 0;
  background: var(--oxyde);
  border: 1px solid var(--oxyde);
  margin-bottom: 20px;
  color: var(--fire-1);
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 0.96rem; }

/* ============ TECH GRID ============ */
.tech-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 56px; }
.tech-chip {
  padding: 10px 18px;
  border-radius: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s, border-color 0.2s;
}
.tech-chip:hover { color: var(--fire-1); border-color: var(--fire-1); }

.expertise-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 860px; margin: 0 auto; }
.expertise-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.expertise-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 12px; }
.expertise-col p { color: var(--text-dim); font-size: 0.96rem; }
.dot { width: 11px; height: 11px; border-radius: 0; display: inline-block; }
.dot-soft { background: var(--fire-1); }
.dot-hard { background: var(--fire-2); }

/* ============ WORK GRID ============ */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.work-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}
.work-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--fire-2);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s;
}
.work-card:hover { transform: translateY(-4px); border-color: var(--fire-2); }
.work-card:hover::before { transform: scaleX(1); }
.work-tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--fire-1);
  margin-bottom: 14px;
}
.work-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.work-card p { color: var(--text-dim); font-size: 0.96rem; }
.work-note { text-align: center; margin-top: 40px; color: var(--text-dim); font-size: 1.05rem; }
.work-note a { color: var(--fire-1); font-weight: 600; }

/* ============ STEPS ============ */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; counter-reset: step; }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.step-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--oxyde); display: block; margin-bottom: 8px; }
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { color: var(--text-dim); font-size: 0.94rem; }

/* ============ POURQUOI NOUS ============ */
.why-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.why-intro h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); letter-spacing: -0.02em; margin-bottom: 16px; }
.why-intro .btn { margin-top: 26px; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.why-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.why-list li:hover { border-color: var(--border); background: var(--surface); }
.why-ico { color: var(--fire-2); font-size: 1rem; margin-top: 4px; flex-shrink: 0; }
.why-list h3 { font-size: 1.1rem; margin-bottom: 6px; }
.why-list h3 em { color: var(--fire-1); font-style: normal; }
.why-list p { color: var(--text-dim); font-size: 0.95rem; }

/* ============ FAQ ============ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--fire-2); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 18px 30px 18px 0;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--fire-1); transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--text-dim); font-size: 0.96rem; padding: 0 0 18px; }

/* ============ CONTACT ============ */
.contact-section { background: var(--bg-alt); }
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--fire-2);
  border-radius: 0;
  padding: 48px;
  position: relative;
}
.contact-intro h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 14px; }
.contact-points { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.contact-points li { position: relative; padding-left: 28px; color: var(--text-dim); }
.contact-points li::before {
  content: "✦"; position: absolute; left: 0; color: var(--fire-1);
}

.contact-form { display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; }
/* Champ appât anti-spam : hors écran, invisible aux humains */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status[hidden] { display: none; }
.form-status.error { background: rgba(124,45,18,.25); color: #e79a6e; border: 1px solid var(--oxyde); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.85rem; color: var(--text-dim); font-weight: 500; }
.field input, .field select, .field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.96rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--fire-2);
  outline-offset: -1px;
  border-color: var(--fire-2);
}
.field textarea { resize: vertical; }
.form-hint { font-size: 0.9rem; color: var(--text-mute); text-align: center; }
.form-hint a { color: var(--fire-1); }
.form-status { text-align: center; font-size: 0.95rem; padding: 10px; border-radius: 0; }
.form-status.ok { background: rgba(194,65,12,.14); color: var(--fire-1); border: 1px solid var(--fire-2); }

/* ============ FOOTER ============ */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 28px; background: var(--bg); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 36px; }
.footer-brand { max-width: 360px; }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; }
.footer-brand p { color: var(--text-mute); font-size: 0.94rem; margin-top: 12px; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.footer-nav a { color: var(--text-dim); font-size: 0.95rem; transition: color 0.2s; }
.footer-nav a:hover { color: var(--fire-1); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 22px; border-top: 1px solid var(--border);
  color: var(--text-mute); font-size: 0.86rem;
}

/* ============ REVEAL ANIM ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .expertise-split { grid-template-columns: 1fr; }
  .contact-box { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
  .hero-stats { gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
