/* ============================================================
   MAWADDA · Programme du CEAMQ
   Système de design — main.css
   ============================================================ */

/* ----------- 1. Tokens & variables ------------- */
/* Palette inspirée des couleurs de l'amour : bordeaux profond,
   rouge doux, rose poudré, blush et blanc cassé. Les noms de jetons
   conservent leur sémantique d'origine pour préserver la cohérence
   du code, mais leurs valeurs sont entièrement repensées. */
:root {
  /* Bordeaux profond, base institutionnelle (ex-teal) */
  --teal-900: #4a1226;
  --teal-800: #5e1a31;
  --teal-700: #74233f;
  --teal-600: #8c2f4f;
  --teal-500: #a64a6a;
  --teal-100: #f3dfe6;
  --teal-50:  #faecf0;

  /* Rouge doux et rose poudré, cœur de la palette amour (ex-terracotta) */
  --terracotta-700: #b03650;
  --terracotta-600: #d05572;
  --terracotta-500: #de7a90;
  --terracotta-100: #fadde3;
  --terracotta-50:  #fef0f3;

  /* Doré chaud, accent cérémoniel léger (ex-gold) */
  --gold-700: #b88848;
  --gold-600: #d6a368;
  --gold-500: #e7bf8e;
  --gold-100: #f6e6cf;

  /* Blush et blanc cassé pour les fonds */
  --linen-100: #fbe6e1;
  --linen-50:  #fdf2ee;
  --cream:    #fdf8f5;

  /* Encre tirant légèrement vers le rosé pour adoucir le texte */
  --ink-900: #2a1218;
  --ink-800: #3a1c25;
  --ink-700: #4d2c34;
  --ink-500: #715159;
  --ink-400: #957078;
  --ink-300: #c2a3a8;
  --ink-200: #e3cfd3;
  --ink-100: #f1e3e6;

  --white: #ffffff;
  --whatsapp: #25D366;
  --telegram: #0088CC;

  /* Typo */
  --font-serif: "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Espacements (8pt grid) */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  /* Rayons */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Ombres */
  --shadow-xs: 0 1px 2px rgba(15, 42, 51, 0.06);
  --shadow-sm: 0 2px 6px rgba(15, 42, 51, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 42, 51, 0.10);
  --shadow-lg: 0 12px 32px rgba(15, 42, 51, 0.14);
  --shadow-xl: 0 24px 64px rgba(15, 42, 51, 0.18);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Layout */
  --container: 1200px;
  --container-narrow: 920px;
  --header-h: 80px;
  --header-h-mobile: 64px;
  --topbar-h: 36px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-800);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--teal-700);
  text-decoration: none;
  transition: color 200ms var(--ease-out);
}
a:hover { color: var(--terracotta-600); }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul, ol { padding-left: 1.4em; }

::selection {
  background: var(--gold-100);
  color: var(--teal-900);
}

/* Focus accessibilité */
:focus-visible {
  outline: 2.5px solid var(--terracotta-600);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal-800);
  color: var(--white);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus {
  left: var(--sp-4);
  top: var(--sp-4);
  color: var(--white);
}

