/* =========================================================
   DVL-Computing — Design system
   Direction: "panneau de diagnostic industriel" — bleu nuit
   type plan, accent orange sécurité, lecture façon HMI/PLC.
   ========================================================= */

:root{
  --bg:        #0e141c;
  --bg-panel:  #141d28;
  --bg-panel-2:#182432;
  --bg-raise:  #1c2a3a;
  --line:      #263547;
  --line-soft: #1c2938;
  --text:      #e9eef3;
  --text-mute: #93a4b6;
  --text-faint:#5c6e80;
  --accent:    #ff6a2b;
  --accent-dim:#c74f1c;
  --ok:        #3fb08f;
  --steel:     #5a89b8;
  --radius:    3px;

  --font-display: 'Space Grotesk', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* faint blueprint grid on the whole page */
body{
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 42px 42px;
  background-position: -1px -1px;
}

img{ max-width:100%; display:block; }
a{ color: inherit; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight:600; line-height:1.15; margin:0 0 .5em; letter-spacing:-0.01em; }
p{ margin:0 0 1em; }
.mono{ font-family: var(--font-mono); }

.wrap{ max-width: 1120px; margin:0 auto; padding: 0 24px; }
section{ padding: 88px 0; border-bottom: 1px solid var(--line-soft); }
section:last-of-type{ border-bottom:none; }

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom: 18px;
}
.eyebrow::before{
  content:"";
  width:8px;height:8px;
  background: var(--accent);
  display:inline-block;
  box-shadow: 0 0 0 3px rgba(255,106,43,.18);
}

.lead{ color: var(--text-mute); font-size: 18px; max-width: 640px; }

