/* Page d'accueil de MOS (vitrine) : héros photo sous voile orange et noir, barre de navigation blanche flottante, sections crème
   et sections sombres, cartes numérotées, compteurs, grand texte défilant. Couleurs MOS : orange #E4521A, ambre #F59E0B,
   rouge profond #8A0303 ; vert MOS #00746D pour les validations. */
:root {
  --brand: #E4521A; --orange: #F26A1B; --amber: #F59E0B; --deep: #8A0303; --teal: #00746D;
  --btn: #E4521A; --btn-h: #C8401A;
  --bg: #F8EDE5; --surface: #FFFFFF; --soft: #F3E4D9; --line: #E8D5C8;
  --ink: #1B1512; --ink-2: #4A403B; --muted: #7D716B;
  --dark: #120C0A; --dark-2: #1D1310;
  --glow: radial-gradient(70% 60% at 15% 20%, rgba(242, 106, 27, .85), transparent 60%), radial-gradient(60% 60% at 85% 80%, rgba(138, 3, 3, .7), transparent 60%), #120C0A;
  --shadow: 0 24px 50px -30px rgba(42, 20, 10, .45); --shadow-lg: 0 40px 80px -40px rgba(138, 3, 3, .55);
  --r: 22px; --r-lg: 30px; --gut: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #140E0C; --surface: #1E1613; --soft: #251A16; --line: #3A2A23; --ink: #F6EEE9; --ink-2: #D8CCC5; --muted: #A79790; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #140E0C; --surface: #1E1613; --soft: #251A16; --line: #3A2A23; --ink: #F6EEE9; --ink-2: #D8CCC5; --muted: #A79790; color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-x: hidden; }
html[lang="zh"] body { font-family: "Noto Sans SC", Montserrat, system-ui, sans-serif; }
html[lang="ar"] body { font-family: "Noto Sans Arabic", Montserrat, system-ui, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.025em; }
p { margin: 0; }
.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
html[dir="rtl"] .btn .ic { transform: scaleX(-1); }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; inset-inline-start: 8px; top: 8px; z-index: 200; background: var(--surface); padding: 8px 14px; border-radius: 10px; transform: translateY(-300%); }
.skip:focus { transform: none; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--deep), var(--brand), var(--amber)); }
html[dir="rtl"] .progress { transform-origin: 100% 50%; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }

.page { padding: 10px; }
@media (min-width: 720px) { .page { padding: 14px; } }
main > section { max-width: 1200px; margin: 0 auto; padding: 80px var(--gut); scroll-margin-top: 96px; }
@media (min-width: 900px) { main > section { padding: 110px 28px; } }
.head { text-align: center; max-width: 820px; margin: 0 auto 48px; }
.head h2 { margin-top: 12px; font-size: clamp(32px, 5.6vw, 64px); font-weight: 800; text-wrap: balance; }
.head p { margin-top: 16px; color: var(--ink-2); font-size: 17px; }