/* ----------- 3. Typo ------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--teal-900);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 var(--sp-4);
}

h1 {
  font-size: clamp(2.2rem, 4.5vw + 0.5rem, 3.8rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
h2 { font-size: clamp(1.8rem, 2.8vw + 0.5rem, 2.6rem); }
h3 { font-size: clamp(1.35rem, 1.4vw + 0.6rem, 1.7rem); }
h4 { font-size: 1.2rem; }

p {
  margin: 0 0 var(--sp-4);
  max-width: 70ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--terracotta-600);
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--terracotta-600);
  display: inline-block;
}

.lead {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--ink-700);
  font-weight: 400;
}

.arabic {
  font-family: "Amiri", "Scheherazade New", "Traditional Arabic", serif;
  font-weight: 400;
  direction: rtl;
}

/* ----------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(var(--sp-4), 4vw, var(--sp-10));
}
.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: clamp(var(--sp-4), 4vw, var(--sp-10));
}

section {
  padding-block: clamp(var(--sp-16), 8vw, var(--sp-24));
  position: relative;
}

.section-cream { background: var(--cream); }
.section-linen { background: var(--linen-50); }
.section-teal {
  background: var(--teal-900);
  color: rgba(255, 255, 255, 0.88);
}
.section-teal h1, .section-teal h2, .section-teal h3, .section-teal h4 {
  color: var(--white);
}
.section-teal a { color: var(--gold-500); }
.section-teal a:hover { color: var(--gold-100); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--sp-12);
}
.section-header .lead { margin: 0 auto; }
.section-header .eyebrow { justify-content: center; }
.section-header .eyebrow::before { display: none; }
.section-header .eyebrow {
  position: relative;
  padding-left: 38px;
}
.section-header .eyebrow::after,
.section-header .eyebrow {
  content: none;
}

/* ----------- 5. Boutons ------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 200ms var(--ease-out),
              background 200ms var(--ease-out),
              border-color 200ms var(--ease-out),
              box-shadow 200ms var(--ease-out),
              color 200ms var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: 0.01em;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--terracotta-600);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--terracotta-700);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--teal-800);
  border-color: var(--teal-800);
}
.btn-outline:hover {
  background: var(--teal-800);
  color: var(--white);
}

.btn-ghost {
  background: var(--white);
  color: var(--teal-800);
  border-color: var(--ink-200);
}
.btn-ghost:hover {
  background: var(--teal-50);
  border-color: var(--teal-700);
  color: var(--teal-800);
}

.btn-light {
  background: var(--white);
  color: var(--teal-900);
}
.btn-light:hover {
  background: var(--linen-50);
  color: var(--teal-900);
}

.btn-large { padding: 18px 34px; font-size: 1.02rem; }
.btn-small { padding: 10px 18px; font-size: 0.88rem; }

.btn-icon { width: 18px; height: 18px; }

/* ----------- 6. Top bar (annonce) -------- */
.topbar {
  background: var(--teal-900);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  height: var(--topbar-h);
  flex-wrap: wrap;
}
.topbar-message {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  letter-spacing: 0.02em;
}
.topbar-message .dot {
  width: 7px;
  height: 7px;
  background: var(--gold-500);
  border-radius: 50%;
  animation: pulse 2.4s var(--ease-in-out) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.topbar-channels {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.topbar-channels a {
  color: rgba(255,255,255,0.85);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.topbar-channels a:hover { color: var(--gold-500); }
.topbar-channels svg { width: 14px; height: 14px; }
@media (max-width: 720px) {
  .topbar-channels span { display: none; }
}

/* ----------- 7. Header -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(252, 250, 245, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-100);
  transition: box-shadow 250ms var(--ease-out);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: var(--sp-6);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: var(--teal-900);
  flex-shrink: 0;
}
.brand-logo {
  height: 44px;
  width: auto;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: 0.01em;
}
.brand-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 500;
}

.brand-partners {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-left: var(--sp-4);
  padding-left: var(--sp-4);
  border-left: 1px solid var(--ink-200);
}
.brand-partners img {
  height: 30px;
  width: auto;
  opacity: 0.85;
  filter: saturate(0.95);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.nav a {
  position: relative;
  color: var(--ink-700);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: color 180ms var(--ease-out), background 180ms var(--ease-out);
}
.nav a:hover { color: var(--teal-900); background: var(--teal-50); }
.nav a.active {
  color: var(--teal-900);
}
.nav a.active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--terracotta-600);
  border-radius: 2px;
}

.header-cta { flex-shrink: 0; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: transparent;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 100;
}
.menu-toggle span {
  position: relative;
  width: 22px;
  height: 2px;
  background: var(--teal-900);
  border-radius: 2px;
  display: block;
  transition: transform 250ms var(--ease-out), background 200ms var(--ease-out);
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--teal-900);
  border-radius: 2px;
  transition: transform 250ms var(--ease-out), top 200ms var(--ease-out);
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after  { top: 7px; }
body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .menu-toggle span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .brand-partners { display: none; }
}
@media (max-width: 980px) {
  /* Header compact : logo simple à gauche, burger à droite */
  .header-inner {
    height: var(--header-h-mobile);
    min-height: 0;
    gap: var(--sp-3);
    align-items: center;
  }
  .menu-toggle {
    display: inline-flex !important;
    z-index: 110;
    position: relative;
    background: var(--white);
    border: 1px solid var(--ink-200);
    border-radius: 12px;
    cursor: pointer;
  }
  .menu-toggle:hover { background: var(--linen-50); }

  /* Hero · sur mobile : Mawadda centré en haut, CCMQ + CEAMQ côte à côte en dessous.
     Implémentation via CSS Grid + template-areas. */
  .hero-partners {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas:
      "mawadda mawadda"
      "ccmq    ceamq" !important;
    gap: var(--sp-5) var(--sp-6) !important;
    justify-items: center;
    align-items: center;
  }
  .hero-partners .divider { display: none !important; }
  .hero-partners img[alt^="Mawadda"] {
    grid-area: mawadda;
    height: 92px !important;
    width: auto;
  }
  .hero-partners img[alt^="Conseil"] {
    grid-area: ccmq;
    height: 54px !important;
    width: auto;
  }
  .hero-partners img[alt^="Centre"] {
    grid-area: ceamq;
    height: 54px !important;
    width: auto;
  }
}

@media (max-width: 480px) {
  .hero-partners img[alt^="Mawadda"] { height: 78px !important; }
  .hero-partners img[alt^="Conseil"],
  .hero-partners img[alt^="Centre"] { height: 44px !important; }
}

/* Menu mobile : règles strictement encadrées par un @media pour ne pas affecter le desktop */
@media (max-width: 980px) {
  .nav-overlay-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 26, 31, 0.45);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms var(--ease-out);
  }
  body.menu-open .nav-overlay-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  /* Panneau coulissant depuis la droite */
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 360px);
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-h-mobile) + var(--sp-6)) var(--sp-6) var(--sp-8);
    gap: var(--sp-2);
    transform: translateX(100%);
    transition: transform 320ms var(--ease-out);
    overflow-y: auto;
    box-shadow: -16px 0 40px rgba(15, 26, 31, 0.18);
    z-index: 100;
    visibility: hidden;
  }
  body.menu-open .nav { visibility: visible; }

  .header-cta {
    position: fixed;
    bottom: var(--sp-4);
    right: var(--sp-4);
    width: calc(min(86vw, 360px) - 2 * var(--sp-4));
    z-index: 101;
    transform: translateX(120%);
    transition: transform 320ms var(--ease-out);
  }

  body.menu-open .nav,
  body.menu-open .header-cta { transform: translateX(0); }

  .nav a {
    font-size: 1.12rem;
    font-family: var(--font-serif);
    color: var(--teal-900);
    border-bottom: 1px solid var(--ink-100);
    padding: var(--sp-4) 0;
    border-radius: 0;
  }
  .nav a:hover { background: transparent; color: var(--terracotta-600); }
  .nav a.active { color: var(--terracotta-600); }
  .nav a.active::after { display: none; }
}

@media (max-width: 480px) {
  .nav { width: 92vw; padding: calc(var(--header-h-mobile) + var(--sp-5)) var(--sp-5) var(--sp-6); }
  .header-cta { width: calc(92vw - 2 * var(--sp-4)); }
}

