/* Polices hébergées sur le site (pas d'appel à Google Fonts) */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  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;
}
/* Sous-ensemble limité aux lettres arabes utilisées sur la page : à régénérer si un texte arabe change */
@font-face {
  font-family: "Noto Sans Arabic"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/noto-sans-arabic-subset.woff2") format("woff2");
  unicode-range: U+0600-06FF;
}
/* Palette propre au site : bleu marine et tons froids, dans l'esprit des sites publics sans en reprendre les valeurs */
:root {
  --blue: #1b2a85;
  --blue-hover: #2b3fbf;
  --blue-975: #f3f5fc;
  --blue-950: #e9edf9;
  --blue-925: #dde3f5;
  --red: #d42a34;
  --ink: #1a1c23;
  --ink-soft: #3f4350;
  --muted: #676b78;
  --line: #dde0e7;
  --line-strong: #c9cdd6;
  --grey-bg: #f4f5f8;
  --bg: #ffffff;
  --on-blue: #ffffff;
  --blue-deep: #16236f;
  --success: #1b7a44;
  --focus: #3d6bff;
  --wa: #1f8f4e;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(16,22,48,.06), 0 4px 16px -4px rgba(16,22,48,.10);
  --max: 1200px;
  color-scheme: light;
}
/* Thème sombre, posé par affichage.js */
:root[data-theme="dark"] {
  --blue: #8f9cf5;
  --blue-hover: #b4bdf9;
  --blue-975: #1a1f38;
  --blue-950: #20264a;
  --blue-925: #283058;
  --red: #ff6b6f;
  --ink: #eef0f6;
  --ink-soft: #c4c8d4;
  --muted: #8d92a2;
  --line: #2c3245;
  --line-strong: #3d4459;
  --grey-bg: #191d2b;
  --bg: #121521;
  --on-blue: #0e1550;
  --success: #3bb26c;
  --focus: #9fb0ff;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 18px -6px rgba(0,0,0,.5);
  color-scheme: dark;
}
/* Les documents de l'illustration restent sur papier blanc */
:root[data-theme="dark"] :is(.paper, .p-lic) { --blue: #1b2a85; --ink: #1a1c23; --muted: #676b78; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-weight: 700; line-height: 1.25; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.2vw, 2.75rem); line-height: 1.2; }
h2 { font-size: clamp(1.6rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--blue); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.ar { font-family: "Noto Sans Arabic", "Inter", sans-serif; direction: rtl; }
.eyebrow {
  display: inline-block; font-size: .85rem; font-weight: 600;
  color: var(--blue); background: var(--blue-950);
  padding: 4px 14px; border-radius: 999px; margin-bottom: 16px;
}

.flag-fr {
  display: inline-block; width: 18px; height: 12px; margin-right: 8px; vertical-align: -1px; border-radius: 2px;
  background: linear-gradient(90deg, #000091 0 33.4%, #fff 33.4% 66.6%, #e1000f 66.6%);
  box-shadow: 0 0 0 1px rgba(0,0,18,.18);
}

/* En-tête */
header.site {
  position: sticky; top: 0; z-index: 20; background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.logo { width: 48px; height: 48px; flex-shrink: 0; display: block; }
.logo svg { width: 100%; height: 100%; display: block; }
.brand strong { display: block; font-size: 1.1rem; font-weight: 700; line-height: 1.25; }
.brand span:not(.logo) { display: block; font-size: .85rem; color: var(--ink-soft); line-height: 1.35; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0 0 0 auto; padding: 0; font-size: .9rem; font-weight: 500; }
.nav ul a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.nav ul a:hover { background: var(--grey-bg); color: var(--blue); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  min-height: 44px; padding: 8px 20px; border-radius: var(--radius-sm); font-weight: 500; font-size: 1rem;
  text-decoration: none; border: 0; transition: background .15s, color .15s; white-space: nowrap;
}
.btn-primary { background: var(--blue); color: var(--on-blue); }
.btn-primary:hover { background: var(--blue-hover); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #18733f; }
.btn-wa svg { width: 20px; height: 20px; }
.btn-ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.btn-ghost:hover { background: var(--blue-975); }
.btn svg { width: 18px; height: 18px; }
.btn-lg { min-height: 60px; padding: 14px 30px; font-size: 1.15rem; font-weight: 700; }
.btn-lg svg, .btn-wa.btn-lg svg { width: 24px; height: 24px; }
img.pj { width: 24px; height: 24px; border-radius: 4px; flex-shrink: 0; display: inline-block; vertical-align: middle; }

/* Bandeau principal */
.hero { padding: 72px 0; background: var(--blue-975); }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.hero .lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; }
.hero .ar-line { font-size: 1.4rem; font-weight: 500; line-height: 1.7; color: var(--blue); margin: -4px 0 20px; text-align: left; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.credential { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; position: relative; }
.seal {
  position: absolute; top: 24px; right: 24px; width: 64px; height: 64px; border-radius: 50%;
  border: 2px solid var(--blue); color: var(--blue); display: grid; place-items: center;
  outline: 1px solid var(--blue); outline-offset: 3px;
}
.seal svg { width: 30px; height: 30px; }
.cred-kicker { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 0 90px 10px 0; }
.cred-title { font-size: 1.3rem; font-weight: 700; line-height: 1.35; margin: 0 90px 24px 0; }
.cred-title em { font-style: normal; color: var(--blue); }
.cred-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin: 0; padding-top: 24px; border-top: 1px solid var(--line); }
.cred-facts dt { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.cred-facts dd { margin: 2px 0 0; font-weight: 500; line-height: 1.4; }
.cred-verify { display: inline-block; margin-top: 24px; font-size: .88rem; color: var(--ink-soft); }
.cred-verify a { text-underline-offset: 3px; }

/* Apparition en cascade au défilement */
.js .rv { opacity: 0; translate: 0 12px; transition: opacity .35s ease-out, translate .35s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; translate: none; transition: none; } }
/* Conversion */
.avail { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 0; font-size: .92rem; font-weight: 500; color: var(--ink); }
.avail .dot { width: 10px; height: 10px; border-radius: 50%; background: #18a058; animation: pulse 2s infinite; }
.avail.on-dark { color: #fff; margin: 0 0 20px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(24,160,88,.55); } 70% { box-shadow: 0 0 0 9px rgba(24,160,88,0); } 100% { box-shadow: 0 0 0 0 rgba(24,160,88,0); } }
@media (prefers-reduced-motion: reduce) { .avail .dot { animation: none; } }
.hero .avail + .hero-ctas { margin-top: 14px; }
.reassure { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .92rem; color: var(--ink-soft); }
.reassure li { display: flex; align-items: center; gap: 6px; }
.reassure svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; }
.cta-strip {
  margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  padding: 24px 28px; background: var(--blue-975); border: 1px solid var(--blue-925); border-radius: var(--radius);
}
.cta-strip p { margin: 0; font-size: 1.15rem; font-weight: 700; }
.cta-strip p span { display: block; font-size: .97rem; font-weight: 400; color: var(--ink-soft); }
.docs-note a { font-weight: 700; }
.quote { background: var(--bg); color: var(--ink); padding: 28px; margin-top: 24px; border-radius: var(--radius); }
.quote-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.quote-grid .quote { margin-top: 0; }
.quote-sec h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.quote-grid > div > p { font-size: 1.1rem; color: #e3e3fd; }
.quote-grid > div > p.avail { font-size: .92rem; color: #fff; }
.reassure.on-dark { color: #fff; flex-direction: column; gap: 10px; margin: 24px 0; font-size: 1rem; }
.reassure.on-dark svg { color: #6fe3a0; width: 18px; height: 18px; }
.quote fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.quote legend { padding: 0; margin-bottom: 10px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips label {
  cursor: pointer; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .92rem; font-weight: 500;
  background: var(--bg); color: var(--ink); transition: background .12s, border-color .12s;
}
.chips label:hover { border-color: var(--blue); color: var(--blue); }
.chips input:checked + label { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.legend-hint { font-weight: 400; font-size: .85rem; color: var(--muted); margin-left: 6px; }
.chips input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
.quote .btn { width: 100%; }
.quote-hint { margin: 14px 0 0; font-size: .9rem; color: var(--ink-soft); }
.contact .contact-list { margin-top: 0; }
/* Illustration documents */
.dv-wrap { min-width: 0; }
.docs-visual { position: relative; height: 480px; max-width: 500px; width: 100%; margin: 0 auto; }
.docs-visual.dv-fixed { width: 500px; max-width: none; }
.dv-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.paper {
  position: absolute; width: 50%; aspect-ratio: 200 / 276; overflow: hidden;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .1 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), var(--paper-bg, #fff);
  box-shadow: 0 1px 2px rgba(0,0,18,.08), 0 18px 40px -18px rgba(0,0,145,.3);
}
.paper .tex { position: absolute; inset: 0; width: 100%; height: 100%; }
.paper .cnt { position: relative; height: 100%; padding: 13% 11% 10%; display: flex; flex-direction: column; gap: 4.5%; }
.paper .cnt.center { align-items: center; }
.p-ar { --paper-bg: #f8f8ff; right: 2%; top: 4%; transform: rotate(7deg); }
.p-dip { --paper-bg: #fffaf0; left: 2%; top: 0; transform: rotate(-6deg); }
.p-fr { --paper-bg: #ffffff; left: 26%; top: 20%; width: 52%; transform: rotate(-1deg); z-index: 2; }
.wm-blue { color: #a9aee3; opacity: .55; }
.gold { color: #b99a4c; }
.pink { color: #d98ca1; opacity: .7; }

.emblem { width: 15%; align-self: flex-end; color: #6a70b8; }
.p-head { font-weight: 700; font-size: .9rem; color: var(--ink); line-height: 1.2; }
.p-head.ar { font-family: "Noto Sans Arabic", "Inter", sans-serif; text-align: right; font-size: 1.05rem; font-weight: 600; color: #2b2f6b; }
.p-head.dip { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 1.15rem; letter-spacing: .18em; text-transform: uppercase; color: #7a6428; }
.rule { display: block; height: 1px; background: #9fa4d8; }
.rows { display: flex; flex-direction: column; gap: 8px; }
.rows .row { display: flex; align-items: center; gap: 4px; }
.rows.rtl .row { flex-direction: row-reverse; }
.rows .lb { display: block; height: 4px; border-radius: 2px; background: #9ea3c9; flex-shrink: 0; }
.rows .dots { flex: 1; height: 0; border-bottom: 1.5px dotted #c3c6e0; min-width: 6%; }
.rows .vl { display: block; height: 5px; border-radius: 2px; background: #d9dbea; flex-shrink: 0; }
.p-fr .rows .lb { background: #b8bccc; }
.p-fr .rows .vl { background: #e3e4ec; }
.stamp-old { position: absolute; right: 9%; bottom: 6%; width: 30%; color: #7b5fb3; opacity: .55; transform: rotate(-18deg); }

.crest { width: 20%; color: #b99a4c; }
.p-dip .ln { display: block; height: 4px; border-radius: 2px; background: #e6dbbd; }
.p-dip .ln.thin { height: 3px; background: #ece4cc; }
.p-dip .ln.name { height: 7px; background: #d6c79c; }
.dip-foot { margin-top: auto; width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 6%; }
.sigl { display: block; flex: 1; height: 1px; background: #c9b06b; margin-bottom: 8%; }
.seal-gold { position: absolute; left: 11%; top: 50%; width: 30%; color: #a8873a; transform: rotate(-8deg); filter: drop-shadow(0 1px 1px rgba(120,90,20,.25)); }

.p-lic {
  position: absolute; z-index: 1; left: 0; top: 56%; width: 40%; aspect-ratio: 1.586 / 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .1 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), #fdeef1; border: 1px solid #efc6d0; border-radius: 8px; overflow: hidden; transform: rotate(-10deg);
  box-shadow: 0 1px 2px rgba(0,0,18,.08), 0 14px 30px -14px rgba(0,0,145,.32); display: flex; flex-direction: column;
}
.p-lic .tex { position: absolute; inset: 0; width: 100%; height: 100%; }
.lic-band { position: relative; background: linear-gradient(90deg, #e5a9b8, #f0c4cf); color: #6e2338; font-family: "Noto Sans Arabic", "Inter", sans-serif; font-size: .78rem; font-weight: 600; padding: 3px 10px; text-align: left; }
.lic-body { position: relative; flex: 1; display: grid; grid-template-columns: 30% 1fr; gap: 9%; padding: 8% 8%; align-items: center; }
.lic-photo { aspect-ratio: 3 / 4; background: #f5d9df; border: 1px solid #e9bcc7; display: grid; place-items: end center; overflow: hidden; }
.lic-photo i { width: 70%; aspect-ratio: 1; border-radius: 50% 50% 0 0; background: #dea2b1; margin-bottom: -20%; }
.lic-lines { display: flex; flex-direction: column; gap: 7px; }
.lic-lines i { display: block; height: 4px; border-radius: 2px; background: #eab8c4; }
.holo {
  position: absolute; right: 7%; bottom: 9%; width: 20%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 30deg, #ffd6e2, #cdeffd, #e2d7ff, #fff0bf, #d3f7df, #ffd6e2); opacity: .85;
  color: rgba(255,255,255,.9); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}
.holo svg { width: 100%; height: 100%; }

.p-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-bottom: 7px; border-bottom: 1.5px solid var(--blue); }
.p-top b { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }
.p-top span { font-size: .7rem; color: var(--muted); font-weight: 500; white-space: nowrap; }
.p-meta { display: flex; justify-content: space-between; }
.p-meta i { display: block; height: 3px; border-radius: 2px; background: #d6d8e4; }
.cert { margin-top: auto; display: flex; flex-direction: column; gap: 5px; }
.cert i { display: block; height: 2.5px; border-radius: 2px; background: #c9cbd8; }
.cert i.date { margin-top: 5px; align-self: flex-end; background: #b4b7c8; }
.p-foot { margin-top: 2%; display: flex; align-items: flex-end; justify-content: space-between; }
.stamp { width: 42%; color: var(--blue); opacity: .88; transform: rotate(-12deg); font-family: "Inter", sans-serif; }
.sig { width: 44%; color: #1b1b6e; opacity: .9; margin-bottom: 6%; }
.dv-badge {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; text-align: center;
  color: var(--ink-soft); font-size: .9rem; line-height: 1.35;
}
.dv-badge svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--blue); }
.dv-badge b { color: var(--ink); font-weight: 600; }
/* Illustration : les documents se posent l'un après l'autre, puis tampon et signature */
.hero { overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) {
  .js .docs-visual:not(.dv-play) :is(.paper, .p-lic) { opacity: 0; }
  .dv-play :is(.paper, .p-lic) { animation: 1s cubic-bezier(.22,.61,.36,1) backwards; }
  .dv-play .p-ar { animation-name: dv-ar; animation-delay: .05s; }
  .dv-play .p-dip { animation-name: dv-dip; animation-delay: .35s; }
  .dv-play .p-lic { animation-name: dv-lic; animation-delay: .65s; }
  .dv-play .p-fr { animation-name: dv-fr; animation-delay: .95s; }
  .dv-play .stamp { animation: dv-stamp .5s cubic-bezier(.22,.61,.36,1) 1.6s backwards; }
  .dv-play .sig path { stroke-dasharray: 1; animation: dv-sign .7s ease-in-out 1.8s backwards; }
}
@keyframes dv-ar { from { opacity: 0; translate: 28px -44px; rotate: 6deg; scale: 1.04; } }
@keyframes dv-dip { from { opacity: 0; translate: -28px -44px; rotate: -6deg; scale: 1.04; } }
@keyframes dv-lic { from { opacity: 0; translate: -32px -16px; rotate: -16deg; } }
@keyframes dv-fr { from { opacity: 0; translate: 0 -56px; rotate: -3deg; scale: 1.08; } }
@keyframes dv-stamp { from { opacity: 0; scale: 1.35; } }
@keyframes dv-sign { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.about-grid .credential { margin-top: 32px; }
/* Chiffres clés */
.trust { border-bottom: 1px solid var(--line); background: var(--bg); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 28px 20px; text-align: center; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; }
.trust-item b { display: block; font-size: 1.4rem; font-weight: 700; color: var(--blue); line-height: 1.3; }
.trust-item span { font-size: .88rem; color: var(--ink-soft); }
.stars { color: var(--blue); letter-spacing: 2px; }

.rating-badge {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
}
.rating-badge:hover { border-color: var(--blue); }
.rating-badge .stars { font-size: 1.15rem; }
.rating-badge img.pj { width: 28px; height: 28px; }
.rating-badge b { font-size: 1.05rem; }
.rating-badge span.src { color: var(--ink-soft); font-size: .92rem; }
.rating-badge u { color: var(--blue); font-size: .92rem; text-underline-offset: 3px; }
.reviews-grid { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: center; }
.score {
  background: var(--bg); padding: 36px 32px; text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.score .pj-head { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; margin-bottom: 18px; }
.score .pj-head img.pj { width: 36px; height: 36px; border-radius: 6px; }
.score .big { font-size: 4.5rem; font-weight: 700; color: var(--blue); line-height: 1; }
.score .big small { font-size: 1.6rem; color: var(--muted); font-weight: 500; }
.score .stars { display: block; font-size: 1.8rem; margin: 10px 0 6px; }
.score p { color: var(--ink-soft); margin: 0 0 22px; }
.score .btn { width: 100%; white-space: normal; }
.themes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.themes li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.themes b { display: block; color: var(--blue); margin-bottom: 4px; }
.themes span { color: var(--ink-soft); font-size: .95rem; }
.trust-item a { color: inherit; text-decoration: none; display: block; }
.trust-item a:hover span { text-decoration: underline; }
section.block { padding: 80px 0; }
section.alt { background: var(--grey-bg); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px;
}
.card .icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--blue-950); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }
.card p { color: var(--ink-soft); font-size: .97rem; margin: 0; }
/* Deux colonnes : modes de traduction (assermentée ou non) et autres prestations */
.services.two { grid-template-columns: repeat(2, 1fr); }
.card .genres { margin-top: 16px; }
.card-list { margin: 0; padding-left: 1.1em; color: var(--ink-soft); font-size: .97rem; }
.card-list li + li { margin-top: 4px; }
.sub-head { font-size: 1.3rem; margin: 56px 0 20px; }
.sub-head:has(+ .sub-lead) { margin-bottom: 6px; }
.sub-lead { color: var(--ink-soft); margin: 0 0 20px; }
.domains { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.genres { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.genres li { padding: 6px 14px; border-radius: 999px; background: var(--blue-975); border: 1px solid var(--blue-925); color: var(--blue); font-size: .9rem; font-weight: 500; }

/* Documents */
.docs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.docs a {
  display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); font-weight: 500; line-height: 1.35; text-decoration: none; transition: border-color .15s, background .15s, color .15s;
}
.docs a:hover { border-color: var(--blue); background: var(--blue-975); color: var(--blue); }
.docs .di { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--blue-950); color: var(--blue); }
.docs .di svg { width: 22px; height: 22px; }
.docs .dl { flex: 1; }
.docs .arr { width: 20px; height: 20px; flex-shrink: 0; color: var(--blue); transition: transform .15s; }
.docs a:hover .arr { transform: translateX(3px); }
.docs-note {
  margin-top: 32px; padding: 16px 20px; background: var(--blue-950); border-radius: var(--radius);
  color: var(--ink); font-size: .97rem;
}

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { counter-increment: step; }
.step::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  font-size: 1.05rem; font-weight: 700; color: var(--on-blue); background: var(--blue); margin-bottom: 16px;
}
.step p { color: var(--ink-soft); font-size: .97rem; }

/* Parcours */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--blue-925); background: var(--bg); padding: 28px 28px 28px 0; }
.timeline li { position: relative; padding: 0 0 24px 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--blue);
}
.timeline .yr { font-size: .82rem; font-weight: 700; color: var(--blue); text-transform: uppercase; }
.timeline .what { font-weight: 500; }
.timeline .where { display: block; font-weight: 400; font-size: .92rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 860px; }
.qa { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); margin-bottom: 12px; padding: 18px 20px 4px; }
.qa h3 { font-size: 1.03rem; font-weight: 600; color: var(--blue); margin: 0 0 8px; }
.qa p { color: var(--ink-soft); margin: 0 0 14px; }

/* Contact */
.contact { background: var(--blue-deep); color: #fff; }
.contact h2 { color: #fff; }
.contact .eyebrow { color: var(--blue-deep); background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; color: #fff; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list .ic-wa { background: #25d366; }
.contact-list small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: #cacafb; font-weight: 700; }
.contact-list a { color: #fff; font-weight: 500; font-size: 1.08rem; text-underline-offset: 3px; }
.see-also { color: #cacafb; }
.see-also a { color: #fff; font-weight: 500; text-underline-offset: 3px; }
.contact .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.contact .btn-ghost:hover { background: rgba(255,255,255,.12); }

footer { background: var(--bg); color: var(--ink-soft); font-size: .85rem; padding: 28px 0; border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.foot-link { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
footer a { color: inherit; text-underline-offset: 3px; }
.foot-link:hover, footer a:hover { color: var(--blue); }

/* Bandeau cookies : posé par-dessus la page, en bas, sans décaler le contenu */
.cc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--bg);
  border-top: 1px solid var(--line); padding: 20px 0 calc(20px + env(safe-area-inset-bottom));
  box-shadow: 0 -1px 3px rgba(0,0,18,.12), 0 -16px 40px -16px rgba(0,0,18,.3);
}
.cc-in { display: flex; align-items: center; gap: 16px 40px; }
.cc-txt { flex: 1; min-width: 0; }
.cc-txt p { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--ink-soft); }
.cc-txt .cc-title { margin-bottom: 4px; font-size: 1rem; font-weight: 700; color: var(--ink); }
.cc-btns { display: flex; gap: 12px; flex-shrink: 0; }
.cc-btns .btn { min-width: 140px; }
body.cc-on .qw, body.cc-on .callbar { display: none; }
@media (max-width: 640px) {
  .cc { padding: 16px 0 calc(16px + env(safe-area-inset-bottom)); }
  .cc-in { flex-direction: column; align-items: stretch; gap: 14px; }
  .cc-txt p { font-size: .88rem; }
  .cc-btns .btn { flex: 1; min-width: 0; }
}
@media print { .cc { display: none !important; } }

/* Paramètres d'affichage (affichage.js) */
.disp-btn {
  display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; padding: 0; border-radius: 50%;
  color: var(--blue); background: transparent; border: 0; cursor: pointer;
}
.disp-btn:hover { background: var(--grey-bg); }
.disp-btn svg { width: 22px; height: 22px; }
/* Libellé lu par les lecteurs d'écran, icône seule à l'écran */
.disp-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.disp {
  width: min(480px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: var(--radius);
  background: var(--bg); color: var(--ink); box-shadow: 0 6px 18px rgba(0,0,18,.16), 0 24px 64px -16px rgba(0,0,18,.5);
}
.disp::backdrop { background: rgba(22,22,22,.64); }
.disp-in { position: relative; padding: 32px 32px 28px; }
.disp-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 0; background: transparent; color: var(--blue); cursor: pointer; }
.disp-x:hover { background: var(--grey-bg); }
.disp-x svg { width: 20px; height: 20px; }
.disp h2 { font-size: 1.5rem; margin-right: 40px; }
.disp p { color: var(--ink-soft); }
.disp fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
.disp legend { padding: 0; margin-bottom: 12px; font-weight: 700; }
.disp-opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.disp-opt:hover { border-color: var(--blue); }
.disp-opt:has(input:checked) { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.disp-opt input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--blue); }
.disp-opt span { flex: 1; line-height: 1.35; }
.disp-opt b { display: block; font-weight: 500; }
.disp-opt small { display: block; font-size: .82rem; color: var(--muted); }
.disp-swatch { width: 56px; height: 40px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 4px; }
.disp-light { background: linear-gradient(#1b2a85 0 30%, transparent 30%), linear-gradient(90deg, #f3f5fc 0 40%, #fff 40%); }
.disp-dark { background: linear-gradient(#8f9cf5 0 30%, transparent 30%), linear-gradient(90deg, #1a1f38 0 40%, #121521 40%); }
.disp-system { background: linear-gradient(135deg, #fff 0 50%, #121521 50%); }
@media (max-width: 640px) { .disp-in { padding: 24px 20px 20px; } }

/* Assistant de devis flottant */
.qw { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; }
.qw[data-state="hidden"] { display: none; }
.qw { transition: opacity .2s, translate .2s; }
.qw.qw-away { opacity: 0; translate: 0 12px; pointer-events: none; }
.qw[data-state="bubble"] .qw-card, .qw[data-state="card"] .qw-mini { display: none; }
.qw-card {
  width: 344px; max-height: calc(100vh - 48px); overflow-y: auto; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(0,0,18,.12), 0 18px 48px -12px rgba(0,0,18,.38); animation: qw-in .26s cubic-bezier(.2,.7,.2,1);
}
@keyframes qw-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.qw-head { display: flex; align-items: center; gap: 12px; padding: 14px 10px 14px 16px; border-bottom: 1px solid var(--line); }
.qw-avatar { width: 42px; height: 42px; flex-shrink: 0; display: block; }
.qw-avatar svg { width: 100%; height: 100%; display: block; }
.qw-who { min-width: 0; }
.qw-who strong { display: block; font-size: .95rem; line-height: 1.25; }
.qw .qw-avail { display: flex; margin: 3px 0 0; font-size: .78rem; font-weight: 500; color: var(--ink-soft); gap: 6px; }
.qw .qw-avail .dot { width: 8px; height: 8px; }
.qw-x { margin-left: auto; align-self: flex-start; width: 36px; height: 36px; flex-shrink: 0; border: 0; background: transparent; color: var(--ink-soft); cursor: pointer; display: grid; place-items: center; }
.qw-x:hover { background: var(--grey-bg); color: var(--ink); }
.qw-x svg { width: 18px; height: 18px; }
.qw-body { padding: 18px 16px; }
.qw-msg { margin: 0 0 16px; padding: 12px 14px; background: var(--blue-975); border-radius: var(--radius-sm) var(--radius) var(--radius) var(--radius); font-size: .95rem; line-height: 1.5; }
.qw .btn { width: 100%; }
.qw-form fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.qw-form legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: .88rem; }
.qw .chips { gap: 6px; }
.qw .chips label { padding: 6px 11px; font-size: .84rem; }
.qw-hint { margin: 10px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }
.qw-foot { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--grey-bg); font-size: .75rem; color: var(--ink-soft); }
.qw-foot svg { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; }
.qw-mini { display: flex; align-items: center; gap: 12px; animation: qw-in .26s cubic-bezier(.2,.7,.2,1); }
.qw-tip { background: var(--bg); color: var(--ink); font-size: .88rem; font-weight: 600; padding: 8px 12px; border-radius: var(--radius-sm); box-shadow: 0 6px 18px -6px rgba(0,0,18,.35); white-space: nowrap; }
.qw-bubble {
  width: 60px; height: 60px; border: 0; border-radius: 50%; background: var(--wa); color: #fff; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 10px 24px -8px rgba(0,0,18,.5); transition: background .15s, transform .15s;
}
.qw-bubble:hover { background: #18733f; transform: scale(1.05); }
.qw-bubble svg { width: 30px; height: 30px; }
.qw { pointer-events: none; }
.qw-card, .qw-mini { pointer-events: auto; }
.qw.qw-away .qw-card, .qw.qw-away .qw-mini { pointer-events: none; }
@media (max-width: 640px) {
  .qw { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); transition: opacity .2s, translate .2s, bottom .25s ease; }
  body.bar-on .qw { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .qw-card { width: 100%; max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); }
  .qw-head { padding: 12px 8px 12px 14px; }
  .qw-body { padding: 14px; }
  .qw-msg { margin-bottom: 12px; font-size: .92rem; }
  .qw-foot { display: none; }
  .qw-bubble { width: 56px; height: 56px; }
  .qw-tip { font-size: .82rem; padding: 7px 10px; }
}
@media print { .qw { display: none !important; } }
.callbar { display: none; }

@media (max-width: 960px) {
  .nav ul { display: none; }
  .quote-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services, .docs { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  body { padding-bottom: 72px; }
  .wrap { padding: 0 16px; }
  .nav { height: 68px; }
  .hero { padding: 48px 0; }
  section.block { padding: 56px 0; }
  .services, .docs, .steps, .themes { grid-template-columns: 1fr; }
  .services.two { grid-template-columns: 1fr; }
  .sub-head { margin-top: 40px; }
  .rating-badge { flex-wrap: wrap; gap: 4px 10px; }
  .brand span:not(.logo) { font-size: .75rem; }
  .logo { width: 42px; height: 42px; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: var(--bg);
    box-shadow: 0 -1px 3px rgba(0,0,18,.16);
  }
  .callbar .btn { padding: 8px 10px; min-height: 52px; font-size: 1rem; font-weight: 700; }
  .js .callbar { transform: translateY(110%); transition: transform .25s ease; }
  .js body.bar-on .callbar { transform: none; }
  .hero-ctas .btn-lg { width: 100%; }
  .cta-strip { padding: 20px; }
  .cta-strip .btn { width: 100%; }
  .quote { padding: 20px; }
  .reassure { flex-direction: column; }
  .docs-visual:not(.dv-fixed) { height: 400px; }
  .docs-visual:not(.dv-fixed) .p-top span { display: none; }
  .docs-visual:not(.dv-fixed) .lic-band { font-size: .6rem; padding: 2px 8px; }
  .docs-visual:not(.dv-fixed) .p-head { font-size: .72rem; }
  .docs-visual:not(.dv-fixed) .p-head.ar { font-size: .85rem; }
  .docs-visual:not(.dv-fixed) .p-head.dip { font-size: .85rem; }
  .docs-visual:not(.dv-fixed) .rows { gap: 6px; }
  .docs-visual:not(.dv-fixed) .lic-lines { gap: 5px; }
  .dv-badge { font-size: .85rem; margin-top: 12px; }
  .credential { padding: 24px; }
  .seal { width: 52px; height: 52px; top: 20px; right: 20px; }
  .seal svg { width: 24px; height: 24px; }
  .cred-kicker, .cred-title { margin-right: 70px; }
}
