/* ============ EXPLORE — WHOOP Maroc ============ */
:root {
  --bg-0: #090a0d;
  --cream: #14161c;
  --ink: #ece9e2;
  --ink-soft: rgba(236,233,226,0.58);
  --ink-faint: rgba(236,233,226,0.34);
  --hairline: rgba(255,255,255,0.10);
  --surface: rgba(255,255,255,0.045);
  --surface-2: rgba(255,255,255,0.08);
  --accent: #e3e3e3;
  --accent-contrast: #14161c;
  --sleep: #b388ff;
  --recover: #2bd07a;
  --effort: #3aa0ff;
  --sans: "Hanken Grotesk", "Helvetica Neue", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1100px 760px at 50% -8%, #1c2230 0%, rgba(28,34,48,0) 58%),
    linear-gradient(180deg, #0b0c10 0%, #0e1014 48%, #090a0d 100%);
  background-color: #090a0d;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
img { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
em.voice { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0.01em; }

/* ===== HEADER (partagé) ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  color: #f4f1ea;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: color 0.35s ease, background-color 0.35s ease, border-color 0.35s ease;
}
.site-header.is-scrolled {
  color: #ece9e2;
  background-color: #14161c;
  border-bottom-color: rgba(255,255,255,0.10);
  box-shadow: 0 1px 0 rgba(0,0,0,0.4);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 0 40px; height: 84px; max-width: 1640px; margin: 0 auto;
}
.wordmark { display: flex; align-items: center; gap: 9px; font-size: 21px; font-weight: 600; letter-spacing: 0.22em; }
.wordmark .wm-mark { height: 40px; width: auto; display: block; }
.site-footer .wordmark .wm-mark { height: 44px; }
.nav-row .wordmark { font-size: 25px; letter-spacing: 0.14em; gap: 11px; }
.nav-row .wordmark .wm-mark { height: 40px; }
@media (max-width: 760px) { .nav-row .wordmark { font-size: 17px; letter-spacing: 0.12em; gap: 8px; } .wordmark .wm-mark, .nav-row .wordmark .wm-mark { height: 27px; } }
@media (max-width: 460px) { .nav-row .wordmark { font-size: 15.5px; gap: 7px; } .wordmark .wm-mark, .nav-row .wordmark .wm-mark { height: 24px; } }
.wordmark .maroc { font-weight: 600; letter-spacing: 0.22em; opacity: 0.48; }
.nav-links { display: flex; align-items: center; gap: 8px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-link { position: relative; display: inline-block; padding: 10px 18px; font-size: 16.5px; font-weight: 500; background: none; border: none; color: inherit; }
.nav-link::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 5px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left center;
  transition: transform 0.35s var(--ease-out);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-btn {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid currentColor; background: transparent; color: inherit;
  font-size: 16px; font-weight: 600; font-family: "Noto Sans Arabic", var(--sans);
  transition: transform 0.25s ease;
}
.lang-btn:hover { transform: scale(1.05); }

/* ===== SÉLECTEUR DE LANGUE (dropdown) ===== */
.lang-select { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  width: auto; height: 44px; padding: 0 14px; border-radius: 999px;
  border: 1px solid currentColor; background: transparent; color: inherit;
  font-family: var(--sans); font-size: 14.5px; font-weight: 600; letter-spacing: 0.02em;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.lang-btn:hover { transform: none; }
.lang-cur { font-weight: 600; }
.lang-caret { transition: transform 0.3s var(--ease-out); opacity: 0.8; }
.lang-select.is-open .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 168px; list-style: none; margin: 0; padding: 6px;
  background: #181b22; border: 1px solid var(--hairline); border-radius: 14px;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.7);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity 0.25s ease, transform 0.3s var(--ease-out);
  z-index: 20;
}
.lang-select.is-open .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-opt {
  width: 100%; text-align: left; border: none; background: transparent;
  color: var(--ink); font-family: var(--sans); font-size: 15.5px; font-weight: 500;
  padding: 11px 14px; border-radius: 9px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  transition: background-color 0.2s ease;
}
.lang-opt[lang="ar"] { font-family: "Noto Sans Arabic", var(--sans); }
.lang-opt:hover { background: rgba(255,255,255,0.07); }
.lang-opt.is-active { background: rgba(255,255,255,0.10); }
.lang-opt.is-active::after {
  content: ""; width: 14px; height: 9px; flex: 0 0 auto;
  border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg) translate(1px,-2px);
}
body.lang-ar .lang-menu { right: auto; left: 0; }
body.lang-ar .lang-opt { text-align: right; flex-direction: row-reverse; }
.shop-cta {
  border: none; border-radius: 999px; padding: 13px 26px; font-size: 15.5px; font-weight: 600;
  letter-spacing: 0.02em; background: var(--accent); color: var(--accent-contrast);
  transition: filter 0.25s ease, transform 0.25s ease;
}
.shop-cta:hover { filter: brightness(1.08); transform: scale(1.03); }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== HERO (full-bleed photo, texte à droite — comme l'accueil) ===== */
.ex-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.ex-hero-bg {
  position: absolute;
  inset: -6% 0 0 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: 28% center;
  z-index: -2;
  will-change: transform;
}
.ex-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(9,10,13,0.58) 0%, rgba(9,10,13,0) 22%),
    linear-gradient(to left, rgba(9,10,13,0.86) 0%, rgba(9,10,13,0.55) 34%, rgba(9,10,13,0.12) 58%, rgba(9,10,13,0) 78%),
    linear-gradient(to top, rgba(9,10,13,0.9) 0%, rgba(9,10,13,0) 38%);
}
.ex-hero-copy {
  position: relative;
  width: min(620px, 92vw);
  margin-right: clamp(28px, 7vw, 132px);
  padding: 120px 0;
  color: #f4f1ea;
}
.ex-hero-copy .ex-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 26px;
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid rgba(244,241,234,0.34);
  background: rgba(244,241,234,0.08);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #f4f1ea; font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.ex-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 5.4vw, 92px);
  line-height: 1.02;
  letter-spacing: 0.004em;
  text-wrap: balance;
}
.ex-hero h1 em.voice { font-family: var(--serif); font-style: italic; display: block; }
.ex-hero-copy p {
  margin-top: 24px;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.6;
  color: rgba(244,241,234,0.82);
  max-width: 46ch;
  text-wrap: pretty;
}
.ex-hero-copy .ex-cta { margin-top: 30px; }
.ex-scroll-hint {
  position: absolute;
  left: 50%; bottom: 30px; transform: translateX(-50%);
  z-index: 1; color: rgba(244,241,234,0.7);
}
@media (prefers-reduced-motion: no-preference) {
  .ex-scroll-hint { animation: scrollBob 2.2s ease-in-out infinite; }
  @keyframes scrollBob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }
}
body.lang-ar .ex-hero { direction: ltr; }
body.lang-ar .ex-hero-copy { direction: rtl; text-align: right; }
body.lang-ar .ex-hero h1 { font-family: inherit; font-weight: 700; }
body.lang-ar .ex-hero h1 em.voice { font-family: inherit; font-style: normal; }
.ex-cta {
  display: inline-flex; align-items: center; gap: 10px;
  border: none; border-radius: 999px; padding: 15px 30px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--accent); color: var(--accent-contrast);
  transition: filter 0.25s ease, transform 0.25s ease;
}
.ex-cta:hover { filter: brightness(1.08); transform: scale(1.03); }
.ex-cta.ghost { background: transparent; color: var(--ink); border: 1px solid var(--hairline); }
.ex-cta.ghost:hover { background: var(--surface-2); }

