/* ============================================================
   AZUR INFORMATIQUE — Générateur de solutions
   Design system : bleu pétrole + jaune solaire
   ============================================================ */

:root {
  --ink: #0b2b38;
  --primary: #0e5e78;
  --primary-600: #0b4d63;
  --primary-dark: #093f52;
  --deep: #062e3d;
  --deep-2: #04222e;
  --accent: #ffd912;
  --accent-dark: #ecc400;
  --muted: #587280;
  --soft: #eef4f6;
  --line: #e2ebef;
  --bg: #f6fafb;
  --card: #ffffff;
  --ok: #19b576;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(9, 63, 82, 0.06);
  --shadow-md: 0 10px 30px rgba(9, 63, 82, 0.10);
  --shadow-lg: 0 24px 60px rgba(9, 63, 82, 0.16);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--accent); color: var(--ink); }

.container {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

/* ---------- Typo ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: "";
  width: 34px; height: 3px;
  border-radius: 3px;
  background: var(--accent);
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after {
  content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--accent);
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 14px 0 6px;
  position: relative;
  display: inline-block;
}
.section-head h2 .u {
  position: relative;
  white-space: nowrap;
}
.section-head h2 .u::after {
  content: "";
  position: absolute;
  left: 4%; right: 4%; bottom: -6px;
  height: 8px;
  background: var(--accent);
  border-radius: 6px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s cubic-bezier(0.6, 0, 0.2, 1) 0.25s;
  z-index: -1;
}
.is-visible .section-head h2 .u::after,
.section-head.is-visible h2 .u::after { transform: scaleX(1); }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 17px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.btn .btn-ico {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  flex: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn .btn-ico svg { width: 13px; height: 13px; }
.btn:hover .btn-ico { transform: translateX(4px) rotate(-45deg); }

.btn-primary { background: var(--primary-dark); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--primary-600); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent .btn-ico { background: var(--ink); color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(236, 196, 0, 0.35); }

.btn-light { background: #fff; color: var(--primary-dark); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--deep);
  color: #bcd6e0;
  font-size: 13px;
  position: relative;
  z-index: 60;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item svg { width: 14px; height: 14px; color: var(--accent); flex: none; }
.topbar a.topbar-item { transition: color 0.2s; }
.topbar a.topbar-item:hover { color: #fff; }
.topbar-right { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}
.navbar {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.site-header.is-scrolled .navbar {
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}
.navbar-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px 0;
}
.brand img {
  height: 58px;
  width: auto;
  transition: height 0.3s;
}
.site-header.is-scrolled .brand img { height: 48px; }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav > a, .nav-drop > .nav-drop-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 10px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.nav > a::after, .nav-drop > .nav-drop-btn::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.6, 0, 0.2, 1);
}
.nav > a:hover, .nav-drop > .nav-drop-btn:hover { color: var(--primary); }
.nav > a:hover::after,
.nav > a.active::after,
.nav-drop:hover > .nav-drop-btn::after,
.nav-drop.active > .nav-drop-btn::after { transform: scaleX(1); }

.nav .ext svg { width: 12px; height: 12px; opacity: 0.55; }

/* Dropdown */
.nav-drop { position: relative; }
.nav-drop-btn svg.caret { width: 12px; height: 12px; transition: transform 0.25s; }
.nav-drop:hover .nav-drop-btn svg.caret { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  min-width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop.open .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-drop-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.nav-drop-menu a .mini-ico {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--primary);
  flex: none;
  transition: background 0.2s, color 0.2s;
}
.nav-drop-menu a .mini-ico svg { width: 17px; height: 17px; }
.nav-drop-menu a:hover { background: var(--soft); color: var(--primary); transform: translateX(3px); }
.nav-drop-menu a:hover .mini-ico { background: var(--accent); color: var(--ink); }

.nav-cta { flex: none; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.burger span {
  width: 24px; height: 2.5px;
  background: var(--ink);
  border-radius: 3px;
  transition: transform 0.3s, opacity 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(700px 500px at 85% 10%, rgba(14, 94, 120, 0.10), transparent 65%),
    radial-gradient(600px 480px at 8% 90%, rgba(255, 217, 18, 0.14), transparent 60%),
    linear-gradient(180deg, #fdfefe 0%, var(--bg) 100%);
}
.dots {
  position: absolute;
  background-image: radial-gradient(rgba(14, 94, 120, 0.22) 1.6px, transparent 1.6px);
  background-size: 16px 16px;
  z-index: 0;
  pointer-events: none;
  animation: dotsFloat 9s ease-in-out infinite;
}
@keyframes dotsFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 700;
  margin: 18px 0 22px;
}
.hero-copy h1 .grad {
  background: linear-gradient(100deg, var(--primary) 20%, #1490b8 50%, var(--primary) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.hero-copy h1 .swoosh {
  position: relative;
  white-space: nowrap;
}
.hero-copy h1 .swoosh svg {
  position: absolute;
  left: 0; right: 0; bottom: -12px;
  width: 100%; height: 14px;
  color: var(--accent);
}
.hero-copy h1 .swoosh svg path {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: draw 1.1s cubic-bezier(0.6, 0, 0.3, 1) 0.7s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-copy p.lead {
  color: var(--muted);
  font-size: 17.5px;
  max-width: 460px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Laptop visual */
.hero-visual { position: relative; min-height: 440px; }
.hero-visual .dots-hero { width: 150px; height: 110px; top: -10px; right: 0; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: 0;
}
.orb-a {
  width: 340px; height: 340px;
  right: 30px; top: 40px;
  background: radial-gradient(circle at 30% 30%, #eef7f9, #dbeef3);
}
.orb-b {
  width: 90px; height: 90px;
  left: 14px; bottom: 90px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 217, 18, 0.5), rgba(255, 217, 18, 0.15));
  animation: floatY 7s ease-in-out infinite;
}

.laptop {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
  margin: 30px auto 0;
  filter: drop-shadow(0 40px 50px rgba(9, 63, 82, 0.25));
  animation: floatY 8s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.laptop-screen {
  background: #10151c;
  border-radius: 18px 18px 4px 4px;
  padding: 12px 12px 16px;
  border: 1px solid #232c36;
}
.laptop-cam {
  width: 6px; height: 6px;
  background: #2c3745;
  border-radius: 50%;
  margin: 0 auto 9px;
}
.laptop-base {
  height: 14px;
  background: linear-gradient(180deg, #dfe6ea, #b9c5cc);
  border-radius: 0 0 16px 16px;
  width: 112%;
  margin-left: -6%;
  position: relative;
}
.laptop-base::after {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  translate: -50% 0;
  width: 90px; height: 5px;
  background: #9fb0b9;
  border-radius: 0 0 8px 8px;
}

/* Dashboard inside laptop */
.dash {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  background: #f4f8fa;
  border-radius: 10px;
  padding: 10px;
  min-height: 300px;
}
.dash-side {
  background: var(--primary-dark);
  border-radius: 8px;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.dash-side .d-logo {
  width: 24px; height: 24px;
  border-radius: 7px;
  background: var(--accent);
  display: grid;
  place-items: center;
  font: 800 12px var(--font-display);
  color: var(--primary-dark);
}
.dash-side i {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  display: block;
}
.dash-side i.on { background: var(--accent); }
.dash-main { display: flex; flex-direction: column; gap: 9px; }
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 700 9.5px var(--font-display);
  letter-spacing: 0.12em;
  color: var(--muted);
}
.dash-head .d-chip {
  background: #e3f6ee;
  color: var(--ok);
  font-size: 8.5px;
  padding: 3px 8px;
  border-radius: 99px;
  letter-spacing: 0.04em;
}
.dash-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.d-card {
  background: #fff;
  border-radius: 8px;
  padding: 8px 9px;
  border: 1px solid #e8eff2;
}
.d-card b { font: 700 13px var(--font-display); color: var(--ink); display: block; }
.d-card span { font-size: 8px; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; }
.d-card .bar {
  height: 4px;
  background: var(--soft);
  border-radius: 4px;
  margin-top: 6px;
  overflow: hidden;
}
.d-card .bar i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--primary);
  width: 0;
  transition: width 1.4s cubic-bezier(0.5, 0, 0.2, 1);
}
.d-card:nth-child(2) .bar i { background: var(--accent); }
.d-card:nth-child(3) .bar i { background: var(--ok); }
.dash.play .d-card .bar i { width: var(--w, 70%); }

.dash-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px; flex: 1; }
.d-panel {
  background: #fff;
  border: 1px solid #e8eff2;
  border-radius: 8px;
  padding: 9px;
  display: flex;
  flex-direction: column;
}
.d-panel h5 { font: 700 8.5px var(--font-display); color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.d-chart { flex: 1; }
.d-chart svg { width: 100%; height: 100%; }
.d-chart .l-area { fill: url(#heroArea); opacity: 0; transition: opacity 0.8s ease 1s; }
.d-chart .l-line {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
}
.dash.play .d-chart .l-line { animation: draw 1.8s cubic-bezier(0.5, 0, 0.3, 1) 0.4s forwards; }
.dash.play .d-chart .l-area { opacity: 1; }

.donut-wrap { align-items: center; justify-content: center; text-align: center; gap: 4px; }
.donut { position: relative; width: 86px; height: 86px; }
.donut svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.donut .track { fill: none; stroke: var(--soft); stroke-width: 9; }
.donut .val {
  fill: none;
  stroke: var(--primary);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 226;
  stroke-dashoffset: 226;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.5, 0, 0.2, 1) 0.6s;
}
.dash.play .donut .val { stroke-dashoffset: var(--target, 50); }
.donut b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 700 16px var(--font-display);
  color: var(--ink);
}
.donut-wrap span { font-size: 8.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.donut-wrap .ok-txt { color: var(--ok); font-weight: 700; }

/* Floating badges */
.badge-float {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 235, 239, 0.9);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 11px 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  animation: floatY 6s ease-in-out infinite;
}
.badge-float .b-ico {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--primary);
  flex: none;
}
.badge-float .b-ico svg { width: 19px; height: 19px; }
.badge-float b { display: block; font: 600 13px var(--font-display); color: var(--ink); line-height: 1.2; }
.badge-float small { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.badge-float small .dot-ok {
  width: 7px; height: 7px;
  background: var(--ok);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(25, 181, 118, 0.4); }
  50% { box-shadow: 0 0 0 5px rgba(25, 181, 118, 0); }
}
.badge-1 { top: 6px; left: -12px; animation-delay: 0.4s; }
.badge-2 { top: 120px; right: -20px; animation-delay: 1.4s; }
.badge-3 { bottom: 26px; left: 4px; animation-delay: 2.2s; }

/* ---------- Trust bar ---------- */
.trustbar { margin-top: -6px; padding-bottom: 10px; }
.trustbar-inner {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 26px 10px;
}
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 4px 18px;
}
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item .t-ico {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s, color 0.3s;
}
.trust-item:hover .t-ico { background: var(--accent); color: var(--ink); transform: rotate(-8deg) scale(1.08); }
.trust-item .t-ico svg { width: 24px; height: 24px; }
.trust-item b { font: 600 16.5px var(--font-display); display: block; line-height: 1.25; }
.trust-item span { color: var(--muted); font-size: 14px; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; position: relative; }
.section-soft { background: linear-gradient(180deg, var(--bg), #fdfefe); }

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.6, 0, 0.2, 1);
}
.service-card::after {
  content: "";
  position: absolute;
  width: 190px; height: 190px;
  right: -70px; top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 217, 18, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }
.service-card .s-ico {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.35s, color 0.35s;
}
.service-card .s-ico svg { width: 30px; height: 30px; }
.service-card:hover .s-ico {
  background: var(--primary-dark);
  color: var(--accent);
  transform: translateY(-4px) rotate(-6deg);
}
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.service-card .s-link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 14px var(--font-display);
  color: var(--primary);
}
.service-card .s-link svg {
  width: 15px; height: 15px;
  transition: transform 0.3s;
}
.service-card:hover .s-link svg { transform: translateX(5px); }
.service-card .tag-ext {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--soft);
  padding: 4px 10px;
  border-radius: 99px;
}
.services-cta { text-align: center; margin-top: 44px; }

