/* ============================================================
   Cabinet Ramzi Sefi — Kinésithérapie & Hijama — Zarzis
   Design system : "confiance médicale × tradition chaleureuse"
   Teal profond (kiné)  ·  Cuivre/terracotta (hijama)  ·  Ivoire
   RTL-ready : propriétés logiques + [dir=rtl]
   ============================================================ */

:root {
  /* Palette */
  --ink:        #14231F;
  --ink-soft:   #3D5450;
  --paper:      #FAF7F1;
  --paper-2:    #F3EDE2;
  --white:      #FFFFFF;

  --teal-900:   #0A332E;
  --teal-800:   #0E463F;
  --teal-700:   #10574E;
  --teal-500:   #17796B;
  --teal-300:   #6FB4A8;
  --teal-100:   #E1EFEB;

  --copper-700: #8C3D1B;
  --copper-600: #A84D22;
  --copper-500: #C2632F;
  --copper-200: #EFD4C0;
  --copper-100: #F8EADD;
  --hijama-bg:  #2B1810;
  --hijama-bg2: #3A2115;

  --gold:       #C9A227;
  --gold-soft:  #E5CC7A;

  --star:       #F5A623;      /* étoiles sur fonds sombres */
  --star-dim:   #B45309;      /* étoiles sur fonds clairs (contraste ≥3:1) */
  --whatsapp:   #25D366;
  --danger-bg:  #FBEDE7;
  --danger-bd:  #E0B29C;

  /* Typo (FR par défaut ; surchargée en RTL) */
  --font-display: "Fraunces", "Amiri", Georgia, serif;
  --font-body: "Manrope", "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --arch: 999px 999px 18px 18px;   /* arche — motif signature */
  --shadow-sm: 0 2px 10px rgba(20, 35, 31, .07);
  --shadow-md: 0 12px 34px rgba(20, 35, 31, .12);
  --shadow-lg: 0 24px 60px rgba(10, 51, 46, .18);

  --wrap: 1160px;
  --header-h: 76px;
}

/* Typo arabe : Amiri pour les titres (élégance classique),
   Tajawal pour le corps (lisibilité moderne) */
[dir="rtl"] {
  --font-display: "Amiri", "Fraunces", Georgia, serif;
  --font-body: "Tajawal", "Manrope", system-ui, sans-serif;
}
/* Amiri a une petite hauteur d'x : compenser sur les titres de composants */
[dir="rtl"] .service-card h3 { font-size: 1.35rem; }
[dir="rtl"] .hijama-card h4 { font-size: 1.22rem; }
[dir="rtl"] .step h3 { font-size: 1.3rem; }
[dir="rtl"] .review-card h3 { font-size: 1.28rem; }

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-700); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; margin: 0 0 .5em; font-weight: 600; }
h1, h2 { text-wrap: balance; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { font-weight: 700; line-height: 1.45; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }

/* ---------- utilitaires ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal-500);
}
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: .95rem; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); border-radius: 2px; }
.eyebrow.on-dark { color: var(--gold-soft); }

.section { padding-block: 88px; }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--teal-900); }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn svg { flex: none; }
.btn-primary { background: var(--teal-700); color: #fff; }
.btn-primary:hover { background: var(--teal-800); }
.btn-whatsapp { background: var(--whatsapp); color: #06341B; }
.btn-outline { border-color: var(--teal-700); color: var(--teal-700); background: transparent; }
.btn-outline:hover { background: var(--teal-100); }
.btn-copper { background: var(--copper-600); color: #fff; }
.btn-copper:hover { background: var(--copper-700); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* révélation au scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 247, 241, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: #E7DFD2; box-shadow: 0 6px 24px rgba(20,35,31,.06); }
.header-inner { display: flex; align-items: center; gap: 18px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--teal-900); }
.brand-mark {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
}
.brand-text { line-height: 1.15; }
.brand-text strong { display: block; font-family: var(--font-display); font-size: 1.12rem; }
.brand-text span { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--copper-600); font-weight: 700; }
[dir="rtl"] .brand-text span { letter-spacing: 0; font-size: .85rem; }

.main-nav { display: flex; gap: 26px; margin-inline-start: auto; }
.main-nav a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .95rem; position: relative; padding-block: 6px; }
.main-nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px;
  background: var(--gold); border-radius: 2px; transform: scaleX(0); transition: transform .2s ease;
}
.main-nav a:hover { color: var(--teal-800); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px; border: 1.5px solid #D8CFBE;
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: .9rem;
  background: var(--white); transition: border-color .18s ease;
}
.lang-switch:hover { border-color: var(--teal-500); }
.header-cta .btn { padding: 11px 20px; font-size: .92rem; }

.nav-toggle { display: none; background: none; border: none; padding: 8px; cursor: pointer; color: var(--teal-900); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-block: 72px 96px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(720px 420px at 85% -10%, var(--teal-100), transparent 65%),
    radial-gradient(560px 380px at -8% 108%, var(--copper-100), transparent 62%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }

.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); color: var(--teal-900); margin-bottom: .35em; }
.hero h1 .accent { color: var(--copper-600); font-style: italic; }
[dir="rtl"] .hero h1 .accent { font-style: normal; }
.hero-sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 34em; }

.rating-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid #EBE3D4;
  border-radius: 999px; padding: 9px 20px 9px 12px; margin-bottom: 26px;
  box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink);
}
[dir="rtl"] .rating-badge { padding: 9px 12px 9px 20px; }
.rating-badge .stars { color: var(--star-dim); letter-spacing: 2px; font-size: 1.02rem; }
.rating-badge strong { font-size: 1.05rem; }
.rating-badge small { color: var(--ink-soft); font-size: .85rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid #EBE3D4; border-radius: 999px;
  padding: 8px 16px; font-size: .88rem; font-weight: 600; color: var(--ink-soft);
}
.chip svg { color: var(--teal-500); flex: none; }

/* portrait sous arche + motif étoile 8 branches */
.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: var(--arch); overflow: hidden;
  aspect-ratio: 4 / 5; max-width: 430px; margin-inline: auto;
  background: linear-gradient(160deg, var(--teal-700), var(--teal-900));
  box-shadow: var(--shadow-lg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
.hero-photo .photo-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(255,255,255,.85); text-align: center; padding: 30px; font-size: .95rem;
}
.hero-pattern {
  position: absolute; inset-inline-end: -46px; top: -40px; width: 220px; height: 220px;
  color: var(--copper-500); opacity: .3; z-index: -1;
}
.hero-card {
  position: absolute; inset-inline-start: -14px; bottom: 34px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 14px 20px;
  display: flex; align-items: center; gap: 12px; max-width: 250px;
}
.hero-card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--whatsapp); flex: none; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5);} 50% { box-shadow: 0 0 0 9px rgba(37,211,102,0);} }
.hero-card strong { display: block; font-size: .92rem; }
.hero-card small { color: var(--ink-soft); font-size: .8rem; }

