/* =============================================================
   GLOBENCIA — Design system v3 « thème clair »
   Palette reprise du logo : navy #17356A · bleu #2274BE · cyan #3FBFD5
   Compatible LTR (français) et RTL (arabe) via propriétés logiques
   ============================================================= */

:root {
  /* ---- Couleurs de marque (logo) ---- */
  --navy-900: #0e2a52;
  --navy-800: #17356a;
  --navy-700: #1e4b8f;
  --blue-600: #2274be;
  --blue-500: #2e9ac9;
  --cyan-500: #3fbfd5;
  --cyan-400: #5ccbdf;
  --cyan-300: #7fd8e4;
  --cyan-100: #cdeef5;
  --cyan-50:  #eaf7fb;

  --grad-brand: linear-gradient(135deg, #45c7dc 0%, #2274be 60%, #17356a 100%);
  --grad-cyan:  linear-gradient(135deg, #5ccbdf 0%, #2489cc 100%);
  --grad-text:  linear-gradient(120deg, #2274be 0%, #3fbfd5 100%);

  /* ---- Texte & surfaces ---- */
  --ink:     #12233a;
  --text:    #4a5c6e;
  --muted:   #5e7285;   /* 4,9:1 sur blanc — lisible pour le texte secondaire */
  --line:    #e2ecf4;
  --line-2:  #eff5fa;
  --bg:      #ffffff;
  --bg-alt:  #f5fafd;
  --glass:   rgba(255, 255, 255, .72);

  --warn: #b7791f;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;

  --shadow-xs: 0 1px 2px rgba(23, 53, 106, .05);
  --shadow-sm: 0 2px 6px rgba(23, 53, 106, .05), 0 6px 16px rgba(23, 53, 106, .05);
  --shadow:    0 8px 24px rgba(23, 53, 106, .08), 0 20px 48px rgba(23, 53, 106, .07);
  --shadow-lg: 0 28px 70px rgba(23, 53, 106, .16);
  --shadow-brand: 0 10px 26px rgba(34, 116, 190, .28);

  --container: 1240px;
  --header-h: 78px;

  --font: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-ar: 'Cairo', 'Segoe UI', system-ui, sans-serif;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Voiles posés sur les images de fond */
  --ovl-light: linear-gradient(180deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .40) 100%);
  --ovl-soft:  linear-gradient(180deg, rgba(245, 250, 253, .82) 0%, rgba(245, 250, 253, .66) 100%);
  --ovl-dark:  linear-gradient(140deg, rgba(14, 42, 82, .90) 0%, rgba(23, 53, 106, .80) 45%, rgba(34, 116, 190, .72) 100%);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.72;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.95; }

img, video { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; }

h1, h2, h3, h4 {
  color: var(--navy-800);
  line-height: 1.16;
  margin: 0 0 .6em;
  font-weight: 800;
  letter-spacing: -.025em;
}
html[lang="ar"] h1, html[lang="ar"] h2,
html[lang="ar"] h3, html[lang="ar"] h4 { letter-spacing: 0; line-height: 1.5; }

h1 { font-size: clamp(2.15rem, 5.4vw, 3.7rem); }
h2 { font-size: clamp(1.62rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-inline-start: 1.2em; }
li { margin-bottom: .45em; }

a { color: var(--blue-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--navy-800); }

.grad-text {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  color: transparent; font-style: normal;
}

::selection { background: var(--cyan-500); color: #fff; }
:focus-visible { outline: 3px solid var(--cyan-500); outline-offset: 3px; border-radius: 4px; }

/* ------------------------------ LAYOUT ----------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(60px, 8.5vw, 116px); }

.section--alt {
  background-color: var(--bg-alt);
  background-image: var(--ovl-soft), url('../img/bg-soft-1280.jpg');
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.section--quote {
  background-color: var(--bg-alt);
  background-image: var(--ovl-soft), url('../img/bg-quote-1280.jpg');
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
@media (min-width: 800px) {
  .section--alt   { background-image: var(--ovl-soft), url('../img/bg-soft-1920.jpg'); }
  .section--quote { background-image: var(--ovl-soft), url('../img/bg-quote-1920.jpg'); }
}

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 46px; align-items: start; }

.skip-link {
  position: absolute; inset-inline-start: -9999px; top: 0; z-index: 999;
  background: var(--navy-800); color: #fff; padding: 12px 20px;
}
.skip-link:focus { inset-inline-start: 0; color: #fff; }

/* =============================================================
   HEADER — barre blanche translucide, fixe
   ============================================================= */
.header {
  position: fixed; top: 0; inset-inline: 0; z-index: 120;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(226, 236, 244, .8);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.header.is-stuck {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 4px 24px rgba(23, 53, 106, .09);
  border-color: transparent;
}
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 16px;
  max-width: var(--container); margin-inline: auto; padding-inline: 24px;
}

/* --- Marque --- */
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; min-width: 0; }
.brand__logo { height: 46px; width: auto; object-fit: contain; }
.brand__logo--mark { display: none; }
.brand__mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand__txt { display: flex; flex-direction: column; min-width: 0; }
.brand__name {
  font-size: clamp(1.15rem, 3.6vw, 1.5rem); font-weight: 800; line-height: 1;
  letter-spacing: .04em; color: var(--navy-800); white-space: nowrap;
}
.brand__name em { font-style: normal; color: var(--cyan-500); }
.brand__slogan {
  font-size: .52rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-top: 5px; white-space: nowrap; font-weight: 700;
}
html[lang="ar"] .brand__name { letter-spacing: 0; }
html[lang="ar"] .brand__slogan { letter-spacing: .04em; font-size: .6rem; }

/* --- Navigation --- */
.nav { margin-inline-start: auto; display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative; padding: 9px 12px; border-radius: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text); white-space: nowrap; transition: color .2s var(--ease), background .2s var(--ease);
}
html[lang="ar"] .nav__link { letter-spacing: 0; font-size: .9rem; text-transform: none; }
.nav__link::after {
  content: ''; position: absolute; inset-inline: 12px; bottom: 3px; height: 2px;
  background: var(--grad-cyan); border-radius: 2px;
  transform: scaleX(0); transform-origin: var(--o, left); transition: transform .3s var(--ease-out);
}
html[dir="rtl"] .nav__link::after { --o: right; }
.nav__link:hover { color: var(--navy-800); background: var(--cyan-50); }
.nav__link.is-active { color: var(--blue-600); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav .nav__cta { display: none; }

/* --- Actions à droite --- */
.actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.lang {
  display: inline-flex; padding: 3px; gap: 2px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.lang a {
  padding: 5px 10px; border-radius: 7px; font-size: .7rem; font-weight: 800;
  letter-spacing: .06em; color: var(--muted); line-height: 1.4;
}
.lang a:hover { color: var(--navy-800); }
.lang a.is-active { background: var(--grad-cyan); color: #fff; box-shadow: var(--shadow-xs); }

.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  border: 1px solid var(--line); background: #fff; color: var(--navy-800);
  cursor: pointer; transition: .25s var(--ease);
}
.icon-btn:hover { border-color: var(--cyan-400); color: var(--blue-600); box-shadow: var(--shadow-xs); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn__count {
  position: absolute; top: -6px; inset-inline-end: -6px;
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--grad-cyan); color: #fff; font-size: .66rem; font-weight: 900;
  display: none; align-items: center; justify-content: center; line-height: 1;
  box-shadow: 0 2px 6px rgba(34, 116, 190, .4);
}
.icon-btn__count.is-visible { display: flex; }

.header .btn--cta {
  padding: 11px 22px; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase;
}
html[lang="ar"] .header .btn--cta { letter-spacing: 0; text-transform: none; font-size: .86rem; }

.burger { display: none; flex-direction: column; gap: 4px; }
.burger span { display: block; width: 17px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: .3s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0; z-index: 110; background: rgba(14, 42, 82, .35);
  backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: .3s var(--ease);
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

/* =============================================================
   BOUTONS
   ============================================================= */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 28px; border-radius: 999px; border: 1px solid transparent;
  font-family: inherit; font-size: .95rem; font-weight: 700; cursor: pointer;
  text-align: center; line-height: 1.25; transition: .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn::before {
  content: ''; position: absolute; top: 0; inset-inline-start: -120%;
  width: 55%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .32), transparent);
  transition: inset-inline-start .6s var(--ease);
}
.btn:hover::before { inset-inline-start: 130%; }

.btn--cta, .btn--primary { background: var(--grad-cyan); color: #fff; box-shadow: var(--shadow-brand); }
.btn--cta:hover, .btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(34, 116, 190, .38); }
.btn--dark { background: var(--navy-800); color: #fff; }
.btn--dark:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: #fff; color: var(--navy-800); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--cyan-400); color: var(--blue-600); background: var(--cyan-50); }
.btn--light { background: #fff; color: var(--navy-800); }
.btn--light:hover { color: var(--navy-800); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .42); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .18); color: #fff; transform: translateY(-2px); }
.btn--wa { background: linear-gradient(135deg, #34d16f, #17a94e); color: #fff; box-shadow: 0 10px 26px rgba(37, 190, 100, .28); }
.btn--wa:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(37, 190, 100, .38); }
.btn--sm { padding: 11px 19px; font-size: .86rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.btn--card {
  padding: 11px 14px; font-size: .83rem; gap: 7px;
  white-space: nowrap; min-width: 0; overflow: hidden;
}
.btn--card svg { width: 16px; height: 16px; }
.btn--card span { overflow: hidden; text-overflow: ellipsis; }

.btn--icon { width: 44px; height: 44px; padding: 0; flex-shrink: 0; border-radius: 14px; }
.btn--icon svg { width: 18px; height: 18px; }
.btn--icon::before { display: none; }

html[dir="rtl"] .i-arrow { transform: scaleX(-1); }

/* =============================================================
   TYPOGRAPHIE UTILITAIRE
   ============================================================= */
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 15px;
}
html[lang="ar"] .kicker { letter-spacing: 0; font-size: .86rem; text-transform: none; }
.kicker::before { content: ''; width: 26px; height: 2px; background: var(--grad-cyan); border-radius: 2px; }

.lead { font-size: clamp(1.05rem, 1.9vw, 1.22rem); color: var(--text); }
.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.text-muted { color: var(--muted); font-size: .93rem; }

/* =============================================================
   HERO — clair
   ============================================================= */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background-color: #fff;
  padding-top: calc(var(--header-h) + clamp(46px, 7vw, 92px));
  padding-bottom: clamp(64px, 9vw, 112px);
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -3;
  background-image: var(--ovl-light), url('../img/bg-hero-1280.jpg');
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.page-head::before, .cta-band::before, .split__panel::before {
  content: ''; position: absolute; inset: 0; z-index: -3;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.page-head::before   { background-image: var(--ovl-light), url('../img/bg-page-1280.jpg'); }
.cta-band::before    { background-image: var(--ovl-dark), url('../img/bg-cta-1280.jpg'); }
.split__panel::before{ background-image: var(--ovl-dark), url('../img/bg-panel-1280.jpg'); }

@media (min-width: 800px) {
  .hero::before        { background-image: var(--ovl-light), url('../img/bg-hero-1920.jpg'); }
  .page-head::before   { background-image: var(--ovl-light), url('../img/bg-page-1920.jpg'); }
  .cta-band::before    { background-image: var(--ovl-dark), url('../img/bg-cta-1920.jpg'); }
  .split__panel::before{ background-image: var(--ovl-dark), url('../img/bg-panel-1920.jpg'); }
}
.hero--photo::before { background-image: var(--ovl-light), var(--hero-img) !important; }

.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); z-index: -2; pointer-events: none; }
.hero__glow--1 {
  width: 540px; height: 540px; top: -180px; inset-inline-end: -130px;
  background: radial-gradient(circle, rgba(63, 191, 213, .40), transparent 68%);
  animation: float1 20s ease-in-out infinite;
}
.hero__glow--2 {
  width: 440px; height: 440px; bottom: -170px; inset-inline-start: -120px;
  background: radial-gradient(circle, rgba(34, 116, 190, .26), transparent 68%);
  animation: float2 24s ease-in-out infinite;
}
@keyframes float1 { 0%, 100% { transform: none; } 50% { transform: translate3d(-40px, 46px, 0) scale(1.12); } }
@keyframes float2 { 0%, 100% { transform: none; } 50% { transform: translate3d(50px, -40px, 0) scale(1.14); } }

/* Grand écran : titre + texte + badges à gauche, orbite à droite.
   Mobile : titre → orbite → texte → badges (l'orbite passe sous le titre). */
.hero__inner {
  position: relative; z-index: 2; display: grid;
  grid-template-columns: 1.1fr .9fr; column-gap: 56px; row-gap: 0;
  align-items: center;
}
.hero__head   { grid-column: 1; grid-row: 1; }
.hero__copy   { grid-column: 1; grid-row: 2; }
.hero__badges { grid-column: 1; grid-row: 3; align-self: start; margin-top: 30px; }
.hero__visual { grid-column: 2; grid-row: 1 / span 3; align-self: center; justify-self: center; }
.hero h1 { margin-bottom: .32em; }
.hero h1 em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(1.1rem, 2.2vw, 1.42rem); color: var(--blue-600); font-weight: 700; margin-bottom: .8em; }
.hero__text { max-width: 620px; margin-bottom: 32px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 9px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: .78rem; font-weight: 700; color: var(--navy-800);
  background: rgba(255, 255, 255, .8); transition: .25s var(--ease);
}
.hero__badge:hover { border-color: var(--cyan-400); box-shadow: var(--shadow-xs); transform: translateY(-2px); }
.hero__badge svg { width: 14px; height: 14px; color: var(--cyan-500); flex-shrink: 0; }

/* Entrée animée du contenu du hero */
.hero__head > *, .hero__copy > *, .hero__badges { animation: heroIn .8s var(--ease-out) both; }
.hero__head > *:nth-child(1) { animation-delay: .05s; }
.hero__head > *:nth-child(2) { animation-delay: .13s; }
.hero__copy > *:nth-child(1) { animation-delay: .21s; }
.hero__copy > *:nth-child(2) { animation-delay: .29s; }
.hero__copy > *:nth-child(3) { animation-delay: .37s; }
.hero__badges { animation-delay: .5s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } }

.hero__visual { position: relative; }

/* =============================================================
   CARROUSEL ORBITAL — logo au centre, chiffres clés en orbite
   ============================================================= */
.orbit {
  --orbit-size: clamp(270px, 34vw, 400px);
  --orbit-dot: clamp(70px, 9.2vw, 92px);
  --orbit-r: calc(var(--orbit-size) / 2 - var(--orbit-dot) / 2);
  --orbit-speed: 42s;
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px;
}

.orbit__stage {
  position: relative; width: var(--orbit-size); height: var(--orbit-size);
  animation: orbitIn 1s var(--ease-out) both .15s;
}
@keyframes orbitIn { from { opacity: 0; transform: scale(.9); } }

.orbit__glow {
  position: absolute; inset: 8%; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, rgba(63, 191, 213, .22), rgba(34, 116, 190, .10) 55%, transparent 72%);
  filter: blur(14px); animation: orbitPulse 6s ease-in-out infinite;
}
@keyframes orbitPulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.07); opacity: 1; } }

