/* ---------- Identité ---------- */
:root {
  color-scheme: light;
  --ink: #0e1530;
  --ink-2: #1a2347;
  --bg: #ffffff;
  --tint: #f5f6fb;
  --text: #0e1530;
  --muted: #5b6278;
  --line: #e4e6ef;
  --accent: #ff5a3c;
  --accent-dark: #e8452a;
  --accent-soft: #fff0eb;
  --radius: 20px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 3rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.eyebrow { font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 1rem; }
.hl { color: var(--accent); }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: baseline; gap: .5rem; text-decoration: none; }
.brand__word { font-family: var(--display); font-size: 1.7rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.brand__word i { display: inline-block; width: .3em; height: .3em; margin-left: .08em; border-radius: 50%; background: var(--accent); }
.brand__sub { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.5rem;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  border: 2px solid var(--ink);
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(14, 21, 48, .5); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: transparent; border-color: var(--ink); box-shadow: none; }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn--accent:hover { background: #ff7459; border-color: #ff7459; box-shadow: 0 12px 24px -12px rgba(255, 90, 60, .7); }
.btn--small { padding: .6rem 1.1rem; font-size: .95rem; border-radius: 12px; }

.link { display: inline-flex; align-items: center; gap: .4rem; color: var(--accent-dark); font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__links { display: flex; align-items: center; gap: 1.75rem; }
.nav__links a:not(.btn) { text-decoration: none; font-size: .97rem; font-weight: 550; color: var(--muted); transition: color .15s; }
.nav__links a:not(.btn):hover { color: var(--ink); }
.nav__toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3.5rem, 8vw, 6.5rem);
  background:
    radial-gradient(60rem 30rem at 90% -10%, #ffe7df 0%, transparent 60%),
    radial-gradient(50rem 30rem at -10% 110%, #e9ecff 0%, transparent 60%);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: center; }
.tag {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .4rem .9rem; margin-bottom: 1.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: .85rem; font-weight: 600; color: var(--muted);
}
.tag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 35rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* Carte « équipe » */
.board {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 40px 80px -40px rgba(14, 21, 48, .35);
  overflow: hidden;
}
.board__head { padding: 1.4rem 1.5rem 1.1rem; display: grid; gap: .15rem; }
.board__label { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); }
.board__list li { display: flex; align-items: center; gap: 1rem; padding: .85rem 1.5rem; border-top: 1px solid var(--line); }
.board__list div { display: grid; line-height: 1.35; }
.board__list small { color: var(--muted); font-size: .88rem; }
.board__foot { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.5rem; background: var(--ink); color: #fff; font-size: .92rem; font-weight: 600; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 90, 60, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 90, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 60, 0); } }

.chip { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; flex: none; }
.chip .ico { width: 22px; height: 22px; }
.chip--a { background: #fff0eb; color: #d63d22; }
.chip--b { background: #eceeff; color: #3d49c9; }
.chip--c { background: #e6f6f1; color: #0f7a5c; }
.chip--d { background: var(--ink); color: #fff; }
.chip--e { background: #e8f3fd; color: #1c6fb8; }
.chip--f { background: #fdf3dc; color: #96690a; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .eyebrow { color: var(--accent); }
.section--dark p { color: #b9c0d9; }
.section__head { max-width: 46rem; margin-bottom: 3rem; }
.section__head p:last-child { color: var(--muted); font-size: 1.12rem; margin: 0; }

/* Accompagnement */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(14, 21, 48, .35); }
.card__stage { display: inline-block; padding: .3rem .75rem; margin-bottom: 1.25rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: .82rem; font-weight: 700; }
.card p { color: var(--muted); }
.card ul { padding-top: 1rem; margin-top: 1rem; border-top: 1px solid var(--line); }
.card li { position: relative; padding: .3rem 0 .3rem 1.5rem; font-size: .97rem; font-weight: 550; }
.card li::before { content: ""; position: absolute; left: 0; top: .8em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.card--featured { background: var(--ink); border-color: var(--ink); color: #fff; }
.card--featured p { color: #b9c0d9; }
.card--featured ul { border-top-color: rgba(255, 255, 255, .15); }
.card--featured .card__stage { background: var(--accent); color: var(--ink); }

/* Équipe */
.experts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.expert { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.expert h3 { margin-top: 1.25rem; }
.expert p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Sécurité */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split .btn { margin-top: .75rem; }
.checks { display: grid; gap: 1rem; }
.checks li { display: flex; gap: 1rem; padding: 1.25rem 1.4rem; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; background: rgba(255, 255, 255, .04); }
.checks .ico { width: 26px; height: 26px; color: var(--accent); margin-top: .1rem; }
.checks div { display: grid; gap: .2rem; }
.checks span { color: #b9c0d9; font-size: .97rem; }

/* Méthode */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 1.25rem;
  border-radius: 50%; background: var(--ink); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 1.1rem;
}
.steps li:last-child::before { background: var(--accent); color: var(--ink); }
.steps p { color: var(--muted); font-size: 1rem; margin: 0; }

/* Solutions */
.section--tint .split p { color: var(--muted); }
.quote { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--accent); border-radius: var(--radius); padding: 2.25rem; }
.quote p { font-family: var(--display); font-size: 1.5rem; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; color: var(--ink) !important; }
.quote span { color: var(--muted); font-size: .95rem; }

/* Contact */
.contact {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start;
  background: var(--ink);
  background-image: radial-gradient(40rem 20rem at 0% 0%, rgba(255, 90, 60, .3), transparent 60%);
  color: #fff;
  border-radius: 28px;
  padding: clamp(1.75rem, 5vw, 4rem);
}
.contact__intro p { color: #c6cce2; font-size: 1.1rem; }
.contact__direct { display: grid; gap: 1rem; margin-top: 2rem; }
.contact__direct li { display: grid; gap: .1rem; }
.contact__direct span { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8d96b5; }
.contact__direct a { color: #fff; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact__direct a:hover { text-decoration: underline; }

.form { display: grid; gap: 1rem; background: #fff; color: var(--ink); border-radius: 20px; padding: clamp(1.25rem, 3vw, 2rem); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field span { font-size: .9rem; font-weight: 650; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: .7rem .85rem;
  background: var(--tint); border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .15s, background .15s;
}
.field textarea { resize: vertical; min-height: 7.5rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field .is-invalid { border-color: #d92d20; background: #fff5f4; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; cursor: pointer; font: inherit; font-weight: 650; }
.form .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.form__status { margin: 0; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-ok { color: #0f7a5c; background: #e6f6f1; padding: .8rem 1rem; border-radius: 12px; }
.form__status.is-error { color: #b42318; background: #fff0ee; padding: .8rem 1rem; border-radius: 12px; }
.form__note { margin: 0; font-size: .85rem; color: var(--muted); }
.form__note a { color: var(--accent-dark); font-weight: 600; }

/* Produit maison */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.product { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--accent); border-radius: var(--radius); padding: 2rem 2rem 1.75rem; }
.product__top { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.product__top .card__stage { margin: 0; }
.product__url { font-size: .88rem; font-weight: 600; color: var(--muted); }
.product h3 { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: .4em; }
.product p { color: var(--muted); }
.product__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: .25rem 0 1.5rem; }
.product__tags li { padding: .3rem .7rem; border-radius: 999px; background: var(--tint); font-size: .85rem; font-weight: 600; }
.product .link { margin-top: auto; }
.card__stage--soon { background: #eceeff; color: #3d49c9; }
@media (max-width: 640px) { .products { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- Pied de page ---------- */
.footer { background: var(--ink); color: #b9c0d9; padding: 3.5rem 0 1.75rem; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer__grid > nav, .footer__grid > div { display: grid; gap: .55rem; align-content: start; }
.footer h4 { margin: 0 0 .4rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .brand__word { color: #fff; }
.footer .brand__sub { color: #8d96b5; }
.footer__about p { margin: .6rem 0 0; max-width: 22rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: #8d96b5; }
.footer__legal--solo { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- Mentions légales ---------- */
.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem); }
.legal__wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-top: 1.5rem; }
.legal h2 { font-size: 1.35rem; letter-spacing: -.02em; margin: 2.5rem 0 .8rem; }
.legal p { color: var(--muted); }
.legal p a, .legal dd a { color: var(--accent-dark); font-weight: 600; }
.legal__date { font-size: .95rem; }
.legal__list { margin: 0 0 1rem; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.legal__list div { display: grid; grid-template-columns: 15rem 1fr; gap: 1rem; padding: .8rem 1.25rem; }
.legal__list div + div { border-top: 1px solid var(--line); }
.legal__list dt { color: var(--muted); font-size: .95rem; }
.legal__list dd { margin: 0; font-weight: 600; }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid, .split, .contact { grid-template-columns: 1fr; gap: 3rem; }
  .cards { grid-template-columns: 1fr; }
  .experts, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 1.1rem;
    padding: 1.5rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .experts, .steps { grid-template-columns: 1fr; }
  .brand__sub { display: none; }
  .hero__cta .btn { width: 100%; }
  .form__row { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
  .footer__grid { grid-template-columns: 1fr; }
  .legal__list div { grid-template-columns: 1fr; gap: .1rem; }
}

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