@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --night: #050810;
  --night-2: #0a1020;
  --panel: #111a2e;
  --blue: #4a8fff;
  --cyan: #00d4ff;
  --gold: #e8c97a;
  --text: #f2f4ff;
  --muted: #a4b0c8;
  --line: rgba(74, 143, 255, .18);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 5%, rgba(74,143,255,.13), transparent 34rem),
    radial-gradient(circle at 15% 35%, rgba(0,212,255,.07), transparent 28rem),
    var(--night);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; background: var(--gold); color: var(--night); padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(5,8,16,.96), rgba(5,8,16,.80));
  backdrop-filter: blur(14px);
}
.nav { width: 100%; max-width: none; margin: 0; min-height: 82px; padding: 18px 5vw; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { font-family: 'Bebas Neue', sans-serif; font-size: 22px; text-decoration: none; text-transform: uppercase; font-weight: 400; letter-spacing: 5px; white-space: nowrap; }
.brand span:nth-child(1) { color: var(--gold); }
.brand span:nth-child(2) { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #7a8eb0; text-decoration: none; font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; white-space: nowrap; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="page"] { color: var(--cyan); }
.nav-links .btn { min-height: 0; padding: 10px 20px; border: 0; border-radius: 2px; color: #192035; font-weight: 600; letter-spacing: 1px; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); background: transparent; color: var(--text); border-radius: 8px; font-size: 1.35rem; }

.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.hero { min-height: 78vh; display: grid; align-items: center; padding: 100px 0 76px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 65vw; height: 2px; right: -8vw; top: 43%; transform: rotate(-13deg); background: linear-gradient(90deg, transparent, var(--cyan), transparent); box-shadow: 0 0 28px var(--cyan); opacity: .28; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(270px,.8fr); align-items: center; gap: 60px; }
.eyebrow, .kicker { color: var(--cyan); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 800; }
h1, h2, h3 { line-height: 1.06; text-wrap: balance; }
h1 { margin: .55rem 0 1.2rem; font-size: clamp(3.2rem, 8vw, 7.2rem); letter-spacing: -.055em; max-width: 920px; }
h1 .gold, h2 .gold { color: var(--gold); }
.service-hero h1 { font-size: clamp(2.8rem, 6.5vw, 6rem); }
.lead { max-width: 720px; color: #c5cee0; font-size: clamp(1.08rem, 1.8vw, 1.32rem); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 24px; border-radius: 6px; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-weight: 850; font-size: .78rem; border: 1px solid var(--line); transition: transform .2s, border-color .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: #11182a; border-color: var(--gold); }
.btn-secondary { background: rgba(74,143,255,.08); border-color: rgba(0,212,255,.35); color: var(--cyan); }
.signal-card { padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, rgba(17,26,46,.96), rgba(7,12,24,.85)); box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.signal-card strong { display: block; color: var(--gold); font-size: 1.05rem; margin-bottom: 8px; }
.signal-list { list-style: none; padding: 0; margin: 20px 0 0; }
.signal-list li { color: var(--muted); padding: 10px 0 10px 24px; border-top: 1px solid var(--line); position: relative; }
.signal-list li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

.section { padding: 94px 0; }
.section-alt { background: rgba(10,16,32,.72); border-block: 1px solid rgba(74,143,255,.1); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.section-head h2, .content h2 { margin: .4rem 0 0; font-size: clamp(2.2rem, 5vw, 4.5rem); letter-spacing: -.04em; }
.section-head p { max-width: 560px; color: var(--muted); }
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { display: flex; flex-direction: column; padding: 28px; border-radius: 12px; border: 1px solid var(--line); background: rgba(17,26,46,.72); }
.card-number { color: var(--blue); font: 700 .75rem ui-monospace, monospace; letter-spacing: .15em; }
.card h3 { margin: 16px 0 10px; font-size: 1.4rem; }
.card p { color: var(--muted); margin: 0 0 24px; }
.card a { margin-top: auto; color: var(--cyan); font-weight: 800; text-decoration: none; }
.price { color: var(--gold); font-weight: 850; margin: auto 0 18px; }
.proof-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.proof { background: var(--night-2); padding: 24px; }
.proof strong { display: block; color: var(--gold); font-size: 1.4rem; }
.proof span { color: var(--muted); font-size: .9rem; }

.content { max-width: 850px; }
.content h2 { margin-top: 3rem; font-size: clamp(2rem, 4vw, 3.4rem); }
.content h3 { margin-top: 2rem; font-size: 1.45rem; }
.content p, .content li { color: #bec8dc; }
.check-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.check-list li { padding: 14px 18px 14px 46px; background: rgba(17,26,46,.68); border: 1px solid var(--line); border-radius: 8px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 18px; color: var(--cyan); font-weight: 900; }
.steps { counter-reset: steps; }
.steps .card { position: relative; }
.steps .card::before { counter-increment: steps; content: "0" counter(steps); color: var(--cyan); font: 800 .8rem ui-monospace, monospace; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 1.08rem; }
.faq p { color: var(--muted); max-width: 780px; }

.contact-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; padding: 42px; background: linear-gradient(145deg, rgba(17,26,46,.95), rgba(7,12,24,.92)); border: 1px solid var(--line); border-radius: 16px; }
.contact-panel h2 { margin: .4rem 0 1rem; font-size: clamp(2.3rem, 5vw, 4.6rem); }
.contact-panel p { color: var(--muted); }
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 750; font-size: .88rem; }
.field input, .field select, .field textarea { width: 100%; color: var(--text); background: #091020; border: 1px solid rgba(74,143,255,.28); border-radius: 7px; padding: 13px 14px; font: inherit; }
.field textarea { min-height: 130px; resize: vertical; }
.consent { display: flex; align-items: start; gap: 10px; color: var(--muted); font-size: .86rem; }
.consent input { margin-top: 5px; }

.cta-band { padding: 45px; border: 1px solid rgba(232,201,122,.26); border-radius: 14px; display: flex; justify-content: space-between; align-items: center; gap: 30px; background: rgba(232,201,122,.05); }
.cta-band h2 { margin: 0; font-size: clamp(2rem,4vw,3.4rem); }
.site-footer { border-top: 1px solid var(--line); padding: 42px 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.site-footer p, .site-footer a { color: var(--muted); font-size: .9rem; }
.site-footer a[href^="mailto:"],
.site-footer a[href^="tel:"] { color: var(--text); text-decoration: none; }
.site-footer a[href^="mailto:"]:hover,
.site-footer a[href^="tel:"]:hover { color: var(--cyan); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 7px 0; }
.legal-body .hero { min-height: 45vh; }
.legal-body .content { padding-bottom: 80px; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-links { display: none; position: absolute; top: 74px; left: 0; right: 0; padding: 24px; background: #07101e; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; min-height: 44px; padding: 11px; }
  .hero-grid, .contact-panel { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .proof-strip { grid-template-columns: repeat(2,1fr); }
  .section-head { display: block; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 32px, var(--max)); }
  .hero { min-height: auto; padding: 76px 0 60px; }
  .hero-grid { gap: 34px; }
  h1 { font-size: clamp(2.75rem, 15vw, 4.4rem); }
  .section { padding: 68px 0; }
  .grid-4, .grid-2, .proof-strip, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .contact-panel, .cta-band { padding: 26px; }
  .cta-band { display: block; }
  .cta-band .btn { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Effets légers des pages de services */
#fx-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .78;
}
.fx-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--gold));
  box-shadow: 0 0 14px rgba(0,212,255,.7);
}
.service-hero::before {
  content: "";
  position: absolute;
  inset: -15%;
  z-index: -1;
  background:
    radial-gradient(circle at calc(68% + var(--fx-x, 0px)) calc(36% + var(--fx-y, 0px)), rgba(0,212,255,.13), transparent 20rem),
    repeating-linear-gradient(115deg, transparent 0 90px, rgba(74,143,255,.035) 91px 92px);
  transform: translate3d(calc(var(--fx-x, 0px) * -.18), calc(var(--fx-y, 0px) * -.18), 0);
  transition: transform .25s ease-out;
  pointer-events: none;
}
.service-hero::after {
  animation: filonDrift 7s ease-in-out infinite alternate;
}
@keyframes filonDrift {
  from { transform: rotate(-13deg) translateX(-2vw); opacity: .18; }
  to { transform: rotate(-10deg) translateX(5vw); opacity: .42; }
}
.signal-card {
  position: relative;
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) translateZ(0);
  transition: transform .18s ease-out, border-color .3s, box-shadow .3s;
}
.signal-card::before,
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(340px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(0,212,255,.14), transparent 58%);
  opacity: 0;
  transition: opacity .25s;
}
.signal-card:hover::before,
.card:hover::after { opacity: 1; }
.signal-card:hover { border-color: rgba(0,212,255,.34); box-shadow: 0 34px 95px rgba(0,0,0,.38), 0 0 45px rgba(0,212,255,.07); }
.card {
  position: relative;
  overflow: hidden;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.card:hover { transform: translateY(-7px); border-color: rgba(0,212,255,.32); box-shadow: 0 24px 55px rgba(0,0,0,.25); }
.card > * { position: relative; z-index: 1; }
.kicker::before,
.eyebrow::before {
  content: "// ";
  color: rgba(74,143,255,.5);
}

.fx-ready .reveal-item {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(5px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1), filter .75s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.fx-ready .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.fx-ready h1 {
  animation: heroReveal .95s cubic-bezier(.2,.75,.2,1) both;
}
.fx-ready .hero .lead,
.fx-ready .hero .actions {
  animation: heroReveal .95s cubic-bezier(.2,.75,.2,1) .14s both;
}
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(34px); filter: blur(7px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

body[data-page="noria"] { --page-glow: rgba(0,212,255,.16); }
body[data-page="seo"] { --page-glow: rgba(74,143,255,.16); }
body[data-page="crm"] { --page-glow: rgba(232,201,122,.12); }
body[data-page="web"] { --page-glow: rgba(74,143,255,.15); }
body[data-page] .service-hero { box-shadow: inset 0 -100px 110px rgba(5,8,16,.7), inset 0 0 150px var(--page-glow); }

@media (max-width: 900px) {
  .nav { min-height: 74px; padding: 12px 5vw; }
  .nav-links { top: 74px; }
  .signal-card { transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  #fx-canvas, .fx-progress { display: none; }
  .fx-ready .reveal-item, .fx-ready h1, .fx-ready .hero .lead, .fx-ready .hero .actions { opacity: 1; transform: none; filter: none; animation: none; }
}
