/* =========================================================
   RESKOUS IT — design tokens
   Palette bleu / rouge / blanc, theme clair (pas de fond
   sombre dominant). Identite "supervision reseau" : grille
   fine, points de statut, courbes de latence, typo technique.
   ========================================================= */

:root{
  --blue-deep:   #0d2e6b;
  --blue:        #1c4fd6;
  --blue-bright: #2f7dfa;
  --blue-mist:   #eaf1ff;
  --red:         #e2412f;
  --red-dark:    #b92f21;
  --red-mist:    #fdeceb;
  --green:       #1fa971;
  --green-mist:  #e7f8f0;
  --amber:       #e0a419;
  --ink:         #101a2c;
  --ink-soft:    #5b6576;
  --line:        #e3e8f0;
  --paper:       #ffffff;
  --sand:        #f5f7fb;
  --sand-deep:   #eef1f8;

  --font-head: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  --container: 1200px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family:var(--font-head);
  color:var(--blue-deep);
  margin:0 0 .5em;
  line-height:1.18;
  font-weight:700;
  letter-spacing:-.01em;
}
p{ margin:0 0 1em; max-width:62ch; color:var(--ink-soft); }
.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 28px; }
:focus-visible{ outline:2px solid var(--blue-bright); outline-offset:3px; }
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