/* ============================================================
   BANDE STATS
   ============================================================ */
.stats-band { background: var(--teal-900); color: #fff; padding-block: 34px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.5rem; color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.stat span { font-size: .9rem; color: #BFD8D2; }

/* ============================================================
   SERVICES KINÉ
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: var(--white); border: 1px solid #EDE6D8; border-radius: var(--radius-lg);
  padding: 30px 26px; position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--teal-300); }
.service-card .icon {
  width: 58px; height: 58px; border-radius: 16px 16px 16px 5px;
  background: var(--teal-100); color: var(--teal-700);
  display: grid; place-items: center; margin-bottom: 18px;
}
[dir="rtl"] .service-card .icon { border-radius: 16px 16px 5px 16px; }
.service-card h3 { font-size: 1.16rem; color: var(--teal-900); }
.service-card p { font-size: .94rem; color: var(--ink-soft); margin: 0; }
.service-card .corner {
  position: absolute; inset-inline-end: -30px; top: -30px; width: 90px; height: 90px;
  border-radius: 50%; background: var(--teal-100); opacity: 0; transition: opacity .2s ease;
}
.service-card:hover .corner { opacity: .5; }

.domicile-note {
  margin-top: 26px; background: var(--teal-100); border-radius: var(--radius);
  padding: 20px 26px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.domicile-note svg { color: var(--teal-700); flex: none; }
.domicile-note p { margin: 0; font-weight: 600; color: var(--teal-900); }

/* ============================================================
   HIJAMA — section signature (chaude, traditionnelle)
   ============================================================ */
.hijama {
  position: relative; color: #F6E9DC; overflow: hidden;
  background: linear-gradient(165deg, var(--hijama-bg) 0%, var(--hijama-bg2) 60%, #47301C 100%);
}
.hijama .bg-pattern { position: absolute; inset: 0; opacity: .05; color: var(--gold-soft); pointer-events: none; }
.hijama .section-head h2 { color: var(--gold-soft); }
.hijama .section-head p { color: #E3CBB4; }

.hijama-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: start; }
.hijama-text h3 { color: var(--gold-soft); font-size: 1.28rem; margin-top: 1.6em; }
.hijama-text h3:first-child { margin-top: 0; }
.hijama-text p { color: #EBD8C6; }
.hijama-text .hadith {
  font-family: var(--font-display); font-size: 1.14rem; color: var(--gold-soft);
  border-inline-start: 3px solid var(--gold); padding-inline-start: 18px; margin-block: 22px;
  font-style: italic;
}
[dir="rtl"] .hijama-text .hadith { font-style: normal; font-size: 1.3rem; }

.hijama-cards { display: grid; gap: 16px; }
.hijama-card {
  background: rgba(255, 245, 234, .07); border: 1px solid rgba(229, 204, 122, .25);
  border-radius: var(--radius); padding: 22px 24px; backdrop-filter: blur(4px);
}
.hijama-card h4 { color: var(--gold-soft); font-size: 1.05rem; margin-bottom: .4em; display: flex; align-items: center; gap: 10px; }
.hijama-card h4 svg { flex: none; }
.hijama-card p, .hijama-card li { color: #EBD8C6; font-size: .93rem; }
.hijama-card ul { margin: 0; padding-inline-start: 20px; }
.hijama-card li { margin-bottom: 5px; }

.sunnah-days { display: flex; gap: 12px; margin-top: 14px; }
.day-pill {
  flex: 1; text-align: center; background: rgba(201, 162, 39, .15);
  border: 1px solid rgba(229, 204, 122, .4); border-radius: 14px; padding: 12px 8px;
}
.day-pill strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-soft); }
.day-pill span { font-size: .78rem; color: #E3CBB4; }

/* galerie photos hijama */
.hijama-gallery { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 38px; }
.hijama-gallery img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  border-radius: 16px; border: 1px solid rgba(229, 204, 122, .28);
}
.hijama-gallery img:nth-child(1) { object-position: 85% 100%; }
.hijama-gallery img:nth-child(2) { border-radius: var(--arch); aspect-ratio: 4 / 3.4; }

.hijama-caution {
  margin-top: 34px; background: rgba(194, 99, 47, .16); border: 1px solid rgba(229, 176, 143, .4);
  border-radius: var(--radius); padding: 20px 24px;
}
.hijama-caution h4 { color: #F3C9A8; display: flex; gap: 10px; align-items: center; margin-bottom: .5em; }
.hijama-caution p { color: #EBD8C6; font-size: .92rem; margin: 0; }

.hijama-cta { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   PARCOURS EN 3 ÉTAPES
   ============================================================ */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step {
  position: relative; background: var(--white); border: 1px solid #EDE6D8;
  border-radius: var(--radius-lg); padding: 34px 28px 28px;
}
.step::after {
  content: ""; position: absolute; top: 50px; inset-inline-end: -26px;
  width: 26px; border-top: 2px dashed var(--gold);
}
.step:last-child::after { display: none; }
.step .num {
  display: block; font-family: var(--font-display); font-size: 2.6rem;
  line-height: 1; color: var(--copper-500); margin-bottom: 14px;
}
.step h3 { font-size: 1.15rem; color: var(--teal-900); }
.step p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* ============================================================
   AVIS
   ============================================================ */
.reviews { background: var(--paper-2); }
.reviews-summary {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 40px;
}
.score-box {
  background: var(--teal-900); color: #fff; border-radius: var(--radius-lg);
  padding: 22px 34px; text-align: center; box-shadow: var(--shadow-md);
}
.score-box strong { display: block; font-family: var(--font-display); font-size: 2.6rem; color: var(--gold-soft); line-height: 1; }
.score-box .stars { color: var(--star); font-size: 1.05rem; letter-spacing: 3px; margin-top: 6px; }
.score-box span { font-size: .82rem; color: #BFD8D2; display: block; margin-top: 4px; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px 26px;
  border: 1px solid #EDE6D8; display: flex; flex-direction: column; gap: 14px;
}
.review-card .t-icon {
  width: 52px; height: 52px; border-radius: 14px 14px 14px 5px;
  background: var(--teal-100); color: var(--teal-700); display: grid; place-items: center;
}
[dir="rtl"] .review-card .t-icon { border-radius: 14px 14px 5px 14px; }
.review-card h3 { font-size: 1.1rem; color: var(--teal-900); margin: 0; }
.review-card > p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.review-card .stars { color: var(--star-dim); letter-spacing: 2px; }
.review-card blockquote { margin: 0; font-size: .97rem; color: var(--ink-soft); flex: 1; }
.review-card footer { display: flex; align-items: center; gap: 12px; }
.review-card .avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 700;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-800));
}
.review-card .avatar.c { background: linear-gradient(135deg, var(--copper-500), var(--copper-700)); }
.review-card footer strong { display: block; font-size: .92rem; }
.review-card footer small { color: var(--ink-soft); font-size: .78rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; display: grid; gap: 14px; }
.faq-item {
  background: var(--white); border: 1px solid #EDE6D8; border-radius: var(--radius);
  overflow: hidden; transition: border-color .2s ease;
}
.faq-item[open] { border-color: var(--teal-300); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  font-weight: 700; font-size: 1.02rem; color: var(--teal-900);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-100); color: var(--teal-800); display: grid; place-items: center; font-size: 1.2rem; font-weight: 400; transition: transform .25s ease, background .2s ease; }
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--copper-200); color: var(--copper-700); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--ink-soft); font-size: .96rem; }
.faq-item .faq-body p { margin-bottom: .4em; }