/* ===== SECTION SHELL ===== */
.ex-section { max-width: 1280px; margin: 0 auto; width: 100%; padding: 96px 40px; }
.ex-section.wide { max-width: 1480px; }
/* En-tête de la section Métriques centré */
#metriques > .reveal { text-align: center; }
#metriques > .reveal .ex-h2 { margin-left: auto; margin-right: auto; }
#metriques .tabs { justify-content: center; }
.ex-eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px;
}
.ex-h2 {
  font-weight: 300; font-size: clamp(36px, 5vw, 72px); line-height: 1.02;
  letter-spacing: -0.02em; max-width: 16ch; text-wrap: balance;
}
.ex-h2 em.voice { font-style: italic; }
.feat-lead {
  margin-top: 22px;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 46ch;
  text-wrap: pretty;
}

/* ===== FEATURE (texte + média) ===== */
.feat {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center;
}
.feat.media-left { grid-template-columns: 1.05fr 1fr; }
.feat.media-left .feat-media { order: -1; }
.feat-head { margin-bottom: 30px; }

/* accordéon */
.acc { display: flex; flex-direction: column; }
.acc-item { border-top: 1px solid var(--hairline); }
.acc-item:first-child { border-top: none; }
.acc-btn {
  position: relative;
  width: 100%; text-align: left; background: none; border: none; color: inherit;
  display: flex; align-items: center; gap: 16px;
  padding: 22px 0; cursor: pointer;
}
.acc-num { font-size: 14px; font-weight: 600; color: var(--ink-faint); min-width: 24px; transition: color 0.3s ease; }
.acc-title {
  flex: 1; font-size: clamp(20px, 2vw, 27px); font-weight: 500; line-height: 1.2;
  color: var(--ink-soft); transition: color 0.3s ease; text-wrap: balance;
}
.acc-chev { color: var(--ink-faint); transition: transform 0.4s var(--ease-out), color 0.3s ease; flex: 0 0 auto; }
.acc-item.is-open .acc-num,
.acc-item.is-open .acc-title { color: var(--ink); }
.acc-item.is-open .acc-chev { transform: rotate(180deg); color: var(--ink); }
.acc-item:hover .acc-title { color: var(--ink); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease-out); }
.acc-body > div { overflow: hidden; }
.acc-body p {
  padding-bottom: 24px; font-size: 16.5px; line-height: 1.62; color: var(--ink-soft);
  max-width: 46ch; text-wrap: pretty;
  opacity: 0; transform: translateY(6px); transition: opacity 0.4s ease 0.1s, transform 0.5s var(--ease-out) 0.1s;
}
.acc-item.is-open .acc-body { grid-template-rows: 1fr; }
.acc-item.is-open .acc-body p { opacity: 1; transform: none; }
/* active left bar variant */
.acc.barred .acc-item { border-top: none; padding-left: 22px; border-left: 2px solid transparent; transition: border-color 0.3s ease; }
.acc.barred .acc-item.is-open { border-left-color: var(--ink); }
.acc.barred .acc-btn { padding: 14px 0; }

