/* =========================================================
   BETCAM — Expertise automobile & agricole · Meknès
   Style « Marine & Or » : bleu nuit, filets dorés et panneaux
   diagonaux de la carte de visite, sur fond blanc argenté.
   ========================================================= */
:root {
  --navy: #0f1b33;
  --navy-2: #1a2a4a;
  --navy-3: #25395f;
  --gold: #c99a3e;
  --gold-2: #e3bd6c;
  --gold-ink: #94681c;
  --gold-soft: #f6ecd6;
  --paper: #f5f6f8;
  --mist: #eceff4;
  --white: #fff;
  --ink: #0f1b33;
  --text: #2b3445;
  --muted: #5d6779;
  --line: #dce1e9;
  --wa: #1fa855;
  --err: #c0392b;

  --f-head: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f-body: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --r: 14px;
  --shadow: 0 1px 2px rgba(15, 27, 51, .06), 0 12px 32px -12px rgba(15, 27, 51, .18);
  --wrap: 1200px;
  --hdr: 72px;
}
html[dir="ltr"] { --f-body: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: 16.5px; line-height: 1.7; color: var(--text); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { font-family: var(--f-head); color: var(--ink); margin: 0; line-height: 1.25; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
svg.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.nowrap { white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.skip { position: absolute; top: -60px; inset-inline-start: 12px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; }
[dir="rtl"] .progress { transform-origin: 100% 50%; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 10px; font-family: var(--f-head); font-weight: 500; font-size: 15.5px; line-height: 1; border: 1.5px solid transparent; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; white-space: nowrap; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn .arrow { transition: transform .3s var(--ease); }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
.btn:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-2); box-shadow: 0 10px 24px -10px rgba(201, 154, 62, .7); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-3); }
.btn--ghost { border-color: rgba(255, 255, 255, .32); color: var(--white); }
.btn--ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn--line { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--line:hover { border-color: var(--navy); }
.btn--wa { background: var(--wa); color: var(--white); }
.btn--wa:hover { background: #17924a; }
.btn[hidden] { display: none; }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 50; height: var(--hdr); background: rgba(15, 27, 51, .94); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .06); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 8px 28px -14px rgba(0, 0, 0, .5); }
.header__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); flex: none; }
.brand__mark { width: 44px; height: 44px; color: var(--gold-2); --car: #fff; --glass: var(--navy); }
.brand__mark svg { width: 100%; height: 100%; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand__txt strong { font-family: var(--f-head); font-weight: 600; letter-spacing: .14em; font-size: 18px; color: var(--gold-2); }
.brand__txt small { font-size: 12px; color: rgba(255, 255, 255, .68); margin-top: 3px; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav > a { position: relative; padding: 8px 12px; font-size: 15px; color: rgba(255, 255, 255, .78); transition: color .2s; }
.nav > a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav > a:hover, .nav > a.active { color: var(--white); }
.nav > a.active::after { transform: scaleX(1); }
.nav__foot { display: none; }
.header__end { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid rgba(255, 255, 255, .18); border-radius: 9px; padding: 3px; }
.lang button { min-width: 34px; height: 30px; border-radius: 6px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .7); transition: background .2s, color .2s; }
.lang button[lang="ar"] { font-size: 15px; }
.lang button:hover { color: var(--white); }
.lang button.on { background: var(--gold); color: var(--navy); }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2); position: relative; }
.burger span { position: absolute; inset-inline: 12px; height: 2px; background: var(--white); transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger.open span:first-child { top: 21px; transform: rotate(45deg); }
.burger.open span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Héros ---------- */
.hero { position: relative; background: var(--navy); color: rgba(255, 255, 255, .84); padding: 72px 0 0; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__panel { position: absolute; inset: 0; background: linear-gradient(160deg, var(--navy-2), var(--navy-3)); clip-path: polygon(58% 0, 100% 0, 100% 100%, 30% 100%); }
[dir="rtl"] .hero__panel { clip-path: polygon(0 0, 42% 0, 70% 100%, 0 100%); }
.hero__rule { position: absolute; height: 3px; width: 140%; background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold-2) 60%, transparent); opacity: .55; transform-origin: center; }
.hero__rule--a { top: 22%; inset-inline-start: -20%; transform: rotate(-24deg); }
.hero__rule--b { top: 70%; inset-inline-start: -20%; transform: rotate(-24deg); opacity: .25; }
[dir="rtl"] .hero__rule { transform: rotate(24deg); }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding-bottom: 56px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border: 1px solid rgba(227, 189, 108, .35); border-radius: 99px; color: var(--gold-2); font-size: 14px; font-weight: 500; background: rgba(227, 189, 108, .07); }
.kicker svg { width: 18px; height: 18px; }
.hero__title { color: var(--white); font-size: clamp(34px, 4.6vw, 58px); line-height: 1.16; font-weight: 600; letter-spacing: -.01em; margin: 22px 0 20px; }
[dir="rtl"] .hero__title { line-height: 1.38; letter-spacing: 0; }
.hero__title em { font-style: normal; color: var(--gold-2); position: relative; }
.hero__text { font-size: 18px; max-width: 34em; color: rgba(255, 255, 255, .78); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__sign { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14.5px; color: rgba(255, 255, 255, .6); max-width: 30em; }
.hero__sign b { color: var(--white); font-family: var(--f-head); font-weight: 500; font-size: 16px; }

/* Carte de visite : recto/verso */
.hero__media { perspective: 1400px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.bcard { --rx: 0deg; --ry: 0deg; display: block; width: 100%; max-width: 520px; aspect-ratio: 1.68; transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .5s var(--ease); text-align: start; }
.bcard__inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.bcard.flipped .bcard__inner { transform: rotateY(180deg); }
.bcard__face { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, #fff, #eef0f4); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .5) inset; backface-visibility: hidden; -webkit-backface-visibility: hidden; color: var(--navy); }
.bcard__back { transform: rotateY(180deg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.bcard__navy { position: absolute; inset: 0; background: linear-gradient(150deg, var(--navy-2), var(--navy)); clip-path: polygon(0 0, 52% 0, 30% 100%, 0 100%); }
.bcard__navy::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(255, 255, 255, .25)); }
.bcard__front .bcard__navy { clip-path: polygon(0 0, 46% 0, 22% 100%, 0 100%); }
.bcard__front::before { content: ""; position: absolute; inset: 0; background: #d9dde4; clip-path: polygon(46% 0, 48.5% 0, 24.5% 100%, 22% 100%); z-index: 1; }
.bcard__navy--a { clip-path: polygon(0 0, 22% 0, 0 38%); }
.bcard__navy--b { clip-path: polygon(100% 100%, 76% 100%, 100% 62%); }
.bcard__gold { position: absolute; height: 4px; background: linear-gradient(90deg, #d7aa55, #e8c47a, #c99a3e); border-radius: 2px; }
.bcard__front .bcard__gold--t { top: 9%; left: 40%; right: 6%; }
.bcard__front .bcard__gold--b { bottom: 8%; left: 26%; right: 6%; }
.bcard__back .bcard__gold--t { top: 12%; left: 24%; right: 6%; }
.bcard__back .bcard__gold--b { bottom: 12%; left: 6%; right: 24%; }
.bcard__logo { position: absolute; top: 8%; left: 4.5%; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; color: var(--gold-2); direction: ltr; --car: #fff; --glass: var(--navy); }
.bcard__logo svg { width: clamp(38px, 13cqi, 66px); height: auto; }
.bcard__logo b { font-family: var(--f-head); font-weight: 600; font-size: clamp(12px, 3.8cqi, 20px); letter-spacing: .14em; }
.bcard { container-type: inline-size; }
.bcard__id { position: absolute; top: 22%; right: 6%; left: 40%; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 3px; }
.bcard__id b { font-family: var(--f-head); font-weight: 600; font-size: clamp(15px, 4.6cqi, 23px); }
.bcard__id > span { font-family: var(--f-head); font-weight: 600; font-size: clamp(10px, 2.6cqi, 13px); letter-spacing: .06em; color: var(--navy-3); }
.bcard__id small { font-size: clamp(9px, 2.2cqi, 11.5px); line-height: 1.35; color: var(--muted); max-width: 26em; direction: ltr; }
.bcard__lines { position: absolute; bottom: 16%; right: 6%; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: clamp(10px, 2.8cqi, 14px); font-weight: 500; color: var(--navy); font-family: "IBM Plex Sans", sans-serif; }
.bcard__lines > span { display: flex; align-items: center; gap: 8px; flex-direction: row-reverse; }
.bcard__lines svg { width: 1.15em; height: 1.15em; color: var(--navy-3); }
.bcard__car { width: 24%; color: var(--gold); position: relative; z-index: 2; }
.bcard__office { position: relative; z-index: 2; font-family: var(--f-head); font-weight: 600; font-size: clamp(10px, 3cqi, 15px); line-height: 1.5; color: var(--navy); padding-inline: 12%; }
.bcard__office--fr { font-size: clamp(8px, 2.2cqi, 11px); letter-spacing: .05em; text-transform: uppercase; color: var(--navy-3); font-weight: 500; }
@container (max-width: 440px) {
  .bcard__id { top: 17%; gap: 1px; }
  .bcard__id small { font-size: 9px; max-width: 22em; }
  .bcard__lines { bottom: 13%; gap: 0; }
}
.bcard__hint { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .5); }
.bcard__hint svg { width: 16px; height: 16px; }

/* Repères */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--r) var(--r) 0 0; box-shadow: 0 -20px 40px -30px rgba(0, 0, 0, .5); position: relative; }
.facts li { padding: 26px 26px 24px; position: relative; }
.facts li + li::before { content: ""; position: absolute; inset-block: 24px; inset-inline-start: 0; width: 1px; background: var(--line); }
.facts b { display: block; font-family: var(--f-head); font-weight: 600; font-size: 21px; color: var(--ink); }
.facts span { font-size: 14px; color: var(--muted); }
.facts li:first-child b { color: var(--gold-ink); }

/* ---------- Sections ---------- */
.sec { padding: 104px 0; position: relative; }
.sec--mist { background: var(--paper); }
.sec--navy { background: var(--navy); color: rgba(255, 255, 255, .78); overflow: hidden; isolation: isolate; }
.sec--navy h2, .sec--navy h3 { color: var(--white); }
.sec__diag { position: absolute; inset: 0; z-index: -1; background: var(--navy-2); clip-path: polygon(0 0, 34% 0, 18% 100%, 0 100%); }
[dir="rtl"] .sec__diag { clip-path: polygon(100% 0, 66% 0, 82% 100%, 100% 100%); }
.sec__diag::after { content: ""; position: absolute; inset: 0; background: var(--gold); opacity: .5; clip-path: polygon(34% 0, 34.3% 0, 18.3% 100%, 18% 100%); }
[dir="rtl"] .sec__diag::after { clip-path: polygon(66% 0, 65.7% 0, 81.7% 100%, 82% 100%); }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 56px; }
.head--center { display: block; text-align: center; max-width: 720px; margin-inline: auto; }
.head--center .lead { margin-top: 16px; }
.label { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-head); font-size: 14px; font-weight: 500; color: var(--gold-ink); margin-bottom: 16px; }
.label::before { content: ""; width: 28px; height: 2px; background: var(--gold); order: 1; }
.label__n { order: 0; font-size: 12px; letter-spacing: .08em; color: var(--muted); font-family: "IBM Plex Sans", sans-serif; }
.label > span:last-child { order: 2; }
.label--light { color: var(--gold-2); }
.label--light .label__n { color: rgba(255, 255, 255, .5); }
.h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.01em; }
[dir="rtl"] .h2 { letter-spacing: 0; line-height: 1.4; }
.h2 em { font-style: normal; color: var(--gold-ink); }
.sec--navy .h2 em { color: var(--gold-2); }
.lead { font-size: 18px; color: var(--muted); }
.sec--navy .lead { color: rgba(255, 255, 255, .85); }

/* Expertises */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { position: relative; display: flex; flex-direction: column; padding: 30px 28px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.svc::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
[dir="rtl"] .svc::before { transform-origin: 100% 50%; }
.svc::after { content: ""; position: absolute; top: 0; inset-inline-end: 0; width: 110px; height: 110px; background: var(--mist); clip-path: polygon(100% 0, 0 0, 100% 100%); transition: background .3s; }
[dir="rtl"] .svc::after { clip-path: polygon(0 0, 100% 0, 0 100%); }
.svc:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.svc:hover::before { transform: scaleX(1); }
.svc:hover::after { background: var(--gold-soft); }
.svc__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 26px; position: relative; z-index: 1; }
.svc__ic { width: 54px; height: 54px; border-radius: 12px; background: var(--navy); color: var(--gold-2); display: grid; place-items: center; }
.svc__ic svg { width: 28px; height: 28px; }
.svc__n { font-family: "IBM Plex Sans", sans-serif; font-size: 13px; font-weight: 600; color: var(--navy-3); letter-spacing: .06em; }
.svc h3 { font-size: 21px; margin-bottom: 10px; }
.svc p { color: var(--muted); font-size: 15.5px; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 22px; }
.svc__tags li { font-size: 12.5px; padding: 4px 10px; border-radius: 99px; background: var(--paper); color: var(--navy-3); border: 1px solid var(--line); }
.link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-family: var(--f-head); font-weight: 500; font-size: 15px; color: var(--ink); }
.link svg { width: 18px; height: 18px; color: var(--gold-ink); transition: transform .3s var(--ease); }
[dir="rtl"] .link svg { transform: scaleX(-1); }
.link:hover svg { transform: translateX(4px); }
[dir="rtl"] .link:hover svg { transform: scaleX(-1) translateX(4px); }