/* ---------- header ---------- */
header.site{
  position: sticky; top:0; z-index: 50;
  background: rgba(14,20,28,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav{
  max-width:1120px; margin:0 auto; padding: 14px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.brand img{ width:34px; height:34px; border-radius:50%; }
.brand span{ font-family: var(--font-display); font-weight:700; font-size:17px; letter-spacing:.01em; }
.nav-links{ display:flex; align-items:center; gap:26px; list-style:none; margin:0; padding:0; }
.nav-links a{
  text-decoration:none; color: var(--text-mute); font-size:14.5px;
  transition: color .15s;
}
.nav-links a:hover, .nav-links a.active{ color: var(--text); }
.nav-cta{
  display:inline-flex; align-items:center; gap:8px;
  background: var(--accent); color:#150900;
  padding: 9px 16px; border-radius: var(--radius);
  text-decoration:none; font-weight:600; font-size:14px;
  font-family: var(--font-mono); white-space:nowrap;
}
.nav-cta:hover{ background:#ff7f47; }
.nav-toggle{ display:none; }

/* ---------- hero ---------- */
.hero{
  padding: 84px 0 96px;
  border-bottom: 1px solid var(--line-soft);
}
.hero .wrap{ display:grid; grid-template-columns: 1.15fr .95fr; gap: 56px; align-items:center; }
.hero h1{ font-size: 42px; }
.hero .lead{ margin-top: 14px; margin-bottom: 30px; }
.cta-row{ display:flex; gap:14px; flex-wrap:wrap; }
.btn{
  display:inline-flex; align-items:center; gap:9px;
  padding: 13px 22px; border-radius: var(--radius);
  text-decoration:none; font-weight:600; font-size:15px;
  border:1px solid transparent; cursor:pointer;
}
.btn-primary{ background: var(--accent); color:#170900; }
.btn-primary:hover{ background:#ff7f47; }
.btn-ghost{ border-color: var(--line); color: var(--text); font-family: var(--font-mono); font-size:14px; }
.btn-ghost:hover{ border-color: var(--steel); }

/* signature element: diagnostic readout panel */
.panel{
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.6);
}
.panel-head{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 16px;
  background: var(--bg-panel-2);
  border-bottom:1px solid var(--line);
  font-family: var(--font-mono); font-size:12px; color: var(--text-mute);
  letter-spacing:.06em;
}
.panel-head .dot{
  width:8px;height:8px;border-radius:50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(63,176,143,.2);
  animation: blink 1.8s infinite;
}
@keyframes blink{ 0%,100%{opacity:1} 50%{opacity:.35} }
.panel-body{ padding: 6px 0; position:relative; overflow:hidden; }
.scan{
  position:absolute; left:0; right:0; height:2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity:.7;
  animation: scan 3.2s linear infinite;
}
@keyframes scan{ 0%{ top:0 } 100%{ top:100% } }
.check-row{
  display:flex; align-items:center; justify-content:space-between;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono); font-size:13px;
}
.check-row:last-child{ border-bottom:none; }
.check-label{ color: var(--text-mute); }
.status{ display:flex; align-items:center; gap:7px; font-size:12px; letter-spacing:.04em; }
.status.ok{ color: var(--ok); }
.status.warn{ color: var(--accent); }
.status i{ width:6px;height:6px; border-radius:50%; background:currentColor; display:inline-block; }
.panel-foot{
  padding: 12px 16px; border-top:1px solid var(--line);
  font-family: var(--font-mono); font-size:11.5px; color: var(--text-faint);
  display:flex; justify-content:space-between;
}

/* ---------- pain strip ---------- */
.pain-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:1px; background: var(--line-soft); border:1px solid var(--line-soft); }
.pain-item{ background: var(--bg); padding: 26px 22px; }
.pain-item .q{ font-family: var(--font-mono); font-size:11px; color: var(--accent); letter-spacing:.06em; margin-bottom:10px; }
.pain-item p{ margin:0; font-size:15px; color: var(--text); }

/* ---------- section headers ---------- */
.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-head h2{ font-size: 30px; }

/* ---------- offer cards ---------- */
.offers{ display:grid; grid-template-columns: repeat(3, 1fr); gap:22px; }
.offer-card{
  background: var(--bg-panel);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display:flex; flex-direction:column;
  transition: border-color .15s, transform .15s;
}
.offer-card:hover{ border-color: var(--steel); transform: translateY(-2px); }
.offer-tag{ font-family: var(--font-mono); font-size:11px; letter-spacing:.1em; color: var(--text-faint); text-transform:uppercase; margin-bottom:14px; }
.offer-card h3{ font-size:21px; margin-bottom:10px; }
.offer-card p{ color: var(--text-mute); font-size:14.5px; }
.offer-list{ list-style:none; margin: 14px 0 20px; padding:0; font-size:14px; color: var(--text-mute); }
.offer-list li{ padding-left:16px; position:relative; margin-bottom:7px; }
.offer-list li::before{ content:"—"; position:absolute; left:0; color: var(--steel); }
.offer-price{
  font-family: var(--font-mono); font-size:14px; color: var(--text);
  background: var(--bg-panel-2); border:1px solid var(--line);
  padding:10px 12px; border-radius: var(--radius); margin-bottom:18px;
}
.offer-price b{ color: var(--accent); }
.offer-card a.btn{ margin-top:auto; align-self:flex-start; }

/* ---------- why us ---------- */
.why-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:22px; }
.why-item{ padding-top: 18px; border-top:2px solid var(--steel); }
.why-item h4{ font-size:16px; margin-bottom:8px; }
.why-item p{ color: var(--text-mute); font-size:14.5px; margin:0; }

/* ---------- process ---------- */
.process{ display:grid; grid-template-columns: repeat(4,1fr); gap:22px; counter-reset: step; }
.step{ position:relative; padding-left: 0; }
.step .num{
  font-family: var(--font-mono); font-size:34px; color: var(--line);
  -webkit-text-stroke: 1px var(--steel);
  margin-bottom: 12px; display:block;
}
.step h4{ font-size:16px; margin-bottom:8px; }
.step p{ color: var(--text-mute); font-size:14.5px; margin:0; }

/* ---------- zone ---------- */
.zone-wrap{ display:grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items:center; }
.zone-list{ display:flex; flex-wrap:wrap; gap:10px; }
.zone-badge{
  font-family: var(--font-mono); font-size:13px;
  border:1px solid var(--line); padding:9px 14px; border-radius: var(--radius);
  color: var(--text-mute);
}
.zone-badge.main{ color: var(--text); border-color: var(--steel); }
.zone-map{
  aspect-ratio: 4/3; border:1px solid var(--line); background: var(--bg-panel);
  border-radius: var(--radius); position:relative; overflow:hidden;
}
.zone-map svg{ width:100%; height:100%; }

/* ---------- faq ---------- */
.faq-item{ border-top:1px solid var(--line-soft); padding: 22px 0; }
.faq-item:last-child{ border-bottom:1px solid var(--line-soft); }
.faq-item h4{ font-size:17px; margin-bottom:8px; display:flex; gap:12px; }
.faq-item h4 .q-mark{ font-family:var(--font-mono); color:var(--accent); }
.faq-item p{ color: var(--text-mute); margin:0; font-size:15px; max-width:720px; }

/* ---------- cta banner ---------- */
.cta-banner{
  background: linear-gradient(135deg, var(--bg-panel-2), var(--bg-panel));
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 46px 44px;
  display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
}
.cta-banner h3{ font-size:26px; margin-bottom:6px; }
.cta-banner p{ color: var(--text-mute); margin:0; }

/* ---------- footer ---------- */
footer.site{ background: var(--bg-panel); border-top:1px solid var(--line); padding: 52px 0 28px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-brand{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.footer-brand img{ width:30px;height:30px;border-radius:50%; }
.footer-brand span{ font-family: var(--font-display); font-weight:700; }
footer.site p{ color: var(--text-mute); font-size:14px; }
.footer-col h5{ font-family: var(--font-mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color: var(--text-faint); margin-bottom:14px; }
.footer-col ul{ list-style:none; margin:0; padding:0; }
.footer-col li{ margin-bottom:10px; }
.footer-col a{ color: var(--text-mute); text-decoration:none; font-size:14.5px; }
.footer-col a:hover{ color: var(--text); }
.footer-bottom{
  border-top:1px solid var(--line); padding-top:22px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-size:13px; color: var(--text-faint); font-family: var(--font-mono);
}

/* ---------- inner pages (offer detail) ---------- */
.breadcrumb{ font-family: var(--font-mono); font-size:12.5px; color: var(--text-faint); margin-bottom:18px; }
.breadcrumb a{ color: var(--text-mute); text-decoration:none; }
.page-hero{ padding: 56px 0 64px; border-bottom:1px solid var(--line-soft); }
.page-hero h1{ font-size:36px; max-width:760px; }
.detail-grid{ display:grid; grid-template-columns: 1.4fr .9fr; gap: 48px; }
.detail-block{ margin-bottom:36px; }
.detail-block h3{ font-size:19px; margin-bottom:14px; }
.detail-list{ list-style:none; margin:0; padding:0; }
.detail-list li{
  padding: 12px 0 12px 26px; border-bottom:1px solid var(--line-soft);
  position:relative; color: var(--text-mute); font-size:15px;
}
.detail-list li::before{ content:"✓"; position:absolute; left:0; color: var(--ok); font-family:var(--font-mono); }
.side-card{
  background: var(--bg-panel); border:1px solid var(--line); border-radius: var(--radius);
  padding: 26px; position:sticky; top: 90px;
}
.side-card h4{ font-family: var(--font-mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color: var(--text-faint); margin-bottom:14px; }
.price-line{ display:flex; justify-content:space-between; padding:11px 0; border-bottom:1px solid var(--line-soft); font-size:14.5px; }
.price-line:last-of-type{ border-bottom:none; }
.price-line b{ font-family: var(--font-mono); color: var(--accent); }
.side-card .btn{ width:100%; justify-content:center; margin-top:18px; }
.cross-links{ display:grid; grid-template-columns: 1fr 1fr; gap:16px; margin-top:14px; }
.cross-links a{
  border:1px solid var(--line); border-radius: var(--radius); padding:16px;
  text-decoration:none; color: var(--text); font-size:14.5px; display:block;
}
.cross-links a:hover{ border-color: var(--steel); }
.cross-links span{ display:block; font-family: var(--font-mono); font-size:11px; color: var(--text-faint); margin-bottom:6px; }

/* ---------- minor-page (autres services) ---------- */
.minor-banner{
  background: var(--bg-panel); border:1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; font-size:14.5px; color: var(--text-mute); margin-bottom: 40px;
}
.minor-banner a{ color: var(--accent); text-decoration:none; }
.minor-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:22px; }
.minor-card{ background: var(--bg-panel); border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; }
.minor-card img{ width:100%; height:160px; object-fit:cover; }
.minor-card .body{ padding:20px; }
.minor-card h3{ font-size:18px; color: var(--steel); margin-bottom:8px; }
.minor-card p{ font-size:14px; color: var(--text-mute); margin-bottom:0; }

/* ---------- responsive ---------- */
@media (max-width: 900px){
  .hero .wrap{ grid-template-columns: 1fr; }
  .pain-grid{ grid-template-columns: repeat(2,1fr); }
  .offers{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: repeat(2,1fr); }
  .process{ grid-template-columns: repeat(2,1fr); }
  .zone-wrap{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .detail-grid{ grid-template-columns: 1fr; }
  .side-card{ position:static; }
  .minor-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 680px){
  .nav-links{ display:none; }
  .hero h1{ font-size:32px; }
  .pain-grid{ grid-template-columns: 1fr; }
  section{ padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce){
  .panel-head .dot, .scan{ animation: none; }
}