/* ===== MEDIA / DATA-VIZ ===== */
.feat-media { position: relative; }

/* photo carrée plein cadre (overlay de données intégré) */
.feat-photo {
  position: relative; width: 100%; border-radius: 22px; overflow: hidden;
  aspect-ratio: 1 / 1; border: 1px solid var(--hairline); background: #14171e;
}
.feat-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* widget flottant (PNG transparent du téléphone) */
.feat-float { position: relative; display: grid; place-items: center; padding: 8px; }
.feat-float::before {
  content: ""; position: absolute; z-index: 0;
  width: 74%; height: 66%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(90,120,170,0.26), rgba(90,120,170,0) 70%);
  filter: blur(34px);
}
.feat-float img {
  position: relative; z-index: 1; width: 100%; max-width: 470px; height: auto; display: block;
  filter: drop-shadow(0 34px 64px rgba(0,0,0,0.55));
}
.swap-media { transition: opacity 0.4s ease; }
.swap-media.is-swapping { opacity: 0; }
.media-card {
  position: relative; width: 100%; border-radius: 22px; overflow: hidden;
  aspect-ratio: 4 / 4.3; background: #14171e;
  border: 1px solid var(--hairline);
}
.media-card image-slot { width: 100%; height: 100%; display: block; }
.viz {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 3;
  pointer-events: none;
}
.viz-card {
  background: rgba(10,12,16,0.62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 16px 18px;
}
.scrim-b { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(8,9,12,0.7), rgba(8,9,12,0) 46%); }

