/* ==========================================================
   Alpha Solutions — feuille de style
   Satoshi · marine · blanc · rouge vif · tons dorés
   ========================================================== */

/* ---------- Polices hébergées sur le serveur (plus rapide, aucune requête externe) ---------- */
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("/assets/fonts/playfair-700.woff2") format("woff2"); font-weight: 700; font-style: normal; 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; }

/* Transitions fluides entre les pages (navigateurs compatibles) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
.nav { view-transition-name: entete; }

:root {
  --navy: #0B1E33;
  --navy-2: #12293F;
  --navy-3: #1A344E;
  --navy-line: rgba(255, 255, 255, .12);
  --bg: #FFFFFF;     /* fond de page */
  --tint: #F5F6F8;   /* sections alternées */
  --soft: #F1F3F5;   /* étiquettes, petits fonds */
  --white: #FFFFFF;
  --line: #E4E7EB;
  --text: #0B1E33;
  --muted: #5A6675;
  --muted-light: rgba(255, 255, 255, .72);
  --red: #EE2B2B;
  --red-2: #FF3D3D;
  --red-ink: #C41C1C; /* rouge pour du texte sur fond clair (contraste AA) */
  --gold: #E0A84A;
  --brand-gold: #C6953E;
  --serif: "Playfair Display", Georgia, serif;
  --wa: #1FAF5A;

  --font: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
  --frame: 24px;
  --r: 16px;
  --r-sm: 10px;
  --gutter: 16px;
  --shadow: 0 1px 2px rgba(11, 30, 51, .04), 0 24px 48px -28px rgba(11, 30, 51, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 720px) { :root { --gutter: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, p, figure { margin: 0; }

.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .wrap { width: min(1240px, 100% - 96px); } }

/* ---------- Cadre arrondi (motif de la marque) ---------- */
.frame {
  position: relative;
  margin: var(--gutter);
  border-radius: var(--frame);
  border: 5px solid var(--white);
  box-shadow: 0 30px 60px -40px rgba(11, 30, 51, .45);
  overflow: hidden;
  overflow: clip; /* « clip » coupe sans bloquer les éléments collants (carte de soumission) */
  isolation: isolate;
}
.frame--navy { background: var(--navy); color: #fff; }

/* ---------- Typographie ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font: 500 .76rem/1 var(--font);
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.kicker::before { content: ""; width: 32px; height: 2px; background: var(--red); flex: none; transform-origin: left; transition: transform .8s var(--ease) .2s; }
.reveal:not(.is-in) .kicker::before { transform: scaleX(0); }
.kicker--light { color: rgba(255, 255, 255, .86); }

.title {
  font: 700 clamp(2rem, 4vw, 3.25rem)/1.04 var(--font);
  letter-spacing: -.035em;
  max-width: 21ch;
}
.head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px 48px; margin-bottom: 52px;
}
.head__aside { color: var(--muted); max-width: 42ch; font-size: 1.02rem; }
.head--light .head__aside { color: var(--muted-light); }
.fineprint { font-size: .82rem; color: var(--muted); }
.link { font-weight: 700; color: var(--red-ink); }

/* ---------- Boutons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 24px;
  border-radius: var(--r-sm); border: 1px solid transparent;
  font: 500 1rem/1 var(--font); letter-spacing: -.005em;
  white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.btn .arr { font-size: 1.15em; transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn svg { width: 18px; height: 18px; }
.btn--sm { --h: 46px; padding: 0 18px; font-size: .94rem; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-2); }
.btn--outline { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .02); }
.btn--outline:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--outline svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-3); }
.btn--line { border-color: var(--line); background: #fff; color: var(--text); }
.btn--line:hover { border-color: var(--text); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #22c063; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; z-index: 50;
  top: calc(var(--gutter) + 5px); left: calc(var(--gutter) + 5px); right: calc(var(--gutter) + 5px);
  border-radius: 18px;
  transition: background .3s, box-shadow .3s, top .3s var(--ease), color .3s;
  color: #fff;
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 84px; padding: 0 clamp(16px, 4vw, 56px); }
.nav.is-scrolled { top: 10px; background: rgba(255, 255, 255, .92); color: var(--text); box-shadow: 0 12px 40px -18px rgba(11, 30, 51, .35); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
.nav.is-scrolled .nav__inner { height: 68px; padding: 0 clamp(16px, 2vw, 28px); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__icon { position: relative; width: 44px; height: 46px; flex: none; }
.brand__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s, transform .6s var(--ease); }
.brand:hover .brand__img { transform: rotate(-8deg) scale(1.04); }
.brand__img--light { opacity: 0; }
.nav.is-scrolled .brand__img--dark { opacity: 0; }
.nav.is-scrolled .brand__img--light { opacity: 1; }
.brand__rule { width: 1.5px; height: 30px; background: var(--brand-gold); flex: none; }
.brand__name { font: 500 1.16rem/1 var(--font); letter-spacing: -.01em; white-space: nowrap; }
.brand__name b { font: 700 1.38rem/1 var(--serif); letter-spacing: -.01em; margin-right: 2px; }
.brand__name i { font-style: normal; color: var(--red); }
.nav.is-scrolled .brand__name i, .footer .brand__name i { color: var(--red-ink); }
.nav.is-scrolled .brand__icon { width: 38px; height: 40px; }
.brand--foot .brand__img { position: static; }
.nav__links { display: none; gap: 44px; margin-left: 48px; }
.nav__links > a, .navdrop > button { position: relative; background: none; border: 0; color: inherit; font-size: .97rem; font-weight: 500; opacity: .82; padding: 8px 0; transition: opacity .2s; white-space: nowrap; }
.nav__links > a:hover, .nav__links > a.is-active, .navdrop > button:hover, .navdrop > button.is-active { opacity: 1; }
.nav__links > a.is-active::after, .navdrop > button.is-active::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px; background: var(--red); border-radius: 2px; }
.nav__actions { display: none; gap: 14px; margin-left: auto; }
.nav.is-scrolled .btn--outline { color: var(--text); border-color: var(--line); }
.nav.is-scrolled .btn--outline:hover { border-color: var(--text); background: transparent; }
.nav__burger { margin-left: auto; width: 46px; height: 46px; border: 1px solid currentColor; border-radius: 12px; background: transparent; display: grid; place-content: center; gap: 6px; opacity: .9; }
.nav__burger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav__mobile {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  display: grid; gap: 2px; padding: 10px 18px 20px;
  background: #fff; color: var(--text); border-radius: 16px; box-shadow: var(--shadow);
  transform-origin: top; transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav__mobile.is-open { transform: none; opacity: 1; pointer-events: auto; }
.nav__mobile a:not(.btn) { font-weight: 500; padding: 14px 2px; border-bottom: 1px solid var(--line); }
.nav__mobile .btn { margin-top: 14px; }
@media (min-width: 1180px) {
  .nav__links, .nav__actions { display: flex; }
  .nav__burger, .nav__mobile { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: max(640px, min(100svh - 2 * var(--gutter), 900px));
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; background: var(--navy);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; z-index: -2; animation: kenburns 16s var(--ease) both; transform-origin: 70% 60%; }
@keyframes kenburns { from { transform: scale(1.14); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 21, 37, .78) 0%, rgba(8, 21, 37, .55) 30%, rgba(8, 21, 37, .12) 58%, rgba(8, 21, 37, 0) 75%),
    linear-gradient(180deg, rgba(8, 21, 37, .4) 0%, rgba(8, 21, 37, 0) 20%, rgba(8, 21, 37, 0) 70%, rgba(8, 21, 37, .5) 100%);
}
.hero__content { padding: 150px clamp(20px, 5vw, 64px) 0; margin-bottom: auto; margin-top: auto; }
.hero__title {
  font: 700 clamp(2.6rem, 5.4vw, 5.2rem)/1.02 var(--font);
  letter-spacing: -.045em;
}
@media (min-width: 720px) { .hero__title { white-space: nowrap; } }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; animation: lineUp 1.1s var(--ease) both; animation-delay: var(--intro, 0s); }
.hero__title .line:nth-child(2) > span { animation-delay: calc(var(--intro, 0s) + .12s); }
.hero__title em { font-style: normal; color: var(--red); }
@keyframes lineUp { from { transform: translateY(105%); } }
.hero__lead { margin-top: 26px; font-size: clamp(1.05rem, 1.6vw, 1.38rem); font-weight: 400; color: rgba(255, 255, 255, .88); letter-spacing: -.01em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__actions .btn { --h: 58px; padding: 0 26px; }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: 18px 0;
  margin: 64px 0 0; padding: 0 clamp(20px, 5vw, 64px) clamp(28px, 4vw, 48px);
}
.hero__stats div { display: grid; gap: 6px; padding: 0 clamp(20px, 3.4vw, 48px); }
.hero__stats div:first-child { padding-left: 0; }
.hero__stats div + div { border-left: 1px solid rgba(255, 255, 255, .28); }
.hero__stats b { font: 700 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--font); letter-spacing: -.03em; }
.hero__stats span { font-size: clamp(.8rem, 1.1vw, .95rem); color: rgba(255, 255, 255, .82); }

@media (max-width: 719px) {
  .hero__bg { object-position: 72% 50%; }
  .hero__shade { background: linear-gradient(180deg, rgba(8, 21, 37, .6) 0%, rgba(8, 21, 37, .55) 45%, rgba(8, 21, 37, .2) 70%, rgba(8, 21, 37, .7) 100%); }
  .hero__content { padding-top: 130px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__actions .btn--half { flex: 1 1 calc(50% - 7px); padding: 0 12px; }
  .hero__title { font-size: clamp(2rem, 9.2vw, 2.6rem); }
  .hero .kicker { letter-spacing: .16em; font-size: .68rem; gap: 10px; }
  .hero .kicker::before { width: 22px; }
  .hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 44px; }
  .hero__stats div { padding: 0 10px; }
  .hero__stats b { font-size: 1.35rem; }
  .hero__stats span { font-size: .74rem; line-height: 1.3; }
}

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section--tint { background: var(--tint); }
@media (min-width: 980px) { .section { padding: 136px 0; } }

/* ---------- Services ---------- */
.services { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 720px) { .services { grid-template-columns: repeat(2, 1fr); } .service:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1180px) { .services { grid-template-columns: repeat(5, 1fr); } .service:last-child:nth-child(odd) { grid-column: auto; } }
.service {
  position: relative; background: #fff; padding: 34px 30px 84px; display: grid; gap: 14px; align-content: start;
  transition: background .3s;
}
.service:hover { background: var(--navy); color: #fff; }
.service:hover p { color: var(--muted-light); }
.service::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--c, var(--red)); transform: scaleX(.18); transform-origin: left; transition: transform .5s var(--ease); }
.service:hover::before, .service.is-in::before { transform: scaleX(1); }
.service__n { font-weight: 700; color: var(--c, var(--red)); font-size: .9rem; letter-spacing: .04em; }
.service h3 { font: 700 1.42rem/1.15 var(--font); letter-spacing: -.025em; margin-top: 30px; }
.service p { color: var(--muted); transition: color .3s; }
.service__go { position: absolute; left: 30px; bottom: 28px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.service:hover .service__go { background: var(--c, var(--red)); border-color: var(--c, var(--red)); color: #fff; transform: translateX(6px); }

/* ---------- Filtres ---------- */
.filters { display: flex; gap: 6px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.chip { height: 40px; padding: 0 16px; border-radius: 8px; border: 0; background: transparent; font-size: .92rem; font-weight: 500; color: var(--muted); transition: background .2s, color .2s; }
.chip:hover { color: var(--text); }
.chip.is-active { background: var(--navy); color: #fff; }
.tabsline { display: flex; gap: 30px; border-bottom: 1px solid var(--line); margin: -20px 0 36px; overflow-x: auto; scrollbar-width: none; }
.tabsline::-webkit-scrollbar { display: none; }
.tabline { flex: none; position: relative; padding: 14px 0; border: 0; background: none; font-size: .97rem; font-weight: 500; color: var(--muted); }
.tabline:hover { color: var(--text); }
.tabline.is-active { color: var(--text); }
.tabline.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); }

/* ---------- Cartes conteneurs ---------- */
.grid { display: grid; gap: 22px; }
@media (min-width: 680px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  text-align: left; padding: 0; border: 0; background: #fff; border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line);
  transition: transform .35s var(--ease), box-shadow .35s;
  animation: rise .5s var(--ease) both;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,21,37,.35), transparent 35%, transparent 65%, rgba(8,21,37,.45)); }
.card__status, .card__size { position: absolute; z-index: 1; top: 14px; }
.card__status { left: 14px; }
.card__size { right: 14px; background: rgba(255,255,255,.95); color: var(--navy); font: 700 .78rem/1 var(--font); padding: 8px 10px; border-radius: 8px; letter-spacing: .02em; }
.card__ref { position: absolute; z-index: 1; left: 16px; bottom: 14px; color: #fff; font: 500 .8rem/1 var(--font); letter-spacing: .14em; }
.card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__dest { font-size: .8rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.card__title { font: 700 1.36rem/1.2 var(--font); letter-spacing: -.025em; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card__tags span { font-size: .8rem; font-weight: 500; background: var(--soft); padding: 6px 10px; border-radius: 6px; color: #3a4757; }
.card__foot { display: flex; justify-content: space-between; align-items: flex-end; padding-top: 16px; margin-top: auto; border-top: 1px solid var(--line); }
.card__price small { display: block; font-size: .78rem; color: var(--muted); }
.card__price b { font: 700 1.12rem/1.2 var(--font); letter-spacing: -.02em; color: var(--red-ink); }
.card__go { width: 40px; height: 40px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; transition: background .3s, color .3s; }
.card:hover .card__go { background: var(--red); color: #fff; }

.status { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: #fff; color: var(--navy); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--disponible::before { background: #17A65A; }
.status--chargement::before { background: var(--gold); animation: pulse 1.6s infinite; }
.status--reserve::before { background: #8E98A4; }
.status--mer::before { background: #2F7BD8; }
@keyframes pulse { 50% { opacity: .25; } }
.empty { text-align: center; padding: 40px 0; color: var(--muted); }

/* ---------- Configurateur ---------- */
.builder-sec { padding: 96px 0; }
@media (min-width: 980px) { .builder-sec { padding: 120px 0; } }
.builder { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.builder > * { min-width: 0; }
@media (min-width: 1060px) { .builder { grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; } }
.builder__steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.step { background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--r); padding: 26px; }
@media (min-width: 720px) { .step { padding: 32px; } }
.step__title { display: flex; align-items: baseline; gap: 14px; font: 700 1.28rem/1.2 var(--font); letter-spacing: -.02em; margin-bottom: 24px; }
.step__title span { color: var(--red); font-size: .9rem; letter-spacing: .04em; }

.sizes { display: grid; gap: 10px; }
@media (min-width: 640px) { .sizes { grid-template-columns: repeat(2, 1fr); } }
.size { text-align: left; padding: 18px; border-radius: 12px; background: var(--navy-3); border: 1px solid var(--navy-line); display: grid; gap: 6px; position: relative; transition: border-color .2s, background .2s; }
.size:hover { border-color: rgba(255,255,255,.3); }
.size.is-active { border-color: var(--red); background: rgba(238, 43, 43, .1); }
.size.is-active::after { content: "✓"; position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: .72rem; font-weight: 700; }
.size b { font: 700 1.08rem/1.2 var(--font); padding-right: 26px; }
.size small { color: var(--muted-light); font-size: .82rem; }
.size .size__cap { font-size: .82rem; font-weight: 500; color: var(--gold); }

.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 16px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; height: 40px; padding: 0 15px; border-radius: 8px; border: 1px solid var(--navy-line); background: transparent; color: var(--muted-light); font-size: .9rem; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.tab:hover { color: #fff; }
.tab.is-active { background: #fff; color: var(--navy); border-color: #fff; }
.tab .badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }

.items { display: grid; gap: 8px; margin-bottom: 20px; }
@media (min-width: 640px) { .items { grid-template-columns: 1fr 1fr; } }
.item { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 12px; background: var(--navy-3); border: 1px solid transparent; transition: border-color .2s; }
.item.has-qty { border-color: rgba(238, 43, 43, .6); }
.item__name { flex: 1; font-size: .92rem; font-weight: 500; line-height: 1.3; }
.item__name small { display: block; color: var(--muted-light); font-size: .76rem; margin-top: 2px; }
.stepper { display: flex; align-items: center; gap: 2px; background: var(--navy); border-radius: 10px; padding: 3px; }
.stepper button { width: 32px; height: 32px; border-radius: 8px; border: 0; background: transparent; color: #fff; font-size: 1.1rem; line-height: 1; }
.stepper button:hover { background: rgba(255,255,255,.1); }
.stepper input { width: 38px; text-align: center; background: transparent; border: 0; color: #fff; font: 700 .94rem var(--font); -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.field { display: grid; gap: 8px; }
.field span { font-size: .84rem; font-weight: 500; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; font: 400 .97rem/1.4 var(--font); padding: 14px 15px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--text); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 60px; }
.field--dark span { color: var(--muted-light); }
.field--dark input, .field--dark textarea, .field--dark select { background: var(--navy-3); border-color: var(--navy-line); color: #fff; }
.field--dark input::placeholder, .field--dark textarea::placeholder { color: rgba(255,255,255,.4); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(238, 43, 43, .14); }
.field.is-invalid input { border-color: var(--red); }

.dest-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
@media (max-width: 479px) { .dest-pick { grid-template-columns: 1fr; } }
.dest-opt { text-align: left; padding: 16px 18px; border-radius: 12px; background: var(--navy-3); border: 1px solid var(--navy-line); display: grid; gap: 3px; }
.dest-opt b { font: 700 1.08rem/1.2 var(--font); }
.dest-opt small { color: var(--muted-light); font-size: .8rem; }
.dest-opt.is-active { border-color: var(--red); background: rgba(238, 43, 43, .1); }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }

.summary { position: sticky; top: 100px; background: #fff; color: var(--text); border-radius: var(--r); padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.summary__meta > div { min-width: 0; }
@media (max-width: 420px) { .summary { padding: 18px; } .summary__meta span { font-size: .62rem; letter-spacing: .06em; } }
.summary__visual { background: var(--soft); border-radius: 12px; padding: 22px 18px 14px; }
.summary__visual .ctr { width: 100%; }
.summary__visual .ctr--20 { width: 62%; margin: 0 auto; }
.gauge__top { display: flex; justify-content: space-between; align-items: baseline; font-size: .9rem; font-weight: 500; }
.gauge__top b { font: 700 1.6rem/1 var(--font); letter-spacing: -.03em; }
.gauge__bar { height: 8px; background: var(--soft); border-radius: 999px; overflow: hidden; margin: 10px 0 8px; }
.gauge__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--navy); transition: width .45s var(--ease), background .3s; }
.gauge.is-full .gauge__bar i { background: #17A65A; }
.gauge.is-over .gauge__bar i { background: var(--red); }
.gauge small { color: var(--muted); font-size: .82rem; }
.gauge.is-over small { color: var(--red); font-weight: 700; }
.summary__list { list-style: none; margin: 0; padding: 0; max-height: 220px; overflow-y: auto; }
.summary__list li { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; padding: 8px 0; border-bottom: 1px solid var(--line); }
.summary__list li b { font-variant-numeric: tabular-nums; }
.summary__empty { color: var(--muted); justify-content: center !important; border: 0 !important; }
.summary__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.summary__meta div { background: var(--soft); border-radius: 10px; padding: 10px 12px; display: grid; gap: 2px; }
.summary__meta span { font-size: .7rem; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .12em; }
.summary__meta b { font-size: .94rem; }
.summary__note { font-size: .8rem; color: var(--muted); text-align: center; }

/* ---------- Envoi de colis ---------- */
.parcel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.parcel > * { min-width: 0; }
@media (min-width: 1000px) { .parcel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.parcel__photo { position: relative; border-radius: var(--r); overflow: hidden; min-height: 320px; background: var(--navy); }
.parcel__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.parcel__photo figcaption { position: absolute; left: 18px; bottom: 18px; background: rgba(255,255,255,.94); color: var(--navy); font-size: .84rem; font-weight: 700; padding: 10px 14px; border-radius: 10px; }
.parcel__rules { display: grid; gap: 16px; align-content: start; }
@media (min-width: 680px) { .parcel__rules { grid-template-columns: 1fr 1fr; } .parcel__rules .fineprint { grid-column: 1 / -1; } }
.rule { background: #fff; border-radius: var(--r); padding: 28px; border: 1px solid var(--line); }
.rule h3 { display: flex; align-items: center; gap: 12px; font: 700 1.2rem/1.2 var(--font); letter-spacing: -.02em; margin-bottom: 18px; }
.rule h3 span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .82rem; font-weight: 700; flex: none; }
.rule--ok h3 span { background: rgba(23, 166, 90, .12); color: #128048; }
.rule--no h3 span { background: rgba(238, 43, 43, .1); color: var(--red); }
.rule ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.rule li { position: relative; padding-left: 18px; font-size: .94rem; color: #34414f; line-height: 1.45; }
.rule li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; }
.rule--ok li::before { background: #17A65A; }
.rule--no li::before { background: var(--red); }

.parcel__form { margin-top: 22px; background: #fff; border-radius: var(--r); padding: 28px; display: grid; gap: 22px; border: 1px solid var(--line); }
@media (min-width: 720px) { .parcel__form { padding: 36px; } }
.parcel__formhead h3 { font: 700 1.5rem/1.15 var(--font); letter-spacing: -.025em; }
.parcel__formhead p { color: var(--muted); margin-top: 4px; }
.parcel__types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 720px) { .parcel__types { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .parcel__types { grid-template-columns: repeat(5, 1fr); } }
.ptype { position: relative; display: grid; gap: 2px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s; align-content: start; }
.ptype > input[type=checkbox] { position: absolute; opacity: 0; pointer-events: none; }
.ptype b { font-size: .97rem; font-weight: 700; }
.ptype small { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.ptype:has(> input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: var(--soft); }
.ptype:has(> input:checked)::after { content: "✓"; position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: .66rem; }
.ptype:has(> input:focus-visible) { box-shadow: 0 0 0 3px rgba(238, 43, 43, .3); }
.ptype__qty { display: none; margin-top: 10px; }
.ptype:has(> input:checked) .ptype__qty { display: block; }
.ptype__qty input { width: 76px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; font: 700 .92rem var(--font); background: #fff; }
.parcel__fields { display: grid; gap: 14px; }
@media (min-width: 720px) { .parcel__fields { grid-template-columns: repeat(2, 1fr); } .field--wide { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .parcel__fields { grid-template-columns: repeat(4, 1fr); } }
.parcel__submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); line-height: 1.45; cursor: pointer; max-width: 52ch; }
.check input { margin-top: 3px; accent-color: var(--navy); width: 17px; height: 17px; flex: none; }
.check.is-invalid { color: var(--red); font-weight: 700; }

/* ---------- Processus ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps li { background: var(--soft); padding: 30px 26px 34px; }
.steps span { display: block; font-weight: 700; color: var(--red); font-size: .9rem; margin-bottom: 44px; letter-spacing: .04em; }
.steps h4 { font: 700 1.2rem/1.2 var(--font); letter-spacing: -.02em; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .94rem; }

/* ---------- Transparence ---------- */
.trust { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .trust { grid-template-columns: 1fr 1fr; gap: 72px; } }
.trust__photo { border-radius: var(--frame); overflow: hidden; border: 5px solid #fff; box-shadow: 0 30px 60px -40px rgba(11,30,51,.45); aspect-ratio: 4 / 3.4; }
.trust__photo img { width: 100%; height: 100%; object-fit: cover; }
.proofs { display: grid; gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
@media (min-width: 560px) { .proofs { grid-template-columns: 1fr 1fr; } }
.proof { padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .proof:nth-child(odd) { padding-right: 24px; } .proof:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); } }
.proof b { display: block; font-size: 1.08rem; letter-spacing: -.015em; }
.proof p { color: var(--muted); font-size: .94rem; margin-top: 4px; }

/* ---------- Destinations ---------- */
.dests { display: grid; gap: 22px; }
@media (min-width: 860px) { .dests { grid-template-columns: 1fr 1fr; } }
.dest { position: relative; overflow: hidden; border-radius: var(--frame); border: 5px solid #fff; padding: 32px; min-height: 360px; display: flex; flex-direction: column; color: #fff; isolation: isolate; background: var(--navy); }
.dest::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 90% at 100% 0%, rgba(47, 123, 216, .35), transparent 60%); }
.dest--warm::before { background: radial-gradient(90% 90% at 100% 0%, rgba(242, 165, 65, .55), transparent 62%), radial-gradient(60% 60% at 0% 100%, rgba(238, 43, 43, .25), transparent 60%); }
.dest::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 300px; height: 300px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 0 0 46px rgba(255,255,255,.025), 0 0 0 92px rgba(255,255,255,.02); z-index: -1; }
.dest__top { display: flex; justify-content: space-between; align-items: center; }
.code { font-weight: 700; letter-spacing: .2em; font-size: .8rem; color: rgba(255,255,255,.7); }
.tag { font-size: .8rem; font-weight: 500; padding: 7px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.25); }
.dest h3 { font: 700 clamp(2.6rem, 5vw, 4rem)/1 var(--font); letter-spacing: -.045em; margin-top: auto; padding-top: 70px; }
.dest p { color: rgba(255,255,255,.8); max-width: 44ch; margin-top: 12px; }
.dest dl { display: flex; gap: 36px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); }
.dest dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: rgba(255,255,255,.6); }
.dest dd { margin: 4px 0 0; font-weight: 700; }

/* ---------- Grossistes / diaspora ---------- */
.audiences { display: grid; gap: 22px; }
@media (min-width: 900px) { .audiences { grid-template-columns: 1fr 1fr; } }
.aud { padding: clamp(30px, 4vw, 48px); border-radius: var(--frame); background: #fff; display: grid; gap: 26px; align-content: start; border: 1px solid var(--line); }
.aud .kicker { margin: 0; }
.aud h3 { font: 700 clamp(1.8rem, 3vw, 2.4rem)/1.08 var(--font); letter-spacing: -.035em; max-width: 18ch; }
.aud .btn { justify-self: start; }
.aud--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: rgba(238,43,43,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23EE2B2B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.aud--navy .checks li { color: rgba(255,255,255,.88); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 40px; }
@media (min-width: 1000px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 80px; } }
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 52px 24px 0; position: relative; font: 500 1.14rem/1.35 var(--font); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 1px solid #D1D5DB; display: grid; place-items: center; font-size: 1.2rem; font-weight: 400; transition: transform .25s var(--ease), background .2s, color .2s, border-color .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--red); color: #fff; border-color: var(--red); }
.faq details p { padding: 0 52px 26px 0; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { min-height: 560px; display: flex; align-items: center; color: #fff; background: var(--navy); }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -2; }
.cta__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,21,37,.88) 0%, rgba(8,21,37,.7) 40%, rgba(8,21,37,.2) 75%); }
.cta__content { padding: 80px clamp(20px, 5vw, 64px); max-width: 820px; }
.cta__title { font: 700 clamp(2.2rem, 4.6vw, 3.8rem)/1.02 var(--font); letter-spacing: -.045em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.cta__line { margin-top: 22px; color: rgba(255,255,255,.75); font-size: .95rem; }

/* ---------- Footer ---------- */
.footer { color: var(--muted); padding: 72px 0 28px; font-size: .94rem; }
.footer .brand { color: var(--text); }
.footer__inner { display: grid; gap: 40px; }
.footer__brand p { margin-top: 16px; max-width: 34ch; }
.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.footer__cols div { display: grid; gap: 10px; align-content: start; }
.footer h5, .footer__h { color: var(--text); font-size: .76rem; text-transform: uppercase; letter-spacing: .2em; font-weight: 700; margin-bottom: 6px; }
.footer a:hover { color: var(--text); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .82rem; }
@media (min-width: 860px) { .footer__inner { grid-template-columns: 1fr 1.4fr; } .footer__cols { grid-template-columns: repeat(3, 1fr); } }

/* ---------- WhatsApp flottant ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(31,175,90,.65); transition: transform .2s var(--ease), opacity .3s; }
.fab:hover { transform: scale(1.06); }
.fab svg { width: 27px; height: 27px; }
.fab.is-hidden { opacity: 0; pointer-events: none; }

/* ---------- Modales ---------- */
.modal { border: 0; padding: 0; border-radius: var(--frame); width: min(900px, calc(100% - 24px)); max-height: calc(100dvh - 32px); background: #fff; color: var(--text); box-shadow: 0 40px 120px -30px rgba(0,0,0,.5); }
.modal--sm { width: min(560px, calc(100% - 24px)); }
.modal::backdrop { background: rgba(8, 21, 37, .66); backdrop-filter: blur(4px); }
.modal[open] { animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal__body { position: relative; padding: 28px; }
@media (min-width: 720px) { .modal__body { padding: 36px; } }
.modal__close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; line-height: 1; z-index: 2; }
.modal__title { font: 700 1.6rem/1.15 var(--font); letter-spacing: -.03em; }
.modal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.detail { display: grid; gap: 28px; }
@media (min-width: 780px) { .detail { grid-template-columns: 1fr 1fr; } }
.detail__media { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy); }
.detail__media img { width: 100%; height: 100%; object-fit: cover; }
.detail h3 { font: 700 1.9rem/1.08 var(--font); letter-spacing: -.035em; margin: 14px 0 10px; }
.detail__pitch { color: var(--muted); }
.detail__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.detail__facts div { background: var(--soft); border-radius: 10px; padding: 12px 14px; }
.detail__facts span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 500; }
.detail__facts b { font-size: .98rem; }
.inv { margin-top: 22px; }
.inv h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); font-weight: 500; margin-bottom: 8px; }
.inv ul { list-style: none; margin: 0; padding: 0; }
.inv li { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.inv li b { font-variant-numeric: tabular-nums; }
.detail__price { margin-top: 20px; }
.detail__price { background: var(--soft); border-radius: 12px; padding: 16px 18px; border-left: 3px solid var(--red); }
.detail__price small { display: block; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; }
.detail__price b { font: 700 1.5rem/1.2 var(--font); letter-spacing: -.03em; }
.detail__price p { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.track { display: flex; gap: 6px; margin-top: 18px; }
.track span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.track span.on { background: var(--red); }
.track-labels { display: flex; justify-content: space-between; font-size: .74rem; color: var(--muted); margin-top: 6px; font-weight: 500; }
.request { white-space: pre-wrap; font: 400 .9rem/1.55 var(--font); background: var(--soft); border-radius: 12px; padding: 18px; margin: 16px 0 0; max-height: 46vh; overflow: auto; }

/* ---------- Bandeau défilant ---------- */
.ticker { overflow: hidden; padding: 26px 0; border-bottom: 1px solid var(--line); }
.ticker__track { display: flex; gap: 56px; width: max-content; animation: ticker 42s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; gap: 14px; font: 700 clamp(1.2rem, 2vw, 1.6rem)/1 var(--font); letter-spacing: -.03em; white-space: nowrap; }
.ticker i { width: 12px; height: 12px; border-radius: 3px; background: var(--c); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Demande de soumission ---------- */
.step__hint { color: var(--muted-light); font-size: .9rem; margin: -10px 0 16px; }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.sug { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px dashed rgba(255,255,255,.28); background: transparent; color: #fff; font-size: .88rem; font-weight: 500; transition: background .2s, border-color .2s, transform .2s var(--ease); }
.sug span { color: var(--gold); font-weight: 700; }
.sug:hover { background: rgba(255,255,255,.06); border-color: var(--gold); }
.sug.is-pop { animation: pop2 .35s var(--ease); }
@keyframes pop2 { 40% { transform: scale(.94); } }
.rows { display: grid; gap: 8px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) 76px 120px 40px; gap: 8px; align-items: center; }
.row.is-new { animation: rowIn .45s var(--ease); }
@keyframes rowIn { from { opacity: 0; transform: translateY(-8px); } }
.row input, .row select { width: 100%; height: 46px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--navy-line); background: var(--navy-3); color: #fff; font: 400 .94rem var(--font); outline: none; transition: border-color .2s, box-shadow .2s; }
.row input::placeholder { color: rgba(255,255,255,.4); }
.row input:focus, .row select:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(238,43,43,.16); }
.row__del { height: 46px; border-radius: 10px; border: 1px solid var(--navy-line); background: transparent; color: var(--muted-light); font-size: 1.2rem; }
.row__del:hover { color: #fff; border-color: var(--red); background: rgba(238,43,43,.15); }
@media (max-width: 560px) { .row { grid-template-columns: minmax(0, 1fr) 64px 40px; } .row select { grid-column: 1 / 3; grid-row: 2; } .row__del { grid-row: 1; grid-column: 3; } }
.addrow { margin: 12px 0 20px; height: 46px; width: 100%; border-radius: 10px; border: 1px dashed rgba(255,255,255,.3); background: transparent; color: #fff; font-weight: 500; transition: background .2s, border-color .2s; }
.addrow span { color: var(--gold); font-weight: 700; margin-right: 6px; }
.addrow:hover { background: rgba(255,255,255,.05); border-color: var(--gold); }
.notice { margin: 0 0 20px; padding: 14px 16px; border-radius: 12px; background: rgba(242,165,65,.12); border: 1px solid rgba(242,165,65,.4); color: #FBE3BF; font-size: .9rem; line-height: 1.5; animation: rowIn .4s var(--ease); }
.notice b { color: var(--gold); }
.summary__list em { font-style: normal; color: var(--muted); font-size: .82rem; }
.crate { animation: crateIn .5s var(--ease) both; animation-delay: calc(var(--i) * 25ms); transform-box: fill-box; transform-origin: bottom; }
@keyframes crateIn { from { opacity: 0; transform: translateY(-30px); } }

/* ---------- Véhicules ---------- */
.vehicle { margin-top: 22px; display: grid; gap: 28px; padding: clamp(28px, 4vw, 44px); border-radius: var(--frame); background: radial-gradient(70% 120% at 100% 0%, rgba(242,165,65,.28), transparent 60%), radial-gradient(60% 90% at 0% 100%, rgba(238,43,43,.22), transparent 60%), var(--navy); color: #fff; border: 5px solid #fff; box-shadow: 0 30px 60px -40px rgba(11,30,51,.5); }
@media (min-width: 1000px) { .vehicle { grid-template-columns: .8fr 1.2fr; align-items: center; } }
.vehicle h3 { font: 700 clamp(1.7rem, 3vw, 2.3rem)/1.08 var(--font); letter-spacing: -.035em; }
.vehicle__intro p:last-child { color: var(--muted-light); margin-top: 12px; }
.vehicle__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .vehicle__list { grid-template-columns: 1fr 1fr; } }
.vehicle__list li { padding: 18px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); display: grid; gap: 4px; }
.vehicle__list span { color: var(--gold); font-weight: 700; font-size: .82rem; letter-spacing: .06em; }
.vehicle__list b { font-size: 1.05rem; }
.vehicle__list small { color: var(--muted-light); font-size: .88rem; line-height: 1.45; }
.rule li b { color: var(--text); }

/* ---------- Parcours d'étapes ---------- */
.journey { --p: 0; position: relative; }
.journey__hint { font-size: .86rem; color: var(--muted); margin-bottom: 26px; }
.journey__hint .m { display: none; }
@media (max-width: 899px) { .journey__hint .d { display: none; } .journey__hint .m { display: inline; } }
.journey__rail { position: absolute; left: calc(10% ); right: calc(10%); top: 74px; height: 2px; background: #D1D5DB; }
.journey__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--red), var(--gold)); transform: scaleX(var(--p)); transform-origin: left; transition: transform .15s linear; }
.journey__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.journey__steps li { position: relative; display: grid; justify-items: center; text-align: center; gap: 6px; padding: 0 6px; }
.journey__steps button { display: grid; justify-items: center; gap: 18px; border: 0; background: none; padding: 0; color: inherit; }
.journey__steps .n { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); border: 1px solid #D1D5DB; font-size: .8rem; font-weight: 700; color: var(--muted); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.journey__steps .t { font: 700 clamp(1.05rem, 1.5vw, 1.3rem)/1.2 var(--font); letter-spacing: -.025em; transition: color .3s; }
.journey__steps svg { width: 150px; max-width: 100%; height: 94px; margin: 10px 0 6px; fill: none; stroke: #9aa6b3; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.journey__steps svg .draw { stroke-dasharray: 260; stroke-dashoffset: 0; opacity: .5; }
.journey__steps p { color: var(--muted); font-size: .92rem; max-width: 26ch; }
.journey__steps li[data-done="true"] .n { background: var(--navy); border-color: var(--navy); color: #fff; }
.journey__steps li[data-active="true"] .n { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.12); box-shadow: 0 0 0 8px rgba(238,43,43,.14); }
.journey__steps li[data-active="true"] .t { color: var(--red); }
.journey__steps li[data-active="true"] svg { stroke: var(--navy); }
.journey__steps li[data-active="true"] svg .draw { stroke: var(--red); opacity: 1; animation: draw .8s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 260; } }
@media (max-width: 899px) {
  .journey__rail { left: 19px; right: auto; top: 60px; bottom: 30px; width: 2px; height: auto; }
  .journey__fill { transform: scaleY(var(--p)); transform-origin: top; }
  .journey__steps { grid-template-columns: 1fr; gap: 26px; }
  .journey__steps li { justify-items: start; text-align: left; padding: 0 0 0 58px; }
  .journey__steps button { position: static; grid-auto-flow: column; align-items: center; gap: 14px; }
  .journey__steps .n { position: absolute; left: 0; top: 0; }
  .journey__steps svg { width: 120px; height: 75px; margin: 0; }
}

/* ---------- Trajet animé ---------- */
.route { background: var(--navy); color: #fff; border-radius: var(--frame); border: 5px solid #fff; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(11,30,51,.5); }
.mono { font: 500 .74rem/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .08em; color: rgba(255,255,255,.62); }
.route__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--navy-line); }
.route__tabs { display: inline-flex; padding: 4px; gap: 4px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid var(--navy-line); }
.route__tabs button { height: 36px; padding: 0 18px; border: 0; border-radius: 7px; background: transparent; color: rgba(255,255,255,.72); font-size: .9rem; font-weight: 500; }
.route__tabs button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.route__pause { height: 38px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--navy-line); background: transparent; color: #fff; font-size: .86rem; }
.route__pause:hover { border-color: rgba(255,255,255,.5); }
.route__stage { overflow-x: auto; scrollbar-width: none; }
.route__stage::-webkit-scrollbar { display: none; }
.route__svg { display: block; width: 100%; min-width: 760px; height: auto; }
.seg-base { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 3; stroke-dasharray: 2 8; stroke-linecap: round; }
.flow { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 10 14; opacity: 0; transition: opacity .5s; animation: flow 1.4s linear infinite; }
.flow.is-on { opacity: 1; }
.flow--land { stroke: #fff; }
.flow--sea { stroke: url(#sea); stroke-width: 4; }
.flow--road { stroke: var(--gold); }
@keyframes flow { to { stroke-dashoffset: -48; } }
.route[data-playing="false"] .flow { animation-play-state: paused; }
.node rect, .node circle { fill: var(--navy-2); stroke: rgba(255,255,255,.28); stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.node .ico { fill: none; stroke: rgba(255,255,255,.75); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; transition: stroke .4s; }
.node text { fill: #fff; font: 700 15px var(--font); letter-spacing: .14em; }
.node text.sub { fill: rgba(255,255,255,.55); font: 400 13px var(--font); letter-spacing: 0; }
.node.is-done rect, .node.is-done circle { stroke: rgba(78,168,255,.7); }
.node.is-active rect, .node.is-active circle { fill: var(--red); stroke: #fff; }
.node.is-active .ico { stroke: #fff; }
.node.is-active::after { content: none; }
.lbl-sea { fill: #7CC4FF; font: 700 13px var(--font); letter-spacing: .3em; }
.lbl-sm { fill: rgba(255,255,255,.55); font: 400 13px var(--font); }
.road-lbl { letter-spacing: .25em; fill: var(--gold); font-weight: 700; font-size: 11px; }
.route:not([data-dest="bamako"]) .node--end, .route:not([data-dest="bamako"]) .seg-base.road, .route:not([data-dest="bamako"]) .road-lbl { opacity: .18; transition: opacity .5s; }
.route:not([data-dest="bamako"]) .flow--road { display: none; }
.ship { filter: drop-shadow(0 4px 8px rgba(0,0,0,.4)); }
.route__steps { list-style: none; margin: 0; padding: 0 20px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--navy-line); }
.route__steps li { position: relative; }
.route__steps li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; }
.route__steps li[data-done="true"]::before { transform: scaleX(1); background: rgba(78,168,255,.7); }
.route__steps li[data-active="true"]::before { animation: fillBar 3.2s linear both; }
.route[data-playing="false"] .route__steps li[data-active="true"]::before { animation: none; transform: scaleX(1); }
@keyframes fillBar { to { transform: scaleX(1); } }
.route__steps button { width: 100%; text-align: left; border: 0; background: none; color: rgba(255,255,255,.6); padding: 16px 8px 16px 0; font-size: .9rem; font-weight: 500; display: flex; gap: 10px; align-items: center; }
.route__steps button span { width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1px solid var(--navy-line); display: grid; place-items: center; font-size: .72rem; }
.route__steps li[data-active="true"] button { color: #fff; }
.route__steps li[data-active="true"] button span { background: var(--red); border-color: var(--red); }
.route__foot { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; padding: 18px 20px 22px; border-top: 1px solid var(--navy-line); background: rgba(255,255,255,.02); }
.route__foot p { max-width: 70ch; color: rgba(255,255,255,.88); }
@media (max-width: 719px) {
  .route__steps { grid-template-columns: 1fr; padding: 0; }
  .route__steps button { padding: 12px 20px; }
  .route__steps li::before { top: auto; bottom: 0; }
}

/* ---------- Intro (première visite de la session) ---------- */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--navy); color: #fff; pointer-events: none; animation: introOut .5s var(--ease) .75s both; }
.intro__mark { display: flex; align-items: center; gap: 16px; }
.intro__mark img { width: 72px; height: auto; animation: introLogo .6s var(--ease) both; }
.intro__mark .brand__rule { height: 46px; transform-origin: top; animation: introRule .4s var(--ease) .2s both; }
.intro__mark .brand__name { font-size: 1.7rem; animation: introText .5s var(--ease) .25s both; }
.intro__mark .brand__name b { font-size: 2rem; }
.intro.is-skip { display: none; }
@keyframes introLogo { from { opacity: 0; transform: rotate(-90deg) scale(.6); } }
@keyframes introRule { from { transform: scaleY(0); } }
@keyframes introText { from { opacity: 0; transform: translateX(-14px); clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes introOut { to { transform: translateY(-100%); visibility: hidden; } }

/* ---------- Barre de progression de lecture ---------- */
.progress { position: fixed; left: 0; top: 0; z-index: 60; height: 3px; width: 100%; background: linear-gradient(90deg, var(--red), var(--gold)); transform: scaleX(var(--s, 0)); transform-origin: left; }

/* ---------- Titres révélés mot à mot ---------- */
.title .w, .cta__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.title .w > span, .cta__title .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 45ms + 120ms); }
.is-in .title .w > span, .title.is-in .w > span, .is-in .cta__title .w > span, .cta__title.is-in .w > span { transform: none; }

/* ---------- Photos dévoilées ---------- */
.trust__photo img, .parcel__photo img { clip-path: inset(100% 0 0 0); transform: scale(1.12); transition: clip-path 1.2s var(--ease), transform 1.6s var(--ease); }
.is-in.trust__photo img, .is-in.parcel__photo img { clip-path: inset(0 0 0 0); transform: none; }

/* ---------- Reflet sur les boutons rouges ---------- */
.btn--red { position: relative; overflow: hidden; isolation: isolate; }
.btn--red::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn--red:hover::after { transform: translateX(120%); }

/* ---------- Inclinaison 3D des cartes ---------- */
.card { transform-style: preserve-3d; will-change: transform; }
.card.is-tilt { transition: transform .12s linear, box-shadow .35s; }

/* ---------- Halo qui suit le pointeur ---------- */
.vehicle, .aud--navy, .route { position: relative; }
.glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(224,168,74,.18), transparent 60%); }
.glow:hover::after { opacity: 1; }

/* ---------- Lien d'évitement ---------- */
.skip { position: fixed; left: 16px; top: -60px; z-index: 120; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 16px; }

/* ---------- Menu Services ---------- */
.navdrop { position: relative; }
.navdrop > button { font-size: .97rem; font-weight: 500; opacity: .82; padding: 8px 0; cursor: pointer; }
.navdrop > button span { font-size: .7em; margin-left: 4px; }
.navdrop__panel { position: absolute; top: calc(100% + 14px); left: -24px; width: 360px; padding: 10px; border-radius: 16px; background: #fff; color: var(--text); box-shadow: 0 30px 60px -20px rgba(11,30,51,.35), 0 0 0 1px rgba(11,30,51,.06); display: grid; gap: 2px; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
.navdrop__panel::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.navdrop.is-open .navdrop__panel { opacity: 1; transform: none; pointer-events: auto; }
.navdrop__panel a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; transition: background .15s; }
.navdrop__panel a:hover { background: var(--soft); }
.navdrop__panel b { font-weight: 700; font-size: .95rem; }
.navdrop__panel small { color: var(--muted); font-size: .82rem; }

/* ---------- En-tête des pages intérieures ---------- */
.phero { min-height: clamp(460px, 68svh, 640px); display: flex; align-items: flex-end; color: #fff; background: var(--navy); }
.phero--plain { min-height: 420px; background: radial-gradient(70% 120% at 100% 0%, rgba(224,168,74,.25), transparent 60%), radial-gradient(60% 90% at 0% 100%, rgba(238,43,43,.18), transparent 60%), var(--navy); }
.phero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: kenburns 16s var(--ease) both; }
.phero .hero__shade { background: linear-gradient(90deg, rgba(8,21,37,.92) 0%, rgba(8,21,37,.72) 45%, rgba(8,21,37,.35) 100%), linear-gradient(180deg, rgba(8,21,37,.5), transparent 30%); }
.phero--plain .hero__shade { display: none; }
.phero__content { padding: 140px clamp(20px, 5vw, 64px) clamp(36px, 5vw, 64px); max-width: 900px; }
.phero__content > * { animation: up .9s var(--ease) both; }
.phero__content > :nth-child(2) { animation-delay: .08s; }
.phero__content > :nth-child(3) { animation-delay: .16s; }
.phero__content > :nth-child(4) { animation-delay: .24s; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }
.phero__title { font: 700 clamp(2.3rem, 5vw, 4.2rem)/1.02 var(--font); letter-spacing: -.045em; }
.phero__title em { font-style: normal; color: var(--red); }
.phero .hero__lead { max-width: 60ch; }

/* ---------- Blocs d'avantages ---------- */
.feats { display: grid; gap: 14px; }
@media (min-width: 640px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .feats { grid-template-columns: repeat(4, 1fr); } .feats--5 { grid-template-columns: repeat(5, 1fr); } }
.feat { background: #fff; border-radius: var(--r); padding: 26px; display: grid; gap: 10px; align-content: start; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.section--tint .feat { border-color: transparent; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat span { color: var(--red); font-weight: 700; font-size: .85rem; letter-spacing: .04em; }
.feat h3 { font: 700 1.2rem/1.2 var(--font); letter-spacing: -.02em; margin-top: 18px; }
.feat p { color: var(--muted); font-size: .95rem; }

/* ---------- Texte courant ---------- */
.split-about { display: grid; gap: 30px; }
@media (min-width: 1000px) { .split-about { grid-template-columns: .8fr 1.2fr; gap: 80px; } }
.prose { font-size: 1.04rem; color: #2C3A48; max-width: 72ch; }
.prose p + p { margin-top: 16px; }
.prose h2 { font: 700 1.35rem/1.25 var(--font); letter-spacing: -.02em; color: var(--text); margin: 38px 0 12px; scroll-margin-top: 110px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 20px; margin: 10px 0; display: grid; gap: 6px; }
.prose a { color: var(--red-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pages légales ---------- */
.legal { display: grid; gap: 34px; align-items: start; }
@media (min-width: 1000px) { .legal { grid-template-columns: 260px 1fr; gap: 64px; } .legal--single { grid-template-columns: minmax(0, 800px); } }
.legal__toc { display: grid; gap: 4px; padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); font-size: .9rem; }
@media (min-width: 1000px) { .legal__toc { position: sticky; top: 100px; } }
.legal__toc b { font-size: .74rem; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); margin-bottom: 6px; }
.legal__toc a { padding: 6px 8px; border-radius: 8px; color: #34414f; }
.legal__toc a:hover { background: var(--soft); color: var(--text); }
.legal__note { background: #fff; border-left: 3px solid var(--red); border-radius: 10px; padding: 16px 18px; }
.legal__dl { display: grid; grid-template-columns: minmax(140px, max-content) 1fr; gap: 10px 24px; margin: 0; }
.legal__dl dt { color: var(--muted); }
.legal__dl dd { margin: 0; font-weight: 500; }
.legal__contact { margin-top: 30px !important; }
.todo { display: inline-block; background: #FFF4D6; color: #8A5A00; border: 1px dashed #E0B04A; border-radius: 6px; padding: 0 6px; font-size: .9em; font-weight: 500; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 22px; align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.contacts { display: grid; gap: 12px; }
@media (min-width: 640px) { .contacts { grid-template-columns: 1fr 1fr; } }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 6px; align-content: start; }
.contact-card__k { font-size: .74rem; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); }
.contact-card b { font-size: 1.15rem; letter-spacing: -.01em; }
.contact-card p { color: var(--muted); font-size: .92rem; }
.contact-card .btn { margin-top: 10px; justify-self: start; }
.contact-card--wa { background: var(--navy); color: #fff; border-color: var(--navy); grid-column: 1 / -1; }
.contact-card--wa p, .contact-card--wa .contact-card__k { color: var(--muted-light); }

/* ---------- Consentement ---------- */
.consent { display: block; position: relative; padding-left: 27px; font-size: .88rem; line-height: 1.45; cursor: pointer; margin-top: 16px; color: var(--muted); }
.consent input { position: absolute; left: 0; top: 1px; margin: 0; width: 17px; height: 17px; accent-color: var(--red); }
.consent a, .check a { text-decoration: underline; text-underline-offset: 2px; }
.consent--dark { color: var(--muted-light); }
.consent--dark a { color: #fff; }
.consent.is-invalid { color: var(--red); font-weight: 700; }
.footer__contact { margin-top: 12px; color: var(--text); font-weight: 500; }

/* ---------- Performance ---------- */
/* Les sections hors écran ne sont calculées qu'à l'approche. */
main > .section, main > .cta { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* Animations en pause quand elles ne sont pas visibles. */
.route.is-off .flow, .ticker.is-off .ticker__track { animation-play-state: paused; }
picture { display: contents; }
/* Sur mobile : pas de flou d'arrière-plan (coûteux pendant le défilement). */
@media (max-width: 900px), (pointer: coarse) {
  .nav.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .modal::backdrop { backdrop-filter: none; }
}

/* ---------- Barre de soumission (quand la carte n'est pas visible) ---------- */
.submitbar { position: fixed; left: 50%; bottom: 16px; z-index: 45; width: min(560px, calc(100% - 24px)); transform: translate(-50%, 140%); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 14px; background: var(--navy); color: #fff; box-shadow: 0 20px 40px -12px rgba(11,30,51,.55); transition: transform .35s var(--ease); }
.submitbar.is-on { transform: translate(-50%, 0); }
.submitbar span { font-size: .9rem; color: rgba(255,255,255,.85); }
.submitbar b { color: #fff; }
.submitbar.is-on ~ .fab, body:has(.submitbar.is-on) .fab { opacity: 0; pointer-events: none; }

/* ---------- Confirmation d'envoi ---------- */
.sent { text-align: left; }
.sent__ic { width: 56px; height: 56px; border-radius: 50%; background: rgba(23,166,90,.12); color: #128048; display: grid; place-items: center; margin-bottom: 16px; animation: pop .4s var(--ease); }
.sent__ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sent__lead { color: var(--muted); margin-top: 6px; }
.sent__ref { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 20px 0 6px; padding: 14px 16px; border-radius: 12px; background: var(--soft); border: 1px dashed var(--line); }
.sent__ref span { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.sent__ref b { font: 700 1.3rem/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .04em; }
.sent__steps { margin: 16px 0 0; padding-left: 20px; display: grid; gap: 8px; color: #34414f; font-size: .95rem; }

/* ---------- Demande de prix dans la fiche conteneur ---------- */
.priceform { display: grid; gap: 10px; margin-top: 16px; padding: 16px; border-radius: 12px; border: 1px solid var(--line); }
.priceform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .priceform__row { grid-template-columns: 1fr; } }
.priceform input:not([type="checkbox"]) { width: 100%; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); font: 400 .95rem var(--font); outline: none; }
.priceform input:not([type="checkbox"]):focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(238,43,43,.14); }
.priceform .consent { margin-top: 0; font-size: .82rem; }
.priceform .btn { justify-self: start; }
.wa-alt { font-size: .86rem; color: var(--muted); }
.wa-alt button { border: 0; background: none; padding: 0; color: #128048; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Page de suivi ---------- */
.trackpage { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1000px) { .trackpage { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; } }
.trackcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; box-shadow: var(--shadow); }
.trackcard h2 { font: 700 1.45rem/1.15 var(--font); letter-spacing: -.025em; }
.trackcard p { color: var(--muted); font-size: .95rem; }
.trackcard .grid2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
@media (max-width: 480px) { .trackcard .grid2 { grid-template-columns: 1fr; } }
.trackcard input { width: 100%; height: 50px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); font: 500 1rem var(--font); outline: none; text-transform: uppercase; letter-spacing: .04em; }
.trackcard input[name=tel] { text-transform: none; letter-spacing: .3em; }
.trackcard input:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(238,43,43,.14); }
.trackcard .hint { font-size: .84rem; }
.trackerr { color: var(--red-ink); font-weight: 700; font-size: .92rem; min-height: 1.2em; }
.trackres { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 32px); min-height: 280px; }
.trackres__empty { height: 100%; min-height: 230px; display: grid; place-items: center; text-align: center; color: var(--muted); }
.trackres__empty svg { width: 54px; height: 54px; margin: 0 auto 12px; fill: none; stroke: var(--line); stroke-width: 1.4; }
.trackhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.trackhead small { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.trackhead h3 { font: 700 1.4rem/1.2 var(--font); letter-spacing: -.02em; margin-top: 4px; }
.trackhead .ref { font: 700 .95rem ui-monospace, "SF Mono", Menlo, monospace; color: var(--muted); }
.tl { list-style: none; margin: 0; padding: 0; display: grid; }
.tl li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding-bottom: 20px; }
.tl li::before { content: ""; position: absolute; left: 13px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.tl li:last-child::before { display: none; }
.tl li.is-done::before { background: #17A65A; }
.tl i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; font-style: normal; font-size: .75rem; color: #fff; }
.tl li.is-done i { background: #17A65A; border-color: #17A65A; }
.tl li.is-now i { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 6px rgba(238,43,43,.14); }
.tl li.is-alert i { background: var(--gold); border-color: var(--gold); }
.tl b { display: block; font-weight: 700; }
.tl li.is-todo b { color: var(--muted); font-weight: 500; }
.tl small { color: var(--muted); font-size: .84rem; }
.trackdetails { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.trackdetails div { background: var(--soft); border-radius: 10px; padding: 10px 12px; }
.trackdetails span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.trackdetails b { font-size: .95rem; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--navy); color: #fff; padding: 13px 20px; border-radius: 12px; font-size: .92rem; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); z-index: 60; max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.intro-on { --intro: .9s; }
.hero__content > * { animation: up .9s var(--ease) both; animation-delay: var(--intro, 0s); }
.hero__content > :nth-child(2) { animation: none; }
.hero__content > :nth-child(3) { animation-delay: calc(var(--intro, 0s) + .16s); }
.hero__content > :nth-child(4) { animation-delay: calc(var(--intro, 0s) + .24s); }
.hero__stats { animation: up .9s var(--ease) both; animation-delay: calc(var(--intro, 0s) + .32s); }
@keyframes up { from { opacity: 0; transform: translateY(20px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .intro { display: none; }
  .title .w > span, .cta__title .w > span { transform: none; }
  .trust__photo img, .parcel__photo img { clip-path: none; transform: none; }
  .ticker__track { width: auto; flex-wrap: wrap; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Nav : thème, payer ---------- */
.navico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.02); color: inherit; cursor: pointer; transition: border-color .2s, background .2s; }
.navico:hover { border-color: currentColor; }
.navico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.navico__sun, .is-dark .navico__moon { display: none; }
.is-dark .navico__sun { display: block; }
.nav.is-scrolled .navico { border-color: var(--line); }
.nav__actions { align-items: center; gap: 10px; }
.nav__actions .t-short { display: none; }
@media (max-width: 1499px) {
  .nav__links { gap: 30px; margin-left: 36px; }
  .nav__actions .t-long { display: none; }
  .nav__actions .t-short { display: inline; }
}
@media (max-width: 1299px) { .nav__links { gap: 24px; margin-left: 24px; } .nav__inner { gap: 16px; } }
.nav__mobilebar { display: flex; gap: 10px; padding-top: 14px; }
.nav__mobilebar .navico { width: auto; padding: 0 16px; gap: 8px; grid-auto-flow: column; border-color: var(--line); font-weight: 500; }

/* ---------- Page Payer ---------- */
.paysafe { list-style: none; padding: 16px 0 0; margin: 4px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .86rem; color: var(--muted); }
.paysafe li { position: relative; padding-left: 22px; }
.paysafe li::before { content: ""; position: absolute; left: 0; top: .35em; width: 12px; height: 12px; border-radius: 50%; background: rgba(23,166,90,.14); box-shadow: inset 0 0 0 3px #17A65A; }
.payhello { color: var(--muted); margin: 6px 0 14px; }
.paysum { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.paysum div { background: var(--tint); border-radius: 12px; padding: 14px 16px; display: grid; gap: 4px; }
.paysum span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.paysum b { font: 700 1.25rem/1.1 var(--font); letter-spacing: -.02em; }
.paysum .is-due { background: var(--navy); color: #fff; }
.paysum .is-due span { color: rgba(255,255,255,.7); }
.paychoose { font: 700 1.02rem/1.2 var(--font); margin: 24px 0 10px; }
.paytabs { display: flex; flex-wrap: wrap; gap: 8px; }
.paytabs button { border: 1px solid var(--line); background: transparent; color: inherit; border-radius: 999px; padding: 9px 16px; font: 500 .92rem var(--font); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.paytabs button small { font-size: .7rem; color: var(--muted); margin-left: 4px; }
.paytabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.paytabs button[aria-selected="true"] small { color: rgba(255,255,255,.7); }
.paypanel { display: grid; gap: 12px; margin-top: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; }
.paypanel[hidden] { display: none; }
.paypanel > p { color: var(--muted); font-size: .95rem; }
.paypanel .btn { justify-self: start; }
.paypanel .consent { margin-top: 0; }
.payrow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.payrow span { color: var(--muted); }
.payrow b { font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.payrow.is-pending b { color: var(--gold); }
.paycopy { border: 1px solid var(--line); background: transparent; color: inherit; border-radius: 8px; padding: 4px 10px; font: 500 .78rem var(--font); cursor: pointer; }
.paycopy:hover { border-color: currentColor; }
.paynote { margin: 12px 0; padding: 12px 14px; border-radius: 12px; background: var(--tint); font-size: .93rem; color: var(--text); }
.paynote.is-ok { background: rgba(23,166,90,.1); color: #0E6B3A; }
.paynote.is-warn { background: rgba(224,168,74,.16); color: #7A4F00; }
/* Cases de carte Clover (iFrame) : chaque case est une petite fenêtre Clover, stylée ici par son cadre. */
.cvcard { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cvf { display: grid; gap: 5px; min-width: 0; }
.cvf > span { font-size: .78rem; font-weight: 600; color: var(--muted); }
.cvcard .cv--num { grid-column: 1 / -1; }
.cvbox { height: 50px; border-radius: 10px; overflow: hidden; }
.cvbox.is-bad { box-shadow: 0 0 0 2px var(--red); }
.cvbox iframe { width: 100% !important; height: 50px !important; border: 0; }
.cverr { min-height: 1.2em; font-size: .85rem; color: var(--red); }
.cvsafe { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: var(--muted); }
.cvsafe svg { flex: none; }
.cvalt { justify-self: start; border: 0; background: none; padding: 0; color: var(--muted); font: 500 .85rem var(--font); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.cvtest { font-size: .8rem; color: #7A4F00; background: rgba(224,168,74,.16); border-radius: 8px; padding: 6px 10px; justify-self: start; }
@media (max-width: 520px) { .cvcard { grid-template-columns: 1fr 1fr; } .cvcard .cv--postal { grid-column: 1 / -1; } }
.payhist { margin-top: 22px; }
.payhist h4 { font: 700 .95rem var(--font); margin-bottom: 4px; }

/* ---------- Sélecteur de langue FR | EN (nav desktop + menu mobile) ---------- */
.langsw { height: 40px; flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 0 13px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; font: 600 .8rem/1 var(--font); letter-spacing: .06em; }
.langsw a { opacity: .66; padding: 6px 0; transition: opacity .2s; }
.langsw a:hover, .langsw a:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.langsw__on { opacity: 1; }
.langsw__sep { opacity: .35; font-weight: 400; }
.nav.is-scrolled .langsw { border-color: var(--line); }
.nav__mobilebar { flex-wrap: wrap; align-items: center; }
.nav__mobilebar .langsw { border-color: var(--line); }
.nav__mobile .langsw a { padding: 6px 2px; border: 0; font-weight: 600; }
.is-dark .nav__mobilebar .langsw { border-color: var(--line-2, var(--line)); }
/* Desktop étroit : seule l'autre langue est affichée (bouton rond comme le thème), espacements resserrés. */
@media (max-width: 1399px) {
  .nav__actions .langsw { width: 40px; padding: 0; justify-content: center; }
  .nav__actions .langsw__on, .nav__actions .langsw__sep { display: none; }
  .nav__actions .langsw a { opacity: 1; }
}
@media (max-width: 1299px) {
  .nav__links { gap: 18px; margin-left: 18px; }
  .nav__actions .btn--sm > svg { display: none; }
}
@media (max-width: 1239px) {
  .nav__links { gap: 15px; margin-left: 14px; }
  .nav__actions { gap: 7px; }
}

/* ---------- Espace client ---------- */
.btn--dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--dark:hover { background: #13304F; }
.btn--danger { background: transparent; border-color: var(--red); color: var(--red-ink); }
.btn--danger:hover { background: var(--red); color: #fff; }
.acct[data-state="chargement"] [data-view] { visibility: hidden; }
.acct__auth { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1000px) { .acct__auth { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; } .acct__auth #signupForm { grid-row: 1 / 3; grid-column: 2; } }
.acct .trackcard input:not([type=checkbox]), .acct .trackcard select { text-transform: none; letter-spacing: 0; }
.acct .trackcard select { width: 100%; height: 50px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); font: 500 1rem var(--font); background: transparent; color: inherit; }
.acct .trackcard .field span { display: block; font-size: .84rem; font-weight: 500; margin-bottom: 6px; }
.acct .trackcard h3 { font: 700 1.2rem/1.2 var(--font); letter-spacing: -.02em; }
.acct__linkbtn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.trackerr.is-ok { color: #0E6B3A; }
.acct__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.acct__tabs { margin-bottom: 22px; }
.acct__panel[hidden] { display: none; }
.acct__add { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; margin-bottom: 22px; max-width: 620px; }
.acct__add .field span { display: block; font-size: .84rem; font-weight: 500; margin-bottom: 6px; color: var(--muted); }
.acct__add input { width: 100%; height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); font: 500 1rem var(--font); background: transparent; color: inherit; text-transform: uppercase; }
.acct__add .btn { height: 48px; }
.acct__add .trackerr { grid-column: 1 / -1; margin: 0; }
.acct__list { display: grid; gap: 16px; }
.acct__file { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(18px, 2.4vw, 26px); display: grid; gap: 14px; background: var(--bg); }
.acct__filehead { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.acct__filehead h3 { font: 700 1.2rem/1.2 var(--font); letter-spacing: -.02em; margin-top: 4px; }
.acct__status { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 500; font-size: .93rem; }
.acct__status i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(238,43,43,.14); }
.acct__status.is-alert i { background: var(--gold); box-shadow: 0 0 0 4px rgba(224,168,74,.2); }
.acct__badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--tint); font-size: .82rem; font-weight: 600; }
.acct__badge.is-ok { background: rgba(23,166,90,.12); color: #0E6B3A; }
.paysum--sm b { font-size: 1.05rem; }
.acct__track summary { cursor: pointer; font-weight: 600; font-size: .93rem; color: var(--red-ink); list-style: none; }
.acct__track summary::-webkit-details-marker { display: none; }
.acct__track summary::after { content: " ↓"; }
.acct__track[open] summary::after { content: " ↑"; }
.acct__track .tl { margin-top: 16px; }
.acct__cols { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .acct__cols { grid-template-columns: 1fr 1fr; } }
.acct__code { width: 110px; height: 36px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); font: 600 1rem var(--font); letter-spacing: .2em; background: transparent; color: inherit; }
.payrow .paycopy { text-decoration: none; white-space: nowrap; }

/* ---------- Boutons sans flèche (demande du propriétaire) ---------- */
.arr { display: none !important; }
/* Case à cocher + texte avec liens : le texte s'écoule normalement (pas de colonnes). */
.check { display: block; position: relative; padding-left: 27px; }
.check input { position: absolute; left: 0; top: 1px; margin: 0; }

/* ---------- Page Payer : choix du dossier ---------- */
.paycol { display: grid; gap: 16px; align-content: start; }
.paysafe--card { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin: 0; }
.paypick { display: grid; gap: 8px; }
.paypick__item { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; text-align: left; border: 1px solid var(--line); background: transparent; color: inherit; border-radius: 12px; padding: 12px 14px; cursor: pointer; font: inherit; transition: border-color .2s, box-shadow .2s; }
.paypick__item span { display: grid; gap: 2px; }
.paypick__item span:last-child { text-align: right; }
.paypick__item small { color: var(--muted); font-size: .8rem; }
.paypick__item b { font-weight: 700; letter-spacing: .02em; }
.paypick__item:hover { border-color: var(--text); }
.paypick__item[aria-pressed="true"] { border-color: var(--red); box-shadow: 0 0 0 3px rgba(238,43,43,.14); }

/* ==========================================================
   Frise de suivi : composant (window.AS_FRISE dans app.js), page /suivi,
   confirmation d'envoi (#sentModal) et cartes de l'espace client
   ========================================================== */
.frise { --dot: 34px; --gap: 6px; --sd: 360ms; --fbg: #fff; container-type: inline-size; }
.frise__steps { list-style: none; margin: 0 auto; padding: 4px 0 0; width: min(100%, var(--n) * 170px); display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: var(--gap); }
.frise__steps > li { position: relative; display: grid; justify-items: center; align-content: start; gap: 9px; text-align: center; min-width: 0; }
/* Segment entre un cercle et le suivant ; son remplissage part du rouge et tend vers l'or à l'étape courante */
.frise__seg { position: absolute; top: calc(var(--dot) / 2 - 1px); left: 50%; width: calc(100% + var(--gap)); height: 2px; border-radius: 2px; background: #DCE0E5; overflow: hidden; }
.frise__seg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in oklab, var(--gold) var(--t0), var(--red)), color-mix(in oklab, var(--gold) var(--t1), var(--red))); transform: scaleX(0); transform-origin: left; transition: transform var(--sd) linear calc(var(--i) * var(--sd)); }
.frise.is-on .frise__seg.is-fill::after { transform: none; }
.frise__dot { position: relative; z-index: 1; width: var(--dot); height: var(--dot); border-radius: 50%; display: grid; place-items: center; background: var(--fbg); border: 1.5px solid #CDD3DA; color: var(--muted); font: 700 .72rem/1 var(--font); letter-spacing: .02em; transition: background .3s, border-color .3s, color .3s, box-shadow .4s, transform .5s var(--ease); transition-delay: calc(var(--i) * var(--sd)); }
.frise__dot svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; }
.frise.is-on .is-done .frise__dot { background: var(--navy); border-color: var(--navy); color: #fff; }
.frise.is-on .is-done .frise__dot svg { animation: friseStroke .4s var(--ease) forwards; animation-delay: calc(var(--i) * var(--sd) + .12s); }
.frise.is-on .is-now .frise__dot { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.14); box-shadow: 0 0 0 6px rgba(238, 43, 43, .15); }
.frise.is-on .is-alert .frise__dot { background: var(--gold); border-color: var(--gold); color: var(--navy); font-size: 1rem; transform: scale(1.14); box-shadow: 0 0 0 6px rgba(224, 168, 74, .24); }
.frise__dot::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--red); opacity: 0; pointer-events: none; }
.frise.is-on :is(.is-now, .is-alert) .frise__dot::after { animation: friseHalo 2.4s var(--ease) infinite; animation-delay: calc(var(--i) * var(--sd) + .5s); }
.frise .is-alert .frise__dot::after { border-color: var(--gold); }
@keyframes friseHalo { 0% { opacity: .65; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.95); } }
@keyframes friseStroke { to { stroke-dashoffset: 0; } }
.frise__lbl { font: 500 .8rem/1.25 var(--font); color: var(--muted); max-width: 13ch; overflow-wrap: break-word; hyphens: auto; transition: color .3s calc(var(--i) * var(--sd)); }
.frise__lbl .f, .frise__note { display: none; }
.frise.is-on .is-done .frise__lbl { color: var(--text); }
.frise.is-on .is-now .frise__lbl { color: var(--red-ink); font-weight: 700; }
.frise.is-on .is-alert .frise__lbl { color: #8A5A00; font-weight: 700; }
.frise__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Icône au trait de l'étape courante, dessinée à l'apparition */
.frise__ic { width: 48px; height: 34px; fill: none; stroke: var(--red); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.frise__ic path { stroke-dasharray: 100; stroke-dashoffset: 100; }
.frise.is-on .frise__ic path { animation: friseStroke 1s var(--ease) forwards; animation-delay: calc(var(--i) * var(--sd) + .3s); }
.frise .is-alert .frise__ic { stroke: #B07A1A; }
.frise .is-done .frise__ic { stroke: var(--navy); }
.frise--many { --dot: 30px; --gap: 4px; }
.frise--many .frise__lbl { font-size: .74rem; }
/* Encart de l'étape actuelle */
.frise__now { display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; padding: 14px 16px; border-radius: 12px; background: rgba(238, 43, 43, .05); border: 1px solid rgba(238, 43, 43, .16); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease) .35s, transform .5s var(--ease) .35s; }
.frise.is-on .frise__now { opacity: 1; transform: none; }
.frise__now > svg { width: 26px; height: 26px; flex: none; margin-top: 2px; fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.frise__now small { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--red-ink); }
.frise__now b { display: block; font-size: 1.02rem; line-height: 1.3; margin-top: 2px; }
.frise__now p { color: var(--muted); font-size: .9rem; margin-top: 2px; }
.frise__now.is-alert { background: rgba(224, 168, 74, .12); border-color: rgba(224, 168, 74, .4); }
.frise__now.is-alert > svg { stroke: #B07A1A; }
.frise__now.is-alert small { color: #8A5A00; }
.frise__now.is-done { background: rgba(23, 166, 90, .07); border-color: rgba(23, 166, 90, .25); }
.frise__now.is-done > svg { stroke: #128048; }
.frise__now.is-done small { color: #0E6B3A; }
/* Version verticale compacte : conteneur étroit (mobile), ou nombreuses étapes */
@container (max-width: 520px) {
  .frise__steps { width: 100%; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .frise__steps > li { grid-template-columns: var(--dot) minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 14px; row-gap: 0; padding-bottom: 14px; }
  .frise__steps > li:last-child { padding-bottom: 0; }
  .frise__dot { grid-row: 1 / span 2; }
  .frise__lbl { max-width: none; min-height: var(--dot); display: flex; align-items: center; font-size: .93rem; line-height: 1.3; }
  .frise__lbl .s { display: none; }
  .frise__lbl .f { display: inline; }
  .frise__note { display: block; grid-column: 2; color: var(--muted); font-size: .84rem; line-height: 1.4; margin-top: -4px; }
  .frise__ic { display: none; }
  .frise__seg { top: calc(var(--dot) + 3px); left: calc(var(--dot) / 2 - 1px); width: 2px; height: calc(100% - var(--dot) - 6px); }
  .frise__seg::after { background: linear-gradient(180deg, color-mix(in oklab, var(--gold) var(--t0), var(--red)), color-mix(in oklab, var(--gold) var(--t1), var(--red))); transform: scaleY(0); transform-origin: top; }
}
@container (max-width: 640px) {
  .frise--many .frise__steps { width: 100%; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .frise--many .frise__steps > li { grid-template-columns: var(--dot) minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 14px; row-gap: 0; padding-bottom: 14px; }
  .frise--many .frise__steps > li:last-child { padding-bottom: 0; }
  .frise--many .frise__dot { grid-row: 1 / span 2; }
  .frise--many .frise__lbl { max-width: none; min-height: var(--dot); display: flex; align-items: center; font-size: .93rem; line-height: 1.3; }
  .frise--many .frise__lbl .s { display: none; }
  .frise--many .frise__lbl .f { display: inline; }
  .frise--many .frise__note { display: block; grid-column: 2; color: var(--muted); font-size: .84rem; line-height: 1.4; margin-top: -4px; }
  .frise--many .frise__ic { display: none; }
  .frise--many .frise__seg { top: calc(var(--dot) + 3px); left: calc(var(--dot) / 2 - 1px); width: 2px; height: calc(100% - var(--dot) - 6px); }
  .frise--many .frise__seg::after { background: linear-gradient(180deg, color-mix(in oklab, var(--gold) var(--t0), var(--red)), color-mix(in oklab, var(--gold) var(--t1), var(--red))); transform: scaleY(0); transform-origin: top; }
}
.frise.is-on .frise__seg.is-fill::after { transform: none; }
.frise:has(.frise__now) [aria-current] .frise__note { display: none; } /* déjà dans l'encart */
/* Animations réduites : tout est affiché d'emblée, sans halo */
.frise.is-still *, .frise.is-still *::after { transition: none !important; animation: none !important; }
.frise.is-still :is(.frise__dot svg, .frise__ic path) { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  .frise *, .frise *::after { transition: none !important; animation: none !important; }
  .frise :is(.frise__dot svg, .frise__ic path) { stroke-dashoffset: 0; }
}

/* ---------- Page /suivi ---------- */
.suivi { display: grid; gap: 22px; }
.suivi__form { gap: 14px; }
@media (min-width: 960px) {
  .suivi__form { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 56px; align-items: center; }
  .suivi__intro { grid-row: 1 / span 3; }
}
.suivi__intro { display: grid; gap: 8px; }
.suivi__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.suivi__bar .field span { display: block; margin-bottom: 6px; }
.suivi__bar input { height: 56px; font: 700 1.12rem/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .1em; }
.suivi__bar input::placeholder { color: #A3ADB8; font-weight: 500; }
.suivi__bar input[aria-invalid="true"] { border-color: var(--red); }
.suivi__bar .btn { --h: 56px; padding: 0 28px; }
@media (max-width: 480px) { .suivi__bar { grid-template-columns: 1fr; } .suivi__bar .btn { width: 100%; justify-content: center; } }
.suivi__form .trackerr:empty { display: none; }
.suivi__help { margin: 0; }
.suivi__res { min-height: 0; padding: clamp(20px, 3.4vw, 40px); transition: opacity .25s; }
.suivi__res.is-loading { opacity: .5; }
.suivi__empty { display: grid; justify-items: center; gap: 18px; padding: 22px 0; text-align: center; color: var(--muted); }
.suivi__ghost { display: flex; align-items: center; width: min(440px, 100%); }
.suivi__ghost i { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #CDD3DA; }
.suivi__ghost b { position: relative; flex: 1; height: 2px; background: #E4E7EB; overflow: hidden; }
.suivi__ghost b::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--red), var(--gold), transparent); transform: translateX(-100%); animation: friseGhost 3.2s var(--ease) infinite; animation-delay: calc(var(--k) * .45s); }
@keyframes friseGhost { 40%, 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .suivi__ghost b::after { animation: none; opacity: 0; } }
.suivi__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 32px; padding-bottom: 22px; margin-bottom: 28px; border-bottom: 1px solid var(--line); animation: rise .5s var(--ease) both; }
.suivi__id small { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--red-ink); }
.suivi__no { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.suivi__no b { font: 700 clamp(1.3rem, 3vw, 1.7rem)/1.1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .05em; overflow-wrap: anywhere; }
.suivi__copy, .acct__copy { flex: none; width: 34px; height: 34px; padding: 0; border-radius: 9px; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; color: var(--muted); transition: border-color .2s, color .2s; }
.suivi__copy svg, .acct__copy svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.suivi__copy:hover, .acct__copy:hover { border-color: var(--text); color: var(--text); }
.suivi__copy.is-done, .acct__copy.is-done { border-color: #17A65A; color: #128048; }
.suivi__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
@media (max-width: 640px) { .suivi__facts { width: 100%; } .suivi__facts div { flex: 1 1 130px; min-width: 0; } }
.suivi__facts div { background: var(--soft); border-radius: 10px; padding: 9px 14px; min-width: 128px; }
.suivi__facts dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.suivi__facts dd { margin: 2px 0 0; font-weight: 700; font-size: .95rem; }
.suivi__maj { margin-top: 16px; font-size: .84rem; color: var(--muted); }
.suivi__login { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; margin-top: 24px; padding: 18px 20px; border-radius: 14px; background: var(--navy); color: #fff; animation: rise .5s var(--ease) .5s both; }
.suivi__login > svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: rgba(255, 255, 255, .08); fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.suivi__login b { display: block; font-size: 1rem; }
.suivi__login p { color: rgba(255, 255, 255, .74); font-size: .88rem; margin-top: 2px; }
.suivi__login .btn { background: #fff; border-color: #fff; color: var(--navy); }
.suivi__login .btn:hover { background: var(--gold); border-color: var(--gold); }
@media (max-width: 640px) { .suivi__login { grid-template-columns: auto minmax(0, 1fr); } .suivi__login .btn { grid-column: 1 / -1; justify-content: center; } }
.suivi__legend { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .88rem; color: var(--muted); }
.suivi__legend li { display: flex; align-items: center; gap: 9px; }
.suivi__legend i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #CDD3DA; background: var(--bg); display: grid; place-items: center; font: 700 .72rem/1 var(--font); font-style: normal; }
.suivi__legend i.is-done { background: var(--navy); border-color: var(--navy); }
.suivi__legend i.is-done::after { content: ""; width: 8px; height: 4px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.suivi__legend i.is-now { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 4px rgba(238, 43, 43, .15); }
.suivi__legend i.is-alert { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ---------- Confirmation d'envoi : numéro de suivi ---------- */
.sent__no { display: grid; gap: 8px; margin: 20px 0 4px; padding: 16px 18px; border-radius: 14px; background: var(--soft); border: 1px dashed #C9D0D8; }
.sent__nolabel { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.sent__norow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 14px; }
.sent__norow b { font: 700 clamp(1.45rem, 6vw, 1.95rem)/1.1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .05em; color: var(--text); overflow-wrap: anywhere; }
.sent__copy { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-weight: 700; font-size: .88rem; transition: border-color .2s, color .2s; }
.sent__copy svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sent__copy:hover { border-color: var(--text); }
.sent__copy.is-done { border-color: #17A65A; color: #128048; }
.sent__no small { font-size: .84rem; color: var(--muted); }
.sent__acct { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); }
.sent__acct > svg { width: 22px; height: 22px; flex: none; margin-top: 1px; fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sent__acct p { font-size: .9rem; color: var(--muted); }

/* ---------- Espace client : tableau de bord et dossiers ---------- */
.acct [data-view][hidden], .acct .trackcard[hidden] { display: none; }
.acct .trackcard .consent input { width: 17px; height: 17px; padding: 0; margin: 0; }
.acct__hello { font: 700 clamp(1.7rem, 3.6vw, 2.4rem)/1.1 var(--font); letter-spacing: -.03em; margin-top: 6px; }
.acct__stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.acct__stats:empty { display: none; }
.acct__stats span { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 13px; border-radius: 999px; background: var(--soft); font-size: .86rem; color: var(--muted); }
.acct__stats b { color: var(--text); font-weight: 700; }
.acct__stats .is-due { background: rgba(238, 43, 43, .08); color: var(--red-ink); }
.acct__stats .is-due b { color: var(--red-ink); }
.acct__tabs small:empty { display: none; }
.acct__add .hint { grid-column: 1 / -1; margin: -2px 0 0; font-size: .84rem; color: var(--muted); }
.acct__add input { font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .08em; }
.acct__add .trackerr:empty { display: none; }
.acct__notice { margin: 0 0 4px; grid-column: 1 / -1; }
.acct__file { gap: 18px; box-shadow: var(--shadow); transition: box-shadow .3s; }
.acct__file.is-new { animation: friseFlash 1.6s var(--ease); }
@keyframes friseFlash { 0%, 40% { box-shadow: 0 0 0 3px rgba(238, 43, 43, .35), var(--shadow); } }
.acct__fileid { min-width: 0; }
.acct__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.acct__type { padding: 4px 10px; border-radius: 999px; background: var(--soft); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.acct__no { font: 700 .98rem/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .05em; }
.acct__nocopy { display: inline-flex; align-items: center; gap: 8px; }
.acct__meta .acct__copy { width: 30px; height: 30px; border-radius: 8px; }
.acct__meta .acct__copy svg { width: 14px; height: 14px; }
.acct__filehead h3 { margin-top: 10px; }
.acct__since { font-size: .84rem; color: var(--muted); margin-top: 3px; }
.acct__file .frise { margin-top: 4px; }
.acct__track summary { display: inline-flex; }
.acct__track summary::after { content: ""; width: 7px; height: 7px; margin: 6px 0 0 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .25s var(--ease); }
.acct__track[open] summary::after { content: ""; transform: translateY(3px) rotate(-135deg); }
.acct__track summary .c, .acct__track[open] summary .o { display: none; }
.acct__track[open] summary .c { display: inline; }
.acct__track .trackdetails { margin-top: 14px; }
.acct__track .hint { margin-top: 12px; font-size: .84rem; color: var(--muted); }
.acct__empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: clamp(28px, 5vw, 52px) 20px; border: 1px dashed #C9D0D8; border-radius: var(--r); }
.acct__empty h3 { font: 700 1.2rem/1.2 var(--font); letter-spacing: -.02em; margin-top: 8px; }
.acct__empty p { color: var(--muted); max-width: 52ch; font-size: .95rem; }
.acct__emptyact { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.acct__ghost { display: flex; align-items: center; width: min(260px, 100%); }
.acct__ghost i { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #CDD3DA; }
.acct__ghost i:first-child { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 4px rgba(238, 43, 43, .14); }
.acct__ghost b { flex: 1; height: 2px; background: #E4E7EB; }
@media (max-width: 560px) {
  .acct__filehead { flex-direction: column; }
  .acct__fileact, .acct__fileact .btn { width: 100%; justify-content: center; }
  .acct__add { grid-template-columns: 1fr; }
  .acct__add .btn { width: 100%; justify-content: center; }
  .acct__emptyact .btn { width: 100%; justify-content: center; }
}

/* Champs entreprise : masqués pour un particulier (l attribut hidden doit gagner sur .grid2). */
.acct__company[hidden], .acct [hidden] { display: none !important; }

/* ---------- Galerie : notre entrepôt (bande de photos en boucle) ----------
   Deux copies identiques de la liste ; la piste glisse de -50 % puis recommence, sans saut.
   Hauteur des vignettes (--gh) : garder en phase avec l'attribut sizes de src/sections/galerie.html. */
.galerie { --gh: 220px; --gg: 14px; overflow: hidden; }
@media (min-width: 786px) { .galerie { --gh: 28vw; --gg: 18px; } }
@media (min-width: 1215px) { .galerie { --gh: 340px; } }
.galerie .head { margin-bottom: 40px; }
.galerie__viewport {
  position: relative; overflow: hidden; outline-offset: -3px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.galerie__track { display: flex; width: max-content; animation: galerie 90s linear infinite; }
.galerie__viewport:hover .galerie__track,
.galerie__viewport:focus-within .galerie__track,
.galerie__toggle:checked ~ .galerie__viewport .galerie__track { animation-play-state: paused; }
@keyframes galerie { to { transform: translateX(-50%); } }
.galerie__list { display: flex; gap: var(--gg); list-style: none; margin: 0; padding: 0 var(--gg) 0 0; }
.galerie__item { flex: none; height: var(--gh); width: calc(var(--gh) * var(--ar)); }
.galerie__item figure { position: relative; height: 100%; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--soft); }
.galerie__item picture, .galerie__item img { display: block; width: 100%; height: 100%; }
.galerie__item img { object-fit: cover; transition: transform 1.2s var(--ease); }
.galerie__item:hover img { transform: scale(1.04); }
.galerie__item figcaption {
  position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px);
  background: rgba(255, 255, 255, .94); color: var(--navy);
  font-size: .8rem; font-weight: 700; line-height: 1.25; padding: 8px 12px; border-radius: 10px;
}
/* Bouton pause : case à cocher masquée + étiquette stylée (aucun JavaScript). */
.galerie__toggle { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.galerie__bar { display: flex; justify-content: flex-end; margin-top: 18px; }
.galerie__btn {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--text);
  font-size: .84rem; font-weight: 700; cursor: pointer; user-select: none; transition: border-color .2s;
}
.galerie__btn:hover { border-color: var(--text); }
.galerie__ico { width: 10px; height: 12px; box-sizing: border-box; border-inline: 3px solid currentColor; }
.galerie__lbl--play { display: none; }
.galerie__toggle:checked ~ .galerie__bar .galerie__ico { width: 0; border-inline: 0; border-left: 10px solid currentColor; border-block: 6px solid transparent; }
.galerie__toggle:checked ~ .galerie__bar .galerie__lbl--pause { display: none; }
.galerie__toggle:checked ~ .galerie__bar .galerie__lbl--play { display: inline; }
.galerie__toggle:focus-visible ~ .galerie__bar .galerie__btn { outline: 2px solid var(--red); outline-offset: 3px; }
/* Mouvement réduit : pas d'animation, défilement manuel avec aimantation. */
@media (prefers-reduced-motion: reduce) {
  .galerie__track { animation: none; }
  .galerie__list[aria-hidden], .galerie__bar, .galerie__toggle { display: none; }
  .galerie__viewport {
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    -webkit-mask-image: none; mask-image: none;
    scroll-padding-inline: max(16px, calc((100vw - 1240px) / 2));
  }
  .galerie__list { padding-inline: max(16px, calc((100vw - 1240px) / 2)); padding-bottom: 10px; }
  .galerie__item { scroll-snap-align: start; }
  .galerie__item:hover img { transform: none; }
}

/* ---------- Soumission dans l'espace client ---------- */
.quote { border: 1.5px solid var(--navy); border-radius: 14px; padding: 16px 18px; display: grid; gap: 10px; background: var(--bg); }
.quote--done, .quote--off { border-width: 1px; border-color: var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; }
.quote--done p { color: #0E6B3A; font-weight: 600; }
.quote--off p { color: var(--muted); }
.quote__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.quote__head h4 { font: 700 1.05rem/1.2 var(--font); letter-spacing: -.01em; }
.acct__badge.is-warn { background: rgba(224,168,74,.18); color: #7A4F00; }
.quote__scroll { overflow-x: auto; }
.quote__lines { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 420px; }
.quote__lines th { text-align: left; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 6px 0; border-bottom: 1px solid var(--line); }
.quote__lines td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.quote__lines .c { text-align: center; width: 54px; }
.quote__lines .r { text-align: right; white-space: nowrap; padding-left: 12px; }
.quote__tot { display: grid; gap: 4px; justify-self: end; min-width: 260px; }
.quote__tot div { display: flex; justify-content: space-between; gap: 16px; font-size: .9rem; color: var(--muted); }
.quote__tot div:first-child { color: var(--text); font-size: 1.05rem; border-top: 1.5px solid var(--navy); padding-top: 8px; }
.quote__tot b { color: var(--text); }
.quote__cond summary { cursor: pointer; font-weight: 600; font-size: .9rem; }
.quote__cond p { margin-top: 6px; color: var(--muted); font-size: .88rem; white-space: pre-line; }
.quote__thread { display: grid; gap: 6px; }
.quote__msg { background: var(--tint); border-radius: 10px; padding: 8px 12px; font-size: .9rem; max-width: 85%; }
.quote__msg.is-me { justify-self: end; background: rgba(238,43,43,.08); }
.quote__msg small { display: block; color: var(--muted); font-size: .75rem; margin-bottom: 2px; }
.quote__act { display: flex; flex-wrap: wrap; gap: 8px; }
.quote__form { display: grid; gap: 10px; padding-top: 4px; }
.quote__form[hidden] { display: none; }
.quote__form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: 400 .95rem var(--font); background: transparent; color: inherit; resize: vertical; }
.quote__form .consent { margin-top: 0; }
@media (max-width: 560px) { .quote { padding: 14px; } .quote__tot { justify-self: stretch; min-width: 0; } }

/* ---------- Menu mobile : tient dans l'écran ---------- */
.nav__mobile { max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
html.menu-open, html.menu-open body { overflow: hidden; }

/* ---------- Payer et pages longues sur mobile ---------- */
@media (max-width: 560px) {
  .payrow { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; }
  .payrow > span { grid-column: 1 / -1; font-size: .82rem; }
  .payrow > b { text-align: left; word-break: normal; overflow-wrap: break-word; hyphens: none; }
  main#contenu { padding-bottom: 84px; } /* le bouton WhatsApp ne couvre plus le dernier contenu */
}

/* ---------- Discussion en direct (bulle) ---------- */
.fab--chat { z-index: 1001; background: var(--navy); box-shadow: 0 14px 30px -10px rgba(11,30,51,.6); }
.fab--chat.is-open { background: var(--red); }
.fab__badge { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font: 700 11px/20px var(--font); text-align: center; box-shadow: 0 0 0 2px var(--bg); }
.chatw { position: fixed; right: 22px; bottom: 92px; z-index: 1000; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100dvh - 120px)); display: flex; flex-direction: column; background: var(--bg); color: var(--text); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(11,30,51,.45), 0 0 0 1px var(--line); animation: chatIn .22s var(--ease); }
.chatw[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.chatw__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; background: var(--navy); color: #fff; }
.chatw__who { display: flex; align-items: center; gap: 10px; }
.chatw__logo { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.chatw__who b { display: block; font-size: 15px; }
.chatw__state { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,.75); }
.chatw__state i { width: 8px; height: 8px; border-radius: 50%; background: #A2A8B1; }
.chatw__state.is-on i { background: #3DDC84; box-shadow: 0 0 0 3px rgba(61,220,132,.25); }
.chatw__tools { display: flex; gap: 6px; align-items: center; }
.chatw__tools button { border: 0; background: rgba(255,255,255,.12); color: #fff; border-radius: 9px; height: 32px; padding: 0 10px; font: 500 12.5px var(--font); cursor: pointer; }
.chatw__close { width: 32px; padding: 0 !important; display: grid; place-items: center; }
.chatw__close svg { width: 16px; height: 16px; }
.chatw__body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--tint); }
.chatw__intro h3 { font: 700 17px/1.3 var(--font); margin: 0 0 6px; }
.chatw__intro p { margin: 0; color: var(--muted); font-size: 14px; }
.chatw__opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 1px solid var(--line); background: var(--bg); color: var(--text); border-radius: 14px; padding: 14px; cursor: pointer; transition: border-color .15s, transform .15s; font: inherit; }
.chatw__opt:hover { border-color: var(--navy); transform: translateY(-1px); }
.chatw__opt svg { width: 22px; height: 22px; flex: none; }
.chatw__opt--live svg { color: var(--red); }
.chatw__opt--wa svg { color: var(--wa); }
.chatw__opt b { display: block; font-size: 14.5px; }
.chatw__opt small { color: var(--muted); font-size: 12.5px; }
.chatw__form { display: grid; gap: 10px; }
.chatw__form label { display: grid; gap: 5px; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.chatw__form input, .chatw__form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: 400 14px var(--font); background: var(--bg); color: var(--text); resize: vertical; }
.chatw__form input:focus, .chatw__form textarea:focus, .chatw__compose textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: transparent; }
.chatw__lead { margin: 0; font-size: 13.5px; color: var(--muted); }
.chatw__fine { margin: 0; font-size: 11.5px; color: var(--muted); }
.chatw__fine a { color: inherit; text-decoration: underline; }
.chatw__err { margin: 0; color: var(--red-ink); font-size: 13px; }
.chatw__err:empty { display: none; }
.chatw__row { display: flex; justify-content: flex-end; gap: 8px; }
.chatw__send, .chatw__ghost { height: 38px; padding: 0 16px; border-radius: 10px; font: 500 14px var(--font); cursor: pointer; }
.chatw__send { border: 0; background: var(--red); color: #fff; }
.chatw__send:disabled { opacity: .6; }
.chatw__ghost { border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.chatw__status { font-size: 12.5px; color: var(--muted); text-align: center; padding: 2px 6px; }
.chatw__link { border: 0; background: none; color: var(--red-ink); text-decoration: underline; font: inherit; cursor: pointer; }
.chatw__msgs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.chatw__m { max-width: 82%; display: grid; gap: 3px; }
.chatw__m div { padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.chatw__m small { font-size: 11px; color: var(--muted); padding: 0 4px; }
.chatw__m--client { align-self: flex-end; }
.chatw__m--client div { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.chatw__m--client small { text-align: right; }
.chatw__m--agent { align-self: flex-start; }
.chatw__m--agent div { background: var(--bg); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chatw__m--systeme { align-self: center; max-width: 92%; text-align: center; font-size: 12px; color: var(--muted); }
.chatw__typing { display: flex; gap: 4px; padding: 10px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; width: max-content; }
.chatw__typing[hidden] { display: none; }
.chatw__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: chatDot 1s infinite ease-in-out; }
.chatw__typing i:nth-child(2) { animation-delay: .15s; }
.chatw__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.chatw__compose { display: flex; gap: 8px; align-items: flex-end; padding: 10px; border-top: 1px solid var(--line); background: var(--bg); }
.chatw__compose[hidden] { display: none; }
.chatw__compose textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: 400 14px/1.4 var(--font); background: var(--bg); color: var(--text); max-height: 120px; }
.chatw__compose button { width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; cursor: pointer; }
.chatw__compose button svg { width: 18px; height: 18px; }
.chatw__confirm { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); font-size: 13.5px; }
.chatw__confirm label { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; }
@media (max-width: 520px) {
  .chatw { right: 8px; left: 8px; width: auto; bottom: 86px; height: calc(100dvh - 100px); }
}
