/* ============================================================
   ADAPTALYO TECH — style.css (V3)
   Clair, aéré, éditorial. Coupes diagonales, motif des lames
   du logo, animations visibles. Zéro ressemblance app sombre.
   ============================================================ */

:root {
  --navy: #010e28;
  --blue: #2563eb;
  --cyan: #22d3ee;
  --bg: #f7f9fe;
  --white: #ffffff;
  --ink: #0b1830;
  --muted: #51617d;
  --line: #e3eaf7;
  --grad: linear-gradient(115deg, var(--blue), var(--cyan));
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Lien d'évitement (accessibilité clavier) ---------- */
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 200;
  background: var(--navy); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  text-decoration: none;
  padding: 12px 22px; border-radius: 0 0 14px 14px;
  transition: top .2s ease;
}
.skip-link:focus-visible { top: 0; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .34em; text-transform: uppercase;
  color: var(--blue);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 3px; border-radius: 3px;
  background: var(--grad);
  transform: skewX(-18deg);
}
.on-dark.eyebrow, .on-dark .eyebrow { color: var(--cyan); }

/* ---------- Boutons ---------- */
.btn {
  font-family: var(--font-display);
  font-weight: 700; font-size: .98rem;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.btn-primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 26px rgba(37, 99, 235, .32);
}
.btn-primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s ease;
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 36px rgba(34, 211, 238, .38); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-dark { color: var(--ink); border: 1.5px solid var(--ink); }
.btn-dark:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }
.btn-light { color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn-light:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-3px); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(5px); }