/* ------------------------------------------------------------------ Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 11px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .25s cubic-bezier(.34, 1.5, .64, 1); }
.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 56px; padding: 15px 28px; font-size: 16px; }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 13.5px; }
.btn-orange { background: var(--btn); color: #fff; box-shadow: 0 12px 26px -14px rgba(228, 82, 26, .9); }
.btn-orange:hover { background: var(--btn-h); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--brand); color: var(--brand); }
.btn-glass { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .18); }
.btn-white { background: #fff; color: var(--btn); }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.icon-btn .moon { display: none; }
:root[data-theme="dark"] .icon-btn .sun { display: none; }
:root[data-theme="dark"] .icon-btn .moon { display: block; }

/* ------------------------------------------------------------------ Barre de navigation : blanche, flottante, toujours devant */
.nav-wrap { position: fixed; top: 22px; left: 0; right: 0; z-index: 100; padding: 0 22px; pointer-events: none; }
@media (min-width: 720px) { .nav-wrap { top: 28px; padding: 0 30px; } }
.nav { pointer-events: auto; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, .94); color: #1B1512; box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: box-shadow .3s, top .3s; }
:root[data-theme="dark"] .nav { background: rgba(30, 22, 19, .92); color: #F6EEE9; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav { background: rgba(30, 22, 19, .92); color: #F6EEE9; } }
.nav.scrolled { box-shadow: 0 22px 44px -22px rgba(0, 0, 0, .6); }
html[dir="rtl"] .nav { padding: 8px 20px 8px 8px; }
.brand img { height: 32px; width: auto; }
.logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: none; } :root[data-theme="dark"] .logo-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none; } :root:not([data-theme="light"]) .logo-dark { display: block; } }
.links { display: none; gap: 4px; margin-inline: auto; }
.links a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 999px; white-space: nowrap; color: inherit; }
.links a:hover, .links a[aria-current] { color: var(--brand); background: rgba(228, 82, 26, .08); }
.links .only-menu { display: none; }
.tools { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.nav .icon-btn { border-color: rgba(0, 0, 0, .1); color: inherit; }
.lang { display: inline-flex; align-items: center; gap: 4px; height: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .1); }
:root[data-theme="dark"] .lang, :root[data-theme="dark"] .nav .icon-btn { border-color: rgba(255, 255, 255, .15); }
.lang select { appearance: none; background: none; border: 0; color: inherit; font-family: inherit; font-weight: 700; font-size: 13px; cursor: pointer; }
.lang select option { color: #1B1512; }
.link-login { text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 8px 10px; }
.link-login:hover { color: var(--brand); }
.burger { display: inline-grid; gap: 4px; place-content: center; }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .25s; }
.nav.open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.hide-sm { display: none; }
@media (max-width: 1079px) {
  .nav { flex-wrap: wrap; border-radius: 28px; }
  .nav.open .links { display: grid; order: 9; flex-basis: 100%; padding: 6px 0 8px; }
  .nav.open .links .only-menu { display: block; }
}
@media (max-width: 520px) { .tools .signup-link { display: none; } .brand img { height: 28px; } .nav { padding-inline-start: 14px; } }
@media (min-width: 1080px) { .links { display: flex; } .burger { display: none; } .hide-sm { display: inline-flex; } }

