/* ============================================================
   HymSchool — Site (refonte 2026)
   Tokens et composants repris de la maquette « HymSchool Site ».
   ============================================================ */

:root {
  --ink: #16233A;        /* texte principal / fonds sombres */
  --ink-2: #27355B;      /* texte secondaire */
  --blue: #2A63A8;
  --teal: #237383;
  --teal-ink: #1C6270;
  --orange: #E8843A;
  --orange-deep: #C9661F;
  --orange-ink: #8A4512;
  --peach: #F5B47E;
  --line: #E4E9F1;
  --line-2: #D5DCE8;
  --field: #C9D2E1;
  --mist: #EEF1F6;
  --mint: #E2F2F5;
  --cream: #FDF0E5;
  --f-body: Manrope, system-ui, sans-serif;
  --f-serif: 'Instrument Serif', Georgia, serif;
  --wrap: 1240px;
  --brand-gradient: linear-gradient(135deg, #1E3A8A 0%, #2C8FA3 45%, #EA7B2C 100%); /* identique à l'app */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.hs-body { margin: 0; background: #fff; color: var(--ink); font-family: var(--f-body); -webkit-font-smoothing: antialiased; }
.hs-root { min-height: 100vh; background: #fff; color: var(--ink); font-family: var(--f-body); display: flex; flex-direction: column; }
.hs-root > main { flex: 1; width: 100%; min-width: 0; }
.hs-root a { color: var(--blue); text-decoration: none; cursor: pointer; }
.hs-root a:hover { color: var(--ink); }
.hs-root img { max-width: 100%; }
.hs-root input, .hs-root select, .hs-root textarea, .hs-root button { font: inherit; }
.hs-root input[type=range] { accent-color: var(--orange); }
.hs-root :focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.hs-root h1, .hs-root h2 { color: inherit; }

.hs-wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.hs-serif { font-family: var(--f-serif); font-weight: 400; }
.hs-em-orange { color: var(--orange-deep); }
.hs-em-blue { color: var(--blue); }
.hs-check { color: var(--teal); font-weight: 800; }

/* ─── Boutons ─────────────────────────────────────────────── */
.hs-root .hs-btn { display: inline-block; border: 0; cursor: pointer; border-radius: 12px; font-weight: 800; font-size: 16px; padding: 17px 28px; text-align: center; line-height: 1.2; }
.hs-root .hs-btn--orange { background: var(--orange); color: var(--ink); }
.hs-root .hs-btn--orange:hover { background: #DB7428; color: var(--ink); }
.hs-root .hs-btn--dark { background: var(--ink); color: #fff; font-weight: 700; }
.hs-root .hs-btn--dark:hover { background: #22324F; color: #fff; }
.hs-root .hs-link-under { font-weight: 800; font-size: 16px; color: var(--ink); border-bottom: 2px solid var(--orange); padding-bottom: 3px; }

/* ─── En-tête ─────────────────────────────────────────────── */
.hs-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hs-header__inner { max-width: var(--wrap); margin: 0 auto; padding: 16px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.hs-root .hs-logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: Manrope, sans-serif; font-weight: 800; font-size: 20px; }
.hs-logo img { width: 38px; height: 38px; object-fit: contain; }
/* « School » en dégradé, comme dans l'application app.hymschool.com */
.hs-logo__accent { color: var(--teal); background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hs-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; }
.hs-root .hs-nav__link { padding: 10px 14px; border-radius: 10px; color: var(--ink); }
.hs-root .hs-nav__link:hover { background: var(--mist); }
.hs-root .hs-nav__link.is-active { background: var(--mist); }
.hs-header__tools { display: flex; align-items: center; gap: 8px; }
.hs-root .hs-header__cta { padding: 12px 18px; font-size: 15px; }
/* Sélecteur de langue FR · عربي · EN */
.hs-lang { display: flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; font-size: 13px; font-weight: 700; }
.hs-root .hs-lang a { padding: 6px 11px; border-radius: 999px; color: var(--ink); line-height: 1.2; }
.hs-root .hs-lang a:hover { background: var(--mist); color: var(--ink); }
.hs-root .hs-lang a.is-active { background: var(--ink); color: #fff; }
.hs-lang .hs-lang__ar { font-family: 'IBM Plex Sans Arabic', Manrope, sans-serif; }

/* ─── Accueil ─────────────────────────────────────────────── */
.hs-hero { padding-top: 64px; padding-bottom: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px; align-items: center; }
.hs-hero h1 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(56px, 7.5vw, 96px); line-height: 1; letter-spacing: -.02em; margin: 0 0 28px; text-wrap: balance; }
.hs-hero__p { font-size: 19px; line-height: 1.65; color: var(--ink-2); max-width: 520px; margin: 0 0 34px; text-wrap: pretty; }
.hs-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hs-root .hs-actions__text { font-weight: 700; font-size: 16px; padding: 17px 12px; }
.hs-hero__visual { position: relative; aspect-ratio: 1.1 / 1; }
.hs-hero__shot { position: absolute; border-radius: 14px; border: 1px solid var(--line); }
.hs-hero__shot--a { inset-inline-end: 0; top: 2%; width: 84%; box-shadow: 0 30px 60px -30px rgba(22,35,58,.4); }
.hs-hero__shot--b { inset-inline-start: 0; top: 40%; width: 64%; box-shadow: 0 30px 60px -30px rgba(22,35,58,.45); }
.hs-hero__phone { position: absolute; inset-inline-end: 6%; bottom: 0; width: 25%; aspect-ratio: 9 / 18; background: var(--ink); border-radius: 26px; padding: 6px; box-shadow: 0 30px 50px -20px rgba(22,35,58,.6); }
.hs-hero__phone img { width: 100%; height: 100%; object-fit: cover; object-position: 22% 0; border-radius: 20px; display: block; }

.hs-feat4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1.5px solid var(--ink); }
.hs-feat4__item { padding-block: 26px 44px; padding-inline: 0 24px; }
.hs-feat4__n { font-family: var(--f-serif); font-size: 44px; color: var(--blue); line-height: 1; }
.hs-feat4__t { font-size: 19px; font-weight: 800; margin: 12px 0 6px; }
.hs-feat4__d { font-size: 16px; line-height: 1.55; color: var(--ink-2); }

.hs-roles { padding-top: 56px; padding-bottom: 24px; }
.hs-roles h2 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(40px, 5vw, 60px); line-height: 1.02; margin: 0 0 32px; max-width: 760px; }
.hs-roles__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.hs-root .hs-role { display: flex; flex-direction: column; gap: 10px; border-radius: 22px; padding: 28px; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.hs-root .hs-role:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(22,35,58,.45); }
.hs-role__k { font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--tint-ink); }
.hs-role__t { font-size: 23px; font-weight: 800; }
.hs-role__d { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.hs-role__l { font-size: 15px; font-weight: 700; color: var(--tint-ink); margin-top: 6px; }
.hs-tint-0 { background: var(--mist); --tint-ink: var(--blue); }
.hs-tint-1 { background: var(--mint); --tint-ink: var(--teal-ink); }
.hs-tint-2 { background: var(--cream); --tint-ink: var(--orange-ink); }

.hs-testi-sec { padding-top: 64px; padding-bottom: 8px; }
.hs-testi { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px; align-items: center; }
.hs-testi__kicker { color: var(--teal-ink); margin-bottom: 14px; }
.hs-testi h2 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(40px, 5vw, 60px); line-height: 1.02; margin: 0 0 18px; }
.hs-testi__intro p { font-size: 17px; line-height: 1.65; color: var(--ink-2); margin: 0 0 22px; max-width: 520px; }
.hs-testi__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.hs-testi__tags li { padding: 8px 14px; border-radius: 999px; background: var(--mint); color: var(--teal-ink); font-size: 14px; font-weight: 700; }
.hs-testi__card { position: relative; margin: 0; background: var(--ink); color: #fff; border-radius: 26px; padding: clamp(28px, 4vw, 44px); overflow: hidden; }
.hs-testi__card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--brand-gradient); }
.hs-testi__mark { font-family: var(--f-serif); font-size: 120px; line-height: .7; color: var(--orange); height: 54px; }
.hs-testi__card blockquote { margin: 0 0 28px; font-family: var(--f-serif); font-size: clamp(20px, 1.9vw, 24px); line-height: 1.4; }
.hs-testi__card blockquote p { margin: 0 0 14px; }
.hs-testi__card blockquote p:last-child { margin-bottom: 0; }
.hs-root .hs-testi__client { display: inline-flex; align-items: center; gap: 16px; margin: 0 0 22px; padding: 12px 18px 12px 12px; padding-inline: 12px 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); }
.hs-root .hs-testi__client:hover { color: var(--ink); border-color: var(--line-2); box-shadow: 0 12px 30px -20px rgba(22,35,58,.4); }
.hs-testi__client img { width: 64px; height: auto; display: block; }
.hs-testi__client > span { display: flex; flex-direction: column; gap: 2px; font-size: 16px; }
.hs-testi__client > span > span { font-size: 14px; color: var(--blue); font-weight: 700; }
.hs-testi__card figcaption { display: flex; align-items: center; gap: 14px; font-size: 15px; line-height: 1.45; color: var(--line-2); }
.hs-testi__card figcaption strong { color: #fff; font-weight: 800; }
.hs-testi__avatar { width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex-shrink: 0; overflow: hidden; }
.hs-testi__avatar img { width: 36px; height: auto; }
.hs-band-sec { padding-top: 48px; padding-bottom: 80px; }
.hs-band { background: var(--cream); border-radius: 26px; padding: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 32px; align-items: center; }
.hs-band__title { font-family: var(--f-serif); font-size: clamp(38px, 4.5vw, 52px); line-height: 1.02; margin-bottom: 18px; }
.hs-band__offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.hs-band__offer { background: #fff; border-radius: 16px; padding: 20px; }
.hs-kicker-sm { font-size: 12px; font-weight: 800; color: var(--orange-ink); letter-spacing: .04em; }
.hs-band__price { font-size: 26px; font-weight: 800; margin-top: 10px; }
.hs-band__unit { font-size: 14px; color: var(--ink-2); }
.hs-strike { text-decoration: line-through; text-decoration-color: var(--orange); text-decoration-thickness: 2px; margin-inline-end: 6px; }

/* ─── Pages intérieures ───────────────────────────────────── */
.hs-page { padding-top: 64px; padding-bottom: 80px; }
.hs-h1 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(48px, 6vw, 80px); line-height: 1; margin: 0 0 18px; }
.hs-lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); margin: 0 0 28px; }
.hs-kicker { font-size: 13px; font-weight: 800; letter-spacing: .06em; }

