/* =========================================================
   Reflexe Cyber — feuille de style principale
   ========================================================= */

/* ---------- Polices (auto-hébergées, conformes RGPD) ---------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 300 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Variables ---------- */
:root {
  --bg: #04121a;
  --bg-2: #071c27;
  --surface: #0b2533;
  --surface-2: #0f2f40;
  --line: rgba(120, 200, 230, 0.14);
  --line-strong: rgba(120, 200, 230, 0.28);
  --text: #e9f4f8;
  --muted: #9db8c4;
  --green: #3fd65a;
  --lime: #b8ee3a;
  --cyan: #3fc1e8;
  --grad: linear-gradient(120deg, var(--green), var(--lime));
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --container: 1180px;
  --header-h: 76px;
  --font-title: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
}

/* ---------- Lien LinkedIn ----------
   Masqué pour le moment. Pour l'afficher partout sur le site,
   remplacez "none" par "inline-flex" ci-dessous.            */
.linkedin { display: none !important; }
/* .linkedin { display: inline-flex !important; } */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 650; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--green); color: #031008; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--lime); color: #000; padding: .6em 1em; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-title); font-size: .8rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--lime);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 999px;
  font-family: var(--font-title); font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-decoration: none !important; white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-primary { background: var(--grad); color: #04150a; box-shadow: 0 10px 30px -10px rgba(120, 230, 70, .55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(120, 230, 70, .7); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-sm { padding: .6em 1.1em; font-size: .92rem; }
.btn-linkedin { background: #0a66c2; color: #fff; }
.btn-linkedin:hover { background: #0b74dc; transform: translateY(-2px); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-solid, body.nav-open .site-header {
  background: rgba(4, 18, 26, .85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--text); font-family: var(--font-title); font-weight: 500; font-size: 1rem;
  position: relative; padding: .3em 0; text-decoration: none;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--lime); }
.nav-actions { display: flex; align-items: center; gap: .8rem; }
.icon-link {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong);
  align-items: center; justify-content: center; color: var(--text);
}
.icon-link svg { width: 18px; height: 18px; }
.icon-link:hover { color: #fff; background: #0a66c2; border-color: #0a66c2; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  background: transparent; border: 1px solid var(--line-strong); color: var(--text); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 1.5rem;
    padding: 1.5rem 1.25rem 2rem; background: rgba(4, 18, 26, .97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%); opacity: 0; visibility: hidden;
    transition: transform .3s ease, opacity .3s ease, visibility .3s;
  }
  body.nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: .9em .2em; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-actions { flex-wrap: wrap; }
  .nav-actions .btn { flex: 1; }
  .brand img { height: 36px; }
}

/* ---------- Héros ---------- */
.hero {
  position: relative; min-height: min(100svh, 780px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  background: var(--bg) image-set(url("../img/fond.webp") type("image/webp"), url("../img/fond.jpg") type("image/jpeg")) center / cover no-repeat;
  isolation: isolate; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 75% 40%, rgba(4, 18, 26, .25), rgba(4, 18, 26, .88) 70%),
    linear-gradient(180deg, rgba(4,18,26,.55) 0%, rgba(4,18,26,.2) 40%, var(--bg) 100%);
}
.hero::after { /* grille discrète */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 30% 50%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 0%, transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 3rem; align-items: center; }
.hero h1 { max-width: 16ch; }
.hero .lead { margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.5rem; padding: 0; list-style: none; }
.hero-badges li {
  font-size: .85rem; color: var(--muted); padding: .45em .95em; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(4, 18, 26, .5); backdrop-filter: blur(6px);
}
.hero-mark { justify-self: center; position: relative; width: min(100%, 360px); }
.hero-mark img { width: 100%; filter: drop-shadow(0 0 40px rgba(140, 240, 70, .35)); animation: float 6s ease-in-out infinite; }
.hero-mark::before {
  content: ""; position: absolute; inset: -12%; border-radius: 50%;
  border: 1px dashed rgba(184, 238, 58, .25); animation: spin 40s linear infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }

.page-hero { min-height: auto; padding: calc(var(--header-h) + 4.5rem) 0 4rem; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); max-width: 20ch; }

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 3.5rem); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Cartes ---------- */
.card {
  position: relative; padding: 2rem; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), rgba(11, 37, 51, .5));
  border: 1px solid var(--line);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(184, 238, 58, .35); box-shadow: var(--shadow); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(63, 214, 90, .1); border: 1px solid rgba(63, 214, 90, .3); color: var(--lime);
  margin-bottom: 1.3rem;
}
.card .icon svg { width: 26px; height: 26px; }
.card .num { font-family: var(--font-title); font-weight: 700; font-size: .85rem; color: var(--cyan); letter-spacing: .1em; display: block; margin-bottom: .6rem; }
.card p { color: var(--muted); }

.pillar h3 { font-size: 1.45rem; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Présentation ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-photo { position: relative; isolation: isolate; max-width: 440px; justify-self: center; width: 100%; }
.about-photo picture, .about-photo img { border-radius: 22px; width: 100%; }
.about-photo img { filter: grayscale(1) contrast(1.05); border: 1px solid var(--line-strong); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.about-photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 22px;
  background: var(--grad); opacity: .85; z-index: -1;
}
.about-photo .tag {
  position: absolute; left: -14px; bottom: 28px;
  background: rgba(4, 18, 26, .92); border: 1px solid var(--line-strong); backdrop-filter: blur(8px);
  padding: .8rem 1.1rem; border-radius: 14px; font-size: .9rem; line-height: 1.35; box-shadow: var(--shadow);
}
.about-photo .tag strong { display: block; font-family: var(--font-title); font-size: 1.05rem; }
.about-text .lead { margin-bottom: 1.4rem; }
.about-text p { color: var(--muted); }
.about-text p strong { color: var(--text); font-weight: 600; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 340px; margin-right: 18px; }
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 2rem 0; }
.stat { padding: 1.1rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.stat b { display: block; font-family: var(--font-title); font-size: 1.9rem; line-height: 1.1; }
.stat span { font-size: .85rem; color: var(--muted); line-height: 1.35; display: block; margin-top: .3rem; }
@media (max-width: 1100px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Parcours (frise) ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.timeline::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--green), var(--lime), var(--cyan)); opacity: .5; }
.timeline li { position: relative; padding-top: 2.2rem; }
.timeline li::before {
  content: ""; position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg-2); border: 3px solid var(--lime); box-shadow: 0 0 0 5px rgba(184, 238, 58, .12);
}
.timeline .when { font-family: var(--font-title); font-weight: 600; color: var(--cyan); font-size: .9rem; letter-spacing: .05em; }
.timeline h3 { margin: .3rem 0 .5rem; font-size: 1.15rem; }
.timeline p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 920px) {
  .timeline { grid-template-columns: 1fr; gap: 2rem; padding-left: 2.2rem; }
  .timeline::before { top: 0; bottom: 0; left: 9px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--green), var(--lime), var(--cyan)); }
  .timeline li { padding-top: 0; }
  .timeline li::before { left: -2.2rem; top: 2px; }
}

/* ---------- Bandeau Diag Cyber ---------- */
.highlight {
  position: relative; overflow: hidden; border-radius: 24px; padding: clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(184, 238, 58, .18), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(63, 193, 232, .18), transparent 50%),
    var(--surface);
  border: 1px solid var(--line-strong);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: center;
}
.highlight .steps { display: grid; gap: .9rem; list-style: none; padding: 0; margin: 0; }
.highlight .steps li {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem;
  border-radius: 12px; background: rgba(4, 18, 26, .55); border: 1px solid var(--line);
}
.highlight .steps b {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #04150a; font-family: var(--font-title);
}
.highlight .steps strong { display: block; font-family: var(--font-title); letter-spacing: .05em; }
.highlight .steps span { color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) { .highlight { grid-template-columns: 1fr; } }