/* ---------- Topbar : le logo complet, chez lui sur fond navy ---------- */
.topbar {
  position: sticky; top: 0; z-index: 80;
  background: var(--navy);
  border-bottom: 1px solid rgba(34, 211, 238, .14);
  transition: box-shadow .3s ease;
}
.topbar.scrolled { box-shadow: 0 10px 30px rgba(1, 14, 40, .35); }
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 6px 0;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 64px; width: auto; }
.topnav { display: flex; align-items: center; gap: 30px; }
.topnav a:not(.btn) {
  font-family: var(--font-display);
  font-weight: 600; font-size: .92rem;
  color: #c9d6f2; text-decoration: none;
  transition: color .2s ease;
}
.topnav a:not(.btn):hover { color: var(--cyan); }
.topnav .btn { padding: 11px 22px; font-size: .88rem; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 12px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2.5px; border-radius: 2px;
  background: #fff;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero clair ---------- */
.hero {
  padding: 44px 0 110px;
  position: relative;
  background:
    radial-gradient(900px 480px at 92% -10%, rgba(34, 211, 238, .12), transparent 60%),
    radial-gradient(700px 420px at -8% 30%, rgba(37, 99, 235, .09), transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: 38px;
  align-items: start;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.35rem, 5vw, 3.85rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 24px 0 24px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.uline { position: relative; white-space: nowrap; }
.uline svg { position: absolute; left: 0; bottom: -.18em; width: 100%; height: .34em; overflow: visible; }
.uline path {
  fill: none; stroke: url(#gradStroke); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 320; stroke-dashoffset: 320;
  animation: draw 1.1s .8s ease forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero .lead { font-size: 1.1rem; color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 34px; }
.hero-points { list-style: none; display: grid; gap: 10px; }
.hero-points li {
  display: flex; align-items: center; gap: 12px;
  color: var(--muted); font-size: .96rem; font-weight: 500;
}
.hero-points .tick {
  flex: none; width: 22px; height: 22px; border-radius: 7px;
  transform: skewX(-10deg);
  background: var(--grad);
  display: grid; place-items: center;
}
.hero-points .tick svg { transform: skewX(10deg); }


/* ---------- Hero animation isométrique ---------- */
.hero-visual {
  position: relative;
  width: 100%;
  min-height: 530px;
  display: grid;
  place-items: center;
  margin-top: -32px;
}
.hero-visual .scene {
  width: min(99.5%, 689px); /* compense le recadrage de la viewBox : taille identique sur PC */
  max-width: none;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 24px 42px rgba(11, 24, 48, .08));
}
.hero-visual .seq{opacity:0}
.hero-visual .play .s-client{animation:iso-pop .6s ease .2s forwards, iso-bobc 5s ease-in-out .8s infinite}
.hero-visual .play .s-core{animation:iso-pop .7s ease .9s forwards, iso-bobcore 6s ease-in-out 1.6s infinite}
.hero-visual .play .s-m1{animation:iso-pop .55s ease 1.6s forwards, iso-bob 5.5s ease-in-out 2.2s infinite}
.hero-visual .play .s-m2{animation:iso-pop .55s ease 2s forwards, iso-bob 5.5s ease-in-out 2.6s infinite}
.hero-visual .play .s-m3{animation:iso-pop .55s ease 2.4s forwards, iso-bob 5.5s ease-in-out 3s infinite}
.hero-visual .play .s-m4{animation:iso-pop .55s ease 2.8s forwards, iso-bob 5.5s ease-in-out 3.4s infinite}
@keyframes iso-pop{0%{opacity:0;transform:translateY(14px) scale(.9)}100%{opacity:1;transform:translateY(0) scale(1)}}
.hero-visual .cable{fill:none;stroke:#d3e0f5;stroke-width:2.5;stroke-dasharray:240;stroke-dashoffset:240}
.hero-visual .play .c1{animation:iso-dash .6s ease 1.6s forwards}
.hero-visual .play .c2{animation:iso-dash .6s ease 2s forwards}
.hero-visual .play .c3{animation:iso-dash .6s ease 2.4s forwards}
.hero-visual .play .c4{animation:iso-dash .6s ease 2.8s forwards}
@keyframes iso-dash{to{stroke-dashoffset:0}}
.hero-visual .flow{fill:none;stroke-width:3.2;stroke-linecap:round;stroke-dasharray:12 210;filter:drop-shadow(0 0 5px rgba(34,211,238,.85));opacity:0}
.hero-visual .play .fl1{animation:iso-appearflow .3s 2.3s forwards,iso-flow 2.6s linear 2.3s infinite}
.hero-visual .play .fl2{animation:iso-appearflow .3s 2.6s forwards,iso-flow 3s linear 2.6s infinite}
.hero-visual .play .fl3{animation:iso-appearflow .3s 2.9s forwards,iso-flow 2.8s linear 2.9s infinite}
.hero-visual .play .fl4{animation:iso-appearflow .3s 3.2s forwards,iso-flow 3.2s linear 3.2s infinite}
@keyframes iso-appearflow{to{opacity:1}}
@keyframes iso-flow{to{stroke-dashoffset:-222}}
.hero-visual .fl1,.hero-visual .fl3{stroke:#22d3ee}.hero-visual .fl2,.hero-visual .fl4{stroke:#3b82f6}
@keyframes iso-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes iso-bobcore{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes iso-bobc{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.hero-visual .ring{fill:none;stroke:#22d3ee;stroke-width:1.6;opacity:0;transform-origin:340px 292px}
.hero-visual .play .amb-glow{animation:iso-glowFade .8s ease .9s forwards}
@keyframes iso-glowFade{0%{opacity:0}100%{opacity:.1}}
.hero-visual .play .ring{animation:iso-ring 3.2s ease-out 1.8s infinite}
.hero-visual .play .ring.r2{animation:iso-ring 3.2s ease-out 3.4s infinite}
@keyframes iso-ring{0%{opacity:.5;transform:scale(.75)}80%,100%{opacity:0;transform:scale(1.3)}}
.hero-visual .logo-shine{animation:iso-shine 5s linear infinite;mix-blend-mode:screen;transform:skewX(-20deg)}
@keyframes iso-shine{0%{transform:translateX(-90px) skewX(-20deg)}100%{transform:translateX(500px) skewX(-20deg)}}
.hero-visual .scr{opacity:0}
.hero-visual .scr-0{animation:iso-scrShow0 30s linear infinite}
.hero-visual .scr-1{animation:iso-scrShow1 30s linear infinite}
.hero-visual .scr-2{animation:iso-scrShow2 30s linear infinite}
.hero-visual .scr-3{animation:iso-scrShow3 30s linear infinite}
.hero-visual .scr-4{animation:iso-scrShow4 30s linear infinite}
@keyframes iso-scrShow0{0%{opacity:1}31%{opacity:1}33.3%{opacity:0}100%{opacity:0}}
@keyframes iso-scrShow1{0%{opacity:0}33.3%{opacity:0}35%{opacity:1}48.3%{opacity:1}50%{opacity:0}100%{opacity:0}}
@keyframes iso-scrShow2{0%{opacity:0}50%{opacity:0}51.7%{opacity:1}65%{opacity:1}66.7%{opacity:0}100%{opacity:0}}
@keyframes iso-scrShow3{0%{opacity:0}66.7%{opacity:0}68.3%{opacity:1}81.7%{opacity:1}83.3%{opacity:0}100%{opacity:0}}
@keyframes iso-scrShow4{0%{opacity:0}83.3%{opacity:0}85%{opacity:1}99%{opacity:1}99.5%{opacity:0}100%{opacity:0}}
.hero-visual .node{opacity:0}
.hero-visual .play .node{animation:iso-blink 2.4s ease-in-out infinite;animation-delay:3.3s}
@keyframes iso-blink{0%,100%{opacity:.45}50%{opacity:1}}
.hero-visual .labels text{font-family:var(--font-display);font-weight:700;fill:var(--ink)}

/* Entrée orchestrée */
.stagger { opacity: 0; transform: translateY(26px); animation: rise .75s ease forwards; }
.st-1 { animation-delay: .05s; } .st-2 { animation-delay: .18s; }
.st-3 { animation-delay: .32s; } .st-4 { animation-delay: .46s; }
.st-5 { animation-delay: .6s; }
.hero-visual.stagger { transform: translateY(40px); animation-delay: .35s; animation-duration: .9s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-head { max-width: 660px; margin-bottom: 58px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 18px 0 14px;
}
.section-head p { color: var(--muted); font-size: 1.06rem; }

/* ---------- Services : lignes éditoriales auto-dépliantes ---------- */
.srv-list { border-top: 1px solid var(--line); }
.srv { border-bottom: 1px solid var(--line); transition: background-color .3s ease; }
.srv:hover { background: #fff; }
.srv-head {
  width: 100%;
  display: grid;
  grid-template-columns: 96px 58px 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 34px 10px;
  background: none; border: 0; cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.srv-num {
  font-family: var(--font-display);
  font-weight: 800; font-size: 2.6rem; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.6px var(--blue);
  transition: color .3s ease;
}
.srv.open .srv-num, .srv:hover .srv-num {
  color: var(--blue); -webkit-text-stroke: 1.6px transparent;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
}
.srv-ico {
  width: 58px; height: 58px; border-radius: 17px;
  transform: skewX(-10deg);
  background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(34,211,238,.14));
  border: 1px solid rgba(37, 99, 235, .18);
  display: grid; place-items: center;
}
.srv-ico svg { transform: skewX(10deg); }
.srv-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  color: var(--ink);
}
.srv-title small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500; font-size: .92rem;
  color: var(--muted); margin-top: 4px;
}
.srv-chev {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid; place-items: center;
  color: var(--blue);
  transition: transform .4s ease, background-color .3s ease, border-color .3s ease, color .3s ease;
}
.srv.open .srv-chev { transform: rotate(45deg); background: var(--navy); border-color: var(--navy); color: var(--cyan); }
.srv-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .55s cubic-bezier(.22,.8,.3,1);
}
.srv-body > div { overflow: hidden; }
.srv.open .srv-body { grid-template-rows: 1fr; }
.srv-body-inner {
  display: grid;
  grid-template-columns: 96px 1fr .9fr;
  gap: 26px;
  padding: 0 10px 40px;
}
.srv-body p { color: var(--muted); font-size: 1.02rem; max-width: 480px; }
.srv-body .tag {
  display: inline-block; margin-top: 18px;
  font-family: var(--font-display);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue);
  background: rgba(37, 99, 235, .08);
  border: 1px solid rgba(37, 99, 235, .25);
  padding: 8px 16px; border-radius: 999px;
}
.srv-more {
  display: inline-block; margin-top: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: .88rem;
  color: var(--blue); text-decoration: none;
}
.srv-more .arrow { display: inline-block; transition: transform .25s ease; }
.srv-more:hover .arrow { transform: translateX(4px); }
.srv-body ul { list-style: none; align-self: center; }
.srv-body li {
  position: relative; padding-left: 26px;
  color: var(--ink); font-weight: 500; font-size: .97rem;
  margin-bottom: 10px;
}
.srv-body li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 12px; height: 6px; border-radius: 3px;
  transform: skewX(-18deg);
  background: var(--grad);
}

/* ---------- Pourquoi Adaptalyo Tech : cartes bénéfices ----------
   Même vocabulaire visuel que le reste du site : numéros en contour
   dégradé (comme .srv-num / .stat-num) et lame diagonale flottante
   (comme .qp-blade / .final .blade) plutôt que des pictos génériques. */
@keyframes float { to { transform: skewX(-14deg) translateY(-18px); } }
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.benefit-card {
  position: relative;
  overflow: hidden;
  padding: 40px 36px 36px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.benefit-card.reveal { transform: translateY(34px) scale(.95); }
.benefit-card.reveal.visible { transform: translateY(0) scale(1); }
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(37, 99, 235, .16);
  border-color: transparent;
}
.benefit-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(240px 180px at 100% 0%, rgba(34, 211, 238, .1), transparent 70%);
  pointer-events: none;
}
.benefit-card::after {
  content: "";
  position: absolute; left: 36px; right: 36px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s ease;
}
.benefit-card:hover::after { transform: scaleX(1); }
.benefit-blade {
  position: absolute; top: -34px; right: -18px;
  width: 66px; height: 150px;
  border-radius: 22px;
  transform: skewX(-14deg);
  background: linear-gradient(165deg, rgba(37, 99, 235, .14), rgba(34, 211, 238, .18));
  animation: float 7s ease-in-out infinite alternate;
  transition: background .35s ease;
  pointer-events: none;
}
.benefit-card:nth-child(2) .benefit-blade { animation-delay: -2s; }
.benefit-card:nth-child(3) .benefit-blade { animation-delay: -4s; }
.benefit-card:nth-child(4) .benefit-blade { animation-delay: -6s; }
.benefit-card:hover .benefit-blade {
  background: linear-gradient(165deg, rgba(37, 99, 235, .24), rgba(34, 211, 238, .3));
}
.benefit-ico {
  position: relative;
  margin-bottom: 22px;
  transition: transform .35s ease, background .35s ease;
}
.benefit-card:hover .benefit-ico {
  transform: skewX(-10deg) scale(1.08) translateY(-2px);
  background: linear-gradient(135deg, rgba(37,99,235,.2), rgba(34,211,238,.26));
}
.benefit-card h3 { position: relative; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 12px; }
.benefit-card p { position: relative; color: var(--muted); font-size: .98rem; max-width: 46ch; }

/* ---------- Nos SaaS : grille de 4 cartes égales, couleur par produit ---------- */
.saas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.saas-card {
  --saas-accent: var(--blue);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.saas-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(11, 24, 48, .16);
  border-color: transparent;
}
.saas-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.saas-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.saas-card:hover .saas-card-media img { transform: scale(1.04); }
.saas-card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px 28px 28px; }
.saas-card .saas-tag {
  font-family: var(--font-display);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--saas-accent);
}
.saas-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; }
.saas-card p { color: var(--muted); font-size: .95rem; }
.saas-card .saas-audience {
  font-size: .82rem; color: var(--muted); font-style: italic;
}
.saas-card .saas-link {
  margin-top: auto; padding-top: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: .92rem;
  color: var(--saas-accent);
}
.saas-card .saas-link .arrow { display: inline-block; transition: transform .25s ease; }
.saas-card:hover .saas-link .arrow { transform: translateX(4px); }
.saas-card-linkarea { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.saas-store-link {
  display: block;
  padding: 12px 28px 18px;
  border-top: 1px solid var(--line);
  font-size: .78rem; color: var(--muted); text-decoration: none;
}
.saas-store-link:hover { color: var(--saas-accent); }

/* ---------- Méthode : timeline qui se dessine ---------- */
.timeline { position: relative; max-width: 760px; }
.timeline .rail {
  position: absolute; left: 27px; top: 8px; bottom: 8px;
  width: 3px; border-radius: 3px;
  background: var(--line);
}
.timeline .rail .rail-fill {
  display: block; width: 100%; height: 100%;
  border-radius: 3px;
  background: var(--grad);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform .2s linear;
}
.tl-step { position: relative; padding: 0 0 46px 92px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step .num {
  position: absolute; left: 0; top: 0;
  width: 56px; height: 56px; border-radius: 17px;
  transform: skewX(-10deg);
  background: var(--white);
  border: 2px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.05rem;
  color: var(--muted);
  transition: background-color .4s ease, color .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.tl-step .num span { transform: skewX(10deg); }
.tl-step.visible .num {
  background: var(--navy); color: var(--cyan);
  border-color: var(--navy);
  box-shadow: 0 12px 26px rgba(1, 14, 40, .25);
}
.tl-step h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin-bottom: 8px; }
.tl-step p { color: var(--muted); max-width: 560px; }

/* ---------- À propos ---------- */
.about { background: var(--white); border-block: 1px solid var(--line); }

/* Panneau citation : fond dégradé animé + lames flottantes */
.quote-panel {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid #d6e4fb;
  background: linear-gradient(120deg, #e8f0ff, #ddfaff, #e6ecff, #e8f0ff);
  background-size: 300% 300%;
  animation: pan 14s ease-in-out infinite;
  padding: 60px 64px;
  margin-bottom: 70px;
}
@keyframes pan {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.quote-panel .qp-blade {
  position: absolute;
  border-radius: 26px;
  transform: skewX(-14deg);
  background: linear-gradient(165deg, rgba(37, 99, 235, .18), rgba(34, 211, 238, .22));
  animation: float 8s ease-in-out infinite alternate;
  pointer-events: none;
}
.quote-panel .qa { width: 120px; height: 300px; right: 6%; top: -70px; }
.quote-panel .qb { width: 90px; height: 220px; right: 17%; bottom: -90px; animation-delay: -4s; }
.quote-panel blockquote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 2.35rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
  max-width: 860px;
  margin: 22px 0 18px;
  position: relative;
}
.quote-panel blockquote em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.quote-panel .who { color: var(--muted); font-size: .98rem; position: relative; }
.quote-panel .who strong { color: var(--ink); }

.about-cols { columns: 2; column-gap: 54px; margin-bottom: 64px; }
.about-cols p { color: var(--muted); font-size: 1.02rem; margin-bottom: 18px; break-inside: avoid; }
.about-cols p strong { color: var(--ink); }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  border-top: 1px solid var(--line);
  padding-top: 44px;
}
.stat .stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .stat-label { color: var(--muted); font-weight: 500; margin-top: 8px; font-size: .98rem; }

/* ---------- Pages de service dédiées ---------- */
.page-hero { padding: 156px 0 64px; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: .85rem;
  color: var(--muted); text-decoration: none; margin-bottom: 26px;
}
.back-link:hover { color: var(--blue); }
.page-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.12; max-width: 18ch; margin: 14px 0 18px; }
.page-hero .lead { color: var(--muted); font-size: 1.12rem; max-width: 60ch; margin-bottom: 30px; }
.page-block { max-width: 760px; }
.page-block h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; margin: 40px 0 16px; }
.page-block h2:first-child { margin-top: 0; }
.page-block p { color: var(--muted); font-size: 1.02rem; margin-bottom: 14px; }
.page-block p a, .about-cols p a { text-decoration: underline; text-underline-offset: 3px; }
.page-block ul { list-style: none; margin: 4px 0 0; }
.page-block li { position: relative; padding-left: 26px; color: var(--ink); font-weight: 500; font-size: .98rem; margin-bottom: 10px; }
.page-block li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 12px; height: 6px; border-radius: 3px;
  transform: skewX(-18deg); background: var(--grad);
}
.cross-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 10px; }
.cross-link-card {
  display: block; padding: 24px 24px 22px; border-radius: 16px;
  background: var(--white); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.cross-link-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(11,24,48,.12); border-color: transparent; }