/* ----------- 8. Hero ------------- */
.hero {
  position: relative;
  padding-top: clamp(var(--sp-16), 7vw, var(--sp-20));
  padding-bottom: clamp(var(--sp-20), 9vw, var(--sp-32));
  background:
    radial-gradient(ellipse 800px 600px at 20% 10%, rgba(200, 120, 80, 0.08), transparent 60%),
    radial-gradient(ellipse 700px 500px at 80% 90%, rgba(20, 50, 61, 0.06), transparent 55%),
    linear-gradient(180deg, var(--linen-50) 0%, var(--cream) 100%);
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
}
.hero::before {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--gold-100), transparent 70%);
  top: -100px;
  right: -80px;
}
.hero::after {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--teal-100), transparent 70%);
  bottom: -120px;
  left: -100px;
}

.hero-partners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-10);
  margin-bottom: var(--sp-10);
  flex-wrap: wrap;
}
.hero-partners img {
  height: 60px;
  width: auto;
  opacity: 0.95;
}
.hero-partners .divider {
  width: 1px;
  height: 50px;
  background: var(--ink-200);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--sp-16);
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-12); }
  .hero-partners { gap: var(--sp-6); }
  .hero-partners img { height: 48px; }
}

.hero-arabic {
  font-size: 1.35rem;
  color: var(--terracotta-600);
  margin-bottom: var(--sp-3);
  display: block;
}

.hero h1 {
  margin-bottom: var(--sp-5);
}
.hero h1 .accent {
  color: var(--terracotta-600);
  font-style: italic;
  font-weight: 500;
}

.hero-lead {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--ink-700);
  margin-bottom: var(--sp-8);
  max-width: 56ch;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-10);
}
.service-tags li {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--ink-200);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: var(--ink-700);
  font-weight: 500;
}
.service-tags li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--terracotta-600);
  border-radius: 50%;
}
.service-tags ul { padding: 0; margin: 0; display: contents; }

/* Hero contact card */
.hero-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--sp-10);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.6);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 0%, rgba(201, 169, 97, 0.18), transparent 50%);
  pointer-events: none;
}
.hero-card-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta-600);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}
.hero-card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--teal-900);
  margin-bottom: var(--sp-2);
}
.hero-card-sub {
  font-size: 0.95rem;
  color: var(--ink-500);
  margin-bottom: var(--sp-6);
}
.hero-phone {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--teal-900);
  letter-spacing: 0.01em;
  margin-bottom: var(--sp-6);
  line-height: 1;
  text-decoration: none;
}
.hero-phone:hover { color: var(--terracotta-600); }

.contact-channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.channel-btn {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 14px var(--sp-4);
  background: var(--cream);
  border: 1.5px solid var(--ink-100);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--teal-900);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 200ms var(--ease-out);
}
.channel-btn:hover {
  background: var(--white);
  border-color: var(--teal-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--teal-900);
}
.channel-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.channel-btn .channel-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.channel-tel  .channel-icon { background: var(--teal-100); color: var(--teal-700); }
.channel-sms  .channel-icon { background: var(--terracotta-50); color: var(--terracotta-700); }
.channel-wa   .channel-icon { background: rgba(37, 211, 102, 0.12); color: var(--whatsapp); }
.channel-tg   .channel-icon { background: rgba(0, 136, 204, 0.12); color: var(--telegram); }

.email-link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--ink-100);
  font-size: 0.93rem;
  color: var(--ink-700);
}
.email-link a {
  color: var(--teal-700);
  font-weight: 600;
}

@media (max-width: 540px) {
  .contact-channels { grid-template-columns: 1fr; }
  .hero-card { padding: var(--sp-6); }
  .hero-phone { font-size: 1.9rem; }
}

/* ----------- 9. Cards & grilles ------- */
.grid {
  display: grid;
  gap: var(--sp-6);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  overflow: hidden;
}
a.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--terracotta-100);
}
.card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--terracotta-50);
  color: var(--terracotta-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  transition: background 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.card-icon svg { width: 26px; height: 26px; }
a.card:hover .card-icon {
  background: var(--terracotta-600);
  color: var(--white);
  transform: rotate(-3deg) scale(1.04);
}
.card h3 { margin-bottom: var(--sp-2); font-size: 1.3rem; }
.card p { margin-bottom: var(--sp-4); color: var(--ink-700); }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-700);
  font-weight: 600;
  font-size: 0.92rem;
}
.card-link::after {
  content: "→";
  transition: transform 200ms var(--ease-out);
}
a.card:hover .card-link::after { transform: translateX(4px); }

/* Public cards (Pour qui Mawadda) */
.public-card {
  position: relative;
  padding: var(--sp-10);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--ink-100);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  min-height: 320px;
  transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
.public-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.public-card-num {
  position: absolute;
  top: var(--sp-6);
  right: var(--sp-6);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-300);
  font-weight: 500;
}
.public-card .card-icon { background: var(--linen-100); color: var(--teal-800); }
.public-card:nth-child(1) .card-icon { background: var(--terracotta-50); color: var(--terracotta-700); }
.public-card:nth-child(2) .card-icon { background: var(--teal-100); color: var(--teal-700); }
.public-card:nth-child(3) .card-icon { background: var(--gold-100); color: var(--gold-700); }
.public-card:nth-child(4) .card-icon { background: var(--linen-100); color: var(--teal-800); }
.public-card h3 { margin-bottom: var(--sp-3); }
.public-card p { color: var(--ink-700); flex-grow: 1; }