/* Le bureau */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: start; }
.about__main .lead { margin: 22px 0 16px; }
.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 32px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--white); font-size: 15.5px; }
.ticks svg { width: 22px; height: 22px; flex: none; color: var(--gold-2); margin-top: 2px; }
.about__for { font-family: var(--f-head); color: var(--gold-2); font-size: 15px; margin-bottom: 18px; }
.audience { display: grid; gap: 10px; }
.audience li { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; background: rgba(255, 255, 255, .03); color: var(--white); font-size: 16px; transition: border-color .3s, background .3s; }
.audience li:hover { border-color: rgba(227, 189, 108, .45); background: rgba(227, 189, 108, .06); }
.audience span { width: 42px; height: 42px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(227, 189, 108, .12); color: var(--gold-2); }
.audience svg { width: 22px; height: 22px; }

/* Le rapport */
.report { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.report__copy .lead { margin-top: 16px; }
.report__list { margin-top: 32px; display: grid; gap: 4px; }
.report__list li { display: flex; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.report__n { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-2); font-family: "IBM Plex Sans", sans-serif; font-weight: 600; font-size: 14px; }
.report__list h3 { font-size: 18px; margin-bottom: 2px; }
.report__list p { color: var(--muted); font-size: 15px; }
.sheet { position: relative; background: var(--white); border-radius: 6px; padding: 30px 32px 26px; box-shadow: 0 2px 4px rgba(15, 27, 51, .05), 0 40px 70px -30px rgba(15, 27, 51, .35); border-top: 5px solid var(--navy); transform: rotate(-1.5deg); }
[dir="rtl"] .sheet { transform: rotate(1.5deg); }
.sheet::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1; background: var(--mist); border-radius: 6px; transform: rotate(3deg); }
.sheet__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sheet__logo { display: flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 600; letter-spacing: .12em; color: var(--navy); direction: ltr; }
.sheet__logo svg { width: 32px; height: 32px; color: var(--gold); }
.sheet__ref { font-size: 12.5px; color: var(--muted); font-family: "IBM Plex Sans", sans-serif; }
.sheet__title { font-family: var(--f-head); font-weight: 500; color: var(--ink); margin: 16px 0 12px; font-size: 16px; }
.sheet__car { position: relative; color: var(--navy-3); padding: 12px; background: var(--paper); border-radius: 8px; direction: ltr; }
.sheet__svg { width: 100%; height: auto; }
.hit { position: absolute; left: var(--x); top: var(--y); width: 30px; height: 30px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(201, 154, 62, .22); display: grid; place-items: center; }
.hit::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--gold); animation: ping 2.4s var(--ease) infinite; }
.hit i { font-style: normal; font-size: 12px; font-weight: 700; font-family: "IBM Plex Sans", sans-serif; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; }
.hit--sm::before { animation-delay: .8s; }
@keyframes ping { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
.sheet__rows { margin-top: 16px; }
.sheet__rows p { display: flex; justify-content: space-between; padding: 8px 2px; border-bottom: 1px dashed var(--line); font-size: 14.5px; color: var(--muted); }
.sheet__rows p:last-child { border-bottom: 0; border-top: 2px solid var(--navy); margin-top: 4px; color: var(--ink); font-weight: 600; }
.sheet__rows b { font-family: "IBM Plex Sans", sans-serif; font-weight: 600; color: var(--ink); }
.sheet__foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 18px; }
.sheet__stamp { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 2px solid rgba(37, 57, 95, .55); border-radius: 8px; color: var(--navy-3); font-family: var(--f-head); font-size: 13px; font-weight: 600; transform: rotate(-6deg); }
.sheet__stamp svg { width: 20px; height: 20px; }
.sheet__sig { font-family: "Readex Pro", sans-serif; font-weight: 300; font-style: italic; font-size: 22px; color: var(--navy-3); direction: ltr; border-bottom: 1px solid var(--line); padding: 0 10px 2px; }

