/* IRONBELL — site vitrine. Propriétés logiques (inline/block) pour l'arabe (RTL). */
:root {
  --bg: #FAFAF9; --surface: #FFFFFF; --ink: #0B0B0C; --ink-2: #3F3F46; --muted: #71717A; --line: #E7E5E4;
  --brand: #FF5A1F; --brand-ink: #D9420B; --brand-soft: #FFF1EB;
  --dark: #0B0B0C; --dark-2: #18181B;
  --good: #16A34A; --bad: #DC2626; --warn: #D97706;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', 'Noto Sans', sans-serif;
  --r: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body); overflow-x: hidden; }
html[dir=rtl] body { font-family: 'Noto Sans Arabic', var(--body); }
/* L'arabe est cursif : tout espacement de lettres casse la liaison des caractères. */
html[lang=ar] * { letter-spacing: 0 !important; }
html[lang=ar] h1, html[lang=ar] h2, html[lang=ar] h3, html[lang=ar] .kicker { font-family: 'Noto Sans Arabic', var(--body); text-transform: none; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1160px; margin-inline: auto; padding-inline: 24px; }
.wrap.narrow { max-width: 780px; }
.center { text-align: center; }

/* ── boutons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px;
  padding: 12px 22px; font: 700 15px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.lg { padding: 17px 30px; font-size: 16px; }
.btn.sm { padding: 9px 16px; font-size: 14px; }
.btn.primary { background: var(--brand); color: #0B0B0C; }
.btn.primary:hover { background: #F04A0F; }
.btn.outline { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.light { background: #fff; color: var(--ink); }
.btn.dark { background: var(--ink); color: #fff; }
.btn[disabled], .btn.disabled { opacity: .45; pointer-events: none; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }
.link-arrow { color: var(--brand-ink); font-weight: 700; text-decoration: none; }
html[dir=rtl] .link-arrow, html[dir=rtl] .flip { display: inline-block; }

/* ── navigation ── */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(250,250,249,.85); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 900 26px/1 var(--display); letter-spacing: .5px; }
.brand b { color: var(--brand); }
.links { display: flex; gap: 26px; margin-inline-start: 12px; }
.links a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.links a:hover { color: var(--ink); }
.nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang { font: 500 14px var(--body); color: var(--ink-2); background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 12px; cursor: pointer; max-width: 150px; }