.cross-link-card .eyebrow { margin-bottom: 10px; }
.cross-link-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; margin-bottom: 8px; }
.cross-link-card p { color: var(--muted); font-size: .9rem; }

/* ---------- FAQ (dépliable) ---------- */
.faq-list { max-width: 820px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.faq-item:hover summary h3 { color: var(--blue); }
.faq-chev {
  flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid; place-items: center;
  color: var(--blue);
  transition: transform .35s ease, background-color .3s ease, border-color .3s ease, color .3s ease;
}
.faq-item[open] .faq-chev { transform: rotate(45deg); background: var(--navy); border-color: var(--navy); color: var(--cyan); }
.faq-item p { color: var(--muted); font-size: .98rem; max-width: 68ch; padding-bottom: 24px; }

/* ---------- CTA finale ---------- */
.final {
  margin-top: 60px;
  transform: skewY(-2.5deg);
  background:
    radial-gradient(800px 400px at 80% -20%, rgba(37, 99, 235, .45), transparent 60%),
    radial-gradient(600px 380px at 5% 120%, rgba(34, 211, 238, .25), transparent 60%),
    var(--navy);
  padding: 120px 0 130px;
  overflow: hidden;
  position: relative;
}
.final .blade {
  position: absolute;
  border-radius: 30px;
  transform: skewX(-16deg);
  background: linear-gradient(160deg, rgba(37,99,235,.5), rgba(34,211,238,.25));
  opacity: .4;
  animation: drift 12s ease-in-out infinite alternate;
}
.final .blade-a { width: 150px; height: 380px; right: 8%; top: -80px; }
.final .blade-b { width: 100px; height: 260px; left: 4%; bottom: -70px; animation-delay: -5s; }
@keyframes drift { to { transform: skewX(-16deg) translateY(30px); } }
.final-inner { transform: skewY(2.5deg); text-align: center; color: #fff; position: relative; }
.final h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin: 20px 0 16px;
}
.final p { color: #bccdf1; max-width: 560px; margin: 0 auto 40px; font-size: 1.1rem; }
.final .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ---------- Footer (sans logo, sobre) ---------- */
.site-footer {
  background: var(--navy);
  color: #7f95c2;
  padding: 34px 0;
  font-size: .9rem;
}
.footer-grid {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 22px;
}
.footer-nav-group { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: #9db0d8; text-decoration: none; transition: color .2s ease; }
.footer-links a:hover { color: var(--cyan); }
.footer-links-social { font-size: .84rem; opacity: .85; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.footer-legal a { color: #9db0d8; }

/* ---------- Popup confirmation copie email ---------- */
.mail-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(1, 14, 40, .55);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  z-index: 300;
}
.mail-modal-overlay.show { opacity: 1; pointer-events: auto; }
.mail-modal {
  position: relative;
  background: var(--white);
  border-radius: 24px;
  padding: 46px 38px 38px;
  max-width: 380px; width: 100%;
  text-align: center;
  box-shadow: 0 40px 90px rgba(1, 14, 40, .35);
  transform: scale(.92) translateY(10px);
  transition: transform .3s ease;
}
.mail-modal-overlay.show .mail-modal { transform: scale(1) translateY(0); }
.mail-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--line);
  background: none; cursor: pointer;
  color: var(--muted);
  display: grid; place-items: center;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.mail-modal-close:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.mail-modal-check {
  display: grid; place-items: center;
  width: 56px; height: 56px; margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 12px 26px rgba(37, 99, 235, .32);
}
.mail-modal h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.4rem; margin-bottom: 14px;
}
.mail-modal-address {
  font-family: var(--font-body); font-weight: 600; font-size: 1.05rem;
  color: var(--blue);
  background: rgba(37, 99, 235, .08);
  border: 1px solid rgba(37, 99, 235, .22);
  border-radius: 999px;
  padding: 11px 20px;
  margin-bottom: 16px;
  word-break: break-word;
}
.mail-modal-hint { color: var(--muted); font-size: .9rem; }

/* ---------- Reveal au scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; }

/* ---------- Pages légales ---------- */
.legal-page { padding: 70px 0 100px; max-width: 780px; }
.legal-page h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 16px 0 30px;
}
.legal-page h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin: 38px 0 12px; }
.legal-page p, .legal-page li { color: var(--muted); margin-bottom: 12px; }
.legal-page ul { padding-left: 22px; }
.legal-page .todo {
  background: #fff7e0; border: 1px dashed #e3b341; color: #8a6100;
  padding: 2px 8px; border-radius: 6px; font-weight: 600;
}
.legal-page .back { font-family: var(--font-display); font-weight: 600; text-decoration: none; font-size: .9rem; }