/* rings */
.rings { display: flex; justify-content: space-around; gap: 10px; }
.ring { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ring svg { width: 74px; height: 74px; transform: rotate(-90deg); }
.ring .track { stroke: rgba(255,255,255,0.14); }
.ring .prog { stroke-linecap: round; stroke-dasharray: 201; stroke-dashoffset: 201; transition: stroke-dashoffset 1.2s var(--ease-out); }
.ring.in .prog { stroke-dashoffset: var(--off, 60); }
.ring-val {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 74px; height: 74px; font-size: 18px; font-weight: 600;
}
.ring-wrap { position: relative; display: grid; place-items: center; }
.ring-label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }

/* phone frame */
.phone {
  position: relative; margin: 0 auto; width: min(300px, 78%);
  aspect-ratio: 9 / 18.5; border-radius: 38px; padding: 10px;
  background: linear-gradient(160deg, #2a2e36, #15181e); border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.8);
}
.phone-screen {
  position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden;
  background: #0c0e13;
}
.phone-screen image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 4;
  width: 42%; height: 22px; border-radius: 0 0 14px 14px; background: #0a0b0f;
}
.phone-viz { position: absolute; left: 14px; right: 14px; bottom: 18px; z-index: 3; }

/* ECG / line graphs */
.wave path { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.wave .draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.wave.in .draw { transition: stroke-dashoffset 2.2s ease; stroke-dashoffset: 0; }
.ecg-top { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.ecg-top b { font-size: 22px; }
.ecg-top .unit { font-size: 12px; color: var(--ink-soft); font-weight: 500; }

/* sleep graph */
.sleep-top { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.sleep-top b { font-size: 30px; font-weight: 600; }
.sleep-top .up { color: var(--recover); font-size: 14px; }
.sleep-sub { font-size: 12px; color: var(--ink-soft); margin-bottom: 12px; }
.sleep-label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }

/* cycle bar */
.cycle-head { font-size: 24px; font-weight: 600; }
.cycle-phase { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sleep); margin: 4px 0 14px 0; }
.cycle-bar { display: flex; gap: 3px; align-items: center; }
.cycle-bar span { height: 9px; flex: 1; border-radius: 3px; background: rgba(255,255,255,0.18); }
.cycle-bar span.f { background: #ff7a59; }
.cycle-bar span.o { background: var(--sleep); }
.cycle-bar span.now { box-shadow: 0 0 0 2px var(--ink); }
.cycle-scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--ink-faint); }

