/* Majestic Events — feuille de style unique.
   Fond ivoire, encre presque noire, une seule couleur d'accent (laiton). */

:root {
  --bg: #f7f3ec;
  --bg-2: #efe8dc;
  --paper: #fffdf9;
  --ink: #16130f;
  --ink-2: #3b352d;
  --muted: #6b6255;
  --line: #ddd3c3;
  --accent: #8a6a33;          /* laiton — 4.5:1 sur --bg */
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 400 1.0625rem/1.65 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--serif); font-weight: 300; letter-spacing: -0.015em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent); }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; inset-inline-start: 8px; top: -80px; z-index: 100; background: var(--ink); color: var(--bg); padding: .6em 1em; }
.skip:focus { top: 8px; }
html, body { overflow-x: clip; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- En-tête ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
/* Le flou est sur un pseudo-élément : sur .hdr il piégerait le panneau mobile (position: fixed). */
.hdr::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(247, 243, 236, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
}
.menu-open .hdr::before { background: var(--bg); }
.hdr.scrolled { border-bottom-color: var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 28px; height: 104px; }
.logo { display: block; flex: none; }
.logo img { height: 60px; width: auto; }
.nav { display: flex; gap: 30px; margin-inline-start: auto; }
.nav a, .langs a {
  text-decoration: none; font-size: .8125rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .25s, color .25s;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.langs { display: flex; gap: 14px; padding-inline-start: 26px; border-inline-start: 1px solid var(--line); }
.langs a { color: var(--muted); letter-spacing: .1em; }
.langs a[aria-current="true"] { color: var(--ink); }
.langs a:hover { color: var(--ink); }
.langs a[lang="ar"] { font-family: "El Messiri", var(--sans); letter-spacing: 0; font-size: 1.05rem; text-transform: none; font-weight: 600; position: relative; top: -5px; }
.menu-btn { display: none; }

@media (max-width: 1000px) {
  .hdr .wrap { height: 80px; }
  .logo img { height: 46px; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; margin-inline-start: auto;
    background: none; border: 0; padding: 10px 0; cursor: pointer; color: var(--ink);
    font: 500 .75rem var(--sans); letter-spacing: .16em; text-transform: uppercase;
  }
  .menu-btn i { display: block; width: 22px; height: 1px; background: currentColor; position: relative; }
  .menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; inset-inline: 0; height: 1px; background: currentColor; transition: transform .3s var(--ease); }
  .menu-btn i::before { top: -6px; } .menu-btn i::after { top: 6px; }
  .menu-open .menu-btn i { background: transparent; }
  .menu-open .menu-btn i::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .menu-btn i::after { transform: translateY(-6px) rotate(-45deg); }
  .panel {
    position: fixed; inset: 80px 0 0; background: var(--bg); padding: 32px var(--gutter);
    display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .menu-open .panel { opacity: 1; visibility: visible; transform: none; }
  .nav { flex-direction: column; gap: 6px; margin: 0; }
  .nav a { font: 300 2.1rem/1.3 var(--serif); letter-spacing: -.01em; text-transform: none; border: 0; }
  .langs { border: 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
  .langs a { font-size: .95rem; }
  body.menu-open { overflow: hidden; }
}
@media (min-width: 1001px) { .panel { display: contents; } }

/* ---------- Typo commune ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 500 .75rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.h-xl { font-size: clamp(2.6rem, 6.4vw, 6rem); line-height: 1.02; letter-spacing: -.025em; }
.h-l { font-size: clamp(2.1rem, 4.4vw, 4rem); line-height: 1.06; letter-spacing: -.02em; }
.h-m { font-size: clamp(1.6rem, 2.6vw, 2.35rem); line-height: 1.15; }
.h-s { font-size: 1.45rem; line-height: 1.25; font-weight: 400; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--ink-2); max-width: 40em; }
.statement { font: 300 clamp(1.6rem, 3.1vw, 2.75rem)/1.28 var(--serif); color: var(--ink); letter-spacing: -.015em; max-width: 24em; margin: 0; }
.statement em { font-style: italic; color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

.btns { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: var(--ink); color: var(--bg); padding: 17px 30px;
  font: 500 .78rem var(--sans); letter-spacing: .16em; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.btn:hover { background: var(--accent); }
.link {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font: 500 .78rem var(--sans); letter-spacing: .16em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid var(--ink); transition: color .25s, border-color .25s, gap .25s;
}
.link:hover { color: var(--accent); border-color: var(--accent); gap: 14px; }
.arr { display: inline-block; }
[dir="rtl"] .arr { transform: scaleX(-1); }

section { position: relative; }
.sec { padding: clamp(72px, 11vw, 150px) 0; }
.sec + .sec.line { border-top: 1px solid var(--line); }
.alt { background: var(--bg-2); }
.paper { background: var(--paper); }

/* ---------- Héros d'accueil ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 8vw, 110px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.hero h1 { margin-bottom: 30px; }
.hero .lead { margin-bottom: 40px; }
.hero figure { margin: 0; position: relative; }
.hero figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero figcaption { margin-top: 12px; font-size: .8125rem; color: var(--muted); }
.hero .place {
  position: absolute; inset-inline-start: -1px; bottom: 56px; background: var(--bg);
  padding: 16px 22px; font: 500 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .place { bottom: 16px; padding: 10px 14px; font-size: .62rem; }
  .hero figure img { aspect-ratio: 4 / 3; }
}

/* Bandeau des disciplines */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; }
.ticker ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; width: max-content; animation: tick 60s linear infinite; }
.ticker li { font: 300 clamp(1.3rem, 2vw, 1.75rem) var(--serif); font-style: italic; color: var(--ink); white-space: nowrap; padding-inline: 28px; display: flex; align-items: center; gap: 56px; }
.ticker li::after { content: ""; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); margin-inline-start: 28px; }
[dir="rtl"] .ticker ul { animation-name: tick-rtl; }
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes tick-rtl { to { transform: translateX(50%); } }

