/* =========================================================
   MY KELASI — feuille de style du site public
   Les couleurs, polices et arrondis viennent de l'administration
   (variables --primary, --secondary, etc. injectées dans la page).
   ========================================================= */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-b);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-h);
  color: inherit;
  margin: 0 0 .5em;
  line-height: 1.18;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h3 { font-size: 1.12rem; letter-spacing: -0.005em; }
::selection { background: var(--accent); color: var(--text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--dark); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 4px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- Mise en valeur au marqueur ---------- */
mark.hl {
  color: inherit;
  background: linear-gradient(transparent 58%, color-mix(in srgb, var(--accent) 75%, transparent) 58%, color-mix(in srgb, var(--accent) 75%, transparent) 90%, transparent 90%);
  padding: 0 .08em;
  margin: 0 -.04em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Petit texte au-dessus des titres ---------- */
.kicker {
  font-family: var(--font-h);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--secondary); flex: none; }
.center .kicker, .sec-head.center .kicker { justify-content: center; }
.kicker a { color: inherit; text-decoration: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-h); font-weight: 600; font-size: .98rem; line-height: 1.2;
  padding: 15px 24px;
  border-radius: var(--radius);
  border: 0; cursor: pointer; text-decoration: none;
  transition: background-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-main { background: var(--secondary); color: #fff; }
.btn-main:hover { background: color-mix(in srgb, var(--secondary) 86%, #000); }
.btn-sm { padding: 10px 16px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-wa { background: #1FA855; color: #fff; }
.btn-wa:hover { background: #188C46; }
.btn-link { font-family: var(--font-h); font-weight: 600; font-size: .98rem; color: var(--primary); text-decoration: none; border-bottom: 2px solid color-mix(in srgb, var(--primary) 25%, transparent); padding: 4px 0; }
.btn-link:hover { border-bottom-color: var(--primary); }

/* ---------- En-tête ---------- */
.site-header { background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--text) 9%, transparent); z-index: 50; position: relative; }
.site-header.is-sticky { position: sticky; top: 0; backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.header-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: var(--logo-h); width: auto; }
.brand-text { font-family: var(--font-h); font-weight: 700; font-size: 1.3rem; color: var(--primary); }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { color: var(--text); text-decoration: none; font-size: .97rem; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { border-bottom-color: var(--accent); }
.main-nav .nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: 8px; }
.main-nav:empty + .header-actions, .brand + .header-actions { margin-left: auto; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid color-mix(in srgb, var(--text) 15%, transparent); background: transparent; border-radius: var(--radius); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-btn span { width: 18px; height: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections : fonds et espacements ---------- */
.sec { position: relative; }
.sp-compact { padding: 56px 0; }
.sp-normal { padding: 92px 0; }
.sp-large { padding: 128px 0; }
.bg-blanc { background: var(--bg); }
.bg-doux { background: var(--soft); }
.bg-marque { background: var(--primary); color: #fff; }
.bg-sombre { background: var(--dark); color: #E8ECF3; }
.bg-marque .kicker, .bg-sombre .kicker { color: var(--accent); }
.bg-marque a:not(.btn), .bg-sombre a:not(.btn) { color: #fff; }
.bg-marque .sec-intro, .bg-sombre .sec-intro { color: rgba(255,255,255,.8); }
.bg-marque mark.hl, .bg-sombre mark.hl { background: none; color: var(--accent); }

.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-title { font-size: clamp(1.8rem, 3.1vw, 2.55rem); font-weight: 700; margin-bottom: .45em; }
.sec-intro { font-size: 1.12rem; color: var(--muted); }

/* ---------- Bannière ---------- */
.sec-hero.sp-normal { padding: 64px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 64px; align-items: center; }
.hero-title { font-size: clamp(2.2rem, 4.3vw, 3.4rem); font-weight: 700; line-height: 1.07; letter-spacing: -0.03em; margin-bottom: 24px; }
.hero-lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; margin-bottom: 32px; }
.bg-marque .hero-lead, .bg-sombre .hero-lead { color: rgba(255,255,255,.82); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero-points { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .95rem; color: var(--muted); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); flex: none; }
.hero-visual { position: relative; }
.hero-photo { margin: 0; position: relative; }
.hero-photo::before {
  content: ""; position: absolute; inset: 22px -18px -18px 22px;
  background: var(--accent); border-radius: var(--radius); z-index: 0;
}
.hero-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.hero-photo figcaption { position: relative; z-index: 1; font-size: .82rem; color: var(--muted); margin-top: 28px; }
.hero-card {
  position: absolute; z-index: 2; left: -36px; bottom: -40px; width: 252px;
  background: #fff; color: #172033; border-radius: 14px; padding: 14px 14px 12px;
  box-shadow: 0 1px 2px rgba(17,26,46,.08), 0 18px 40px -12px rgba(17,26,46,.28);
  font-family: var(--font-b); font-size: 13px; line-height: 1.35;
}
.hc-top { display: flex; justify-content: space-between; font-weight: 600; color: var(--primary); font-size: 11.5px; padding-bottom: 9px; border-bottom: 1px solid #EEF0F4; margin-bottom: 10px; }
.hc-time { color: #98A0AE; font-weight: 400; }
.hc-who { display: flex; gap: 10px; align-items: center; }
.hc-who strong { display: block; font-size: 13.5px; }
.hc-who small { color: #6B7280; font-size: 12px; }
.hc-avatar { width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, var(--primary) 14%, #fff); color: var(--primary); display: grid; place-items: center; font-weight: 700; flex: none; }
.hc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.hc-stats span { background: #F5F7FA; border-radius: 8px; padding: 6px 8px; }
.hc-stats small { display: block; color: #6B7280; font-size: 11px; }
.hc-stats b { font-size: 15px; color: var(--primary); }
.hc-stats b.ok { color: var(--success); }
.hc-note { margin-top: 9px; padding-top: 8px; border-top: 1px solid #EEF0F4; font-size: 12px; color: #4B5563; }
.hc-note::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--secondary); margin-right: 6px; vertical-align: 1px; }

/* ---------- Avant / après ---------- */
.ba { background: #fff; color: var(--text); border: 1px solid color-mix(in srgb, var(--text) 10%, transparent); border-radius: var(--radius); overflow: hidden; }
.ba-row { display: grid; grid-template-columns: 1fr 1fr; }
.ba-row + .ba-row { border-top: 1px solid color-mix(in srgb, var(--text) 8%, transparent); }
.ba-row > div { padding: 20px 28px; font-size: 1.02rem; }
.ba-head > div { font-family: var(--font-h); font-weight: 600; font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; padding-top: 16px; padding-bottom: 16px; background: color-mix(in srgb, var(--text) 4%, #fff); }
.ba-head > div:last-child, .ba-after { background: color-mix(in srgb, var(--success) 6%, #fff); }
.ba-head > div:last-child { color: color-mix(in srgb, var(--success) 75%, #000); background: color-mix(in srgb, var(--success) 12%, #fff); }
.ba-before { color: var(--muted); position: relative; padding-left: 52px !important; }
.ba-before::before { content: "—"; position: absolute; left: 26px; color: color-mix(in srgb, var(--text) 30%, transparent); }
.ba-after { position: relative; padding-left: 56px !important; }
.ba-after::before {
  content: ""; position: absolute; left: 24px; top: 24px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.ba-mobile { display: none; }

/* ---------- Cartes avec photos ---------- */
.people { display: grid; gap: 28px; }
.people.cols-4 { grid-template-columns: repeat(4, 1fr); }
.people.cols-3 { grid-template-columns: repeat(3, 1fr); }
.people.cols-2 { grid-template-columns: repeat(2, 1fr); }
.person { display: flex; flex-direction: column; }
.person-img { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; }
.person-img img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; transition: transform .5s ease; }
.person:hover .person-img img { transform: scale(1.03); }
.person-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--primary); }
.person.c1 .person-img::after { background: var(--success); }
.person.c2 .person-img::after { background: var(--accent); }
.person.c3 .person-img::after { background: var(--secondary); }
.person-label { font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.person h3 { font-size: 1.2rem; margin-bottom: 8px; }
.person-body p { font-size: 1rem; color: var(--muted); }
.bg-marque .person-body p, .bg-sombre .person-body p, .bg-marque .person-label, .bg-sombre .person-label { color: rgba(255,255,255,.78); }

/* ---------- Liste numérotée ---------- */
.numlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 48px; }
.numlist.cols-2 { grid-template-columns: repeat(2, 1fr); }
.numlist.cols-3 { grid-template-columns: repeat(3, 1fr); }
.numlist.cols-4 { grid-template-columns: repeat(4, 1fr); }
.numlist li { display: grid; grid-template-columns: 38px 1fr; gap: 6px; padding: 24px 0 26px; border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.numlist .num { font-family: var(--font-h); font-weight: 600; font-size: .9rem; color: var(--secondary); padding-top: 2px; font-variant-numeric: tabular-nums; }
.bg-marque .numlist .num, .bg-sombre .numlist .num { color: var(--accent); }
.numlist h3 { font-size: 1.08rem; margin-bottom: 6px; }
.numlist p { font-size: .98rem; color: var(--muted); }
.bg-marque .numlist p, .bg-sombre .numlist p { color: rgba(255,255,255,.75); }
.tag { display: inline-block; font-family: var(--font-b); font-weight: 600; font-size: .72rem; letter-spacing: .04em; color: var(--muted); border: 1px solid color-mix(in srgb, currentColor 22%, transparent); border-radius: 99px; padding: 1px 8px; margin-left: 6px; vertical-align: 2px; }

/* ---------- Onglets / écrans ---------- */
.tab-list { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent); margin-bottom: 44px; }
.tab-list button {
  font-family: var(--font-h); font-size: .98rem; font-weight: 600; color: var(--muted);
  background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px;
  padding: 12px 16px; cursor: pointer;
}
.tab-list button:hover { color: var(--text); }
.tab-list button[aria-selected="true"] { color: var(--primary); border-bottom-color: var(--primary); }
.bg-marque .tab-list button, .bg-sombre .tab-list button { color: rgba(255,255,255,.7); }
.bg-marque .tab-list button[aria-selected="true"], .bg-sombre .tab-list button[aria-selected="true"] { color: #fff; border-bottom-color: var(--accent); }
.tab-panel { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.tab-panel[hidden] { display: none; }
.tp-text h3 { font-size: 1.5rem; margin-bottom: 14px; }
.tp-text p { color: var(--muted); }
.bg-marque .tp-text p, .bg-sombre .tp-text p { color: rgba(255,255,255,.8); }
.tp-shot { justify-self: center; width: 100%; }
.tp-shot img { width: 100%; height: auto; }
.frame-navigateur { background: #fff; border: 1px solid #D9DEE6; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(17,26,46,.35); }
.frame-bar { display: flex; gap: 6px; padding: 10px 12px; background: #F1F3F6; border-bottom: 1px solid #E2E6EC; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D3D8E0; }
.frame-telephone { max-width: 300px; background: #151B28; padding: 10px; border-radius: 36px; box-shadow: 0 30px 60px -30px rgba(17,26,46,.5); }
.frame-telephone img { border-radius: 27px; }
.frame-aucun img { border-radius: var(--radius); }
.small-note { font-size: .85rem; color: var(--muted); margin-top: 28px; }

.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 9px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--success); border-bottom: 2.5px solid var(--success); transform: rotate(-45deg); }
.bg-marque .ticks li::before, .bg-sombre .ticks li::before { border-color: var(--accent); }

/* ---------- Étapes ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 36px; position: relative; }
.steps.n4 { grid-template-columns: repeat(4, 1fr); }
.steps.n3 { grid-template-columns: repeat(3, 1fr); }
.steps.n2 { grid-template-columns: repeat(2, 1fr); }
.steps li { position: relative; }
.steps li::before { content: ""; position: absolute; top: 23px; left: 58px; right: -26px; height: 2px; background: repeating-linear-gradient(90deg, color-mix(in srgb, currentColor 25%, transparent) 0 6px, transparent 6px 12px); }
.steps li:last-child::before { display: none; }
.step-n {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  font-family: var(--font-h); font-weight: 700; font-size: 1.15rem;
  border: 2px solid var(--primary); color: var(--primary); background: var(--bg); margin-bottom: 20px; position: relative;
}
.bg-doux .step-n { background: var(--soft); }
.bg-marque .step-n, .bg-sombre .step-n { border-color: var(--accent); color: var(--accent); background: transparent; }
.steps li:first-child .step-n { background: var(--primary); color: #fff; }
.steps h3 { font-size: 1.12rem; }
.steps p { font-size: 1rem; color: var(--muted); }
.bg-marque .steps p, .bg-sombre .steps p { color: rgba(255,255,255,.78); }

/* ---------- Citation ---------- */
.quote { margin: 0 auto; max-width: 900px; position: relative; padding-left: 64px; }
.quote::before { content: "“"; position: absolute; left: 0; top: -22px; font-family: Georgia, serif; font-size: 7rem; line-height: 1; color: var(--accent); }
.quote blockquote { margin: 0; font-family: var(--font-h); font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 500; line-height: 1.38; letter-spacing: -0.01em; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 1rem; }
.quote figcaption strong { display: block; }
.quote figcaption small { color: var(--muted); font-size: .92rem; }
.bg-marque .quote figcaption small, .bg-sombre .quote figcaption small { color: rgba(255,255,255,.7); }
.quote-img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }

/* ---------- Texte + image ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.no-img { grid-template-columns: 1fr; max-width: 760px; }
.split.img-left .split-img { order: -1; }
.split-img img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3.4; object-fit: cover; }
.rich { font-size: 1.06rem; }
.rich h3 { margin-top: 1.4em; }
.rich ul, .rich ol { padding-left: 1.2em; }
.rich blockquote { border-left: 3px solid var(--accent); margin: 1em 0; padding-left: 1em; color: var(--muted); }
.defs { list-style: none; padding: 0; margin: 26px 0; }
.defs li { padding: 14px 0; border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent); font-size: 1rem; color: var(--muted); }
.defs li strong { display: block; color: var(--text); font-family: var(--font-h); font-size: 1rem; margin-bottom: 2px; }
.bg-marque .defs li, .bg-sombre .defs li { color: rgba(255,255,255,.78); }
.bg-marque .defs li strong, .bg-sombre .defs li strong { color: #fff; }

/* ---------- Chiffres ---------- */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; margin: 0; }
.figures div { border-top: 3px solid var(--accent); padding-top: 16px; }
.figures dt { font-family: var(--font-h); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.figures dd { margin: 8px 0 0; color: var(--muted); }
.bg-marque .figures dd, .bg-sombre .figures dd { color: rgba(255,255,255,.75); }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }

/* ---------- Vidéo ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Bandeau ---------- */
.band { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.band-title { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0; }
.band-text { margin-top: 8px; opacity: .85; }
.band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.contact-text > p { font-size: 1.1rem; }
.bg-marque .contact-text > p, .bg-sombre .contact-text > p { color: rgba(255,255,255,.85); }
.contact-direct { margin-top: 36px; padding-top: 24px; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); display: grid; gap: 8px; }
.cd-label { font-weight: 600; margin-bottom: 4px; }
.contact-direct a { text-decoration: none; font-family: var(--font-h); font-weight: 600; font-size: 1.08rem; }
.contact-direct a span { display: inline-block; min-width: 118px; font-family: var(--font-b); font-weight: 400; font-size: .9rem; opacity: .7; }
.form-box { background: #fff; color: #172033; border-radius: calc(var(--radius) + 4px); padding: 36px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.45); }
.form-box h3 { font-size: 1.3rem; margin-bottom: 22px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.f { display: block; margin-bottom: 16px; }
.f > span { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; color: #2A3448; }
.f input, .f select, .f textarea {
  width: 100%; font: inherit; font-size: 1rem; color: #172033;
  background: #fff; border: 1px solid #CFD5DE; border-radius: max(4px, calc(var(--radius) - 2px));
  padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.f textarea { resize: vertical; min-height: 92px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.f input.is-bad { border-color: #D92D20; }
.form-error { background: #FEF3F2; color: #B42318; border-radius: 6px; padding: 10px 14px; font-size: .95rem; }
.form-legal { font-size: .82rem; color: #6B7280; margin-top: 14px; }
.form-legal a { color: inherit; }
.btn[disabled] { opacity: .6; cursor: wait; }
.form-done { text-align: center; padding: 40px 10px; }
.done-mark { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: color-mix(in srgb, var(--success) 15%, #fff); color: var(--success); display: grid; place-items: center; font-size: 30px; font-weight: 700; }
.done-text { font-size: 1.1rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
.faq-side .sec-head { margin-bottom: 0; position: sticky; top: 110px; }
.faq-list details { border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.faq-list details:first-child { border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--font-h); font-weight: 600; font-size: 1.08rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.6rem; font-weight: 400; color: var(--primary); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 24px; color: var(--muted); max-width: 46em; }
.bg-marque .faq-a, .bg-sombre .faq-a { color: rgba(255,255,255,.8); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--dark); color: #B9C1CF; padding: 72px 0 0; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.f-logo { height: 60px; width: auto; background: #fff; padding: 6px 10px; border-radius: 8px; margin-bottom: 18px; }
.f-tagline { color: #fff; font-family: var(--font-h); font-weight: 500; }
.f-brand p { max-width: 30em; }
.f-h { color: #fff; font-family: var(--font-h); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #E4E8EF; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer small, .f-muted { color: #8A93A3; }
.f-social { margin-top: 18px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 22px 0 26px; width: calc(100% - 48px); border-top: 1px solid rgba(255,255,255,.1); font-size: .86rem; color: #8A93A3; }
.footer-bottom a { color: #B9C1CF; }

/* ---------- Bouton WhatsApp flottant ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }

/* ---------- Divers ---------- */
.maintenance { min-height: 100vh; display: grid; place-content: center; text-align: center; padding: 24px; gap: 24px; }
.m-logo { height: 90px; width: auto; margin: 0 auto; }
.legal .rich { margin-top: 24px; }
.is-preview .is-focus { outline: 3px dashed var(--accent); outline-offset: -3px; }

/* =========================================================
   Tablettes et téléphones
   ========================================================= */
@media (max-width: 1080px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: .92rem; }
  .people.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .numlist.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .steps.n4 { grid-template-columns: repeat(2, 1fr); }
  .steps.n4 li:nth-child(2)::before { display: none; }
}
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; background: var(--bg); padding: 8px 24px 20px;
    border-bottom: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.25);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, var(--text) 8%, transparent); font-size: 1.05rem; }
  .main-nav .nav-cta-mobile { display: flex; margin-top: 16px; border: 0; color: #fff; }
  .hero-grid, .split, .contact-grid, .faq-grid, .tab-panel { grid-template-columns: 1fr; gap: 44px; }
  .split.img-left .split-img { order: 0; }
  .faq-side .sec-head { position: static; }
  .numlist.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-card { left: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 18px; }
  .header-in { min-height: 64px; gap: 12px; }
  .brand img { height: calc(var(--logo-h) * .8); }
  .header-cta { display: none; }
  .sp-normal { padding: 64px 0; }
  .sp-large { padding: 84px 0; }
  .sp-compact { padding: 44px 0; }
  .sec-hero.sp-normal { padding: 36px 0 84px; }
  .sec-head { margin-bottom: 36px; }
  .hero-actions .btn { width: 100%; }
  .hero-photo::before { inset: 14px -10px -10px 14px; }
  .hero-card { width: 224px; left: -6px; bottom: -48px; }
  .people.cols-4, .people.cols-3, .people.cols-2, .numlist.cols-2, .numlist.cols-3, .numlist.cols-4, .steps.n4, .steps.n3, .steps.n2, .f-row, .footer-grid { grid-template-columns: 1fr; }
  .steps li::before { display: none; }
  .ba-head { display: none; }
  .ba-row { grid-template-columns: 1fr; }
  .ba-row > div { padding: 16px 18px 16px 50px !important; }
  .ba-before::before { left: 22px; top: 16px; }
  .ba-after::before { left: 18px; top: 18px; }
  .ba-mobile { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .ba-after .ba-mobile { color: color-mix(in srgb, var(--success) 75%, #000); }
  .tab-list { overflow-x: auto; flex-wrap: nowrap; margin-left: -18px; margin-right: -18px; padding: 0 18px; scrollbar-width: none; }
  .tab-list button { white-space: nowrap; padding: 10px 12px; }
  .quote { padding-left: 0; padding-top: 44px; }
  .quote::before { top: -10px; font-size: 5.5rem; }
  .form-box { padding: 24px 18px; }
  .footer-bottom { flex-direction: column; width: calc(100% - 36px); padding-left: 0; padding-right: 0; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Application MY KELASI (connexion, installation, QR) ---------- */
.btn-ghost { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--primary) 35%, transparent); }
.btn-ghost:hover { background: color-mix(in srgb, var(--primary) 8%, transparent); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.main-nav .btn-ghost.nav-cta-mobile { color: var(--primary); margin-top: 10px; }
.app-block { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; }
.app-steps { list-style: none; padding: 0; margin: 26px 0 28px; display: grid; gap: 14px; }
.app-steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.02rem; }
.app-steps li span { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-h); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: .95rem; }
.app-actions { margin-bottom: 14px; }
.app-qr { display: flex; justify-content: center; }
.qr-card { background: #fff; border-radius: calc(var(--radius) * 2); padding: 22px 22px 16px; text-align: center; box-shadow: 0 14px 40px rgba(17, 26, 46, .12); border: 1px solid color-mix(in srgb, var(--text) 8%, transparent); max-width: 260px; }
.qr-card .qr { width: 190px; height: 190px; margin: 0 auto 12px; line-height: 0; }
.qr-card .qr svg { width: 100%; height: auto; }
.qr-card p { margin: 0; font-size: .95rem; }
.qr-card small { color: var(--muted); word-break: break-all; }
.bg-sombre .qr-card p { color: var(--text); }
@media (max-width: 960px) { .app-block { grid-template-columns: 1fr; gap: 36px; } .header-login { display: none; } }
@media (max-width: 640px) { .app-qr { display: none; } }

/* En-tête : jamais de texte coupé sur deux lignes (v1.3) */
.main-nav a, .header-actions .btn { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1400px) {
  .header-in { gap: 18px; }
  .main-nav { gap: 18px; }
  .main-nav a { font-size: .9rem; }
  .header-actions { gap: 8px; }
  .header-actions .btn { padding-left: 14px; padding-right: 14px; font-size: .88rem; }
}
@media (min-width: 961px) and (max-width: 1200px) {
  .header-login { display: none; }
}

/* ===== Boutons libres (v1.2) ===== */
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 26px; }
.btn-row-center { justify-content: center; }
.btn .bi, .btn-link .bi { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-link { display: inline-flex; align-items: center; gap: 6px; }
.btn-link .bi { width: 16px; height: 16px; }
.btn-blue { background: var(--primary); color: #fff; }
.btn-blue:hover { background: color-mix(in srgb, var(--primary) 86%, #000); }
.btn-missing { background: repeating-linear-gradient(45deg, #fff6e0, #fff6e0 8px, #fff 8px, #fff 16px); color: #8a6100; border: 1px dashed #d9a400; cursor: help; }
.btn-missing small { font-weight: 500; }
.bg-sombre .btn-link, .bg-marque .btn-link { color: #fff; border-bottom-color: rgba(255,255,255,.4); }
@media (max-width: 640px) {
  .btn-row .btn { width: 100%; justify-content: center; }
}
.bg-sombre .btn-ghost, .bg-marque .btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
