/* =========================================================
   IM Soins — Feuille de styles
   Palette : bleu royal + corail chaleureux
   ========================================================= */

:root {
  --c-primary: #2454d6;
  --c-primary-dark: #183fa8;
  --c-primary-darker: #102a6b;
  --c-primary-light: #e8eefc;
  --c-primary-soft: #f5f7ff;
  --c-accent: #f2785c;
  --c-accent-dark: #df5e42;
  --c-ink: #16254a;
  --c-body: #43536f;
  --c-muted: #71809b;
  --c-line: #e2e8f4;
  --c-white: #ffffff;

  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 14px rgba(22, 37, 74, 0.06);
  --shadow: 0 14px 40px rgba(22, 37, 74, 0.10);
  --shadow-lg: 0 24px 60px rgba(36, 84, 214, 0.20);

  --max: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Poppins", var(--font);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--c-body);
  background: var(--c-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--c-ink);
  line-height: 1.2;
  margin: 0;
  font-weight: 700;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { flex-shrink: 0; }

.btn--primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(36, 84, 214, 0.30);
}
.btn--primary:hover { background: var(--c-primary-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(36,84,214,.38); }

.btn--ghost {
  background: #fff;
  color: var(--c-primary-dark);
  border-color: var(--c-line);
}
.btn--ghost:hover { border-color: var(--c-primary); color: var(--c-primary); transform: translateY(-2px); }

.btn--white { background: #fff; color: var(--c-primary-dark); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn--block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--c-primary-darker);
  color: #d9e4ff;
  font-size: .85rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 9px 24px;
  flex-wrap: wrap;
}
.topbar__sep { opacity: .5; }
.topbar__link:hover { color: #fff; text-decoration: underline; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--c-ink);
  letter-spacing: -.02em;
}
.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--c-primary-light);
  color: var(--c-primary);
}
.brand__accent { color: var(--c-primary); }

.header__right { display: flex; align-items: center; gap: 14px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  font-weight: 500;
  font-size: .96rem;
  color: var(--c-body);
  padding: 9px 14px;
  border-radius: 999px;
  transition: color .15s ease, background .15s ease;
}
.nav__link:hover { color: var(--c-primary-dark); background: var(--c-primary-soft); }
.nav__link--cta {
  background: var(--c-primary);
  color: #fff;
  margin-left: 8px;
  box-shadow: 0 8px 18px rgba(36,84,214,.28);
}
.nav__link--cta:hover { background: var(--c-primary-dark); color: #fff; }

/* Burger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: var(--c-primary-soft);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, var(--c-primary-light), transparent 60%),
    linear-gradient(180deg, #fbfdfd, #fff);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
  padding: 72px 24px 84px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--c-primary-dark);
  border: 1px solid var(--c-line);
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .85rem;
  box-shadow: var(--shadow-sm);
}
.badge svg { color: var(--c-primary); }

.hero__title {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin: 20px 0 18px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.hl {
  color: var(--c-primary);
  background: linear-gradient(180deg, transparent 62%, rgba(242,120,92,.22) 62%);
}
.hero__text {
  font-size: 1.12rem;
  color: var(--c-body);
  max-width: 540px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  margin: 30px 0 22px;
  flex-wrap: wrap;
}
.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--c-muted);
  font-size: .95rem;
  font-weight: 500;
}
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); flex-shrink: 0; }

/* Hero visuel */
.hero__visual { position: relative; display: grid; place-items: center; }
.hero__blob {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 380px; height: 380px;
  background: radial-gradient(circle at 30% 30%, var(--c-primary), var(--c-primary-dark));
  border-radius: 42% 58% 63% 37% / 42% 45% 55% 58%;
  filter: blur(4px);
  opacity: .12;
  z-index: 0;
  animation: blob 14s ease-in-out infinite;
}
@keyframes blob {
  0%,100% { border-radius: 42% 58% 63% 37% / 42% 45% 55% 58%; }
  50% { border-radius: 60% 40% 38% 62% / 55% 58% 42% 45%; }
}
.hero__figure {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
}
.hero__img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}
.hero__floating {
  position: absolute;
  left: -18px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 12px 18px 12px 14px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.hero__floating-ic {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--c-primary-light);
  color: var(--c-primary);
  border-radius: 12px;
  flex-shrink: 0;
}
.hero__floating strong { display: block; font-family: var(--font-head); color: var(--c-ink); font-size: 1rem; }
.hero__floating span { font-size: .82rem; color: var(--c-muted); }

