/* MoroView — site commercial. Direction : cinématographique (héros plein écran, maquette
   de l'interface, focus dominant) — un site commercial, pas un catalogue : aucune rangée de titres ; les écrans sont de VRAIES captures de l'application. Jetons de marque : design/moroview_elan_final/tokens.css. */
@font-face { font-family: 'Outfit'; font-weight: 500; font-display: swap; src: url('../fonts/outfit-500.woff') format('woff'); }
@font-face { font-family: 'Outfit'; font-weight: 600; font-display: swap; src: url('../fonts/outfit-600.woff') format('woff'); }
@font-face { font-family: 'Outfit'; font-weight: 800; font-display: swap; src: url('../fonts/outfit-800.woff') format('woff'); }
@font-face { font-family: 'Manrope'; font-weight: 400; font-display: swap; src: url('../fonts/manrope-400.woff') format('woff'); }
@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url('../fonts/manrope-600.woff') format('woff'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url('../fonts/manrope-700.woff') format('woff'); }
@font-face { font-family: 'Noto Sans Arabic'; font-weight: 400; font-display: swap; src: url('../fonts/notosansarabic-400.woff') format('woff'); }
@font-face { font-family: 'Noto Sans Arabic'; font-weight: 600; font-display: swap; src: url('../fonts/notosansarabic-600.woff') format('woff'); }
@font-face { font-family: 'Noto Sans Arabic'; font-weight: 700; font-display: swap; src: url('../fonts/notosansarabic-700.woff') format('woff'); }

:root {
  color-scheme: dark;
  --night: #0d1020;
  --night-rgb: 13, 16, 32;
  --surface: #141830;
  --card: #1a1f3a;
  --card-hover: #222850;
  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .18);
  --text: #ffffff;
  --text-2: #b8bdd4;
  --text-3: #9aa0bd;
  --blue: #0b71fc;
  --indigo: #4642fd;
  --violet: #a257fb;
  --blue-text: #8fb8ff;
  --violet-text: #c79bff;
  --success-text: #7ee2a0;
  --gradient: linear-gradient(90deg, #0b71fc 0%, #4642fd 50%, #a257fb 100%);
  --gradient-cta: linear-gradient(90deg, #0b5fe0 0%, #3e3af5 50%, #8747e8 100%);
  --display: 'Outfit', 'Manrope', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --radius: 16px;
  --width: 1280px;
  --gutter: clamp(20px, 4vw, 60px);
  --header-h: 76px;
  --brand-width: 192px;
  --brand-footer-width: 280px;
}
[dir="rtl"] {
  --display: 'Noto Sans Arabic', 'Outfit', system-ui, sans-serif;
  --body: 'Noto Sans Arabic', 'Manrope', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--text); font-family: var(--body); font-size: 1.0625rem; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a, li a, td a { text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--line-strong); }