/* ============================================================
   CONTACT / INFOS PRATIQUES
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 34px; align-items: stretch; }
.contact-info { display: grid; gap: 16px; align-content: start; }
.info-card {
  background: var(--white); border: 1px solid #EDE6D8; border-radius: var(--radius);
  padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start;
}
.info-card .icon {
  width: 46px; height: 46px; flex: none; border-radius: 13px;
  background: var(--teal-100); color: var(--teal-700); display: grid; place-items: center;
}
.info-card h3 { font-size: 1rem; margin-bottom: .25em; color: var(--teal-900); }
.info-card p, .info-card a { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.info-card a { font-weight: 700; color: var(--teal-700); text-decoration: none; }
.info-card a:hover { text-decoration: underline; }
.info-card .phone-lg { font-size: 1.25rem; font-weight: 800; color: var(--teal-900); letter-spacing: .02em; direction: ltr; unicode-bidi: embed; display: inline-block; }

.hours-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.hours-table td { padding: 7px 0; color: var(--ink-soft); }
.hours-table td:last-child { text-align: end; font-weight: 700; color: var(--teal-900); }
.hours-table tr.closed td:last-child { color: var(--copper-600); }
.hours-table tr.today td { color: var(--teal-700); font-weight: 800; }

.map-frame {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid #EDE6D8;
  box-shadow: var(--shadow-sm); min-height: 420px; height: 100%;
}

/* photo-repère de la façade (section contact) */
.facade-card {
  margin: 0; background: var(--white); border: 1px solid #EDE6D8;
  border-radius: var(--radius); overflow: hidden;
}
.facade-card img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 18%; display: block; }
.facade-card figcaption { padding: 12px 20px; font-size: .88rem; color: var(--ink-soft); }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--teal-900); color: #BFD8D2; padding-block: 56px 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: .8em; }
.site-footer a { color: #BFD8D2; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .93rem; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand p { font-size: .9rem; margin-top: 14px; max-width: 30em; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .82rem;
}

