/* =========================================================
   Enhanced Intelligence — pieri.fr
   Style clair & épuré : fond blanc, titres bleu marine,
   accents bleu vif, ombres douces.
   ========================================================= */

:root {
  --navy: #06323d;        /* teal-ink : titres & footer */
  --navy-soft: #0a4a59;
  --blue: #0097b2;        /* teal du logo */
  --blue-bright: #00b3d4;
  --blue-soft: #e1f4f8;
  --ink: #1a2a30;
  --muted: #566169;
  --line: #e2eaee;
  --bg: #ffffff;
  --bg-alt: #f4f9fb;
  --white: #ffffff;
  --shadow-sm: 0 4px 14px rgba(6, 50, 61, 0.06);
  --shadow: 0 18px 40px rgba(6, 50, 61, 0.10);
  --shadow-lg: 0 30px 70px rgba(6, 50, 61, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1140px;
  --grad: linear-gradient(100deg, #006d81, #0097b2 50%, #00b3d4);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-name { font-family: "Space Grotesk", "Inter", sans-serif; }

a { color: var(--blue); text-decoration: none; }

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

/* ---------- Animated background orbs ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.orb-1 { width: 480px; height: 480px; background: #c9eef5; top: -140px; right: -120px; animation: float1 18s ease-in-out infinite; }
.orb-2 { width: 420px; height: 420px; background: #ddf3f8; top: 35%; left: -160px; animation: float2 22s ease-in-out infinite; }
.orb-3 { width: 360px; height: 360px; background: #d2eef6; bottom: -120px; right: 10%; animation: float1 26s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-30px, 40px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px, -30px); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 26px rgba(0, 151, 178, .32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 151, 178, .42); }
.btn-ghost { background: var(--white); color: var(--navy); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--blue-bright); color: var(--blue); }
.btn-block { width: 100%; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); background: var(--blue-soft);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 34px 0 88px; overflow: hidden; isolation: isolate;
  /* base teintée : le hero n'est plus blanc */
  background:
    radial-gradient(70% 60% at 50% -10%, rgba(0, 179, 212, .16), transparent 70%),
    radial-gradient(46% 46% at 86% 8%, rgba(183, 61, 223, .12), transparent 70%),
    radial-gradient(46% 46% at 10% 16%, rgba(202, 245, 71, .10), transparent 70%),
    linear-gradient(180deg, #f3fbfd 0%, #ffffff 78%);
}

/* aurore spectrale IA (teal + violet + lime, accents du logo) */
.hero::before {
  content: ""; position: absolute; z-index: 0; left: 50%; top: -16%;
  width: min(1200px, 140%); height: 700px; transform: translateX(-50%);
  background:
    radial-gradient(closest-side at 26% 36%, rgba(0, 179, 212, .55), transparent 70%),
    radial-gradient(closest-side at 74% 44%, rgba(183, 61, 223, .34), transparent 70%),
    radial-gradient(closest-side at 50% 76%, rgba(202, 245, 71, .30), transparent 70%);
  filter: blur(70px); opacity: 1; animation: aurora 16s ease-in-out infinite;
}
@keyframes aurora {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(0deg) scale(1); }
  33%      { transform: translateX(-45%) translateY(22px) rotate(8deg) scale(1.07); }
  66%      { transform: translateX(-55%) translateY(-14px) rotate(-7deg) scale(1.04); }
}

/* réseau neuronal (canvas) */
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* grille tech en fondu radial */
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 151, 178, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 151, 178, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 34%, #000 38%, transparent 76%);
          mask-image: radial-gradient(ellipse 72% 62% at 50% 34%, #000 38%, transparent 76%);
}

/* ligne de scan spectrale qui balaie verticalement */
.hero-scan {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 179, 212, .14) 50%, transparent 100%);
  height: 38%; animation: scan 7.5s linear infinite;
}
@keyframes scan { 0% { transform: translateY(-120%); } 100% { transform: translateY(320%); } }