/* ----------- 10. Stats ------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  background: var(--teal-900);
  border-radius: var(--radius-xl);
  padding: var(--sp-12) var(--sp-10);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.15), transparent 65%);
  border-radius: 50%;
}
.stat {
  text-align: center;
  color: var(--white);
  position: relative;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 600;
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: var(--sp-2);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}
@media (max-width: 920px) {
  .stats { grid-template-columns: repeat(2, 1fr); padding: var(--sp-10) var(--sp-6); }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
}

/* ----------- 11. Approach (3 étapes) ------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  position: relative;
}
@media (max-width: 920px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: var(--sp-8);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-100);
}
.step-num {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--terracotta-600);
  font-size: 1.1rem;
  margin-bottom: var(--sp-3);
  letter-spacing: 0.05em;
}
.step h3 { margin-bottom: var(--sp-3); }
.step p { color: var(--ink-700); margin-bottom: 0; }

/* ----------- 12. Équipe (cards portraits) -------- */
.team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-10);
  max-width: 980px;
  margin: 0 auto;
}
@media (max-width: 720px) { .team { grid-template-columns: 1fr; gap: var(--sp-8); } }

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ink-100);
  display: flex;
  flex-direction: column;
}
.team-photo {
  aspect-ratio: 1;
  width: 100%;
  background: var(--linen-100);
  position: relative;
  overflow: hidden;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 600ms var(--ease-out);
}
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-info {
  padding: var(--sp-8);
}
.team-role {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta-600);
  font-weight: 700;
  margin-bottom: var(--sp-2);
}
.team-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--teal-900);
  margin-bottom: var(--sp-2);
  line-height: 1.2;
}
.team-credential {
  color: var(--ink-500);
  font-size: 0.93rem;
  margin-bottom: var(--sp-4);
}
.team-bio { color: var(--ink-700); font-size: 0.97rem; }

/* ----------- 13. Testimonials -------- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-10);
  border: 1px solid var(--ink-100);
  position: relative;
}
.testimonial::before {
  content: """;
  position: absolute;
  top: -10px;
  left: 30px;
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--terracotta-100);
  line-height: 1;
}
.testimonial blockquote {
  margin: 0 0 var(--sp-5);
  font-family: var(--font-serif);
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--teal-900);
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.93rem;
}
.testimonial-author .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--terracotta-50);
  color: var(--terracotta-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
}
.testimonial-author strong { display: block; color: var(--teal-900); font-weight: 600; }
.testimonial-author span { color: var(--ink-500); }

/* ----------- 14. Contact CTA Block ------- */
.contact-cta {
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 100%);
  border-radius: var(--radius-xl);
  padding: clamp(var(--sp-10), 5vw, var(--sp-16));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.contact-cta::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(200, 120, 80, 0.25), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.contact-cta::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.15), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.contact-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 920px) { .contact-cta-grid { grid-template-columns: 1fr; gap: var(--sp-8); } }
.contact-cta h2 { color: var(--white); margin-bottom: var(--sp-4); }
.contact-cta p { color: rgba(255,255,255,0.82); }
.contact-cta .hero-phone {
  color: var(--white);
  display: inline-block;
  margin-bottom: var(--sp-4);
}
.contact-cta .hero-phone:hover { color: var(--gold-500); }

.cta-channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}
.cta-channels .channel-btn {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  color: var(--white);
  backdrop-filter: blur(6px);
}
.cta-channels .channel-btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--gold-500);
  color: var(--white);
}
.cta-channels .channel-icon { background: rgba(255,255,255,0.1); color: var(--white); }
.cta-channels .channel-wa .channel-icon { background: var(--whatsapp); color: var(--white); }
.cta-channels .channel-tg .channel-icon { background: var(--telegram); color: var(--white); }

/* ----------- 15. FAQ accordéon -------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.faq-item[open] {
  border-color: var(--terracotta-100);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--sp-5) var(--sp-6);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--teal-900);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  transition: color 200ms var(--ease-out);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.6rem;
  color: var(--terracotta-600);
  transition: transform 250ms var(--ease-out);
  font-weight: 300;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; transform: rotate(180deg); }
.faq-item summary:hover { color: var(--terracotta-700); }
.faq-content {
  padding: 0 var(--sp-6) var(--sp-5);
  color: var(--ink-700);
}
.faq-content p:last-child { margin-bottom: 0; }

/* ----------- 16. Page header ----------- */
.page-header {
  background:
    radial-gradient(ellipse at top right, rgba(201, 169, 97, 0.18), transparent 60%),
    linear-gradient(180deg, var(--linen-50) 0%, var(--cream) 100%);
  padding: clamp(var(--sp-16), 7vw, var(--sp-24)) 0 clamp(var(--sp-12), 5vw, var(--sp-16));
  position: relative;
  overflow: hidden;
}
.page-header .container-narrow { position: relative; z-index: 1; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-500);
  margin-bottom: var(--sp-4);
}
.breadcrumb a { color: var(--ink-500); }
.breadcrumb a:hover { color: var(--terracotta-600); }
.breadcrumb-sep { margin: 0 var(--sp-2); color: var(--ink-300); }
.page-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: var(--sp-4);
}
.page-intro {
  font-size: 1.18rem;
  color: var(--ink-700);
  line-height: 1.65;
  max-width: 60ch;
}

/* ----------- 17. Prose --------- */
.prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-700);
}
.prose h2 { margin-top: var(--sp-12); margin-bottom: var(--sp-4); font-size: 1.7rem; }
.prose h3 { margin-top: var(--sp-10); margin-bottom: var(--sp-3); font-size: 1.3rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { margin-bottom: var(--sp-5); }
.prose li { margin-bottom: var(--sp-2); }
.prose hr {
  border: none;
  height: 1px;
  background: var(--ink-100);
  margin: var(--sp-10) 0;
}
.prose blockquote {
  border-left: 3px solid var(--terracotta-600);
  margin: var(--sp-8) 0;
  padding: var(--sp-2) 0 var(--sp-2) var(--sp-6);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--teal-900);
}
.prose strong { color: var(--ink-900); }
.prose .callout {
  background: var(--linen-50);
  border: 1px solid var(--gold-100);
  border-left: 4px solid var(--gold-600);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  margin: var(--sp-8) 0;
}
.prose .callout p:last-child { margin-bottom: 0; }
.prose .callout strong { color: var(--gold-700); display: block; margin-bottom: var(--sp-2); }

