:root {
  --bg: #efefef;
  --tile: #ffffff;
  --tile-2: #e2e3e8;
  --accent: #020186;
  --accent-soft: #5d5cf0;
  --ink: #0d0d12;
  --muted: #686868;
  --deep: #494949;
  --line: #e4e4ea;
  --ok: #b9f23f;
  --radius: 10px;
  --gap: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Inter Tight", system-ui, sans-serif; font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { width: min(1200px, 100% - 20px); margin-inline: auto; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0; }
.muted { color: var(--muted); }
.em { color: var(--accent); }

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: .72rem; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
}
.pill.blue { background: var(--accent); }
.pill.line { background: transparent; color: var(--ink); border: 1px solid #c9c9d1; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  padding: 13px 22px; border-radius: 999px; border: 1px solid var(--accent); cursor: pointer;
  font: inherit; font-weight: 500; font-size: .98rem; text-decoration: none;
  background: var(--accent); color: #fff; transition: background .2s, color .2s, transform .15s;
}
.btn:hover { background: #1614b4; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: rgba(2, 1, 134, .07); }
.btn.white { background: #fff; color: var(--accent); border-color: #fff; }
.btn.white:hover { background: #ecebff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Header */
header { position: sticky; top: 0; z-index: 10; padding: var(--gap) 0 0; background: var(--bg); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; padding: 0 12px 0 20px; background: var(--tile); border-radius: var(--radius); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 1.3rem; letter-spacing: -.03em; }
.brand svg { width: 34px; height: 34px; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.nav ul a { text-decoration: none; color: var(--muted); }
.nav ul a:hover { color: var(--ink); }
.nav .btn { padding: 10px 18px; font-size: .92rem; }

/* Tiles */
.tile { background: var(--tile); border-radius: var(--radius); padding: 32px; position: relative; overflow: hidden; }
.tile.blue { background: var(--accent); color: #fff; }
.tile.grey { background: var(--tile-2); }
.grid { display: grid; gap: var(--gap); }

/* Hero */
.hero { padding-top: var(--gap); }
.hero .grid { grid-template-columns: 1.4fr 1fr; }
.hero-main { padding: 56px 56px 48px 76px; min-height: 540px; display: flex; flex-direction: column; justify-content: space-between; gap: 44px; }
.hero-main::before, .hero-main::after { content: ""; position: absolute; background: var(--line); pointer-events: none; }
.hero-main::before { left: 48px; top: 0; bottom: 0; width: 1px; }
.hero-main::after { left: 0; right: 0; top: 104px; height: 1px; }
.hero-main .cross { position: absolute; left: 42px; top: 98px; width: 13px; height: 13px; z-index: 1;
  background: linear-gradient(var(--accent), var(--accent)) center / 1px 100% no-repeat, linear-gradient(var(--accent), var(--accent)) center / 100% 1px no-repeat; }
.hero-main .lead { font-size: 1.15rem; color: var(--deep); max-width: 33em; margin-top: 22px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-side { display: grid; grid-template-rows: 1fr auto; gap: var(--gap); }
.hero-visual { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 36px; }
.hero-visual::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-radial-gradient(circle at 100% 0%, transparent 0 69px, rgba(255, 255, 255, .09) 69px 70px); }
.widget { position: relative; background: #fff; color: var(--ink); border-radius: 12px; padding: 8px 18px; box-shadow: 0 20px 44px rgba(0, 0, 40, .35); }
.w-head { display: flex; align-items: center; gap: 8px; padding: 12px 0; font-size: .82rem; font-weight: 500; }
.w-head i { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); }
.w-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.w-row small { color: var(--muted); font-size: .8rem; }
.w-row b { font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.w-row.ok b::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(185, 242, 63, .3); }
.plate { display: inline-grid; grid-template-columns: 16px auto 16px; height: 30px; border-radius: 5px; overflow: hidden; border: 1px solid #c9c9d1; background: #fff; }
.plate i { background: var(--accent); }
.plate span { padding: 0 9px; display: grid; place-items: center; font-weight: 600; font-size: .92rem; letter-spacing: .06em; }
.hero-visual > p { position: relative; font-size: .95rem; color: #d9d9ff; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; }
.facts div { padding: 20px 18px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts b { display: block; font-weight: 500; letter-spacing: -.01em; }
.facts span { font-size: .84rem; color: var(--muted); }

/* Sections */
section { padding-top: 88px; }
.head { display: grid; gap: 16px; max-width: 44em; margin: 0 0 30px 20px; }
.head p:not(.pills) { color: var(--muted); font-size: 1.08rem; }

.bento { grid-template-columns: repeat(6, 1fr); }
.bento .tile { grid-column: span 2; display: flex; flex-direction: column; gap: 12px; min-height: 230px; }
.bento .wide { grid-column: span 3; }
.bento .tile p { color: var(--muted); font-size: .98rem; }
.bento .tile.blue p { color: #d9d9ff; }
.bento .tile.blue::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-radial-gradient(circle at 100% 100%, transparent 0 59px, rgba(255, 255, 255, .08) 59px 60px); }
.bento .tile > * { position: relative; }
.bento .tile > .pill { align-self: flex-start; }
.more { margin-top: auto; font-size: .93rem; font-weight: 500; text-decoration: none; color: var(--accent); }
.more::after { content: " →"; }
.tile.blue .more { color: #fff; }
.tile.blue .pill { background: #fff; color: var(--accent); }

/* Pros */
.pros { grid-template-columns: 1fr 1fr; }
.pros ul { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 0; }
.pros li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.pros li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--accent); }
.pros li b { font-weight: 500; }
.pros li span { color: var(--deep); }
.who { display: grid; gap: var(--gap); margin-top: 22px; }
.who div { padding: 16px 18px; border-radius: 8px; background: #fff; }
.who b { display: block; font-weight: 500; }
.who span { font-size: .93rem; color: var(--muted); }

/* Steps */
.steps { grid-template-columns: repeat(4, 1fr); counter-reset: s; }
.steps .tile { padding: 28px; min-height: 230px; display: flex; flex-direction: column; }
.steps .tile::before { counter-increment: s; content: "0" counter(s); font-size: .8rem; font-weight: 500; color: #fff; background: var(--accent);
  align-self: flex-start; padding: 4px 10px; border-radius: 999px; margin-bottom: auto; }
.steps h3 { margin-top: 44px; }
.steps p { color: var(--muted); font-size: .95rem; margin-top: 8px; }

/* FAQ */
.faq { display: grid; gap: var(--gap); }
details { border-radius: var(--radius); background: var(--tile); padding: 0 26px; }
summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 500; font-size: 1.1rem; letter-spacing: -.01em; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding-bottom: 24px; max-width: 52em; }

/* Devis */
.devis { grid-template-columns: 1fr 1.15fr; }
.devis .intro { display: flex; flex-direction: column; gap: 20px; padding: 44px; }
.devis .intro::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-radial-gradient(circle at 0% 100%, transparent 0 69px, rgba(255, 255, 255, .08) 69px 70px); }
.devis .intro > * { position: relative; }
.devis .intro p { color: #d9d9ff; }
.devis .intro ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; }
.devis .intro li { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .18); }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form .full { grid-column: 1 / -1; }
label { display: grid; gap: 7px; font-size: .86rem; color: var(--muted); }
input, select, textarea { font: inherit; color: var(--ink); background: #f6f6f8; border: 1px solid #dcdce3; border-radius: 8px; padding: 13px 14px; width: 100%; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; background: #fff; }
form small { color: var(--muted); }

footer { padding: 88px 0 var(--gap); color: var(--muted); font-size: .9rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; padding: 24px 26px; background: var(--tile); border-radius: var(--radius); }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--accent); }

@media (max-width: 960px) {
  .hero .grid, .pros, .devis { grid-template-columns: 1fr; }
  .bento .tile, .bento .wide { grid-column: span 3; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav ul { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .tile { padding: 24px; }
  .hero-main { padding: 40px 24px 28px 44px; min-height: 0; }
  .hero-main::before { left: 24px; }
  .hero-main::after, .hero-main .cross { display: none; }
  .hero-main h1 { margin-top: 32px !important; }
  .hero-visual, .devis .intro { padding: 26px; }
  .bento .tile, .bento .wide { grid-column: 1 / -1; min-height: 0; }
  .steps, form, .facts { grid-template-columns: 1fr; }
  .steps .tile { min-height: 0; }
  .facts div { border-right: 0; border-bottom: 1px solid var(--line); }
  .facts div:last-child { border-bottom: 0; }
  .head { margin-left: 8px; }
  section { padding-top: 64px; }
  .brand { font-size: 1.15rem; }
  .nav { padding-left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---------- Liquid glass ---------- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38vw 38vw at 12% 8%, rgba(2, 1, 134, .30), transparent 70%),
    radial-gradient(34vw 34vw at 92% 28%, rgba(93, 92, 240, .34), transparent 70%),
    radial-gradient(40vw 40vw at 30% 78%, rgba(120, 170, 255, .30), transparent 70%),
    radial-gradient(30vw 30vw at 85% 92%, rgba(2, 1, 134, .22), transparent 70%),
    var(--bg);
}
header { background: transparent; }
.nav, .tile, details, .foot, .bottom-nav {
  background: rgba(255, 255, 255, .52);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 -1px 0 rgba(255, 255, 255, .35),
    inset 0 0 22px rgba(255, 255, 255, .25),
    0 12px 34px rgba(2, 1, 134, .09);
}
.tile, details, .foot { border-radius: 22px; }
.nav { border-radius: 999px; padding-left: 22px; }
.tile.grey { background: rgba(214, 217, 232, .42); }
.tile.blue {
  background: linear-gradient(150deg, rgba(2, 1, 134, .94) 0%, rgba(2, 1, 134, .78) 55%, rgba(54, 52, 214, .72) 100%);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .45),
    inset 0 -1px 0 rgba(255, 255, 255, .12),
    inset 0 0 40px rgba(255, 255, 255, .08),
    0 18px 44px rgba(2, 1, 134, .28);
}
.tile::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 46%; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0));
  -webkit-mask: linear-gradient(#000, transparent); mask: linear-gradient(#000, transparent);
}
.hero-main::after { left: 0; right: 0; top: 104px; height: 1px; border-radius: 0; background: rgba(2, 1, 134, .12); -webkit-mask: none; mask: none; }
.hero-main::before { background: rgba(2, 1, 134, .12); }
.widget, .who div {
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: inset 0 1px 0 #fff, 0 20px 44px rgba(0, 0, 60, .28);
}
.who div { box-shadow: inset 0 1px 0 #fff, 0 6px 18px rgba(2, 1, 134, .06); border-radius: 14px; }
.widget { border-radius: 18px; background: rgba(255, 255, 255, .9); z-index: 1; }
.w-row small { color: var(--deep); }
.btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 20px rgba(2, 1, 134, .22); }
.btn.ghost { background: rgba(255, 255, 255, .45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9); }
.btn.ghost:hover { background: rgba(255, 255, 255, .75); }
input, select, textarea { background: rgba(255, 255, 255, .6); border-color: rgba(2, 1, 134, .14); border-radius: 12px; }
.facts div, .pros li, .w-row { border-color: rgba(2, 1, 134, .1); }

/* ---------- Menu bas (mobile) ---------- */
.bottom-nav { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .nav .btn { display: none; }
  .nav { justify-content: center; }
  .bottom-nav {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; z-index: 20; left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 6px 4px; border-radius: 24px;
    background: rgba(255, 255, 255, .7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 10px 30px rgba(2, 1, 134, .16);
  }
  .bottom-nav a {
    display: grid; justify-items: center; gap: 2px; padding: 4px 2px 5px;
    text-decoration: none; font-size: .7rem; font-weight: 500; color: var(--deep);
    -webkit-tap-highlight-color: transparent; transition: color .2s;
  }
  .bottom-nav .ico { display: grid; place-items: center; height: 36px; }
  .bottom-nav img { width: 34px; height: 34px; object-fit: contain; transition: transform .25s; }
  .bottom-nav a:active img { transform: scale(.92); }
  .bottom-nav a.active, .bottom-nav a[aria-current], .bottom-nav a.cta { color: var(--accent); font-weight: 600; }
  .bottom-nav a.active img, .bottom-nav a[aria-current] img { transform: translateY(-2px) scale(1.12); }
  @media (prefers-reduced-motion: reduce) { .bottom-nav img { transition: none; } }
  footer { padding-bottom: 6px; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .tile, details, .foot, .bottom-nav { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .tile.blue { background: var(--accent); }
}
/* ---------- Logo importé : en-tête en verre bleu ---------- */
.nav {
  background: linear-gradient(150deg, rgba(2, 1, 134, .93) 0%, rgba(2, 1, 134, .8) 60%, rgba(54, 52, 214, .74) 100%);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(255, 255, 255, .12), 0 14px 36px rgba(2, 1, 134, .26);
}
.brand img { display: block; height: 26px; width: auto; }
.nav ul a { color: rgba(255, 255, 255, .78); }
.nav ul a:hover { color: #fff; }
.nav .btn { background: #fff; color: var(--accent); border-color: #fff; box-shadow: inset 0 1px 0 #fff, 0 6px 16px rgba(0, 0, 40, .25); }
.nav .btn:hover { background: #ecebff; }
.nav :focus-visible { outline-color: #fff; }
@media (max-width: 620px) { .brand img { height: 22px; } }
@media (prefers-reduced-transparency: reduce) { .nav { background: var(--accent); } }
/* ---------- Pied de page : logo et agréments ---------- */
.foot {
  display: grid; grid-template-columns: 1fr auto; gap: 26px 40px; align-items: start; padding: 36px 40px 28px;
  background: linear-gradient(150deg, rgba(2, 1, 134, .94) 0%, rgba(2, 1, 134, .8) 60%, rgba(54, 52, 214, .74) 100%);
  border: 1px solid rgba(255, 255, 255, .28); color: rgba(255, 255, 255, .8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(255, 255, 255, .12), 0 18px 44px rgba(2, 1, 134, .26);
}
.foot-brand img { display: block; height: 34px; width: auto; }
.creds { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 6px; font-size: .92rem; color: #fff; }
.creds li { display: flex; gap: 10px; align-items: baseline; }
.creds li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg) translateY(-1px); background: #97b1fd; }
.foot nav { display: grid; gap: 10px; justify-items: end; }
.foot nav a { color: rgba(255, 255, 255, .85); }
.foot a:hover { color: #fff; }
.foot :focus-visible { outline-color: #fff; }
.foot .copy { grid-column: 1 / -1; margin: 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .84rem; color: rgba(255, 255, 255, .7); }
.trust { margin-top: 18px; font-size: .84rem; color: var(--deep); }
@media (max-width: 620px) {
  .foot { grid-template-columns: 1fr; padding: 28px 24px 22px; }
  .foot nav { justify-items: start; grid-template-columns: 1fr 1fr; }
  .foot-brand img { height: 28px; }
}
@media (prefers-reduced-transparency: reduce) { .foot { background: var(--accent); } }
/* ---------- Images générées ---------- */
.hero-visual { padding: 0; justify-content: flex-start; gap: 0; }
.hero-visual .van { display: block; width: 100%; height: 270px; object-fit: cover; object-position: 18% 62%;
  -webkit-mask: linear-gradient(#000 68%, transparent); mask: linear-gradient(#000 68%, transparent); }
.hero-visual .widget { margin: -44px 28px 0; }
.hero-visual > p { margin: 18px 28px 30px; }
.bento .tile.has-img { padding-right: 46%; }
.bento .tile .side-img { position: absolute; right: 0; top: 0; width: 44%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.lot-img { display: block; width: 100%; height: auto; margin: -14px 0 18px; border-radius: 16px; }
@media (max-width: 620px) {
  .hero-visual .van { height: 220px; }
  .hero-visual .widget { margin: -36px 18px 0; }
  .hero-visual > p { margin: 16px 18px 24px; }
  .bento .tile.has-img { padding-right: 24px; }
  .bento .tile .side-img { position: relative; width: 100%; height: 170px; border-radius: 14px; margin-bottom: 6px; }
}
.plate { flex: none; }
.plate span { white-space: nowrap; }

/* ---------- Espace professionnel ---------- */
.espace-top { grid-template-columns: 1fr 1.35fr; }
.espace-intro { display: flex; flex-direction: column; gap: 16px; padding: 40px; }
.espace-intro::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-radial-gradient(circle at 0% 0%, transparent 0 69px, rgba(255, 255, 255, .08) 69px 70px); }
.espace-intro > * { position: relative; }
.espace-intro .pill { align-self: flex-start; }
.espace-intro h3 { font-size: 1.7rem; }
.espace-intro p { color: #d9d9ff; }
.espace-intro .btn { align-self: flex-start; margin-top: auto; }
.dash { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 22px; min-height: 300px; }
.dash-side { display: grid; align-content: start; gap: 4px; padding: 14px 10px; border-radius: 14px; background: rgba(2, 1, 134, .06); font-size: .86rem; }
.dash-side b { font-weight: 600; padding: 4px 10px 12px; letter-spacing: -.01em; }
.dash-side span { padding: 8px 10px; border-radius: 9px; color: var(--deep); }
.dash-side span.on { background: var(--accent); color: #fff; }
.dash-main { display: grid; grid-template-rows: auto 1fr; gap: 12px; min-width: 0; }
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dash-kpis div, .dash-chart { background: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .9); border-radius: 12px; padding: 12px; box-shadow: 0 4px 14px rgba(2, 1, 134, .06); }
.dash small { display: block; font-size: .72rem; color: var(--muted); }
.dash-kpis i { display: block; height: 10px; margin-top: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--accent), #6f6de6); }
.dash-kpis div:nth-child(2) i { width: 62%; } .dash-kpis div:nth-child(3) i { width: 78%; } .dash-kpis div:nth-child(4) i { width: 48%; }
.dash-chart { display: grid; grid-template-rows: auto 1fr; gap: 10px; }
.bars { display: flex; align-items: flex-end; gap: 6px; min-height: 120px; }
.bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #6f6de6, var(--accent)); }
.features { grid-template-columns: repeat(4, 1fr); margin-top: var(--gap); }
.features .tile { padding: 26px; display: flex; flex-direction: column; gap: 10px; min-height: 170px; }
.features h3 { font-size: 1.15rem; }
.features p { color: var(--muted); font-size: .94rem; }
@media (max-width: 960px) {
  .espace-top { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .espace-intro { padding: 26px; }
  .dash { grid-template-columns: 1fr; padding: 16px; }
  .dash-side { grid-template-columns: repeat(3, auto); justify-content: start; }
  .dash-side b { grid-column: 1 / -1; padding-bottom: 6px; }
  .dash-kpis { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr; }
  .features .tile { min-height: 0; }
}
/* ---------- Fonctions IA ---------- */
.ia { grid-template-columns: repeat(4, 1fr); margin-top: var(--gap); }
.ia .tile { padding: 26px; display: flex; flex-direction: column; gap: 10px; min-height: 190px; background: rgba(226, 228, 255, .6); }
.ia .pill { align-self: flex-start; }
.ia h3 { font-size: 1.15rem; margin-top: 4px; }
.ia p { color: var(--deep); font-size: .94rem; }
@media (max-width: 960px) { .ia { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .ia { grid-template-columns: 1fr; } .ia .tile { min-height: 0; } }
/* ---------- Assistant IA : vérification du dossier ---------- */
.ia { grid-template-columns: repeat(3, 1fr); }
.checklist { padding: 26px 28px; display: grid; align-content: center; }
.cl-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; font-size: .92rem; }
.cl-head i { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); }
.cl-head b { font-weight: 600; }
.cl-head span { margin-left: auto; color: var(--muted); font-size: .84rem; }
.cl-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; border-top: 1px solid rgba(2, 1, 134, .1); font-size: .95rem; }
.cl-row em { flex: none; font-style: normal; font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.cl-row.ok em { background: rgba(185, 242, 63, .45); color: #2f4a00; }
.cl-row.ko em { background: #ffd9d6; color: #8a1108; }
.cl-row.ko span { font-weight: 600; }
.cl-row.wait em { background: rgba(2, 1, 134, .1); color: var(--accent); }
.cl-note { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #fff1ef; color: #8a1108; font-size: .88rem; }
@media (max-width: 960px) { .ia { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .ia { grid-template-columns: 1fr; } .checklist { padding: 20px; } .cl-row { font-size: .9rem; } }
/* ---------- Simulateur de dédouanement ---------- */
.sim { grid-template-columns: 1.15fr 1fr; }
.sim-case { grid-template-columns: auto 1fr !important; align-items: start; gap: 10px !important; color: var(--deep); font-size: .9rem; }
.sim-case input { width: 18px; height: 18px; margin-top: 2px; padding: 0; accent-color: var(--accent); }
.sim-res { display: flex; flex-direction: column; gap: 18px; padding: 40px; }
.sim-res::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-radial-gradient(circle at 100% 0%, transparent 0 69px, rgba(255, 255, 255, .08) 69px 70px); }
.sim-res > * { position: relative; }
.sim-res h3 { font-size: 1.5rem; }
.sim-ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.sim-ligne:first-child { border-top: 0; }
.sim-ligne span { color: #d9d9ff; }
.sim-ligne b { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sim-ligne.total { border-top: 1px solid rgba(255, 255, 255, .5); margin-top: 4px; }
.sim-ligne.total span { color: #fff; font-weight: 500; }
.sim-ligne.total b { font-size: 1.7rem; letter-spacing: -.02em; }
.sim-note { margin-top: 12px; font-size: .86rem; color: #d9d9ff; }
.sim-alerte, .sim-erreur { margin-top: 10px; padding: 11px 13px; border-radius: 12px; background: rgba(255, 255, 255, .14); font-size: .88rem; }
.sim-pied { font-size: .8rem; color: #c9c9f5; margin-top: auto; }
.sim-res .btn { align-self: flex-start; }
@media (max-width: 960px) { .sim { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .sim-res { padding: 26px; } .sim .tile { padding: 24px !important; } }

/* ---------- Pages de contenu ---------- */
.article { padding: 10px 0 0; max-width: 980px; }
.article > * + * { margin-top: var(--gap); }
.fil { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 20px 4px; font-size: .86rem; color: var(--muted); }
.fil a { color: var(--muted); text-decoration: none; }
.fil a:hover { color: var(--accent); }
.fil i { font-style: normal; opacity: .6; }
.fil span { color: var(--ink); }
.art-tete { padding: 48px; }
.art-tete h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-top: 26px; }
.art-tete .lead { font-size: 1.15rem; color: var(--deep); max-width: 40em; margin: 20px 0 30px; }
.art-section { padding: 40px 48px; }
.art-section h2, .art-faq > h2, .art-liens > h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin-bottom: 18px; }
.art-faq > h2, .art-liens > h2 { margin: 34px 0 16px 20px; }
.art-section p, .art-section li { color: var(--deep); max-width: 46em; }
.art-section p + p, .art-section ul + p, .art-section ol + p, .art-section p + ul, .art-section p + ol, .art-section .tableau + p, .art-section p + .tableau { margin-top: 14px; }
.art-section ul, .art-section ol { margin: 0; padding-left: 22px; display: grid; gap: 9px; }
.art-section li::marker { color: var(--accent); font-weight: 600; }
.art-section strong { color: var(--ink); font-weight: 600; }
.art-section a, .art-faq a { color: var(--accent); text-underline-offset: 3px; }
.art-section .note { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(2, 1, 134, .07); border-left: 3px solid var(--accent); color: var(--ink); font-size: .96rem; }
.tableau { overflow-x: auto; margin-top: 4px; border-radius: 14px; border: 1px solid rgba(2, 1, 134, .1); background: rgba(255, 255, 255, .6); }
.tableau table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.tableau th, .tableau td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(2, 1, 134, .08); }
.tableau th { font-weight: 600; background: rgba(2, 1, 134, .05); white-space: nowrap; }
.tableau tr:last-child td { border-bottom: 0; }
.tableau td { color: var(--deep); }
.liens { grid-template-columns: repeat(2, 1fr); }
.lien { display: grid; gap: 6px; padding: 24px 26px; text-decoration: none; transition: transform .2s; }
.lien:hover { transform: translateY(-2px); }
.lien b { font-weight: 500; font-size: 1.1rem; letter-spacing: -.01em; color: var(--accent); }
.lien b::after { content: " →"; }
.lien span { color: var(--muted); font-size: .92rem; }
.art-appel { padding: 44px 48px; display: grid; gap: 14px; justify-items: start; margin-top: 34px !important; }
.art-appel p { color: #d9d9ff; max-width: 40em; }
.art-appel h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.devis-form .form-pied { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
body.page footer { padding-top: 60px; }
@media (max-width: 620px) {
  .art-tete, .art-section, .art-appel { padding: 28px 22px; }
  .liens { grid-template-columns: 1fr; }
  .art-faq > h2, .art-liens > h2 { margin-left: 8px; }
  .tableau th { white-space: normal; }
}

/* ---------- Page simulateur : titre, formulaire et résultat réunis en tête de page ---------- */
.hero-sim { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--gap); align-items: start; }
.hero-sim .sim-hero, .hero-sim .sim { display: contents; }
.hero-sim > .art-tete { grid-column: 1; padding: 32px 40px; margin: 0; }
.hero-sim .art-tete h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 18px; padding-right: 0; }
.hero-sim .art-tete .lead { font-size: 1.02rem; margin: 12px 0 0; }
.hero-sim .sim > .tile { grid-column: 1; margin: 0; }
.hero-sim .sim > .sim-res { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 104px; }
.hero-sim .art-ico { width: 64px; height: 64px; top: 24px; right: 28px; }
@media (max-width: 960px) {
  .hero-sim { grid-template-columns: 1fr; }
  .hero-sim .sim > .sim-res { grid-column: 1; grid-row: auto; position: static; }
  .hero-sim > .art-tete { padding: 24px 22px; }
}

/* ---------- Icônes 3D (public/images/icones) ---------- */
.ic3 { display: block; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(2, 1, 134, .18)); }
.tile.blue .ic3 { filter: drop-shadow(0 8px 12px rgba(0, 0, 40, .45)); }
.bento .tile > .ic3 { position: absolute; top: 22px; right: 22px; width: 64px; height: 64px; }
.bento .tile h3 { padding-right: 76px; }
.bento .tile.has-img h3 { padding-right: 0; }
.who div { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; }
.who .ic3 { grid-row: span 2; width: 44px; height: 44px; filter: drop-shadow(0 5px 6px rgba(2, 1, 134, .16)); }
.ia .ic3 { width: 56px; height: 56px; }
.espace-intro .ic3 { width: 72px; height: 72px; margin-bottom: 6px; }
.steps .tile { position: relative; }
.steps .ic3 { position: absolute; top: 20px; right: 20px; width: 56px; height: 56px; }
.art-tete { position: relative; }
.art-ico { position: absolute; top: 36px; right: 40px; width: 112px; height: 112px; }
.art-tete h1 { padding-right: 130px; }
.lien { grid-template-columns: 48px 1fr; column-gap: 16px; align-items: center; }
.lien .ic3 { grid-row: span 2; width: 48px; height: 48px; filter: drop-shadow(0 5px 6px rgba(2, 1, 134, .16)); }
@media (max-width: 760px) {
  .art-ico { position: static; width: 72px; height: 72px; margin-bottom: 18px; }
  .art-tete h1 { padding-right: 0; }
  .bento .tile > .ic3 { width: 56px; height: 56px; top: 18px; right: 18px; }
}
/* Cartes sans pastille : l'icône passe au-dessus du titre, dans le flux. */
.bento .tile > .ic3:first-child { position: static; margin-bottom: 4px; }
.bento .tile > .ic3:first-child + h3 { padding-right: 0; }