/* ---------- Bandeau confiance ---------- */
.trust { border-bottom: 1px solid var(--c-line); background: #fff; }
.trust__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 26px 24px;
}
.trust__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--c-ink);
  font-weight: 600;
  font-family: var(--font-head);
  font-size: .98rem;
  justify-content: center;
}
.trust__item svg { width: 28px; height: 28px; color: var(--c-primary); flex-shrink: 0; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--soft { background: var(--c-primary-soft); }
.section__head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--c-primary);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  margin-bottom: 12px;
}
.section__title { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.02em; }
.section__lead { color: var(--c-body); font-size: 1.08rem; margin-top: 14px; }

/* ---------- Cartes services ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: var(--c-primary-light);
  color: var(--c-primary);
  border-radius: 14px;
  margin-bottom: 16px;
}
.card__icon svg { width: 28px; height: 28px; }
.card__title { font-size: 1.12rem; margin-bottom: 8px; }
.card__text { font-size: .96rem; color: var(--c-body); }
.card__link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  color: var(--c-primary-dark);
  font-family: var(--font-head);
}
.card__link:hover { color: var(--c-accent-dark); }
.card--accent {
  background: linear-gradient(160deg, var(--c-primary), var(--c-primary-dark));
  border-color: transparent;
  color: #eef3ff;
}
.card--accent .card__title { color: #fff; }
.card--accent .card__text { color: #d9e4ff; }
.card--accent .card__icon { background: rgba(255,255,255,.15); color: #fff; }
.card--accent .card__link { color: #fff; }

/* ---------- À propos ---------- */
.about {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.about__media { position: relative; }
.about__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 6px solid #fff;
}
.about__tag {
  position: absolute;
  right: -14px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--c-ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.about__tag svg { color: var(--c-accent); }
.checklist { margin: 26px 0 30px; display: grid; gap: 14px; }
.checklist li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--c-ink);
  font-weight: 500;
}
.checklist svg {
  width: 24px; height: 24px;
  color: #fff;
  background: var(--c-primary);
  border-radius: 50%;
  padding: 4px;
}

/* ---------- Étapes ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
}
.step__num {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  box-shadow: 0 10px 22px rgba(36,84,214,.3);
}
.step__title { font-size: 1.18rem; margin-bottom: 8px; }
.step__text { font-size: .97rem; color: var(--c-body); }

/* ---------- Zone ---------- */
.zone {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.zone__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 26px;
}
.zone__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--c-ink);
}
.zone__list li::before {
  content: "";
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--c-primary-light);
  border: 4px solid var(--c-primary);
  flex-shrink: 0;
}
.zone__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--c-line);
  height: 380px;
}
.zone__map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Témoignages ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 28px 26px;
  margin: 0;
  box-shadow: var(--shadow-sm);
}
.testimonial__stars { color: #f5b301; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial blockquote { margin: 0 0 14px; font-size: 1.02rem; color: var(--c-ink); font-style: italic; }
.testimonial figcaption { color: var(--c-muted); font-weight: 600; font-size: .92rem; }
.testimonials__note { text-align: center; color: var(--c-muted); font-size: .85rem; margin-top: 22px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.accordion { display: grid; gap: 14px; }
.acc {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.acc summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--c-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--c-primary);
  transition: transform .2s ease;
  line-height: 1;
}
.acc[open] summary::after { transform: rotate(45deg); }
.acc__body { padding: 0 24px 20px; color: var(--c-body); }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact__list { display: grid; gap: 18px; margin-top: 28px; }
.contact__list li { display: flex; align-items: center; gap: 16px; }
.contact__ic {
  width: 48px; height: 48px;
  flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--c-primary-light);
  color: var(--c-primary);
  border-radius: 12px;
}
.contact__ic svg { width: 24px; height: 24px; }
.contact__list strong { display: block; font-family: var(--font-head); color: var(--c-ink); font-size: .95rem; }
.contact__list a:hover { color: var(--c-primary); }