/* ---------- Responsive ---------- */

/* Tablette */
@media (max-width: 1000px) {
  .container { width: min(1160px, 100% - 40px); }
  .nav-toggle { display: flex; }
  .topnav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 6px;
    background: var(--navy);
    border-bottom: 1px solid rgba(34, 211, 238, .18);
    box-shadow: 0 26px 50px rgba(1, 14, 40, .5);
    padding: 18px 24px 26px;
    display: none;
  }
  .topnav.open { display: flex; }
  .topnav a:not(.btn) { padding: 10px 0; font-size: 1.05rem; }
  .topnav .btn { margin-top: 12px; }
  .hero { padding: 36px 0 90px; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-visual { min-height: 440px; margin-top: 0; }
  .hero-visual .scene { width: min(calc(100% + 40px), 620px); }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 44px; }
  .showcase { padding: 96px 0; }
  .showcase-inner { grid-template-columns: 1fr; gap: 44px; }
  .browser { transform: rotate(0); max-width: 640px; }
  .srv-head { grid-template-columns: 62px 52px 1fr auto; gap: 18px; padding: 28px 6px; }
  .srv-num { font-size: 2rem; }
  .srv-body-inner { grid-template-columns: 1fr; gap: 10px; padding: 0 6px 34px; }
  .srv-body-inner .spacer { display: none; }
  .srv-body ul { margin-top: 6px; }
  .benefit-grid { grid-template-columns: 1fr; gap: 20px; }
  .benefit-card { padding: 30px 26px; }
  .cross-links { grid-template-columns: 1fr; }
  .page-hero { padding: 128px 0 48px; }
  .about-cols { columns: 1; margin-bottom: 48px; }
  .stats { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; }
  .quote-panel { padding: 46px 38px; margin-bottom: 54px; }
  .quote-panel .qa { right: -3%; } .quote-panel .qb { right: 10%; }
}

