/* ==========================================================================
   Mourad CHAHLAFI — Podologue du sport
   Feuille de style commune (reconstruction du design WordPress / Elementor)
   ========================================================================== */

@font-face { font-family: "Agdasima"; src: url("../fonts/Agdasima-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Agdasima"; src: url("../fonts/Agdasima-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/Onest-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/Onest-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/Onest-Medium.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/Onest-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/Onest-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/Onest-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --bg: #000;
  --navy: #0b0b5c;
  --text: #f4f3ff;
  --muted: #64698e;
  --muted-2: #54566c;
  --soft: #d1d3f8;
  --accent: #3d6bff;
  --cyan: #13d8f5;
  --container: 1140px;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-nav: "Barlow", "Onest", sans-serif;
  --font-tech: "Agdasima", "Barlow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100000; background: #fff; color: #000; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }

/* --------------------------------------------------------------------------
   Barre du haut (Doctolib)
   -------------------------------------------------------------------------- */
.topbar {
  position: relative;
  height: 40px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(90deg, rgba(212,102,163,.39) 0%, rgba(95,123,186,.42) 100%), url("../img/header-banner.webp") center/cover no-repeat;
  border-bottom: 1px solid rgba(255,255,255,.35);
  font-size: 13px; font-weight: 500; color: #fff;
}
.topbar__pill {
  display: inline-block;
  background: #fff; color: #000;
  font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  line-height: 1; padding: 4px 10px; border-radius: 20px;
  transition: transform .2s;
}
.topbar__pill:hover { transform: translateY(-1px); }

/* --------------------------------------------------------------------------
   En-tête / navigation
   -------------------------------------------------------------------------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 99; }
/* Menu qui suit le défilement (pas de transform ni de backdrop-filter : la fenêtre RDV et le menu mobile restent plein écran) */
.site-header.is-sticky { position: fixed; top: 0; background: rgba(9, 7, 46, .94); box-shadow: 0 10px 40px rgba(0,0,0,.45); border-bottom: 1px solid rgba(140,150,255,.12); animation: headerIn .45s cubic-bezier(.2,.65,.3,1); }
.site-header.is-sticky .topbar { display: none; }
.site-header.is-sticky .navbar { min-height: 86px; padding-top: 6px; padding-bottom: 6px; }
.site-header.is-sticky .navbar__logo img { width: 142px; height: 80px; }
.navbar, .navbar__logo img { transition: min-height .35s, width .35s, height .35s, padding .35s; }
@keyframes headerIn { from { top: -110px; } to { top: 0; } }
.navbar {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 60px 0;
  min-height: 173px;
}
.navbar__logo img { width: 219px; height: 123px; object-fit: cover; object-position: center; }
.nav { display: flex; align-items: center; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nav > li { position: relative; }
.nav a, .nav button {
  font-family: var(--font-nav); font-weight: 600; font-size: 15px; line-height: 16px;
  text-transform: uppercase; color: #fff;
  background: none; border: 0; padding: 10px 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav a:hover, .nav button:hover { opacity: .8; }
.nav__chev { width: 13px; height: 13px; transition: transform .3s; }
.nav__dropdown {
  position: absolute; top: 100%; left: -38px;
  min-width: 230px; padding: 20px 30px;
  list-style: none; margin: 0;
  background: #14013b;
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.nav__dropdown a { padding: 6px 0; line-height: 22.5px; }
.nav__has-sub:hover .nav__dropdown,
.nav__has-sub:focus-within .nav__dropdown,
.nav__has-sub.open .nav__dropdown { opacity: 1; visibility: visible; transform: none; }
.nav__has-sub:hover .nav__chev, .nav__has-sub.open .nav__chev { transform: rotate(180deg); }

.nav__cta { display: none; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.site-footer { background: #000; padding: 90px 0 60px; }
.site-footer .container { max-width: 1180px; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer__logo img { width: 222px; height: 125px; object-fit: cover; }
.footer__links { display: flex; gap: 50px; list-style: none; margin: 0; padding: 0; }
.footer__links a { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #fff; transition: opacity .2s; }
.footer__links a:hover { opacity: .7; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 40px; }
.footer__bottom p { max-width: 720px; font-size: 12px; line-height: 21px; color: #9398c0; }
.footer__social { color: var(--muted); transition: color .2s; }
.footer__social:hover { color: #fff; }
.footer__social svg { width: 27px; height: 27px; fill: currentColor; }

/* --------------------------------------------------------------------------
   Utilitaires communs
   -------------------------------------------------------------------------- */
.eyebrow { font-size: 18px; color: var(--muted); display: inline-flex; flex-direction: column; align-items: center; gap: 6px; }
.eyebrow::after { content: ""; width: 60px; height: 2px; background: linear-gradient(90deg, transparent, #9aa4ff, transparent); }
.eyebrow--top { flex-direction: column-reverse; }
.glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(60px); }
.line-deco { display: block; width: 44px; height: 2px; background: linear-gradient(90deg, transparent, #2f3bff); position: relative; }
.line-deco::after { content: ""; position: absolute; right: -3px; top: -3px; width: 8px; height: 8px; background: #2f3bff; transform: rotate(45deg); }

/* Apparition au scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2,.65,.3,1), transform .9s cubic-bezier(.2,.65,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; } .reveal-d2 { transition-delay: .24s; } .reveal-d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* Défilement des logos partenaires */
.partners { padding: 40px 0 60px; text-align: center; }
.partners__title { font-size: 13px; line-height: 24px; color: var(--muted-2); margin-bottom: 40px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 113px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { width: 96px; height: auto; max-height: 96px; object-fit: contain; filter: grayscale(1) brightness(1.6); opacity: .85; transition: opacity .3s, filter .3s; }
.marquee__track img:hover { opacity: 1; filter: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   ACCUEIL
   ========================================================================== */
.hero {
  position: relative; min-height: 900px;
  background: #06051f url("../img/hero-cover.webp") center/cover no-repeat;
  display: flex; align-items: center; justify-content: center; text-align: center;
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(8,6,48,.78) 0%, rgba(14,10,80,.72) 55%, rgba(24,20,120,.55) 100%), linear-gradient(90deg, rgba(10,20,200,.35) 0%, rgba(10,20,200,0) 40%); }
.hero__inner { position: relative; z-index: 2; padding: 250px 20px 180px; max-width: 900px; }
.hero__kicker { font-size: 18px; color: var(--muted); display: inline-flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 18px; }
.hero__kicker::after { content: ""; width: 80px; height: 2px; background: linear-gradient(90deg, transparent, #c9d0ff, transparent); }
.hero h1 { font-size: 92px; font-weight: 800; line-height: .85; letter-spacing: 1.84px; color: var(--text); }
.hero__name { margin-top: 38px; font-size: 38px; font-weight: 600; line-height: 30px; color: var(--soft); }
.hero__desc { margin-top: 14px; font-size: 22px; font-weight: 300; line-height: 30px; color: var(--soft); }
.hero__shape { position: absolute; z-index: 1; mix-blend-mode: screen; pointer-events: none; }
.hero__shape--1 { width: 110px; left: 12%; top: 60%; animation: float1 9s ease-in-out infinite; }
.hero__shape--2 { width: 140px; right: 9%; top: 34%; animation: float2 11s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(18px,-26px) rotate(18deg); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(-22px,24px) rotate(-22deg); } }
.meteor { position: absolute; z-index: 1; top: -10%; width: 2px; height: 160px; background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(170,190,255,.9)); transform: rotate(35deg); opacity: 0; animation: meteor 7s linear infinite; }
.meteor:nth-of-type(2) { left: 70%; animation-delay: 2.5s; }
.meteor:nth-of-type(3) { left: 40%; animation-delay: 5s; }
@keyframes meteor { 0% { opacity: 0; transform: translate(0,0) rotate(35deg); } 5% { opacity: 1; } 25% { opacity: 0; transform: translate(-500px, 700px) rotate(35deg); } 100% { opacity: 0; } }

.intro { position: relative; display: flow-root; background: radial-gradient(ellipse at 50% 0%, #201b36 0%, #0b0a14 45%, #000 80%); }
.intro__cover { width: 90%; max-width: 1000px; margin: -130px auto 0; position: relative; z-index: 3; border-radius: 22px; will-change: transform; transform: translate3d(0, var(--py, 120px), 0) perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out; }

.expertises { position: relative; padding: 20px 0 80px; text-align: center; }
.expertises .eyebrow { margin: 0 0 110px; font-weight: 400; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.xp-card {
  position: relative; padding: 30px 48px 40px;
  border: 1px solid rgba(255,255,255,.06); border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  transition: transform .5s cubic-bezier(.2,.65,.3,1), border-color .4s, background .4s;
}
.xp-card:nth-child(2) { margin-top: -12px; }
.xp-card:hover { transform: translateY(-10px); border-color: rgba(120,140,255,.35); background: linear-gradient(180deg, rgba(90,110,255,.10), rgba(255,255,255,0)); }
.xp-card__icon { width: 64px; height: 64px; margin: 0 auto 18px; opacity: 0; transform: scale(.7); transition: opacity .4s, transform .4s; }
.xp-card:hover .xp-card__icon { opacity: 1; transform: none; }
.xp-card h3 { font-size: 23px; line-height: 25px; color: #fff; margin-bottom: 8px; }
.xp-card p { font-size: 18px; line-height: 27.9px; color: var(--muted); }

.map-section { position: relative; padding: 110px 0 120px; background: radial-gradient(ellipse at 35% 45%, #1d1b2e 0%, #07070c 55%, #000 80%); }
.map-section__grid { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 40px; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.map-section h2 { font-size: 36px; line-height: 30.6px; letter-spacing: .72px; color: var(--text); margin: 26px 0 60px; }
.map-section p { font-size: 18px; line-height: 27.9px; color: var(--muted); max-width: 420px; }
.cities { display: flex; gap: 60px; margin-top: 40px; }
.cities a { display: inline-flex; align-items: center; gap: 6px; font-size: 26px; font-weight: 700; color: #fff; transition: color .2s; }
.cities a:hover { color: #9fb5ff; }
.cities svg { width: 17px; height: 20px; }

.reviews { padding: 40px 0 0; text-align: center; }
.reviews h2 { font-size: 56px; line-height: 61.6px; letter-spacing: -.56px; color: var(--text); }
.reviews__slot { margin-top: 40px; }

/* ==========================================================================
   À PROPOS
   ========================================================================== */
.about-hero {
  position: relative; min-height: 732px; overflow: hidden;
  background: linear-gradient(0deg, #7cc1df 0%, #0b0b5c 70%);
}
.about-hero__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: end; max-width: 1100px; margin: 0 auto; padding: 200px 20px 0; min-height: 732px; }
.about-hero__text { align-self: start; padding-top: 10px; }
.about-hero h1 { font-size: 34px; font-weight: 700; color: #fff; }
.about-hero__sig { width: 362px; margin: 20px 0 40px; }
.about-hero__lead { font-family: var(--font-nav); font-weight: 400; font-size: 29px; line-height: 43px; color: rgba(255,255,255,.35); max-width: 530px; }
.about-hero__photo { justify-self: center; width: 362px; }

.contact { padding: 40px 20px 90px; }
.contact h2 { position: absolute; left: -9999px; }
.contact-form { max-width: 472px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0 15px; }
.contact-form .field { grid-column: 1 / -1; margin-bottom: 20px; }
.contact-form .field--half { grid-column: auto; }
.contact-form label { display: block; font-size: 18px; font-weight: 500; color: #7f84b0; margin-bottom: 8px; }
.contact-form label span { color: #e2334b; margin-left: 6px; }
.contact-form input, .contact-form textarea {
  width: 100%; font: inherit; font-size: 18px; color: #1a1a2e;
  background: #fff; border: 1px solid #d5d8e6; border-radius: 4px; padding: 8px 15px;
}
.contact-form textarea { min-height: 96px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.contact-form button {
  grid-column: 1 / -1; justify-self: center;
  font: inherit; font-size: 17px; font-weight: 500; color: #fff;
  background: #0d0db8; border: 0; border-radius: 4px; padding: 9px 21px; cursor: pointer;
  transition: background .2s, transform .2s;
}
.contact-form button:hover { background: #2020e0; transform: translateY(-1px); }
.contact-form__status { grid-column: 1 / -1; text-align: center; font-size: 15px; margin-top: 14px; min-height: 1.4em; color: #9fb5ff; }

/* ==========================================================================
   PAGES CABINET (Lille / Paris / Rabat)
   ========================================================================== */
.cab-hero {
  position: relative; min-height: 900px; overflow: hidden;
  background-color: #0b0b5c; background-position: center; background-size: cover;
}
.cab-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,92,.92) 0%, rgba(20,16,110,.78) 50%, rgba(11,11,92,.6) 100%); }
.cab-hero__grid { position: relative; z-index: 2; max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: end; min-height: 900px; padding: 0 0 0 70px; }
.cab-hero__text { align-self: center; padding-top: 170px; }
.cab-hero__addr { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--cyan); }
.cab-hero__addr svg { width: 14px; height: 16px; }
.cab-hero h1 { font-size: 58px; font-weight: 700; line-height: 1.15; color: #fff; margin: 14px 0 20px; }
.cab-hero__sub { font-size: 22px; font-weight: 700; color: #fff; }
.cab-hero__desc { margin-top: 56px; font-size: 18px; line-height: 28px; color: rgba(255,255,255,.4); max-width: 620px; }
.cab-hero__btns { display: flex; flex-wrap: wrap; gap: 50px; margin-top: 36px; padding-left: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; color: #fff; border-radius: 50px; padding: 25px 25px; transition: transform .25s, box-shadow .25s, background .25s; }
.btn--grad { background: linear-gradient(90deg, #1515d6 0%, #0d9bea 100%); }
.btn--grad:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(13,155,234,.35); }
.btn--outline { border: 1px solid rgba(255,255,255,.85); }
.btn--outline:hover { background: rgba(255,255,255,.08); }
.btn--ghost { padding-left: 0; }
.btn[aria-disabled="true"] { cursor: default; opacity: .8; }
.cab-hero__visual { position: relative; align-self: end; height: 100%; min-height: 600px; }
.cab-hero__portrait { position: absolute; bottom: 0; left: 0; width: 504px; }
.cab-hero__sig { position: absolute; bottom: -70px; right: -20px; width: 566px; z-index: 2; }

.cab-space { position: relative; background: linear-gradient(180deg, #060626 0%, #0a0a3e 45%, #0b0b5c 100%); padding: 0 0 20px; }
.cab-space__grid { display: grid; grid-template-columns: 663px 1fr; gap: 70px; align-items: center; }
.cab-space__img { width: 95%; max-width: 663px; height: 335px; object-fit: cover; -webkit-mask-image: linear-gradient(114deg, rgba(0,0,0,.45) 26.57%, rgba(0,0,0,0) 100%); mask-image: linear-gradient(114deg, rgba(0,0,0,.45) 26.57%, rgba(0,0,0,0) 100%); }
.cab-space__txt { position: relative; padding: 0 50px 20px 0; }
.kicker { display: block; font-size: 15px; font-weight: 700; color: var(--cyan); margin-bottom: 8px; }
.cab-space h2, .cab-care h2, .cab-access h2 { font-size: 45px; font-weight: 700; line-height: 1; color: #fff; }
.cab-space p { margin: 28px 0 22px; font-size: 18px; line-height: 28px; color: rgba(255,255,255,.35); }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; align-items: center; gap: 8px; font-size: 19px; line-height: 40px; color: #fff; }
.checks svg { width: 14px; height: 14px; fill: var(--cyan); flex-shrink: 0; }
.cab-space__watermark { position: absolute; right: 50px; bottom: -10px; width: 306px; opacity: .15; pointer-events: none; }

.cab-care { position: relative; background: linear-gradient(180deg, #06063a 0%, #03031e 70%, #000 100%); padding: 50px 0 60px; text-align: center; }
.cab-care h2 { max-width: 1100px; margin: 0 auto; }

.cab-access { position: relative; overflow: hidden; padding: 120px 0 100px; background: radial-gradient(ellipse at 45% 50%, #1f2d6f 0%, #0a0a4a 40%, #030318 80%, #000 100%); }
.cab-access::before { content: ""; position: absolute; inset: 0; background: var(--access-bg, none) center/cover no-repeat; opacity: .08; }
.cab-access__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1300px; margin: 0 auto; padding: 0 70px; align-items: center; }
.cab-access__map iframe { width: 100%; height: 365px; border: 0; border-radius: 6px; filter: grayscale(.2) invert(.9) hue-rotate(190deg) saturate(.8); }
.cab-access__btns { display: flex; gap: 60px; align-items: center; margin-top: 50px; }
.cab-access p { margin: 36px 0 54px; font-size: 18px; line-height: 28px; color: rgba(255,255,255,.35); }
.access-list { list-style: none; margin: 0; padding: 0; }
.access-list li { display: flex; align-items: center; gap: 8px; font-size: 19px; line-height: 40px; color: #fff; }
.access-list svg { width: 15px; height: 15px; fill: var(--cyan); flex-shrink: 0; }
.coming-soon { font-size: 17px; font-weight: 700; color: #fff; }

/* Pages légales */
.legal { padding: 260px 20px 80px; max-width: 860px; margin: 0 auto; }
.legal h1 { font-size: 48px; margin-bottom: 30px; }
.legal h2 { font-size: 24px; margin: 36px 0 12px; }
.legal p, .legal li { color: #b9bcd8; font-size: 17px; }
.legal .todo { background: rgba(255,200,0,.1); border: 1px dashed rgba(255,200,0,.5); padding: 14px 18px; border-radius: 8px; color: #ffd66b; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .cab-space__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cab-space__img { width: 100%; }
  .cab-hero__grid { padding-left: 40px; }
  .cab-hero__portrait { width: 420px; }
  .cab-hero__sig { width: 460px; }
}
@media (max-width: 1024px) {
  .navbar { padding: 12px 24px 0; min-height: 120px; }
  .navbar__logo img { width: 170px; height: 96px; }
  .burger { display: block; }
  .rdv-trigger { display: none !important; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw);
    flex-direction: column; align-items: flex-start; gap: 6px;
    padding: 110px 32px 32px; background: #0b0830;
    box-shadow: -20px 0 60px rgba(0,0,0,.5);
    transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.65,.3,1);
    z-index: 98;
  }
  .nav.open { transform: none; }
  .nav a, .nav button { font-size: 17px; }
  .nav__dropdown { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; padding: 0 0 0 18px; min-width: 0; display: none; }
  .nav__has-sub.open .nav__dropdown { display: block; }
  .nav__cta { display: block; margin-top: 16px; }
  .nav__cta button { border: 1.5px solid rgba(255,255,255,.75); border-radius: 50px; padding: 10px 22px; font-family: var(--font-tech); letter-spacing: .16em; }
  .burger { position: relative; z-index: 99; }

  .hero { min-height: 720px; }
  .hero__inner { padding: 190px 20px 140px; }
  .hero h1 { font-size: 64px; }
  .intro__cover { margin-top: -100px; }
  .map-section__grid, .about-hero__grid, .cab-hero__grid, .cab-space__grid, .cab-access__grid { grid-template-columns: 1fr; }
  .map-section__grid { text-align: center; }
  .map-section p { margin: 0 auto; }
  .cities { justify-content: center; }
  .map-section .line-deco { margin: 0 auto; }
  .about-hero__grid { padding-top: 160px; text-align: center; }
  .about-hero__sig, .about-hero__lead { margin-left: auto; margin-right: auto; }
  .cab-hero__grid { padding: 0 24px; }
  .cab-hero__text { padding-top: 160px; }
  .cab-hero__visual { min-height: 520px; }
  .cab-hero__portrait { left: 50%; transform: translateX(-50%); width: 400px; }
  .cab-hero__sig { right: 50%; transform: translateX(50%); width: 420px; bottom: -40px; }
  .cab-space__txt { padding: 30px 24px; }
  .cab-access__grid { padding: 0 24px; }
  .cab-access__txt { order: -1; }
}
@media (max-width: 767px) {
  .hero { background-image: url("../img/hero-cover-900.webp"); }
  body { font-size: 16px; }
  .topbar { font-size: 12px; }
  .hero h1 { font-size: 46px; line-height: .95; }
  .hero__name { font-size: 28px; margin-top: 26px; }
  .hero__desc { font-size: 17px; line-height: 25px; }
  .hero__shape--1 { width: 60px; left: 4%; top: 82%; } .hero__shape--2 { width: 70px; right: 3%; top: 20%; }
  .intro__cover { margin-top: -50px; width: 96%; border-radius: 14px; }
  .site-header.is-sticky .navbar { min-height: 70px; }
  .site-header.is-sticky .navbar__logo img { width: 110px; height: 62px; }
  .cards-3 { grid-template-columns: 1fr; gap: 20px; }
  .xp-card:nth-child(2) { margin-top: 0; }
  .xp-card__icon { opacity: 1; transform: none; }
  .expertises .eyebrow { margin-bottom: 50px; }
  .map-section h2 { font-size: 28px; line-height: 1.15; margin-bottom: 30px; }
  .cities { gap: 26px; }
  .cities a { font-size: 21px; }
  .reviews h2 { font-size: 38px; line-height: 1.2; }
  .marquee__track { gap: 60px; }
  .about-hero__sig { width: 260px; }
  .about-hero__lead { font-size: 22px; line-height: 32px; }
  .about-hero__photo { width: 280px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .field--half { grid-column: 1 / -1; }
  .cab-hero h1 { font-size: 40px; }
  .cab-hero__sub { font-size: 18px; }
  .cab-hero__desc { margin-top: 26px; font-size: 16px; }
  .cab-hero__btns { gap: 14px; padding-left: 0; }
  .btn { padding: 18px 22px; font-size: 15px; }
  .cab-hero__visual { min-height: 430px; }
  .cab-hero__portrait { width: 330px; }
  .cab-hero__sig { width: 330px; bottom: -30px; }
  .cab-space h2, .cab-care h2, .cab-access h2 { font-size: 32px; }
  .cab-space__watermark { width: 200px; right: 10px; }
  .checks li, .access-list li { font-size: 16px; line-height: 1.5; padding: 6px 0; }
  .cab-access { padding: 70px 0; }
  .cab-access__btns { flex-direction: column; gap: 14px; }
  .footer__top, .footer__bottom { flex-direction: column; text-align: center; }
  .footer__links { flex-wrap: wrap; justify-content: center; gap: 20px 30px; }
  .legal { padding-top: 180px; }
  .legal h1 { font-size: 34px; }
}

/* ==========================================================================
   ACTUALITÉS / BLOG
   ========================================================================== */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.news { position: relative; padding: 110px 20px 90px; background: radial-gradient(ellipse at 50% 0%, #15133a 0%, #07070f 45%, #000 80%); }
.news__head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.news__head .line-deco { margin: 0 auto 30px; }
.news__head h2 { font-size: 56px; line-height: 1.1; letter-spacing: -.56px; color: var(--text); }
.news__head p { margin-top: 18px; color: var(--muted); }
.news__cta { text-align: center; margin-top: 60px; }
.news__cta .btn { padding: 20px 34px; }
.news__empty { text-align: center; color: var(--muted); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1140px; margin: 0 auto; }
.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid rgba(255,255,255,.07); border-radius: 14px;
  background: linear-gradient(180deg, rgba(40,46,130,.16), rgba(8,8,24,.6));
  transition: transform .5s cubic-bezier(.2,.65,.3,1), border-color .4s, box-shadow .4s;
}
.post-card:hover { transform: translateY(-8px); border-color: rgba(110,140,255,.4); box-shadow: 0 24px 50px rgba(20,30,140,.25); }
.post-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0b0b2e; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.65,.3,1); }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.post-card__meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.post-card__cat { color: var(--cyan); font-weight: 700; }
.post-card h3 { font-size: 21px; line-height: 1.3; color: #fff; }
.post-card h3 a:hover { color: #b9c6ff; }
.post-card p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--muted); flex: 1; }
.post-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 15px; font-weight: 700; color: #9fb5ff; }
.post-card__more svg { width: 16px; height: 16px; transition: transform .3s; }
.post-card:hover .post-card__more svg { transform: translateX(4px); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 26px; }
.breadcrumb a:hover { color: #fff; }

.blog-hero { padding: 230px 0 60px; background: linear-gradient(0deg, #000 0%, #0b0b5c 100%); text-align: center; }
.blog-hero .breadcrumb { justify-content: center; }
.blog-hero h1 { font-size: 72px; font-weight: 800; letter-spacing: 1px; }
.blog-hero p { margin-top: 14px; color: rgba(255,255,255,.55); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.chip { padding: 9px 18px; border-radius: 50px; font-size: 14px; font-weight: 600; color: #cfd5ff; border: 1px solid rgba(160,175,255,.3); transition: background .2s, border-color .2s; }
.chip:hover { border-color: rgba(160,175,255,.7); }
.chip.is-active { background: linear-gradient(90deg, #1515d6 0%, #0d9bea 100%); border-color: transparent; color: #fff; }
.news--list { padding-top: 40px; background: #000; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 60px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(160,175,255,.3); font-weight: 600; }
.pagination span[aria-current] { background: #1515d6; border-color: #1515d6; }

/* Page article */
.preview-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; padding: 12px 20px; text-align: center; background: #ffcc33; color: #1a1a1a; font-weight: 600; font-size: 15px; }
.preview-bar a { text-decoration: underline; margin-left: 10px; }
.post-hero { padding: 230px 0 50px; background: linear-gradient(0deg, #05051c 0%, #0b0b5c 100%); }
.post-hero .container { max-width: 860px; }
.post-hero__cat { display: inline-block; padding: 6px 14px; border-radius: 50px; font-size: 13px; font-weight: 700; color: var(--cyan); border: 1px solid rgba(19,216,245,.35); margin-bottom: 20px; }
.post-hero h1 { font-size: 48px; line-height: 1.15; font-weight: 800; color: #fff; }
.post-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; font-size: 14px; color: rgba(255,255,255,.6); }
.post-hero__meta img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: top; background: #1a1f6b; }
.post-hero__meta a { color: #fff; font-weight: 600; }
.post-hero__meta svg { width: 14px; height: 14px; vertical-align: -2px; }
.post-cover { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.post-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 16px; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.post-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); justify-content: center; gap: 60px; padding: 60px 20px 40px; background: #05051c; }
.post-layout:not(:has(.post-toc)) { grid-template-columns: minmax(0, 760px); }
.post-toc { position: sticky; top: 30px; align-self: start; font-size: 14px; border-left: 2px solid rgba(110,140,255,.3); padding-left: 18px; }
.post-toc p { font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 12px; color: #9fb5ff; margin-bottom: 12px; }
.post-toc ol { list-style: none; margin: 0; padding: 0; }
.post-toc li { margin-bottom: 10px; line-height: 1.4; }
.post-toc a { color: rgba(255,255,255,.6); } .post-toc a:hover { color: #fff; }
.post-content { font-size: 18px; line-height: 1.8; color: #c9cce6; }
.post-content > * + * { margin-top: 1.1em; }
.post-content h2 { font-size: 32px; line-height: 1.25; color: #fff; margin-top: 1.8em; scroll-margin-top: 30px; }
.post-content h3 { font-size: 24px; line-height: 1.3; color: #fff; margin-top: 1.5em; }
.post-content h4 { font-size: 19px; color: #fff; margin-top: 1.3em; }
.post-content strong { color: #fff; }
.post-content a { color: #8fb0ff; text-decoration: underline; text-underline-offset: 3px; }
.post-content ul, .post-content ol { padding-left: 1.3em; }
.post-content li + li { margin-top: .4em; }
.post-content li::marker { color: var(--cyan); }
.post-content img { border-radius: 12px; margin: 1.6em auto; }
.post-content figure { margin: 1.6em 0; } .post-content figcaption { font-size: 14px; color: var(--muted); text-align: center; }
.post-content blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 3px solid var(--cyan); background: rgba(40,50,140,.2); border-radius: 0 10px 10px 0; color: #e4e7ff; }
.post-content hr { border: 0; height: 1px; background: rgba(255,255,255,.12); margin: 2em 0; }
.post-author { display: flex; gap: 22px; align-items: flex-start; margin-top: 60px !important; padding: 28px; border-radius: 16px; border: 1px solid rgba(110,140,255,.25); background: linear-gradient(135deg, rgba(30,40,150,.3), rgba(8,8,30,.6)); }
.post-author img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: top; margin: 0; background: #1a1f6b; flex-shrink: 0; }
.post-author p { font-size: 15px; line-height: 1.6; margin-bottom: 16px; }
.post-author__name { font-size: 18px !important; font-weight: 700; color: #fff; margin-bottom: 4px !important; }
.post-author .btn { padding: 14px 24px; font-size: 15px; border: 0; cursor: pointer; font-family: inherit; }
.news--related { background: #05051c; padding-top: 60px; }
.news--related .news__head h2 { font-size: 40px; }

@media (max-width: 1024px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post-layout { grid-template-columns: minmax(0, 760px); }
  .post-toc { position: static; }
}
@media (max-width: 767px) {
  .news { padding: 70px 16px 60px; }
  .news__head h2 { font-size: 38px; }
  .post-grid { grid-template-columns: 1fr; }
  .blog-hero, .post-hero { padding-top: 170px; }
  .blog-hero h1 { font-size: 46px; }
  .post-hero h1 { font-size: 32px; }
  .post-content { font-size: 17px; }
  .post-content h2 { font-size: 26px; }
  .post-author { flex-direction: column; }
}

/* Hero : apparition en CSS pur (sans attendre le JavaScript) pour un affichage plus rapide */
.hero .reveal { opacity: 1; transform: none; transition: none; animation: heroIn .9s cubic-bezier(.2,.65,.3,1) both; }
.hero .reveal-d1 { animation-delay: .1s; } .hero .reveal-d2 { animation-delay: .2s; } .hero .reveal-d3 { animation-delay: .3s; }
@keyframes heroIn { from { opacity: .01; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   CABINET DE RABAT : ouverture prochaine
   ========================================================================== */
.topbar--rabat { background: linear-gradient(90deg, #4a2bd8 0%, #3a6ff0 55%, #3fc8f5 100%); border-bottom: 0; }
.topbar--rabat span { display: inline-flex; align-items: center; gap: 16px; font-size: 11px; font-weight: 600; letter-spacing: .35em; text-transform: uppercase; }
.topbar--rabat span::before, .topbar--rabat span::after { content: ""; width: 22px; height: 1px; background: rgba(255,255,255,.8); }

.rb-hero { position: relative; overflow: hidden; background: #0a0a3a url("../img/rabat-coming.webp") 62% center / cover no-repeat; }
.rb-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,50,.92) 0%, rgba(10,10,60,.6) 45%, rgba(10,10,60,.05) 75%), linear-gradient(0deg, #07072e 0%, rgba(7,7,46,0) 30%); }
.rb-hero__grid { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; align-items: end; min-height: 960px; padding: 0 40px; }
.rb-hero__text { align-self: center; padding: 200px 0 120px; }
.rb-badge { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: #3fc8f5; }
.rb-badge i { position: relative; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #3fc8f5; }
.rb-badge i::before { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: #3fc8f5; }
.rb-badge i::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid #3fc8f5; animation: rbPing 2s ease-out infinite; }
@keyframes rbPing { from { transform: scale(1); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }
.rb-hero h1 { margin: 28px 0 0; font-size: 88px; font-weight: 800; line-height: .95; letter-spacing: -.5px; color: #fff; }
.rb-hero h1 span { display: block; font-size: 1.12em; background: linear-gradient(90deg, #5ad0ff 0%, #3aa8f5 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rb-hero__sub { margin-top: 12px; font-size: 44px; font-weight: 300; color: #fff; }
.rb-hero__desc { margin-top: 32px; max-width: 460px; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.82); }
.rb-cta { gap: 14px; margin-top: 40px; padding: 24px 34px; background: linear-gradient(90deg, #1515e6 0%, #2fb4f5 100%); box-shadow: 0 16px 40px rgba(40,120,255,.35); }
.rb-cta svg { width: 20px; height: 20px; transition: transform .3s; }
.rb-cta:hover svg { transform: translateX(4px); }
.rb-hero__visual { position: relative; align-self: end; height: 100%; min-height: 700px; }
.rb-hero__portrait { position: absolute; bottom: 90px; left: 50%; transform: translateX(-50%); width: 470px; -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 22%); mask-image: linear-gradient(0deg, transparent 0%, #000 22%); }
.rb-hero__sig { position: absolute; bottom: 70px; right: -30px; width: 460px; filter: drop-shadow(0 0 12px rgba(90,160,255,.6)); }

.rb-features { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1100px; margin: 0 auto; padding: 60px 20px 80px; }
.rb-feature { display: flex; gap: 22px; align-items: flex-start; padding: 10px 34px; }
.rb-feature + .rb-feature { border-left: 1px solid rgba(140,150,255,.18); }
.rb-feature__icon { flex-shrink: 0; width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; color: #3fc8f5; border: 1px solid rgba(90,120,255,.3); background: radial-gradient(circle, rgba(40,60,200,.35), rgba(10,10,50,.4)); box-shadow: 0 0 30px rgba(50,90,255,.18); }
.rb-feature__icon svg { width: 30px; height: 30px; }
.rb-feature:nth-child(2) .rb-feature__icon { color: #5a78ff; }
.rb-feature h2 { font-size: 19px; line-height: 1.3; color: #fff; }
.rb-feature p { margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--muted); }

.page-rabat main { background: linear-gradient(180deg, #07072e 0%, #05051f 60%, #000 100%); }
.rb-waitlist { padding: 20px 20px 100px; }
.rb-waitlist__card { max-width: 620px; margin: 0 auto; padding: 44px 40px; text-align: center; border-radius: 20px; border: 1px solid rgba(90,120,255,.28); background: linear-gradient(180deg, rgba(30,40,150,.3), rgba(8,8,30,.6)); }
.rb-waitlist h2 { font-size: 32px; color: #fff; }
.rb-waitlist__card > p { margin: 12px auto 30px; max-width: 460px; font-size: 16px; color: rgba(255,255,255,.65); }
.rb-waitlist .contact-form { text-align: left; }
.rb-waitlist .contact-form label { color: #c3c8ee; font-size: 15px; }
.rb-waitlist .contact-form button { background: linear-gradient(90deg, #1515e6 0%, #2fb4f5 100%); border-radius: 50px; padding: 14px 28px; }

@media (max-width: 1024px) {
  .rb-hero__grid { grid-template-columns: 1fr; min-height: 0; padding: 0 24px; }
  .rb-hero__text { padding: 170px 0 20px; }
  .rb-hero__visual { min-height: 560px; }
  .rb-hero__portrait { width: 400px; bottom: 60px; }
  .rb-hero__sig { right: 50%; transform: translateX(62%); width: 380px; bottom: 40px; }
  .rb-features { grid-template-columns: 1fr; gap: 28px; }
  .rb-feature + .rb-feature { border-left: 0; }
}
@media (max-width: 767px) {
  .rb-hero { background-image: url("../img/rabat-coming-900.webp"); background-position: 70% center; }
  .topbar--rabat span { letter-spacing: .2em; font-size: 10px; gap: 10px; }
  .rb-hero h1 { font-size: 54px; }
  .rb-hero__sub { font-size: 30px; }
  .rb-hero__desc { font-size: 16px; }
  .rb-cta { padding: 18px 26px; }
  .rb-hero__visual { min-height: 440px; }
  .rb-hero__portrait { width: 320px; }
  .rb-hero__sig { width: 300px; }
  .rb-feature { padding: 0; }
  .rb-waitlist__card { padding: 32px 20px; }
}