/* ------------------------------------------------------------------ Héros */
.hero { position: relative; min-height: min(860px, 100svh); border-radius: var(--r-lg); overflow: hidden; background: var(--dark); color: #fff; isolation: isolate; display: flex; }
.hero-photo { position: absolute; inset: 0 0 0 auto; width: min(62%, 760px); height: 100%; object-fit: cover; object-position: 50% 20%; z-index: -3; }
html[dir="rtl"] .hero-photo { inset: 0 auto 0 0; }
.hero-veil { position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(60% 70% at 8% 35%, rgba(242, 106, 27, .95), rgba(242, 106, 27, 0) 70%),
              radial-gradient(50% 60% at 30% 100%, rgba(138, 3, 3, .85), rgba(138, 3, 3, 0) 70%),
              linear-gradient(90deg, #1A0D08 0%, rgba(26, 13, 8, .92) 38%, rgba(26, 13, 8, .35) 70%, rgba(26, 13, 8, .55) 100%); }
html[dir="rtl"] .hero-veil { transform: scaleX(-1); }
.hero-grain { position: absolute; inset: 0; z-index: -1; opacity: .22; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
@media (max-width: 760px) { .hero-photo { width: 100%; opacity: .45; } .hero-veil { background: linear-gradient(180deg, rgba(26, 13, 8, .55), rgba(26, 13, 8, .9)), radial-gradient(80% 60% at 0% 30%, rgba(242, 106, 27, .9), transparent 70%); } }
.hero-in { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; padding: 120px 22px 48px; display: flex; flex-direction: column; justify-content: flex-end; gap: 36px; }
@media (min-width: 900px) { .hero-in { padding: 140px 40px 64px; } }
.trust { align-self: flex-end; display: flex; align-items: center; gap: 12px; }
.trust b { display: block; font-size: 15px; } .trust small { font-size: 13px; color: rgba(255, 255, 255, .82); }
.avatars { display: flex; }
.avatars span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--brand); border: 2px solid #fff; margin-inline-start: -10px; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5); }
.avatars span:first-child { margin-inline-start: 0; }
.avatars .ic { width: 20px; height: 20px; }
.hero-grid { display: grid; gap: 30px; align-items: end; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.35fr 1fr; gap: 48px; } }
.news-pill { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); color: #fff; text-decoration: none; font-size: 13.5px; }
.news-pill b { background: var(--brand); padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.news-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h-title { margin-top: 22px; font-size: clamp(46px, 8.6vw, 104px); font-weight: 800; line-height: .98; letter-spacing: -.04em; }
.h-title em { display: block; margin-top: 10px; font-style: normal; font-size: .42em; line-height: 1.15; letter-spacing: -.02em; color: #FFD6B8; }
.hero-side { display: grid; gap: 22px; max-width: 460px; }
.h-lead { font-size: 17px; color: rgba(255, 255, 255, .9); }
.h-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.notif-float { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, .95); color: #1B1512; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); max-width: 330px;
  animation: floatY 5s ease-in-out infinite; }
.notif-float b { display: block; font-size: 14px; } .notif-float small { color: #7D716B; font-size: 12.5px; }
.ci { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: rgba(228, 82, 26, .14); color: var(--brand); flex: none; }
.n-btns { display: flex; gap: 6px; margin-top: 10px; }
.n-btns span { font-size: 12.5px; font-weight: 700; padding: 7px 14px; border-radius: 999px; border: 1px solid #E8D5C8; }
.n-btns .ok { background: var(--teal); color: #fff; border-color: var(--teal); }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ------------------------------------------------------------------ Bandeau défilant */
.logos { padding: 40px 0 10px; text-align: center; overflow: hidden; }
.logos p { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.marquee { margin-top: 20px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 14px; width: max-content; animation: slide 32s linear infinite; }
.track span { padding: 14px 26px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 16px; color: var(--ink-2); white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }
html[dir="rtl"] .track { animation-direction: reverse; }
.marquee:hover .track { animation-play-state: paused; }

/* ------------------------------------------------------------------ À propos */
.about-intro { max-width: 980px; font-size: clamp(24px, 3.6vw, 40px); font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.about-intro .eyebrow { display: block; margin-bottom: 18px; }
.about-grid { display: grid; gap: 36px; margin-top: 60px; align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.big-num b { display: block; font-size: clamp(90px, 14vw, 170px); font-weight: 800; line-height: .9; letter-spacing: -.05em;
  background: linear-gradient(135deg, var(--deep), var(--brand) 55%, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-num > span { display: block; margin-top: 12px; font-size: 18px; color: var(--ink-2); }
.about-text p { font-size: 18px; color: var(--ink-2); line-height: 1.7; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ------------------------------------------------------------------ Scène : photos et points d'intérêt */
main > .scene { max-width: none; padding: 0; }
.scene-frame { position: relative; height: clamp(440px, 62vw, 720px); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr 1fr; background: var(--dark); }
.scene-frame img { width: 100%; height: 100%; object-fit: cover; }
.sc-a { object-position: 50% 30%; } .sc-b { object-position: 50% 30%; } .sc-c { object-position: 50% 30%; }
@media (max-width: 720px) { .scene-frame { grid-template-columns: 1fr; } .sc-b, .sc-c { display: none; } }
.scene-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 12, 10, 0) 45%, rgba(18, 12, 10, .55)); pointer-events: none; }
.hot { position: absolute; width: 26px; height: 26px; border-radius: 50%; border: 3px solid #fff; background: var(--brand); cursor: pointer; padding: 0; z-index: 2; box-shadow: 0 0 0 0 rgba(228, 82, 26, .7); animation: ping 2s infinite; }
.hot.on { background: #fff; border-color: var(--brand); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 80%, 100% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); } }
.hot.h1 { left: 24%; top: 74%; } .hot.h2 { left: 56%; top: 62%; } .hot.h3 { left: 84%; top: 52%; }
@media (max-width: 720px) { .hot.h1 { left: 48%; top: 78%; } .hot.h2 { left: 20%; top: 48%; } .hot.h3 { left: 74%; top: 30%; } }
.pop { position: absolute; z-index: 3; width: min(300px, calc(100% - 32px)); padding: 18px; border-radius: 18px; background: #fff; color: #1B1512; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(10px) scale(.96); pointer-events: none; transition: opacity .3s, transform .4s cubic-bezier(.34, 1.4, .64, 1); }
.pop.on { opacity: 1; transform: none; pointer-events: auto; }
.pop b { font-size: 16px; } .pop p { margin: 6px 0 14px; font-size: 14px; color: #4A403B; }
.pop.p1 { left: calc(24% + 34px); top: calc(74% - 150px); } .pop.p2 { left: calc(56% + 34px); top: calc(62% - 150px); } .pop.p3 { right: calc(16% + 34px); top: calc(52% - 150px); }
@media (max-width: 960px) { .pop.p1, .pop.p2, .pop.p3 { left: 16px; right: auto; top: auto; bottom: 16px; } }

/* ------------------------------------------------------------------ En-tête des fonctionnalités (fond pointillé) */
main > .feat-head { position: relative; padding-bottom: 40px; }
.dots-bg { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(228, 82, 26, .35) 1.4px, transparent 1.6px); background-size: 26px 26px; mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); }
.feat-head .btn { margin-top: 28px; }

/* ------------------------------------------------------------------ Modules : section sombre, cartes numérotées */
main > .mods-dark { max-width: none; padding: 0; }
.mods-dark { border-radius: var(--r-lg); background: var(--glow); color: #fff; overflow: hidden; }
.mods-grid { max-width: 1200px; margin: 0 auto; padding: 70px var(--gut); display: grid; gap: 24px; }
@media (min-width: 900px) { .mods-grid { grid-template-columns: 1fr 1fr; gap: 36px; padding: 110px 40px; } .mod-card:nth-child(even) { margin-top: 90px; } .mod-card:nth-child(odd):not(:first-child) { margin-top: -90px; } }
.mod-card { position: relative; padding: 32px; border-radius: 26px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); min-height: 460px; display: flex; flex-direction: column; transition: background .3s, transform .4s cubic-bezier(.34, 1.4, .64, 1); }
.mod-card:hover { background: rgba(255, 255, 255, .1); transform: translateY(-6px); }
.mod-card h3 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; }
.mod-card h3 span { color: #FFB27A; }
.line-ic { display: grid; place-items: center; margin: 36px auto; width: 150px; height: 150px; color: #fff; position: relative; }
.line-ic::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 106, 27, .45), transparent 70%); filter: blur(6px); animation: glow 4s ease-in-out infinite; }
.line-ic .ic { position: relative; width: 120px; height: 120px; stroke-width: .9; }
@keyframes glow { 50% { opacity: .5; transform: scale(.9); } }
.mc-lead { font-size: 18px; font-weight: 600; color: #FFE3CF; }
.mod-card ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; color: rgba(255, 255, 255, .85); font-size: 15px; }
.mod-card li { position: relative; padding-inline-start: 22px; }
.mod-card li::before { content: ""; position: absolute; inset-inline-start: 0; top: .6em; width: 10px; height: 2px; background: var(--orange); border-radius: 2px; }
.js .mod-card.reveal .line-ic .ic { stroke-dasharray: 160; stroke-dashoffset: 160; }
.js .mod-card.reveal.in .line-ic .ic { animation: icDraw 2.2s cubic-bezier(.5, 0, .2, 1) .2s forwards; }

/* ------------------------------------------------------------------ Galerie */
main > .gallery { max-width: none; padding: 14px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 900px) { main > .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 10px 14px; border-radius: 14px; background: rgba(18, 12, 10, .6); color: #fff; font-weight: 700; font-size: 14.5px; backdrop-filter: blur(8px); }

/* ------------------------------------------------------------------ Impact : carte orange + compteurs (fond sombre) */
main > .impact { max-width: none; margin-top: 14px; padding: 0; border-radius: var(--r-lg); background: var(--dark-2); color: #fff; overflow: hidden; }
.impact-grid { max-width: 1200px; margin: 0 auto; padding: 70px var(--gut) 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .impact-grid { grid-template-columns: 1.2fr 1fr; padding: 100px 40px 0; } }
.impact-card { padding: 40px 32px; border-radius: 26px; background: linear-gradient(150deg, var(--orange), var(--brand) 50%, #A82F12); display: flex; flex-direction: column; justify-content: space-between; gap: 26px; min-height: 380px; }
.impact-card h2 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; }
.impact-card p { font-size: 17px; color: rgba(255, 255, 255, .92); max-width: 460px; }
.impact-card .btn { align-self: flex-start; }
.impact-photo { border-radius: 26px; overflow: hidden; min-height: 380px; }
.impact-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.counters { max-width: 1200px; margin: 0 auto; padding: 50px var(--gut) 70px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (min-width: 900px) { .counters { grid-template-columns: repeat(4, 1fr); padding: 70px 40px 100px; } }
.counters b { display: block; font-size: clamp(56px, 7vw, 88px); font-weight: 800; line-height: 1; color: #fff; }
.counters span { display: block; margin-top: 10px; color: rgba(255, 255, 255, .72); font-size: 15px; max-width: 240px; }
.counters div { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 22px; }

/* ------------------------------------------------------------------ Encore plus : grandes icônes animées */
.more-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .more-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .more-grid { grid-template-columns: repeat(4, 1fr); } }
.more-grid article { padding: 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.more-grid article:hover { box-shadow: var(--shadow); border-color: rgba(228, 82, 26, .4); }
.more-grid h3 { margin-top: 18px; font-size: 18px; font-weight: 700; }
.more-grid p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.big-ic { position: relative; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 22px; color: #fff;
  background: linear-gradient(140deg, var(--amber), var(--brand) 55%, #C8401A); box-shadow: 0 14px 26px -14px rgba(185, 60, 11, .8);
  animation: icFloat 4.5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.45s); }
.big-ic::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(160deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 55%); pointer-events: none; }
.big-ic .ic { width: 34px; height: 34px; stroke-width: 1.7; }
.more-grid article:nth-child(3n+2) .big-ic { background: linear-gradient(140deg, #F7B23B, var(--amber) 45%, var(--brand)); }
.more-grid article:nth-child(3n) .big-ic { background: linear-gradient(140deg, var(--brand), #C8401A 55%, var(--deep)); }
@keyframes icFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.js .reveal .big-ic .ic { stroke-dasharray: 120; stroke-dashoffset: 120; }
.js .reveal.in .big-ic .ic { animation: icDraw 1.3s cubic-bezier(.5, 0, .2, 1) forwards; animation-delay: calc(.15s + var(--i, 0) * .08s); }
@keyframes icDraw { to { stroke-dashoffset: 0; } }
.js .more-grid.reveal article { opacity: 0; translate: 0 22px; scale: .96; }
.js .more-grid.reveal.in article { animation: cardIn .7s cubic-bezier(.34, 1.4, .64, 1) forwards; animation-delay: calc(var(--i, 0) * .06s); }
@keyframes cardIn { to { opacity: 1; translate: 0 0; scale: 1; } }
.more-grid article:hover .big-ic { animation: icWiggle .6s cubic-bezier(.34, 1.6, .64, 1); }
@keyframes icWiggle { 0% { transform: scale(1); } 35% { transform: scale(1.14) rotate(-8deg); } 70% { transform: scale(1.05) rotate(5deg); } 100% { transform: scale(1); } }
.js .more-grid.reveal { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ Téléchargements */
.dl-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .dl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .dl-grid { grid-template-columns: repeat(4, 1fr); } }
.dl-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.dl-card.hot-card { border-color: rgba(228, 82, 26, .45); box-shadow: var(--shadow); }
.dl-card .flag { position: absolute; top: 18px; inset-inline-end: 18px; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--brand); color: #fff; }
.dl-ic { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; background: rgba(228, 82, 26, .1); color: var(--brand); }
.dl-ic .ic { width: 24px; height: 24px; }
.dl-card h3 { font-size: 20px; font-weight: 800; margin-top: 6px; }
.dl-v { font-size: 13px; color: var(--muted); font-weight: 600; }
.dl-card p:not(.dl-v) { font-size: 14.5px; color: var(--ink-2); flex: 1; }
.dl-card .btn { margin-top: 10px; }

/* ------------------------------------------------------------------ Grand texte défilant */
.giant { overflow: hidden; padding: 10px 0 0; }
.giant-track { display: flex; gap: 40px; width: max-content; animation: slide 40s linear infinite; }
.giant span { font-size: clamp(110px, 20vw, 260px); font-weight: 800; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px rgba(228, 82, 26, .35); }
.giant span:nth-child(odd) { color: rgba(228, 82, 26, .1); }
html[dir="rtl"] .giant-track { animation-direction: reverse; }

/* ------------------------------------------------------------------ Formules (générées par le script) */
.cycle { position: relative; display: inline-flex; margin-top: 24px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.cycle button { position: relative; z-index: 1; border: 0; background: none; font-family: inherit; font-weight: 700; font-size: 14px; color: var(--ink-2); padding: 9px 20px; border-radius: 999px; cursor: pointer; min-height: 40px; }
.cycle button.on { color: #fff; }
.cycle button b { font-size: 11px; background: var(--teal); color: #fff; padding: 2px 6px; border-radius: 6px; }
.cycle-pill { position: absolute; top: 5px; bottom: 5px; left: 0; border-radius: 999px; background: var(--btn); }
.plans { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(min(var(--n, 3), 2), 1fr); } }
@media (min-width: 1040px) { .plans { grid-template-columns: repeat(var(--n, 3), 1fr); } }
.loading { text-align: center; color: var(--muted); grid-column: 1 / -1; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.plan.featured { background: var(--glow); color: #fff; border: 0; box-shadow: var(--shadow-lg); }
.plan .tag { position: absolute; top: 20px; inset-inline-end: 20px; font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; background: var(--brand); color: #fff; }
.p-ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(228, 82, 26, .1); color: var(--brand); }
.plan.featured .p-ico { background: rgba(255, 255, 255, .15); color: #fff; }
.plan h3 { margin-top: 14px; font-size: 22px; font-weight: 800; }
.p-desc { margin-top: 6px; font-size: 14px; color: var(--ink-2); min-height: 2.6em; }
.plan.featured .p-desc, .plan.featured .p-billed, .plan.featured .p-price span { color: rgba(255, 255, 255, .85); }
.p-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.p-price b { font-size: 46px; font-weight: 800; line-height: 1; }
.p-price s { color: var(--muted); font-size: 16px; } .p-price span { color: var(--muted); font-size: 14px; }
.p-billed { margin-top: 6px; font-size: 13px; color: var(--muted); }
.p-save { color: var(--teal); } .plan.featured .p-save { color: #fff; }
.p-btn { margin-top: 22px; width: 100%; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 14.5px; }
.plan li { display: flex; gap: 8px; align-items: flex-start; } .plan li .ic { color: var(--teal); margin-top: 3px; }
.plan.featured li .ic { color: #FFB27A; }
.plans-foot { margin-top: 18px; text-align: center; font-size: 13.5px; color: var(--muted); }

/* ------------------------------------------------------------------ Questions : deux colonnes */
main > .faq-sec { display: grid; gap: 36px; }
@media (min-width: 960px) { main > .faq-sec { grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; } .faq-side { position: sticky; top: 120px; } }
.faq-side h2 { margin-top: 12px; font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; }
.ask { margin-top: 30px; padding: 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; justify-items: start; }
.ask b { font-size: 18px; } .ask p { color: var(--ink-2); font-size: 15px; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.faq details[open] { border-color: rgba(228, 82, 26, .45); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; font-weight: 700; font-size: 16.5px; position: relative; }
html[dir="rtl"] .faq summary { padding: 22px 24px 22px 60px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 20px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-size: 20px; transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); }

/* ------------------------------------------------------------------ Newsletter */
main > .news-wrap { padding-top: 0; }
.news { display: grid; gap: 20px; padding: 30px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); align-items: center; }
@media (min-width: 900px) { .news { grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px; } }
.news h3 { margin-top: 8px; font-size: 26px; font-weight: 800; }
.news p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.news-row { display: flex; flex-wrap: wrap; gap: 8px; }
.news-row input { flex: 1 1 220px; min-height: 50px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font-family: inherit; font-weight: 500; font-size: 15px; }
.news-row input:focus { border-color: var(--brand); outline: none; }
.news-note { font-size: 12.5px !important; color: var(--muted) !important; }
.news-msg { font-size: 14px !important; font-weight: 600; }
.news-msg.ok { color: var(--teal) !important; } .news-msg.err { color: #C0392B !important; }

/* ------------------------------------------------------------------ Pied de page */
.foot { margin-top: 14px; border-radius: var(--r-lg); background: var(--glow); color: #EFE2DA; padding: 56px var(--gut) 22px; overflow: hidden; }
.foot-cta { max-width: 1200px; margin: 0 auto 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.foot-cta h2 { font-size: clamp(30px, 4.6vw, 56px); font-weight: 800; color: #fff; max-width: 700px; }
.foot-in { max-width: 1200px; margin: 0 auto; display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .foot-in { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .foot-in { grid-template-columns: 1.6fr repeat(4, 1fr); } }
.foot-logo { height: 40px; width: auto; }
.foot-brand p { margin-top: 14px; font-size: 14px; color: #D5C3B9; max-width: 340px; }
.foot-by { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 12.5px; color: #B9A49A; }
.foot-by img { width: 110px; background: #fff; border-radius: 8px; padding: 4px 8px; }
.foot h4 { font-size: 14px; color: #fff; margin-bottom: 12px; }
.foot-in > div:not(.foot-brand) { display: grid; gap: 8px; align-content: start; }
.foot a { color: #EFE2DA; text-decoration: none; font-size: 14px; } .foot a:hover { color: #FFB27A; }
.foot .btn { color: #fff; }
.foot .addr { font-size: 13.5px; color: #D5C3B9; }
.foot-legal { max-width: 1200px; margin: 36px auto 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 12.5px; color: #B9A49A; }

/* ------------------------------------------------------------------ Apparition au défilement */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .9s cubic-bezier(.22, 1.2, .36, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .gallery figure.reveal:nth-child(2) { transition-delay: .08s; } .js .gallery figure.reveal:nth-child(3) { transition-delay: .16s; } .js .gallery figure.reveal:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .more-grid.reveal article { opacity: 1; transform: none; translate: none; scale: none; }
  .js .reveal .big-ic .ic, .js .mod-card.reveal .line-ic .ic { stroke-dasharray: none; stroke-dashoffset: 0; }
}

/* Téléphone : rien ne déborde du héros. */
.hero-in, .hero-grid > *, .hero-side, .impact-grid > *, .about-grid > *, .mods-grid > * { min-width: 0; }
@media (max-width: 600px) { .impact-card .btn { white-space: normal; text-align: center; } .impact-card { padding: 30px 22px; } }
@media (max-width: 600px) {
  .trust { align-self: flex-start; }
  .avatars span { width: 36px; height: 36px; margin-inline-start: -8px; }
  .h-cta .btn { width: 100%; }
  .notif-float { max-width: 100%; }
}