/* ----------- 18. Formulaires ------------- */
.form {
  background: var(--white);
  padding: clamp(var(--sp-8), 4vw, var(--sp-12));
  border-radius: var(--radius-xl);
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-sm);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--teal-900);
  letter-spacing: 0.01em;
}
.field label .required { color: var(--terracotta-600); }
.field-hint {
  font-size: 0.83rem;
  color: var(--ink-500);
  margin-top: -2px;
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.97rem;
  background: var(--white);
  color: var(--ink-900);
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-400); }
.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--teal-700);
  box-shadow: 0 0 0 3px rgba(28, 66, 80, 0.12);
}
.textarea { resize: vertical; min-height: 130px; }

.field-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--sp-3);
  cursor: pointer;
  padding: var(--sp-3) 0;
}
.field-checkbox input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--terracotta-600);
  flex-shrink: 0;
}
.field-checkbox span {
  font-size: 0.93rem;
  color: var(--ink-700);
  line-height: 1.55;
  font-weight: 400;
}

.form-section + .form-section { margin-top: var(--sp-10); }
.form-section-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--teal-900);
  margin-bottom: var(--sp-2);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--ink-100);
}
.form-section-desc {
  color: var(--ink-500);
  font-size: 0.93rem;
  margin-bottom: var(--sp-6);
}

.form-actions {
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--ink-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.form-required {
  font-size: 0.85rem;
  color: var(--ink-500);
}

.form-success {
  background: linear-gradient(135deg, var(--teal-100), var(--teal-50));
  border: 1px solid var(--teal-700);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  text-align: center;
  display: none;
}
.form-success.is-visible { display: block; }
.form-success h3 { color: var(--teal-900); margin-bottom: var(--sp-3); }
.form-success p { margin: 0 auto; max-width: 50ch; }

/* ----------- 19. Contact page ------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
}
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  border: 1px solid var(--ink-100);
}
.contact-block h3 { margin-bottom: var(--sp-4); font-size: 1.25rem; }
.contact-block address {
  font-style: normal;
  line-height: 1.7;
  color: var(--ink-700);
}
.contact-block address strong { color: var(--teal-900); }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-top: 1px solid var(--ink-100);
}
.contact-detail:first-of-type { border-top: none; padding-top: 0; }
.contact-detail svg { width: 20px; height: 20px; color: var(--terracotta-600); flex-shrink: 0; margin-top: 4px; }
.contact-detail strong { display: block; color: var(--teal-900); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 10;
  background: var(--linen-50);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ----------- 20. Process / list features ----------- */
.feature-list {
  list-style: none;
  padding: 0;
  margin: var(--sp-6) 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.feature-list li {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}
.feature-list .feature-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--terracotta-50);
  color: var(--terracotta-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.feature-list .feature-icon svg { width: 20px; height: 20px; }
.feature-list strong { display: block; color: var(--teal-900); font-weight: 600; margin-bottom: 2px; font-size: 1.02rem; }
.feature-list span { color: var(--ink-700); }

/* ----------- 21. Footer ------------- */
.site-footer {
  background: var(--teal-900);
  color: rgba(255,255,255,0.78);
  padding-top: clamp(var(--sp-16), 7vw, var(--sp-20));
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200, 120, 80, 0.10), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-12);
  position: relative;
}
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand img { height: 56px; width: auto; margin-bottom: var(--sp-4); }
.footer-brand-name {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: var(--sp-3);
}
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.95rem; max-width: 38ch; }

.footer-partners {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-partners img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer-col a {
  color: rgba(255,255,255,0.72);
  font-size: 0.93rem;
  transition: color 200ms var(--ease-out);
}
.footer-col a:hover { color: var(--gold-500); }
.footer-col p { color: rgba(255,255,255,0.7); font-size: 0.93rem; }

.footer-contact { font-size: 0.93rem; line-height: 1.7; font-style: normal; color: rgba(255,255,255,0.7); }
.footer-contact strong { color: var(--white); display: block; margin-bottom: 4px; font-weight: 600; }
.footer-contact a { color: var(--gold-500); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--sp-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
}

.compliance-badge {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.78);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.compliance-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--whatsapp);
  border-radius: 50%;
}

/* ----------- 22. Mobile floating CTA --------- */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 60;
  background: var(--terracotta-600);
  color: var(--white);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-pill);
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(168, 89, 58, 0.45);
}
@media (max-width: 720px) { .floating-cta { display: flex; align-items: center; justify-content: center; gap: var(--sp-2); } }

/* ----------- 23. Anim. apparition au scroll ------ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ----------- 24. Utilities ----------- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }
.mt-8 { margin-top: var(--sp-8); }
.mt-12 { margin-top: var(--sp-12); }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.items-center { align-items: center; }
.justify-center { justify-content: center; }

/* Confidentiality banner / cookies */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 540px;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  box-shadow: var(--shadow-lg);
  z-index: 90;
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { font-size: 0.9rem; margin-bottom: var(--sp-4); }
.cookie-banner-actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.cookie-banner-actions .btn { padding: 10px 18px; font-size: 0.88rem; }

/* =========================================================
   COUCHE V2 — Identité « amour »
   Décorations cœurs, ajustements footer, coordonnées,
   barre de navigation épurée.
   ========================================================= */

/* 1. Barre de navigation : sur desktop on retire les anciens logos partenaires
   (CCMQ et CEAMQ) pour ne garder que le logo Mawadda.
   Sur mobile, ils sont réintroduits sous forme compacte juste après le logo. */
.brand-partners { display: none !important; }