/* Fonctionnalités */
.hs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.hs-root .hs-chip { padding: 9px 15px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink); }
.hs-root .hs-chip:hover { background: var(--mist); color: var(--ink); }
.hs-features { display: flex; flex-direction: column; gap: 72px; }
.hs-feature { scroll-margin-top: 100px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 40px; align-items: center; padding-top: 32px; border-top: 1px solid var(--line); }
.hs-feature:nth-child(even) .hs-feature__text { order: 2; }
.hs-feature .hs-kicker { color: var(--blue); margin-bottom: 12px; }
.hs-feature h2 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(34px, 4vw, 46px); line-height: 1.05; margin: 0 0 16px; }
.hs-feature p { font-size: 17px; line-height: 1.65; color: var(--ink-2); margin: 0 0 20px; }
.hs-feature img { width: 100%; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 30px 60px -34px rgba(22,35,58,.45); display: block; }
.hs-bullets { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; }
.hs-bullets li { display: flex; gap: 10px; font-size: 16px; line-height: 1.5; }
.hs-cta-box { margin-top: 80px; background: var(--mist); border-radius: 24px; padding: 36px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.hs-cta-box__t { font-family: var(--f-serif); font-size: 38px; line-height: 1.05; }
.hs-root .hs-cta-box .hs-btn { padding: 16px 24px; }

/* Tarifs */
.hs-price-kicker { font-size: 14px; font-weight: 800; letter-spacing: .06em; color: var(--orange-ink); margin-bottom: 14px; }
.hs-launch { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; background: var(--orange); color: var(--ink); border-radius: 20px; padding: 20px 24px; margin-bottom: 28px; }
.hs-launch__left { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.hs-pill-dark { background: var(--ink); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .05em; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.hs-launch__prices { display: flex; align-items: baseline; gap: 12px; }
.hs-launch__now { font-size: 34px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.hs-launch__was { font-size: 19px; font-weight: 700; text-decoration: line-through; text-decoration-thickness: 2px; opacity: .75; white-space: nowrap; }
.hs-launch__save { font-size: 16px; font-weight: 700; }
.hs-root .hs-launch .hs-btn { padding: 14px 22px; font-size: 15px; font-weight: 800; }

.hs-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; margin-bottom: 56px; }
.hs-offer { position: relative; border: 1.5px solid var(--line); background: #fff; border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.hs-offer--promo { border: 3px solid var(--orange); box-shadow: 0 24px 50px -24px rgba(232,132,58,.6); }
.hs-offer--cream { background: var(--cream); }
.hs-offer .hs-kicker { color: var(--orange-ink); }
.hs-offer__name { font-family: var(--f-serif); font-size: 36px; line-height: 1.05; }
.hs-offer__desc { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin-top: 8px; }
.hs-promo { background: var(--ink); color: #fff; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.hs-promo__tag { font-size: 12px; font-weight: 800; letter-spacing: .06em; line-height: 1.4; color: var(--peach); }
.hs-promo__row { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; }
.hs-promo__now { font-size: 46px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.hs-promo__wasrow { display: flex; align-items: center; gap: 10px; }
.hs-promo__was { font-size: 21px; font-weight: 700; color: #9AA7BD; text-decoration: line-through; text-decoration-color: var(--orange); text-decoration-thickness: 3px; white-space: nowrap; }
.hs-promo__pct { background: var(--orange); color: var(--ink); font-weight: 800; font-size: 15px; padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.hs-promo__fee { font-size: 15px; font-weight: 800; color: var(--peach); }
.hs-promo__save { font-size: 14px; color: var(--line-2); }
.hs-offer__prices { display: flex; flex-direction: column; gap: 6px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hs-offer__price { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.hs-offer__price span:first-child { font-size: 15px; color: var(--ink-2); }
.hs-offer__price span:last-child { font-size: 20px; font-weight: 800; white-space: nowrap; }
.hs-offer .hs-bullets { gap: 9px; flex: 1; }
.hs-offer .hs-bullets li { font-size: 15px; line-height: 1.45; }
.hs-offer__ideal { font-size: 14px; font-weight: 700; color: var(--blue); }
.hs-root .hs-offer .hs-btn { padding: 15px; font-size: 16px; font-weight: 800; }

.hs-compare-title { font-family: var(--f-serif); font-weight: 400; font-size: 44px; margin: 0 0 20px; }
.hs-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.hs-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; text-align: start; }
.hs-table thead tr { background: var(--mist); }
.hs-table th { text-align: start; padding: 16px 18px; font-weight: 800; }
.hs-table td { padding: 16px 18px; }
.hs-table tbody tr { border-top: 1px solid var(--line); }
.hs-table tbody th { text-align: start; padding: 16px 18px; font-weight: 700; width: 22%; }
.hs-note { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 18px 0 0; }

.hs-roi { margin-top: 64px; background: var(--ink); color: #fff; border-radius: 26px; padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px; }
.hs-roi__left { display: flex; flex-direction: column; gap: 24px; }
.hs-roi h2 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(34px, 4vw, 46px); line-height: 1.05; margin: 0 0 12px; }
.hs-roi__p { font-size: 16px; line-height: 1.6; color: var(--line-2); margin: 0; }
.hs-roi label { display: flex; flex-direction: column; gap: 10px; }
.hs-roi__lbl { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 700; }
.hs-roi__val { color: var(--peach); white-space: nowrap; }
.hs-roi input[type=range] { width: 100%; }
.hs-roi__right { display: flex; flex-direction: column; gap: 14px; }
.hs-roi__rows { display: flex; flex-direction: column; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 6px 20px; }
.hs-roi__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 15px; }
.hs-roi__row span:first-child { color: var(--line-2); }
.hs-roi__row span:last-child { font-weight: 800; white-space: nowrap; }
.hs-c-white { color: #fff; } .hs-c-red { color: #F4A7A7; } .hs-c-green { color: #8FD9C4; }
.hs-gain { background: var(--orange); color: var(--ink); border-radius: 18px; padding: 22px 24px; }
.hs-gain__l { font-size: 14px; font-weight: 800; }
.hs-gain__v { font-size: clamp(36px, 4.5vw, 52px); font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }

/* Démo */
.hs-demo { padding-top: 32px; }
.hs-demo__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.hs-demo h1 { font-size: clamp(40px, 4.4vw, 56px); margin: 0 0 8px; }
.hs-demo__p { font-size: 18px; line-height: 1.6; color: var(--ink-2); margin: 0; max-width: 620px; }
.hs-tabs { display: flex; background: var(--mist); border-radius: 14px; padding: 4px; font-weight: 800; font-size: 15px; }
.hs-tabs button { border: 0; cursor: pointer; padding: 12px 20px; border-radius: 11px; background: transparent; color: var(--ink); font-weight: 800; }
.hs-tabs button[aria-selected=true] { background: #fff; box-shadow: 0 1px 3px rgba(22,35,58,.15); }
/* Cadre à hauteur d'écran (moins l'en-tête) pour que la barre de contrôle de la démo reste visible */
.hs-demo__frame { border-radius: 22px; overflow: hidden; background: #070D18; border: 1px solid var(--line); height: max(500px, calc(100vh - 250px)); scroll-margin-top: 84px; }
.hs-demo__launch { display: none; background: var(--ink); color: var(--line-2); border-radius: 22px; padding: 28px 22px; text-align: center; }
.hs-root .hs-demo__launch .hs-btn { display: block; width: 100%; }
.hs-demo__launch p { margin: 14px 0 0; font-size: 15px; line-height: 1.5; }
.hs-demo__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.hs-demo__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 15px; color: var(--ink-2); }
.hs-root .hs-demo__foot a { font-weight: 700; }

/* Contact */
.hs-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; align-items: start; }
.hs-contact .hs-h1 { margin-bottom: 20px; }
.hs-contact .hs-lead { max-width: 460px; }
.hs-formbox { background: var(--mist); border-radius: 24px; padding: clamp(22px, 3vw, 36px); }
.hs-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.hs-form label { display: flex; flex-direction: column; gap: 7px; font-size: 15px; font-weight: 700; }
.hs-form .hs-full { grid-column: 1 / -1; }
.hs-form input, .hs-form select, .hs-form textarea { padding: 14px 16px; border: 1px solid var(--field); border-radius: 12px; background: #fff; font-size: 16px; color: var(--ink); font-weight: 500; width: 100%; }
.hs-form input::placeholder, .hs-form textarea::placeholder { color: #8A96AB; }
.hs-form textarea { resize: vertical; }
.hs-form input:focus, .hs-form select:focus, .hs-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(42,99,168,.18); }
.hs-root .hs-form button[type=submit] { grid-column: 1 / -1; padding: 17px; }
.hs-root .hs-form button[disabled] { opacity: .7; cursor: wait; }
.hs-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.hs-form__error { grid-column: 1 / -1; background: #FDECEC; color: #8B1D1D; border-radius: 12px; padding: 12px 16px; font-size: 15px; font-weight: 600; }
.hs-form__error:empty { display: none; }
.hs-sent { background: #fff; border-radius: 18px; padding: 36px; text-align: center; }
.hs-sent__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--mint); color: var(--teal); display: grid; place-items: center; font-size: 26px; font-weight: 800; margin: 0 auto 16px; }
.hs-sent__t { font-family: var(--f-serif); font-size: 34px; margin-bottom: 8px; }
.hs-sent__p { font-size: 16px; color: var(--ink-2); margin-bottom: 20px; }
.hs-sent button { border: 1px solid var(--line-2); background: #fff; border-radius: 10px; padding: 10px 16px; cursor: pointer; font-weight: 700; color: var(--ink); }
[hidden] { display: none !important; }

/* ─── Pied de page ────────────────────────────────────────── */
.hs-footer { background: var(--ink); color: var(--line-2); }
.hs-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 44px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.hs-root .hs-footer__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: Manrope, sans-serif; font-weight: 800; font-size: 18px; }
.hs-root .hs-footer__brand:hover { color: #fff; }
.hs-footer__brand img { width: 34px; height: 34px; object-fit: contain; background: #fff; border-radius: 8px; padding: 2px; }
.hs-footer__nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 15px; font-weight: 600; }
.hs-root .hs-footer__nav a { color: var(--line-2); }
.hs-root .hs-footer__nav a:hover { color: #fff; }
.hs-footer__meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; align-items: center; }
.hs-root .hs-footer__meta a { color: var(--peach); font-weight: 800; }

/* ─── Petits écrans ───────────────────────────────────────── */
@media (max-width: 760px) {
  .hs-wrap, .hs-header__inner, .hs-footer__inner { padding-left: 16px; padding-right: 16px; }
  .hs-header__inner { padding-top: 12px; padding-bottom: 12px; gap: 10px; }
  /* En-tête compact : logo + CTA sur la 1re ligne, les 4 liens répartis dessous, sans défilement */
  .hs-header__inner { flex-wrap: wrap; row-gap: 8px; }
  .hs-nav { order: 3; flex-wrap: nowrap; justify-content: space-between; gap: 2px; font-size: 14px; margin: 0 -8px; width: calc(100% + 16px); }
  .hs-root .hs-nav__link { white-space: nowrap; padding: 8px; }
  .hs-root .hs-header__cta { padding: 9px 12px; font-size: 13px; border-radius: 10px; }
  .hs-root .hs-logo { font-size: 18px; gap: 8px; }
  .hs-logo img { width: 32px; height: 32px; }
  .hs-hero { padding-top: 40px; padding-bottom: 48px; }
  .hs-page { padding-top: 40px; padding-bottom: 56px; }
  .hs-feature:nth-child(even) .hs-feature__text { order: 0; }
  .hs-demo__frame { display: none; }
  .hs-demo__launch { display: block; }
  .hs-demo__foot { display: none; }
}

/* ─── Blog (anciennes feuilles) : neutralise l'ancien décalage de nav fixe ── */
.hs-legacy .page-header { padding-top: 0 !important; }
.hs-legacy .hs-root a.btn--primary, .hs-legacy .hs-root a.btn--primary:hover { color: #fff; }

/* ─── Contact : délai, e-mail, champs facultatifs repliés, consentement ── */
.hs-contact__delay { font-size: 16px; font-weight: 700; margin: -8px 0 10px; }
.hs-contact__mail { font-size: 16px; color: var(--ink-2); margin: 0 0 26px; }
.hs-root .hs-contact__mail a { font-weight: 800; }
.hs-more { background: #fff; border: 1px solid var(--field); border-radius: 12px; }
.hs-more summary { cursor: pointer; padding: 14px 16px; font-size: 15px; font-weight: 700; color: var(--blue); list-style: none; }
.hs-more summary::-webkit-details-marker { display: none; }
.hs-more summary::before { content: "+"; display: inline-block; width: 18px; font-weight: 800; }
.hs-more[open] summary::before { content: "−"; }
.hs-more__grid { padding: 4px 16px 16px; }
.hs-form__consent { margin: -4px 0 0; font-size: 13px; color: var(--ink-2); text-align: center; }
.hs-root .hs-footer__meta a.hs-footer__mail { color: #fff; font-weight: 700; }
.hs-demo__note { display: inline-block; margin: 10px 0 0; padding: 6px 12px; border-radius: 999px; background: var(--cream); color: var(--orange-ink); font-size: 14px; font-weight: 700; }

/* ─── Arabe (dir="rtl") ───────────────────────────────────── */
:root:lang(ar) {
  --f-body: 'IBM Plex Sans Arabic', Manrope, system-ui, sans-serif;
  --f-serif: 'Noto Naskh Arabic', 'IBM Plex Sans Arabic', serif;
}
html:lang(ar) .hs-root em { font-style: normal; }           /* pas d'italique synthétique en arabe */
html:lang(ar) .hs-root h1, html:lang(ar) .hs-root h2 { line-height: 1.35; letter-spacing: 0; }
html:lang(ar) .hs-kicker, html:lang(ar) .hs-kicker-sm, html:lang(ar) .hs-price-kicker,
html:lang(ar) .hs-role__k, html:lang(ar) .hs-pill-dark, html:lang(ar) .hs-promo__tag { letter-spacing: 0; }
html:lang(ar) .hs-hero h1 { font-size: clamp(48px, 6.4vw, 84px); }
html:lang(ar) .hs-feat4__n, html:lang(ar) .hs-testi__mark { font-family: 'Instrument Serif', serif; }
/* Téléphone, e-mail et nombres restent écrits de gauche à droite */
html[dir=rtl] .hs-form input[type=tel], html[dir=rtl] .hs-form input[type=email], html[dir=rtl] .hs-form input[type=number] { direction: ltr; text-align: right; }

/* Mobile étroit : avec le sélecteur de langue, le logo se réduit au hibou pour garder une seule ligne */
@media (max-width: 440px) {
  .hs-logo > span { display: none; }
  .hs-header__tools { gap: 6px; }
  .hs-root .hs-lang a { padding: 6px 9px; }
}
.hs-promo__pct, .hs-launch__now, .hs-launch__was, .hs-promo__now, .hs-promo__was { unicode-bidi: isolate; } .hs-promo__pct { direction: ltr; }
.hs-testi__card figcaption { flex-wrap: wrap; } .hs-testi__note { flex-basis: 100%; font-size: 13px; font-style: normal; color: #9AA7BD; }


/* ─── Clôture de l'accueil ─────────────────────────────────── */
.hs-band-sec { padding-bottom: 40px; }
.hs-close-sec { padding-bottom: 88px; }
.hs-close { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: 26px; padding: clamp(28px, 4.5vw, 52px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 28px; align-items: center; }
.hs-close::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--brand-gradient); }
.hs-close h2 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(36px, 4.4vw, 54px); line-height: 1.05; margin: 0 0 14px; }
.hs-close h2 em { color: var(--peach); }
.hs-close p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--line-2); max-width: 560px; }
.hs-close .hs-actions { justify-content: flex-end; }
.hs-root .hs-btn--light { background: #fff; color: var(--ink); }
.hs-root .hs-btn--light:hover { background: var(--mist); color: var(--ink); }

/* ─── Accueil mobile : une seule capture, atouts en 2 × 2 ── */
@media (max-width: 760px) {
  .hs-hero__shot--a, .hs-hero__shot--b { display: none; }
  .hs-hero__visual { aspect-ratio: auto; display: flex; justify-content: center; }
  .hs-hero__phone { position: relative; inset: auto; width: min(56%, 230px); }
  .hs-feat4 { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .hs-feat4__item { padding: 20px 0 26px; }
  .hs-feat4__n { font-size: 34px; }
  .hs-feat4__t { font-size: 17px; margin-top: 8px; }
  .hs-feat4__d { font-size: 15px; }
  .hs-close .hs-actions { justify-content: flex-start; }
}

/* <picture> (WebP + JPEG) : transparent pour la mise en page, l'<img> garde ses classes */
.hs-hero__visual picture, .hs-hero__phone picture { display: contents; }
.hs-feature picture { display: block; }
/* Les attributs width/height (anti-décalage) ne doivent pas figer la hauteur affichée */
.hs-root .hs-hero__shot, .hs-root .hs-feature img { height: auto; }
.hs-roi__row:last-child { border-bottom: 0; }

/* ─── Pages de contenu : mentions légales, confidentialité, FAQ ── */
.hs-doc { max-width: 820px; }
.hs-doc .hs-h1 { font-size: clamp(42px, 5vw, 64px); }
.hs-doc__meta { font-size: 14px; color: var(--ink-2); margin: -6px 0 36px; }
.hs-doc h2 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(28px, 3vw, 34px); line-height: 1.15; margin: 44px 0 14px; }
.hs-doc h3 { font-size: 18px; font-weight: 800; margin: 26px 0 8px; }
.hs-doc p, .hs-doc li { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.hs-doc p { margin: 0 0 14px; }
.hs-doc ul { margin: 0 0 16px; padding-inline-start: 22px; }
.hs-doc li { margin-bottom: 6px; }
.hs-doc strong { color: var(--ink); }
.hs-doc__card { background: var(--mist); border-radius: 18px; padding: 22px 24px; margin: 0 0 18px; }
.hs-doc__card dl { margin: 0; display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 8px 18px; font-size: 15px; }
.hs-doc__card dt { font-weight: 800; color: var(--ink); }
.hs-doc__card dd { margin: 0; color: var(--ink-2); }
.hs-doc__toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
/* Élément de proposition à compléter avant publication : très visible exprès */
.hs-todo { background: #FFF1A8; color: #5C4400; border-radius: 6px; padding: 1px 6px; font-weight: 700; }
/* FAQ en accordéon */
.hs-faq { border-top: 1px solid var(--line); }
.hs-faq details { border-bottom: 1px solid var(--line); }
.hs-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 2px; font-size: 18px; font-weight: 800; color: var(--ink); }
.hs-faq summary::-webkit-details-marker { display: none; }
.hs-faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--orange-deep); line-height: 1; flex-shrink: 0; }
.hs-faq details[open] summary::after { content: "−"; }
.hs-faq .hs-faq__a { padding: 0 2px 18px; }
.hs-faq__group { font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--blue); margin: 40px 0 6px; }
@media (max-width: 760px) { .hs-doc__card dl { grid-template-columns: 1fr; gap: 2px 0; } .hs-doc__card dd { margin-bottom: 10px; } }
.hs-footer__legal { max-width: var(--wrap); margin: 0 auto; padding: 0 32px 28px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; }
.hs-root .hs-footer__legal a { color: #9AA7BD; }
.hs-root .hs-footer__legal a:hover { color: #fff; }
@media (max-width: 760px) { .hs-footer__legal { padding-left: 16px; padding-right: 16px; } }