p a:hover, li a:hover, td a:hover { color: var(--blue-text); text-decoration-color: currentColor; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 7vw, 6rem); font-weight: 800; line-height: .98; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
h3 { font-size: 1.375rem; line-height: 1.3; }
h4 { font-size: 1.0625rem; line-height: 1.4; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.25; }
strong { font-weight: 700; }
::selection { background: var(--indigo); color: #fff; }
:focus-visible { outline: 3px solid var(--blue-text); outline-offset: 4px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(var(--width), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-text); margin-bottom: 18px; }
[dir="rtl"] .eyebrow { letter-spacing: 0; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--gradient); }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.1875rem; color: var(--text-2); max-width: 62ch; }
.muted { color: var(--text-3); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 48px; }
.section-head p { color: var(--text-2); }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center p { max-width: 60ch; }
.divider { height: 8px; background: linear-gradient(90deg, transparent, rgba(70, 66, 253, .45), transparent); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 14px 28px; border-radius: 8px; font-weight: 700; font-size: 1.0625rem; line-height: 1.2; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, filter .2s ease; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--gradient-cta); color: #fff; box-shadow: 0 8px 28px rgba(70, 66, 253, .32); }
.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 12px 40px rgba(70, 66, 253, .48); }
.btn-secondary { background: rgba(255, 255, 255, .12); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-secondary:hover { background: rgba(255, 255, 255, .2); }
.btn-light { background: #fff; color: var(--night); }
.btn-light:hover { background: #eef1ff; }
.btn-lg { min-height: 60px; padding: 16px 34px; font-size: 1.125rem; }
.btn-block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue-text); }
.text-link svg { width: 18px; height: 18px; transition: transform .15s ease; }
.text-link:hover svg { transform: translateX(3px); }
[dir="rtl"] .text-link svg { transform: scaleX(-1); }
[dir="rtl"] .text-link:hover svg { transform: scaleX(-1) translateX(3px); }

/* ---------- En-tête (transparent sur le héros, opaque au défilement) ---------- */
.skip-link { position: fixed; top: -100px; inset-inline-start: 16px; z-index: 200; padding: 12px 18px; background: #fff; color: var(--night); border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.site-header { position: fixed; top: 0; inset-inline: 0; z-index: 100; background: linear-gradient(180deg, rgba(var(--night-rgb), .85) 0%, rgba(var(--night-rgb), 0) 100%); transition: background-color .3s ease, backdrop-filter .3s ease; }
.site-header.is-solid, .site-header.is-static { background: rgba(var(--night-rgb), .9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.site-header.is-static { position: sticky; }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.brand img { width: var(--brand-width); height: auto; flex: none; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-inline-start: 0; }
.main-nav a { padding: 10px 9px; border-radius: 8px; font-size: .9375rem; font-weight: 600; color: var(--text-2); transition: color .15s ease; }
.main-nav a:hover { color: #fff; }
.main-nav a[aria-current="page"] { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 14px; margin-inline-start: auto; }
.lang-switch { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 8px; padding: 3px; background: rgba(var(--night-rgb), .4); }
.lang-switch a { padding: 5px 9px; border-radius: 6px; font-size: .8125rem; font-weight: 700; color: var(--text-3); }
.lang-switch a[aria-current="true"] { background: rgba(255, 255, 255, .14); color: #fff; }
.lang-switch a:hover { color: #fff; }
.header-cta { min-height: 42px; padding: 9px 18px; font-size: .9375rem; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line-strong); place-items: center; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle span + span { margin-top: 5px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Héros plein écran (billboard) ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; min-height: 100svh; display: flex; align-items: flex-end; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% center; opacity: 0; transition: opacity 1.6s ease; transform: scale(1.04); }
.hero-bg img.is-active { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .hero-bg img.is-active { animation: hero-drift 14s ease-in-out both; } }
@keyframes hero-drift { from { transform: scale(1.04) translateX(0); } to { transform: scale(1.1) translateX(-1.5%); } }
[dir="rtl"] .hero-bg img { object-position: 32% center; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--night-rgb), .92) 0%, rgba(var(--night-rgb), .65) 35%, rgba(var(--night-rgb), .15) 65%, rgba(var(--night-rgb), .05) 100%), linear-gradient(0deg, var(--night) 0%, rgba(var(--night-rgb), .75) 22%, rgba(var(--night-rgb), 0) 55%, rgba(var(--night-rgb), .45) 100%); }
[dir="rtl"] .hero-shade { background: linear-gradient(270deg, rgba(var(--night-rgb), .92) 0%, rgba(var(--night-rgb), .65) 35%, rgba(var(--night-rgb), .15) 65%, rgba(var(--night-rgb), .05) 100%), linear-gradient(0deg, var(--night) 0%, rgba(var(--night-rgb), .75) 22%, rgba(var(--night-rgb), 0) 55%, rgba(var(--night-rgb), .45) 100%); }
.hero-inner { padding-block: calc(var(--header-h) + 64px) 72px; }
.hero-copy { max-width: 760px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 12px; font-size: .875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); margin-bottom: 22px; }
[dir="rtl"] .hero-kicker { letter-spacing: 0; }
.hero-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--gradient); box-shadow: 0 0 0 5px rgba(70, 66, 253, .25); }
.hero-copy .lead { margin-top: 24px; font-size: clamp(1.125rem, 1.6vw, 1.375rem); color: #e2e5f2; text-shadow: 0 2px 20px rgba(0, 0, 0, .5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 22px; font-size: .9375rem; color: var(--text-2); max-width: 64ch; }
.hero-scenes { display: flex; gap: 8px; margin-top: 36px; }
.hero-scenes button { width: 40px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .28); transition: background-color .2s ease, width .2s ease; padding: 0; }
.hero-scenes button[aria-pressed="true"] { background: #fff; width: 64px; }
.hero-scenes button:hover { background: rgba(255, 255, 255, .6); }
.hero-caption { position: absolute; top: calc(var(--header-h) + 24px); inset-inline-end: var(--gutter); font-size: .75rem; color: var(--text-3); text-align: end; }

/* ---------- Bandeau de confiance ---------- */
.trust-bar { background: var(--night); border-block: 1px solid var(--line); }
.trust-bar ul { list-style: none; padding: 0; margin-block: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 44px; min-height: 68px; align-items: center; font-size: .9375rem; font-weight: 600; color: var(--text-2); }
.trust-bar li { display: inline-flex; align-items: center; gap: 10px; }
.trust-bar svg { width: 18px; height: 18px; color: var(--blue-text); flex: none; }

/* ---------- Notes de bas de section ---------- */
.rail-caption { font-size: .8125rem; color: var(--text-3); margin-top: -8px; }

/* ---------- Cartes « raisons » (fond dégradé, façon Netflix) ---------- */
.reasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.reason { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 28px; border-radius: var(--radius); background: linear-gradient(150deg, #1c2144 0%, #171b36 50%, #14172c 100%); border: 1px solid var(--line); overflow: hidden; }
.reason::before { content: ""; position: absolute; inset: auto -40% -50% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(70, 66, 253, .35), transparent); pointer-events: none; }
.reason:nth-child(2)::before { background: radial-gradient(closest-side, rgba(162, 87, 251, .35), transparent); }
.reason:nth-child(3)::before { background: radial-gradient(closest-side, rgba(11, 113, 252, .35), transparent); }
.reason:nth-child(4)::before { background: radial-gradient(closest-side, rgba(126, 226, 160, .22), transparent); }
.reason h3 { font-size: 1.375rem; margin-bottom: 12px; }
.reason p { color: var(--text-2); font-size: .9375rem; flex: 1; }
.reason-icon { align-self: flex-end; margin-top: 24px; width: 56px; height: 56px; }
.reason-icon svg { width: 100%; height: 100%; }
.reason-proof { margin-top: 18px; font-size: .8125rem; font-weight: 700; color: var(--blue-text); }

/* ---------- Tuiles de plateformes (façon Disney+) ---------- */
.brand-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.brand-tile { position: relative; min-height: 168px; padding: 22px 12px 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border-radius: 12px; background: linear-gradient(180deg, #1b2040 0%, #12162a 100%); border: 2px solid rgba(255, 255, 255, .12); box-shadow: 0 20px 40px rgba(0, 0, 0, .35); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; overflow: hidden; }
.brand-tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 110%, rgba(70, 66, 253, .35), transparent 60%); opacity: 0; transition: opacity .3s ease; }
.brand-tile:hover, .brand-tile:focus-visible { transform: scale(1.05); border-color: rgba(255, 255, 255, .8); box-shadow: 0 0 30px rgba(70, 66, 253, .5), 0 20px 50px rgba(0, 0, 0, .5); }
.brand-tile:hover::before { opacity: 1; }
.brand-tile svg, .brand-tile img { position: relative; width: 40px; height: 40px; color: #fff; }
.brand-tile img.platform-logo { width: 44px; height: 44px; max-width: 100%; object-fit: contain; }
.brand-tile img.platform-logo--android { width: 68px; }
.brand-tile img.platform-logo--wordmark { width: 128px; }
.brand-tile b { position: relative; font-family: var(--display); font-weight: 600; font-size: 1.0625rem; }
.brand-tile .badge { position: relative; margin-top: 4px; font-size: .625rem; padding: 2px 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; border: 1px solid var(--line-strong); color: var(--text-2); width: max-content; background: rgba(var(--night-rgb), .6); }
[dir="rtl"] .badge { letter-spacing: 0; }
.badge-live { border-color: rgba(126, 226, 160, .45); color: var(--success-text); }
.badge-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success-text); }
.badge-soon { border-color: rgba(143, 184, 255, .45); color: var(--blue-text); }
.badge-test { border-color: rgba(199, 155, 255, .5); color: var(--violet-text); }

/* ---------- Sections éditoriales (photo + copie) ---------- */
.feature-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(64px, 9vw, 120px); }
.feature-row.reverse > :first-child { order: 2; }
.feature-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, .55); }
.feature-media img { width: 100%; height: auto; }
.feature-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--radius); pointer-events: none; }
.feature-copy h2 { margin-bottom: 18px; }
.feature-copy p { color: var(--text-2); }
.feature-copy .text-link { margin-top: 22px; }
.quote { margin-top: 26px; padding: 18px 22px; border-inline-start: 3px solid var(--indigo); background: rgba(255, 255, 255, .04); border-radius: 0 12px 12px 0; font-weight: 600; }
[dir="rtl"] .quote { border-radius: 12px 0 0 12px; }
.proof-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; color: var(--text-2); font-size: .9375rem; }
.proof-list li { display: flex; gap: 10px; align-items: flex-start; }
.proof-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: .3em; border-radius: 50%; background: var(--gradient); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* ---------- Captures réelles de l'application ---------- */
.screen-tv { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--night); box-shadow: 0 50px 120px rgba(0, 0, 0, .6), 0 0 0 10px rgba(255, 255, 255, .025); }
.screen-tv img { width: 100%; height: auto; display: block; }
.screen-tv figcaption { padding: 12px 16px; font-size: .875rem; color: var(--text-3); border-top: 1px solid var(--line); background: var(--surface); }
.screen-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.screen-tv.small { box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.device-duo { position: relative; padding-inline-end: 12%; padding-bottom: 10%; }
.duo-desktop { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line-strong); box-shadow: 0 40px 100px rgba(0, 0, 0, .55); }
.duo-wrap { max-width: 900px; margin: 0 auto 48px; }
.duo-phone { position: absolute; inset-inline-end: 0; bottom: 0; width: 26%; height: auto; border-radius: 18px; border: 3px solid #2a2f4d; box-shadow: 0 30px 70px rgba(0, 0, 0, .6); background: var(--night); }

/* ---------- Étapes ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { position: relative; padding: 32px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--display); font-size: 2.75rem; font-weight: 800; line-height: 1; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 18px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--text-2); font-size: .9375rem; }

/* ---------- Plateformes (page téléchargement) ---------- */
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.platform { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.platform-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.platform-head svg, .platform-head img { width: 44px; height: 44px; flex: none; color: #fff; object-fit: contain; }
.platform-head img.platform-logo--android { width: 68px; }
.platform-head img.platform-logo--wordmark { width: 128px; }
.platform h3 { font-size: 1.125rem; }
.platform p { color: var(--text-2); font-size: .9375rem; flex: 1; }
.platform .btn { margin-top: 8px; }

/* ---------- Coffre (schéma) ---------- */
.vault { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.vault-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.vault-box h3 { font-size: 1.0625rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.vault-box h3 svg { width: 20px; height: 20px; color: var(--blue-text); flex: none; }
.vault-box ul { padding-inline-start: 18px; color: var(--text-2); font-size: .9375rem; display: grid; gap: 6px; margin: 0; }
.vault-arrow { display: grid; place-items: center; color: var(--text-3); }
.vault-arrow svg { width: 36px; height: 36px; }
[dir="rtl"] .vault-arrow svg { transform: scaleX(-1); }
.vault-blob { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8125rem; word-break: break-all; color: var(--text-3); background: var(--night); border: 1px dashed var(--line-strong); border-radius: 8px; padding: 12px; margin-top: 12px; direction: ltr; text-align: left; }

/* ---------- Tarifs ---------- */
.currency-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); }
.currency-toggle button { padding: 8px 18px; border-radius: 7px; font-weight: 700; font-size: .9375rem; color: var(--text-3); }
.currency-toggle button[aria-pressed="true"] { background: #fff; color: var(--night); }
.pricing { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.plan.is-featured { background: linear-gradient(var(--card), var(--card)) padding-box, var(--gradient) border-box; border: 2px solid transparent; box-shadow: 0 30px 80px rgba(70, 66, 253, .28); }
.plan-flag { position: absolute; top: -14px; inset-inline-start: 24px; padding: 4px 12px; border-radius: 999px; background: var(--gradient); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
[dir="rtl"] .plan-flag { letter-spacing: 0; }
.plan h3 { font-size: 1.125rem; }
.plan-price { font-family: var(--display); font-size: 2.5rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.plan-price small { font-family: var(--body); font-size: 1rem; font-weight: 600; color: var(--text-3); letter-spacing: 0; }
.plan-sub { font-size: .875rem; color: var(--text-3); min-height: 1.4em; }
.plan-was { text-decoration: line-through; color: var(--text-3); font-weight: 400; font-size: 1.125rem; margin-inline-end: 6px; }
.plan .proof-list { margin-top: 0; flex: 1; align-content: start; }
.pricing.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 960px; margin-inline: auto; }
.billing { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.billing li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; font-size: .9375rem; background: rgba(255, 255, 255, .03); }
.billing li + li { border-top: 1px solid var(--line); }
.billing li span { color: var(--text-2); }
.billing strong { white-space: nowrap; }
.billing s { color: var(--text-3); font-weight: 400; margin-inline-end: 4px; }
.plan .btn { margin-top: auto; }
.price-note { margin-top: 28px; padding: 18px 22px; border-radius: 12px; background: rgba(143, 184, 255, .08); border: 1px solid rgba(143, 184, 255, .25); color: var(--text-2); font-size: .9375rem; }

/* ---------- Tableaux ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 560px; }
th, td { padding: 16px 20px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--display); font-weight: 600; color: var(--text); background: rgba(255, 255, 255, .03); }
td { color: var(--text-2); }
tbody tr:last-child td { border-bottom: 0; }
td.good { color: var(--success-text); font-weight: 600; }
td.bad { color: var(--text-3); }
.col-hl { background: rgba(70, 66, 253, .1); }

/* ---------- FAQ (accordéons larges) ---------- */
.faq { display: grid; gap: 10px; max-width: 900px; margin-inline: auto; }
.faq details { background: #1b2040; border-radius: 6px; transition: background-color .2s ease; }
.faq details:hover, .faq details[open] { background: #222850; }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; font-family: var(--display); font-weight: 600; font-size: clamp(1.0625rem, 1.5vw, 1.375rem); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; font-size: 1.75rem; font-weight: 400; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 24px; color: var(--text-2); font-size: 1.0625rem; }
.faq details p + p { margin-top: 12px; }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; }
label { font-size: .875rem; font-weight: 600; color: var(--text-2); }
input, select { width: 100%; min-height: 54px; padding: 12px 16px; border-radius: 8px; border: 1px solid var(--line-strong); background: rgba(var(--night-rgb), .7); color: #fff; font: inherit; }
input::placeholder { color: var(--text-3); }
input:focus, select:focus { outline: 3px solid rgba(143, 184, 255, .55); outline-offset: 0; border-color: var(--blue-text); }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa0bd' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-inline-end: 44px; }
[dir="rtl"] select { background-position: left 14px center; }
.form-status { min-height: 1.5em; font-size: .9375rem; color: var(--text-2); }
.form-status[data-state="ok"] { color: var(--success-text); }
.form-status[data-state="error"] { color: #ffb4b4; }
.form-note { font-size: .8125rem; color: var(--text-3); }
.waitlist { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: linear-gradient(135deg, #1c2144, #14172c); border: 1px solid var(--line); }
.waitlist h2 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); margin-bottom: 10px; }
.waitlist > p { color: var(--text-2); margin-bottom: 22px; }

/* ---------- Encadrés ---------- */
.callout { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 28px 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.callout svg { width: 28px; height: 28px; color: var(--violet-text); margin-top: 4px; }
.callout h3 { margin-bottom: 8px; }
.callout p { color: var(--text-2); }
.disclaimer { padding: 28px 32px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--text-2); font-size: .9375rem; }
.disclaimer strong { color: #fff; }

/* ---------- Bande finale ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(96px, 14vw, 180px); text-align: center; }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--night) 0%, rgba(var(--night-rgb), .7) 50%, var(--night) 100%); }
.cta-band .lead { margin: 18px auto 32px; }
.cta-band .hero-actions { justify-content: center; margin-top: 0; }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); background: #0a0d1a; padding-block: 64px 32px; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand img { width: var(--brand-footer-width); max-width: 100%; height: auto; margin-bottom: 24px; }
.footer-brand p { color: var(--text-3); max-width: 38ch; }
.footer-col h4 { margin-bottom: 14px; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
[dir="rtl"] .footer-col h4 { letter-spacing: 0; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text-2); }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: var(--text-3); font-size: .875rem; }
.footer-legal { margin-top: 24px; color: var(--text-3); font-size: .875rem; max-width: 96ch; }
.footer-attribution { color: var(--text-3); font-size: .8125rem; margin-top: 12px; }

/* ---------- Héros de page intérieure ---------- */
.page-hero { padding-block: calc(var(--header-h) + 72px) 56px; border-bottom: 1px solid var(--line); background: radial-gradient(1200px 520px at 15% -10%, rgba(70, 66, 253, .32), transparent 60%), radial-gradient(900px 420px at 90% 0%, rgba(162, 87, 251, .2), transparent 60%); }
.page-hero .lead { margin-top: 20px; }
.page-hero .hero-actions { margin-top: 30px; }

/* ---------- Page fonctionnalités ---------- */
.feature-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.feature-toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; }
.feature-toc a { padding: 8px 12px; border-radius: 8px; font-size: .9375rem; color: var(--text-2); }
.feature-toc a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.feature-section + .feature-section { margin-top: 80px; padding-top: 80px; border-top: 1px solid var(--line); }
.feature-section h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 14px; }
.feature-section .lead { font-size: 1.0625rem; }
.feature-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.feature-items article { padding: 22px 24px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.feature-items h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.feature-items p { font-size: .9375rem; color: var(--text-2); }
.feature-note { margin-top: 22px; font-size: .875rem; color: var(--text-3); padding-inline-start: 16px; border-inline-start: 2px solid var(--line-strong); }
.feature-section figure { margin: 28px 0 0; }
.feature-section figure img { border-radius: 12px; border: 1px solid var(--line); }
.feature-section figcaption { margin-top: 10px; font-size: .8125rem; color: var(--text-3); }

/* ---------- Pages légales ---------- */
.legal { max-width: 800px; }
.legal h2 { font-size: 1.5rem; font-weight: 600; margin-top: 48px; margin-bottom: 14px; letter-spacing: 0; }
.legal h3 { font-size: 1.125rem; margin-top: 28px; margin-bottom: 10px; }
.legal p, .legal li { color: var(--text-2); }
.legal ul, .legal ol { padding-inline-start: 22px; display: grid; gap: 8px; margin-top: 10px; }
.legal p + p { margin-top: 12px; }
.todo { background: rgba(255, 196, 0, .12); border: 1px dashed rgba(255, 196, 0, .5); color: #ffd97a; padding: 2px 8px; border-radius: 6px; font-weight: 600; }

/* ---------- Apparition ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal.is-pending { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.is-pending.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .text-link svg, .brand-tile, .hero-bg img { transition: none; animation: none; } }

/* ---------- Réactif ---------- */
@media (max-width: 1100px) {
  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-layout { grid-template-columns: 1fr; gap: 32px; }
  .feature-toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
}
@media (max-width: 1279px) {
  .main-nav { display: none; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; padding: 12px 24px 20px; margin: 0; background: rgba(var(--night-rgb), .97); border-bottom: 1px solid var(--line); gap: 2px; }
  .main-nav.is-open { display: flex; }
  .main-nav { max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
  .main-nav a { padding: 14px 12px; font-size: 1.0625rem; }
  .menu-toggle { display: grid; }
  .header-cta { display: none; }
}
@media (max-width: 960px) {
  .steps, .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 32px; }
  .screen-grid { grid-template-columns: 1fr; }
  .feature-row.reverse > :first-child { order: 0; }
  .vault { grid-template-columns: 1fr; }
  .vault-arrow svg, [dir="rtl"] .vault-arrow svg { transform: rotate(90deg); }
  .hero { min-height: 92svh; }
  .hero-caption { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .section { padding-block: 56px; }
  .steps, .platforms, .pricing, .pricing.two, .feature-items, .footer-grid, .reasons { grid-template-columns: minmax(0, 1fr); }
  .brand-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li, .plan { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; white-space: normal; text-align: center; }
  .plan .btn { white-space: normal; text-align: center; }
  .trust-bar ul { gap: 10px 20px; padding-block: 14px; font-size: .875rem; justify-content: flex-start; }
  .callout { grid-template-columns: 1fr; }
  :root { --brand-width: 136px; }
  .header-inner { padding-block: 4px; }
  .header-actions { margin-inline-start: auto; }
  .header-inner { gap: 12px; }
  .header-actions { gap: 8px; }
  .lang-switch a { padding-inline: 6px; font-size: .75rem; }
  .faq summary { padding: 18px 18px; }
  .faq details p { padding: 0 18px 20px; }
}
@media (max-width: 380px) {
  :root { --brand-width: 120px; }
  .header-inner { justify-content: space-between; }
  .header-inner { gap: 8px; }
  .header-actions { gap: 6px; }
  .lang-switch a { padding-inline: 5px; }
}
