/* Kiteba · site public (kiteba.eu)
   Charte : docs/design-system.md (couleurs, logo, Syne + Nunito Sans).
   Mise en page : bandes pleine largeur qui alternent blanc et lavande, en-têtes
   de section centrés, icônes en carrés teintés, une bande sombre pour la
   fonction signature. Mobile d'abord ; paliers à 760 px et 1080 px. */

/* ── Polices (auto-hébergées, SIL OFL) ─────────────────────────────────── */
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 700 800; font-display: swap;
  src: url(fonts/syne-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 700 800; font-display: swap;
  src: url(fonts/syne-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/nunito-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/nunito-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+A720-A7FF; }

@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/cairo-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/cairo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

/* ── Jetons ────────────────────────────────────────────────────────────── */
:root {
  --violet: #5B3FE8; --violet-d: #3D27C4; --violet-l: #7B65F0; --violet-xl: #EEE9FD;
  --coral: #FF4D2E; --coral-d: #D93010; --coral-l: #FF7A62; --coral-xl: #FFF0ED;
  --mint: #00A876; --mint-d: #007A56; --mint-xl: #E6FAF4;
  --amber: #FFB800; --amber-text: #7A5100; --amber-xl: #FFF8E6;
  --night: #12111F; --slate: #18172B; --slate-m: #2E2C48; --slate-l: #4A4869;
  --ink-2: #4A4869; --gray: #6D6B88;
  --band: #F7F6FE; --fog: #F4F3FF; --white: #FEFEFE;
  --line: #E6E3F5;
  --shadow: 0 24px 64px rgba(61, 39, 196, .14), 0 4px 14px rgba(18, 17, 31, .05), 0 0 0 1px rgba(91, 63, 232, .08);
  --card-shadow: 0 1px 2px rgba(18, 17, 31, .04), 0 0 0 1px var(--line);
  --display: 'Syne', 'Trebuchet MS', sans-serif;
  --body: 'Nunito Sans', 'Segoe UI', system-ui, sans-serif;
  --gutter: 20px;
  --pad: 80px;
}
@media (min-width: 760px)  { :root { --gutter: 32px; --pad: 104px; } }
@media (min-width: 1080px) { :root { --gutter: 40px; --pad: 120px; } }

/* ── Base ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--band); color: var(--night); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--violet-d); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; }
h3 { font-family: var(--body); font-weight: 800; letter-spacing: -.01em; }
p, ul, ol { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.skip { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 100; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; background: var(--white); padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wide-only { display: none; }
@media (min-width: 480px) { .wide-only { display: inline; } }

/* Bandes */
.band { padding-block: var(--pad); }
.band.white { background: var(--white); }
.band.dark { background: radial-gradient(900px 500px at 15% 0%, rgba(91, 63, 232, .35), transparent 60%),
  radial-gradient(700px 500px at 100% 100%, rgba(255, 77, 46, .16), transparent 60%), var(--slate); color: var(--white); }

/* ── Boutons ───────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  font: 800 16px/1.2 var(--body); padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-cta { background: var(--coral); color: var(--white); box-shadow: 0 10px 28px rgba(255, 77, 46, .32); }
.btn-cta:hover { background: var(--coral-d); color: var(--white); transform: translateY(-1px); }
.btn-soft { background: var(--white); color: var(--night); box-shadow: 0 0 0 1px var(--line); }
.btn-soft:hover { color: var(--violet); box-shadow: 0 0 0 1px var(--violet-l); }
.btn-ghost { background: rgba(254, 254, 254, .1); color: var(--white); box-shadow: 0 0 0 1px rgba(254, 254, 254, .22); }
.btn-ghost:hover { background: rgba(254, 254, 254, .16); color: var(--white); }
.btn-violet { background: var(--violet); color: var(--white); }
.btn-violet:hover { background: var(--violet-d); color: var(--white); }
.btn-sm { min-height: 42px; padding: 10px 18px; font-size: 15px; }
.btn-block { width: 100%; }
@media (max-width: 479px) { .btn { white-space: normal; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; }
.more svg { width: 16px; height: 16px; }

/* ── En-tête ───────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(254, 254, 254, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { height: 68px; display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--night); margin-right: auto; }
.brand:hover { color: var(--night); }
.brand svg { width: 32px; height: 32px; flex: none; }
.word { font: 800 22px/1 var(--display); letter-spacing: -.03em; }
.word b { color: var(--coral); font-weight: 800; }
.nav-links { display: none; }
.nav-links a { color: var(--ink-2); font-weight: 700; font-size: 15px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--violet); }
.nav .login { display: none; color: var(--night); font-weight: 800; font-size: 15px; }
.menu-btn { width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--white); display: grid; place-items: center;
  box-shadow: 0 0 0 1px var(--line); cursor: pointer; color: var(--night); }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu { border-top: 1px solid var(--line); padding: 8px var(--gutter) 18px; display: flex; flex-direction: column; background: var(--white); }
.mobile-menu a { color: var(--night); font-weight: 700; font-size: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: 0; }
@media (min-width: 1080px) {
  .nav { height: 76px; gap: 28px; }
  .nav-links { display: flex; gap: 30px; flex-grow: 1; justify-content: center; }
  .brand { margin-right: 0; }
  .nav .login { display: inline; }
  .menu-btn, .mobile-menu { display: none !important; }
}

/* ── En-têtes de section ───────────────────────────────────────────────── */
.eyebrow { font: 800 13px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.eyebrow.coral { color: var(--coral); } .eyebrow.mint { color: var(--mint-d); } .eyebrow.amber { color: var(--amber-text); }
.band.dark .eyebrow { color: var(--coral-l); }
.head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; max-width: 760px; margin: 0 auto 56px; }
.head h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; }
.head p { font-size: 18px; color: var(--ink-2); max-width: 620px; }
.band.dark .head p { color: rgba(254, 254, 254, .72); }
.grad { background: linear-gradient(95deg, var(--violet) 10%, var(--coral) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.band.dark .grad, .final .grad { background: linear-gradient(95deg, #9B89F5 10%, var(--coral-l) 90%); -webkit-background-clip: text; background-clip: text; }

/* Pastille « • LIBELLÉ » */
.badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 7px 14px; border-radius: 999px;
  background: var(--violet-xl); color: var(--violet-d); font: 800 12px var(--body); letter-spacing: .1em; text-transform: uppercase; }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); display: block; }

/* Icône en carré teinté */
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.ico svg { width: 22px; height: 22px; }
.ico.violet { background: var(--violet-xl); color: var(--violet); }
.ico.coral { background: var(--coral-xl); color: var(--coral); }
.ico.mint { background: var(--mint-xl); color: var(--mint-d); }
.ico.amber { background: var(--amber-xl); color: var(--amber-text); }
.ico.round { border-radius: 50%; width: 56px; height: 56px; }
.ico.round svg { width: 24px; height: 24px; }

/* ── Fenêtre et téléphone ──────────────────────────────────────────────── */
.win { background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.win .bar { height: 30px; background: #F1EFFA; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.win .bar i { width: 9px; height: 9px; border-radius: 50%; background: #D8D4EC; display: block; }
.win .bar span { margin-left: 10px; height: 18px; width: min(200px, 50%); border-radius: 6px; background: var(--white);
  font: 700 10px/18px var(--body); color: var(--gray); padding: 0 9px; overflow: hidden; }
.win img { width: 100%; height: auto; }
.phone { border-radius: 34px; padding: 9px; background: var(--night); box-shadow: 0 30px 70px rgba(18, 17, 31, .35), inset 0 0 0 2px #2E2C48; }
.phone video, .phone img { border-radius: 26px; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #1E1D33; }

/* ── Accroche ──────────────────────────────────────────────────────────── */
.hero { padding-block: 56px 72px; background: radial-gradient(800px 520px at 88% 30%, rgba(91, 63, 232, .10), transparent 65%),
  radial-gradient(600px 420px at 70% 90%, rgba(255, 77, 46, .07), transparent 65%), var(--band); overflow: hidden; }
.hero .wrap { display: grid; gap: 48px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.06; }
.hero .lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; font-weight: 700; color: var(--gray); }
.facts span { display: inline-flex; align-items: center; gap: 6px; }
.facts svg { width: 16px; height: 16px; color: var(--mint); }
.hero-visual { position: relative; padding: 0 0 40px 0; }
.hero-visual .win { margin-left: 70px; }
.hero-visual .phone { position: absolute; width: 150px; left: -6px; bottom: 0; }
@media (min-width: 1080px) {
  .hero { padding-block: 88px 104px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; }
  .hero-visual { padding: 30px 0 60px; }
  .hero-visual .win { margin-left: 90px; transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); }
  .hero-visual .phone { width: 190px; left: 0; bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero-visual .win { transform: none !important; } }

/* Visite vidéo */
.tour { background: var(--white); border-radius: 24px; padding: 10px; box-shadow: var(--shadow); max-width: 1000px; margin: 0 auto; }
.tour video { width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: #1E1D33; }

/* ── Grille 2 × 2 à icônes ─────────────────────────────────────────────── */
.feat2 { display: grid; gap: 36px; max-width: 900px; margin: 0 auto; }
@media (min-width: 760px) { .feat2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; } }
.feat2 article { display: flex; gap: 18px; align-items: flex-start; }
.feat2 h3 { font-size: 19px; margin-bottom: 6px; }
.feat2 p { font-size: 16px; color: var(--ink-2); line-height: 1.55; }

/* ── Cartes ────────────────────────────────────────────────────────────── */
.cards { display: grid; gap: 20px; }
@media (min-width: 760px) { .cards.c2, .cards.c3, .cards.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .cards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } .cards.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { background: var(--white); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--card-shadow); }
.card h3 { font-size: 19px; }
.card p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.card ul { list-style: none; padding: 4px 0 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--ink-2); }
.card li { display: flex; gap: 9px; }
.card li svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--mint); }
.card .tag { align-self: flex-start; font: 800 11px var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.card.center { align-items: center; text-align: center; }

/* ── Explorateur de fonctions ──────────────────────────────────────────── */
.explorer { display: grid; gap: 24px; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: flex; align-items: center; gap: 12px; border: 0; background: var(--white); color: var(--ink-2); cursor: pointer;
  font: 700 15px var(--body); padding: 12px 16px; border-radius: 14px; box-shadow: var(--card-shadow); white-space: nowrap; text-align: left; min-height: 48px; }
.tab svg { width: 18px; height: 18px; flex: none; color: var(--gray); }
.tab[aria-selected="true"] { background: var(--violet-xl); color: var(--violet-d); box-shadow: 0 0 0 1.5px var(--violet-l); }
.tab[aria-selected="true"] svg { color: var(--violet); }
.panel { background: var(--band); border-radius: 24px; padding: 24px; display: grid; gap: 28px; align-items: center; }
.panel[hidden] { display: none; }
.panel-text { display: flex; flex-direction: column; gap: 14px; }
.panel-text h3 { font: 700 26px/1.15 var(--display); letter-spacing: -.02em; }
.panel-text p { color: var(--ink-2); }
.panel-text .pill { align-self: flex-start; }
.note { display: flex; gap: 10px; align-items: flex-start; background: var(--coral-xl); color: #8A2A14; border-radius: 12px; padding: 12px 14px; font-size: 15px; font-weight: 700; }
.note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--coral); }
.stack { position: relative; padding-bottom: 56px; }
.stack .aside { position: absolute; right: -6px; bottom: 0; width: min(62%, 280px); }
@media (min-width: 1080px) {
  .explorer { grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
  .tabs { flex-direction: column; overflow: visible; }
  .tab { white-space: normal; }
  .panel { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); padding: 40px; min-height: 500px; }
}
.pill { font: 800 12px var(--body); padding: 6px 12px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; }