/* tension */
.tension-read { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.tension-val { font-size: 34px; font-weight: 600; letter-spacing: 0.02em; margin-top: 2px; }

/* ===== TABS (métriques) ===== */
.tabs-wrap { margin-top: 28px; }
.tabs {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px;
}
.tab {
  border: 1px solid var(--hairline); background: transparent; color: var(--ink-soft);
  border-radius: 999px; padding: 13px 26px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.tab:hover { color: var(--ink); border-color: rgba(255,255,255,0.28); }
.tab.is-active { background: var(--accent); color: var(--accent-contrast); border-color: var(--accent); }
.tab-panels { position: relative; margin-top: 40px; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: tabIn 0.6s var(--ease-out); }
@keyframes tabIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ===== FOOTER (partagé) ===== */
.site-footer { background: var(--cream); border-top: 1px solid var(--hairline); padding: 64px 40px 30px 40px; }
.footer-top {
  max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.4fr;
  gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--hairline);
}
.foot-brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.site-footer .wordmark { font-size: 19px; color: var(--ink); }
.foot-tag { font-size: 15px; line-height: 1.6; color: var(--ink-soft); max-width: 34ch; text-wrap: pretty; }
.foot-social { display: flex; gap: 10px; }
.foot-social a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--hairline); color: var(--ink);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.foot-social a:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.foot-col { display: flex; flex-direction: column; gap: 6px; }
.foot-h { font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.foot-col a { font-size: 15.5px; color: var(--ink); opacity: 0.78; padding: 5px 0; width: fit-content; transition: opacity 0.2s ease; }
.foot-col a:hover { opacity: 1; }
.foot-contact { display: flex; flex-direction: column; gap: 12px; }
.foot-line { display: flex; align-items: center; gap: 11px; font-size: 15px; color: var(--ink); }
.foot-line svg { flex: 0 0 auto; color: var(--ink-soft); }
.foot-cta {
  margin-top: 6px; align-self: flex-start; border-radius: 999px; padding: 12px 24px;
  font-size: 14.5px; font-weight: 600; background: var(--accent); color: var(--accent-contrast);
  transition: filter 0.25s ease, transform 0.25s ease;
}
.foot-cta:hover { filter: brightness(1.08); transform: scale(1.03); }
.footer-bottom {
  max-width: 1280px; margin: 0 auto; padding-top: 24px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; font-size: 13.5px; color: var(--ink-soft);
}
.foot-legal { display: flex; gap: 22px; }
.foot-legal a { transition: color 0.2s ease; }
.foot-legal a:hover { color: var(--ink); }

/* ===== ARABE / RTL ===== */
body.lang-ar { font-family: "Noto Sans Arabic", var(--sans); }
body.lang-ar em.voice { font-family: inherit; font-style: normal; }
body.lang-ar .ex-hero h1, body.lang-ar .ex-h2 { font-weight: 600; letter-spacing: 0; }
body.lang-ar .ex-hero h1 em.voice { display: inline; }
body.lang-ar .nav-link, body.lang-ar .shop-cta, body.lang-ar .ex-cta,
body.lang-ar .tab, body.lang-ar .ex-eyebrow, body.lang-ar .foot-h { letter-spacing: 0.02em; }
body.lang-ar .acc.barred .acc-item { padding-left: 0; padding-right: 22px; border-left: none; border-right: 2px solid transparent; }
body.lang-ar .acc.barred .acc-item.is-open { border-right-color: var(--ink); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .ex-hero { justify-content: center; }
  .ex-hero-bg { object-position: 30% center; }
  .ex-hero::before {
    background:
      linear-gradient(to top, rgba(9,10,13,0.94) 4%, rgba(9,10,13,0.5) 42%, rgba(9,10,13,0.2) 100%);
  }
  body.lang-ar .ex-hero::before {
    background:
      linear-gradient(to top, rgba(9,10,13,0.94) 4%, rgba(9,10,13,0.5) 42%, rgba(9,10,13,0.2) 100%);
  }
  .ex-hero-copy {
    margin: 0;
    width: min(640px, 100%);
    padding: 0 28px;
    align-self: flex-end;
    margin-bottom: clamp(48px, 12vh, 120px);
    text-align: left;
  }
  body.lang-ar .ex-hero-copy { margin-left: 0; margin-right: 0; margin-bottom: clamp(48px, 12vh, 120px); }
  .feat, .feat.media-left { grid-template-columns: 1fr; gap: 36px; }
  .feat.media-left .feat-media { order: 0; }
  .feat-media { max-width: 480px; margin: 0 auto; width: 100%; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-row { padding: 0 20px; height: 72px; }
  .ex-section { padding: 64px 22px; }
  .ex-hero h1 { font-size: clamp(40px, 11vw, 60px); }
  .tab { padding: 11px 18px; letter-spacing: 0.08em; }
}
@media (max-width: 860px) {
  .site-footer { padding: 48px 22px 28px 22px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px 28px; }
  .foot-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