.orbit__ring { position: absolute; border-radius: 50%; z-index: 1; }
.orbit__ring--1 {
  inset: 0; border: 1px dashed rgba(34, 116, 190, .26);
  animation: orbitSpin 56s linear infinite;
}
.orbit__ring--2 {
  inset: 13%; border: 1px solid rgba(63, 191, 213, .22);
}
.orbit__ring--3 {
  inset: 26%; border: 1px dashed rgba(23, 53, 106, .14);
  animation: orbitSpin 40s linear infinite reverse;
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }

/* La piste tourne ; chaque puce tourne en sens inverse pour rester droite */
.orbit__track { position: absolute; inset: 0; z-index: 3; animation: orbitSpin var(--orbit-speed) linear infinite; }
.orbit__item {
  position: absolute; top: 50%; left: 50%; width: 0; height: 0;
  transform: rotate(var(--a)) translate(var(--orbit-r));
}
.orbit__counter { animation: orbitSpin var(--orbit-speed) linear infinite reverse; }
.orbit__fix { transform: rotate(calc(-1 * var(--a))); }

.orbit__dot {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: var(--orbit-dot); height: var(--orbit-dot);
  display: flex; align-items: center; justify-content: center; padding: 0 7px;
  border-radius: 50%; border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow-sm); cursor: pointer; font-family: inherit;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out),
              border-color .3s var(--ease), background .45s var(--ease-out);
  animation: orbitPop .7s var(--ease-out) both;
  animation-delay: calc(var(--i) * .16s + .45s);
}
@keyframes orbitPop { from { opacity: 0; transform: translate(-50%, -50%) scale(.3); } }