/* Brand : ligne unique, alignement vertical centré.
   Sur mobile, seul le logo Mawadda apparaît dans le header.
   Les logos partenaires restent visibles uniquement dans le hero d'accueil. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
}

@media (max-width: 980px) {
  .brand-logo-horizontal { height: 56px !important; }
}
@media (max-width: 480px) {
  .brand-logo-horizontal { height: 48px !important; }
}

/* 2. Hero : un fond plus tendre, ponctué de halos rosés */
.hero {
  background:
    radial-gradient(ellipse 800px 600px at 20% 10%, rgba(208, 85, 114, 0.12), transparent 60%),
    radial-gradient(ellipse 700px 500px at 80% 90%, rgba(74, 18, 38, 0.08), transparent 55%),
    linear-gradient(180deg, var(--linen-50) 0%, var(--cream) 100%) !important;
}
.hero::before {
  background: radial-gradient(circle, rgba(250, 221, 227, 0.7), transparent 70%) !important;
}
.hero::after {
  background: radial-gradient(circle, rgba(243, 223, 230, 0.7), transparent 70%) !important;
}

/* 3. Le mot arabe « مودّة » est précédé d'un cœur stylisé */
.hero-arabic {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-arabic::before {
  content: "";
  width: 22px;
  height: 22px;
  background-color: var(--terracotta-600);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 21s-7-4.35-9.33-8.5C.97 9.84 2.4 6 6 6c2.04 0 3.61 1.06 4.5 2.5C11.39 7.06 12.96 6 15 6c3.6 0 5.03 3.84 3.33 6.5C19 16.65 12 21 12 21z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 21s-7-4.35-9.33-8.5C.97 9.84 2.4 6 6 6c2.04 0 3.61 1.06 4.5 2.5C11.39 7.06 12.96 6 15 6c3.6 0 5.03 3.84 3.33 6.5C19 16.65 12 21 12 21z'/></svg>") center / contain no-repeat;
  display: inline-block;
}

/* 4. L'eyebrow de section reçoit un cœur léger comme séparateur */
.eyebrow::before {
  background: var(--terracotta-600) !important;
}
.eyebrow::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 0.4rem;
  background-color: var(--terracotta-500);
  opacity: 0.5;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 21s-7-4.35-9.33-8.5C.97 9.84 2.4 6 6 6c2.04 0 3.61 1.06 4.5 2.5C11.39 7.06 12.96 6 15 6c3.6 0 5.03 3.84 3.33 6.5C19 16.65 12 21 12 21z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 21s-7-4.35-9.33-8.5C.97 9.84 2.4 6 6 6c2.04 0 3.61 1.06 4.5 2.5C11.39 7.06 12.96 6 15 6c3.6 0 5.03 3.84 3.33 6.5C19 16.65 12 21 12 21z'/></svg>") center / contain no-repeat;
}

/* Le bouton primaire reprend un dégradé tendre rose-bordeaux */
.btn-primary {
  background: linear-gradient(135deg, var(--terracotta-600) 0%, var(--teal-700) 100%) !important;
  border-color: transparent !important;
  box-shadow: 0 8px 22px rgba(208, 85, 114, 0.32) !important;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--terracotta-700) 0%, var(--teal-800) 100%) !important;
  box-shadow: 0 10px 26px rgba(176, 54, 80, 0.42) !important;
}

/* 5. Cœur décoratif en filigrane derrière les cartes publiques */
.public-card {
  position: relative;
  overflow: hidden;
}
.public-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 130px;
  height: 130px;
  background-color: var(--terracotta-100);
  opacity: 0.55;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 21s-7-4.35-9.33-8.5C.97 9.84 2.4 6 6 6c2.04 0 3.61 1.06 4.5 2.5C11.39 7.06 12.96 6 15 6c3.6 0 5.03 3.84 3.33 6.5C19 16.65 12 21 12 21z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 21s-7-4.35-9.33-8.5C.97 9.84 2.4 6 6 6c2.04 0 3.61 1.06 4.5 2.5C11.39 7.06 12.96 6 15 6c3.6 0 5.03 3.84 3.33 6.5C19 16.65 12 21 12 21z'/></svg>") center / contain no-repeat;
  pointer-events: none;
  transition: transform 350ms var(--ease-out), opacity 350ms var(--ease-out);
}
.public-card:hover::after {
  transform: scale(1.08) rotate(-6deg);
  opacity: 0.7;
}

/* 6. Témoignages : quote en cœur au lieu de guillemet */
.testimonial::before {
  content: "" !important;
  width: 56px !important;
  height: 56px !important;
  top: -18px !important;
  left: 22px !important;
  background-color: var(--terracotta-100);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 21s-7-4.35-9.33-8.5C.97 9.84 2.4 6 6 6c2.04 0 3.61 1.06 4.5 2.5C11.39 7.06 12.96 6 15 6c3.6 0 5.03 3.84 3.33 6.5C19 16.65 12 21 12 21z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 21s-7-4.35-9.33-8.5C.97 9.84 2.4 6 6 6c2.04 0 3.61 1.06 4.5 2.5C11.39 7.06 12.96 6 15 6c3.6 0 5.03 3.84 3.33 6.5C19 16.65 12 21 12 21z'/></svg>") center / contain no-repeat;
}

/* 7. Stats : fond bordeaux sur lequel se découpe une couronne de petits cœurs */
.stats {
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-800) 100%) !important;
}
.stats::after {
  content: "❤";
  position: absolute;
  font-size: 220px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  top: -60px;
  right: 30px;
  pointer-events: none;
  transform: rotate(-12deg);
}

/* 8. Footer : logo blanc + mentions légales blanches + coordonnées compactes */
.footer-brand img,
.footer-partners img {
  filter: brightness(0) invert(1) !important;
  opacity: 0.96 !important;
}
.footer-bottom-links a,
.footer-bottom .footer-bottom-links a {
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 3px;
}
.footer-bottom-links a:hover {
  color: var(--gold-500) !important;
  text-decoration-color: var(--gold-500);
}
.footer-bottom { color: rgba(255, 255, 255, 0.85); }