/* ── hero ── */
.hero { padding: 56px 0 40px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.kicker { font: 700 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 18px; }
h1 { font: 900 clamp(52px, 7.4vw, 96px)/.92 var(--display); letter-spacing: -.5px; text-transform: uppercase; margin-bottom: 24px; }
h1 em { font-style: normal; color: var(--brand); }
html[lang=ar] h1, html[lang=hi] h1, html[lang=zh] h1, html[lang=ja] h1, html[lang=ru] h1 { font-family: var(--body); font-weight: 800; line-height: 1.12; letter-spacing: 0; font-size: clamp(38px, 5.4vw, 64px); }
.lead { font-size: 19px; color: var(--ink-2); max-width: 560px; margin-bottom: 30px; }
.fine { margin-top: 18px; font-size: 14px; color: var(--muted); }
.apk-meta:not(:empty)::before { content: "· "; }
.hero-art { position: relative; height: 600px; }
.glow { position: absolute; inset: 14% 8% 6% 12%; background: var(--brand-soft); border-radius: 50%; }
.phone { position: relative; border-radius: 42px; border: 9px solid var(--ink); background: var(--ink); overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.08); aspect-ratio: 390 / 844; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-art .phone { position: absolute; width: 270px; }
.hero-art .front { inset-inline-start: 8%; top: 20px; z-index: 2; }
.hero-art .back { inset-inline-end: 4%; top: 60px; transform: rotate(4deg); opacity: .96; }
html[dir=rtl] .hero-art .back { transform: rotate(-4deg); }

/* ── chiffres ── */
.stats { padding: 26px 0; border-block: 1px solid var(--line); background: var(--surface); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats strong { display: block; font: 900 46px/1 var(--display); color: var(--brand); }
.stats span { font-size: 14px; color: var(--muted); }

/* ── sections ── */
section { scroll-margin-top: 80px; }
.features, .programs, .how, .pricing, .faq { padding: 110px 0; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
h2 { font: 900 clamp(38px, 5vw, 60px)/1 var(--display); text-transform: uppercase; letter-spacing: -.3px; }
html[lang=ar] h2, html[lang=hi] h2, html[lang=zh] h2, html[lang=ja] h2, html[lang=ru] h2 { font-family: var(--body); font-weight: 800; line-height: 1.2; letter-spacing: 0; font-size: clamp(30px, 4vw, 44px); }
.sub { margin-top: 16px; color: var(--ink-2); font-size: 18px; }
h3 { font: 800 30px/1.1 var(--display); text-transform: uppercase; margin-bottom: 14px; }
html[lang=ar] h3, html[lang=hi] h3, html[lang=zh] h3, html[lang=ja] h3, html[lang=ru] h3 { font-family: var(--body); font-weight: 800; font-size: 24px; line-height: 1.3; }

.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 980px; margin: 0 auto 110px; }
.feat:last-child { margin-bottom: 0; }
.feat .phone { width: 300px; justify-self: center; }
.feat.rev .feat-copy { order: 2; }
.feat-copy p { color: var(--ink-2); font-size: 18px; }
.num { display: inline-block; font: 900 18px/1 var(--display); color: var(--brand-ink); border: 2px solid currentColor; border-radius: 999px; padding: 7px 12px; margin-bottom: 18px; }

.programs { background: var(--dark); color: #fff; }
.programs .kicker { color: var(--brand); }
.programs .sub { color: #A1A1AA; }
.ladder { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: end; }
.ladder li { background: var(--dark-2); border: 1px solid #27272A; border-top: 4px solid var(--c); border-radius: 14px; padding: 18px 14px; position: relative; }
.ladder li:nth-child(1) { min-height: 150px; } .ladder li:nth-child(2) { min-height: 170px; } .ladder li:nth-child(3) { min-height: 190px; }
.ladder li:nth-child(4) { min-height: 210px; } .ladder li:nth-child(5) { min-height: 230px; } .ladder li:nth-child(6) { min-height: 250px; } .ladder li:nth-child(7) { min-height: 270px; }
.ladder b { display: block; font: 900 20px/1 var(--display); color: var(--c); margin-bottom: 8px; letter-spacing: .5px; }
.ladder span { font-size: 13px; color: #A1A1AA; line-height: 1.45; display: block; }
.ladder li.prem::after { content: "★"; position: absolute; top: 12px; inset-inline-end: 12px; color: #FBBF24; font-size: 12px; }
.transform { margin-top: 26px; display: flex; gap: 20px; align-items: center; justify-content: space-between; border-radius: var(--r); padding: 30px;
  background: #1C1310; border: 1px solid rgba(255,90,31,.4); }
.transform h3 { margin-bottom: 8px; }
.transform p { color: #D4D4D8; max-width: 760px; }
.badge { flex-shrink: 0; background: var(--brand); color: #0B0B0C; font: 800 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; }
.step > span { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font: 900 22px var(--display); margin-bottom: 18px; }
.step h3 { font-size: 26px; margin-bottom: 8px; }
.step p { color: var(--ink-2); }
.how .center { margin-top: 34px; }

/* ── tarifs ── */
.pricing { background: var(--surface); border-block: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.more-title { text-align: center; color: var(--muted); font-size: 15px; margin: 30px 0 12px; }
.more-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; text-decoration: none; background: var(--bg);
  border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; transition: border-color .15s; }
.mini:hover { border-color: var(--brand); }
.mini b { font: 800 20px/1 var(--display); text-transform: uppercase; }
.mini .mp { font: 900 26px/1 var(--display); text-align: end; }
.mini .per, .mini .note { font-size: 13px; color: var(--muted); }
.mini .save { font-size: 13px; font-weight: 700; color: var(--good); text-align: end; }
.mini .note { grid-column: 1 / -1; }
.plan { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 20px; display: flex; flex-direction: column; gap: 6px; }
.plan.best { background: var(--dark); color: #fff; border-color: var(--dark);  }
.plan .tag { position: absolute; top: -12px; inset-inline-start: 20px; background: var(--brand); color: #0B0B0C; font: 800 11px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.plan h4 { font: 800 22px/1 var(--display); text-transform: uppercase; letter-spacing: .3px; }
.plan .price { font: 900 44px/1 var(--display); margin-top: 10px; }
.plan .per { font-size: 14px; color: var(--muted); min-height: 22px; }
.plan.best .per { color: #A1A1AA; }
.plan .save { font-size: 13px; font-weight: 700; color: var(--good); min-height: 20px; }
.plan.best .save { color: #4ADE80; }
.plan .note { font-size: 13px; color: var(--muted); min-height: 20px; }
.plan.best .note { color: #A1A1AA; }
.plan .btn { margin-top: 14px; width: 100%; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.compare > div { border: 1px solid var(--line); border-radius: var(--r); padding: 26px 28px; background: var(--bg); }
.compare h4 { font: 800 22px/1 var(--display); text-transform: uppercase; margin-bottom: 14px; }
.compare ul { list-style: none; display: grid; gap: 10px; }
.compare li { padding-inline-start: 28px; position: relative; color: var(--ink-2); }
.compare li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--brand); font-weight: 900; }
.pay-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }

/* ── FAQ ── */
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 19px; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: "+"; font: 900 26px/1 var(--display); color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--ink-2); }

.final { background: var(--dark); color: #fff; padding: 100px 0; text-align: center; }
.final-in { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.final h2 { max-width: 760px; }

.foot { padding: 40px 0; border-top: 1px solid var(--line); }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.foot .copy { margin-inline-start: auto; color: var(--muted); font-size: 14px; }

/* ── pages intérieures (guide, compte) ── */
.page-head { padding: 64px 0 40px; text-align: center; }
.page-head .sub { max-width: 640px; margin-inline: auto; }
.guide-list { display: grid; gap: 90px; padding-bottom: 110px; }
.gstep { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: center; max-width: 920px; margin-inline: auto; }
.gstep .phone { width: 260px; }
.gstep:nth-child(even) .phone { order: 2; }
.gstep ul { margin-top: 12px; padding-inline-start: 20px; color: var(--ink-2); display: grid; gap: 6px; }
.gstep p { color: var(--ink-2); font-size: 17px; }
.gstep em { font-style: normal; font-weight: 700; color: var(--ink); background: var(--brand-soft); padding: 1px 6px; border-radius: 6px; white-space: nowrap; }
.install { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; max-width: 920px; margin: 0 auto 90px; }
.install ol { padding-inline-start: 22px; display: grid; gap: 10px; color: var(--ink-2); margin: 14px 0; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; margin-bottom: 16px; min-width: 0; }
.card.narrow { max-width: 440px; margin-inline: auto; }
.label { font: 700 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 10px; }
.tabs { display: flex; gap: 6px; background: var(--bg); padding: 5px; border-radius: 999px; margin-bottom: 18px; }
.tabs button { flex: 1; border: 0; background: transparent; padding: 10px; border-radius: 999px; font: 700 14px var(--body); color: var(--muted); cursor: pointer; }
.tabs button.on { background: var(--ink); color: #fff; }
form { display: grid; gap: 12px; }
input { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font: 16px var(--body); color: var(--ink); outline: none; }
input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255,90,31,.15); }
.err { color: var(--bad); font-size: 14px; min-height: 1em; }
.ok { color: var(--good); font-size: 14px; min-height: 1em; margin-top: 10px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row input { flex: 1 1 220px; width: auto; }
.dash { padding-bottom: 100px; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.dash-head h2 { font-size: clamp(34px, 4vw, 48px); }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.kpi .v { font: 900 34px/1.1 var(--display); margin-top: 8px; }
.kpi .v small { font: 500 14px var(--body); color: var(--muted); margin-inline-start: 4px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.goalbox { background: var(--dark); color: #fff; border-radius: var(--r); padding: 26px; margin-bottom: 16px; }
.goalbox .big { font: 900 54px/1 var(--display); }
.goalbox .big small { font-size: 22px; color: #71717A; }
.goalbox .label { color: #A1A1AA; }
.bar { height: 8px; background: #27272A; border-radius: 99px; overflow: hidden; margin: 16px 0 8px; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.status { margin-top: 12px; }
.sub-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.sub-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 16px; }
.sub-plans button { border: 1px solid var(--line); background: var(--bg); border-radius: 14px; padding: 14px; text-align: start; cursor: pointer; font: 14px var(--body); color: var(--ink); }
.sub-plans button b { display: block; font: 900 24px/1.1 var(--display); margin-top: 4px; }
.sub-plans button:hover { border-color: var(--brand); }
.sub-plans button.best { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(255,90,31,.2); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { font: 700 11px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: start; padding-bottom: 8px; }
td { padding: 9px 0; border-top: 1px solid var(--line); }
.down { color: var(--good); } .up { color: var(--bad); }
.sess { padding: 11px 0; border-top: 1px solid var(--line); }
.sess:first-child { border-top: 0; }
.sess b { font-weight: 700; }
.sess span { display: block; color: var(--muted); font-size: 13px; }
.hgrid { display: grid; grid-template-columns: 56px repeat(28, 1fr); gap: 3px; align-items: center; }
.hgrid .h { font: 700 10px var(--body); color: var(--muted); letter-spacing: .05em; }
.hgrid i { height: 16px; border-radius: 3px; background: #F4F4F5; }
.hgrid i.on { background: var(--brand); }
.hgrid i.gym { background: var(--good); }
.empty { color: var(--muted); font-size: 14px; }
details.card summary { cursor: pointer; list-style: none; }
details.card[open] summary { margin-bottom: 16px; }
.danger { background: transparent; color: var(--bad); box-shadow: inset 0 0 0 1px rgba(220,38,38,.35); margin-top: 16px; }

/* ── responsive ── */
@media (max-width: 980px) {
  .links { display: none; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { height: 480px; max-width: 520px; width: 100%; margin-inline: auto; }
  .hero-art .phone { width: 220px; }
  .ladder { grid-template-columns: repeat(4, 1fr); }
  .ladder li { min-height: 0 !important; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .more-plans { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .nav-in { gap: 10px; }
  .nav .btn { display: none; }
  .lang { max-width: 120px; }
  .hero { padding-top: 32px; }
  .lead { font-size: 17px; }
  .cta-row .btn { width: 100%; }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .features, .programs, .how, .pricing, .faq { padding: 72px 0; }
  .sec-head { margin-bottom: 40px; }
  .feat, .gstep { grid-template-columns: 1fr; gap: 28px; margin-bottom: 72px; }
  .feat.rev .feat-copy, .gstep:nth-child(even) .phone { order: 0; }
  .feat .phone, .gstep .phone { width: 240px; }
  .ladder { grid-template-columns: repeat(2, 1fr); }
  .transform { flex-direction: column; align-items: flex-start; }
  .steps, .compare, .two, .plans { grid-template-columns: 1fr; }
  .foot .copy { margin-inline-start: 0; width: 100%; }
  .hgrid { grid-template-columns: 40px repeat(28, 1fr); gap: 2px; }
}