/* ── Circuit (bande sombre) ────────────────────────────────────────────── */
.steps { display: grid; gap: 20px; list-style: none; padding: 0; }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.steps li { background: rgba(254, 254, 254, .05); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 0 0 1px rgba(254, 254, 254, .10); }
.steps .who { display: flex; align-items: center; gap: 12px; }
.steps .num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 800 15px var(--body); flex: none; }
.steps h3 { font-size: 18px; }
.steps p { font-size: 15px; color: rgba(254, 254, 254, .7); }
.steps .win { box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.center-cta { display: flex; justify-content: center; margin-top: 40px; }

/* ── Tarifs ────────────────────────────────────────────────────────────── */
.plans { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.plan { background: var(--white); border-radius: 20px; padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--card-shadow); }
.plan.pro { box-shadow: 0 0 0 2px var(--violet), 0 20px 50px rgba(91, 63, 232, .16); }
.plan.dark { background: var(--slate); color: var(--white); box-shadow: none; }
.plan.violet { background: linear-gradient(160deg, var(--violet) 0%, var(--violet-d) 100%); color: var(--white); box-shadow: none; }
.plan .name { font: 800 13px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.plan.dark .name, .plan.violet .name { color: rgba(254, 254, 254, .7); }
.plan .pitch { font-size: 15px; font-weight: 700; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price strong { white-space: nowrap; font: 800 40px/1 var(--body); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price span { font-size: 15px; opacity: .7; white-space: nowrap; }
.billed { font-size: 13px; opacity: .72; min-height: 20px; }
.plan ul { list-style: none; padding: 16px 0 0; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); font-size: 15px; flex-grow: 1; }
.plan.dark ul, .plan.violet ul { border-color: rgba(254, 254, 254, .16); }
.plan li { display: flex; gap: 9px; }
.plan li svg { flex: none; width: 17px; height: 17px; margin-top: 3px; color: var(--mint); }
.plan.dark li svg { color: #3FE0B0; }
.plan.violet li svg { color: #FFFFFF; }
.plan .btn { margin-top: 8px; }
.yearly { margin-top: 18px; background: var(--white); border-radius: 18px; padding: 20px 24px; box-shadow: var(--card-shadow);
  display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.yearly .txt { display: flex; gap: 14px; align-items: flex-start; flex: 1 1 280px; }
.yearly .txt strong { display: block; }
.yearly .txt p { font-size: 14px; color: var(--gray); }
.yearly dl { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 0; }
.yearly dl div { text-align: center; }
.yearly dt { font: 800 18px var(--body); font-variant-numeric: tabular-nums; }
.yearly dd { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.switch { display: inline-flex; gap: 4px; padding: 5px; background: var(--white); border-radius: 999px; box-shadow: var(--card-shadow); }
.switch button { border: 0; cursor: pointer; font: 800 15px var(--body); padding: 10px 20px; min-height: 44px; border-radius: 999px; background: transparent; color: var(--ink-2); }
.switch button[aria-pressed="true"] { background: var(--night); color: var(--white); }
.switch .off { color: var(--coral); }
.switch button[aria-pressed="true"] .off { color: var(--coral-l); }

.table-wrap { position: relative; overflow-x: auto; background: var(--white); border-radius: 20px; box-shadow: var(--card-shadow); }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { padding: 14px 22px; text-align: center; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; font: 800 13px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--gray); background: #FAF9FF; }
.compare th[scope="row"] { text-align: left; font-weight: 600; }
.compare .no { color: #A9A7BF; }
.compare .inc { color: var(--violet); font-weight: 800; }
.compare svg { width: 18px; height: 18px; color: var(--mint); display: inline-block; vertical-align: middle; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.qa { display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin: 0 auto; }
.qa details { background: var(--white); border-radius: 14px; box-shadow: var(--card-shadow); }
.qa summary { cursor: pointer; list-style: none; font: 800 16.5px/1.4 var(--body); padding: 16px 22px; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 52px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; width: 9px; height: 9px; border-right: 2.5px solid var(--gray); border-bottom: 2.5px solid var(--gray); transform: rotate(45deg); flex: none; margin-top: -4px; }
.qa details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.qa p { padding: 0 22px 20px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* ── Appel final ───────────────────────────────────────────────────────── */
.final { padding-block: var(--pad); }
.final .panel-dark { border-radius: 28px; padding: 56px 24px; text-align: center; color: var(--white); display: flex; flex-direction: column; align-items: center; gap: 18px;
  background: radial-gradient(700px 360px at 20% 0%, rgba(91, 63, 232, .5), transparent 60%), radial-gradient(600px 360px at 100% 100%, rgba(255, 77, 46, .22), transparent 60%), var(--slate); }
.final h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; max-width: 760px; }
.final p { font-size: 18px; color: rgba(254, 254, 254, .74); }
.final .row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
@media (min-width: 760px) { .final .panel-dark { padding: 80px 40px; } }

/* ── Pied de page ──────────────────────────────────────────────────────── */
.site-footer { background: var(--white); border-top: 1px solid var(--line); font-size: 15px; }
.foot-grid { display: grid; gap: 32px; padding-block: 56px 40px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); } }
.foot-grid .about { display: flex; flex-direction: column; gap: 14px; max-width: 300px; }
.foot-grid .about p { color: var(--gray); font-size: 14.5px; }
.foot-grid h2 { font: 800 12px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--night); margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { color: var(--gray); }
.foot-grid a:hover { color: var(--violet); }
.foot-bottom { border-top: 1px solid var(--line); padding-block: 22px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13.5px; color: var(--gray); }

/* ── Pages intérieures ─────────────────────────────────────────────────── */
.page-hero { padding-block: 64px 24px; text-align: center; }
.page-hero .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; max-width: 820px; }
.page-hero p { font-size: 18px; color: var(--ink-2); max-width: 640px; }
.page-hero .badge { align-self: center; }
.legal { padding-bottom: var(--pad); }
.legal .doc { background: var(--white); border-radius: 20px; padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 26px; font-size: 16px; line-height: 1.7; box-shadow: var(--card-shadow); }
.legal .doc h2 { font: 800 19px var(--body); letter-spacing: -.01em; margin-bottom: 8px; }
.legal .doc p + p { margin-top: 10px; }
.legal .doc ul { margin: 10px 0 0; padding-left: 1.2em; }
.legal .doc .table-wrap { margin-top: 12px; box-shadow: 0 0 0 1px var(--line); border-radius: 12px; }
.legal .doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal .doc th, .legal .doc td { text-align: left; padding: 10px 14px; border-top: 1px solid var(--line); }
.legal .doc thead th { border-top: 0; background: #FAF9FF; }
.updated { font-size: 14px; color: var(--gray); }
section[id] { scroll-margin-top: 84px; }


/* ── Langues ───────────────────────────────────────────────────────────── */
.langs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--band); box-shadow: 0 0 0 1px var(--line); }
.langs a { font: 800 12.5px/1 var(--body); color: var(--gray); padding: 7px 10px; border-radius: 999px; min-width: 34px; text-align: center; }
.langs a[lang="ar"] { font-family: 'Cairo', sans-serif; font-size: 14px; padding-block: 5px; }
.langs a:hover { color: var(--violet); }
.langs a[aria-current="true"] { background: var(--white); color: var(--night); box-shadow: 0 1px 3px rgba(18, 17, 31, .12); }
.nav > .langs { display: none; }
.mobile-menu .langs { align-self: flex-start; margin-top: 14px; }
@media (min-width: 1080px) { .nav > .langs { display: flex; } .nav { gap: 20px; } .nav-links { gap: 24px; } }

/* Arabe : Cairo partout, de droite à gauche. Le logo garde Syne (il est en caractères latins). */
html[lang="ar"] { --display: 'Cairo', sans-serif; --body: 'Cairo', sans-serif; }
html[lang="ar"] h1, html[lang="ar"] h2 { font-weight: 800; letter-spacing: 0; line-height: 1.3; }
html[lang="ar"] .eyebrow, html[lang="ar"] .badge, html[lang="ar"] .plan .name, html[lang="ar"] .pill,
html[lang="ar"] .compare thead th, html[lang="ar"] .yearly dd, html[lang="ar"] .foot-grid h2 { letter-spacing: 0; }
html[lang="ar"] .word { font-family: 'Syne', sans-serif; }
[dir="rtl"] .dir-icon { transform: scaleX(-1); }
[dir="rtl"] .compare th[scope="row"] { text-align: right; }
[dir="rtl"] .legal .doc ul { padding-left: 0; padding-right: 1.2em; }
[dir="rtl"] .hero-visual .win { margin-left: 0; margin-right: 70px; }
[dir="rtl"] .hero-visual .phone { left: auto; right: -6px; }
[dir="rtl"] .stack .aside { right: auto; left: -6px; }
@media (min-width: 1080px) {
  [dir="rtl"] .hero-visual .win { margin-right: 90px; transform: perspective(1600px) rotateY(7deg) rotateX(2deg); }
  [dir="rtl"] .hero-visual .phone { right: 0; }
}

/* ── Vidéo : plus grande, appel à l'action après quelques secondes ─────── */
.tour { position: relative; max-width: 1120px; }
.tour-cta { position: absolute; top: 22px; inset-inline-end: 22px; max-width: 340px; background: var(--white); border-radius: 18px;
  padding: 18px 20px; box-shadow: 0 20px 50px rgba(18, 17, 31, .28); display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  opacity: 0; transform: translateY(-10px); visibility: hidden; transition: opacity .4s, transform .4s, visibility 0s .4s; }
.tour-cta.show { opacity: 1; transform: none; visibility: visible; transition: opacity .4s, transform .4s; }
.tour-cta p { font-weight: 800; font-size: 16px; line-height: 1.4; padding-inline-end: 26px; }
.tour-cta .btn { min-height: 44px; padding: 11px 20px; font-size: 15px; }
.tour-close { position: absolute; top: 10px; inset-inline-end: 10px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--band);
  color: var(--gray); display: grid; place-items: center; cursor: pointer; }
.tour-close svg { width: 16px; height: 16px; }
.tour-close:hover { color: var(--night); }
@media (max-width: 759px) {
  .tour-cta { position: static; max-width: none; margin-top: 12px; box-shadow: var(--card-shadow); display: none; }
  .tour-cta.show { display: flex; }
}
@media (prefers-reduced-motion: reduce) { .tour-cta, .tour-cta.show { transition: none; } }
.video-note { text-align: center; margin-top: 14px; font-size: 14px; color: var(--gray); }
.card .kicker { font-size: 13.5px; font-weight: 800; color: var(--gray); margin-top: -4px; }
/* Montants : « 29 € » reste dans cet ordre, même au milieu d'un texte arabe */
.price strong, .yearly dt { direction: ltr; unicode-bidi: isolate; }