/* Méthode */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 8px; }
.steps__line { position: absolute; top: 26px; inset-inline: 12.5%; height: 2px; background: var(--line); }
.steps__line i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; }
[dir="rtl"] .steps__line i { transform-origin: 100% 50%; }
.steps li { position: relative; text-align: center; padding: 0 8px; }
.steps__n { position: relative; z-index: 1; width: 54px; height: 54px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--gold-2); font-family: var(--f-head); font-weight: 600; font-size: 20px; box-shadow: 0 0 0 8px var(--paper); }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; }
.tip { display: flex; gap: 16px; align-items: center; max-width: 780px; margin: 56px auto 0; padding: 18px 22px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); border-inline-start: 4px solid var(--gold); }
.tip svg { width: 28px; height: 28px; flex: none; color: var(--gold-ink); }
.tip b { color: var(--ink); font-family: var(--f-head); font-weight: 600; }

/* ---------- Demande d'expertise ---------- */
.bk { max-width: 980px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.bk__steps { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--navy); }
.bk__steps li { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 10px; color: rgba(255, 255, 255, .5); font-size: 14.5px; position: relative; }
.bk__steps li::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); }
.bk__steps li.active, .bk__steps li.done { color: var(--white); }
.bk__steps li.active::after, .bk__steps li.done::after { transform: scaleX(1); }
.bk__steps span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid currentColor; font-size: 13px; font-weight: 600; font-family: "IBM Plex Sans", sans-serif; }
.bk__steps li.active span, .bk__steps li.done span { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.bk__steps b { font-weight: 500; }
.bk__body { padding: 32px 36px; }
.bk__step { display: none; animation: fade .5s var(--ease); }
.bk__step.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.bk__q { font-size: 17px; margin-bottom: 14px; }
.bk__q + * + .bk__q, .bk__areas + .bk__q { margin-top: 28px; }
.bk__areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.chip { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; text-align: start; font-size: 15px; transition: border-color .2s, background .2s; }
.chip svg { width: 22px; height: 22px; flex: none; color: var(--navy-3); }
.chip:hover { border-color: var(--navy-3); }
.chip.sel { border-color: var(--gold); background: var(--gold-soft); }
.chip.sel svg { color: var(--gold-ink); }
.bk__modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mode { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1.5px solid var(--line); border-radius: 12px; text-align: start; transition: border-color .2s, background .2s; }
.mode svg { width: 28px; height: 28px; flex: none; color: var(--navy-3); }
.mode b { display: block; font-family: var(--f-head); font-weight: 500; color: var(--ink); }
.mode small { font-size: 13px; color: var(--muted); }
.mode:hover { border-color: var(--navy-3); }
.mode.sel { border-color: var(--gold); background: var(--gold-soft); }
.bk__date { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal__head strong { font-family: var(--f-head); font-weight: 500; color: var(--ink); text-transform: capitalize; }
.cal__nav { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; }
.cal__nav svg { width: 18px; height: 18px; }
[dir="rtl"] .cal__nav svg { transform: scaleX(-1); }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__wd, .cal__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__wd span { font-size: 12px; color: var(--muted); padding: 6px 0; }
.day { aspect-ratio: 1; border-radius: 8px; font-size: 14.5px; font-family: "IBM Plex Sans", sans-serif; transition: background .2s, color .2s; }
.day:not(.off):hover { background: var(--mist); }
.day.off { color: #b9c0cc; cursor: default; text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .12); }
.day.sel { background: var(--navy); color: var(--gold-2); font-weight: 600; }
.slots__date { font-family: var(--f-head); font-weight: 500; color: var(--ink); margin-bottom: 12px; }
.slots__empty { color: var(--muted); padding: 24px; border: 1.5px dashed var(--line); border-radius: 12px; text-align: center; font-size: 15px; }
.slots__g + .slots__g { margin-top: 16px; }
.slots__g small { display: block; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.slots__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.slot { padding: 9px 0; border: 1.5px solid var(--line); border-radius: 8px; font-size: 14px; font-family: "IBM Plex Sans", sans-serif; direction: ltr; transition: border-color .2s, background .2s; }
.slot:hover:not(.taken) { border-color: var(--navy-3); }
.slot.sel { background: var(--navy); border-color: var(--navy); color: var(--gold-2); }
.slot.taken { color: #b9c0cc; text-decoration: line-through; cursor: default; background: var(--paper); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field input, .field textarea { font: inherit; font-size: 15.5px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy-3); box-shadow: 0 0 0 4px rgba(37, 57, 95, .1); }
.field input.invalid { border-color: var(--err); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.bk__bar { display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; align-items: center; padding: 18px 36px; background: var(--paper); border-top: 1px solid var(--line); }
.bk__bar[hidden] { display: none; }
.bk__sum { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.bk__sum span { display: flex; flex-direction: column; line-height: 1.3; opacity: .45; transition: opacity .3s; }
.bk__sum span.on { opacity: 1; }
.bk__sum small { font-size: 12px; color: var(--muted); }
.bk__sum b { font-size: 14px; color: var(--ink); font-weight: 600; }
.bk__err { grid-column: 1 / -1; grid-row: 2; color: var(--err); font-size: 14px; min-height: 0; }
.bk__err:empty { display: none; }
.bk__err.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.bk__nav { display: flex; gap: 10px; }
.bk__done { text-align: center; padding: 24px 0; }
.bk__doneIc { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: rgba(31, 168, 85, .12); color: var(--wa); display: grid; place-items: center; }
.bk__doneIc svg { width: 36px; height: 36px; }
.bk__done h3 { font-size: 24px; margin-bottom: 8px; }
.bk__done p { color: var(--muted); max-width: 32em; margin: 0 auto; }
.bk__recap { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0; }
.bk__recap span { padding: 6px 14px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.bk__doneBtns { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq__side { position: sticky; top: calc(var(--hdr) + 32px); }
.urgent { margin-top: 32px; padding: 26px; border-radius: var(--r); background: var(--navy); color: rgba(255, 255, 255, .78); position: relative; overflow: hidden; }
.urgent::after { content: ""; position: absolute; top: 0; inset-inline-end: 0; width: 90px; height: 90px; background: var(--gold); clip-path: polygon(100% 0, 30% 0, 100% 70%); opacity: .9; }
[dir="rtl"] .urgent::after { clip-path: polygon(0 0, 70% 0, 0 70%); }
.urgent strong { display: block; font-family: var(--f-head); color: var(--white); font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.urgent p { font-size: 15px; max-width: 26em; }
.urgent__tel { display: inline-flex !important; align-items: center; gap: 10px; margin-top: 18px; font-family: var(--f-head); font-size: 22px; font-weight: 600; color: var(--gold-2); }
.urgent__tel svg { width: 22px; height: 22px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa h3 { font-size: 18px; font-weight: 500; }
.qa__x { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.qa__x::before, .qa__x::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.6px; background: var(--ink); transform: translate(-50%, -50%); }
.qa__x::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.qa[open] .qa__x { background: var(--navy); border-color: var(--navy); }
.qa[open] .qa__x::before, .qa[open] .qa__x::after { background: var(--gold-2); }
.qa[open] .qa__x::after { transform: translate(-50%, -50%) rotate(0); }
.qa p { padding: 0 0 22px; color: var(--muted); max-width: 44em; padding-inline-end: 50px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: stretch; }
.infos { margin-top: 30px; display: grid; gap: 4px; }
.infos li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.infos li > svg { width: 22px; height: 22px; flex: none; color: var(--gold-ink); margin-top: 3px; }
.infos div { display: flex; flex-direction: column; }
.infos small { font-size: 13px; color: var(--muted); }
.infos a, .infos span { color: var(--ink); font-size: 16px; }
.infos a:hover { color: var(--gold-ink); }
.infos a.ltr { align-self: flex-start; }
.hours-l { display: block; }
.contact__map { position: relative; min-height: 440px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--mist); }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.contact__dir { position: absolute; bottom: 16px; inset-inline-start: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 10px; background: var(--navy); color: var(--white); font-family: var(--f-head); font-size: 14.5px; box-shadow: var(--shadow); }
.contact__dir svg { width: 16px; height: 16px; color: var(--gold-2); }
.contact__dir:hover { background: var(--navy-3); }

/* ---------- Pied de page ---------- */
.footer { position: relative; background: var(--navy); color: rgba(255, 255, 255, .66); padding: 80px 0 28px; overflow: hidden; isolation: isolate; font-size: 15px; }
.footer__diag { position: absolute; inset: 0; z-index: -1; background: var(--navy-2); clip-path: polygon(70% 0, 100% 0, 100% 100%, 84% 100%); }
[dir="rtl"] .footer__diag { clip-path: polygon(0 0, 30% 0, 16% 100%, 0 100%); }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__word { font-family: var(--f-head); color: var(--white); font-size: clamp(24px, 3vw, 36px); font-weight: 500; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; padding: 48px 0; }
.footer h3 { color: var(--gold-2); font-size: 15px; font-weight: 500; margin-bottom: 16px; }
.footer ul { display: grid; gap: 8px; }
.footer a:hover { color: var(--white); }
.footer__about { margin-top: 18px; max-width: 26em; font-size: 14.5px; }
.brand--light .brand__txt small { color: rgba(255, 255, 255, .6); }
.hours li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: rgba(255, 255, 255, .45); }

/* ---------- Actions flottantes ---------- */
.wa-float { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: var(--white); display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(31, 168, 85, .6); opacity: 0; transform: scale(.6); pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.wa-float svg { width: 30px; height: 30px; }
.past-hero .wa-float { opacity: 1; transform: none; pointer-events: auto; }
.mbar { display: none; }

/* ---------- Animations d'apparition ---------- */
.js .rise { opacity: 0; transform: translateY(26px); }
.loaded .rise { animation: rise .9s var(--ease) calc(var(--i, 0) * .09s) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .1s; } .js .reveal[data-d="2"] { transition-delay: .2s; } .js .reveal[data-d="3"] { transition-delay: .3s; } .js .reveal[data-d="4"] { transition-delay: .4s; }
.js .svc.reveal.in { transition: opacity .8s var(--ease), transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease); }
.js .svc.reveal.in:hover { transform: translateY(-4px); }
.js .sheet.reveal.in { transform: rotate(-1.5deg); }
[dir="rtl"] .js .sheet.reveal.in, .js[dir="rtl"] .sheet.reveal.in { transform: rotate(1.5deg); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .rise { opacity: 1 !important; transform: none !important; animation: none !important; }
  .hit::before { animation: none; }
  .bcard, .bcard__inner { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav > a { padding: 8px 9px; font-size: 14.5px; }
  .header__cta { display: none; }
}
@media (max-width: 960px) {
  :root { --hdr: 64px; }
  .burger { display: block; }
  /* backdrop-filter ferait du header le bloc conteneur du menu fixe : fond plein sur mobile */
  .header { background: var(--navy); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav { position: fixed; inset: var(--hdr) 0 0; flex-direction: column; gap: 0; padding: 24px; background: var(--navy); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility .3s; overflow-y: auto; }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav > a { font-family: var(--f-head); font-size: 22px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); color: var(--white); }
  .nav > a::after { display: none; }
  .nav__foot { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; color: var(--gold-2); }
  .nav__foot a.ltr { align-self: flex-start; }
  .hero { padding-top: 48px; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; padding-bottom: 44px; }
  .hero__panel, [dir="rtl"] .hero__panel { clip-path: polygon(0 58%, 100% 40%, 100% 100%, 0 100%); }
  .hero__media { max-width: 520px; margin-inline: auto; width: 100%; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3)::before { display: none; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .head { grid-template-columns: 1fr; margin-bottom: 40px; }
  .services { grid-template-columns: 1fr 1fr; }
  .about, .report, .faq, .contact { grid-template-columns: 1fr; gap: 48px; }
  .faq__side { position: static; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .steps__line { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .sec { padding: 80px 0; }
}
@media (max-width: 680px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .wrap { padding-inline: 16px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__txt strong { font-size: 16px; }
  .brand__txt small { font-size: 11px; }
  .header__end { gap: 8px; }
  .lang button { min-width: 30px; }
  .hero__title { margin: 18px 0 16px; }
  .hero__text { font-size: 16.5px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .facts li { padding: 18px 16px; }
  .facts b { font-size: 17px; }
  .facts span { font-size: 13px; }
  .services { grid-template-columns: 1fr; }
  .ticks { grid-template-columns: 1fr; }
  .sheet { padding: 22px 18px; }
  .sheet::before { inset: 10px -6px -10px 6px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { text-align: start; display: grid; grid-template-columns: 54px 1fr; column-gap: 18px; padding: 0; }
  .steps__n { margin: 0; grid-row: span 2; }
  .tip { align-items: flex-start; }
  .bk__body { padding: 24px 18px; }
  .bk__steps b { display: none; }
  .bk__modes, .bk__date, .form { grid-template-columns: 1fr; }
  .bk__areas { grid-template-columns: 1fr; }
  .bk__bar { grid-template-columns: 1fr; padding: 16px 18px; }
  .bk__err { grid-row: auto; }
  .bk__nav { justify-content: space-between; }
  .bk__nav .btn { flex: 1; padding: 0 14px; }
  .slots__grid { grid-template-columns: repeat(3, 1fr); }
  .qa p { padding-inline-end: 0; }
  .contact__map { min-height: 340px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .wa-float { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; inset: auto 0 0; z-index: 45; height: 64px; background: var(--white); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 12px; font-weight: 500; color: var(--ink); }
  .mbar svg { width: 22px; height: 22px; }
  .mbar a:nth-child(2) svg { color: var(--wa); }
  .mbar__main { background: var(--navy); color: var(--gold-2) !important; }
}
@media (max-width: 380px) {
  .brand__txt small { display: none; }
}