/* 9. Bloc Coordonnées : interligne resserré, espaces de paragraphe réduits */
.footer-contact {
  line-height: 1.4 !important;
  font-size: 0.9rem !important;
}
.footer-contact strong {
  margin-top: 0.55rem;
  display: block;
  margin-bottom: 1px !important;
}
.footer-contact br + strong { margin-top: 0; }
.footer-contact a { line-height: 1.4; }

/* Le footer reçoit un dégradé subtil bordeaux et une touche cœur en filigrane */
.site-footer {
  background: linear-gradient(180deg, var(--teal-900) 0%, var(--ink-900) 100%) !important;
  position: relative;
}
.site-footer::after {
  content: "";
  position: absolute;
  inset: auto auto 12% 6%;
  width: 220px;
  height: 220px;
  background-color: rgba(255, 255, 255, 0.025);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 21s-7-4.35-9.33-8.5C.97 9.84 2.4 6 6 6c2.04 0 3.61 1.06 4.5 2.5C11.39 7.06 12.96 6 15 6c3.6 0 5.03 3.84 3.33 6.5C19 16.65 12 21 12 21z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 21s-7-4.35-9.33-8.5C.97 9.84 2.4 6 6 6c2.04 0 3.61 1.06 4.5 2.5C11.39 7.06 12.96 6 15 6c3.6 0 5.03 3.84 3.33 6.5C19 16.65 12 21 12 21z'/></svg>") center / contain no-repeat;
  pointer-events: none;
}

/* 10. Petites améliorations typographiques pour le ton chaleureux */
.eyebrow {
  color: var(--terracotta-600) !important;
}
.section-header h2,
h1, h2, h3 { color: var(--teal-900); }
.brand-name { color: var(--teal-900); }

/* La carte hero glisse vers un blanc nacré */
.hero-card {
  background: #ffffff !important;
  box-shadow: 0 20px 60px rgba(74, 18, 38, 0.18) !important;
}
.hero-card::before {
  background: radial-gradient(circle at 90% 0%, rgba(208, 85, 114, 0.18), transparent 55%) !important;
}

/* Topbar amour : on garde le bordeaux profond et un point de pulsation rose */
.topbar { background: var(--teal-900) !important; }
.topbar-message .dot { background: var(--terracotta-500) !important; }

/* Nav active underline en rose doux */
.nav a.active::after {
  background: var(--terracotta-600) !important;
}

/* Les compliance badges acquièrent un point rose pulsé */
.compliance-badge .dot { background: var(--terracotta-500) !important; }

/* Petits cœurs dans les listes de "service-tags" */
.service-tags li::before {
  background: var(--terracotta-600) !important;
}

/* =========================================================
   COUCHE V3 — Logo horizontal, page Events
   ========================================================= */

/* Logo horizontal seul dans la nav (remplace logo carré + texte) */
.brand-logo-horizontal {
  height: 50px;
  width: auto;
  display: block;
}
@media (max-width: 980px) {
  .brand-logo-horizontal { height: 42px; }
}
@media (max-width: 480px) {
  .brand-logo-horizontal { height: 38px; }
}

/* La nav resserre légèrement les paddings pour préserver la fluidité
   maintenant que le logo horizontal occupe plus d'espace en largeur. */
.nav a {
  padding: 9px 12px;
  font-size: 0.93rem;
}

/* ----------- Page Events ------------- */
.events-hero {
  background:
    radial-gradient(ellipse 900px 600px at 25% 20%, rgba(208, 85, 114, 0.18), transparent 60%),
    radial-gradient(ellipse 700px 500px at 80% 80%, rgba(231, 191, 142, 0.18), transparent 60%),
    linear-gradient(180deg, var(--linen-50) 0%, var(--cream) 100%);
  padding: clamp(var(--sp-16), 7vw, var(--sp-24)) 0 clamp(var(--sp-12), 5vw, var(--sp-16));
  position: relative;
  overflow: hidden;
}
.events-hero::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -60px;
  width: 280px;
  height: 280px;
  background-color: rgba(250, 221, 227, 0.55);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 21s-7-4.35-9.33-8.5C.97 9.84 2.4 6 6 6c2.04 0 3.61 1.06 4.5 2.5C11.39 7.06 12.96 6 15 6c3.6 0 5.03 3.84 3.33 6.5C19 16.65 12 21 12 21z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 21s-7-4.35-9.33-8.5C.97 9.84 2.4 6 6 6c2.04 0 3.61 1.06 4.5 2.5C11.39 7.06 12.96 6 15 6c3.6 0 5.03 3.84 3.33 6.5C19 16.65 12 21 12 21z'/></svg>") center / contain no-repeat;
  pointer-events: none;
  transform: rotate(15deg);
}
.events-hero::after {
  content: "";
  position: absolute;
  bottom: 8%;
  left: -40px;
  width: 180px;
  height: 180px;
  background-color: rgba(243, 223, 230, 0.6);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 21s-7-4.35-9.33-8.5C.97 9.84 2.4 6 6 6c2.04 0 3.61 1.06 4.5 2.5C11.39 7.06 12.96 6 15 6c3.6 0 5.03 3.84 3.33 6.5C19 16.65 12 21 12 21z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 21s-7-4.35-9.33-8.5C.97 9.84 2.4 6 6 6c2.04 0 3.61 1.06 4.5 2.5C11.39 7.06 12.96 6 15 6c3.6 0 5.03 3.84 3.33 6.5C19 16.65 12 21 12 21z'/></svg>") center / contain no-repeat;
  pointer-events: none;
  transform: rotate(-20deg);
}

