/* =========================================================
   Groupe Biguejda — feuille de styles (français / arabe)
   Palette tirée du logo officiel : bleu marine + orange
   Propriétés logiques (inline-start / inline-end) pour le sens RTL
   ========================================================= */

@font-face { font-family: "Outfit"; src: url("fonts/outfit-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face {
  font-family: "Noto Kufi Arabic"; src: url("fonts/noto-kufi-arabic-arabic-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; src: url("fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2");
  font-weight: 400; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; src: url("fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2") format("woff2");
  font-weight: 500; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; src: url("fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2");
  font-weight: 600 700; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

:root {
  /* Couleurs du logo officiel */
  --navy: #07365D;         /* bleu marine du logo */
  --navy-2: #0B4777;
  --navy-soft: #E6EDF4;
  --orange: #FB8E08;       /* orange du logo */
  --orange-ink: #A85700;   /* orange foncé, lisible sur fond clair */
  --orange-soft: #FFF0DC;
  /* Neutres */
  --pearl: #F3F4F5;
  --white: #FFFFFF;
  --line: #E2E6EA;
  --ink: #0B2640;
  --muted: #56677A;

  --font-title: "Outfit", "Noto Kufi Arabic", "Segoe UI", system-ui, sans-serif;
  --font-text: "Inter", "IBM Plex Sans Arabic", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-sm: 10px; --r-md: 12px; --r-lg: 16px;
  --shadow-soft: 0 1px 2px rgba(7, 54, 93, .04), 0 10px 30px -14px rgba(7, 54, 93, .16);
  --shadow-lift: 0 2px 4px rgba(7, 54, 93, .05), 0 22px 44px -18px rgba(7, 54, 93, .26);

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 76px;
  --track-tight: -0.02em;
  --track-title: -0.03em;
}

/* Arabe : polices arabes en premier, pas d'approche négative, interlignage plus ample */
html[lang="ar"] {
  --font-title: "Noto Kufi Arabic", "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-text: "IBM Plex Sans Arabic", "Inter", "Segoe UI", system-ui, sans-serif;
  --track-tight: 0;
  --track-title: 0;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--pearl); color: var(--ink); font-family: var(--font-text); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html[lang="ar"] body { font-size: 17.5px; line-height: 1.85; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--font-title); font-weight: 600; line-height: 1.12; letter-spacing: var(--track-tight); margin: 0; color: var(--navy); }
html[lang="ar"] :is(h1, h2, h3) { line-height: 1.45; font-weight: 600; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
sup { font-size: .65em; line-height: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip-link:focus { top: 12px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 28px; height: 28px; }
[dir="rtl"] .icon--flip { transform: scaleX(-1); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r-md); border: 1px solid transparent; font-family: var(--font-text); font-size: 15.5px; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px -10px rgba(7, 54, 93, .55); }
.btn--primary:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: rgba(7, 54, 93, .18); }
.btn--ghost:hover { border-color: var(--navy); background: var(--white); }
.btn--soft { background: var(--orange-soft); color: var(--navy); }
.btn--soft:hover { background: #FFE4C2; }
.btn .icon--play { color: var(--orange); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 244, 245, .84); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .92); border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(7, 54, 93, .4); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__marks { display: inline-flex; align-items: center; gap: 10px; }
.brand__icon { width: 63px; height: 40px; object-fit: contain; }
.brand__sep { width: 1px; height: 30px; background: var(--line); }
.brand__rosace { width: 40px; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-title); font-weight: 700; font-size: 19px; letter-spacing: var(--track-tight); color: var(--navy); }
.brand__sub { font-family: var(--font-title); font-size: 13px; font-weight: 500; color: var(--orange-ink); margin-top: 3px; letter-spacing: 0; }
html[lang="ar"] .brand__name { font-size: 18px; }

.site-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.site-nav__link { padding: 10px 13px; border-radius: var(--r-sm); font-size: 15.5px; font-weight: 500; color: var(--ink); text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.site-nav__link:hover { background: rgba(7, 54, 93, .06); color: var(--navy); }
.site-nav__link.is-current { color: var(--navy); background: var(--navy-soft); }
.site-nav__cta-mobile { display: none; }
.site-header__cta { min-height: 44px; }

.lang-switch { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--navy); font-weight: 600; font-size: 15px; text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.lang-switch:lang(ar) { font-family: "IBM Plex Sans Arabic", sans-serif; font-size: 16px; }
.lang-switch:lang(fr) { font-family: "Inter", sans-serif; }
.lang-switch:hover { border-color: var(--orange); background: var(--orange-soft); }
.lang-switch__short { display: none; }

.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); cursor: pointer; position: relative; flex: none; }
.menu-toggle__bar { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s ease, top .3s ease; }
.menu-toggle__bar:nth-child(1) { top: 18px; }
.menu-toggle__bar:nth-child(2) { top: 26px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__title { font-size: clamp(44px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; max-width: 11.5ch; }
html[lang="ar"] .hero__title { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.4; letter-spacing: 0; max-width: 12em; }
.hero__lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--muted); max-width: 44ch; margin: 28px 0 36px; }
html[lang="ar"] .hero__lead { max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { position: relative; }
.hero__media > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 50%; border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }
.hero__chip { position: absolute; inset-inline-start: -28px; bottom: 36px; display: flex; align-items: center; gap: 12px; padding-block: 12px; padding-inline: 12px 18px; border-radius: var(--r-md); background: rgba(255, 255, 255, .95); box-shadow: var(--shadow-lift); font-size: 14.5px; color: var(--muted); line-height: 1.35; }
.hero__chip img { width: 36px; height: 36px; }
.hero__chip strong { color: var(--navy); font-weight: 600; display: block; font-size: 15.5px; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; max-width: 860px; }
.section-title { font-size: clamp(32px, 4vw, 50px); letter-spacing: var(--track-title); }
html[lang="ar"] .section-title { font-size: clamp(28px, 3.4vw, 42px); }
.section-intro { color: var(--muted); font-size: 18px; margin: 18px 0 0; max-width: 58ch; }