/* ---------- Stats band ---------- */
.stats-band {
  background:
    radial-gradient(600px 300px at 90% -20%, rgba(255, 217, 18, 0.15), transparent 60%),
    radial-gradient(500px 300px at 5% 120%, rgba(20, 144, 184, 0.25), transparent 60%),
    linear-gradient(120deg, var(--deep) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: 24px;
  padding: 52px 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}
.stat {
  text-align: center;
  position: relative;
  padding: 8px 6px;
}
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.stat .st-ico {
  width: 46px; height: 46px;
  margin: 0 auto 12px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.stat .st-ico svg { width: 22px; height: 22px; }
.stat b {
  font: 700 clamp(28px, 3.2vw, 38px) var(--font-display);
  display: block;
  line-height: 1.1;
}
.stat b em { font-style: normal; color: var(--accent); }
.stat span { color: #b8d2dc; font-size: 14px; }

/* ---------- Réalisations ---------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.work-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.work-frame {
  background: linear-gradient(135deg, #dfeaee, #eef4f6);
  padding: 22px 22px 0;
  position: relative;
  overflow: hidden;
}
.work-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.9s ease;
  pointer-events: none;
}
.work-card:hover .work-frame::after { transform: translateX(110%); }
.work-browser {
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  box-shadow: 0 -6px 30px rgba(9, 63, 82, 0.16);
  background: #fff;
}
.work-browser .wb-bar {
  background: #e9eef1;
  padding: 7px 10px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.work-browser .wb-bar i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.work-browser .wb-bar i:nth-child(1) { background: #ff5f57; }
.work-browser .wb-bar i:nth-child(2) { background: #febc2e; }
.work-browser .wb-bar i:nth-child(3) { background: #28c840; }
.work-browser .wb-bar .wb-url {
  flex: 1;
  background: #fff;
  border-radius: 5px;
  font-size: 9px;
  color: var(--muted);
  padding: 2px 8px;
  margin-left: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.work-shot { height: 178px; overflow: hidden; }
.work-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s ease, object-position 2.6s ease;
}
.work-card:hover .work-shot img { transform: scale(1.04); object-position: bottom; }
.work-meta { padding: 18px 22px 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.work-meta h3 { font-size: 16.5px; }
.work-meta .w-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: var(--soft);
  border-radius: 99px;
  padding: 5px 12px;
  white-space: nowrap;
  flex: none;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    radial-gradient(500px 320px at 108% 118%, rgba(255, 217, 18, 0.2), transparent 60%),
    radial-gradient(560px 320px at -8% -30%, rgba(20, 144, 184, 0.35), transparent 60%),
    linear-gradient(115deg, var(--deep) 0%, var(--primary-dark) 85%);
  border-radius: 26px;
  color: #fff;
  padding: 60px 56px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-banner .cube {
  position: absolute;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(122, 216, 240, 0.35), rgba(122, 216, 240, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(2px);
  animation: cubeSpin 14s linear infinite;
}
@keyframes cubeSpin {
  0% { transform: rotate(8deg) translateY(0); }
  50% { transform: rotate(-10deg) translateY(-16px); }
  100% { transform: rotate(8deg) translateY(0); }
}
.cta-banner h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
.cta-banner h2 .y { color: var(--accent); }
.cta-banner p { color: #b8d2dc; max-width: 480px; }
.cta-side { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; position: relative; z-index: 1; }
.cta-side .cta-contact { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: #cfe2ea; }
.cta-side .cta-contact a, .cta-side .cta-contact span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}
.cta-side .cta-contact a:hover { color: #fff; }
.cta-side .cta-contact svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* ---------- Page hero (sous-pages) ---------- */
.page-hero {
  position: relative;
  padding: 72px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(620px 420px at 88% 0%, rgba(20, 144, 184, 0.3), transparent 62%),
    radial-gradient(480px 320px at 0% 110%, rgba(255, 217, 18, 0.12), transparent 55%),
    linear-gradient(120deg, var(--deep) 0%, var(--primary-dark) 100%);
  color: #fff;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  pointer-events: none;
}
.page-hero .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #a7c6d2;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb svg { width: 12px; height: 12px; opacity: 0.6; }
.page-hero h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  max-width: 720px;
  position: relative;
  z-index: 1;
}
.page-hero h1 .y { color: var(--accent); }
.page-hero p.sub {
  margin-top: 16px;
  color: #b8d2dc;
  max-width: 620px;
  font-size: 17px;
  position: relative;
  z-index: 1;
}

/* ---------- Layout service détail ---------- */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.detail-content h2 { font-size: 26px; margin: 38px 0 14px; }
.detail-content h2:first-child { margin-top: 0; }
.detail-content p { color: #43606d; margin-bottom: 16px; font-size: 16px; }
.detail-content p strong { color: var(--ink); }

.lead-quote {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  font: 600 18px/1.5 var(--font-display);
  color: var(--primary-dark);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.check-list { display: grid; gap: 12px; margin: 20px 0 28px; }
.check-list.cols-2 { grid-template-columns: 1fr 1fr; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  color: #33505e;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.check-list li:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(14, 94, 120, 0.3);
}
.check-list li .ck {
  width: 22px; height: 22px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 1px;
}
.check-list li .ck svg { width: 12px; height: 12px; }

.info-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; margin: 26px 0; }
.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.info-card .i-num {
  font: 800 15px var(--font-display);
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  background: var(--primary-dark);
  color: var(--accent);
  border-radius: 10px;
  margin-bottom: 14px;
}
.info-card h3 { font-size: 17px; margin-bottom: 8px; }
.info-card p { font-size: 14px; color: var(--muted); margin: 0; }

/* Sidebar */
.side-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 130px;
}
.side-card + .side-card { margin-top: 20px; }
.side-card h3 { font-size: 17px; margin-bottom: 16px; }
.side-nav { display: grid; gap: 6px; }
.side-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 10px;
  font: 600 14px var(--font-display);
  color: #33505e;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.side-nav a svg { width: 15px; height: 15px; color: var(--primary); flex: none; transition: transform 0.25s; }
.side-nav a:hover, .side-nav a.active { background: var(--soft); color: var(--primary); transform: translateX(4px); }
.side-nav a.active { box-shadow: inset 3px 0 0 var(--accent); }

.side-cta {
  background:
    radial-gradient(200px 160px at 100% 0%, rgba(255, 217, 18, 0.2), transparent 60%),
    linear-gradient(135deg, var(--deep), var(--primary-dark));
  color: #fff;
  border: none;
}
.side-cta h3 { color: #fff; }
.side-cta p { color: #b8d2dc; font-size: 14px; margin-bottom: 18px; }
.side-cta .side-tel {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 18px var(--font-display);
  color: #fff;
  margin-bottom: 16px;
}
.side-cta .side-tel svg { width: 18px; height: 18px; color: var(--accent); }
.side-cta .hours { font-size: 12.5px; color: #9fc0cc; margin-top: 14px; line-height: 1.5; }

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.contact-info-grid { display: grid; gap: 16px; }
.contact-tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.3s, box-shadow 0.3s;
}
.contact-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-tile .c-ico {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex: none;
  transition: background 0.3s, color 0.3s, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.contact-tile:hover .c-ico { background: var(--accent); color: var(--ink); transform: rotate(-8deg) scale(1.06); }
.contact-tile .c-ico svg { width: 22px; height: 22px; }
.contact-tile b { font: 600 15.5px var(--font-display); display: block; margin-bottom: 3px; }
.contact-tile p, .contact-tile a.val { color: var(--muted); font-size: 14.5px; }
.contact-tile a.val:hover { color: var(--primary); }

.contact-form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.contact-form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}
.contact-form-card h2 { font-size: 24px; margin-bottom: 6px; }
.contact-form-card .form-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%;
  font: 500 15px var(--font-body);
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 15px 16px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  resize: vertical;
}
.field textarea { min-height: 130px; }
.field label {
  position: absolute;
  left: 13px; top: 15px;
  font-size: 14.5px;
  color: var(--muted);
  background: transparent;
  padding: 0 4px;
  pointer-events: none;
  transition: all 0.22s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14, 94, 120, 0.10);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  top: -9px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary);
  background: #fff;
  border-radius: 4px;
}
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.field .err-msg { display: none; color: #d64545; font-size: 12px; margin: 5px 2px 0; }
.field.error input, .field.error textarea { border-color: #d64545; }
.field.error .err-msg { display: block; }

.consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.consent input {
  width: 17px; height: 17px;
  margin-top: 2px;
  accent-color: var(--primary);
  flex: none;
}
/* Champ piège à robots : hors écran, invisible pour les humains */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  background: #fdeeee;
  border: 1px solid #f2c4c4;
  border-radius: var(--radius-sm);
  color: #a33030;
  font-size: 14px;
  padding: 14px 18px;
}
.form-error a { color: #a33030; font-weight: 700; text-decoration: underline; }

.btn.is-loading { opacity: 0.75; pointer-events: none; }
.btn.is-loading .btn-ico svg { display: none; }
.btn.is-loading .btn-ico::after {
  content: "";
  width: 12px;
  height: 12px;
  border: 2.5px solid rgba(11, 43, 56, 0.3);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.consent-field .err-msg { display: none; color: #d64545; font-size: 12px; margin: 5px 2px 0; }
.consent-field.error .err-msg { display: block; }
.consent-field.error .consent span { color: #d64545; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 10px;
}
.form-success.show { display: block; animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes popIn {
  from { opacity: 0; transform: scale(0.9) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.form-success .fs-ico {
  width: 72px; height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #e3f6ee;
  color: var(--ok);
  display: grid;
  place-items: center;
}
.form-success .fs-ico svg { width: 34px; height: 34px; }
.form-success h3 { font-size: 22px; margin-bottom: 8px; }
.form-success p { color: var(--muted); }

.map-band {
  margin-top: 60px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  position: relative;
}
.map-band iframe { width: 100%; height: 380px; border: 0; display: block; filter: saturate(0.85); }
.map-pin-card {
  position: absolute;
  top: 24px; left: 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  max-width: 290px;
}
.map-pin-card b { font: 600 15px var(--font-display); display: flex; gap: 8px; align-items: center; }
.map-pin-card b svg { width: 16px; height: 16px; color: var(--primary); }
.map-pin-card p { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(180deg, var(--deep) 0%, var(--deep-2) 100%);
  color: #a9c5d1;
  margin-top: 90px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.1fr;
  gap: 40px;
  padding: 64px 0 46px;
  position: relative;
}
.footer-brand .f-logo {
  background: #fff;
  border-radius: 14px;
  padding: 10px 16px;
  display: inline-block;
  margin-bottom: 18px;
}
.footer-brand .f-logo img { height: 52px; width: auto; }
.footer-brand p { font-size: 14px; max-width: 300px; }
.footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 3px;
  border-radius: 3px;
  background: var(--accent);
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s, transform 0.2s;
}
.footer-col a svg { width: 11px; height: 11px; color: var(--accent); flex: none; }
.footer-col a:hover { color: #fff; transform: translateX(4px); }
.footer-contact li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14px;
  margin-bottom: 13px;
}
.footer-contact svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 3px; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 20px 0;
  position: relative;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-bottom-inner .made {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-bottom-inner .made svg { width: 13px; height: 13px; color: var(--accent); }

/* ---------- Scroll top ---------- */
.scroll-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--primary-dark);
  color: var(--accent);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.2s;
  z-index: 40;
}
.scroll-top svg { width: 20px; height: 20px; }
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--primary); }

/* ---------- Reveal animations ----------
   Masquage scopé sur html.js (classe posée par un script inline dans le <head>) :
   sans JavaScript, tout le contenu reste visible. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s cubic-bezier(0.35, 0, 0.2, 1), transform 0.8s cubic-bezier(0.35, 0, 0.2, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
html.js [data-reveal="left"] { transform: translateX(-40px); }
html.js [data-reveal="right"] { transform: translateX(40px); }
html.js [data-reveal="zoom"] { transform: scale(0.92); }
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-copy { text-align: center; }
  .hero-copy p.lead { margin-inline: auto; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-actions { justify-content: center; }
  .services-grid, .works-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 34px 10px; }
  .stat:nth-child(3) { border-left: none; }
  .detail-layout { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .cta-banner { grid-template-columns: 1fr; padding: 46px 34px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav, .nav-cta { display: none; }
  .burger { display: flex; }
  .nav.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 16px 22px 24px;
    gap: 2px;
    animation: menuIn 0.3s ease;
  }
  @keyframes menuIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav.mobile-open > a::after, .nav.mobile-open .nav-drop-btn::after { display: none; }
  .nav.mobile-open .nav-drop-menu {
    position: static;
    translate: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg);
    display: none;
    margin-top: 4px;
  }
  .nav.mobile-open .nav-drop.open .nav-drop-menu { display: block; }
  .topbar-right span.hide-sm { display: none; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 36px); }
  .section { padding: 64px 0; }
  .services-grid, .works-grid, .info-cards, .form-grid, .check-list.cols-2 { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 40px 18px; }
  .stat + .stat { border-left: none; }
  .trustbar-inner { grid-template-columns: 1fr; gap: 8px; }
  .trust-item { justify-content: flex-start; }
  .trust-item + .trust-item { border-left: none; border-top: 1px solid var(--line); padding-top: 18px; }
  .badge-2 { right: -6px; }
  .badge-3 { left: -4px; }
  .topbar-left { display: none; }
  .topbar-inner { justify-content: center; }
  .hero { padding: 46px 0 70px; }
  .contact-form-card { padding: 26px 20px; }
  .cta-banner { padding: 38px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
}