/* badge "Ouvert maintenant" */
.open-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .78rem; font-weight: 800; padding: 4px 12px; border-radius: 999px;
  vertical-align: middle; margin-inline-start: 8px;
}
.open-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-badge.open { background: #E3F5E9; color: #157A3C; }
.open-badge.closed { background: var(--danger-bg); color: var(--copper-700); }

/* barre d'action mobile collante (Appeler / WhatsApp / Itinéraire) */
.mobile-bar {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 65;
  display: none; grid-template-columns: repeat(3, 1fr);
  background: var(--teal-900); box-shadow: 0 -6px 24px rgba(10,51,46,.28);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 11px 6px 9px; text-decoration: none; color: #DCEBE7;
  font-size: .72rem; font-weight: 700;
}
.mobile-bar a svg { width: 21px; height: 21px; }
.mobile-bar a.wa { color: #9FF0BE; }

/* bouton WhatsApp flottant */
.wa-float {
  position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 70;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--whatsapp); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* desktop : WhatsApp devient le CTA visuellement premier (tel: est mort à la souris) */
@media (min-width: 1021px) {
  .hero-actions .btn-whatsapp, .hijama-cta .btn-whatsapp { order: -1; }
}

@media (max-width: 1020px) {
  .hero-grid, .hijama-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-photo { max-width: 340px; }
  .services-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding-block: 62px; }
  /* le message d'abord, la photo après (le 1er écran mobile doit vendre) */
  .hero-visual { order: 2; margin-top: 34px; }
  /* services : 2 colonnes compactes pour raccourcir la page de moitié */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .service-card { padding: 18px 14px; }
  .service-card .icon { width: 44px; height: 44px; }
  .service-card h3 { font-size: 1rem; }
  .service-card p { font-size: .82rem; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--paper); border-bottom: 1px solid #E7DFD2;
    flex-direction: column; gap: 0; padding: 10px 22px 18px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding-block: 13px; border-bottom: 1px solid #EFE8DA; font-size: 1.05rem; }
  .nav-toggle { display: block; margin-inline-start: auto; }
  .header-cta .btn-primary { display: none; }
  .reviews-grid { grid-template-columns: 1fr; }
  .hero { padding-block: 40px 64px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 18px; }
  .stat strong { font-size: 1.6rem; }
  .sunnah-days { flex-wrap: wrap; }
  .day-pill { min-width: 90px; }
  /* galerie : rangée de 3 vignettes (les gros plans restent discrets) */
  .hijama-gallery { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hijama-gallery img:nth-child(2) { aspect-ratio: 4 / 3; border-radius: 12px; }
  .mobile-bar { display: grid; }
  .wa-float { display: none; }
  body { padding-bottom: 62px; }
}
