/* precise ERP – feuille de style principale */
:root {
  /* Charte precise ERP by myweb */
  --brand-blue: #1E6FE0;     /* bleu myweb */
  --brand-orange: #E8461A;   /* point orange du logo precise */
  --brand-green: #E8461A;    /* ancien nom, conservé pour compatibilité */
  --brand-grey: #5B6676;
  --ink: #0B1626;            /* encre du logo */
  --ink-2: #2C3747;
  --muted: #5B6676;
  --ground: #F4F5F2;         /* blanc cassé du logo */
  --card: #FFFFFF;
  --line: #E3E6E2;
  --line-2: #CDD2D6;
  --btp: #1A63CC;            /* bleu, version texte (contraste AA) */
  --btp-dark: #123E86;
  --avi: #3E7A1F;
  --avi-dark: #2B5715;
  --accent: #D63E12;         /* orange des boutons : texte blanc lisible (AA) */
  --accent-hover: #B8340D;
  --wf: #1A63CC;
  --wf-dark: #123E86;
  --wf-tint: #E9F0FC;
  --green-tint: #EEF7E4;
  --on-dark: #AEB9C7;
  --radius: 16px;
  --display: 'Inter Tight', 'Segoe UI', sans-serif;
  --body: 'Inter', 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 88px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--btp); }
a:hover { color: var(--btp-dark); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.5px; }
:focus-visible { outline: 3px solid var(--wf); outline-offset: 2px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- En-tête ---------- */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 72px; }
.brand { flex: none; display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand strong { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.5px; }
.brand img { height: 52px; width: auto; }
.brand strong { white-space: nowrap; }
.brand-sep { width: 1px; height: 32px; background: var(--line-2); align-self: center; }
@media (max-width: 420px) { .brand img { height: 42px; } }
.nav { display: flex; align-items: center; gap: 20px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--btp); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; color: var(--ink); }