/* Introduction en deux colonnes */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 6vw, 96px); }
.split .side { padding-top: 8px; }
.split .body > p:not(.statement) { max-width: 38em; }
.split .statement { margin-bottom: 36px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Référence mise en avant ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 0; background: var(--paper); }
.feature figure { margin: 0; overflow: hidden; }
.feature figure img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; transition: transform 1.2s var(--ease); }
.feature:hover figure img { transform: scale(1.03); }
.feature .txt { padding: clamp(32px, 4.5vw, 64px); display: flex; flex-direction: column; }
.feature .meta { font-size: .875rem; color: var(--muted); margin: 14px 0 26px; }
.feature .txt .link { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature figure img { min-height: 0; aspect-ratio: 3 / 2; } }

.stats { list-style: none; margin: 0 0 36px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.stats li { padding: 18px 0 16px; border-bottom: 1px solid var(--line); }
.stats li:nth-child(odd) { padding-inline-end: 16px; }
.stats li:nth-child(even) { padding-inline-start: 16px; border-inline-start: 1px solid var(--line); }
.stats b { display: block; font: 300 clamp(1.9rem, 3vw, 2.6rem)/1.05 var(--serif); color: var(--ink); letter-spacing: -.02em; }
.stats span { font-size: .8125rem; color: var(--muted); }
.stats.wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats.wide li { padding-inline: 0 16px; border-inline-start: 0; }
.stats.wide li + li { padding-inline-start: 20px; border-inline-start: 1px solid var(--line); }
@media (max-width: 700px) {
  .stats.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats.wide li:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
}

/* ---------- Expertise (liste numérotée) ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(40px, 6vw, 72px); flex-wrap: wrap; }
.sec-head h2 { max-width: 15em; }
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.caps article { padding: 32px 32px 40px 0; border-bottom: 1px solid var(--line); }
.caps article:not(:nth-child(3n+1)) { padding-inline-start: 32px; border-inline-start: 1px solid var(--line); }
[dir="rtl"] .caps article { padding: 32px 0 40px 32px; }
[dir="rtl"] .caps article:not(:nth-child(3n+1)) { padding-inline-start: 32px; }
.caps .n { display: block; font: 400 .8125rem var(--sans); letter-spacing: .18em; color: var(--accent); margin-bottom: 40px; }
.caps h3 { font-size: 1.55rem; line-height: 1.2; margin-bottom: 14px; font-weight: 400; }
.caps p { font-size: .975rem; margin: 0; color: var(--ink-2); }
@media (max-width: 1000px) {
  .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .caps article, [dir="rtl"] .caps article { padding: 28px 24px 34px 0; border-inline-start: 0 !important; }
  [dir="rtl"] .caps article { padding: 28px 0 34px 24px; }
  .caps article:nth-child(even) { padding-inline-start: 24px !important; border-inline-start: 1px solid var(--line) !important; }
}
@media (max-width: 620px) {
  .caps { grid-template-columns: 1fr; }
  .caps article, .caps article:nth-child(even), [dir="rtl"] .caps article { padding: 26px 0 30px !important; border-inline-start: 0 !important; }
  .caps .n { margin-bottom: 18px; }
}

/* ---------- Méthode ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid var(--ink); padding-top: 22px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 300 3rem/1 var(--serif); color: var(--accent); margin-bottom: 26px; }
.steps h3 { font-size: 1.35rem; font-weight: 400; margin-bottom: 10px; }
.steps p { font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Cartes ---------- */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.card { background: var(--paper); display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card figure { margin: 0; overflow: hidden; background: var(--bg-2); }
.card figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease); }
.card figure.poster img { aspect-ratio: auto; height: 100%; max-height: 520px; width: auto; margin: 0 auto; }
a.card:hover figure img { transform: scale(1.035); }
.card .txt { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; flex: 1; }
.card .kicker { font: 500 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.card h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; margin-bottom: 14px; }
.card p { font-size: .975rem; }
.card .link, .card .more { margin-top: auto; align-self: flex-start; }
.card .more { font: 500 .78rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 6px; }
a.card:hover .more { color: var(--accent); border-color: var(--accent); }
.card.span { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.card.span figure img { height: 100%; aspect-ratio: auto; min-height: 380px; }
@media (max-width: 860px) {
  .cards, .card.span { grid-template-columns: 1fr; }
  .card.span figure img { min-height: 0; aspect-ratio: 3 / 2; }
}

/* ---------- En-tête de page intérieure ---------- */
.phead { padding: clamp(48px, 8vw, 120px) 0 clamp(40px, 6vw, 80px); }
.phead h1 { max-width: 14em; margin-bottom: 28px; }
.crumbs { font-size: .8125rem; color: var(--muted); margin-bottom: 28px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--ink); text-decoration: underline; }
.wide-img { margin: 0 auto; }  /* centrée comme le texte (.wrap) */
.wide-img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.wide-img figcaption, .fig figcaption { font-size: .8125rem; color: var(--muted); margin-top: 12px; }
@media (max-width: 700px) { .wide-img img { aspect-ratio: 4 / 3; } }