.contact__form {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow);
}
.contact__form-title { font-size: 1.3rem; margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  color: var(--c-ink);
  margin-bottom: 7px;
  font-family: var(--font-head);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--c-ink);
  background: #fcfefe;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(36,84,214,.14);
}
.field textarea { resize: vertical; }
.form-note { margin-top: 14px; font-size: .85rem; color: var(--c-muted); text-align: center; }
.form-note.is-error { color: var(--c-accent-dark); font-weight: 600; }
.form-note.is-success { color: var(--c-primary-dark); font-weight: 600; }

/* ---------- CTA final ---------- */
.cta {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  color: #fff;
}
.cta__inner { text-align: center; padding: 70px 24px; }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta p { color: #d9e4ff; margin: 14px auto 28px; max-width: 540px; font-size: 1.08rem; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--c-primary-darker); color: #c7d5ff; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding: 60px 24px 40px;
}
.brand--footer { color: #fff; margin-bottom: 14px; }
.brand--footer .brand__mark { background: rgba(255,255,255,.12); color: #fff; }
.footer__brand p { color: #aebff0; max-width: 320px; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer__col a, .footer__col span { display: block; color: #c7d5ff; margin-bottom: 10px; transition: color .15s ease; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-size: .85rem;
  color: #9fb3ed;
  flex-wrap: wrap;
}

/* ---------- FAB WhatsApp ---------- */
.fab {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 60;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(37,211,102,.45);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: pulse 2.6s infinite;
}
.fab:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 12px 28px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 12px 28px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 12px 28px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; }
  .hero__visual { order: -1; }
  .hero__blob { width: 300px; height: 300px; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .about__media { max-width: 360px; margin: 0 auto; }
  .zone { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  /* Le backdrop-filter ferait du header le bloc conteneur du menu
     fixe (le panneau serait rogné). On le retire en mobile. */
  .header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #fff;
  }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 60;
    width: min(82vw, 320px);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: #fff;
    padding: 96px 20px 28px;
    box-shadow: -20px 0 50px rgba(22,37,74,.18);
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__link { padding: 13px 16px; border-radius: 12px; }
  .nav__link--cta { margin-left: 0; text-align: center; margin-top: 8px; }
  .nav-toggle { display: flex; z-index: 70; }

  .trust__inner { grid-template-columns: 1fr 1fr; gap: 18px; }
  .steps { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

@media (max-width: 520px) {
  .hero__visual { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .zone__list { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
  .topbar__inner { font-size: .78rem; gap: 8px; }
  .hero__actions .btn { flex: 1; }
}

/* Réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Sélecteur de langue
   ========================================================= */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
}
.lang-switch button {
  border: 0;
  background: transparent;
  padding: 7px 13px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  line-height: 1;
  color: var(--c-muted);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.lang-switch button:hover { color: var(--c-primary-dark); }
.lang-switch button.is-active { background: var(--c-primary); color: #fff; }

/* =========================================================
   Arabe (RTL) — typographie + ajustements de mise en page
   ========================================================= */
html[lang="ar"] body {
  font-family: "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
}
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] .btn,
html[lang="ar"] .nav__link,
html[lang="ar"] .eyebrow,
html[lang="ar"] .field label,
html[lang="ar"] .contact__list strong,
html[lang="ar"] .hero__floating strong {
  font-family: "Cairo", "Tajawal", sans-serif;
}
/* La marque reste en latin dans les deux langues */
html[lang="ar"] .brand__text { font-family: var(--font-head); }
/* L'interlettrage et les majuscules ne conviennent pas à l'arabe */
html[lang="ar"] .eyebrow { letter-spacing: normal; text-transform: none; }

/* Éléments positionnés à inverser en RTL */
[dir="rtl"] .hero__floating { left: auto; right: -18px; }
[dir="rtl"] .about__tag { right: auto; left: -14px; }

/* Le panneau de menu mobile s'ouvre depuis la gauche en RTL */
@media (max-width: 760px) {
  [dir="rtl"] .nav {
    inset: 0 auto 0 0;
    transform: translateX(-100%);
    box-shadow: 20px 0 50px rgba(22, 37, 74, .18);
  }
  [dir="rtl"] .nav.is-open { transform: translateX(0); }
}