/* Mobile */
@media (max-width: 780px) {
  .container { width: min(1160px, 100% - 32px); }
  .brand img { height: 54px; }

  .hero { padding: 30px 0 70px; }
  .hero h1 { margin: 18px 0 18px; }
  .hero .lead { font-size: 1.06rem; margin-bottom: 26px; }
  .hero-ctas { gap: 12px; margin-bottom: 26px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-points li { font-size: .92rem; }

  .hero-visual { min-height: 360px; }
  .hero-visual .scene { width: min(calc(100% + 32px), 520px); }

  .section { padding: 64px 0; }
  .section-head h2 { font-size: clamp(1.55rem, 6.4vw, 2rem); }

  .srv-head { grid-template-columns: 46px 1fr auto; gap: 14px; padding: 22px 2px; }
  .srv-head .srv-ico { display: none; }
  .srv-num { font-size: 1.55rem; }
  .srv-title { font-size: 1.08rem; }
  .srv-title small { font-size: .85rem; }
  .srv-chev { width: 38px; height: 38px; }
  .srv-body-inner { padding: 0 2px 28px; }
  .srv-body p { font-size: .97rem; }

  .showcase { padding: 76px 0; margin-block: 24px; }
  .md-pill { padding: 10px 20px; } .md-pill img { height: 36px; }
  .saas-grid { grid-template-columns: 1fr; gap: 16px; }

  .timeline .rail { left: 23px; }
  .tl-step { padding: 0 0 38px 74px; }
  .tl-step .num { width: 48px; height: 48px; border-radius: 14px; font-size: .95rem; }

  .quote-panel { padding: 36px 24px; border-radius: 22px; }
  .quote-panel blockquote { font-size: clamp(1.25rem, 5.6vw, 1.6rem); margin: 18px 0 16px; }
  .quote-panel .qa { width: 80px; height: 200px; top: auto; bottom: -110px; right: -6%; }
  .quote-panel .qb { display: none; }

  .final { padding: 90px 0 100px; }
  .final .hero-ctas .btn { width: 100%; justify-content: center; }
  .final .hero-ctas { max-width: 420px; margin-inline: auto; }

  .footer-grid { flex-direction: column; align-items: flex-start; }
  .footer-nav-group { align-items: flex-start; }
  .footer-legal { flex-direction: column; }
}

/* Petit mobile */
@media (max-width: 400px) {
  .brand img { height: 48px; }
  .hero-visual { min-height: 320px; }
  .hero-visual .scene { width: calc(100% + 32px); max-width: none; }
}

/* Nav simplifiée des pages légales : toujours visible sur mobile */
@media (max-width: 780px) {
  .topnav.simple {
    display: flex; position: static; flex-direction: row;
    background: none; border: 0; box-shadow: none; padding: 0;
  }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stagger, .hero-visual.stagger { animation: none; opacity: 1; transform: none; }
  .uline path { animation: none; stroke-dashoffset: 0; }
  .quote-panel, .quote-panel .qp-blade, .final .blade, .benefit-blade { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .browser, .srv-body, .srv-chev, .faq-chev, .benefit-card, .benefit-blade, .benefit-ico { transition: none; }
  .btn-primary::after { display: none; }
  .mail-modal-overlay, .mail-modal { transition: none; }
}