/* Expertise détaillée */
.disc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(48px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.disc:nth-child(even) figure { order: 2; }
.disc figure { margin: 0; }
.disc figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.disc figcaption { font-size: .8125rem; color: var(--muted); margin-top: 10px; }
.disc .n { font: 400 .8125rem var(--sans); letter-spacing: .18em; color: var(--accent); display: block; margin-bottom: 18px; }
.disc h2 { margin-bottom: 20px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--line); }
.ticks li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .975rem; display: flex; gap: 14px; }
.ticks li::before { content: ""; flex: none; width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); margin-top: .7em; }
@media (max-width: 860px) { .disc { grid-template-columns: 1fr; } .disc:nth-child(even) figure { order: 0; } }

.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { border: 1px solid var(--line); padding: 10px 18px; font-size: .9rem; background: var(--paper); }

/* ---------- Étude de cas ---------- */
.case { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.facts { position: sticky; top: 124px; background: var(--paper); padding: 30px 30px 14px; }
.facts h2 { font: 500 .75rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.facts dl { margin: 0; }
.facts dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }
.facts dd { margin: 4px 0 14px; color: var(--ink); font-size: .975rem; }
.prose h2 { margin: 56px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: 40em; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } .facts { position: static; } }

.gallery { columns: 3 280px; column-gap: 16px; }
.gallery figure { break-inside: avoid; margin: 0 0 16px; }
.gallery a { display: block; overflow: hidden; }
.gallery img { width: 100%; transition: transform 1s var(--ease); }
.gallery a:hover img { transform: scale(1.03); }
.gallery figcaption { font-size: .78rem; color: var(--muted); margin-top: 8px; line-height: 1.45; }