section{ padding:84px 0; position:relative; }
.section-sand{ background:var(--sand); }
.section-paper{ background:var(--paper); }
.section-blue{ background:var(--blue-deep); color:#eaf0ff; }
.section-blue h2,.section-blue h3,.section-blue p{ color:#eaf0ff; }
.section-blue .ink-soft{ color:#aebdea; }

.grid-bg{
  background-image:
    linear-gradient(rgba(28,79,214,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28,79,214,.06) 1px, transparent 1px);
  background-size:34px 34px;
}

.kicker{
  display:inline-flex; align-items:center; gap:9px;
  font-family:var(--font-mono);
  font-size:12.5px; font-weight:600;
  color:var(--blue);
  text-transform:uppercase; letter-spacing:.06em;
  margin-bottom:14px;
}
.kicker .dot{ width:7px; height:7px; border-radius:50%; background:var(--red); box-shadow:0 0 0 3px var(--red-mist); }
.kicker.on-dark{ color:#8fb3ff; }
.kicker.on-dark .dot{ box-shadow:0 0 0 3px rgba(226,65,47,.25); }

.section-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:32px; margin-bottom:44px; flex-wrap:wrap; }
.section-head h2{ font-size:clamp(26px,3.2vw,38px); max-width:20ch; }
.section-head p{ max-width:44ch; margin:0; }

.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-head); font-weight:600; font-size:15px;
  padding:13px 24px; border-radius:8px; border:1.5px solid transparent; cursor:pointer;
  transition:background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn-primary{ background:var(--blue); color:#fff; box-shadow:0 8px 20px -8px rgba(28,79,214,.55); }
.btn-primary:hover{ background:var(--blue-deep); }
.btn-accent{ background:var(--red); color:#fff; box-shadow:0 8px 20px -8px rgba(226,65,47,.5); }
.btn-accent:hover{ background:var(--red-dark); }
.btn-outline{ border-color:var(--line); color:var(--blue-deep); background:#fff; }
.btn-outline:hover{ border-color:var(--blue); background:var(--blue-mist); }
.section-blue .btn-outline{ color:#fff; border-color:rgba(255,255,255,.3); background:transparent; }
.section-blue .btn-outline:hover{ background:rgba(255,255,255,.1); }

/* ---------- header ---------- */
.site-header{ position:sticky; top:0; z-index:50; background:rgba(255,255,255,.92); backdrop-filter:blur(8px); border-bottom:1px solid var(--line); }
.site-header .container{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.brand{ display:flex; align-items:center; gap:11px; }
.brand img, .brand svg{ width:38px; height:38px; flex:none; }
.brand-name{ font-family:var(--font-head); font-weight:700; font-size:18px; color:var(--blue-deep); line-height:1.1; white-space:nowrap; }
.brand-name span{ color:var(--red); }
.brand-tagline{ font-size:10.5px; color:var(--ink-soft); letter-spacing:.02em; font-family:var(--font-mono); }

.main-nav > ul{ display:flex; align-items:center; gap:2px; }
.main-nav a.nav-link{ font-family:var(--font-head); font-weight:600; font-size:14.5px; padding:10px 14px; color:var(--ink); border-bottom:2px solid transparent; }
.main-nav a.nav-link:hover, .main-nav .nav-item.active > a.nav-link{ color:var(--blue); border-bottom-color:var(--blue); }
.header-cta{ display:flex; align-items:center; gap:14px; }
.nav-toggle{ display:none; }

/* ---------- hero + fake dashboard ---------- */
.hero{ background:linear-gradient(180deg,#f7f9fd 0%, #ffffff 65%); overflow:hidden; }
.hero .container{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; padding-top:64px; padding-bottom:60px; }
.hero h1{ font-size:clamp(32px,4.2vw,50px); }
.hero h1 .accent{ color:var(--blue); }
.hero h1 .accent-red{ color:var(--red); }
.hero p.lead{ font-size:16.5px; max-width:48ch; }
.hero-ctas{ display:flex; gap:14px; margin-top:26px; flex-wrap:wrap; }
.hero-trust{ display:flex; gap:28px; margin-top:40px; flex-wrap:wrap; }
.hero-trust .item b{ display:block; font-family:var(--font-head); font-size:21px; color:var(--blue-deep); }
.hero-trust .item span{ font-size:12px; color:var(--ink-soft); }

/* fake monitoring dashboard card */
.dash{
  background:#0d1526; border-radius:16px; padding:22px;
  box-shadow:0 30px 60px -20px rgba(13,21,38,.4);
  border:1px solid #1c2a44;
  position:relative;
}
.dash-titlebar{ display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.dash-titlebar .dots{ display:flex; gap:6px; }
.dash-titlebar .dots span{ width:9px; height:9px; border-radius:50%; display:inline-block; }
.dash-titlebar .dots span:nth-child(1){ background:#e2412f; }
.dash-titlebar .dots span:nth-child(2){ background:#e0a419; }
.dash-titlebar .dots span:nth-child(3){ background:#1fa971; }
.dash-live{ display:flex; align-items:center; gap:7px; font-family:var(--font-mono); font-size:11px; color:#7fe3a8; }
.dash-live .pulse{ width:8px; height:8px; border-radius:50%; background:#22c973; box-shadow:0 0 0 0 rgba(34,201,115,.6); animation:pulse 1.8s infinite; }
@keyframes pulse{ 0%{box-shadow:0 0 0 0 rgba(34,201,115,.55);} 70%{box-shadow:0 0 0 9px rgba(34,201,115,0);} 100%{box-shadow:0 0 0 0 rgba(34,201,115,0);} }

.dash-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:12px; }
.dash-tile{ background:#111c34; border:1px solid #1c2a44; border-radius:10px; padding:12px 14px; }
.dash-tile span{ display:block; font-family:var(--font-mono); font-size:10.5px; color:#7c8bb0; margin-bottom:6px; }
.dash-tile b{ font-family:var(--font-head); font-size:19px; color:#fff; }
.dash-tile b.up{ color:#4ee19a; }
.dash-tile b.warn{ color:#f0b73f; }

.dash-panel{ background:#111c34; border:1px solid #1c2a44; border-radius:10px; padding:14px; margin-bottom:10px; }
.dash-panel-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.dash-panel-head span{ font-family:var(--font-mono); font-size:10.5px; color:#7c8bb0; }
.dash-sparkline{ width:100%; height:52px; }

.dash-server-list{ display:flex; flex-direction:column; gap:8px; }
.dash-server{ display:flex; align-items:center; justify-content:space-between; background:#111c34; border:1px solid #1c2a44; border-radius:8px; padding:9px 12px; }
.dash-server .name{ display:flex; align-items:center; gap:9px; font-family:var(--font-mono); font-size:12px; color:#dfe6f5; }
.dash-server .status-dot{ width:8px; height:8px; border-radius:50%; }
.dash-server .status-dot.ok{ background:#22c973; }
.dash-server .status-dot.warn{ background:#f0b73f; }
.dash-server .uptime{ font-family:var(--font-mono); font-size:11.5px; color:#7c8bb0; }

/* ---------- services grid ---------- */
.services-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.service-card{ background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:28px 24px; transition:border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.service-card:hover{ border-color:var(--blue); transform:translateY(-3px); box-shadow:0 16px 32px -20px rgba(28,79,214,.35); }
.service-icon{ width:48px; height:48px; border-radius:11px; display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.service-icon svg{ width:24px; height:24px; }
.service-card h3{ font-size:16px; margin-bottom:8px; }
.service-card p{ font-size:13.5px; margin-bottom:14px; }
.service-card .more{ font-size:13px; font-weight:700; font-family:var(--font-head); color:var(--blue); display:inline-flex; align-items:center; gap:6px; }
.service-card .more svg{ width:12px; height:12px; }
.icon-blue{ background:var(--blue-mist); color:var(--blue); }
.icon-red{ background:var(--red-mist); color:var(--red); }

/* ---------- values / mission ---------- */
.value-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.value-card{ text-align:left; }
.value-card svg{ width:26px; height:26px; color:var(--blue); margin-bottom:14px; }
.value-card h4{ font-size:15.5px; margin-bottom:6px; }
.value-card p{ font-size:13.5px; margin:0; }

/* ---------- process / methodology ---------- */
.process-list{ counter-reset:step; display:grid; grid-template-columns:repeat(4,1fr); gap:0; }
.process-item{ padding:0 24px 0 0; border-right:1px solid var(--line); position:relative; }
.process-item:last-child{ border-right:none; padding-right:0; }
.process-item::before{ counter-increment:step; content:counter(step,decimal-leading-zero); font-family:var(--font-mono); font-size:13px; color:var(--red); display:block; margin-bottom:14px; letter-spacing:.05em; }
.process-item h4{ font-size:15.5px; margin-bottom:6px; }
.process-item p{ font-size:13.5px; margin:0; }

/* ---------- stats band ---------- */
.stats-band{ display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid rgba(255,255,255,.12); }
.stat{ padding:34px 30px; border-right:1px solid rgba(255,255,255,.12); }
.stat:last-child{ border-right:none; }
.stat b{ display:block; font-family:var(--font-head); font-size:34px; color:#fff; }
.stat span{ font-size:13px; color:#aebdea; font-family:var(--font-mono); }

/* ---------- expertise split ---------- */
.expertise-split{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.expertise-list{ display:flex; flex-direction:column; gap:16px; margin-top:22px; }
.expertise-item{ display:flex; gap:14px; padding:14px 16px; background:var(--paper); border:1px solid var(--line); border-radius:10px; }
.expertise-item svg{ width:20px; height:20px; color:var(--blue); flex:none; margin-top:2px; }
.expertise-item h4{ font-size:14.5px; margin-bottom:3px; }
.expertise-item p{ font-size:13px; margin:0; }

/* ---------- projects ---------- */
.project-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.project-card{ border:1px solid var(--line); border-radius:14px; overflow:hidden; background:var(--paper); }
.project-media{ aspect-ratio:4/3; overflow:hidden; position:relative; border-bottom:1px solid var(--line); background:var(--sand-deep); }
.project-media img{ width:100%; height:100%; object-fit:cover; }
.project-tag{ position:absolute; top:12px; left:12px; background:rgba(13,21,38,.85); color:#fff; font-family:var(--font-mono); font-size:10.5px; padding:5px 9px; border-radius:5px; }
.project-body{ padding:20px; }
.project-body h3{ font-size:16px; margin-bottom:6px; }
.project-body p{ font-size:13.5px; margin-bottom:0; }
.filter-tabs{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:40px; }
.filter-tabs a{ font-family:var(--font-head); font-weight:600; font-size:13.5px; padding:9px 16px; border:1px solid var(--line); border-radius:8px; color:var(--ink-soft); }
.filter-tabs a.active, .filter-tabs a:hover{ background:var(--blue-deep); color:#fff; border-color:var(--blue-deep); }

/* ---------- pricing ---------- */
.pricing-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:stretch; }
.price-card{ border:1px solid var(--line); border-radius:16px; padding:32px 26px; background:var(--paper); display:flex; flex-direction:column; }
.price-card.featured{ border-color:var(--blue); box-shadow:0 20px 44px -24px rgba(28,79,214,.5); position:relative; }
.price-badge{ position:absolute; top:-13px; left:26px; background:var(--red); color:#fff; font-family:var(--font-mono); font-size:10.5px; padding:5px 11px; border-radius:20px; }
.price-card h3{ font-size:18px; margin-bottom:6px; }
.price-card .price-tag{ font-family:var(--font-head); font-size:34px; color:var(--blue-deep); margin:10px 0 4px; }
.price-card .price-tag span{ font-family:var(--font-body); font-size:13px; color:var(--ink-soft); font-weight:400; }
.price-card .price-note{ font-size:12.5px; color:var(--ink-soft); margin-bottom:20px; }
.price-features{ display:flex; flex-direction:column; gap:11px; margin:0 0 26px; flex:1; }
.price-features li{ display:flex; gap:9px; font-size:13.5px; align-items:flex-start; }
.price-features li svg{ width:16px; height:16px; color:var(--green); flex:none; margin-top:2px; }

/* ---------- partners ---------- */
.partners-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
.partner-slot{ aspect-ratio:2/1; border:1.5px dashed var(--line); border-radius:10px; display:flex; align-items:center; justify-content:center; background:var(--sand); }
.partner-slot span{ font-family:var(--font-mono); font-size:11px; color:var(--ink-soft); }
.partner-slot img{ max-width:70%; max-height:60%; object-fit:contain; }

/* ---------- CTA band ---------- */
.cta-band{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; padding:50px 52px; background:var(--blue-deep); border-radius:18px; }
.cta-band h3{ margin-bottom:6px; font-size:23px; color:#fff; }
.cta-band p{ margin:0; color:#aebdea; }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:60px; }
.contact-info li{ display:flex; gap:14px; padding:17px 0; border-bottom:1px solid var(--line); }
.contact-info li svg{ width:19px; height:19px; color:var(--blue); flex:none; margin-top:3px; }
.contact-info li b{ display:block; font-family:var(--font-head); font-size:14.5px; color:var(--blue-deep); }
.contact-info li span{ font-size:13.5px; color:var(--ink-soft); }
.form-field{ margin-bottom:18px; }
.form-field label{ display:block; font-family:var(--font-head); font-weight:600; font-size:13px; margin-bottom:7px; color:var(--blue-deep); }
.form-field input, .form-field select, .form-field textarea{ width:100%; padding:12px 14px; border:1px solid var(--line); background:var(--paper); font-family:var(--font-body); font-size:14.5px; color:var(--ink); border-radius:8px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ outline:none; border-color:var(--blue); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-note{ font-size:12.5px; color:var(--ink-soft); margin-top:10px; }
.alert-success{ padding:14px 18px; background:var(--green-mist); border:1px solid #9adcbd; color:#0e7a4d; font-size:14px; margin-bottom:20px; border-radius:8px; }
.alert-error{ padding:14px 18px; background:var(--red-mist); border:1px solid #f0aca3; color:var(--red-dark); font-size:14px; margin-bottom:20px; border-radius:8px; }

/* ---------- footer ---------- */
.site-footer{ background:var(--blue-deep); color:#c3cfef; padding-top:64px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:44px; border-bottom:1px solid rgba(255,255,255,.12); }
.footer-brand .brand-name{ color:#fff; }
.footer-brand p{ color:#9fb0d9; font-size:13.5px; margin-top:14px; }
.footer-col h4{ color:#fff; font-size:14px; margin-bottom:16px; }
.footer-col li{ margin-bottom:10px; display:flex; gap:9px; }
.footer-col a{ font-size:13.5px; color:#b7c3e8; }
.footer-col a:hover{ color:#fff; }
.footer-col li svg{ width:15px; height:15px; margin-top:2px; flex:none; color:#5f86e8; }
.social-row{ display:flex; gap:10px; margin-top:16px; }
.social-row a{ width:34px; height:34px; border:1px solid rgba(255,255,255,.18); border-radius:8px; display:flex; align-items:center; justify-content:center; }
.social-row a:hover{ background:var(--blue); border-color:var(--blue); }
.social-row svg{ width:15px; height:15px; }
.footer-bottom{ display:flex; justify-content:space-between; padding:20px 0; font-size:12.5px; color:#8091bd; flex-wrap:wrap; gap:10px; }

/* ---------- responsive ---------- */
@media (max-width:1080px){
  .services-grid{ grid-template-columns:repeat(2,1fr); }
  .value-grid{ grid-template-columns:repeat(2,1fr); }
  .project-grid{ grid-template-columns:repeat(2,1fr); }
  .pricing-grid{ grid-template-columns:1fr; max-width:440px; margin:0 auto; }
  .partners-grid{ grid-template-columns:repeat(3,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .stats-band{ grid-template-columns:repeat(2,1fr); }
  .stat{ border-bottom:1px solid rgba(255,255,255,.12); }
}
@media (max-width:900px){
  .main-nav{ display:none; }
  .nav-toggle{ display:flex; }
  .hero .container{ grid-template-columns:1fr; }
  .expertise-split{ grid-template-columns:1fr; }
  .process-list{ grid-template-columns:1fr 1fr; row-gap:24px; }
  .process-item{ border-right:none; padding-right:0; }
  .contact-grid{ grid-template-columns:1fr; }
  .dash-grid{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:640px){
  .site-header .container{ height:auto; padding-top:12px; padding-bottom:12px; }
  .brand-tagline{ display:none; }
  section{ padding:56px 0; }
  .services-grid, .value-grid, .project-grid{ grid-template-columns:1fr; }
  .partners-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr; }
  .process-list{ grid-template-columns:1fr; }
  .cta-band{ padding:32px 24px; flex-direction:column; align-items:flex-start; }
  .form-row{ grid-template-columns:1fr; }
  .header-contact-btn span{ display:none; }
  .header-contact-btn{ padding:11px 13px; }
  .dash-grid{ grid-template-columns:1fr 1fr; }
  .dash-tile:nth-child(3){ grid-column:span 2; }
}