.hero-inner { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-brand { display: flex; align-items: center; justify-content: center; margin-bottom: 30px; }
.hero-logo { height: clamp(78px, 13vw, 148px); width: auto; max-width: 100%; }
.brand-name { font-weight: 700; font-size: 1.35rem; color: var(--navy); letter-spacing: -.01em; }

.hero-title {
  font-size: clamp(1.8rem, 4.4vw, 3.35rem); line-height: 1.1; color: var(--navy);
  font-weight: 700; letter-spacing: -.02em; margin-bottom: 22px; max-width: 860px;
}
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 660px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 56px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; width: 100%; max-width: 860px;
  perspective: 1100px;
}
.stat {
  position: relative; text-align: center; border-radius: 16px; padding: 22px 16px 20px;
  /* bordure en dégradé spectral */
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(150deg, rgba(0,151,178,.6), rgba(183,61,223,.4) 55%, rgba(0,179,212,.6)) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 10px 30px rgba(6,50,61,.08);
  overflow: hidden; transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
/* reflet qui balaie la carte au survol */
.stat::before {
  content: ""; position: absolute; top: 0; left: -130%; width: 65%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.7), transparent);
  transform: skewX(-18deg); transition: left .65s ease; pointer-events: none;
}
.stat:hover::before { left: 150%; }
/* halo lumineux derrière la carte au survol */
.stat::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: -1;
  background: radial-gradient(130px 90px at 50% 0%, rgba(0,179,212,.4), transparent 70%);
  opacity: 0; transition: opacity .35s ease;
}
.stat:hover {
  transform: translateY(-9px) scale(1.045) rotateX(7deg);
  box-shadow: 0 26px 52px rgba(0,151,178,.30);
}
.stat:hover::after { opacity: 1; }