/* Visionneuse */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(247, 243, 236, .97); display: none; align-items: center; justify-content: center; flex-direction: column; padding: 56px 16px 20px; }
.lb.on { display: flex; }
.lb img { max-width: min(1400px, 100%); max-height: calc(100vh - 140px); width: auto; object-fit: contain; }
.lb p { margin: 14px 0 0; font-size: .875rem; color: var(--ink-2); text-align: center; max-width: 60em; }
.lb button { position: absolute; background: none; border: 0; cursor: pointer; color: var(--ink); font: 300 2rem/1 var(--serif); padding: 12px 16px; }
.lb .x { top: 8px; inset-inline-end: 10px; }
.lb .pv { inset-inline-start: 6px; top: 50%; } .lb .nx { inset-inline-end: 6px; top: 50%; }
[dir="rtl"] .lb .pv, [dir="rtl"] .lb .nx { transform: scaleX(-1); }

/* ---------- Appel à l'action ---------- */
.cta { text-align: center; padding: clamp(80px, 12vw, 170px) 0; }
.cta .eyebrow { justify-content: center; }
.cta .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.cta h2 { max-width: 13em; margin: 0 auto 28px; }
.cta p { max-width: 34em; margin: 0 auto 40px; }
.cta .btns { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr); border-top: 1px solid var(--ink); }
/* l'e-mail tient toujours sur une ligne : sa colonne est plus large et sa taille s'adapte */
.contact-grid .v.mail { white-space: nowrap; font-size: clamp(1.05rem, 1.75vw, 1.75rem); }
.contact-grid > div { padding: 30px 28px 34px 0; }
.contact-grid > div + div { padding-inline-start: 28px; border-inline-start: 1px solid var(--line); }
.contact-grid .k { font: 500 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; display: block; }
.contact-grid a.v, .contact-grid .v { font: 300 clamp(1.3rem, 2vw, 1.75rem)/1.3 var(--serif); color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-grid a.v:hover { color: var(--accent); }
.contact-grid p { font-size: .925rem; margin: 10px 0 0; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid > div, .contact-grid > div + div { padding: 26px 0; border-inline-start: 0; border-bottom: 1px solid var(--line); }
}
.brief { counter-reset: b; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.brief li { counter-increment: b; display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.brief li::before { content: counter(b, decimal-leading-zero); font: 400 .8125rem var(--sans); letter-spacing: .14em; color: var(--accent); padding-top: .25em; }
@media (max-width: 760px) { .brief { grid-template-columns: 1fr; } }
[dir="ltr"] .tel, .tel { direction: ltr; unicode-bidi: isolate; }

/* ---------- Mentions légales ---------- */
.legal { max-width: 46em; }
.legal h2 { font-size: 1.5rem; font-weight: 400; margin: 44px 0 12px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
.legal dt { color: var(--muted); } .legal dd { margin: 0; color: var(--ink); }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: 10px; } }

/* ---------- Pied de page ---------- */
.ftr { background: var(--bg-2); padding: clamp(56px, 8vw, 96px) 0 32px; font-size: .925rem; }
.ftr .top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.ftr .logo img { height: 68px; margin-bottom: 24px; }
.ftr h2 { font: 500 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr li { margin-bottom: 8px; }
.ftr a { text-decoration: none; } .ftr a:hover { color: var(--accent); }
.ftr .bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; padding-top: 26px; font-size: .8125rem; color: var(--muted); }
@media (max-width: 900px) { .ftr .top { grid-template-columns: 1fr 1fr; } .ftr .top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .ftr .top { grid-template-columns: 1fr; } }

/* ---------- Apparition au défilement ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .ticker ul { animation: none; flex-wrap: wrap; width: auto; }
  * { transition-duration: 0s !important; }
}

/* ---------- Arabe ---------- */
html[lang="ar"] body { font-family: "Readex Pro", var(--sans); font-size: 1.05rem; line-height: 1.85; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] .statement, html[lang="ar"] .ticker li,
html[lang="ar"] .stats b, html[lang="ar"] .contact-grid .v, html[lang="ar"] .nav a {
  font-family: "El Messiri", var(--serif); letter-spacing: 0;
}
html[lang="ar"] h1, html[lang="ar"] .h-xl, html[lang="ar"] .h-l { line-height: 1.3; font-weight: 500; }
html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] .statement { font-weight: 500; line-height: 1.45; }
html[lang="ar"] em, html[lang="ar"] .ticker li { font-style: normal; }
html[lang="ar"] .eyebrow, html[lang="ar"] .btn, html[lang="ar"] .link, html[lang="ar"] .nav a, html[lang="ar"] .card .kicker,
html[lang="ar"] .card .more, html[lang="ar"] .ftr h2, html[lang="ar"] .facts h2, html[lang="ar"] .facts dt, html[lang="ar"] .contact-grid .k,
html[lang="ar"] .hero .place { letter-spacing: 0; text-transform: none; font-size: .95rem; }
html[lang="ar"] .langs a:not([lang="ar"]) { font-family: var(--sans); }
html[lang="ar"] .lat { font-family: var(--sans); }
html[lang="ar"] .menu-btn { letter-spacing: 0; font-size: .9rem; font-family: "Readex Pro", var(--sans); }
@media (max-width: 1000px) { html[lang="ar"] .nav a { font-size: 1.9rem; line-height: 1.6; } }

@media print {
  .hdr, .ticker, .cta, .lb { display: none !important; }
  body { background: #fff; }
}

/* ---------- Édition 2027 et plan ---------- */
.ed27 { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.ed27 .fig { margin: 0; }
.ed27 .fig img { width: 100%; max-width: 440px; margin-inline-start: auto; box-shadow: 0 24px 60px -30px rgba(22, 19, 15, .45); }
.ed27 .fig figcaption { text-align: end; }
@media (max-width: 860px) { .ed27 { grid-template-columns: 1fr; } .ed27 .fig img { margin: 0 auto; max-width: 320px; } .ed27 .fig figcaption { text-align: center; } }
.plan { margin: 0; }
.plan a { display: block; background: #fff; padding: clamp(8px, 2vw, 24px); }
.plan img { width: 100%; }
.plan figcaption { font-size: .8125rem; color: var(--muted); margin-top: 12px; }
/* Chiffres clés : toujours lus de gauche à droite (5–7, ≈ 15 000 m²), alignés à droite en arabe */
.stats b { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .stats b { text-align: right; }

/* ---------- Logos du festival et d'Art Factory ---------- */
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.three .card figure img { aspect-ratio: 4 / 3; }
.cards.three .card figure.poster img { aspect-ratio: auto; max-height: 360px; }
@media (max-width: 1000px) { .cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .cards.three { grid-template-columns: 1fr; } }
.card .logo-fig { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; background: var(--bg-2); }
.cards.three .card .logo-fig { aspect-ratio: 4 / 3; }
.card .logo-fig img, .cards.three .card .logo-fig img { width: auto; height: 62%; aspect-ratio: auto; object-fit: contain; }
a.card:hover .logo-fig img { transform: scale(1.04); }
.card-logo { width: 92px; height: auto; margin-bottom: 18px; }
.facts-logo { display: block; width: 110px; height: auto; margin: 4px auto 22px; }