@media (max-width: 1360px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--card); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 12px; border-bottom: 0; justify-content: center; }
}

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 8px; font-weight: 700; text-decoration: none; border: 0; font-family: inherit; font-size: 16px; cursor: pointer; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1F2D42; color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ground); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); color: #fff; }
.nav .btn { color: #fff; padding: 10px 18px; min-height: 44px; }
.nav .btn:hover { color: #fff; }
.link-strong { font-weight: 700; color: var(--ink); }

/* ---------- Typographie de section ---------- */
.kicker { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.kicker.btp { color: var(--btp); }
.kicker.avi { color: var(--avi); }
.lead { font-size: 20px; color: var(--ink-2); max-width: 760px; margin: 0 0 36px; }
.section { padding-top: 80px; padding-bottom: 24px; }
.section-title { margin: 0 0 16px; font-weight: 700; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -1px; }
.section-title + .lead { margin-bottom: 36px; }
.muted { color: var(--muted); }

/* ---------- Héros ---------- */
.hero { padding-top: 72px; padding-bottom: 32px; }
.hero h1 { margin: 0 0 20px; font-weight: 800; font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -2px; max-width: 920px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }
.hero-actions .muted { font-size: 15px; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.pole { color: #fff; border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.pole.btp { background: var(--btp); }
.pole.avi { background: var(--avi); }
.pole .kicker { color: #fff; margin: 0; }
.pole h2 { margin: 0; font-weight: 700; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
.pole .btn { align-self: flex-start; background: #fff; }
.pole.btp .btn { color: var(--btp-dark); }
.pole.avi .btn { color: var(--avi); }

.photo { position: relative; height: 200px; border-radius: 10px; overflow: hidden; background: rgba(0,0,0,0.14); border: 1px dashed rgba(255,255,255,0.5); display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; font-size: 14px; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo:has(img) { border: 0; padding: 0; height: auto; aspect-ratio: 16 / 7; }
.photo.light { background: #EBEDF0; border-color: var(--line-2); color: var(--muted); height: 320px; }

/* Héros des pages sectorielles */
.page-hero { color: #fff; padding: 72px 0 64px; }
.page-hero.btp { background: var(--btp); }
.page-hero.avi { background: var(--avi); }
.page-hero.dark { background: var(--ink); }
.page-hero .kicker { color: #fff; }
.page-hero h1 { margin: 0 0 18px; font-weight: 800; font-size: clamp(36px, 5vw, 62px); line-height: 1.05; letter-spacing: -1.5px; max-width: 900px; }
.page-hero .lead { color: #fff; opacity: 0.92; }
.page-hero .grid-2 { align-items: center; }
.breadcrumb { font-size: 14px; margin-bottom: 20px; }
.breadcrumb a { color: #fff; }

/* ---------- Chiffres ---------- */
.stats { background: var(--ink); color: #fff; margin-top: 48px; }
.stats .container { padding-top: 40px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.stat-value { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--brand-blue); }
.stats .container > div:nth-child(even) .stat-value { color: var(--brand-green); }
.stat-label { margin-top: 8px; color: var(--on-dark); }

/* ---------- Grilles et cartes ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.card h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.25; }
.card p { margin: 0; color: var(--ink-2); }
.card-lg { border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.card-lg h3 { font-size: 25px; margin: 0; }
.card-lg .more { margin-top: auto; font-weight: 700; }
a.card { text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; display: block; }
a.card:hover { border-color: var(--ink); transform: translateY(-2px); color: var(--ink); }
a.card .more { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--btp); }

.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; }
.checks svg { flex: none; margin-top: 3px; }
.checks.btp svg { stroke: var(--btp); }
.checks.avi svg { stroke: var(--avi); }
.checks.ink svg { stroke: var(--ink); }

.step { border-top: 3px solid var(--ink); padding-top: 20px; }
.step .num { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--muted); }
.step h3 { margin: 8px 0; font-size: 21px; }
.step p { margin: 0; color: var(--ink-2); }

.feature-group { margin-bottom: 56px; }
.feature-group h2 { margin: 0 0 20px; font-size: clamp(26px, 3vw, 34px); }

.pain { background: var(--card); border-left: 0; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.pain strong { display: block; font-size: 19px; margin-bottom: 6px; font-family: var(--display); }

/* ---------- Tableau des contrats ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 640px; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--display); font-size: 20px; background: var(--ground); }
tbody tr:last-child td { border-bottom: 0; }
td.yes { color: var(--avi); font-weight: 700; }
td.no { color: var(--muted); }

/* ---------- Références ---------- */
.logos { display: flex; flex-wrap: wrap; gap: 12px; }
.logos { gap: 16px; }
.logos .logo { display: flex; align-items: center; justify-content: center; min-width: 140px; height: 96px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.logos .logo img { max-height: 64px; max-width: 190px; width: auto; height: auto; object-fit: contain; }
.logos .logo.txt { font-weight: 700; color: var(--ink-2); letter-spacing: 0.5px; text-transform: uppercase; }


/* ---------- Appel final et formulaire ---------- */
.cta { background: var(--ink); color: #fff; border-radius: 20px; padding: 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; margin: 72px 0 88px; }
.cta h2 { margin: 0 0 12px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -1px; }
.cta p { margin: 0; color: var(--on-dark); font-size: 19px; }
.cta > div { flex: 1 1 420px; }

.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { min-height: 48px; border-radius: 8px; border: 1px solid #9AA6B6; background: #fff; padding: 10px 12px; font: inherit; font-weight: 400; color: var(--ink); }
.form textarea { min-height: 120px; resize: vertical; }
.form .req { color: var(--btp); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { min-height: 54px; font-size: 17px; }
.alert { border-radius: 8px; padding: 14px 18px; margin-bottom: 20px; font-weight: 600; }
.alert-error { background: #FBE9E2; color: #7E340F; border: 1px solid #E8B9A3; }
.contact-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); margin-top: 0; }
.site-footer .cols { padding-top: 56px; padding-bottom: 32px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 960px) { .site-footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .site-footer .cols { grid-template-columns: 1fr; gap: 32px; } }
.site-footer h2 { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.site-footer .brand-col img { height: 70px; width: auto; display: block; }
.site-footer .brand-col p { margin: 16px 0 0; color: var(--on-dark); max-width: 300px; }
.site-footer a.fl, .site-footer a.fc { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; color: var(--on-dark); text-decoration: none; transition: color .2s ease; }
.site-footer a.fl span, .site-footer a.fc span { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s ease; padding-bottom: 1px; }
.site-footer a.fl:hover, .site-footer a.fc:hover { color: #fff; }
.site-footer a.fl:hover span, .site-footer a.fc:hover span { background-size: 100% 1px; }
.site-footer .fa { opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease; }
.site-footer a.fl:hover .fa, .site-footer a.fl:focus-visible .fa { opacity: 1; transform: none; }
.site-footer .fi { flex: none; color: #9AA6B6; transition: color .2s ease; }
.site-footer a.fc:hover .fi { color: var(--accent); }
.footer-cta { margin-top: 16px; gap: 10px; background: var(--accent); color: #fff; min-height: 44px; padding: 10px 18px; font-size: 15px; }
.footer-cta:hover { background: var(--accent-hover); color: #fff; }
.footer-cta .fi { color: var(--ink); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.social { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); transition: background .2s ease, transform .2s ease; }
.social:hover { color: #fff; background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.copyright { padding-top: 20px; padding-bottom: 32px; color: #9AA6B6; font-size: 14px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.totop { color: #9AA6B6; text-decoration: none; }
.totop:hover { color: #fff; }

/* ---------- WhatsApp ---------- */
.whatsapp { position: fixed; right: 20px; bottom: 20px; width: 60px; height: 60px; border-radius: 50%; background: #1E7A45; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,0.2); z-index: 60; }
.whatsapp:hover { background: #17633A; }

/* ---------- Divers ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.notice { font-size: 15px; color: var(--muted); }
@media (max-width: 600px) {
  .cta { padding: 32px 24px; }
  .card-lg, .pole { padding: 24px; }
  .hero { padding-top: 48px; }
  .whatsapp { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}


/* ---------- Workflow ---------- */
.kicker.wfk { color: var(--wf); }
.checks.blue svg { stroke: var(--wf); }
.btn-wf { background: var(--wf); color: #fff; }
.btn-wf:hover { background: var(--wf-dark); color: #fff; }
.wf-band { background: var(--wf-tint); padding: 88px 0; margin-top: 0; border-bottom: 1px solid #D4E1F7; }
.wf-band .section-title { margin-top: 0; }
.wf-grid { align-items: center; gap: 48px; }
.wf-pillars { display: flex; flex-direction: column; gap: 18px; margin: 8px 0 8px; }
.wf-pillar { display: flex; gap: 16px; align-items: flex-start; }
.wf-pillar h3 { margin: 0 0 4px; font-size: 19px; }
.wf-pillar p { margin: 0; color: var(--ink-2); }
.wf-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--wf); display: flex; align-items: center; justify-content: center; border: 1px solid #D4E1F7; }

.wf { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 20px 50px rgba(11,22,38,0.10); color: var(--ink); }
.wf-title { font-weight: 700; font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.wf-steps { list-style: none; margin: 0; padding: 0; }
.wf-step { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.wf-step:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 50px; bottom: -12px; width: 2px; background: var(--line); }
.wf-step:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 50px; width: 2px; height: 0; background: var(--wf); z-index: 1; transition: height .6s ease; }
.wf-dot { flex: none; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; position: relative; z-index: 2; background: var(--wf); color: #fff; border: 2px solid var(--wf); transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease; }
.wf-dot .n { display: none; }
.wf-dot .ok { display: block; }
.wf-txt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.wf-txt strong { font-size: 16px; }
.wf-txt span { font-size: 14px; color: var(--muted); }
.wf-state { flex: none; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 4px 10px; background: var(--green-tint); color: var(--avi); transition: background .3s ease, color .3s ease; }
.wf-state span { display: none; }
.wf-state .s-ok { display: inline; }
.wf-foot { display: flex; gap: 10px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.wf-foot svg { color: var(--wf); flex: none; }
.wf-examples .wf { padding: 22px; box-shadow: none; }
.wf-examples .wf-txt strong { font-size: 15px; }

/* États animés (activés par main.js) */
.wf.live .wf-step .wf-dot { background: #fff; color: var(--muted); border-color: var(--line-2); }
.wf.live .wf-step .wf-dot .n { display: block; }
.wf.live .wf-step .wf-dot .ok { display: none; }
.wf.live .wf-step .wf-state { background: var(--ground); color: var(--muted); }
.wf.live .wf-step .wf-state .s-ok { display: none; }
.wf.live .wf-step .wf-state .s-wait { display: inline; }
.wf.live .wf-step.active .wf-dot { border-color: var(--wf); color: var(--wf); transform: scale(1.1); box-shadow: 0 0 0 6px rgba(31,111,178,0.15); }
.wf.live .wf-step.active .wf-state { background: var(--wf-tint); color: var(--wf); }
.wf.live .wf-step.active .wf-state .s-wait { display: none; }
.wf.live .wf-step.active .wf-state .s-run { display: inline; }
.wf.live .wf-step.done .wf-dot { background: var(--wf); border-color: var(--wf); color: #fff; transform: none; box-shadow: none; }
.wf.live .wf-step.done .wf-dot .n { display: none; }
.wf.live .wf-step.done .wf-dot .ok { display: block; }
.wf.live .wf-step.done .wf-state { background: var(--green-tint); color: var(--avi); }
.wf.live .wf-step.done .wf-state .s-wait, .wf.live .wf-step.done .wf-state .s-run { display: none; }
.wf.live .wf-step.done .wf-state .s-ok { display: inline; }
.wf.live .wf-step.done:not(:last-child)::before { height: calc(100% - 26px); }
.wf:not(.live) .wf-step:not(:last-child)::before { height: calc(100% - 26px); }

.page-hero.wfh { background: var(--wf-dark); }
.page-hero.wfh .wf { box-shadow: 0 24px 60px rgba(0,0,0,0.25); }
.page-hero .wf { animation: rise .8s cubic-bezier(.2,.7,.2,1) .3s both; }
@media (max-width: 600px) { .wf { padding: 20px; } .wf-state { font-size: 12px; padding: 3px 8px; } }


/* ---------- BERD ---------- */
.badge-berd { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 24px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid #C8D8F4; color: var(--wf-dark); font-weight: 700; font-size: 14px; text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.badge-berd svg { color: var(--wf); flex: none; }
.badge-berd:hover { color: var(--wf-dark); border-color: var(--wf); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(11,22,38,0.12); }
.hero .badge-berd { animation: rise .7s cubic-bezier(.2,.7,.2,1) .2s both; }
.badge-berd.dark { margin: 16px 0 0; background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); color: #fff; font-size: 13px; }
.badge-berd.dark svg { color: var(--brand-blue); }
.badge-berd.dark:hover { color: #fff; border-color: rgba(255,255,255,0.4); }
.berd-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; background: #fff; border: 1px solid #D4E1F7; border-radius: 20px; padding: 48px; box-shadow: 0 20px 50px rgba(11,22,38,0.08); }
.berd-box .kicker { display: flex; align-items: center; gap: 8px; }
.berd-box .lead { margin-bottom: 24px; }
.berd-box .notice { margin: 14px 0 0; }
.berd-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.berd-steps li { display: flex; gap: 16px; align-items: flex-start; background: var(--wf-tint); border-radius: 12px; padding: 18px 20px; }
.berd-steps h3 { margin: 0 0 4px; font-size: 18px; }
.berd-steps p { margin: 0; color: var(--ink-2); }
.bn { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--wf); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-family: var(--display); }
.form .check { flex-direction: row; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.form .check input { min-height: 0; width: 20px; height: 20px; accent-color: var(--wf); flex: none; }
.cta .form .check { color: #fff; }
@media (max-width: 600px) { .berd-box { padding: 28px 22px; gap: 28px; } }

/* ---------- Animations ---------- */
.site-header { transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(21,33,46,0.08); }
.btn { transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(11,22,38,0.16); }
.btn:active { transform: translateY(0); box-shadow: none; }
.pole { transition: transform .3s ease, box-shadow .3s ease; }
.pole:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(21,33,46,0.18); }
.photo img { transition: transform .6s ease; }
.pole:hover .photo img { transform: scale(1.04); }
.card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card-lg:hover, .pain:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(21,33,46,0.08); }
a.card:hover { box-shadow: 0 12px 30px rgba(21,33,46,0.10); }
.logos .logo { transition: transform .25s ease, box-shadow .25s ease; }
.logos .logo:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(21,33,46,0.08); }
.whatsapp { transition: transform .2s ease, background-color .2s ease; animation: wa-pulse 2.8s ease-out 3s 3; }
.whatsapp:hover { transform: scale(1.08); }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(30,122,69,0.5); } 70% { box-shadow: 0 0 0 16px rgba(30,122,69,0); } 100% { box-shadow: 0 0 0 0 rgba(30,122,69,0); } }

/* Entrée du haut de page */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero .kicker, .hero h1, .hero .lead, .page-hero .kicker, .page-hero h1, .page-hero .lead, .page-hero .btn { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero h1, .page-hero h1 { animation-delay: .08s; }
.hero .lead, .page-hero .lead { animation-delay: .16s; }
.page-hero .btn { animation-delay: .24s; }
.hero .pole { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; animation-delay: .26s; }
.hero .pole.avi { animation-delay: .38s; }

/* Apparition au défilement (activée par main.js) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

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

/* ---------- Écran d'accueil animé (une fois par visite) ---------- */
#splash { position: fixed; inset: 0; z-index: 1000; background: var(--ground); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; cursor: pointer; animation: splash-out .5s ease 2.5s forwards; }
.no-splash #splash { display: none; }
#splash.skip { animation: splash-out .3s ease forwards; }
@keyframes splash-out { to { opacity: 0; visibility: hidden; transform: scale(1.03); } }
.splash-inner { display: flex; align-items: center; justify-content: center; }
.splash-logo { width: min(420px, 78vw); height: auto; overflow: visible; }
.splash-logo g { opacity: 0; }
.sp-word { animation: sp-up .6s cubic-bezier(.2,.8,.2,1) .15s forwards; }
.sp-dot { transform-box: fill-box; transform-origin: center; animation: sp-pop .5s cubic-bezier(.3,1.6,.5,1) .7s forwards; }
.sp-erp { animation: sp-fade .5s ease .95s forwards; }
.sp-rule { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); animation: sp-rule .6s ease 1.05s forwards; }
.sp-by { animation: sp-up .5s ease 1.35s forwards; }
@keyframes sp-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes sp-pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
@keyframes sp-fade { to { opacity: 1; } }
@keyframes sp-rule { to { opacity: 1; transform: scaleX(1); } }
.splash-bar { width: 220px; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.splash-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #1E6FE0, #E8461A); animation: splash-bar 2s ease-in-out .45s forwards; }
@keyframes splash-bar { to { width: 100%; } }
/* Les animations du haut de page démarrent après l'écran d'accueil */
.splash-on .hero .kicker, .splash-on .page-hero .kicker { animation-delay: 2.6s; }
.splash-on .hero h1, .splash-on .page-hero h1 { animation-delay: 2.68s; }
.splash-on .hero .lead, .splash-on .page-hero .lead { animation-delay: 2.76s; }
.splash-on .hero .badge-berd, .splash-on .page-hero .btn { animation-delay: 2.8s; }
.splash-on .hero .pole { animation-delay: 2.86s; }
.splash-on .hero .pole.avi { animation-delay: 2.98s; }
.splash-on .page-hero .wf, .splash-on .page-hero .photo { animation-delay: 2.9s; }
@media (prefers-reduced-motion: reduce) { #splash { display: none; } }

/* ---------- CRM et vente ambulante ---------- */
.illus-frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 18px 44px rgba(11,22,38,0.10); aspect-ratio: 16 / 9; }
.illus-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.illus-frame.wide { max-width: 960px; margin: 0 auto; }
.showcase { align-items: center; gap: 56px; }
.showcase .checks { margin-bottom: 20px; }
@media (min-width: 900px) { .showcase.reverse > .illus-frame { order: -1; } }
.uses { margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; background: var(--green-tint); color: var(--avi-dark); font-weight: 600; font-size: 15px; }
.more-link { display: inline-block; margin-top: 4px; }
.sales-card .illus-frame { margin: -8px -8px 6px; box-shadow: none; }
.sales-card h3 { margin: 0; }

/* ---------- Bandeau de logos défilants ---------- */
.marquee { overflow: hidden; padding: 12px 0 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .logos { flex-wrap: nowrap; padding-right: 16px; }
.marquee .logos .logo { flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; }
  .marquee .logos[aria-hidden="true"] { display: none; }
}

/* ---------- Page contact : tuiles « Nous joindre directement » ---------- */
.ctiles { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.ctile { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.ctile:hover { color: var(--ink); border-color: var(--wf); box-shadow: 0 10px 24px rgba(11,22,38,0.10); transform: translateY(-2px); }
.cico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.ctile:hover .cico { transform: scale(1.06); }
.ctxt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.clab { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; }
.cval { font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.chev { flex: none; color: var(--line-2); transition: color .2s ease, transform .2s ease; }
.ctile:hover .chev { color: var(--wf); transform: translateX(3px); }
.contact-note { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; color: var(--muted); font-size: 15px; font-weight: 600; }
.contact-note svg { color: var(--avi); }
@media (max-width: 600px) {
  .ctile { padding: 12px; gap: 12px; }
  .cico { width: 42px; height: 42px; border-radius: 12px; }
  .cval { font-size: 15px; overflow-wrap: normal; white-space: nowrap; }
  .clab { font-size: 12px; }
  .chev { display: none; }
}

/* ---------- Espace client & SAV ---------- */
.card.soon { position: relative; display: flex; flex-direction: column; gap: 10px; }
.card.soon h3 { margin: 4px 0 0; }
.soon-badge { position: absolute; top: 16px; right: 16px; font-size: 12px; font-weight: 700; color: var(--wf-dark); background: var(--wf-tint); border-radius: 999px; padding: 3px 10px; }
.radio-group { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.radio-group legend { font-size: 15px; font-weight: 600; margin-bottom: 8px; padding: 0; width: 100%; }
.form .radio { flex-direction: row; align-items: center; gap: 10px; border: 1px solid #9AA6B6; border-radius: 10px; padding: 10px 16px; cursor: pointer; font-weight: 600; min-height: 48px; }
.form .radio input { min-height: 0; width: 20px; height: 20px; accent-color: var(--wf); }
.form .radio:has(input:checked) { border-color: var(--wf); background: var(--wf-tint); }

/* ---------- Workflow : circuit achat → paiement ---------- */
.flow-frame { margin: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #F5F8FE; box-shadow: 0 18px 44px rgba(11,22,38,0.08); }
.flow-frame img { display: block; width: 100%; height: auto; }
@media (max-width: 700px) { .flow-frame { max-width: 460px; margin: 0 auto; } }

/* ---------- Page Modules : schéma circulaire ---------- */
.ring-wrap { align-items: center; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
@media (min-width: 1000px) { .ring-wrap { grid-template-columns: 1fr 1.25fr; } }
.ring-frame { margin: 0; border: 1px solid var(--line); border-radius: 20px; background: #F5F8FE; overflow: hidden; box-shadow: 0 18px 44px rgba(11,22,38,0.08); }
.ring-scroll img { display: block; width: 100%; height: auto; }
.ring-hint { display: none; }
@media (max-width: 600px) {
  .ring-hint { display: block; text-align: center; font-size: 13px; color: var(--muted); padding: 8px 0 10px; border-top: 1px solid var(--line); }
}

/* ---------- Facturation électronique ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-bottom: 24px; }
.badges .badge-berd { margin: 0; }
.hero .badges { animation: rise .7s cubic-bezier(.2,.7,.2,1) .2s both; }
.splash-on .hero .badges { animation-delay: 2.8s; }
.einv-band { background: #FFFFFF; padding: 88px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.einv-band .section-title { margin-top: 0; }
.einv-band .kicker, .berd-box .kicker { display: flex; align-items: center; gap: 8px; }
.einv-band .checks { margin-bottom: 8px; }
.einv-grid { align-items: center; gap: 56px; }
.einv-illus { aspect-ratio: 520 / 420; max-width: 520px; justify-self: center; width: 100%; }
.page-hero .einv-illus { animation: rise .8s cubic-bezier(.2,.7,.2,1) .3s both; }
.steps-grid { margin-top: 28px; }
.step-card { display: flex; flex-direction: column; gap: 8px; }
.step-card h3 { margin: 4px 0 0; }

/* ---------- Choix de la langue ---------- */
.site-header .container { gap: 28px; }
.lang-switch { order: 3; flex: none; display: flex; align-items: center; gap: 2px; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; font-size: 13px; font-weight: 700; }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 28px; padding: 0 8px; border-radius: 999px; color: var(--muted); text-decoration: none; line-height: 1; }
.lang-switch a:hover { color: var(--btp); background: var(--wf-tint); }
.lang-switch a[aria-current="true"] { background: var(--btp); color: #fff; }
.lang-switch a[lang="ar"] { font-family: 'Cairo', 'Segoe UI', sans-serif; font-size: 15px; }
.site-header .nav { order: 2; }
.site-header .nav-toggle { order: 4; }
@media (max-width: 1360px) {
  .lang-switch { margin-inline-start: auto; }
  .site-header .container { gap: 12px; }
}
@media (max-width: 420px) {
  .lang-switch a { min-width: 28px; padding: 0 6px; }
  .brand { gap: 10px; }
}

/* ---------- Version arabe (droite à gauche) ---------- */
html[lang="ar"] { --display: 'Cairo', 'Segoe UI', Tahoma, sans-serif; --body: 'Cairo', 'Segoe UI', Tahoma, sans-serif; }
html[lang="ar"] body { line-height: 1.75; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
html[lang="ar"] .stat-value { font-family: 'Inter Tight', 'Segoe UI', sans-serif; }
[dir="rtl"] .nav { left: 0; right: 0; }
[dir="rtl"] th, [dir="rtl"] td { text-align: right; }
[dir="rtl"] .wf-step:not(:last-child)::after, [dir="rtl"] .wf-step:not(:last-child)::before { left: auto; right: 17px; }
[dir="rtl"] .soon-badge { right: auto; left: 16px; }
[dir="rtl"] .whatsapp { right: auto; left: 20px; }
@media (max-width: 700px) { [dir="rtl"] .whatsapp { left: 14px; } }
[dir="rtl"] .fa, [dir="rtl"] .chev, [dir="rtl"] .arrow-flip { transform: scaleX(-1); }
[dir="rtl"] .site-footer .fa { transform: scaleX(-1) translateX(-6px); }
[dir="rtl"] .site-footer a.fl:hover .fa, [dir="rtl"] .site-footer a.fl:focus-visible .fa { transform: scaleX(-1); }
[dir="rtl"] .ctile:hover .chev { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .site-footer a.fl span, [dir="rtl"] .site-footer a.fc span { background-position: 100% 100%; }
[dir="rtl"] .marquee { direction: ltr; }
[dir="rtl"] .skip:focus { left: auto; right: 16px; }
[dir="rtl"] .cval { direction: ltr; text-align: right; }
[dir="rtl"] .ltr { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] input[type="tel"], [dir="rtl"] input[type="email"] { direction: ltr; text-align: right; }
[dir="rtl"] .skip, [dir="rtl"] .form .hp { left: auto; right: -9999px; }
@media (min-width: 1361px) {
  .site-header .container { gap: 20px; }
  .nav { gap: 15px; }
  .nav a.btn { padding-left: 18px; padding-right: 18px; }
}
@media (min-width: 1361px) and (max-width: 1520px) {
  .nav { font-size: 14px; gap: 13px; }
  .brand img { height: 48px; }
  .brand { gap: 10px; }
}
[dir="rtl"] a[href^="tel:"] span { direction: ltr; unicode-bidi: isolate; }
@media (max-width: 480px) {
  .site-header .container { gap: 8px; }
  .brand { gap: 8px; }
  .brand img { height: 40px; }
  .lang-switch { padding: 2px; font-size: 12px; }
  .lang-switch a { min-width: 26px; height: 26px; padding: 0 5px; }
  .lang-switch a[lang="ar"] { font-size: 13px; }
  .nav-toggle { width: 40px; height: 40px; }
}
.ring-scroll picture { display: block; }

/* ---------- Bandeau partenaires (accueil) ---------- */
.partner-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; background: var(--wf-tint, #E9F0FC); border-radius: 20px; padding: 48px; }
.partner-box .section-title { margin-top: 0; }
.partner-box .kicker { display: flex; align-items: center; gap: 8px; }
.partner-box .lead { margin-bottom: 24px; }
.partner-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.partner-list li { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 12px; padding: 16px 20px; font-weight: 600; box-shadow: 0 6px 18px rgba(11,22,38,0.06); }
.partner-list .fi { flex: none; width: 22px; height: 22px; color: var(--wf, #1E6FE0); }
@media (max-width: 600px) { .partner-box { padding: 28px 22px; gap: 28px; } }

/* ---------- Charte precise : logos ---------- */
.site-footer .footer-logo { width: 236px; height: auto; }
.signature { display: flex; align-items: center; gap: 12px; }
.signature img { height: 30px; width: auto; }
.cta h2::after, .section-title::after { content: none; }

/* ---------- Charte precise : trame de points des bannières sombres ---------- */
/* Grille de petits carrés sur la moitié droite, un seul carré orange (le point du logo). */
.page-hero.dark, .page-hero.wfh, .stats, .cta, .site-footer { position: relative; overflow: hidden; isolation: isolate; }
.page-hero.dark::before, .page-hero.wfh::before, .stats::before, .cta::before, .site-footer::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 55%; z-index: -1; pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34'%3E%3Crect x='14' y='14' width='6' height='6' fill='%23E8461A'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34'%3E%3Crect x='14' y='14' width='6' height='6' fill='%23FFFFFF' fill-opacity='0.15'/%3E%3C/svg%3E");
  background-repeat: no-repeat, repeat;
  background-size: 34px 34px, 34px 34px;
  background-position: right 204px top 68px, right top;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 35%);
  mask-image: linear-gradient(to right, transparent, #000 35%);
}
.stats::before { background-position: right 340px top 34px, right top; }
.cta::before { background-position: right 136px top 34px, right top; width: 50%; }
.site-footer::before { width: 45%; background-position: right 272px top 34px, right top; -webkit-mask-image: linear-gradient(to right, transparent, #000 40%), linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to right, transparent, #000 40%); }
/* Le formulaire de la bannière reste lisible au-dessus de la trame */
.cta > * { position: relative; }
/* Arabe : trame à gauche */
[dir="rtl"] .page-hero.dark::before, [dir="rtl"] .page-hero.wfh::before, [dir="rtl"] .stats::before, [dir="rtl"] .cta::before, [dir="rtl"] .site-footer::before {
  right: auto; left: 0;
  -webkit-mask-image: linear-gradient(to left, transparent, #000 35%); mask-image: linear-gradient(to left, transparent, #000 35%);
  background-position: left 204px top 68px, left top;
}
[dir="rtl"] .stats::before { background-position: left 340px top 34px, left top; }
[dir="rtl"] .cta::before { background-position: left 136px top 34px, left top; }
[dir="rtl"] .site-footer::before { background-position: left 272px top 34px, left top; }
@media (max-width: 700px) {
  .page-hero.dark::before, .page-hero.wfh::before, .stats::before, .cta::before, .site-footer::before { width: 70%; opacity: .8; }
  .stats::before, [dir="rtl"] .stats::before { background-position: right 102px top 34px, right top; }
  .site-footer::before, [dir="rtl"] .site-footer::before { background-position: right 68px top 34px, right top; }
}

/* ---------- Guides pratiques ---------- */
.guide-meta { margin: 18px 0 0; font-size: 14px; color: var(--on-dark); }
.guide-hero h1 { max-width: 860px; font-size: clamp(32px, 4.2vw, 52px); }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; padding-top: 56px; padding-bottom: 24px; }
.guide { max-width: 740px; font-size: 17px; line-height: 1.75; }
.guide .guide-intro { font-size: 19px; line-height: 1.65; color: var(--ink); margin-top: 0; }
.guide h2 { font-size: 28px; line-height: 1.2; margin: 48px 0 14px; }
.guide h3 { font-size: 20px; margin: 28px 0 8px; }
.guide p, .guide li { color: var(--ink-2); }
.guide ul, .guide ol { padding-left: 22px; }
[dir="rtl"] .guide ul, [dir="rtl"] .guide ol { padding-left: 0; padding-right: 22px; }
.guide li { margin: 6px 0; }
.guide li::marker { color: var(--brand-orange); font-weight: 700; }
.guide .table-wrap { margin: 20px 0; }
.guide table { font-size: 15px; min-width: 520px; }
.guide thead th { font-size: 16px; }
.guide-note, .guide-formula { background: var(--wf-tint); border-left: 4px solid var(--brand-blue); border-radius: 8px; padding: 18px 22px; margin: 24px 0; }
[dir="rtl"] .guide-note, [dir="rtl"] .guide-formula { border-left: 0; border-right: 4px solid var(--brand-blue); }
.guide-note p, .guide-formula p { margin: 6px 0; }
.guide-formula { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand-orange); }
[dir="rtl"] .guide-formula { border-left: 1px solid var(--line); border-right: 4px solid var(--brand-orange); }
.guide-steps li { padding-left: 4px; margin: 10px 0; }
.guide-disclaimer { margin-top: 40px; font-size: 14px; color: var(--muted) !important; border-top: 1px solid var(--line); padding-top: 16px; }
.guide-sources { margin-top: 32px; font-size: 14px; }
.guide-sources h2 { font-size: 18px; margin: 0 0 8px; }
.guide-sources a { word-break: break-word; }
.guide-aside { position: sticky; top: 100px; }
.guide-aside-box { background: var(--ink); color: #fff; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.guide-aside-box .kicker { color: var(--on-dark); margin: 0; }
.guide-aside-box h2 { font-size: 22px; line-height: 1.2; margin: 0; }
.guide-aside-box p { margin: 0; color: var(--on-dark); font-size: 15px; }
.guide-aside-box .btn-dark { background: #fff; color: var(--ink); }
.guide-aside-box .btn-dark:hover { background: var(--ground); color: var(--ink); }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.guide-card, .guide-teaser { display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; text-decoration: none; color: var(--ink); transition: transform .18s ease, box-shadow .18s ease; }
.guide-card:hover, .guide-teaser:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(11,22,38,0.10); color: var(--ink); }
.guide-card .kicker, .guide-teaser .kicker { margin: 0; }
.guide-card strong, .guide-teaser strong { font-family: var(--display); font-size: 22px; line-height: 1.25; }
.guide-card span:not(.kicker):not(.link-strong), .guide-teaser span:not(.kicker):not(.link-strong) { color: var(--ink-2); }
.guide-card .link-strong, .guide-teaser .link-strong { margin-top: auto; color: var(--btp); }
.guide-teaser { border-left: 4px solid var(--brand-orange); }
[dir="rtl"] .guide-teaser { border-left: 1px solid var(--line); border-right: 4px solid var(--brand-orange); }
@media (max-width: 960px) {
  .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 40px; }
  .guide-aside { position: static; }
}

/* ---------- Visites guidées (présentations) ---------- */
.btn .fi { flex: none; }
.btn > .fi + span { margin-inline-start: 8px; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.10); color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.page-hero .hero-actions { margin-top: 24px; gap: 12px 14px; }
.hero .btn-dark .fi { color: var(--brand-orange); }
.visite-band { padding-bottom: 0; }
.visite-box { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; background: var(--ink); color: #fff; border-radius: 20px; padding: 48px; position: relative; overflow: hidden; isolation: isolate; }
.visite-box::before { content: ""; position: absolute; inset: 0 0 0 auto; width: 55%; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34'%3E%3Crect x='14' y='14' width='6' height='6' fill='%23FFFFFF' fill-opacity='0.15'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(to right, transparent, #000 35%); mask-image: linear-gradient(to right, transparent, #000 35%); }
[dir="rtl"] .visite-box::before { inset: 0 auto 0 0; -webkit-mask-image: linear-gradient(to left, transparent, #000 35%); mask-image: linear-gradient(to left, transparent, #000 35%); }
.visite-box .kicker { color: var(--on-dark); display: flex; align-items: center; gap: 8px; }
.visite-box .kicker .fi { color: var(--brand-orange); }
.visite-box .section-title { color: #fff; margin-top: 0; }
.visite-box .lead { color: var(--on-dark); }
.visite-box .link-strong { color: #fff; }
.visite-shot { position: relative; display: block; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.45); outline: 1px solid rgba(255,255,255,.12); transition: transform .2s ease; }
.visite-shot img { display: block; width: 100%; height: auto; }
.visite-shot:hover { transform: translateY(-4px); }
.visite-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(214,62,18,.45); transition: transform .2s ease; }
.visite-play svg { margin-left: 4px; }
.visite-shot:hover .visite-play { transform: scale(1.08); }
.card-visite .more { color: var(--btp); }
@media (max-width: 900px) {
  .visite-box { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; gap: 28px; }
  .visite-play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
}