.stat-ico {
  display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 12px;
  border-radius: 14px; font-size: 1.4rem; color: #fff; background: var(--grad);
  box-shadow: 0 8px 18px rgba(0,151,178,.42);
  animation: icoPulse 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * .45s);
}
.stat:nth-child(2) .stat-ico { background: linear-gradient(135deg, #0097b2, #00b3d4 55%, #3fd0e6); }
.stat:nth-child(3) .stat-ico { background: linear-gradient(135deg, #00b3d4, #0a6f86); }
.stat:nth-child(4) .stat-ico { background: linear-gradient(135deg, #006d81, #00b3d4); }
.stat strong { display: block; color: var(--navy); font-size: 1.08rem; font-family: "Space Grotesk", sans-serif; letter-spacing: -.01em; }
.stat-sub { display: block; margin-top: 3px; font-size: .82rem; color: var(--muted); }

@keyframes icoPulse {
  0%, 100% { box-shadow: 0 8px 18px rgba(0,151,178,.42); transform: translateY(0) scale(1); }
  50%      { box-shadow: 0 13px 28px rgba(0,179,212,.58); transform: translateY(-2px) scale(1.06); }
}

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: var(--blue); font-size: 1.1rem; animation: bob 1.8s ease-in-out infinite; opacity: .7;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); color: var(--navy); line-height: 1.15; letter-spacing: -.02em; }
.section-lead { color: var(--muted); margin-top: 16px; font-size: 1.08rem; }

/* ---------- Services ---------- */
.services { padding: 90px 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px;
  background: var(--blue-soft); color: var(--blue); font-size: 1.5rem; margin-bottom: 18px;
}
.card h3 { color: var(--navy); font-size: 1.22rem; margin-bottom: 10px; line-height: 1.25; }
.card p { color: var(--muted); font-size: .98rem; text-align: justify; hyphens: auto; }

/* ---------- Process ---------- */
.process { padding: 70px 0 90px; background: var(--bg-alt); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
}
.step-num { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.6rem; color: var(--blue-bright); display: block; margin-bottom: 8px; }
.step h4 { color: var(--navy); font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .92rem; }

/* ---------- Références clients ---------- */
.refs { padding: 90px 0; }
.refs-carousel { display: flex; align-items: stretch; gap: 18px; }
.refs-grid { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ref {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.ref:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ref[hidden] { display: none; }
.ref-top { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.ref-avatar {
  flex: none; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 13px;
  background: #fff; border: 1px solid var(--line); padding: 7px; overflow: hidden;
  box-shadow: 0 6px 16px rgba(6, 50, 61, .10);
}
.ref-avatar img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ref-id strong { display: block; color: var(--navy); font-size: 1.05rem; font-family: "Space Grotesk", sans-serif; line-height: 1.2; }
.ref-id span { font-size: .85rem; color: var(--muted); }
.ref p { color: var(--muted); font-size: .95rem; text-align: justify; hyphens: auto; }

/* flèches de navigation (flanquantes, modernes) */
.refs-arrow {
  flex: none; align-self: center; width: 56px; height: 56px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: var(--blue);
  background: rgba(255, 255, 255, .85); border: 1.5px solid var(--line);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 10px 26px rgba(6, 50, 61, .10);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.refs-arrow svg { display: block; }
.refs-arrow:hover {
  color: #fff; background: var(--grad); border-color: transparent;
  box-shadow: 0 16px 34px rgba(0, 151, 178, .42); transform: scale(1.09);
}
.refs-arrow:active { transform: scale(.95); }
.refs-arrow:focus-visible { outline: 3px solid rgba(0, 179, 212, .4); outline-offset: 3px; }

/* ---------- Contact ---------- */
.contact { padding: 45px 0; background: var(--bg-alt); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); color: var(--navy); line-height: 1.15; }
.contact-text p { color: var(--muted); margin: 16px 0 26px; font-size: 1.06rem; }
.contact-meta { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.contact-meta li { display: flex; flex-direction: column; }
.contact-meta span { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact-meta a { font-weight: 600; font-size: 1.05rem; }

.contact-form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow);
}
.field { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row .field { margin-bottom: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field label span { color: var(--blue-bright); }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fbfcfe; transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 4px rgba(0, 179, 212, .16); background: #fff;
}
.field textarea { resize: vertical; }
.field label .lbl-ico, .neuro-label .lbl-ico {
  width: 14px; height: 14px; color: var(--blue);
  vertical-align: -2px; margin-right: 6px;
}
.btn-ico { width: 18px; height: 18px; flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Mini-captcha neuronal ---------- */
.neuro { margin-bottom: 14px; }
.neuro-label { display: block; font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.neuro-label span { color: var(--blue-bright); }
.neuro-instr { font-size: .82rem; color: var(--muted); margin: 0 0 8px; }
.neuro-instr strong { font-style: normal; }
.neuro-instr em { font-style: normal; color: var(--blue); }
.neuro-grid {
  display: flex; flex-wrap: wrap; gap: 9px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: radial-gradient(120% 140% at 50% 0%, #f4fbfd 0%, #fbfcfe 70%);
}
.neuro-node {
  width: 42px; height: 42px; flex: 0 0 auto; padding: 0;
  box-sizing: border-box; appearance: none; -webkit-appearance: none; font-family: inherit;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 1.2rem; line-height: 1; cursor: pointer;
  border: 1px solid var(--line); border-radius: 50%;
  background: #fff; color: var(--ink);
  box-shadow: 0 4px 12px rgba(6, 50, 61, .07);
  transition: transform .18s ease, box-shadow .25s ease, border-color .2s ease, background .25s ease;
  animation: neuroPulse 3.2s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * .35s);
}
.neuro-node:hover { transform: translateY(-3px) scale(1.06); border-color: var(--blue-bright); box-shadow: 0 0 0 4px rgba(0, 179, 212, .16), 0 10px 22px rgba(0, 151, 178, .22); }
.neuro-node:focus-visible { outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 4px rgba(0, 179, 212, .28); }
.neuro-node.wrong { animation: neuroShake .4s ease; border-color: #e7a3a3; }
.neuro-node.correct {
  cursor: default; animation: none; transform: scale(1.08);
  background: var(--grad); color: #fff; border-color: transparent;
  box-shadow: 0 0 0 4px rgba(0, 179, 212, .25), 0 12px 26px rgba(0, 151, 178, .42);
}
.neuro.solved .neuro-grid { border-color: var(--blue-bright); }
.neuro.solved .neuro-node:not(.correct) { opacity: .35; pointer-events: none; animation: none; }
.neuro-state { margin: 7px 0 0; font-size: .82rem; min-height: 1em; font-weight: 600; }
.neuro-state.ok { color: #1a8a4a; }
.neuro-state.ko { color: #d63b3b; }

@keyframes neuroPulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(6, 50, 61, .07); }
  50% { box-shadow: 0 0 0 3px rgba(0, 179, 212, .10), 0 6px 16px rgba(0, 151, 178, .18); }
}
@keyframes neuroShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
@media (prefers-reduced-motion: reduce) {
  .neuro-node, .neuro-node.wrong { animation: none; }
}
.form-status { margin-top: 14px; font-size: .95rem; min-height: 1.2em; }
.form-status.ok { color: #1a8a4a; }
.form-status.err { color: #d63b3b; }

/* ---------- Téléphone (colonne contact) ---------- */
.contact-phone {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 26px;
  padding: 14px 20px 14px 14px; border-radius: 16px; text-decoration: none;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  border: 1.5px solid transparent; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.contact-phone:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,151,178,.26); }
.phone-ico {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--grad); color: #fff; box-shadow: 0 8px 18px rgba(0,151,178,.4); flex: none;
}
.phone-meta { display: flex; flex-direction: column; line-height: 1.2; }
.phone-meta small { font-size: .78rem; color: var(--muted); }
.phone-meta strong { font-family: "Space Grotesk", sans-serif; font-size: 1.35rem; color: var(--navy); letter-spacing: .01em; }

/* ---------- Stack technologique (bande sombre spectrale) ---------- */
.stack {
  padding: 92px 0; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #062a34 0%, #0a4a59 52%, #06323d 100%);
}
.stack::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42% 60% at 18% 18%, rgba(0, 179, 212, .30), transparent 62%),
    radial-gradient(42% 60% at 82% 84%, rgba(183, 61, 223, .22), transparent 62%),
    radial-gradient(40% 50% at 60% 30%, rgba(202, 245, 71, .12), transparent 60%);
}
.stack::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 40%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 40%, transparent 80%);
}
.stack .container { position: relative; z-index: 1; }
.stack .section-head h2 { color: #ffffff; }
.stack .section-lead { color: #b9dde6; }
.stack .eyebrow { color: #ffffff; background: rgba(255, 255, 255, .14); }

.tech-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 940px; margin: 0 auto; }
.tech {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  font-weight: 600; font-size: .98rem; color: #eaf6f9; cursor: default;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.tech:hover {
  transform: translateY(-5px); background: rgba(255, 255, 255, .14);
  border-color: rgba(0, 179, 212, .65);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .32), 0 0 22px rgba(0, 179, 212, .45);
}
.tech-ico { font-size: 1.25rem; line-height: 1; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #c8d3ea; padding: 54px 0 30px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { height: 42px; width: auto; }
.footer-brand strong { display: block; color: #fff; font-size: 1.1rem; }
.footer-brand span { font-size: .85rem; color: #93a4c6; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.footer-links a { color: #c8d3ea; font-weight: 500; transition: color .2s ease; }
.footer-links a:hover { color: #fff; }
.copyright { font-size: .85rem; color: #7e90b5; }

/* ---------- Modal À propos ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-overlay { position: absolute; inset: 0; background: rgba(10, 31, 68, .55); backdrop-filter: blur(4px); animation: fade .25s ease; }
.modal-box {
  position: relative; background: #fff; max-width: 600px; width: 100%; border-radius: var(--radius);
  padding: 44px 40px; box-shadow: var(--shadow-lg); max-height: 88vh; overflow-y: auto;
  animation: pop .3s cubic-bezier(.2,.8,.2,1);
}
.modal-box h2 { color: var(--navy); margin-bottom: 16px; }
.modal-box p { color: var(--muted); margin-bottom: 14px; }
.modal-box .btn { margin-top: 10px; }
.apropos-legal {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; font-size: .92rem; color: var(--navy-soft) !important; line-height: 1.5;
}
.apropos-legal strong { color: var(--navy); }
.modal-close {
  position: absolute; top: 16px; right: 18px; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; font-size: 1.5rem; line-height: 1; color: var(--muted);
  cursor: pointer; transition: all .2s ease;
}
.modal-close:hover { background: var(--blue-soft); color: var(--blue); border-color: var(--blue-soft); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .refs-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-stats { max-width: 560px; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .container { padding: 0 18px; }
  .hero { padding: 40px 0 60px; }
  .hero-logo { height: 104px; }
  .services, .stack { padding: 62px 0; }
  .process { padding: 50px 0 62px; }
  .contact { padding: 31px 0; }
  .section-head { margin-bottom: 36px; }
  .hero-sub { font-size: 1.02rem; }
  .hero-cta { width: 100%; max-width: 360px; flex-direction: column; gap: 12px; }
  .hero-cta .btn { width: 100%; }
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .refs-grid { grid-template-columns: 1fr; gap: 16px; }
  .refs-carousel { gap: 8px; }
  .refs-arrow { width: 42px; height: 42px; }
  .refs-arrow svg { width: 18px; height: 18px; }
  .card { padding: 26px 22px; }
  .contact-form { padding: 24px 20px; }
  .contact-phone { width: 100%; }
  .modal-box { padding: 34px 22px; }
  .tech { padding: 10px 16px; font-size: .92rem; }
  .footer-links { gap: 8px 20px; }
  /* survol 3D désactivé sur tactile : on neutralise le tilt */
  .stat:hover { transform: translateY(-6px) scale(1.03); }
}
@media (max-width: 400px) {
  .hero-logo { height: 88px; }
  .hero-stats { gap: 12px; }
  .stat { padding: 18px 12px 16px; }
  .stat-ico { width: 42px; height: 42px; font-size: 1.25rem; }
  .phone-meta strong { font-size: 1.2rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .scroll-hint, .hero::before, .hero-scan, .stat-ico { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Bandeau « zones d'intervention » + pages locales (SEO)
   ========================================================= */
.zones-band { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 22px 0; }
.zones-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; }
.zones-band .zb-label { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.zones-band a {
  font-size: .9rem; font-weight: 600; color: var(--blue); padding: 6px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.zones-band a:hover { transform: translateY(-2px); border-color: var(--blue-bright); box-shadow: 0 6px 16px rgba(0,151,178,.18); }
.zones-band a[aria-current="page"] { background: var(--grad); color: #fff; border-color: transparent; }

.lp-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--blue); margin: 26px 0 4px; }
.lp-hero { padding: 14px 0 38px; text-align: center; }
.lp-hero .eyebrow { margin-bottom: 14px; }
.lp-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); color: var(--navy); line-height: 1.14; letter-spacing: -.02em; max-width: 880px; margin: 0 auto; }
.lp-hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lp-lead { color: var(--muted); font-size: 1.1rem; max-width: 730px; margin: 20px auto 30px; }
.lp-section { padding: 46px 0; }
.lp-section.alt { background: var(--bg-alt); }
.lp-section h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); color: var(--navy); line-height: 1.18; margin-bottom: 16px; letter-spacing: -.01em; }
.lp-section h3 { font-family: "Space Grotesk", sans-serif; color: var(--navy-soft); font-size: 1.14rem; line-height: 1.3; margin: 26px 0 8px; letter-spacing: -.01em; }
.lp-section p { color: var(--muted); font-size: 1.04rem; margin-bottom: 14px; max-width: 840px; }
.lp-section p .hl { color: var(--navy-soft); font-weight: 600; }
.lp-usecases { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 16px; margin-top: 24px; }
.lp-usecases li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.lp-usecases strong { display: block; color: var(--navy); margin-bottom: 6px; font-family: "Space Grotesk", sans-serif; }
.lp-usecases span { color: var(--muted); font-size: .95rem; }
.faq { margin-top: 6px; max-width: 840px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--blue); font-size: 1.35rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 16px; margin: 0; color: var(--muted); }
.lp-cta { text-align: center; padding: 58px 0; }
.lp-cta h2 { color: var(--navy); font-size: clamp(1.5rem,3vw,2.05rem); margin-bottom: 10px; }
.lp-cta p { color: var(--muted); max-width: 620px; margin: 0 auto 22px; }
.lp-citylinks { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.lp-citylinks a { font-weight: 600; color: var(--blue); padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background:#fff; transition: border-color .2s ease; }
.lp-citylinks a:hover { border-color: var(--blue-bright); }