.orbit__val {
  font-size: clamp(.72rem, 1.05vw, .9rem); font-weight: 800; letter-spacing: -.01em;
  line-height: 1.15; color: var(--blue-600); text-align: center;
  transition: color .35s var(--ease); hyphens: none;
}
html[lang="ar"] .orbit__val { font-size: clamp(.8rem, 1.15vw, 1rem); letter-spacing: 0; }
.orbit__dot:hover { border-color: var(--cyan-400); box-shadow: var(--shadow); }
.orbit__dot.is-active {
  background: var(--grad-cyan); border-color: transparent;
  box-shadow: 0 10px 26px rgba(34, 116, 190, .38);
  transform: translate(-50%, -50%) scale(1.16);
}
.orbit__dot.is-active .orbit__val { color: #fff; }

/* Cœur : le logo */
.orbit__core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 4;
  width: 46%; height: 46%; border-radius: 50%; background: #fff;
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  animation: orbitFloat 7s ease-in-out infinite;
}
@keyframes orbitFloat { 0%, 100% { transform: translate(-50%, -50%) translateY(0); } 50% { transform: translate(-50%, -50%) translateY(-8px); } }
.orbit__logo { width: 62%; height: auto; object-fit: contain; }
.orbit__logo--svg svg { width: 100%; height: auto; }