/* Bandeau d'informations clés (3 piliers : fréquence, lieu, prix) */
.events-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-10);
}
@media (max-width: 800px) {
  .events-pillars { grid-template-columns: 1fr; }
}
.events-pillar {
  background: #ffffff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.events-pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.events-pillar-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--terracotta-50);
  color: var(--terracotta-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
}
.events-pillar-icon svg { width: 24px; height: 24px; }
.events-pillar h3 {
  font-size: 1.08rem;
  margin-bottom: var(--sp-2);
}
.events-pillar p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-700);
}

/* Calendrier des évènements à venir (cards horizontales) */
.events-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.event-card {
  background: #ffffff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: var(--sp-6);
  padding: var(--sp-5) var(--sp-6);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
  position: relative;
}
.event-card:hover {
  transform: translateY(-3px);
  border-color: var(--terracotta-100);
  box-shadow: var(--shadow-md);
}
.event-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--terracotta-600), var(--teal-700));
}
.event-date {
  background: linear-gradient(135deg, var(--linen-50) 0%, var(--terracotta-50) 100%);
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-4);
  text-align: center;
  border: 1px solid var(--terracotta-100);
}
.event-date-month {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-700);
  font-weight: 700;
  margin-bottom: 2px;
}
.event-date-day {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--teal-900);
  line-height: 1;
  font-weight: 600;
}
.event-date-year {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-500);
  margin-top: 4px;
}
.event-info h3 {
  font-size: 1.25rem;
  margin-bottom: var(--sp-2);
}
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  font-size: 0.9rem;
  color: var(--ink-700);
  margin-bottom: var(--sp-2);
}
.event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.event-meta svg {
  width: 16px;
  height: 16px;
  color: var(--terracotta-600);
}
.event-info p { margin: 0; color: var(--ink-700); font-size: 0.95rem; }

.event-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-2);
}
.event-price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--teal-900);
  font-weight: 600;
}
.event-price small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--ink-500);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

@media (max-width: 800px) {
  .event-card {
    grid-template-columns: 100px 1fr;
    gap: var(--sp-4);
    padding: var(--sp-5);
  }
  .event-date-day { font-size: 1.9rem; }
  .event-cta {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--ink-100);
    padding-top: var(--sp-4);
  }
}

/* Carte « inclus dans nos évènements » */
.events-included {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}
@media (max-width: 720px) {
  .events-included { grid-template-columns: 1fr; }
}
.events-included-item {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}
.events-included-item .icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--terracotta-50);
  color: var(--terracotta-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.events-included-item .icon svg { width: 22px; height: 22px; }
.events-included-item h4 {
  margin: 0 0 4px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--teal-900);
}
.events-included-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-700);
}

/* Correction du bloc « Célébration civile » sur services.html :
   on harmonise la 2e colonne avec un layout équilibré et un visuel cohérent */
.celebration-aside {
  background: linear-gradient(160deg, var(--terracotta-50) 0%, var(--gold-100) 100%);
  border: 1px solid var(--terracotta-100);
  border-radius: var(--radius-xl);
  padding: var(--sp-10);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  position: relative;
  overflow: hidden;
  min-height: 320px;
  justify-content: center;
}
.celebration-aside::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background-color: rgba(208, 85, 114, 0.16);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 21s-7-4.35-9.33-8.5C.97 9.84 2.4 6 6 6c2.04 0 3.61 1.06 4.5 2.5C11.39 7.06 12.96 6 15 6c3.6 0 5.03 3.84 3.33 6.5C19 16.65 12 21 12 21z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 21s-7-4.35-9.33-8.5C.97 9.84 2.4 6 6 6c2.04 0 3.61 1.06 4.5 2.5C11.39 7.06 12.96 6 15 6c3.6 0 5.03 3.84 3.33 6.5C19 16.65 12 21 12 21z'/></svg>") center / contain no-repeat;
  pointer-events: none;
  transform: rotate(-12deg);
}
.celebration-aside .callout {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.92);
  border-left-color: var(--gold-600) !important;
  margin: 0;
}

/* Boutons d'action sur fond clair pour le hero events et la page services */
.btn-large { white-space: nowrap; }

/* =========================================================
   COUCHE V4 — Réseaux sociaux dans le footer
   ========================================================= */

.footer-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-social-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-right: 0.25rem;
  font-weight: 600;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 200ms var(--ease-out),
              background 200ms var(--ease-out),
              border-color 200ms var(--ease-out),
              color 200ms var(--ease-out);
}
.footer-social a:hover {
  transform: translateY(-2px);
  background: var(--terracotta-600);
  border-color: var(--terracotta-600);
  color: #ffffff;
}
.footer-social a svg {
  width: 17px;
  height: 17px;
}
@media (max-width: 480px) {
  .footer-social { justify-content: center; }
  .footer-social-label { width: 100%; text-align: center; }
}

/* =========================================================
   COUCHE V5 — Formulaire de réservation conditionnel (events)
   ========================================================= */

#reservation {
  display: none;
  scroll-margin-top: 90px;
}
#reservation.is-revealed {
  display: block;
}
.event-card .btn { white-space: nowrap; }

/* États du calendrier dynamique (loading / empty / error) */
.events-loading,
.events-empty,
.events-error {
  background: #ffffff;
  border: 1px dashed var(--ink-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-10);
  text-align: center;
  color: var(--ink-700);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
}
.events-loading {
  border-style: solid;
  border-color: var(--terracotta-100);
  background: linear-gradient(135deg, #ffffff 0%, var(--linen-50) 100%);
}
.events-empty,
.events-error {
  margin-top: var(--sp-4);
}
.events-loading-spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid var(--terracotta-100);
  border-top-color: var(--terracotta-600);
  animation: events-spin 900ms linear infinite;
}
@keyframes events-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .events-loading-spinner { animation: none; }
}