/* ---------- Prestations (page) ---------- */
.service {
  display: grid; grid-template-columns: 340px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0; border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.service:first-of-type { border-top: 0; padding-top: 0; }
.service-aside .icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(63, 214, 90, .1); border: 1px solid rgba(63, 214, 90, .3); color: var(--lime); margin-bottom: 1.2rem;
}
.service-aside .icon svg { width: 30px; height: 30px; }
.service-aside h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.service-aside p { color: var(--muted); }
.service-body .grid { gap: 1rem; }
.service-body .card { padding: 1.5rem; }
.service-body .card h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.service-body .card p { font-size: .95rem; }
.deliverable {
  margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: 12px;
  border-left: 3px solid var(--lime); background: rgba(184, 238, 58, .06); color: var(--text); font-size: .98rem;
}
.deliverable b { color: var(--lime); font-family: var(--font-title); }
.flow { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0 0 1.2rem; counter-reset: f; }
.flow li {
  flex: 1 1 140px; padding: .9rem 1rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
  font-family: var(--font-title); font-weight: 600; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase;
  position: relative; counter-increment: f;
}
.flow li::before { content: "0" counter(f); display: block; color: var(--cyan); font-size: .75rem; margin-bottom: .2rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.chips li { padding: .4em .9em; border-radius: 999px; font-size: .88rem; border: 1px solid var(--line-strong); color: var(--muted); }
.service-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
@media (max-width: 920px) { .service { grid-template-columns: 1fr; } }

/* ---------- Appel à l'action ---------- */
.cta-band { text-align: center; }
.cta-band .box {
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem); border-radius: 28px;
  background:
    linear-gradient(rgba(4, 18, 26, .78), rgba(4, 18, 26, .9)),
    image-set(url("../img/fond.webp") type("image/webp"), url("../img/fond.jpg") type("image/jpeg")) center / cover;
  border: 1px solid var(--line-strong);
}
.cta-band .lead { margin: 0 auto 2rem; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 920px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 1rem; }
.info-item { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.info-item .icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(63, 214, 90, .1); color: var(--lime); }
.info-item .icon svg { width: 22px; height: 22px; }
.info-item small { display: block; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.info-item a, .info-item span.v { color: var(--text); font-weight: 500; word-break: break-word; }

.form { padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 20px; background: var(--surface); border: 1px solid var(--line-strong); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-size: .92rem; font-weight: 500; }
.field label .req { color: var(--lime); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: rgba(4, 18, 26, .7); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: .85em 1em; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(184, 238, 58, .18); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #ff7a7a; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); margin-bottom: 1.4rem; }
.check input { margin-top: .25em; width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: 12px; font-size: .95rem; }
.form-status.ok { display: block; background: rgba(63, 214, 90, .12); border: 1px solid rgba(63, 214, 90, .45); color: #c9f7c9; }
.form-status.err { display: block; background: rgba(255, 100, 100, .1); border: 1px solid rgba(255, 120, 120, .45); color: #ffd0d0; }
.form button[disabled] { opacity: .6; cursor: wait; }
.form-note { font-size: .82rem; color: var(--muted); margin: 1rem 0 0; }

/* ---------- Rendez-vous ---------- */
.booking {
  border-radius: 20px; overflow: hidden; background: #fff;
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
.booking iframe { display: block; width: 100%; min-height: 900px; border: 0; }
.booking-placeholder {
  display: grid; place-items: center; text-align: center; gap: 1rem;
  min-height: 420px; padding: 2rem; background: var(--surface); color: var(--muted);
  border: 2px dashed var(--line-strong); border-radius: 20px;
}
.booking-placeholder .icon { width: 64px; height: 64px; color: var(--lime); }
.booking:has(.booking-placeholder) { background: transparent; border: 0; box-shadow: none; }
.booking-steps { margin-bottom: 2.5rem; }

/* ---------- Pages légales ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.4rem; margin-top: 2.5rem; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }

/* ---------- Pied de page ---------- */
.site-footer { background: #030d13; border-top: 1px solid var(--line); padding: 4rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-grid h4 { font-size: .85rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-grid a { color: var(--text); }
.footer-grid a:hover { color: var(--lime); }
.footer-brand img { height: 48px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); max-width: 40ch; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .85rem; }
.footer-bottom a { color: var(--muted); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Pages autonomes (404, travaux) ---------- */
.standalone {
  min-height: 100svh; display: grid; place-items: center; padding: 2rem 1.25rem; text-align: center;
  background: var(--bg) image-set(url("../img/fond.webp") type("image/webp"), url("../img/fond.jpg") type("image/jpeg")) center / cover no-repeat fixed;
  position: relative; isolation: isolate;
}
.standalone::before { content: ""; position: fixed; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(4,18,26,.45) 0%, rgba(4,12,18,.92) 100%); }
.standalone-card {
  max-width: 640px; width: 100%; padding: clamp(2.2rem, 6vw, 3.5rem) clamp(1.5rem, 5vw, 3rem);
  background: rgba(4, 24, 34, .6); border: 1px solid var(--line-strong); border-radius: 22px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 60px rgba(120, 230, 70, .12);
}
.standalone-card .logo { width: min(240px, 70%); margin: 0 auto 2rem; }
.standalone-card h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); }
.standalone-card p { color: var(--muted); }
.standalone-card .hero-cta { justify-content: center; margin-top: 1.8rem; }
.big-code {
  font-family: var(--font-title); font-weight: 700; line-height: 1; letter-spacing: -.04em;
  font-size: clamp(5rem, 22vw, 9rem); margin-bottom: .5rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative; display: inline-block;
}
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0; background: inherit; -webkit-background-clip: text; background-clip: text;
}
.glitch::before { transform: translate(-3px, 0); opacity: .5; clip-path: inset(0 0 55% 0); animation: glitch 3s infinite steps(1); background-image: linear-gradient(90deg, var(--cyan), var(--cyan)); }
.glitch::after { transform: translate(3px, 0); opacity: .4; clip-path: inset(55% 0 0 0); animation: glitch 2.4s infinite steps(1) reverse; }
@keyframes glitch { 0%,92%,100% { transform: translate(0); } 94% { transform: translate(-4px, 1px); } 96% { transform: translate(4px, -1px); } }
.badge-live { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--lime); margin-bottom: 1.4rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(184, 238, 58, .7); } 70% { box-shadow: 0 0 0 14px rgba(184, 238, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(184, 238, 58, 0); } }
.bar { height: 3px; width: 140px; margin: 2rem auto 0; background: rgba(184, 238, 58, .18); border-radius: 3px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 40%; background: var(--grad); border-radius: 3px; animation: slide 2.2s ease-in-out infinite; }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }
.standalone-foot { margin-top: 1.8rem; font-size: .92rem; color: var(--muted); }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Badge partenaire (Bpifrance) ---------- */
.partner-badge {
  display: inline-flex; align-items: center; gap: .9rem;
  background: #fff; border-radius: 12px; padding: .65rem 1rem; margin-bottom: 1.3rem;
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .6);
}
.partner-badge { flex-wrap: wrap; gap: .8rem 1.1rem; }
.partner-badge img { height: 34px; width: auto; }
.partner-badge img.bpi { height: 26px; border-left: 1px solid #d6dde1; padding-left: 1.1rem; box-sizing: content-box; }
.partner-badge span {
  font-family: var(--font-title); font-size: .72rem; font-weight: 600; line-height: 1.25;
  letter-spacing: .08em; text-transform: uppercase; color: #2b3a42;
  border-left: 1px solid #d6dde1; padding-left: .9rem;
}
.service-aside .partner-badge { margin: .4rem 0 0; }