/* Légende qui défile sous le cercle */
.orbit__caption {
  margin: 0; text-align: center; min-height: 3.4em;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.orbit__caption-val {
  font-size: 1.7rem; font-weight: 900; line-height: 1.1; letter-spacing: -.03em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.orbit__caption-lab { font-size: .93rem; color: var(--text); font-weight: 600; }
.orbit__caption.is-swapping .orbit__caption-val,
.orbit__caption.is-swapping .orbit__caption-lab { opacity: 0; transform: translateY(6px); }
.orbit__caption-val, .orbit__caption-lab { transition: opacity .28s var(--ease), transform .28s var(--ease); }

/* Liste équivalente pour les lecteurs d'écran */
.orbit__sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .orbit__track, .orbit__counter, .orbit__ring, .orbit__glow, .orbit__core { animation: none !important; }
}

/* Bandeau défilant */
.marquee {
  overflow: hidden; background: #fff; border-block: 1px solid var(--line); padding-block: 15px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; gap: 44px; width: max-content; animation: slide 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
}
html[lang="ar"] .marquee__item { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.marquee__item svg { width: 15px; height: 15px; color: var(--cyan-500); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
html[dir="rtl"] .marquee__track { animation-name: slideRtl; }
@keyframes slideRtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* =============================================================
   EN-TÊTE DE PAGE — clair
   ============================================================= */
.page-head {
  position: relative; overflow: hidden; isolation: isolate; background-color: #fff;
  padding-top: calc(var(--header-h) + clamp(30px, 4.5vw, 58px));
  padding-bottom: clamp(42px, 6vw, 78px);
  border-bottom: 1px solid var(--line-2);
}
.page-head .lead { max-width: 800px; }
.page-head--slim { padding-bottom: 20px; }

/* =============================================================
   CARTES
   ============================================================= */
.card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: .38s var(--ease-out); height: 100%;
}
.card::after {
  content: ''; position: absolute; inset-inline: 0; top: 0; height: 3px;
  background: var(--grad-cyan); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease-out);
}
html[dir="rtl"] .card::after { transform-origin: right; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d2e4f1; }
.card:hover::after { transform: scaleX(1); }
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }

.icon-box {
  width: 56px; height: 56px; border-radius: 17px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--cyan-50), #d8eef8);
  color: var(--blue-600); transition: .42s var(--ease-out);
}
.icon-box svg { width: 26px; height: 26px; }
.card:hover .icon-box { transform: scale(1.08) rotate(-5deg); background: var(--grad-cyan); color: #fff; }

.num-card__num {
  font-size: 2.7rem; font-weight: 900; line-height: 1; margin-bottom: 12px; letter-spacing: -.04em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .5; transition: opacity .3s var(--ease);
}
.card:hover .num-card__num { opacity: 1; }

/* Cartes à bandeau illustré */
.card.card--media { padding: 0; display: flex; flex-direction: column; }
.card__media {
  height: 156px; flex-shrink: 0; position: relative; overflow: hidden;
  background-color: var(--cyan-50); background-size: cover; background-position: center;
}
.card__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(255, 255, 255, .94) 100%);
}
.card--media .card__body { padding: 0 26px 28px; position: relative; }
.card--media .icon-box { margin-top: -36px; position: relative; z-index: 2; box-shadow: var(--shadow-sm); background: #fff; }
@media (max-width: 620px) { .card--media .card__body { padding: 0 22px 24px; } }

.cm--1 { background-image: url('../img/card-1-600.jpg'); }
.cm--2 { background-image: url('../img/card-2-600.jpg'); }
.cm--3 { background-image: url('../img/card-3-600.jpg'); }
.cm--4 { background-image: url('../img/card-4-600.jpg'); }
.cm--5 { background-image: url('../img/card-5-600.jpg'); }
.cm--6 { background-image: url('../img/card-6-600.jpg'); }
.cm--7 { background-image: url('../img/card-7-600.jpg'); }
.cm--8 { background-image: url('../img/card-8-600.jpg'); }
@media (min-width: 700px), (min-resolution: 2dppx) {
  .cm--1 { background-image: url('../img/card-1-1200.jpg'); }
  .cm--2 { background-image: url('../img/card-2-1200.jpg'); }
  .cm--3 { background-image: url('../img/card-3-1200.jpg'); }
  .cm--4 { background-image: url('../img/card-4-1200.jpg'); }
  .cm--5 { background-image: url('../img/card-5-1200.jpg'); }
  .cm--6 { background-image: url('../img/card-6-1200.jpg'); }
  .cm--7 { background-image: url('../img/card-7-1200.jpg'); }
  .cm--8 { background-image: url('../img/card-8-1200.jpg'); }
}

/* =============================================================
   SPLIT / PANNEAUX
   ============================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 66px); align-items: center; }
.split__panel {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); padding: 38px;
  background-color: var(--navy-800); color: rgba(255, 255, 255, .84);
  box-shadow: var(--shadow);
}
.split__panel h3 { color: #fff; }
.panel-list { list-style: none; padding: 0; margin: 0; }
.panel-list li { display: flex; gap: 13px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); margin: 0; }
.panel-list li:last-child { border-bottom: 0; }
.panel-list svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--cyan-300); margin-top: 4px; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.check-list svg { width: 20px; height: 20px; color: var(--cyan-500); flex-shrink: 0; margin-top: 4px; }

/* =============================================================
   ÉTAPES
   ============================================================= */
.steps { display: grid; }
.step { display: grid; grid-template-columns: 76px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step__num {
  font-size: 1.4rem; font-weight: 900; color: var(--blue-600);
  border-radius: 18px; width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--cyan-50), #d8eef8);
  transition: .38s var(--ease-out);
}
.step:hover .step__num { background: var(--grad-cyan); color: #fff; transform: scale(1.06); }
.step h3 { margin-bottom: .3em; }
.step p { margin: 0; }

/* =============================================================
   TÉMOIGNAGES
   ============================================================= */
.testimonial {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; height: 100%; transition: .38s var(--ease-out);
}
.testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d2e4f1; }
.testimonial__quote { width: 34px; height: 34px; color: var(--cyan-400); opacity: .65; margin-bottom: 14px; }
.testimonial__text { font-size: 1.02rem; color: var(--text); flex: 1; }
.testimonial__stars { display: flex; gap: 3px; color: #f5b942; margin-bottom: 16px; }
.testimonial__stars svg { width: 16px; height: 16px; }
.testimonial__who { display: flex; align-items: center; gap: 13px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.testimonial__avatar {
  width: 46px; height: 46px; border-radius: 999px; flex-shrink: 0;
  background: var(--grad-cyan); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1rem;
}
.testimonial__name { font-weight: 800; color: var(--navy-800); font-size: .95rem; line-height: 1.3; }
.testimonial__role { font-size: .84rem; color: var(--muted); }

/* =============================================================
   PRODUITS
   ============================================================= */
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.filter {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--text); font-family: inherit; font-size: .86rem;
  font-weight: 700; cursor: pointer; transition: .25s var(--ease); white-space: nowrap;
}
.filter:hover { border-color: var(--cyan-400); color: var(--blue-600); }
.filter.is-active { background: var(--grad-cyan); border-color: transparent; color: #fff; box-shadow: var(--shadow-brand); }

.search-box { position: relative; max-width: 430px; margin-bottom: 22px; }
.search-box input {
  width: 100%; padding: 14px 18px; padding-inline-start: 48px;
  border: 1px solid var(--line); border-radius: 999px; font-family: inherit; font-size: .95rem;
  color: var(--ink); background: #fff;
}
.search-box input:focus { outline: none; border-color: var(--cyan-400); box-shadow: 0 0 0 4px rgba(63, 191, 213, .18); }
.search-box > svg {
  position: absolute; inset-inline-start: 18px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--muted); pointer-events: none;
}

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }

.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: .38s var(--ease-out);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d2e4f1; }
.product-card__media {
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  background-color: #f2f9fd; background-size: cover; background-position: center;
  color: var(--blue-600); position: relative; overflow: hidden;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__media svg {
  width: 38%; max-width: 112px; height: auto;
  transition: transform .5s var(--ease-out);
  filter: drop-shadow(0 8px 16px rgba(23, 53, 106, .16));
}
.product-card:hover .product-card__media svg { transform: scale(1.12) translateY(-4px); }
.product-card__tag {
  position: absolute; top: 12px; inset-inline-start: 12px;
  background: rgba(255, 255, 255, .96); color: var(--navy-800);
  font-size: .68rem; font-weight: 800; padding: 5px 11px; border-radius: 999px;
  letter-spacing: .05em; text-transform: uppercase; box-shadow: var(--shadow-xs);
}
html[lang="ar"] .product-card__tag { text-transform: none; letter-spacing: 0; font-size: .73rem; }
.product-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.product-card__ref { font-size: .72rem; color: var(--muted); font-weight: 700; letter-spacing: .07em; }
.product-card__title { font-size: 1.04rem; font-weight: 800; color: var(--navy-800); line-height: 1.35; margin: 0; }
.product-card__title a { color: inherit; }
.product-card__title a:hover { color: var(--blue-600); }
.product-card__desc { font-size: .89rem; color: var(--muted); margin: 0; flex: 1; }
.product-card__price { font-size: 1.2rem; font-weight: 900; color: var(--navy-800); margin-top: 4px; }
.product-card__price small { font-size: .76rem; font-weight: 700; color: var(--muted); }
.product-card__price--req { font-size: .96rem; color: var(--blue-600); }
.product-card__actions { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; margin-top: 12px; align-items: center; }

.pm--rapid   { background-image: url('../img/cat-rapid-800.jpg'); }
.pm--ivd     { background-image: url('../img/cat-ivd-800.jpg'); }
.pm--devices { background-image: url('../img/cat-devices-800.jpg'); }
.pm--consum  { background-image: url('../img/cat-consum-800.jpg'); }
.pm--paramed { background-image: url('../img/cat-paramed-800.jpg'); }
.pm--baby    { background-image: url('../img/cat-baby-800.jpg'); }
.pm--hygiene { background-image: url('../img/cat-hygiene-800.jpg'); }

/* Fiche produit */
.product-hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.product-hero__media {
  border-radius: var(--radius-lg); aspect-ratio: 1 / 1;
  background-color: #f2f9fd; background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; color: var(--blue-600);
  border: 1px solid var(--line); position: relative; overflow: hidden; box-shadow: var(--shadow-sm);
}
.product-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.product-hero__media::after {
  content: ''; position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%;
  border: 1px dashed rgba(34, 116, 190, .22); animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.product-hero__media svg {
  width: 44%; max-width: 210px; height: auto; position: relative; z-index: 1;
  filter: drop-shadow(0 14px 26px rgba(23, 53, 106, .18));
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.product-hero__media.has-photo::after { display: none; }

/* Les visuels de catégorie ne servent plus que de repli, pour un produit
   sans photo : la version 800 px suffit (affichée sur 380 px au maximum).
   Les variantes 1600 et 4K ont été retirées — elles restaient invisibles
   derrière les photos et pesaient 6,8 Mo dans le site publié. */

.product-price-box {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  background: var(--bg-alt); margin-block: 22px;
}
.product-price-box__price { font-size: 2rem; font-weight: 900; color: var(--navy-800); line-height: 1.1; }
.product-price-box__price small { font-size: .9rem; color: var(--muted); font-weight: 700; }

.product-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 18px; }
.product-actions .btn { flex: 1 1 auto; min-width: 170px; white-space: nowrap; padding-inline: 18px; }
@media (max-width: 560px) {
  .product-actions .qty { width: 100%; justify-content: space-between; }
  .product-actions .btn { flex: 1 1 100%; }
}

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.qty button { width: 42px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 1.2rem; color: var(--navy-800); font-family: inherit; }
.qty button:hover { background: var(--cyan-50); }
.qty input {
  width: 52px; height: 44px; border: 0; text-align: center; font-family: inherit;
  font-size: 1rem; font-weight: 700; color: var(--ink); background: none; -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.spec-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.spec-table th, .spec-table td { padding: 13px 4px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.spec-table th { font-weight: 700; color: var(--navy-800); width: 45%; }

.info-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.info-block + .info-block { margin-top: 18px; }
.info-block h3 { font-size: 1.06rem; }

.notice {
  border-inline-start: 4px solid var(--cyan-500); background: var(--cyan-50);
  padding: 18px 22px; border-radius: var(--radius-sm); font-size: .91rem; color: var(--navy-800);
}
.notice--warn { border-color: var(--warn); background: #fdf7e9; color: #6b5518; }

/* =============================================================
   PANIER
   ============================================================= */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 32px; align-items: start; }
.cart-list { display: grid; gap: 14px; }
.cart-item {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: #fff;
}
.cart-item__media {
  width: 76px; height: 76px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--cyan-50), #dceef8); color: var(--blue-600); flex-shrink: 0;
}
.cart-item__media svg { width: 38px; height: 38px; }
.cart-item__name { font-weight: 800; color: var(--navy-800); font-size: .97rem; line-height: 1.35; }
.cart-item__ref { font-size: .75rem; color: var(--muted); }
.cart-item__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.cart-item__price { font-weight: 900; color: var(--navy-800); white-space: nowrap; }
.cart-item__remove { border: 0; background: none; color: var(--muted); cursor: pointer; font-family: inherit; font-size: .82rem; text-decoration: underline; padding: 0; }
.cart-item__remove:hover { color: #c0392b; }

.summary {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  background: var(--bg-alt); position: sticky; top: calc(var(--header-h) + 20px);
}
.summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: .95rem; }
.summary__row--total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-size: 1.2rem; font-weight: 900; color: var(--navy-800); }

/* =============================================================
   FORMULAIRES
   ============================================================= */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { font-size: .86rem; font-weight: 700; color: var(--navy-800); }
.field label .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; max-width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; color: var(--ink); background: #fff; transition: .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan-400); box-shadow: 0 0 0 4px rgba(63, 191, 213, .18);
}
.field [aria-invalid="true"] { border-color: #e0a3a3; background: #fffafa; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e7285' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 18px; background-position: right 15px center; padding-inline-end: 42px;
}
html[dir="rtl"] .field select { background-position: left 15px center; padding-inline-end: 16px; padding-inline-start: 42px; }
.checkbox { display: flex; gap: 11px; align-items: flex-start; font-size: .88rem; color: var(--text); }
.checkbox input { width: 19px; height: 19px; margin-top: 3px; flex-shrink: 0; accent-color: var(--blue-600); }
.form-note { font-size: .84rem; color: var(--muted); }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-sm);
}