/* ---------- La route (élément signature) ---------- */
.route-section { padding-top: clamp(40px, 6vw, 72px); }
.route { --road-h: 56px; position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.route::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: var(--road-h); background: var(--navy); border-radius: calc(var(--road-h) / 2); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12), 0 14px 30px -18px rgba(7, 54, 93, .55); }
.route::after { content: ""; position: absolute; inset-inline: 34px; top: calc(var(--road-h) / 2 - 1.5px); height: 3px; background: repeating-linear-gradient(90deg, var(--orange) 0 22px, transparent 22px 40px); border-radius: 2px; }
.js .route::after { background-position-x: 320px; }
.js .route.is-driving::after { animation: drive 2.4s cubic-bezier(.2, .7, .2, 1) forwards; }
[dir="rtl"].js .route::after { background-position-x: -320px; }
[dir="rtl"].js .route.is-driving::after { animation-name: drive-rtl; }
@keyframes drive { from { background-position-x: 320px; } to { background-position-x: 0; } }
@keyframes drive-rtl { from { background-position-x: -320px; } to { background-position-x: 0; } }

.route__stop { position: relative; z-index: 1; }
.route__btn { width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 6px 12px; border: 0; background: none; cursor: pointer; border-radius: var(--r-md); }
.route__sign { width: 76px; height: 76px; margin-top: -10px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--navy); border: 4px solid var(--pearl); box-shadow: 0 10px 24px -12px rgba(7, 54, 93, .5); transition: transform .3s ease, background-color .3s ease, color .3s ease; }
.route__verb { font-family: var(--font-title); font-weight: 600; font-size: 20px; color: var(--navy); margin-top: 18px; letter-spacing: var(--track-tight); }
.route__who { font-size: 14.5px; color: var(--muted); margin-top: 6px; line-height: 1.45; max-width: 20ch; }
html[lang="ar"] .route__verb { font-size: 18px; }
html[lang="ar"] .route__who { line-height: 1.7; }
.route__btn:hover .route__sign, .route__btn:focus-visible .route__sign { transform: translateY(-4px); background: var(--orange); color: #fff; }
.route__btn:hover .route__verb { color: var(--orange-ink); }

/* ---------- Le Groupe ---------- */
.groupe { background: var(--white); }
.groupe__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.groupe__copy > p { color: var(--muted); max-width: 56ch; }
.groupe__copy .section-title { margin-bottom: 28px; max-width: 16ch; }
html[lang="ar"] .groupe__copy .section-title { max-width: 14em; }
.groupe__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }
.values { display: grid; gap: 22px; margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line); }
.values__item { display: flex; gap: 18px; align-items: flex-start; }
.values__icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: var(--r-md); background: var(--orange-soft); color: var(--navy); }
.values__title { font-size: 19px; margin: 2px 0 4px; }
.values__text { margin: 0; color: var(--muted); font-size: 16px; max-width: 48ch; }