/* =============================================================
   CONTACT / FAQ / CTA
   ============================================================= */
.contact-card { display: flex; gap: 16px; align-items: flex-start; }
.contact-card .icon-box { margin-bottom: 0; width: 48px; height: 48px; border-radius: 15px; flex-shrink: 0; }
.contact-card .icon-box svg { width: 21px; height: 21px; }
.contact-card h3 { font-size: 1rem; margin-bottom: .25em; }
.contact-card p { margin: 0; font-size: .94rem; word-break: break-word; }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; padding: 22px 0; font-weight: 800; color: var(--navy-800);
  font-size: 1.03rem; list-style: none; display: flex; gap: 16px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; margin-inline-start: auto; font-size: 1.5rem; font-weight: 400;
  color: var(--cyan-500); transition: transform .3s var(--ease); line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-item__body { padding-bottom: 22px; color: var(--text); animation: fadeIn .35s var(--ease-out); }
.faq-item__body p:last-child { margin: 0; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } }

.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 68px);
  background-color: var(--navy-800); color: rgba(255, 255, 255, .84); text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255, 255, 255, .84); }
.cta-band .btn-row { justify-content: center; }

/* =============================================================
   FOOTER
   ============================================================= */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .64); padding-top: 70px; font-size: .92rem; }
.footer a { color: rgba(255, 255, 255, .64); }
.footer a:hover { color: var(--cyan-300); }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 38px; padding-bottom: 46px; }
.footer h4 { color: #fff; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
html[lang="ar"] .footer h4 { letter-spacing: 0; font-size: .95rem; text-transform: none; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer .brand__name { color: #fff; font-size: 1.35rem; }
.footer .brand__name em { color: var(--cyan-300); }
.footer .brand__mark { width: 44px; height: 44px; object-fit: contain; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 24px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; font-size: .84rem;
}
.footer__notice { font-size: .81rem; color: rgba(255, 255, 255, .42); padding-bottom: 22px; max-width: 900px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  width: 38px; height: 38px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18);
  display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .72);
  transition: .25s var(--ease);
}
.social a:hover { background: var(--grad-cyan); border-color: transparent; color: #fff; transform: translateY(-3px); }
.social svg { width: 17px; height: 17px; }

/* =============================================================
   FLOTTANTS
   ============================================================= */
.wa-float {
  position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 95;
  width: 56px; height: 56px; border-radius: 999px;
  background: linear-gradient(135deg, #34d16f, #17a94e); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(23, 169, 78, .38); transition: .25s var(--ease);
}
.wa-float::after {
  content: ''; position: absolute; inset: 0; border-radius: 999px;
  border: 2px solid rgba(23, 169, 78, .5); animation: ring 2.6s ease-out infinite;
}
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

.toast {
  position: fixed; inset-inline-end: 20px; bottom: 92px; z-index: 200;
  background: var(--navy-800); color: #fff; padding: 14px 20px; border-radius: 14px;
  box-shadow: var(--shadow-lg); font-size: .91rem; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
  transform: translateY(20px); opacity: 0; pointer-events: none; transition: .3s var(--ease);
  max-width: min(330px, calc(100vw - 40px));
}
.toast.is-visible { transform: translateY(0); opacity: 1; }
.toast svg { width: 20px; height: 20px; color: var(--cyan-300); flex-shrink: 0; }

/* =============================================================
   FIL D'ARIANE / PROSE
   ============================================================= */
.breadcrumb { font-size: .82rem; padding-block: 14px; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.breadcrumb li { margin: 0; display: flex; gap: 8px; align-items: center; }
.breadcrumb li + li::before { content: '›'; opacity: .6; }
html[dir="rtl"] .breadcrumb li + li::before { content: '‹'; }
.page-head .breadcrumb { padding-top: 0; }

.prose { max-width: 800px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }

/* =============================================================
   ANIMATIONS AU DÉFILEMENT
   ============================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__head > *, .hero__copy > *, .hero__badges { opacity: 1; transform: none; }
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1440px) {
  .nav__link { padding: 9px 8px; font-size: .7rem; letter-spacing: .04em; }
  .brand__slogan { display: none; }
  .header .btn--cta { padding: 11px 16px; }
}

@media (max-width: 1080px) {
  /* Une seule colonne : titre → orbite → texte → badges */
  .hero__inner { grid-template-columns: 1fr; row-gap: 28px; justify-items: center; }
  .hero__head   { grid-column: 1; grid-row: 1; width: 100%; }
  .hero__visual { grid-column: 1; grid-row: 2; max-width: 520px; width: 100%; }
  .hero__copy   { grid-column: 1; grid-row: 3; width: 100%; }
  .hero__badges { grid-column: 1; grid-row: 4; justify-content: center; margin-top: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cart-layout, .grid-side { grid-template-columns: 1fr; }
  .summary { position: static; }
}

/* --- Menu mobile / tablette : tiroir latéral --- */
@media (max-width: 1180px) {
  .header__inner { gap: 10px; }
  .nav {
    position: fixed; top: 0; inset-inline-end: 0; z-index: 130;
    height: 100dvh; width: min(84vw, 340px);
    background: #fff; border-inline-start: 1px solid var(--line);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: calc(var(--header-h) + 16px) 22px 32px;
    overflow-y: auto; margin: 0;
    transform: translateX(100%); transition: transform .38s var(--ease-out);
    box-shadow: -20px 0 60px rgba(23, 53, 106, .18);
  }
  html[dir="rtl"] .nav { transform: translateX(-100%); box-shadow: 20px 0 60px rgba(23, 53, 106, .18); }
  .nav.is-open { transform: translateX(0); }
  .nav__link {
    padding: 15px 6px; border-bottom: 1px solid var(--line-2);
    border-radius: 0; font-size: .84rem; letter-spacing: .08em;
  }
  html[lang="ar"] .nav__link { font-size: 1rem; }
  .nav__link:hover { background: none; }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--blue-600); }
  .nav .nav__cta { display: flex; margin-top: 22px; }
  .actions .btn--cta { display: none; }
  .burger { display: flex; }
  .split, .product-hero { grid-template-columns: 1fr; }
  .product-hero__media { max-width: 380px; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  :root { --header-h: 66px; }
  .container, .header__inner { padding-inline: 16px; }
  .card, .testimonial, .info-block, .split__panel { padding: 24px; }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .btn-row .btn { width: 100%; }
  .btn-row .btn--icon { width: 44px; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
  .product-card__media { aspect-ratio: 16 / 9; }
  .product-card__media svg { width: 30%; max-width: 84px; }
  .product-card__body { padding: 18px; }
  .cart-item { grid-template-columns: 56px minmax(0, 1fr); }
  .cart-item__media { width: 56px; height: 56px; }
  .cart-item__media svg { width: 28px; height: 28px; }
  .cart-item > :last-child { grid-column: 1 / -1; }
  .orbit { --orbit-size: min(300px, 82vw); }
  .orbit__caption-val { font-size: 1.45rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .wa-float { width: 50px; height: 50px; inset-inline-end: 14px; bottom: 14px; }
  .wa-float svg { width: 25px; height: 25px; }
  .toast { inset-inline: 14px auto; bottom: 76px; max-width: calc(100vw - 28px); }
  .brand__logo { height: 36px; }
}

@media (max-width: 400px) {
  .header__inner { gap: 8px; padding-inline: 13px; }
  .brand { gap: 8px; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__logo--full { display: none; }
  .brand__logo--mark { display: block; height: 34px; }
  .brand__name { font-size: 1.02rem; letter-spacing: .02em; }
  .lang { padding: 2px; }
  .lang a { padding: 4px 7px; font-size: .62rem; letter-spacing: .02em; }
  .icon-btn { width: 34px; height: 34px; }
  .icon-btn svg { width: 16px; height: 16px; }
  .container { padding-inline: 13px; }
  .products-grid { grid-template-columns: 1fr; }
  .card, .testimonial, .info-block, .split__panel, .form-card { padding: 20px; }
}

@media print {
  .header, .footer, .wa-float, .toast, .btn, .nav-backdrop { display: none !important; }
  body { color: #000; font-size: 12pt; }
  .hero, .page-head { padding-top: 20px; }
}