/* ---------- Mot de la direction ---------- */
.direction__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(28px, 4vw, 48px); background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }
.quote__text::before { content: "«"; display: block; height: 34px; margin-bottom: 14px; font-family: "Outfit", sans-serif; font-weight: 500; font-size: 64px; line-height: .9; color: var(--orange); }
.quote__text p { margin: 0; font-family: var(--font-title); font-weight: 400; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.55; color: var(--ink); }
html[lang="ar"] .quote__text p { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.95; }
.quote__author { display: flex; align-items: center; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.quote__mono { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; font-family: "Outfit", sans-serif; font-weight: 600; font-size: 16px; color: #fff; }
.quote__mono--navy { background: var(--navy); }
.quote__mono--orange { background: var(--orange); }
.quote__name { display: block; font-family: var(--font-title); font-weight: 600; font-size: 18px; color: var(--navy); }
.quote__role { display: block; font-size: 14.5px; color: var(--muted); }

/* ---------- Filiales ---------- */
.filiales { background: var(--white); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.chip:hover { border-color: rgba(7, 54, 93, .35); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border-radius: var(--r-lg); background: var(--pearl); border: 1px solid transparent; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, background-color .35s ease; }
.card:hover { transform: translateY(-4px); background: var(--white); box-shadow: var(--shadow-lift); border-color: var(--line); }
.card.is-hidden { display: none; }
.card.is-entering { animation: card-in .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.card__logo { height: 72px; width: auto; max-width: 76px; object-fit: contain; margin-bottom: 22px; }
.card__logo--wide { max-width: 200px; }
.badge { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-ink); font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.card__title { font-size: 23px; }
.card__place { display: flex; align-items: center; gap: 6px; font-size: 14.5px; color: var(--muted); margin: 6px 0 0; }
.card__place .icon { color: var(--orange-ink); }
.card__text { font-size: 15.5px; color: var(--muted); margin: 14px 0 0; line-height: 1.6; }
.card--featured .card__text { margin-bottom: 24px; }
html[lang="ar"] .card__text { line-height: 1.85; font-size: 16px; }
.card__foot { margin-top: auto; }

.card--featured { grid-column: 1 / -1; flex-direction: row; align-items: stretch; padding: 0; overflow: hidden; background: var(--white); border-color: var(--line); box-shadow: var(--shadow-soft); }
.card--featured__media { flex: 0 0 52%; position: relative; min-height: 340px; }
.card--featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.card--featured .card__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.card--featured .card__text { max-width: 46ch; }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-bottom: 20px; flex-wrap: wrap; }
.card--featured .card__logo { margin: 0; height: 44px; max-width: 220px; }
.card__flag { font-size: 13px; font-weight: 600; color: var(--navy); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }

/* ---------- Nos complexes + film ---------- */
.complexes__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.complexes__copy .section-title { margin-bottom: 22px; max-width: 15ch; }
html[lang="ar"] .complexes__copy .section-title { max-width: 14em; }
.complexes__intro { color: var(--muted); max-width: 50ch; margin-bottom: 32px; }
.complex { background: var(--white); border-radius: var(--r-lg); padding: 24px 26px 10px; box-shadow: var(--shadow-soft); }
.complex + .complex { margin-top: 16px; }
.complex__name { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.complex__name .icon { color: var(--orange); }
.complex__tagline { color: var(--orange-ink); font-weight: 600; font-size: 14.5px; margin: 4px 0 10px; padding-inline-start: 30px; }
.amenities { display: grid; }
.amenities li { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); font-weight: 500; font-size: 15.5px; }
.amenities .icon { color: var(--navy); }
.complexes__media { position: sticky; top: calc(var(--header-h) + 32px); }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); box-shadow: var(--shadow-soft); }
.video__poster { width: 100%; height: 100%; object-fit: cover; }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 54, 93, 0) 35%, rgba(7, 54, 93, .6)); pointer-events: none; }
.video.is-playing::after { display: none; }
.video__play { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; border: 0; background: none; cursor: pointer; color: #fff; }
.video__play-icon { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: var(--orange); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); transition: transform .3s ease; }
.video__play-icon .icon { margin-left: 4px; }
.video__play:hover .video__play-icon { transform: scale(1.06); }
.video__label { font-weight: 600; font-size: 16px; text-shadow: 0 1px 10px rgba(0, 0, 0, .45); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__note { font-size: 13.5px; color: var(--muted); margin: 12px 0 24px; }
.complexes__photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }

/* ---------- Chiffres clés ---------- */
.chiffres { background: var(--white); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--pearl); }
.stats__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: clamp(28px, 3vw, 40px); }
.stats__item + .stats__item { border-inline-start: 1px solid var(--line); }
.stats__value { font-family: "Outfit", sans-serif; font-weight: 600; font-size: clamp(48px, 5.4vw, 68px); line-height: 1; letter-spacing: -0.04em; color: var(--navy); font-variant-numeric: tabular-nums; text-align: start; }
[dir="rtl"] .stats__value { text-align: right; }
.stats__value::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--orange); margin-bottom: 22px; }
[dir="rtl"] .stats__value::before { margin-left: auto; }
.stats__label { font-size: 15.5px; color: var(--muted); line-height: 1.5; max-width: 22ch; }
html[lang="ar"] .stats__label { line-height: 1.75; max-width: 16em; }

/* ---------- Contact ---------- */
.contact__panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); padding-block: clamp(36px, 5vw, 64px); padding-inline: clamp(24px, 5vw, 64px); background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }
.contact__copy > p { color: var(--muted); margin-top: 18px; }
.contact__copy .section-title { max-width: 14ch; }
html[lang="ar"] .contact__copy .section-title { max-width: 12em; }
.contact__list { display: grid; gap: 16px; margin: 28px 0 32px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; }
.contact__list .icon { color: var(--orange-ink); margin-top: 3px; }
.contact__list a { text-decoration: none; font-weight: 500; color: var(--navy); }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact__places { background: var(--pearl); border-radius: var(--r-md); padding: clamp(24px, 3vw, 36px); align-self: start; }
.contact__places-title { font-size: 20px; margin-bottom: 18px; }
.places__row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.places__row:last-child { border-bottom: 0; }
.places dt { font-weight: 600; color: var(--navy); }
.places dd { color: var(--muted); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 56px 0 28px; }
.logo-wall { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 36px; padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.logo-wall a { display: block; border-radius: 8px; }
.logo-wall img { height: 40px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .3s ease, opacity .3s ease; }
.logo-wall a:hover img, .logo-wall a:focus-visible img { filter: none; opacity: 1; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.4fr .9fr; gap: 40px; }
.footer-brand__logos { display: flex; align-items: center; gap: 22px; }
.footer-brand__logo { width: 118px; height: auto; }
.footer-brand__sep { width: 1px; height: 96px; background: var(--line); }
.footer-brand__rosace { width: 104px; height: 104px; }
.footer-brand__line { color: var(--muted); font-size: 15px; margin-top: 18px; max-width: 30ch; }
.footer-col__title { font-family: var(--font-title); font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.footer-links { display: grid; gap: 8px; }
.footer-links--two { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer-bottom p { margin: 0; }
.link-btn { border: 0; background: none; padding: 4px 0; cursor: pointer; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--navy); }

/* ---------- Mentions légales ---------- */
.legal { width: min(640px, calc(100% - 32px)); max-height: calc(100% - 48px); border: 0; padding: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-lift); color: var(--ink); }
.legal::backdrop { background: rgba(7, 54, 93, .35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.legal__inner { padding: clamp(24px, 4vw, 40px); }
.legal__title { font-size: 28px; margin-bottom: 20px; }
.legal h3 { font-size: 16px; margin: 20px 0 6px; }
.legal p { font-size: 15px; color: var(--muted); margin: 0; }
.legal__actions { margin-top: 28px; }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .site-header__cta { display: none; }
}
@media (max-width: 1080px) {
  .site-nav__link { padding: 10px 10px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__item + .stats__item { border-inline-start: 0; }
  .stats__item:nth-child(even) { border-inline-start: 1px solid var(--line); }
  .stats__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .site-header__inner { gap: 12px; }
  .lang-switch { margin-inline-start: auto; min-height: 40px; padding: 0 12px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px var(--gutter) 24px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(7, 54, 93, .35); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; transition: opacity .25s ease, transform .25s ease; }
  .site-nav__link { padding: 14px 12px; font-size: 17px; }
  .site-nav__cta-mobile { display: inline-flex; margin-top: 8px; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { max-width: 13ch; }
  .hero__media > img { aspect-ratio: 4 / 3; object-position: 55% 40%; }
  .hero__chip { inset-inline-start: 16px; bottom: 16px; }

  .groupe__grid, .complexes__grid, .contact__panel { grid-template-columns: 1fr; }
  .groupe__media { order: -1; }
  .groupe__media img { aspect-ratio: 16 / 11; object-position: 50% 30%; }
  .complexes__media { position: static; }
  .direction__grid { grid-template-columns: 1fr; }

  /* la route devient verticale */
  .route { grid-template-columns: 1fr; gap: 0; }
  .route::before { inset-inline-start: 12px; inset-inline-end: auto; top: 0; bottom: 0; width: 52px; height: auto; border-radius: 26px; }
  .route::after { inset-inline-start: 36.5px; inset-inline-end: auto; top: 30px; bottom: 30px; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--orange) 0 22px, transparent 22px 40px); }
  .js .route::after, [dir="rtl"].js .route::after { background-position-x: 0; background-position-y: 320px; }
  .js .route.is-driving::after, [dir="rtl"].js .route.is-driving::after { animation-name: drive-v; }
  .route__btn { flex-direction: row; flex-wrap: wrap; align-items: center; text-align: start; column-gap: 18px; padding-block: 14px; padding-inline: 4px 8px; }
  .route__sign { width: 60px; height: 60px; margin: 0; flex: none; }
  .route__sign .icon--lg { width: 24px; height: 24px; }
  .route__verb { margin: 0; flex: 1; min-width: 0; }
  .route__who { margin-inline-start: 78px; flex-basis: 100%; max-width: none; margin-top: -14px; }
  html[lang="ar"] .route__who { margin-top: -6px; }
}
@keyframes drive-v { from { background-position-y: 320px; } to { background-position-y: 0; } }

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .brand__icon { width: 48px; height: 30px; }
  .brand__rosace { width: 30px; height: 30px; }
  .brand__marks { gap: 7px; }
  .brand__sep { height: 24px; }
  .brand { gap: 9px; }
  .brand__name { font-size: 17px; }
  .brand__sub { font-size: 12px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .cards { grid-template-columns: 1fr; }
  .card--featured { flex-direction: column; }
  .card--featured__media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .card--featured .card__body { padding: 26px; }
  .stats__item { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .places__row { grid-template-columns: 1fr; gap: 2px; }
  .logo-wall { gap: 16px 24px; }
  .logo-wall img { height: 32px; max-width: 110px; }
  .complex { padding: 20px 20px 6px; }
}
@media (max-width: 480px) {
  :root { --gutter: 16px; }
  .brand__name { font-size: 16px; }
  .lang-switch { padding: 0 10px; }
  .lang-switch__long { display: none; }
  .lang-switch__short { display: inline; }
}
@media (max-width: 370px) {
  .brand__sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .route::after, [dir="rtl"].js .route::after { background-position: 0 0; }
}
